@taiga-ui/kit 2.30.0 → 2.34.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 (910) hide show
  1. package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
  2. package/bundles/taiga-ui-kit-abstract.umd.js +7 -6
  3. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-abstract.umd.min.js +2 -2
  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 +4 -1
  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 +5 -4
  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 +3 -3
  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 +129 -56
  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 +45 -11
  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 +80 -28
  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 +80 -36
  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 +76 -28
  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-file.umd.js +1 -8
  87. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +1 -1
  89. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-inline.umd.js +2 -15
  91. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  93. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +52 -10
  95. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  97. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-month.umd.js +48 -10
  99. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  101. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-number.umd.js +52 -10
  103. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +2 -2
  105. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-password.umd.js +50 -11
  107. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  109. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +51 -23
  111. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  113. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-input-phone.umd.js +59 -23
  115. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  117. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input-range.umd.js +8 -5
  119. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +2 -2
  121. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-input-slider.umd.js +8 -5
  123. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +2 -2
  125. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-input-tag.umd.js +44 -15
  127. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
  129. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-input-time.umd.js +19 -14
  131. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +2 -2
  133. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-input.umd.js +33 -4
  135. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  137. package/bundles/taiga-ui-kit-components-input.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 +50 -23
  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-radio-block.umd.js +2 -2
  147. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  149. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +2 -2
  151. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  152. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  153. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  154. package/bundles/taiga-ui-kit-components-radio-list.umd.js +2 -2
  155. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  156. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  157. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-radio.umd.js +7 -2
  159. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  161. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-range.umd.js +1 -1
  163. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  164. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  165. package/bundles/taiga-ui-kit-components-rating.umd.js +373 -0
  166. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -0
  167. package/bundles/taiga-ui-kit-components-rating.umd.min.js +16 -0
  168. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -0
  169. package/bundles/taiga-ui-kit-components-select.umd.js +107 -43
  170. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-components-select.umd.min.js +2 -2
  172. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  173. package/bundles/taiga-ui-kit-components-slider.umd.js +142 -27
  174. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-components-slider.umd.min.js +2 -2
  176. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-stepper.umd.js +1 -1
  178. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  180. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-tabs.umd.js +1 -1
  182. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  184. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  185. package/bundles/taiga-ui-kit-components-tag.umd.js +11 -5
  186. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-tag.umd.min.js +1 -1
  188. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  189. package/bundles/taiga-ui-kit-components-text-area.umd.js +8 -6
  190. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  191. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +1 -1
  192. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  193. package/bundles/taiga-ui-kit-components-toggle.umd.js +7 -2
  194. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  195. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  196. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  197. package/bundles/taiga-ui-kit-components.umd.js +12 -4
  198. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  199. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  200. package/bundles/taiga-ui-kit-constants.umd.js +8 -0
  201. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  202. package/bundles/taiga-ui-kit-constants.umd.min.js +1 -1
  203. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  204. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +389 -0
  205. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -0
  206. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +16 -0
  207. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -0
  208. package/bundles/taiga-ui-kit-pipes.umd.js +12 -4
  209. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  210. package/bundles/taiga-ui-kit-pipes.umd.min.js +1 -1
  211. package/bundles/taiga-ui-kit-providers.umd.js +6 -5
  212. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  213. package/bundles/taiga-ui-kit-providers.umd.min.js +1 -1
  214. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  215. package/bundles/taiga-ui-kit-tokens.umd.js +246 -4
  216. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  217. package/bundles/taiga-ui-kit-tokens.umd.min.js +15 -1
  218. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  219. package/bundles/taiga-ui-kit-utils-mask.umd.js +17 -8
  220. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  221. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +1 -1
  222. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  223. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +241 -6
  224. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  225. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +15 -1
  226. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  227. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  228. package/components/arrow/arrow-options.d.ts +18 -0
  229. package/components/arrow/arrow.component.d.ts +5 -3
  230. package/components/arrow/index.d.ts +1 -0
  231. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  232. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  233. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  234. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  235. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  236. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  237. package/components/carousel/carousel-buttons.directive.d.ts +2 -2
  238. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -1
  239. package/components/checkbox/checkbox.component.d.ts +2 -2
  240. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  241. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  242. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  243. package/components/combo-box/combo-box-strict.directive.d.ts +7 -0
  244. package/components/combo-box/combo-box.component.d.ts +11 -8
  245. package/components/combo-box/combo-box.directive.d.ts +6 -0
  246. package/components/combo-box/combo-box.providers.d.ts +2 -0
  247. package/components/combo-box/index.d.ts +3 -0
  248. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  249. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +5 -3
  250. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  251. package/components/field-error/field-error.component.d.ts +1 -2
  252. package/components/field-error/field-error.module.d.ts +3 -0
  253. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  254. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  255. package/components/index.d.ts +1 -0
  256. package/components/input/index.d.ts +1 -0
  257. package/components/input/input.directive.d.ts +5 -0
  258. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  259. package/components/input-copy/index.d.ts +2 -0
  260. package/components/input-copy/input-copy.directive.d.ts +5 -0
  261. package/components/input-copy/input-copy.providers.d.ts +2 -0
  262. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  263. package/components/input-count/index.d.ts +1 -0
  264. package/components/input-count/input-count-options.d.ts +10 -4
  265. package/components/input-count/input-count.component.d.ts +3 -3
  266. package/components/input-count/input-count.directive.d.ts +6 -0
  267. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  268. package/components/input-date/index.d.ts +2 -0
  269. package/components/input-date/input-date.component.d.ts +3 -4
  270. package/components/input-date/input-date.directive.d.ts +7 -0
  271. package/components/input-date/input-date.providers.d.ts +4 -0
  272. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  273. package/components/input-date-range/index.d.ts +2 -0
  274. package/components/input-date-range/input-date-range.component.d.ts +3 -4
  275. package/components/input-date-range/input-date-range.directive.d.ts +7 -0
  276. package/components/input-date-range/input-date-range.providers.d.ts +4 -0
  277. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  278. package/components/input-date-time/index.d.ts +2 -0
  279. package/components/input-date-time/input-date-time.component.d.ts +3 -5
  280. package/components/input-date-time/input-date-time.directive.d.ts +7 -0
  281. package/components/input-date-time/input-date-time.providers.d.ts +4 -0
  282. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  283. package/components/input-file/input-file.component.d.ts +0 -1
  284. package/components/input-file/taiga-ui-kit-components-input-file.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 +1 -0
  288. package/components/input-month/input-month.component.d.ts +2 -3
  289. package/components/input-month/input-month.directive.d.ts +7 -0
  290. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  291. package/components/input-month-range/index.d.ts +1 -0
  292. package/components/input-month-range/input-month-range.component.d.ts +2 -3
  293. package/components/input-month-range/input-month-range.directive.d.ts +7 -0
  294. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  295. package/components/input-number/index.d.ts +1 -0
  296. package/components/input-number/input-number.component.d.ts +1 -1
  297. package/components/input-number/input-number.directive.d.ts +7 -0
  298. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  299. package/components/input-password/index.d.ts +1 -0
  300. package/components/input-password/input-password-options.d.ts +10 -4
  301. package/components/input-password/input-password.component.d.ts +3 -4
  302. package/components/input-password/input-password.directive.d.ts +8 -0
  303. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  304. package/components/input-phone/index.d.ts +1 -0
  305. package/components/input-phone/input-phone.component.d.ts +1 -1
  306. package/components/input-phone/input-phone.directive.d.ts +7 -0
  307. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  308. package/components/input-phone-international/const/countries.d.ts +15 -7
  309. package/components/input-phone-international/index.d.ts +2 -0
  310. package/components/input-phone-international/input-phone-international.component.d.ts +4 -3
  311. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  312. package/components/input-phone-international/tokens/countries-masks.d.ts +3 -0
  313. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -0
  314. package/components/input-range/input-range.component.d.ts +2 -1
  315. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
  316. package/components/input-slider/input-slider.component.d.ts +2 -1
  317. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  318. package/components/input-tag/index.d.ts +1 -0
  319. package/components/input-tag/input-tag-options.d.ts +7 -0
  320. package/components/input-tag/input-tag.component.d.ts +6 -2
  321. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  322. package/components/input-time/input-time-options.d.ts +13 -4
  323. package/components/input-time/input-time.component.d.ts +9 -10
  324. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  325. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  326. package/components/multi-select/index.d.ts +1 -0
  327. package/components/multi-select/multi-select-options.d.ts +10 -0
  328. package/components/multi-select/multi-select.component.d.ts +14 -8
  329. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  330. package/components/radio/radio-options.d.ts +10 -4
  331. package/components/radio/radio.component.d.ts +2 -2
  332. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  333. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  334. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  335. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  336. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  337. package/components/rating/index.d.ts +3 -0
  338. package/components/rating/package.json +13 -0
  339. package/components/rating/rating-options.d.ts +10 -0
  340. package/components/rating/rating.component.d.ts +21 -0
  341. package/components/rating/rating.module.d.ts +2 -0
  342. package/components/rating/taiga-ui-kit-components-rating.d.ts +4 -0
  343. package/components/rating/taiga-ui-kit-components-rating.metadata.json +1 -0
  344. package/components/select/index.d.ts +3 -0
  345. package/components/select/select-options.d.ts +9 -0
  346. package/components/select/select.component.d.ts +11 -6
  347. package/components/select/select.directive.d.ts +7 -0
  348. package/components/select/select.providers.d.ts +2 -0
  349. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  350. package/components/slider/index.d.ts +1 -0
  351. package/components/slider/slider-old.component.d.ts +19 -0
  352. package/components/slider/slider.component.d.ts +16 -13
  353. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  354. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  355. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  356. package/components/tag/tag.component.d.ts +1 -0
  357. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  358. package/components/taiga-ui-kit-components.metadata.json +1 -1
  359. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  360. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  361. package/components/toggle/toggle-options.d.ts +10 -4
  362. package/components/toggle/toggle.component.d.ts +3 -3
  363. package/constants/index.d.ts +1 -0
  364. package/constants/max-time-values.d.ts +2 -0
  365. package/constants/taiga-ui-kit-constants.metadata.json +1 -1
  366. package/esm2015/abstract/input-slider.js +4 -2
  367. package/esm2015/abstract/slider/slider.js +2 -2
  368. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +3 -3
  369. package/esm2015/components/accordion/accordion.component.js +3 -3
  370. package/esm2015/components/arrow/arrow-options.js +28 -0
  371. package/esm2015/components/arrow/arrow.component.js +12 -8
  372. package/esm2015/components/arrow/arrow.module.js +3 -2
  373. package/esm2015/components/arrow/index.js +2 -1
  374. package/esm2015/components/avatar/avatar.component.js +3 -3
  375. package/esm2015/components/badge/badge.component.js +3 -3
  376. package/esm2015/components/badged-content/badged-content.component.js +3 -3
  377. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +3 -3
  378. package/esm2015/components/calendar-month/calendar-month.component.js +5 -2
  379. package/esm2015/components/carousel/carousel-buttons.directive.js +1 -1
  380. package/esm2015/components/carousel/carousel-scroll.directive.js +5 -4
  381. package/esm2015/components/carousel/carousel.component.js +1 -1
  382. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  383. package/esm2015/components/checkbox-block/checkbox-block.component.js +3 -3
  384. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
  385. package/esm2015/components/combo-box/combo-box-strict.directive.js +31 -0
  386. package/esm2015/components/combo-box/combo-box.component.js +41 -55
  387. package/esm2015/components/combo-box/combo-box.directive.js +25 -0
  388. package/esm2015/components/combo-box/combo-box.module.js +15 -4
  389. package/esm2015/components/combo-box/combo-box.providers.js +28 -0
  390. package/esm2015/components/combo-box/index.js +4 -1
  391. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +17 -11
  392. package/esm2015/components/field-error/field-error.component.js +8 -12
  393. package/esm2015/components/field-error/field-error.module.js +6 -2
  394. package/esm2015/components/filter/filter.component.js +3 -3
  395. package/esm2015/components/index.js +2 -1
  396. package/esm2015/components/input/index.js +2 -1
  397. package/esm2015/components/input/input.component.js +3 -3
  398. package/esm2015/components/input/input.directive.js +22 -0
  399. package/esm2015/components/input/input.module.js +5 -4
  400. package/esm2015/components/input/input.providers.js +6 -2
  401. package/esm2015/components/input-copy/index.js +3 -1
  402. package/esm2015/components/input-copy/input-copy.component.js +8 -15
  403. package/esm2015/components/input-copy/input-copy.directive.js +22 -0
  404. package/esm2015/components/input-copy/input-copy.module.js +5 -4
  405. package/esm2015/components/input-copy/input-copy.providers.js +16 -0
  406. package/esm2015/components/input-count/index.js +2 -1
  407. package/esm2015/components/input-count/input-count-options.js +5 -1
  408. package/esm2015/components/input-count/input-count.component.js +10 -10
  409. package/esm2015/components/input-count/input-count.directive.js +26 -0
  410. package/esm2015/components/input-count/input-count.module.js +5 -4
  411. package/esm2015/components/input-date/index.js +3 -1
  412. package/esm2015/components/input-date/input-date.component.js +19 -29
  413. package/esm2015/components/input-date/input-date.directive.js +28 -0
  414. package/esm2015/components/input-date/input-date.module.js +5 -4
  415. package/esm2015/components/input-date/input-date.providers.js +29 -0
  416. package/esm2015/components/input-date-range/index.js +3 -1
  417. package/esm2015/components/input-date-range/input-date-range.component.js +19 -29
  418. package/esm2015/components/input-date-range/input-date-range.directive.js +28 -0
  419. package/esm2015/components/input-date-range/input-date-range.module.js +9 -4
  420. package/esm2015/components/input-date-range/input-date-range.providers.js +29 -0
  421. package/esm2015/components/input-date-time/index.js +3 -1
  422. package/esm2015/components/input-date-time/input-date-time.component.js +19 -33
  423. package/esm2015/components/input-date-time/input-date-time.directive.js +28 -0
  424. package/esm2015/components/input-date-time/input-date-time.module.js +9 -4
  425. package/esm2015/components/input-date-time/input-date-time.providers.js +29 -0
  426. package/esm2015/components/input-file/input-file.component.js +2 -5
  427. package/esm2015/components/input-inline/input-inline.component.js +4 -13
  428. package/esm2015/components/input-month/index.js +2 -1
  429. package/esm2015/components/input-month/input-month.component.js +7 -6
  430. package/esm2015/components/input-month/input-month.directive.js +30 -0
  431. package/esm2015/components/input-month/input-month.module.js +5 -4
  432. package/esm2015/components/input-month-range/index.js +2 -1
  433. package/esm2015/components/input-month-range/input-month-range.component.js +7 -6
  434. package/esm2015/components/input-month-range/input-month-range.directive.js +30 -0
  435. package/esm2015/components/input-month-range/input-month-range.module.js +9 -4
  436. package/esm2015/components/input-number/index.js +2 -1
  437. package/esm2015/components/input-number/input-number.component.js +16 -10
  438. package/esm2015/components/input-number/input-number.directive.js +29 -0
  439. package/esm2015/components/input-number/input-number.module.js +5 -4
  440. package/esm2015/components/input-password/index.js +2 -1
  441. package/esm2015/components/input-password/input-password-options.js +5 -1
  442. package/esm2015/components/input-password/input-password.component.js +8 -7
  443. package/esm2015/components/input-password/input-password.directive.js +30 -0
  444. package/esm2015/components/input-password/input-password.module.js +9 -4
  445. package/esm2015/components/input-phone/index.js +2 -1
  446. package/esm2015/components/input-phone/input-phone.component.js +14 -25
  447. package/esm2015/components/input-phone/input-phone.directive.js +29 -0
  448. package/esm2015/components/input-phone/input-phone.module.js +5 -4
  449. package/esm2015/components/input-phone/input-phone.providers.js +17 -3
  450. package/esm2015/components/input-phone-international/const/countries.js +14 -5
  451. package/esm2015/components/input-phone-international/index.js +3 -1
  452. package/esm2015/components/input-phone-international/input-phone-international.component.js +24 -22
  453. package/esm2015/components/input-phone-international/tokens/countries-masks.js +6 -0
  454. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +9 -0
  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 +31 -15
  460. package/esm2015/components/input-time/input-time-options.js +8 -1
  461. package/esm2015/components/input-time/input-time.component.js +10 -8
  462. package/esm2015/components/marker-icon/marker-icon.component.js +3 -3
  463. package/esm2015/components/multi-select/index.js +2 -1
  464. package/esm2015/components/multi-select/multi-select-options.js +13 -0
  465. package/esm2015/components/multi-select/multi-select.component.js +31 -17
  466. package/esm2015/components/multi-select/multi-select.module.js +3 -1
  467. package/esm2015/components/radio/radio-options.js +5 -1
  468. package/esm2015/components/radio/radio.component.js +3 -3
  469. package/esm2015/components/radio-block/radio-block.component.js +3 -3
  470. package/esm2015/components/radio-labeled/radio-labeled.component.js +3 -3
  471. package/esm2015/components/radio-list/radio-list.component.js +3 -3
  472. package/esm2015/components/range/range.component.js +1 -1
  473. package/esm2015/components/rating/index.js +4 -0
  474. package/esm2015/components/rating/rating-options.js +15 -0
  475. package/esm2015/components/rating/rating.component.js +91 -0
  476. package/esm2015/components/rating/rating.module.js +23 -0
  477. package/esm2015/components/rating/taiga-ui-kit-components-rating.js +5 -0
  478. package/esm2015/components/select/index.js +4 -1
  479. package/esm2015/components/select/select-options.js +12 -0
  480. package/esm2015/components/select/select.component.js +36 -42
  481. package/esm2015/components/select/select.directive.js +28 -0
  482. package/esm2015/components/select/select.module.js +5 -4
  483. package/esm2015/components/select/select.providers.js +28 -0
  484. package/esm2015/components/slider/index.js +2 -1
  485. package/esm2015/components/slider/slider-old.component.js +71 -0
  486. package/esm2015/components/slider/slider.component.js +66 -46
  487. package/esm2015/components/slider/slider.module.js +4 -3
  488. package/esm2015/components/stepper/step/step.component.js +3 -3
  489. package/esm2015/components/tabs/tab/tab.providers.js +3 -3
  490. package/esm2015/components/tag/tag.component.js +12 -6
  491. package/esm2015/components/text-area/text-area.component.js +9 -6
  492. package/esm2015/components/text-area/text-area.module.js +2 -3
  493. package/esm2015/components/toggle/toggle-options.js +5 -1
  494. package/esm2015/components/toggle/toggle.component.js +3 -3
  495. package/esm2015/constants/index.js +2 -1
  496. package/esm2015/constants/max-time-values.js +7 -0
  497. package/esm2015/pipes/field-error/field-error-pipe.js +120 -0
  498. package/esm2015/pipes/field-error/field-error.module.js +13 -0
  499. package/esm2015/pipes/field-error/index.js +3 -0
  500. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +5 -0
  501. package/esm2015/pipes/index.js +2 -1
  502. package/esm2015/providers/value-accessor.provider.js +3 -2
  503. package/esm2015/tokens/date-inputs-value-transformers.js +5 -0
  504. package/esm2015/tokens/index.js +3 -1
  505. package/esm2015/tokens/items-handlers.js +15 -0
  506. package/esm2015/types/index.js +1 -1
  507. package/esm2015/types/time-format-parts.js +1 -0
  508. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +7 -6
  509. package/esm2015/utils/mask/create-time-mask.js +16 -8
  510. package/esm2015/utils/miscellaneous/get-precision.js +8 -0
  511. package/esm2015/utils/miscellaneous/index.js +2 -1
  512. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +10 -4
  513. package/esm5/abstract/input-slider.js +4 -2
  514. package/esm5/abstract/slider/slider.js +2 -2
  515. package/esm5/components/accordion/accordion-item/accordion-item.component.js +3 -3
  516. package/esm5/components/accordion/accordion.component.js +3 -3
  517. package/esm5/components/arrow/arrow-options.js +29 -0
  518. package/esm5/components/arrow/arrow.component.js +12 -8
  519. package/esm5/components/arrow/arrow.module.js +3 -2
  520. package/esm5/components/arrow/index.js +2 -1
  521. package/esm5/components/avatar/avatar.component.js +3 -3
  522. package/esm5/components/badge/badge.component.js +3 -3
  523. package/esm5/components/badged-content/badged-content.component.js +3 -3
  524. package/esm5/components/breadcrumbs/breadcrumbs.component.js +3 -3
  525. package/esm5/components/calendar-month/calendar-month.component.js +5 -2
  526. package/esm5/components/carousel/carousel-buttons.directive.js +1 -1
  527. package/esm5/components/carousel/carousel-scroll.directive.js +5 -4
  528. package/esm5/components/carousel/carousel.component.js +1 -1
  529. package/esm5/components/checkbox/checkbox.component.js +4 -4
  530. package/esm5/components/checkbox-block/checkbox-block.component.js +3 -3
  531. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
  532. package/esm5/components/combo-box/combo-box-strict.directive.js +32 -0
  533. package/esm5/components/combo-box/combo-box.component.js +40 -59
  534. package/esm5/components/combo-box/combo-box.directive.js +35 -0
  535. package/esm5/components/combo-box/combo-box.module.js +15 -4
  536. package/esm5/components/combo-box/combo-box.providers.js +28 -0
  537. package/esm5/components/combo-box/index.js +4 -1
  538. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +18 -11
  539. package/esm5/components/field-error/field-error.component.js +8 -16
  540. package/esm5/components/field-error/field-error.module.js +6 -2
  541. package/esm5/components/filter/filter.component.js +3 -3
  542. package/esm5/components/index.js +2 -1
  543. package/esm5/components/input/index.js +2 -1
  544. package/esm5/components/input/input.component.js +3 -3
  545. package/esm5/components/input/input.directive.js +28 -0
  546. package/esm5/components/input/input.module.js +5 -4
  547. package/esm5/components/input/input.providers.js +6 -2
  548. package/esm5/components/input-copy/index.js +3 -1
  549. package/esm5/components/input-copy/input-copy.component.js +7 -15
  550. package/esm5/components/input-copy/input-copy.directive.js +28 -0
  551. package/esm5/components/input-copy/input-copy.module.js +5 -4
  552. package/esm5/components/input-copy/input-copy.providers.js +16 -0
  553. package/esm5/components/input-count/index.js +2 -1
  554. package/esm5/components/input-count/input-count-options.js +6 -1
  555. package/esm5/components/input-count/input-count.component.js +10 -10
  556. package/esm5/components/input-count/input-count.directive.js +32 -0
  557. package/esm5/components/input-count/input-count.module.js +5 -4
  558. package/esm5/components/input-date/index.js +3 -1
  559. package/esm5/components/input-date/input-date.component.js +18 -29
  560. package/esm5/components/input-date/input-date.directive.js +38 -0
  561. package/esm5/components/input-date/input-date.module.js +5 -4
  562. package/esm5/components/input-date/input-date.providers.js +29 -0
  563. package/esm5/components/input-date-range/index.js +3 -1
  564. package/esm5/components/input-date-range/input-date-range.component.js +18 -29
  565. package/esm5/components/input-date-range/input-date-range.directive.js +38 -0
  566. package/esm5/components/input-date-range/input-date-range.module.js +9 -4
  567. package/esm5/components/input-date-range/input-date-range.providers.js +29 -0
  568. package/esm5/components/input-date-time/index.js +3 -1
  569. package/esm5/components/input-date-time/input-date-time.component.js +18 -37
  570. package/esm5/components/input-date-time/input-date-time.directive.js +38 -0
  571. package/esm5/components/input-date-time/input-date-time.module.js +9 -4
  572. package/esm5/components/input-date-time/input-date-time.providers.js +29 -0
  573. package/esm5/components/input-file/input-file.component.js +2 -9
  574. package/esm5/components/input-inline/input-inline.component.js +4 -17
  575. package/esm5/components/input-month/index.js +2 -1
  576. package/esm5/components/input-month/input-month.component.js +7 -10
  577. package/esm5/components/input-month/input-month.directive.js +44 -0
  578. package/esm5/components/input-month/input-month.module.js +5 -4
  579. package/esm5/components/input-month-range/index.js +2 -1
  580. package/esm5/components/input-month-range/input-month-range.component.js +7 -10
  581. package/esm5/components/input-month-range/input-month-range.directive.js +44 -0
  582. package/esm5/components/input-month-range/input-month-range.module.js +9 -4
  583. package/esm5/components/input-number/index.js +2 -1
  584. package/esm5/components/input-number/input-number.component.js +16 -10
  585. package/esm5/components/input-number/input-number.directive.js +39 -0
  586. package/esm5/components/input-number/input-number.module.js +5 -4
  587. package/esm5/components/input-password/index.js +2 -1
  588. package/esm5/components/input-password/input-password-options.js +6 -1
  589. package/esm5/components/input-password/input-password.component.js +8 -11
  590. package/esm5/components/input-password/input-password.directive.js +36 -0
  591. package/esm5/components/input-password/input-password.module.js +9 -4
  592. package/esm5/components/input-phone/index.js +2 -1
  593. package/esm5/components/input-phone/input-phone.component.js +13 -25
  594. package/esm5/components/input-phone/input-phone.directive.js +39 -0
  595. package/esm5/components/input-phone/input-phone.module.js +5 -4
  596. package/esm5/components/input-phone/input-phone.providers.js +17 -3
  597. package/esm5/components/input-phone-international/const/countries.js +14 -5
  598. package/esm5/components/input-phone-international/index.js +3 -1
  599. package/esm5/components/input-phone-international/input-phone-international.component.js +28 -22
  600. package/esm5/components/input-phone-international/tokens/countries-masks.js +6 -0
  601. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +9 -0
  602. package/esm5/components/input-range/input-range.component.js +10 -7
  603. package/esm5/components/input-slider/input-slider.component.js +10 -7
  604. package/esm5/components/input-tag/index.js +2 -1
  605. package/esm5/components/input-tag/input-tag-options.js +9 -0
  606. package/esm5/components/input-tag/input-tag.component.js +36 -16
  607. package/esm5/components/input-time/input-time-options.js +9 -1
  608. package/esm5/components/input-time/input-time.component.js +10 -12
  609. package/esm5/components/marker-icon/marker-icon.component.js +3 -3
  610. package/esm5/components/multi-select/index.js +2 -1
  611. package/esm5/components/multi-select/multi-select-options.js +14 -0
  612. package/esm5/components/multi-select/multi-select.component.js +35 -21
  613. package/esm5/components/multi-select/multi-select.module.js +3 -1
  614. package/esm5/components/radio/radio-options.js +6 -1
  615. package/esm5/components/radio/radio.component.js +3 -3
  616. package/esm5/components/radio-block/radio-block.component.js +3 -3
  617. package/esm5/components/radio-labeled/radio-labeled.component.js +3 -3
  618. package/esm5/components/radio-list/radio-list.component.js +3 -3
  619. package/esm5/components/range/range.component.js +1 -1
  620. package/esm5/components/rating/index.js +4 -0
  621. package/esm5/components/rating/rating-options.js +16 -0
  622. package/esm5/components/rating/rating.component.js +111 -0
  623. package/esm5/components/rating/rating.module.js +26 -0
  624. package/esm5/components/rating/taiga-ui-kit-components-rating.js +5 -0
  625. package/esm5/components/select/index.js +4 -1
  626. package/esm5/components/select/select-options.js +13 -0
  627. package/esm5/components/select/select.component.js +35 -46
  628. package/esm5/components/select/select.directive.js +42 -0
  629. package/esm5/components/select/select.module.js +5 -4
  630. package/esm5/components/select/select.providers.js +28 -0
  631. package/esm5/components/slider/index.js +2 -1
  632. package/esm5/components/slider/slider-old.component.js +90 -0
  633. package/esm5/components/slider/slider.component.js +83 -53
  634. package/esm5/components/slider/slider.module.js +4 -3
  635. package/esm5/components/stepper/step/step.component.js +3 -3
  636. package/esm5/components/tabs/tab/tab.providers.js +3 -3
  637. package/esm5/components/tag/tag.component.js +12 -6
  638. package/esm5/components/text-area/text-area.component.js +9 -6
  639. package/esm5/components/text-area/text-area.module.js +2 -3
  640. package/esm5/components/toggle/toggle-options.js +6 -1
  641. package/esm5/components/toggle/toggle.component.js +3 -3
  642. package/esm5/constants/index.js +2 -1
  643. package/esm5/constants/max-time-values.js +7 -0
  644. package/esm5/pipes/field-error/field-error-pipe.js +153 -0
  645. package/esm5/pipes/field-error/field-error.module.js +16 -0
  646. package/esm5/pipes/field-error/index.js +3 -0
  647. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +5 -0
  648. package/esm5/pipes/index.js +2 -1
  649. package/esm5/providers/value-accessor.provider.js +3 -2
  650. package/esm5/tokens/date-inputs-value-transformers.js +5 -0
  651. package/esm5/tokens/index.js +3 -1
  652. package/esm5/tokens/items-handlers.js +16 -0
  653. package/esm5/types/index.js +1 -1
  654. package/esm5/types/time-format-parts.js +1 -0
  655. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +8 -5
  656. package/esm5/utils/mask/create-time-mask.js +15 -7
  657. package/esm5/utils/miscellaneous/get-precision.js +9 -0
  658. package/esm5/utils/miscellaneous/index.js +2 -1
  659. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +12 -4
  660. package/fesm2015/taiga-ui-kit-abstract.js +4 -2
  661. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  662. package/fesm2015/taiga-ui-kit-components-accordion.js +4 -4
  663. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  664. package/fesm2015/taiga-ui-kit-components-arrow.js +40 -11
  665. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  666. package/fesm2015/taiga-ui-kit-components-avatar.js +2 -2
  667. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  668. package/fesm2015/taiga-ui-kit-components-badge.js +2 -2
  669. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  670. package/fesm2015/taiga-ui-kit-components-badged-content.js +2 -2
  671. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  672. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +2 -2
  673. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  674. package/fesm2015/taiga-ui-kit-components-calendar-month.js +4 -1
  675. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  676. package/fesm2015/taiga-ui-kit-components-carousel.js +5 -4
  677. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  678. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +2 -2
  679. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  680. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +2 -2
  681. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  682. package/fesm2015/taiga-ui-kit-components-checkbox.js +3 -3
  683. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  684. package/fesm2015/taiga-ui-kit-components-combo-box.js +118 -53
  685. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  686. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +16 -10
  687. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  688. package/fesm2015/taiga-ui-kit-components-field-error.js +12 -13
  689. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  690. package/fesm2015/taiga-ui-kit-components-filter.js +2 -2
  691. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  692. package/fesm2015/taiga-ui-kit-components-input-copy.js +41 -18
  693. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  694. package/fesm2015/taiga-ui-kit-components-input-count.js +40 -14
  695. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  696. package/fesm2015/taiga-ui-kit-components-input-date-range.js +72 -31
  697. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  698. package/fesm2015/taiga-ui-kit-components-input-date-time.js +72 -35
  699. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  700. package/fesm2015/taiga-ui-kit-components-input-date.js +68 -31
  701. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  702. package/fesm2015/taiga-ui-kit-components-input-file.js +1 -4
  703. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  704. package/fesm2015/taiga-ui-kit-components-input-inline.js +3 -12
  705. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  706. package/fesm2015/taiga-ui-kit-components-input-month-range.js +41 -10
  707. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  708. package/fesm2015/taiga-ui-kit-components-input-month.js +37 -10
  709. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  710. package/fesm2015/taiga-ui-kit-components-input-number.js +45 -14
  711. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  712. package/fesm2015/taiga-ui-kit-components-input-password.js +45 -10
  713. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  714. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +47 -26
  715. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  716. package/fesm2015/taiga-ui-kit-components-input-phone.js +53 -27
  717. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  718. package/fesm2015/taiga-ui-kit-components-input-range.js +9 -6
  719. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  720. package/fesm2015/taiga-ui-kit-components-input-slider.js +9 -6
  721. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  722. package/fesm2015/taiga-ui-kit-components-input-tag.js +39 -16
  723. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  724. package/fesm2015/taiga-ui-kit-components-input-time.js +16 -7
  725. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  726. package/fesm2015/taiga-ui-kit-components-input.js +29 -7
  727. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  728. package/fesm2015/taiga-ui-kit-components-marker-icon.js +2 -2
  729. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  730. package/fesm2015/taiga-ui-kit-components-multi-select.js +44 -18
  731. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  732. package/fesm2015/taiga-ui-kit-components-radio-block.js +2 -2
  733. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  734. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +2 -2
  735. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  736. package/fesm2015/taiga-ui-kit-components-radio-list.js +2 -2
  737. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  738. package/fesm2015/taiga-ui-kit-components-radio.js +7 -3
  739. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  740. package/fesm2015/taiga-ui-kit-components-range.js +1 -1
  741. package/fesm2015/taiga-ui-kit-components-rating.js +127 -0
  742. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -0
  743. package/fesm2015/taiga-ui-kit-components-select.js +91 -40
  744. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-slider.js +100 -14
  746. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-stepper.js +2 -2
  748. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-tabs.js +2 -2
  750. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-tag.js +11 -5
  752. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-text-area.js +9 -7
  754. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-toggle.js +7 -3
  756. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components.js +1 -0
  758. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-constants.js +8 -1
  760. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-pipes-field-error.js +135 -0
  762. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -0
  763. package/fesm2015/taiga-ui-kit-pipes.js +1 -0
  764. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  765. package/fesm2015/taiga-ui-kit-providers.js +2 -1
  766. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-tokens.js +19 -1
  768. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-utils-mask.js +20 -12
  770. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +17 -3
  772. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  773. package/fesm5/taiga-ui-kit-abstract.js +4 -2
  774. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  775. package/fesm5/taiga-ui-kit-components-accordion.js +4 -4
  776. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  777. package/fesm5/taiga-ui-kit-components-arrow.js +41 -12
  778. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  779. package/fesm5/taiga-ui-kit-components-avatar.js +2 -2
  780. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  781. package/fesm5/taiga-ui-kit-components-badge.js +2 -2
  782. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  783. package/fesm5/taiga-ui-kit-components-badged-content.js +2 -2
  784. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  785. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +2 -2
  786. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  787. package/fesm5/taiga-ui-kit-components-calendar-month.js +4 -1
  788. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  789. package/fesm5/taiga-ui-kit-components-carousel.js +5 -4
  790. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  791. package/fesm5/taiga-ui-kit-components-checkbox-block.js +2 -2
  792. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  793. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +2 -2
  794. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  795. package/fesm5/taiga-ui-kit-components-checkbox.js +3 -3
  796. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  797. package/fesm5/taiga-ui-kit-components-combo-box.js +128 -57
  798. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  799. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +17 -10
  800. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  801. package/fesm5/taiga-ui-kit-components-field-error.js +12 -17
  802. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  803. package/fesm5/taiga-ui-kit-components-filter.js +2 -2
  804. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  805. package/fesm5/taiga-ui-kit-components-input-copy.js +46 -18
  806. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  807. package/fesm5/taiga-ui-kit-components-input-count.js +47 -15
  808. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  809. package/fesm5/taiga-ui-kit-components-input-date-range.js +81 -31
  810. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  811. package/fesm5/taiga-ui-kit-components-input-date-time.js +81 -39
  812. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  813. package/fesm5/taiga-ui-kit-components-input-date.js +77 -31
  814. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  815. package/fesm5/taiga-ui-kit-components-input-file.js +1 -8
  816. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  817. package/fesm5/taiga-ui-kit-components-input-inline.js +3 -16
  818. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  819. package/fesm5/taiga-ui-kit-components-input-month-range.js +55 -14
  820. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  821. package/fesm5/taiga-ui-kit-components-input-month.js +51 -14
  822. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  823. package/fesm5/taiga-ui-kit-components-input-number.js +55 -14
  824. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  825. package/fesm5/taiga-ui-kit-components-input-password.js +52 -15
  826. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  827. package/fesm5/taiga-ui-kit-components-input-phone-international.js +51 -26
  828. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  829. package/fesm5/taiga-ui-kit-components-input-phone.js +62 -27
  830. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  831. package/fesm5/taiga-ui-kit-components-input-range.js +9 -6
  832. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  833. package/fesm5/taiga-ui-kit-components-input-slider.js +9 -6
  834. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  835. package/fesm5/taiga-ui-kit-components-input-tag.js +44 -17
  836. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  837. package/fesm5/taiga-ui-kit-components-input-time.js +17 -12
  838. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  839. package/fesm5/taiga-ui-kit-components-input.js +36 -8
  840. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  841. package/fesm5/taiga-ui-kit-components-marker-icon.js +2 -2
  842. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  843. package/fesm5/taiga-ui-kit-components-multi-select.js +49 -23
  844. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  845. package/fesm5/taiga-ui-kit-components-radio-block.js +2 -2
  846. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  847. package/fesm5/taiga-ui-kit-components-radio-labeled.js +2 -2
  848. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  849. package/fesm5/taiga-ui-kit-components-radio-list.js +2 -2
  850. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  851. package/fesm5/taiga-ui-kit-components-radio.js +8 -4
  852. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  853. package/fesm5/taiga-ui-kit-components-range.js +1 -1
  854. package/fesm5/taiga-ui-kit-components-rating.js +150 -0
  855. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -0
  856. package/fesm5/taiga-ui-kit-components-select.js +105 -45
  857. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  858. package/fesm5/taiga-ui-kit-components-slider.js +141 -26
  859. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  860. package/fesm5/taiga-ui-kit-components-stepper.js +2 -2
  861. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  862. package/fesm5/taiga-ui-kit-components-tabs.js +2 -2
  863. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  864. package/fesm5/taiga-ui-kit-components-tag.js +11 -5
  865. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  866. package/fesm5/taiga-ui-kit-components-text-area.js +9 -7
  867. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  868. package/fesm5/taiga-ui-kit-components-toggle.js +8 -4
  869. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  870. package/fesm5/taiga-ui-kit-components.js +1 -0
  871. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  872. package/fesm5/taiga-ui-kit-constants.js +8 -1
  873. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  874. package/fesm5/taiga-ui-kit-pipes-field-error.js +171 -0
  875. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -0
  876. package/fesm5/taiga-ui-kit-pipes.js +1 -0
  877. package/fesm5/taiga-ui-kit-pipes.js.map +1 -1
  878. package/fesm5/taiga-ui-kit-providers.js +2 -1
  879. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  880. package/fesm5/taiga-ui-kit-tokens.js +20 -1
  881. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  882. package/fesm5/taiga-ui-kit-utils-mask.js +19 -10
  883. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  884. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +20 -3
  885. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  886. package/package.json +12 -12
  887. package/pipes/field-error/field-error-pipe.d.ts +29 -0
  888. package/pipes/field-error/field-error.module.d.ts +2 -0
  889. package/pipes/field-error/index.d.ts +2 -0
  890. package/pipes/field-error/package.json +13 -0
  891. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +4 -0
  892. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +1 -0
  893. package/pipes/index.d.ts +1 -0
  894. package/pipes/taiga-ui-kit-pipes.metadata.json +1 -1
  895. package/providers/taiga-ui-kit-providers.metadata.json +1 -1
  896. package/providers/value-accessor.provider.d.ts +1 -1
  897. package/tokens/date-inputs-value-transformers.d.ts +5 -0
  898. package/tokens/index.d.ts +2 -0
  899. package/tokens/items-handlers.d.ts +10 -0
  900. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  901. package/types/index.d.ts +1 -0
  902. package/types/taiga-ui-kit-types.metadata.json +1 -1
  903. package/types/time-format-parts.d.ts +1 -0
  904. package/utils/mask/create-auto-corrected-time-pipe.d.ts +2 -1
  905. package/utils/mask/create-time-mask.d.ts +2 -1
  906. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
  907. package/utils/miscellaneous/get-precision.d.ts +4 -0
  908. package/utils/miscellaneous/index.d.ts +1 -0
  909. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +3 -2
  910. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +1 -1
@@ -1,27 +1,29 @@
1
1
  import { __decorate, __extends, __param } from "tslib";
2
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, forwardRef, Inject, Input, Optional, Self, TemplateRef, ViewChild, } from '@angular/core';
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, Inject, Input, Optional, Self, TemplateRef, ViewChild, } from '@angular/core';
3
3
  import { NgControl } from '@angular/forms';
4
- import { AbstractTuiNullableControl, isNativeFocused, setNativeFocused, TUI_DEFAULT_IDENTITY_MATCHER, TUI_FOCUSABLE_ITEM_ACCESSOR, tuiDefaultProp, tuiPure, } from '@taiga-ui/cdk';
5
- import { TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT, TUI_TEXTFIELD_CLEANER, TuiDataListDirective, TuiDataListHost, TuiHostedDropdownComponent, TuiPrimitiveTextfieldComponent, TuiTextfieldCleanerDirective, TuiValueContentContext, } from '@taiga-ui/core';
6
- import { TUI_ARROW } from '@taiga-ui/kit/components/arrow';
7
- import { TUI_SELECT_OPTION } from '@taiga-ui/kit/components/select-option';
8
- import { FIXED_DROPDOWN_CONTROLLER_PROVIDER } from '@taiga-ui/kit/providers';
9
- // TODO: remove in ivy compilation
10
- export var SELECT_OPTION = TUI_SELECT_OPTION;
4
+ import { AbstractTuiNullableControl, isNativeFocused, setNativeFocused, tuiDefaultProp, tuiPure, } from '@taiga-ui/cdk';
5
+ import { TUI_TEXTFIELD_CLEANER, TuiDataListDirective, TuiDataListHost, TuiHostedDropdownComponent, TuiPrimitiveTextfieldComponent, TuiTextfieldCleanerDirective, TuiValueContentContext, } from '@taiga-ui/core';
6
+ import { TUI_ARROW_MODE } from '@taiga-ui/kit/components/arrow';
7
+ import { TUI_ITEMS_HANDLERS } from '@taiga-ui/kit/tokens';
8
+ import { TUI_SELECT_PROVIDERS } from './select.providers';
9
+ import { TUI_SELECT_OPTIONS } from './select-options';
11
10
  var TuiSelectComponent = /** @class */ (function (_super) {
12
11
  __extends(TuiSelectComponent, _super);
13
- function TuiSelectComponent(control, changeDetectorRef, textfieldCleaner) {
12
+ function TuiSelectComponent(control, changeDetectorRef, textfieldCleaner, arrowMode, itemsHandlers, options) {
14
13
  var _this = _super.call(this, control, changeDetectorRef) || this;
15
14
  _this.textfieldCleaner = textfieldCleaner;
16
- _this.identityMatcher = TUI_DEFAULT_IDENTITY_MATCHER;
17
- _this.valueContent = '';
15
+ _this.arrowMode = arrowMode;
16
+ _this.itemsHandlers = itemsHandlers;
17
+ _this.options = options;
18
+ _this.stringify = _this.itemsHandlers.stringify;
19
+ _this.identityMatcher = _this.itemsHandlers.identityMatcher;
20
+ _this.valueContent = _this.options.valueContent;
18
21
  _this.datalist = '';
19
22
  return _this;
20
23
  }
21
- TuiSelectComponent_1 = TuiSelectComponent;
22
24
  Object.defineProperty(TuiSelectComponent.prototype, "arrow", {
23
25
  get: function () {
24
- return this.disabled || this.readOnly ? '' : TUI_ARROW;
26
+ return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;
25
27
  },
26
28
  enumerable: true,
27
29
  configurable: true
@@ -43,7 +45,7 @@ var TuiSelectComponent = /** @class */ (function (_super) {
43
45
  });
44
46
  Object.defineProperty(TuiSelectComponent.prototype, "computedValue", {
45
47
  get: function () {
46
- return this.value === null ? '' : String(this.value) || ' ';
48
+ return this.value === null ? '' : this.stringify(this.value) || ' ';
47
49
  },
48
50
  enumerable: true,
49
51
  configurable: true
@@ -55,13 +57,6 @@ var TuiSelectComponent = /** @class */ (function (_super) {
55
57
  enumerable: true,
56
58
  configurable: true
57
59
  });
58
- Object.defineProperty(TuiSelectComponent.prototype, "canOpen", {
59
- get: function () {
60
- return !this.computedDisabled && !this.readOnly;
61
- },
62
- enumerable: true,
63
- configurable: true
64
- });
65
60
  TuiSelectComponent.prototype.computeContext = function ($implicit, active) {
66
61
  return { $implicit: $implicit, active: active };
67
62
  };
@@ -82,11 +77,10 @@ var TuiSelectComponent = /** @class */ (function (_super) {
82
77
  }
83
78
  };
84
79
  TuiSelectComponent.prototype.handleOption = function (option) {
80
+ var _a;
85
81
  this.focusInput();
86
82
  this.updateValue(option);
87
- if (this.hostedDropdown) {
88
- this.hostedDropdown.updateOpen(false);
89
- }
83
+ (_a = this.hostedDropdown) === null || _a === void 0 ? void 0 : _a.updateOpen(false);
90
84
  };
91
85
  TuiSelectComponent.prototype.focusInput = function (preventScroll) {
92
86
  if (preventScroll === void 0) { preventScroll = false; }
@@ -94,11 +88,13 @@ var TuiSelectComponent = /** @class */ (function (_super) {
94
88
  setNativeFocused(this.nativeFocusableElement, true, preventScroll);
95
89
  }
96
90
  };
97
- var TuiSelectComponent_1;
98
91
  TuiSelectComponent.ctorParameters = function () { return [
99
92
  { type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
100
93
  { type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
101
- { type: TuiTextfieldCleanerDirective, decorators: [{ type: Inject, args: [TUI_TEXTFIELD_CLEANER,] }] }
94
+ { type: TuiTextfieldCleanerDirective, decorators: [{ type: Inject, args: [TUI_TEXTFIELD_CLEANER,] }] },
95
+ { type: undefined, decorators: [{ type: Inject, args: [TUI_ARROW_MODE,] }] },
96
+ { type: undefined, decorators: [{ type: Inject, args: [TUI_ITEMS_HANDLERS,] }] },
97
+ { type: undefined, decorators: [{ type: Inject, args: [TUI_SELECT_OPTIONS,] }] }
102
98
  ]; };
103
99
  __decorate([
104
100
  ViewChild(TuiPrimitiveTextfieldComponent)
@@ -106,6 +102,10 @@ var TuiSelectComponent = /** @class */ (function (_super) {
106
102
  __decorate([
107
103
  ViewChild(TuiHostedDropdownComponent)
108
104
  ], TuiSelectComponent.prototype, "hostedDropdown", void 0);
105
+ __decorate([
106
+ Input(),
107
+ tuiDefaultProp()
108
+ ], TuiSelectComponent.prototype, "stringify", void 0);
109
109
  __decorate([
110
110
  Input(),
111
111
  tuiDefaultProp()
@@ -120,35 +120,24 @@ var TuiSelectComponent = /** @class */ (function (_super) {
120
120
  __decorate([
121
121
  tuiPure
122
122
  ], TuiSelectComponent.prototype, "computeContext", null);
123
- TuiSelectComponent = TuiSelectComponent_1 = __decorate([
123
+ TuiSelectComponent = __decorate([
124
124
  Component({
125
125
  selector: 'tui-select',
126
- template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"canOpen\"\n [content]=\"datalist || ''\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-select__textfield\"\n class=\"t-textfield\"\n [editable]=\"false\"\n [pseudoFocused]=\"computedFocused\"\n [pseudoHovered]=\"computedHovered\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [iconContent]=\"arrow\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n (hoveredChange)=\"onHovered($event)\"\n (keydown.delete.prevent)=\"onKeyDownDelete()\"\n (keydown.backspace.prevent)=\"onKeyDownDelete()\"\n >\n <ng-content></ng-content>\n <div\n *ngIf=\"value !== null\"\n polymorpheus-outlet\n automation-id=\"tui-select__value\"\n class=\"t-value\"\n [content]=\"computedContent\"\n [context]=\"computeContext(value, computedFocused)\"\n >\n <ng-template let-primitiveValue>\n <div class=\"t-primitive-value\">{{ primitiveValue }}</div>\n </ng-template>\n </div>\n </tui-primitive-textfield>\n</tui-hosted-dropdown>\n",
126
+ template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"interactive\"\n [content]=\"datalist || ''\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-select__textfield\"\n class=\"t-textfield\"\n [editable]=\"false\"\n [pseudoFocused]=\"computedFocused\"\n [pseudoHovered]=\"computedHovered\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [iconContent]=\"arrow\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n (hoveredChange)=\"onHovered($event)\"\n (keydown.delete.prevent)=\"onKeyDownDelete()\"\n (keydown.backspace.prevent)=\"onKeyDownDelete()\"\n >\n <ng-content></ng-content>\n <ng-content select=\"input\" ngProjectAs=\"input\"></ng-content>\n <div\n *ngIf=\"value !== null\"\n polymorpheus-outlet\n automation-id=\"tui-select__value\"\n class=\"t-value\"\n [content]=\"computedContent\"\n [context]=\"computeContext(value, computedFocused)\"\n >\n <ng-template let-primitiveValue>\n <div class=\"t-primitive-value\">{{ primitiveValue }}</div>\n </ng-template>\n </div>\n </tui-primitive-textfield>\n</tui-hosted-dropdown>\n",
127
127
  changeDetection: ChangeDetectionStrategy.OnPush,
128
- providers: [
129
- {
130
- provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
131
- useExisting: forwardRef(function () { return TuiSelectComponent_1; }),
132
- },
133
- {
134
- provide: TUI_DATA_LIST_HOST,
135
- useExisting: forwardRef(function () { return TuiSelectComponent_1; }),
136
- },
137
- {
138
- provide: TUI_OPTION_CONTENT,
139
- useValue: SELECT_OPTION,
140
- },
141
- FIXED_DROPDOWN_CONTROLLER_PROVIDER,
142
- ],
143
- styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}:host:not(._readonly) ::ng-deep input:not(:disabled){cursor:pointer}:host._readonly ::ng-deep input{cursor:default}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-value{display:flex;width:100%;align-items:center;overflow:hidden}.t-primitive-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]
128
+ providers: TUI_SELECT_PROVIDERS,
129
+ styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}:host:not(._readonly) ::ng-deep input:not(:disabled){cursor:pointer}:host._readonly ::ng-deep input{cursor:default}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-value{display:flex;width:100%;align-items:center}.t-primitive-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]
144
130
  }),
145
131
  __param(0, Optional()),
146
132
  __param(0, Self()),
147
133
  __param(0, Inject(NgControl)),
148
134
  __param(1, Inject(ChangeDetectorRef)),
149
- __param(2, Inject(TUI_TEXTFIELD_CLEANER))
135
+ __param(2, Inject(TUI_TEXTFIELD_CLEANER)),
136
+ __param(3, Inject(TUI_ARROW_MODE)),
137
+ __param(4, Inject(TUI_ITEMS_HANDLERS)),
138
+ __param(5, Inject(TUI_SELECT_OPTIONS))
150
139
  ], TuiSelectComponent);
151
140
  return TuiSelectComponent;
152
141
  }(AbstractTuiNullableControl));
153
142
  export { TuiSelectComponent };
154
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9zZWxlY3QvIiwic291cmNlcyI6WyJzZWxlY3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gs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Y2xlYW5lcikge1xuICAgICAgICAgICAgdGhpcy51cGRhdGVWYWx1ZShudWxsKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGhhbmRsZU9wdGlvbihvcHRpb246IFQpIHtcbiAgICAgICAgdGhpcy5mb2N1c0lucHV0KCk7XG4gICAgICAgIHRoaXMudXBkYXRlVmFsdWUob3B0aW9uKTtcbiAgICAgICAgdGhpcy5ob3N0ZWREcm9wZG93bj8udXBkYXRlT3BlbihmYWxzZSk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBmb2N1c0lucHV0KHByZXZlbnRTY3JvbGw6IGJvb2xlYW4gPSBmYWxzZSkge1xuICAgICAgICBpZiAodGhpcy5uYXRpdmVGb2N1c2FibGVFbGVtZW50KSB7XG4gICAgICAgICAgICBzZXROYXRpdmVGb2N1c2VkKHRoaXMubmF0aXZlRm9jdXNhYmxlRWxlbWVudCwgdHJ1ZSwgcHJldmVudFNjcm9sbCk7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
@@ -0,0 +1,42 @@
1
+ import { __decorate, __extends } from "tslib";
2
+ import { Directive, forwardRef } from '@angular/core';
3
+ import { TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost } from '@taiga-ui/core';
4
+ var TuiSelectDirective = /** @class */ (function (_super) {
5
+ __extends(TuiSelectDirective, _super);
6
+ function TuiSelectDirective() {
7
+ return _super !== null && _super.apply(this, arguments) || this;
8
+ }
9
+ TuiSelectDirective_1 = TuiSelectDirective;
10
+ Object.defineProperty(TuiSelectDirective.prototype, "readOnly", {
11
+ get: function () {
12
+ return true;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+ Object.defineProperty(TuiSelectDirective.prototype, "value", {
18
+ get: function () {
19
+ return this.host.computedValue;
20
+ },
21
+ enumerable: true,
22
+ configurable: true
23
+ });
24
+ TuiSelectDirective.prototype.onValueChange = function (value) {
25
+ this.host.onValueChange(value);
26
+ };
27
+ var TuiSelectDirective_1;
28
+ TuiSelectDirective = TuiSelectDirective_1 = __decorate([
29
+ Directive({
30
+ selector: 'tui-select',
31
+ providers: [
32
+ {
33
+ provide: TUI_TEXTFIELD_HOST,
34
+ useExisting: forwardRef(function () { return TuiSelectDirective_1; }),
35
+ },
36
+ ],
37
+ })
38
+ ], TuiSelectDirective);
39
+ return TuiSelectDirective;
40
+ }(TuiAbstractTextfieldHost));
41
+ export { TuiSelectDirective };
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9zZWxlY3QvIiwic291cmNlcyI6WyJzZWxlY3QuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUMsa0JBQWtCLEVBQUUsd0JBQXdCLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQWE1RTtJQUF3QyxzQ0FFdkM7SUFGRDs7SUFjQSxDQUFDOzJCQWRZLGtCQUFrQjtJQUczQixzQkFBSSx3Q0FBUTthQUFaO1lBQ0ksT0FBTyxJQUFJLENBQUM7UUFDaEIsQ0FBQzs7O09BQUE7SUFFRCxzQkFBSSxxQ0FBSzthQUFUO1lBQ0ksT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQztRQUNuQyxDQUFDOzs7T0FBQTtJQUVELDBDQUFhLEdBQWIsVUFBYyxLQUFhO1FBQ3ZCLElBQUksQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ25DLENBQUM7O0lBYlEsa0JBQWtCO1FBVDlCLFNBQVMsQ0FBQztZQUNQLFFBQVEsRUFBRSxZQUFZO1lBQ3RCLFNBQVMs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1cm4gdGhpcy5ob3N0LmNvbXB1dGVkVmFsdWU7XG4gICAgfVxuXG4gICAgb25WYWx1ZUNoYW5nZSh2YWx1ZTogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuaG9zdC5vblZhbHVlQ2hhbmdlKHZhbHVlKTtcbiAgICB9XG59XG4iXX0=
@@ -2,11 +2,12 @@ import { __decorate } from "tslib";
2
2
  import { CommonModule } from '@angular/common';
3
3
  import { NgModule } from '@angular/core';
4
4
  import { TuiActiveZoneModule } from '@taiga-ui/cdk';
5
- import { TuiHostedDropdownModule, TuiPrimitiveTextfieldModule } from '@taiga-ui/core';
5
+ import { TuiHostedDropdownModule, TuiPrimitiveTextfieldModule, TuiTextfieldComponent, } from '@taiga-ui/core';
6
6
  import { TuiArrowModule } from '@taiga-ui/kit/components/arrow';
7
7
  import { TuiSelectOptionModule } from '@taiga-ui/kit/components/select-option';
8
8
  import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
9
9
  import { TuiSelectComponent } from './select.component';
10
+ import { TuiSelectDirective } from './select.directive';
10
11
  var TuiSelectModule = /** @class */ (function () {
11
12
  function TuiSelectModule() {
12
13
  }
@@ -21,11 +22,11 @@ var TuiSelectModule = /** @class */ (function () {
21
22
  TuiSelectOptionModule,
22
23
  TuiArrowModule,
23
24
  ],
24
- declarations: [TuiSelectComponent],
25
- exports: [TuiSelectComponent],
25
+ declarations: [TuiSelectComponent, TuiSelectDirective],
26
+ exports: [TuiSelectComponent, TuiSelectDirective, TuiTextfieldComponent],
26
27
  })
27
28
  ], TuiSelectModule);
28
29
  return TuiSelectModule;
29
30
  }());
30
31
  export { TuiSelectModule };
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9zZWxlY3QvIiwic291cmNlcyI6WyJzZWxlY3QubW9kdWxlLnRzIl0s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AgIFR1aVByaW1pdGl2ZVRleHRmaWVsZE1vZHVsZSxcbiAgICAgICAgVHVpSG9zdGVkRHJvcGRvd25Nb2R1bGUsXG4gICAgICAgIFR1aVNlbGVjdE9wdGlvbk1vZHVsZSxcbiAgICAgICAgVHVpQXJyb3dNb2R1bGUsXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlTZWxlY3RDb21wb25lbnQsIFR1aVNlbGVjdERpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aVNlbGVjdENvbXBvbmVudCwgVHVpU2VsZWN0RGlyZWN0aXZlLCBUdWlUZXh0ZmllbGRDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlTZWxlY3RNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,28 @@
1
+ import { forwardRef } from '@angular/core';
2
+ import { AbstractTuiControl, TUI_FOCUSABLE_ITEM_ACCESSOR } from '@taiga-ui/cdk';
3
+ import { TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT } from '@taiga-ui/core';
4
+ import { TUI_SELECT_OPTION } from '@taiga-ui/kit/components/select-option';
5
+ import { FIXED_DROPDOWN_CONTROLLER_PROVIDER } from '@taiga-ui/kit/providers';
6
+ import { TuiSelectComponent } from './select.component';
7
+ // TODO: remove in ivy compilation
8
+ export var SELECT_OPTION = TUI_SELECT_OPTION;
9
+ export var TUI_SELECT_PROVIDERS = [
10
+ {
11
+ provide: AbstractTuiControl,
12
+ useExisting: forwardRef(function () { return TuiSelectComponent; }),
13
+ },
14
+ {
15
+ provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
16
+ useExisting: forwardRef(function () { return TuiSelectComponent; }),
17
+ },
18
+ {
19
+ provide: TUI_DATA_LIST_HOST,
20
+ useExisting: forwardRef(function () { return TuiSelectComponent; }),
21
+ },
22
+ {
23
+ provide: TUI_OPTION_CONTENT,
24
+ useValue: SELECT_OPTION,
25
+ },
26
+ FIXED_DROPDOWN_CONTROLLER_PROVIDER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FxuICAgIHtcbiAgICAgICAgcHJvdmlkZTogVFVJX0ZPQ1VTQUJMRV9JVEVNX0FDQ0VTU09SLFxuICAgICAgICB1c2VFeGlzdGluZzogZm9yd2FyZFJlZigoKSA9PiBUdWlTZWxlY3RDb21wb25lbnQpLFxuICAgIH0sXG4gICAge1xuICAgICAgICBwcm92aWRlOiBUVUlfREFUQV9MSVNUX0hPU1QsXG4gICAgICAgIHVzZUV4aXN0aW5nOiBmb3J3YXJkUmVmKCgpID0+IFR1aVNlbGVjdENvbXBvbmVudCksXG4gICAgfSxcbiAgICB7XG4gICAgICAgIHByb3ZpZGU6IFRVSV9PUFRJT05fQ09OVEVOVCxcbiAgICAgICAgdXNlVmFsdWU6IFNFTEVDVF9PUFRJT04sXG4gICAgfSxcbiAgICBGSVhFRF9EUk9QRE9XTl9DT05UUk9MTEVSX1BST1ZJREVSLFxuXTtcbiJdfQ==
@@ -1,3 +1,4 @@
1
1
  export * from './slider.component';
2
2
  export * from './slider.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvc2xpZGVyLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zbGlkZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2xpZGVyLm1vZHVsZSc7XG4iXX0=
3
+ export * from './slider-old.component';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvc2xpZGVyLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NsaWRlci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zbGlkZXIubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vc2xpZGVyLW9sZC5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,90 @@
1
+ import { __decorate, __extends, __param } from "tslib";
2
+ import { DOCUMENT } from '@angular/common';
3
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, Inject, Optional, Self, } from '@angular/core';
4
+ import { NgControl } from '@angular/forms';
5
+ import { isNativeFocused, TUI_FOCUSABLE_ITEM_ACCESSOR, } from '@taiga-ui/cdk';
6
+ import { AbstractTuiSlider } from '@taiga-ui/kit/abstract';
7
+ import { TUI_FROM_TO_TEXTS } from '@taiga-ui/kit/tokens';
8
+ import { Observable } from 'rxjs';
9
+ /**
10
+ * @deprecated use {@link TuiSliderComponent} instead
11
+ * TODO remove in 3.0
12
+ */
13
+ // @dynamic
14
+ var TuiSliderOldComponent = /** @class */ (function (_super) {
15
+ __extends(TuiSliderOldComponent, _super);
16
+ function TuiSliderOldComponent(control, changeDetectorRef, documentRef, fromToTexts$) {
17
+ return _super.call(this, control, changeDetectorRef, documentRef, fromToTexts$) || this;
18
+ }
19
+ TuiSliderOldComponent_1 = TuiSliderOldComponent;
20
+ Object.defineProperty(TuiSliderOldComponent.prototype, "nativeFocusableElement", {
21
+ get: function () {
22
+ return this.dotRight ? this.dotRight.nativeElement : null;
23
+ },
24
+ enumerable: true,
25
+ configurable: true
26
+ });
27
+ Object.defineProperty(TuiSliderOldComponent.prototype, "focused", {
28
+ get: function () {
29
+ return isNativeFocused(this.nativeFocusableElement);
30
+ },
31
+ enumerable: true,
32
+ configurable: true
33
+ });
34
+ Object.defineProperty(TuiSliderOldComponent.prototype, "left", {
35
+ get: function () {
36
+ return 0;
37
+ },
38
+ enumerable: true,
39
+ configurable: true
40
+ });
41
+ Object.defineProperty(TuiSliderOldComponent.prototype, "right", {
42
+ get: function () {
43
+ return 100 - 100 * this.getFractionFromValue(this.value);
44
+ },
45
+ enumerable: true,
46
+ configurable: true
47
+ });
48
+ TuiSliderOldComponent.prototype.getFallbackValue = function () {
49
+ return 0;
50
+ };
51
+ TuiSliderOldComponent.prototype.processStep = function (increment) {
52
+ var fraction = this.getFractionFromValue(this.value);
53
+ var step = this.computedStep;
54
+ var value = this.getValueFromFraction(increment ? fraction + step : fraction - step);
55
+ this.processValue(value);
56
+ };
57
+ TuiSliderOldComponent.prototype.processValue = function (value) {
58
+ this.updateValue(this.valueGuard(value));
59
+ };
60
+ var TuiSliderOldComponent_1;
61
+ TuiSliderOldComponent.ctorParameters = function () { return [
62
+ { type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
63
+ { type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
64
+ { type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
65
+ { type: Observable, decorators: [{ type: Inject, args: [TUI_FROM_TO_TEXTS,] }] }
66
+ ]; };
67
+ TuiSliderOldComponent = TuiSliderOldComponent_1 = __decorate([
68
+ Component({
69
+ selector: 'tui-slider',
70
+ template: "<div\n class=\"event-catcher\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (touchstart)=\"onTouchStart($event)\"\n>\n <div class=\"wrapper\">\n <div *ngIf=\"segmented\" class=\"segments\">\n <span\n *tuiRepeatTimes=\"let segmentIndex of segments + 1\"\n automation-id=\"tui-slider__segment\"\n class=\"segment\"\n >\n <span *ngIf=\"fromToTexts$ | async as fromToText\" class=\"number\">\n {{ getSegmentPrefix(segmentIndex, fromToText) }} {{\n getSegmentLabel(segmentIndex) | tuiFormatNumber }}\n <span *ngIf=\"pluralizeMap\">\n {{ getSegmentLabel(segmentIndex) | i18nPlural:\n pluralizeMap }}\n </span>\n </span>\n </span>\n </div>\n <div\n automation-id=\"tui-slider__bar\"\n class=\"bar\"\n [style.left.%]=\"left\"\n [style.right.%]=\"right\"\n >\n <div\n #dotLeft\n automation-id=\"tui-slider__left\"\n class=\"dot\"\n [class.dot_focus-visible]=\"focusVisibleLeft && computedFocused\"\n [tuiFocusable]=\"isLeftFocusable\"\n (tuiFocusVisibleChange)=\"onLeftFocusVisible($event)\"\n (keydown.arrowLeft.prevent)=\"decrement(false)\"\n (keydown.arrowDown.prevent)=\"decrement(false)\"\n (keydown.arrowRight.prevent)=\"increment(false)\"\n (keydown.arrowUp.prevent)=\"increment(false)\"\n ></div>\n <div\n #dotRight\n automation-id=\"tui-slider__right\"\n class=\"dot\"\n [class.dot_focus-visible]=\"focusVisibleRight && computedFocused\"\n [tuiFocusable]=\"isRightFocusable\"\n (tuiFocusVisibleChange)=\"onRightFocusVisible($event)\"\n (keydown.arrowLeft.prevent)=\"decrement(true)\"\n (keydown.arrowDown.prevent)=\"decrement(true)\"\n (keydown.arrowRight.prevent)=\"increment(true)\"\n (keydown.arrowUp.prevent)=\"increment(true)\"\n ></div>\n </div>\n </div>\n</div>\n",
71
+ changeDetection: ChangeDetectionStrategy.OnPush,
72
+ providers: [
73
+ {
74
+ provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
75
+ useExisting: forwardRef(function () { return TuiSliderOldComponent_1; }),
76
+ },
77
+ ],
78
+ styles: [":host{display:block;border-radius:var(--tui-radius-m);color:var(--tui-base-03);min-height:.125rem;font-size:1rem}:host[data-size='s']{min-height:.125rem;font-size:.5rem}:host._segmented{padding-bottom:1.25rem}:host._disabled{cursor:default;pointer-events:none;opacity:var(--tui-disabled-opacity)}.event-catcher{min-height:inherit;border-radius:inherit;padding:.4375rem 0;cursor:pointer}.wrapper{position:relative;min-height:inherit;border-radius:inherit;background-color:currentColor;border:solid transparent;border-width:0 1em}.bar{position:absolute;top:0;bottom:0;margin:0 -1em;border-radius:inherit;background-color:var(--tui-primary)}:host-context(tui-input-slider) .bar{margin-left:calc(var(--tui-radius-m)/ 2);border-bottom-left-radius:calc(var(--tui-radius-m) * 5) calc(var(--tui-radius-m) * 1.5)}.dot{transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:50%;z-index:1;width:1em;height:1em;transform:translate(0,-50%);border-radius:100%;background-color:var(--tui-primary);outline:0;cursor:ew-resize}.dot:last-child{right:0;transform:translate(0,-50%)}.dot:hover{background-color:var(--tui-primary-hover)}.dot:active{background-color:var(--tui-primary-active)}.dot_focus-visible{box-shadow:inset 0 0 0 2px var(--tui-focus)}.segments{position:relative;z-index:1;display:flex;justify-content:space-between;min-height:inherit;margin:0 -1em}.segments-spacer{height:1.625rem}.segment{position:relative;height:inherit;width:.25rem;background-color:rgba(0,0,0,.36);pointer-events:none}.segment:first-of-type,.segment:last-of-type{background-color:transparent}.number{position:absolute;left:50%;transform:translate(-50%,0);top:100%;font:var(--tui-font-text-s);margin-top:.5rem;color:var(--tui-text-02);white-space:nowrap}.segment:first-of-type .number{left:-.05em;transform:none}.segment:last-of-type .number{left:auto;right:-.05em;transform:none}:host._disabled .number{color:var(--tui-text-01)}", ".dot:first-child{display:none}.wrapper{border-left:none}.bar,.segments{margin-left:0}"]
79
+ }),
80
+ __param(0, Optional()),
81
+ __param(0, Self()),
82
+ __param(0, Inject(NgControl)),
83
+ __param(1, Inject(ChangeDetectorRef)),
84
+ __param(2, Inject(DOCUMENT)),
85
+ __param(3, Inject(TUI_FROM_TO_TEXTS))
86
+ ], TuiSliderOldComponent);
87
+ return TuiSliderOldComponent;
88
+ }(AbstractTuiSlider));
89
+ export { TuiSliderOldComponent };
90
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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