@taiga-ui/kit 2.55.0 → 2.58.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 (1092) hide show
  1. package/bundles/taiga-ui-kit-abstract.umd.js +22 -22
  2. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  4. package/bundles/taiga-ui-kit-components-accordion.umd.js +15 -15
  5. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +1 -1
  7. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-action.umd.js +10 -10
  9. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  11. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-arrow.umd.js +5 -5
  13. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-avatar.umd.js +15 -15
  16. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +1 -1
  18. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-badge.umd.js +14 -14
  20. package/bundles/taiga-ui-kit-components-badge.umd.js.map +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 +23 -23
  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 +1 -1
  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 +11 -11
  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.map +1 -1
  33. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +5 -5
  34. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
  36. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-carousel.umd.js +18 -18
  38. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +10 -10
  41. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +1 -1
  43. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +6 -6
  45. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
  47. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-checkbox.umd.js +5 -5
  49. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  51. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-combo-box.umd.js +11 -11
  53. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  55. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +4 -4
  57. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-field-error.umd.js +5 -5
  60. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-files.umd.js +20 -20
  63. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-filter.umd.js +5 -5
  66. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  68. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-copy.umd.js +10 -10
  70. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  72. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-input-count.umd.js +21 -21
  74. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
  76. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +16 -16
  78. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  80. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +18 -18
  82. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  84. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-input-date.umd.js +12 -12
  86. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  88. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-input-file.umd.js +38 -38
  90. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +1 -1
  92. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-input-files.umd.js +15 -15
  94. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-inline.umd.js +4 -4
  97. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +9 -9
  100. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  102. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-input-month.umd.js +7 -7
  104. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  106. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-input-number.umd.js +24 -24
  108. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  110. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-input-password.umd.js +11 -11
  112. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  114. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +232 -232
  116. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  118. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-input-phone.umd.js +38 -38
  120. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  122. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  123. package/bundles/taiga-ui-kit-components-input-range.umd.js +16 -16
  124. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-input-slider.umd.js +37 -25
  127. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  129. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-input-tag.umd.js +25 -25
  131. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
  133. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-input-time.umd.js +15 -15
  135. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  137. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-input.umd.js +7 -7
  139. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  141. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-island.umd.js +18 -18
  143. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  144. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  145. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +18 -12
  146. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +1 -1
  148. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +8 -8
  150. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
  152. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +2 -2
  154. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  156. package/bundles/taiga-ui-kit-components-multi-select.umd.js +19 -19
  157. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +1 -1
  159. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-pagination.umd.js +9 -9
  161. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  163. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +10 -10
  165. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
  167. package/bundles/taiga-ui-kit-components-progress.umd.js +26 -26
  168. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-radio-block.umd.js +11 -11
  171. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  173. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-radio-group.umd.js +1 -1
  175. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +7 -7
  178. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  180. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-radio-list.umd.js +7 -7
  182. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  184. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  185. package/bundles/taiga-ui-kit-components-radio.umd.js +10 -10
  186. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  188. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  189. package/bundles/taiga-ui-kit-components-range.umd.js +35 -35
  190. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  191. package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
  192. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  193. package/bundles/taiga-ui-kit-components-rating.umd.js +7 -7
  194. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  195. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
  196. package/bundles/taiga-ui-kit-components-select-option.umd.js +4 -4
  197. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  198. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +1 -1
  199. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  200. package/bundles/taiga-ui-kit-components-select.umd.js +6 -6
  201. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  202. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  203. package/bundles/taiga-ui-kit-components-slider.umd.js +65 -46
  204. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  205. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  206. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  207. package/bundles/taiga-ui-kit-components-stepper.umd.js +27 -27
  208. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  209. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  210. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  211. package/bundles/taiga-ui-kit-components-tabs.umd.js +41 -41
  212. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  213. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  214. package/bundles/taiga-ui-kit-components-tag.umd.js +25 -25
  215. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  216. package/bundles/taiga-ui-kit-components-tag.umd.min.js +1 -1
  217. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  218. package/bundles/taiga-ui-kit-components-text-area.umd.js +18 -18
  219. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  220. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +1 -1
  221. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  222. package/bundles/taiga-ui-kit-components-toggle.umd.js +13 -13
  223. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  224. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  225. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  226. package/bundles/taiga-ui-kit-components-tree.umd.js +24 -24
  227. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  228. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  229. package/bundles/taiga-ui-kit-constants.umd.js +18 -18
  230. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  231. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  232. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +10 -10
  233. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  234. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  235. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +6 -6
  236. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  237. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  238. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +18 -14
  239. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  240. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  241. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  242. package/bundles/taiga-ui-kit-directives-highlight.umd.js +10 -10
  243. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  244. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  245. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +11 -11
  246. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  247. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  248. package/bundles/taiga-ui-kit-directives-present.umd.js +5 -5
  249. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  250. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  251. package/bundles/taiga-ui-kit-directives-project-class.umd.js +2 -2
  252. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  253. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  254. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +4 -4
  255. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  256. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  257. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +1 -1
  258. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  259. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  260. package/bundles/taiga-ui-kit-enums.umd.js.map +1 -1
  261. package/bundles/taiga-ui-kit-enums.umd.min.js.map +1 -1
  262. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +3 -3
  263. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  264. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  265. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  266. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +8 -8
  267. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  268. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -1
  269. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +4 -4
  270. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  271. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  272. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +1 -1
  273. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  274. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  275. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +2 -2
  276. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  277. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  278. package/bundles/taiga-ui-kit-providers.umd.js +3 -3
  279. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  280. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  281. package/bundles/taiga-ui-kit-tokens.umd.js +38 -38
  282. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  283. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  284. package/bundles/taiga-ui-kit-utils-dom.umd.js +4 -4
  285. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  286. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +1 -1
  287. package/bundles/taiga-ui-kit-utils-files.umd.js +2 -2
  288. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  289. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +1 -1
  290. package/bundles/taiga-ui-kit-utils-format.umd.js +2 -2
  291. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  292. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  293. package/bundles/taiga-ui-kit-utils-mask.umd.js +12 -12
  294. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  295. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  296. package/bundles/taiga-ui-kit-utils-math.umd.js +2 -2
  297. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  298. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +1 -1
  299. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +7 -7
  300. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  301. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  302. package/bundles/taiga-ui-kit-validators.umd.js +1 -1
  303. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  304. package/bundles/taiga-ui-kit-validators.umd.min.js.map +1 -1
  305. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  306. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  307. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  308. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  309. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  310. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  311. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  312. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  313. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  314. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  315. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  316. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  317. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  318. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  319. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  320. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  321. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  322. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  323. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  324. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  325. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  326. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  327. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  328. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  329. package/components/input-slider/input-slider.component.d.ts +4 -1
  330. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  331. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  332. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  333. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  334. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  335. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  336. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  337. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  338. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  339. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  340. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  341. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  342. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  343. package/components/slider/helpers/slider-key-steps.directive.d.ts +8 -0
  344. package/components/slider/slider.component.d.ts +4 -2
  345. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  346. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  347. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  348. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  349. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  350. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  351. package/esm2015/abstract/input-slider.js +12 -12
  352. package/esm2015/abstract/slider/slider.js +12 -12
  353. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  354. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  355. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +11 -11
  356. package/esm2015/components/accordion/accordion.component.js +4 -4
  357. package/esm2015/components/action/action.component.js +11 -11
  358. package/esm2015/components/arrow/arrow-options.js +5 -5
  359. package/esm2015/components/arrow/arrow.component.js +2 -2
  360. package/esm2015/components/avatar/avatar-options.js +3 -3
  361. package/esm2015/components/avatar/avatar.component.js +14 -14
  362. package/esm2015/components/badge/badge.component.js +15 -15
  363. package/esm2015/components/badged-content/badged-content.component.js +24 -24
  364. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +7 -7
  365. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +6 -6
  366. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  367. package/esm2015/components/calendar-range/calendar-range.component.js +6 -6
  368. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  369. package/esm2015/components/carousel/carousel-buttons.directive.js +4 -4
  370. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  371. package/esm2015/components/carousel/carousel.component.js +10 -10
  372. package/esm2015/components/carousel/carousel.directive.js +3 -3
  373. package/esm2015/components/checkbox/checkbox.component.js +6 -6
  374. package/esm2015/components/checkbox-block/checkbox-block.component.js +11 -11
  375. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +7 -7
  376. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  377. package/esm2015/components/combo-box/combo-box.component.js +9 -9
  378. package/esm2015/components/combo-box/combo-box.directive.js +2 -2
  379. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  380. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  381. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +3 -3
  382. package/esm2015/components/field-error/field-error.component.js +6 -6
  383. package/esm2015/components/files/file/file.component.js +20 -20
  384. package/esm2015/components/files/files.component.js +2 -2
  385. package/esm2015/components/filter/filter.component.js +6 -6
  386. package/esm2015/components/input/input.component.js +7 -7
  387. package/esm2015/components/input/input.directive.js +2 -2
  388. package/esm2015/components/input-copy/input-copy.component.js +10 -10
  389. package/esm2015/components/input-copy/input-copy.directive.js +2 -2
  390. package/esm2015/components/input-count/input-count-options.js +6 -6
  391. package/esm2015/components/input-count/input-count.component.js +14 -14
  392. package/esm2015/components/input-count/input-count.directive.js +4 -4
  393. package/esm2015/components/input-date/input-date.component.js +11 -11
  394. package/esm2015/components/input-date/input-date.directive.js +3 -3
  395. package/esm2015/components/input-date-range/input-date-range.component.js +15 -15
  396. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  397. package/esm2015/components/input-date-time/input-date-time.component.js +17 -17
  398. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  399. package/esm2015/components/input-file/file/file.component.js +20 -20
  400. package/esm2015/components/input-file/input-file.component.js +20 -20
  401. package/esm2015/components/input-files/input-files.component.js +16 -16
  402. package/esm2015/components/input-inline/input-inline.component.js +5 -5
  403. package/esm2015/components/input-month/input-month.component.js +6 -6
  404. package/esm2015/components/input-month/input-month.directive.js +3 -3
  405. package/esm2015/components/input-month-range/input-month-range.component.js +7 -7
  406. package/esm2015/components/input-month-range/input-month-range.directive.js +4 -4
  407. package/esm2015/components/input-number/input-number.component.js +23 -23
  408. package/esm2015/components/input-number/input-number.directive.js +3 -3
  409. package/esm2015/components/input-password/input-password-options.js +4 -4
  410. package/esm2015/components/input-password/input-password.component.js +7 -7
  411. package/esm2015/components/input-password/input-password.directive.js +3 -3
  412. package/esm2015/components/input-phone/input-phone.component.js +32 -32
  413. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  414. package/esm2015/components/input-phone/input-phone.options.js +4 -4
  415. package/esm2015/components/input-phone/input-phone.providers.js +3 -3
  416. package/esm2015/components/input-phone-international/const/countries.js +215 -215
  417. package/esm2015/components/input-phone-international/country-iso-code.js +1 -1
  418. package/esm2015/components/input-phone-international/input-phone-international.component.js +16 -16
  419. package/esm2015/components/input-phone-international/input-phone-international.options.js +2 -2
  420. package/esm2015/components/input-phone-international/tokens/countries-masks.js +2 -2
  421. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  422. package/esm2015/components/input-range/input-range.component.js +17 -17
  423. package/esm2015/components/input-slider/input-slider.component.js +31 -22
  424. package/esm2015/components/input-tag/input-tag-options.js +3 -3
  425. package/esm2015/components/input-tag/input-tag.component.js +24 -24
  426. package/esm2015/components/input-time/input-time-options.js +6 -6
  427. package/esm2015/components/input-time/input-time.component.js +11 -11
  428. package/esm2015/components/island/island.component.js +19 -19
  429. package/esm2015/components/line-clamp/line-clamp-options.js +2 -2
  430. package/esm2015/components/line-clamp/line-clamp.component.js +11 -11
  431. package/esm2015/components/line-clamp/line-clamp.module.js +9 -3
  432. package/esm2015/components/marker-icon/marker-icon.component.js +9 -9
  433. package/esm2015/components/multi-select/hide-selected.pipe.js +2 -2
  434. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  435. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  436. package/esm2015/components/multi-select/multi-select-options.js +3 -3
  437. package/esm2015/components/multi-select/multi-select.component.js +12 -12
  438. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  439. package/esm2015/components/pagination/pagination.component.js +10 -10
  440. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +6 -6
  441. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  442. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +3 -3
  443. package/esm2015/components/progress/progress-bar/progress-bar.component.js +6 -6
  444. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  445. package/esm2015/components/progress/progress-circle/progress-circle.component.js +7 -7
  446. package/esm2015/components/progress/progress-label/progress-label.component.js +2 -2
  447. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  448. package/esm2015/components/progress/utils/calculate-color-segments.js +2 -2
  449. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  450. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +2 -2
  451. package/esm2015/components/radio/radio-options.js +3 -3
  452. package/esm2015/components/radio/radio.component.js +9 -9
  453. package/esm2015/components/radio-block/radio-block.component.js +12 -12
  454. package/esm2015/components/radio-group/radio-group.component.js +2 -2
  455. package/esm2015/components/radio-labeled/radio-labeled.component.js +8 -8
  456. package/esm2015/components/radio-list/radio-list.component.js +8 -8
  457. package/esm2015/components/range/range-change.directive.js +10 -10
  458. package/esm2015/components/range/range.component.js +25 -25
  459. package/esm2015/components/rating/rating-options.js +4 -4
  460. package/esm2015/components/rating/rating.component.js +5 -5
  461. package/esm2015/components/select/select-options.js +3 -3
  462. package/esm2015/components/select/select.component.js +4 -4
  463. package/esm2015/components/select/select.directive.js +2 -2
  464. package/esm2015/components/select-option/select-option.component.js +5 -5
  465. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +21 -14
  466. package/esm2015/components/slider/helpers/slider-readonly.directive.js +15 -15
  467. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +4 -4
  468. package/esm2015/components/slider/slider-old.component.js +2 -2
  469. package/esm2015/components/slider/slider-options.js +4 -4
  470. package/esm2015/components/slider/slider.component.js +25 -16
  471. package/esm2015/components/stepper/step/step.component.js +14 -14
  472. package/esm2015/components/stepper/stepper.component.js +15 -15
  473. package/esm2015/components/tabs/tab/tab.component.js +8 -8
  474. package/esm2015/components/tabs/tab/tab.providers.js +4 -4
  475. package/esm2015/components/tabs/tabs/tabs.component.js +13 -13
  476. package/esm2015/components/tabs/tabs-options.js +2 -2
  477. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +6 -6
  478. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  479. package/esm2015/components/tabs/underline/underline.component.js +13 -13
  480. package/esm2015/components/tag/tag-options.js +4 -4
  481. package/esm2015/components/tag/tag.component.js +23 -23
  482. package/esm2015/components/text-area/text-area.component.js +18 -18
  483. package/esm2015/components/text-area/text-area.directive.js +2 -2
  484. package/esm2015/components/toggle/toggle-options.js +5 -5
  485. package/esm2015/components/toggle/toggle.component.js +10 -10
  486. package/esm2015/components/tree/components/tree/tree.component.js +3 -3
  487. package/esm2015/components/tree/components/tree-item/tree-item.component.js +4 -4
  488. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  489. package/esm2015/components/tree/directives/tree-children.directive.js +2 -2
  490. package/esm2015/components/tree/directives/tree-controller.directive.js +4 -4
  491. package/esm2015/components/tree/directives/tree-item-controller.directive.js +4 -4
  492. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  493. package/esm2015/components/tree/misc/tree.tokens.js +9 -9
  494. package/esm2015/constants/date-time-separator.js +2 -2
  495. package/esm2015/constants/group-class-names.js +10 -10
  496. package/esm2015/constants/icon-blank.js +2 -2
  497. package/esm2015/constants/masks.js +7 -7
  498. package/esm2015/constants/router-link-options.js +2 -2
  499. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +11 -11
  500. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +5 -5
  501. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +20 -16
  502. package/esm2015/directives/highlight/highlight.directive.js +11 -11
  503. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +12 -12
  504. package/esm2015/directives/present/present.directive.js +6 -6
  505. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  506. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  507. package/esm2015/directives/value-accessor/value-accessor.directive.js +2 -2
  508. package/esm2015/enums/borders.js +1 -1
  509. package/esm2015/enums/dropdown-position.js +1 -1
  510. package/esm2015/enums/file-state.js +1 -1
  511. package/esm2015/enums/marker-icon-mode.js +1 -1
  512. package/esm2015/enums/status.js +1 -1
  513. package/esm2015/enums/step-state.js +1 -1
  514. package/esm2015/enums/text-align.js +1 -1
  515. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +4 -4
  516. package/esm2015/pipes/field-error/field-error-content-pipe.js +4 -4
  517. package/esm2015/pipes/field-error/field-error-pipe.js +6 -6
  518. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +2 -2
  519. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +3 -3
  520. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +2 -2
  521. package/esm2015/pipes/stringify/stringify.pipe.js +3 -3
  522. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +2 -2
  523. package/esm2015/providers/month-formatter.provider.js +2 -2
  524. package/esm2015/providers/specific-dropdown-controllers.js +3 -3
  525. package/esm2015/tokens/calendar-data-stream.js +2 -2
  526. package/esm2015/tokens/date-inputs-value-transformers.js +4 -4
  527. package/esm2015/tokens/i18n.js +28 -28
  528. package/esm2015/tokens/items-handlers.js +2 -2
  529. package/esm2015/tokens/mobile-aware.js +2 -2
  530. package/esm2015/tokens/mobile-calendar.js +2 -2
  531. package/esm2015/tokens/month-formatter.js +2 -2
  532. package/esm2015/tokens/tab-margin.js +2 -2
  533. package/esm2015/tokens/tag-status.js +2 -2
  534. package/esm2015/tokens/validation-errors.js +2 -2
  535. package/esm2015/utils/dom/get-word-range.js +5 -5
  536. package/esm2015/utils/files/format-size.js +2 -2
  537. package/esm2015/utils/files/get-accept-array.js +2 -2
  538. package/esm2015/utils/format/string-hash-to-hsl.js +3 -3
  539. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
  540. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  541. package/esm2015/utils/mask/create-date-mask.js +5 -5
  542. package/esm2015/utils/mask/create-date-range-mask.js +2 -2
  543. package/esm2015/utils/mask/create-time-mask.js +4 -4
  544. package/esm2015/utils/math/horizontal-direction-to-number.js +3 -3
  545. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  546. package/esm2015/utils/miscellaneous/get-precision.js +2 -2
  547. package/esm2015/validators/unfinished.validator.js +2 -2
  548. package/esm5/abstract/input-slider.js +12 -12
  549. package/esm5/abstract/slider/slider.js +12 -12
  550. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  551. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  552. package/esm5/components/accordion/accordion-item/accordion-item.component.js +11 -11
  553. package/esm5/components/accordion/accordion.component.js +4 -4
  554. package/esm5/components/action/action.component.js +11 -11
  555. package/esm5/components/arrow/arrow-options.js +5 -5
  556. package/esm5/components/arrow/arrow.component.js +2 -2
  557. package/esm5/components/avatar/avatar-options.js +3 -3
  558. package/esm5/components/avatar/avatar.component.js +14 -14
  559. package/esm5/components/badge/badge.component.js +15 -15
  560. package/esm5/components/badged-content/badged-content.component.js +24 -24
  561. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +7 -7
  562. package/esm5/components/breadcrumbs/breadcrumbs.component.js +6 -6
  563. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  564. package/esm5/components/calendar-range/calendar-range.component.js +6 -6
  565. package/esm5/components/carousel/carousel-autoscroll.directive.js +3 -3
  566. package/esm5/components/carousel/carousel-buttons.directive.js +4 -4
  567. package/esm5/components/carousel/carousel-scroll.directive.js +3 -3
  568. package/esm5/components/carousel/carousel.component.js +10 -10
  569. package/esm5/components/carousel/carousel.directive.js +3 -3
  570. package/esm5/components/checkbox/checkbox.component.js +6 -6
  571. package/esm5/components/checkbox-block/checkbox-block.component.js +11 -11
  572. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +7 -7
  573. package/esm5/components/combo-box/combo-box-strict.directive.js +3 -3
  574. package/esm5/components/combo-box/combo-box.component.js +9 -9
  575. package/esm5/components/combo-box/combo-box.directive.js +2 -2
  576. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  577. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  578. package/esm5/components/data-list-wrapper/data-list-wrapper.js +3 -3
  579. package/esm5/components/field-error/field-error.component.js +6 -6
  580. package/esm5/components/files/file/file.component.js +20 -20
  581. package/esm5/components/files/files.component.js +2 -2
  582. package/esm5/components/filter/filter.component.js +6 -6
  583. package/esm5/components/input/input.component.js +7 -7
  584. package/esm5/components/input/input.directive.js +2 -2
  585. package/esm5/components/input-copy/input-copy.component.js +10 -10
  586. package/esm5/components/input-copy/input-copy.directive.js +2 -2
  587. package/esm5/components/input-count/input-count-options.js +6 -6
  588. package/esm5/components/input-count/input-count.component.js +14 -14
  589. package/esm5/components/input-count/input-count.directive.js +4 -4
  590. package/esm5/components/input-date/input-date.component.js +11 -11
  591. package/esm5/components/input-date/input-date.directive.js +3 -3
  592. package/esm5/components/input-date-range/input-date-range.component.js +15 -15
  593. package/esm5/components/input-date-range/input-date-range.directive.js +3 -3
  594. package/esm5/components/input-date-time/input-date-time.component.js +17 -17
  595. package/esm5/components/input-date-time/input-date-time.directive.js +3 -3
  596. package/esm5/components/input-file/file/file.component.js +20 -20
  597. package/esm5/components/input-file/input-file.component.js +20 -20
  598. package/esm5/components/input-files/input-files.component.js +16 -16
  599. package/esm5/components/input-inline/input-inline.component.js +5 -5
  600. package/esm5/components/input-month/input-month.component.js +6 -6
  601. package/esm5/components/input-month/input-month.directive.js +3 -3
  602. package/esm5/components/input-month-range/input-month-range.component.js +7 -7
  603. package/esm5/components/input-month-range/input-month-range.directive.js +4 -4
  604. package/esm5/components/input-number/input-number.component.js +23 -23
  605. package/esm5/components/input-number/input-number.directive.js +3 -3
  606. package/esm5/components/input-password/input-password-options.js +4 -4
  607. package/esm5/components/input-password/input-password.component.js +7 -7
  608. package/esm5/components/input-password/input-password.directive.js +3 -3
  609. package/esm5/components/input-phone/input-phone.component.js +32 -32
  610. package/esm5/components/input-phone/input-phone.directive.js +3 -3
  611. package/esm5/components/input-phone/input-phone.options.js +4 -4
  612. package/esm5/components/input-phone/input-phone.providers.js +3 -3
  613. package/esm5/components/input-phone-international/const/countries.js +215 -215
  614. package/esm5/components/input-phone-international/country-iso-code.js +1 -1
  615. package/esm5/components/input-phone-international/input-phone-international.component.js +16 -16
  616. package/esm5/components/input-phone-international/input-phone-international.options.js +2 -2
  617. package/esm5/components/input-phone-international/tokens/countries-masks.js +2 -2
  618. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  619. package/esm5/components/input-range/input-range.component.js +17 -17
  620. package/esm5/components/input-slider/input-slider.component.js +35 -22
  621. package/esm5/components/input-tag/input-tag-options.js +3 -3
  622. package/esm5/components/input-tag/input-tag.component.js +24 -24
  623. package/esm5/components/input-time/input-time-options.js +6 -6
  624. package/esm5/components/input-time/input-time.component.js +11 -11
  625. package/esm5/components/island/island.component.js +19 -19
  626. package/esm5/components/line-clamp/line-clamp-options.js +2 -2
  627. package/esm5/components/line-clamp/line-clamp.component.js +11 -11
  628. package/esm5/components/line-clamp/line-clamp.module.js +9 -3
  629. package/esm5/components/marker-icon/marker-icon.component.js +9 -9
  630. package/esm5/components/multi-select/hide-selected.pipe.js +2 -2
  631. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  632. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  633. package/esm5/components/multi-select/multi-select-options.js +3 -3
  634. package/esm5/components/multi-select/multi-select.component.js +12 -12
  635. package/esm5/components/multi-select-option/multi-select-option.component.js +3 -3
  636. package/esm5/components/pagination/pagination.component.js +10 -10
  637. package/esm5/components/pdf-viewer/pdf-viewer.component.js +6 -6
  638. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  639. package/esm5/components/pdf-viewer/pdf-viewer.service.js +3 -3
  640. package/esm5/components/progress/progress-bar/progress-bar.component.js +6 -6
  641. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  642. package/esm5/components/progress/progress-circle/progress-circle.component.js +7 -7
  643. package/esm5/components/progress/progress-label/progress-label.component.js +2 -2
  644. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  645. package/esm5/components/progress/utils/calculate-color-segments.js +2 -2
  646. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  647. package/esm5/components/progress/utils/progress-color-segments.pipe.js +2 -2
  648. package/esm5/components/radio/radio-options.js +3 -3
  649. package/esm5/components/radio/radio.component.js +9 -9
  650. package/esm5/components/radio-block/radio-block.component.js +12 -12
  651. package/esm5/components/radio-group/radio-group.component.js +2 -2
  652. package/esm5/components/radio-labeled/radio-labeled.component.js +8 -8
  653. package/esm5/components/radio-list/radio-list.component.js +8 -8
  654. package/esm5/components/range/range-change.directive.js +12 -12
  655. package/esm5/components/range/range.component.js +25 -25
  656. package/esm5/components/rating/rating-options.js +4 -4
  657. package/esm5/components/rating/rating.component.js +5 -5
  658. package/esm5/components/select/select-options.js +3 -3
  659. package/esm5/components/select/select.component.js +4 -4
  660. package/esm5/components/select/select.directive.js +2 -2
  661. package/esm5/components/select-option/select-option.component.js +5 -5
  662. package/esm5/components/slider/helpers/slider-key-steps.directive.js +21 -14
  663. package/esm5/components/slider/helpers/slider-readonly.directive.js +15 -15
  664. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +4 -4
  665. package/esm5/components/slider/slider-old.component.js +2 -2
  666. package/esm5/components/slider/slider-options.js +4 -4
  667. package/esm5/components/slider/slider.component.js +29 -16
  668. package/esm5/components/stepper/step/step.component.js +14 -14
  669. package/esm5/components/stepper/stepper.component.js +15 -15
  670. package/esm5/components/tabs/tab/tab.component.js +8 -8
  671. package/esm5/components/tabs/tab/tab.providers.js +4 -4
  672. package/esm5/components/tabs/tabs/tabs.component.js +13 -13
  673. package/esm5/components/tabs/tabs-options.js +2 -2
  674. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +6 -6
  675. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  676. package/esm5/components/tabs/underline/underline.component.js +13 -13
  677. package/esm5/components/tag/tag-options.js +4 -4
  678. package/esm5/components/tag/tag.component.js +23 -23
  679. package/esm5/components/text-area/text-area.component.js +18 -18
  680. package/esm5/components/text-area/text-area.directive.js +2 -2
  681. package/esm5/components/toggle/toggle-options.js +5 -5
  682. package/esm5/components/toggle/toggle.component.js +10 -10
  683. package/esm5/components/tree/components/tree/tree.component.js +3 -3
  684. package/esm5/components/tree/components/tree-item/tree-item.component.js +4 -4
  685. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  686. package/esm5/components/tree/directives/tree-children.directive.js +2 -2
  687. package/esm5/components/tree/directives/tree-controller.directive.js +4 -4
  688. package/esm5/components/tree/directives/tree-item-controller.directive.js +4 -4
  689. package/esm5/components/tree/directives/tree-node.directive.js +3 -3
  690. package/esm5/components/tree/misc/tree.tokens.js +9 -9
  691. package/esm5/constants/date-time-separator.js +2 -2
  692. package/esm5/constants/group-class-names.js +10 -10
  693. package/esm5/constants/icon-blank.js +2 -2
  694. package/esm5/constants/masks.js +7 -7
  695. package/esm5/constants/router-link-options.js +2 -2
  696. package/esm5/directives/dropdown-context/dropdown-context.directive.js +11 -11
  697. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +7 -7
  698. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +20 -16
  699. package/esm5/directives/highlight/highlight.directive.js +11 -11
  700. package/esm5/directives/lazy-loading/lazy-loading.directive.js +12 -12
  701. package/esm5/directives/present/present.directive.js +6 -6
  702. package/esm5/directives/project-class/project-class.directive.js +3 -3
  703. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  704. package/esm5/directives/value-accessor/value-accessor.directive.js +2 -2
  705. package/esm5/enums/borders.js +1 -1
  706. package/esm5/enums/dropdown-position.js +1 -1
  707. package/esm5/enums/file-state.js +1 -1
  708. package/esm5/enums/marker-icon-mode.js +1 -1
  709. package/esm5/enums/status.js +1 -1
  710. package/esm5/enums/step-state.js +1 -1
  711. package/esm5/enums/text-align.js +1 -1
  712. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +4 -4
  713. package/esm5/pipes/field-error/field-error-content-pipe.js +4 -4
  714. package/esm5/pipes/field-error/field-error-pipe.js +6 -6
  715. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +2 -2
  716. package/esm5/pipes/filter-by-input/filter-by-input.base.js +3 -3
  717. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +2 -2
  718. package/esm5/pipes/stringify/stringify.pipe.js +3 -3
  719. package/esm5/pipes/stringify-content/stringify-content.pipe.js +2 -2
  720. package/esm5/providers/month-formatter.provider.js +2 -2
  721. package/esm5/providers/specific-dropdown-controllers.js +3 -3
  722. package/esm5/tokens/calendar-data-stream.js +2 -2
  723. package/esm5/tokens/date-inputs-value-transformers.js +4 -4
  724. package/esm5/tokens/i18n.js +28 -28
  725. package/esm5/tokens/items-handlers.js +2 -2
  726. package/esm5/tokens/mobile-aware.js +2 -2
  727. package/esm5/tokens/mobile-calendar.js +2 -2
  728. package/esm5/tokens/month-formatter.js +2 -2
  729. package/esm5/tokens/tab-margin.js +2 -2
  730. package/esm5/tokens/tag-status.js +2 -2
  731. package/esm5/tokens/validation-errors.js +2 -2
  732. package/esm5/utils/dom/get-word-range.js +5 -5
  733. package/esm5/utils/files/format-size.js +2 -2
  734. package/esm5/utils/files/get-accept-array.js +2 -2
  735. package/esm5/utils/format/string-hash-to-hsl.js +3 -3
  736. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
  737. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  738. package/esm5/utils/mask/create-date-mask.js +5 -5
  739. package/esm5/utils/mask/create-date-range-mask.js +2 -2
  740. package/esm5/utils/mask/create-time-mask.js +2 -2
  741. package/esm5/utils/math/horizontal-direction-to-number.js +3 -3
  742. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  743. package/esm5/utils/miscellaneous/get-precision.js +2 -2
  744. package/esm5/validators/unfinished.validator.js +2 -2
  745. package/fesm2015/taiga-ui-kit-abstract.js +22 -22
  746. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-accordion.js +15 -15
  748. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-action.js +10 -10
  750. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-arrow.js +5 -5
  752. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-avatar.js +15 -15
  754. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-badge.js +14 -14
  756. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components-badged-content.js +23 -23
  758. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +11 -11
  760. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  762. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  763. package/fesm2015/taiga-ui-kit-components-calendar-range.js +5 -5
  764. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  765. package/fesm2015/taiga-ui-kit-components-carousel.js +18 -18
  766. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +10 -10
  768. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +6 -6
  770. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-components-checkbox.js +5 -5
  772. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-components-combo-box.js +11 -11
  774. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +4 -4
  776. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-components-field-error.js +5 -5
  778. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-components-files.js +20 -20
  780. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-components-filter.js +5 -5
  782. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-components-input-copy.js +10 -10
  784. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  785. package/fesm2015/taiga-ui-kit-components-input-count.js +21 -21
  786. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  787. package/fesm2015/taiga-ui-kit-components-input-date-range.js +16 -16
  788. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  789. package/fesm2015/taiga-ui-kit-components-input-date-time.js +18 -18
  790. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  791. package/fesm2015/taiga-ui-kit-components-input-date.js +12 -12
  792. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  793. package/fesm2015/taiga-ui-kit-components-input-file.js +38 -38
  794. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  795. package/fesm2015/taiga-ui-kit-components-input-files.js +15 -15
  796. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  797. package/fesm2015/taiga-ui-kit-components-input-inline.js +4 -4
  798. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  799. package/fesm2015/taiga-ui-kit-components-input-month-range.js +9 -9
  800. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  801. package/fesm2015/taiga-ui-kit-components-input-month.js +7 -7
  802. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  803. package/fesm2015/taiga-ui-kit-components-input-number.js +24 -24
  804. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  805. package/fesm2015/taiga-ui-kit-components-input-password.js +11 -11
  806. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  807. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +232 -232
  808. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  809. package/fesm2015/taiga-ui-kit-components-input-phone.js +38 -38
  810. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  811. package/fesm2015/taiga-ui-kit-components-input-range.js +16 -16
  812. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  813. package/fesm2015/taiga-ui-kit-components-input-slider.js +30 -22
  814. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  815. package/fesm2015/taiga-ui-kit-components-input-tag.js +25 -25
  816. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  817. package/fesm2015/taiga-ui-kit-components-input-time.js +15 -15
  818. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  819. package/fesm2015/taiga-ui-kit-components-input.js +7 -7
  820. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  821. package/fesm2015/taiga-ui-kit-components-island.js +18 -18
  822. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  823. package/fesm2015/taiga-ui-kit-components-line-clamp.js +19 -13
  824. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  825. package/fesm2015/taiga-ui-kit-components-marker-icon.js +8 -8
  826. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  827. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +2 -2
  828. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  829. package/fesm2015/taiga-ui-kit-components-multi-select.js +19 -19
  830. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  831. package/fesm2015/taiga-ui-kit-components-pagination.js +9 -9
  832. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  833. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +10 -10
  834. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  835. package/fesm2015/taiga-ui-kit-components-progress.js +26 -26
  836. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  837. package/fesm2015/taiga-ui-kit-components-radio-block.js +11 -11
  838. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  839. package/fesm2015/taiga-ui-kit-components-radio-group.js +1 -1
  840. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  841. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +7 -7
  842. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  843. package/fesm2015/taiga-ui-kit-components-radio-list.js +7 -7
  844. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  845. package/fesm2015/taiga-ui-kit-components-radio.js +10 -10
  846. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  847. package/fesm2015/taiga-ui-kit-components-range.js +33 -33
  848. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  849. package/fesm2015/taiga-ui-kit-components-rating.js +7 -7
  850. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  851. package/fesm2015/taiga-ui-kit-components-select-option.js +4 -4
  852. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  853. package/fesm2015/taiga-ui-kit-components-select.js +6 -6
  854. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  855. package/fesm2015/taiga-ui-kit-components-slider.js +63 -48
  856. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  857. package/fesm2015/taiga-ui-kit-components-stepper.js +27 -27
  858. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  859. package/fesm2015/taiga-ui-kit-components-tabs.js +41 -41
  860. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  861. package/fesm2015/taiga-ui-kit-components-tag.js +25 -25
  862. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  863. package/fesm2015/taiga-ui-kit-components-text-area.js +18 -18
  864. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  865. package/fesm2015/taiga-ui-kit-components-toggle.js +13 -13
  866. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  867. package/fesm2015/taiga-ui-kit-components-tree.js +24 -24
  868. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  869. package/fesm2015/taiga-ui-kit-constants.js +18 -18
  870. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  871. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +10 -10
  872. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  873. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +4 -4
  874. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  875. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +19 -15
  876. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  877. package/fesm2015/taiga-ui-kit-directives-highlight.js +10 -10
  878. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  879. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +11 -11
  880. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  881. package/fesm2015/taiga-ui-kit-directives-present.js +5 -5
  882. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  883. package/fesm2015/taiga-ui-kit-directives-project-class.js +2 -2
  884. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  885. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  886. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  887. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +1 -1
  888. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  889. package/fesm2015/taiga-ui-kit-enums.js.map +1 -1
  890. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +3 -3
  891. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  892. package/fesm2015/taiga-ui-kit-pipes-field-error.js +8 -8
  893. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  894. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +4 -4
  895. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  896. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +1 -1
  897. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  898. package/fesm2015/taiga-ui-kit-pipes-stringify.js +2 -2
  899. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  900. package/fesm2015/taiga-ui-kit-providers.js +3 -3
  901. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  902. package/fesm2015/taiga-ui-kit-tokens.js +38 -38
  903. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  904. package/fesm2015/taiga-ui-kit-utils-dom.js +4 -4
  905. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  906. package/fesm2015/taiga-ui-kit-utils-files.js +2 -2
  907. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  908. package/fesm2015/taiga-ui-kit-utils-format.js +2 -2
  909. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  910. package/fesm2015/taiga-ui-kit-utils-mask.js +14 -14
  911. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  912. package/fesm2015/taiga-ui-kit-utils-math.js +2 -2
  913. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  914. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +7 -7
  915. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  916. package/fesm2015/taiga-ui-kit-validators.js +1 -1
  917. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  918. package/fesm5/taiga-ui-kit-abstract.js +22 -22
  919. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  920. package/fesm5/taiga-ui-kit-components-accordion.js +15 -15
  921. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  922. package/fesm5/taiga-ui-kit-components-action.js +10 -10
  923. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  924. package/fesm5/taiga-ui-kit-components-arrow.js +5 -5
  925. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  926. package/fesm5/taiga-ui-kit-components-avatar.js +15 -15
  927. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  928. package/fesm5/taiga-ui-kit-components-badge.js +14 -14
  929. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  930. package/fesm5/taiga-ui-kit-components-badged-content.js +23 -23
  931. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  932. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +11 -11
  933. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  934. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  935. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  936. package/fesm5/taiga-ui-kit-components-calendar-range.js +5 -5
  937. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  938. package/fesm5/taiga-ui-kit-components-carousel.js +18 -18
  939. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  940. package/fesm5/taiga-ui-kit-components-checkbox-block.js +10 -10
  941. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  942. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +6 -6
  943. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  944. package/fesm5/taiga-ui-kit-components-checkbox.js +5 -5
  945. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  946. package/fesm5/taiga-ui-kit-components-combo-box.js +11 -11
  947. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  948. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +4 -4
  949. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  950. package/fesm5/taiga-ui-kit-components-field-error.js +5 -5
  951. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  952. package/fesm5/taiga-ui-kit-components-files.js +20 -20
  953. package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
  954. package/fesm5/taiga-ui-kit-components-filter.js +5 -5
  955. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  956. package/fesm5/taiga-ui-kit-components-input-copy.js +10 -10
  957. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  958. package/fesm5/taiga-ui-kit-components-input-count.js +21 -21
  959. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  960. package/fesm5/taiga-ui-kit-components-input-date-range.js +16 -16
  961. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  962. package/fesm5/taiga-ui-kit-components-input-date-time.js +18 -18
  963. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  964. package/fesm5/taiga-ui-kit-components-input-date.js +12 -12
  965. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  966. package/fesm5/taiga-ui-kit-components-input-file.js +38 -38
  967. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  968. package/fesm5/taiga-ui-kit-components-input-files.js +15 -15
  969. package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
  970. package/fesm5/taiga-ui-kit-components-input-inline.js +4 -4
  971. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  972. package/fesm5/taiga-ui-kit-components-input-month-range.js +9 -9
  973. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  974. package/fesm5/taiga-ui-kit-components-input-month.js +7 -7
  975. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  976. package/fesm5/taiga-ui-kit-components-input-number.js +24 -24
  977. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  978. package/fesm5/taiga-ui-kit-components-input-password.js +11 -11
  979. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  980. package/fesm5/taiga-ui-kit-components-input-phone-international.js +232 -232
  981. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  982. package/fesm5/taiga-ui-kit-components-input-phone.js +38 -38
  983. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  984. package/fesm5/taiga-ui-kit-components-input-range.js +16 -16
  985. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  986. package/fesm5/taiga-ui-kit-components-input-slider.js +34 -22
  987. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  988. package/fesm5/taiga-ui-kit-components-input-tag.js +25 -25
  989. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  990. package/fesm5/taiga-ui-kit-components-input-time.js +15 -15
  991. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  992. package/fesm5/taiga-ui-kit-components-input.js +7 -7
  993. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  994. package/fesm5/taiga-ui-kit-components-island.js +18 -18
  995. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  996. package/fesm5/taiga-ui-kit-components-line-clamp.js +19 -13
  997. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  998. package/fesm5/taiga-ui-kit-components-marker-icon.js +8 -8
  999. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1000. package/fesm5/taiga-ui-kit-components-multi-select-option.js +2 -2
  1001. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1002. package/fesm5/taiga-ui-kit-components-multi-select.js +19 -19
  1003. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  1004. package/fesm5/taiga-ui-kit-components-pagination.js +9 -9
  1005. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  1006. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +10 -10
  1007. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  1008. package/fesm5/taiga-ui-kit-components-progress.js +26 -26
  1009. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  1010. package/fesm5/taiga-ui-kit-components-radio-block.js +11 -11
  1011. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  1012. package/fesm5/taiga-ui-kit-components-radio-group.js +1 -1
  1013. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  1014. package/fesm5/taiga-ui-kit-components-radio-labeled.js +7 -7
  1015. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1016. package/fesm5/taiga-ui-kit-components-radio-list.js +7 -7
  1017. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  1018. package/fesm5/taiga-ui-kit-components-radio.js +10 -10
  1019. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  1020. package/fesm5/taiga-ui-kit-components-range.js +35 -35
  1021. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  1022. package/fesm5/taiga-ui-kit-components-rating.js +7 -7
  1023. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  1024. package/fesm5/taiga-ui-kit-components-select-option.js +4 -4
  1025. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  1026. package/fesm5/taiga-ui-kit-components-select.js +6 -6
  1027. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  1028. package/fesm5/taiga-ui-kit-components-slider.js +67 -48
  1029. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  1030. package/fesm5/taiga-ui-kit-components-stepper.js +27 -27
  1031. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  1032. package/fesm5/taiga-ui-kit-components-tabs.js +41 -41
  1033. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  1034. package/fesm5/taiga-ui-kit-components-tag.js +25 -25
  1035. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  1036. package/fesm5/taiga-ui-kit-components-text-area.js +18 -18
  1037. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  1038. package/fesm5/taiga-ui-kit-components-toggle.js +13 -13
  1039. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  1040. package/fesm5/taiga-ui-kit-components-tree.js +24 -24
  1041. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  1042. package/fesm5/taiga-ui-kit-constants.js +18 -18
  1043. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  1044. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +10 -10
  1045. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  1046. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +6 -6
  1047. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  1048. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +19 -15
  1049. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  1050. package/fesm5/taiga-ui-kit-directives-highlight.js +10 -10
  1051. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  1052. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +11 -11
  1053. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1054. package/fesm5/taiga-ui-kit-directives-present.js +5 -5
  1055. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  1056. package/fesm5/taiga-ui-kit-directives-project-class.js +2 -2
  1057. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  1058. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  1059. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1060. package/fesm5/taiga-ui-kit-directives-value-accessor.js +1 -1
  1061. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1062. package/fesm5/taiga-ui-kit-enums.js.map +1 -1
  1063. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +3 -3
  1064. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1065. package/fesm5/taiga-ui-kit-pipes-field-error.js +8 -8
  1066. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1067. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +4 -4
  1068. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1069. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +1 -1
  1070. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1071. package/fesm5/taiga-ui-kit-pipes-stringify.js +2 -2
  1072. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1073. package/fesm5/taiga-ui-kit-providers.js +3 -3
  1074. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  1075. package/fesm5/taiga-ui-kit-tokens.js +38 -38
  1076. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  1077. package/fesm5/taiga-ui-kit-utils-dom.js +4 -4
  1078. package/fesm5/taiga-ui-kit-utils-dom.js.map +1 -1
  1079. package/fesm5/taiga-ui-kit-utils-files.js +2 -2
  1080. package/fesm5/taiga-ui-kit-utils-files.js.map +1 -1
  1081. package/fesm5/taiga-ui-kit-utils-format.js +2 -2
  1082. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  1083. package/fesm5/taiga-ui-kit-utils-mask.js +12 -12
  1084. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  1085. package/fesm5/taiga-ui-kit-utils-math.js +2 -2
  1086. package/fesm5/taiga-ui-kit-utils-math.js.map +1 -1
  1087. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +7 -7
  1088. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1089. package/fesm5/taiga-ui-kit-validators.js +1 -1
  1090. package/fesm5/taiga-ui-kit-validators.js.map +1 -1
  1091. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  1092. package/package.json +4 -4
@@ -12,10 +12,10 @@ import { CommonModule } from '@angular/common';
12
12
  import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
13
13
 
14
14
  const TUI_INPUT_TAG_DEFAULT_OPTIONS = {
15
- separator: ',',
15
+ separator: `,`,
16
16
  uniqueTags: true,
17
17
  };
18
- const TUI_INPUT_TAG_OPTIONS = new InjectionToken('Default parameters for input-tag', {
18
+ const TUI_INPUT_TAG_OPTIONS = new InjectionToken(`Default parameters for input-tag`, {
19
19
  factory: () => TUI_INPUT_TAG_DEFAULT_OPTIONS,
20
20
  });
21
21
 
@@ -40,9 +40,9 @@ let TuiInputTagComponent = TuiInputTagComponent_1 = class TuiInputTagComponent e
40
40
  // TODO: 3.0 Remove
41
41
  this.allowSpaces = true;
42
42
  this.separator = this.options.separator;
43
- this.icon = '';
44
- this.iconAlign = 'right';
45
- this.search = '';
43
+ this.icon = ``;
44
+ this.iconAlign = `right`;
45
+ this.search = ``;
46
46
  this.editable = true;
47
47
  this.tagValidator = ALWAYS_TRUE_HANDLER;
48
48
  this.expandable = true;
@@ -77,7 +77,7 @@ let TuiInputTagComponent = TuiInputTagComponent_1 = class TuiInputTagComponent e
77
77
  }
78
78
  get labelOutside() {
79
79
  const { size, labelOutside } = this.controller;
80
- return size === 's' || labelOutside;
80
+ return size === `s` || labelOutside;
81
81
  }
82
82
  get hasCleaner() {
83
83
  return this.controller.cleaner && this.hasValue && this.interactive;
@@ -106,17 +106,17 @@ let TuiInputTagComponent = TuiInputTagComponent_1 = class TuiInputTagComponent e
106
106
  return !!this.hintController.content && !this.disabled;
107
107
  }
108
108
  get iconAlignLeft() {
109
- return !!this.icon && this.iconAlign === 'left';
109
+ return !!this.icon && this.iconAlign === `left`;
110
110
  }
111
111
  get iconAlignRight() {
112
- return !!this.icon && this.iconAlign === 'right';
112
+ return !!this.icon && this.iconAlign === `right`;
113
113
  }
114
114
  get hasRightIcons() {
115
115
  return this.hasCleaner || this.hasTooltip || this.iconAlignRight;
116
116
  }
117
117
  get status() {
118
118
  var _a;
119
- return ((_a = this.modeDirective) === null || _a === void 0 ? void 0 : _a.mode) ? 'default' : this.tagStatus;
119
+ return ((_a = this.modeDirective) === null || _a === void 0 ? void 0 : _a.mode) ? `default` : this.tagStatus;
120
120
  }
121
121
  get canOpen() {
122
122
  return this.interactive && !!this.datalist;
@@ -124,11 +124,11 @@ let TuiInputTagComponent = TuiInputTagComponent_1 = class TuiInputTagComponent e
124
124
  getLeftContent(tag) {
125
125
  return !this.tagValidator(tag) && this.errorIconTemplate
126
126
  ? this.errorIconTemplate
127
- : '';
127
+ : ``;
128
128
  }
129
129
  onCleanerClick() {
130
130
  var _a;
131
- this.updateSearch('');
131
+ this.updateSearch(``);
132
132
  this.clear();
133
133
  this.focusInput();
134
134
  (_a = this.parentHostedDropdown) === null || _a === void 0 ? void 0 : _a.updateOpen(true);
@@ -201,7 +201,7 @@ let TuiInputTagComponent = TuiInputTagComponent_1 = class TuiInputTagComponent e
201
201
  }
202
202
  handleOption(item) {
203
203
  this.focusInput();
204
- this.updateSearch('');
204
+ this.updateSearch(``);
205
205
  this.updateValue(this.value.concat(item));
206
206
  this.open = false;
207
207
  this.scrollToEnd$.next();
@@ -260,7 +260,7 @@ let TuiInputTagComponent = TuiInputTagComponent_1 = class TuiInputTagComponent e
260
260
  return;
261
261
  }
262
262
  const { nativeElement } = scroller.browserScrollRef;
263
- const wheel$ = typedFromEvent(nativeElement, 'wheel', { passive: false }).pipe(filter(event => event.deltaX === 0 && this.shouldScroll(nativeElement)), preventDefault(), map(({ deltaY }) => Math.max(nativeElement.scrollLeft + deltaY * EVENT_Y_TO_X_COEFFICIENT, 0)));
263
+ const wheel$ = typedFromEvent(nativeElement, `wheel`, { passive: false }).pipe(filter(event => event.deltaX === 0 && this.shouldScroll(nativeElement)), preventDefault(), map(({ deltaY }) => Math.max(nativeElement.scrollLeft + deltaY * EVENT_Y_TO_X_COEFFICIENT, 0)));
264
264
  const start$ = this.scrollToStart$.pipe(mapTo(0));
265
265
  const end$ = this.scrollToEnd$.pipe(map(() => nativeElement.scrollWidth));
266
266
  merge(wheel$, start$, end$)
@@ -282,7 +282,7 @@ let TuiInputTagComponent = TuiInputTagComponent_1 = class TuiInputTagComponent e
282
282
  if (!inputValue || this.disabledItemHandler(inputValue)) {
283
283
  return;
284
284
  }
285
- this.updateSearch('');
285
+ this.updateSearch(``);
286
286
  this.updateValue(this.value.concat(inputValue));
287
287
  }
288
288
  deleteLastEnabledItem() {
@@ -320,16 +320,16 @@ __decorate([
320
320
  ViewChild(TuiHostedDropdownComponent)
321
321
  ], TuiInputTagComponent.prototype, "hostedDropdown", void 0);
322
322
  __decorate([
323
- ViewChild('focusableElement')
323
+ ViewChild(`focusableElement`)
324
324
  ], TuiInputTagComponent.prototype, "focusableElement", void 0);
325
325
  __decorate([
326
- ViewChild('tagsContainer')
326
+ ViewChild(`tagsContainer`)
327
327
  ], TuiInputTagComponent.prototype, "tagsContainer", void 0);
328
328
  __decorate([
329
- ViewChildren('tag', { read: ElementRef })
329
+ ViewChildren(`tag`, { read: ElementRef })
330
330
  ], TuiInputTagComponent.prototype, "tags", void 0);
331
331
  __decorate([
332
- ViewChild('cleaner', { read: ElementRef })
332
+ ViewChild(`cleaner`, { read: ElementRef })
333
333
  ], TuiInputTagComponent.prototype, "cleanerSvg", void 0);
334
334
  __decorate([
335
335
  ViewChild(TuiScrollbarComponent, { read: ElementRef })
@@ -364,7 +364,7 @@ __decorate([
364
364
  ], TuiInputTagComponent.prototype, "tagValidator", void 0);
365
365
  __decorate([
366
366
  Input(),
367
- HostBinding('class._expandable'),
367
+ HostBinding(`class._expandable`),
368
368
  tuiDefaultProp()
369
369
  ], TuiInputTagComponent.prototype, "expandable", void 0);
370
370
  __decorate([
@@ -380,7 +380,7 @@ __decorate([
380
380
  tuiDefaultProp()
381
381
  ], TuiInputTagComponent.prototype, "disabledItemHandler", void 0);
382
382
  __decorate([
383
- Input('pseudoFocused')
383
+ Input(`pseudoFocused`)
384
384
  ], TuiInputTagComponent.prototype, "pseudoFocusedSetter", null);
385
385
  __decorate([
386
386
  Output()
@@ -389,20 +389,20 @@ __decorate([
389
389
  ContentChild(TuiDataListDirective, { read: TemplateRef })
390
390
  ], TuiInputTagComponent.prototype, "datalist", void 0);
391
391
  __decorate([
392
- ViewChild('errorIcon')
392
+ ViewChild(`errorIcon`)
393
393
  ], TuiInputTagComponent.prototype, "errorIconTemplate", void 0);
394
394
  __decorate([
395
395
  ViewChild(TuiScrollbarComponent)
396
396
  ], TuiInputTagComponent.prototype, "scrollerSetter", null);
397
397
  __decorate([
398
- HostBinding('attr.data-size')
398
+ HostBinding(`attr.data-size`)
399
399
  ], TuiInputTagComponent.prototype, "size", null);
400
400
  __decorate([
401
- HostBinding('class._label-outside')
401
+ HostBinding(`class._label-outside`)
402
402
  ], TuiInputTagComponent.prototype, "labelOutside", null);
403
403
  TuiInputTagComponent = TuiInputTagComponent_1 = __decorate([
404
404
  Component({
405
- selector: 'tui-input-tag',
405
+ selector: `tui-input-tag`,
406
406
  changeDetection: ChangeDetectionStrategy.OnPush,
407
407
  template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"canOpen\"\n [content]=\"datalist || ''\"\n [(open)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-wrapper\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [focused]=\"computedFocused\"\n [hovered]=\"computedHovered\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-content\">\n <div\n *ngIf=\"iconAlignLeft\"\n class=\"t-icons t-icons_left\"\n >\n <tui-svg\n class=\"t-icon\"\n [src]=\"icon\"\n ></tui-svg>\n </div>\n <div class=\"t-wrapper\">\n <div class=\"t-absolute-wrapper\">\n <div\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-input-tag__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n <tui-scrollbar\n *ngIf=\"!expandable; else items\"\n class=\"t-scrollbar\"\n [hidden]=\"true\"\n >\n <ng-container [ngTemplateOutlet]=\"items\"></ng-container>\n </tui-scrollbar>\n <ng-template #items>\n <div\n #tagsContainer\n class=\"t-tags\"\n >\n <ng-container *ngIf=\"labelOutside; else text\">\n <tui-tag\n *ngFor=\"let item of value; index as index; trackBy: trackByFn\"\n #tag\n automation-id=\"tui-input-tag__tag\"\n class=\"t-tag\"\n [status]=\"(status$ | async)!\"\n [leftContent]=\"getLeftContent(item)\"\n [allowSpaces]=\"allowSpaces\"\n [tuiFocusable]=\"false\"\n [disabled]=\"computedDisabled || disabledItemHandler(item)\"\n [editable]=\"editable && !readOnly\"\n [hoverable]=\"!readOnly\"\n [removable]=\"!readOnly\"\n [separator]=\"separator\"\n [maxLength]=\"controller.maxLength\"\n [size]=\"controller.size\"\n [value]=\"item.toString()\"\n (edited)=\"onTagEdited($event, index)\"\n (keydown.arrowLeft.prevent)=\"onTagKeyDownArrowLeft(index)\"\n (keydown.arrowRight.prevent)=\"onTagKeyDownArrowRight(index)\"\n ></tui-tag>\n </ng-container>\n <ng-template #text>\n <span\n *ngFor=\"let item of value\"\n class=\"t-text\"\n [class.t-text_disabled]=\"disabledItemHandler(item)\"\n [class.t-text_error]=\"!tagValidator(item)\"\n [innerText]=\"item\"\n ></span>\n </ng-template>\n <div\n class=\"t-input-wrapper\"\n [class.t-input-wrapper_collapsed]=\"computedDisabled || readOnly || inputHidden\"\n >\n <div class=\"t-ghost\">{{ search }}</div>\n <input\n #focusableElement\n type=\"text\"\n automation-id=\"tui-input-tag__native\"\n class=\"t-native\"\n [placeholder]=\"controller.exampleText\"\n [class.t-native_hidden]=\"inputHidden\"\n [attr.maxLength]=\"controller.maxLength\"\n [id]=\"id\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly || inputHidden\"\n [tuiFocusable]=\"computedFocusable\"\n [ngModel]=\"search\"\n (ngModelChange)=\"onInput($event)\"\n (keydown.arrowLeft)=\"onFieldKeyDownArrowLeft($event)\"\n (keydown.backspace)=\"onFieldKeyDownBackspace($event)\"\n (keydown.enter.prevent)=\"onFieldKeyDownEnter()\"\n />\n </div>\n </div>\n </ng-template>\n </div>\n <div\n *ngIf=\"hasRightIcons\"\n class=\"t-icons t-icons_right\"\n >\n <tui-svg\n *ngIf=\"hasCleaner\"\n #cleaner\n automation-id=\"tui-input-tag__cleaner\"\n src=\"tuiIconCloseLarge\"\n class=\"t-cleaner\"\n (click.stop)=\"onCleanerClick()\"\n ></tui-svg>\n <tui-tooltip\n *ngIf=\"hasTooltip\"\n automation-id=\"tui-input-tag__tooltip\"\n describeId=\"placeholer_until_accesibility_is_added\"\n class=\"t-tooltip\"\n [direction]=\"hintController.direction\"\n [mode]=\"hintController.mode\"\n [content]=\"hintController.content || ''\"\n [showDelay]=\"hintController.showDelay\"\n [hideDelay]=\"hintController.hideDelay\"\n ></tui-tooltip>\n <tui-svg\n *ngIf=\"iconAlignRight\"\n class=\"t-icon\"\n [src]=\"icon\"\n ></tui-svg>\n </div>\n </div>\n <ng-template #errorIcon>\n <tui-svg\n src=\"tuiIconAttention\"\n class=\"t-error-icon\"\n ></tui-svg>\n </ng-template>\n </tui-wrapper>\n</tui-hosted-dropdown>\n",
408
408
  providers: [
@@ -419,7 +419,7 @@ TuiInputTagComponent = TuiInputTagComponent_1 = __decorate([
419
419
  HINT_CONTROLLER_PROVIDER,
420
420
  MODE_PROVIDER,
421
421
  ],
422
- styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;border-radius:var(--tui-radius-m);text-align:left}:host[data-size='s']{height:var(--tui-height-s);min-height:var(--tui-height-s);max-height:var(--tui-height-s)}:host[data-size='m']{height:var(--tui-height-m);min-height:var(--tui-height-m);max-height:var(--tui-height-m)}:host[data-size='l']{height:var(--tui-height-l);min-height:var(--tui-height-l);max-height:var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 var(--border-end,0) 0 var(--border-start,0);border-inline-start-width:var(--border-start,0);border-inline-end-width:var(--border-end,0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:focus,.t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:hover,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:hover,:host[data-mode=onDark] .t-input:-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,:host[data-mode=onDark] .t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}.t-input :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='s']):not(tui-text-area),:host[data-size='s'] .t-input{padding:0 var(--tui-padding-s)}.t-input :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='l']):not(tui-text-area),:host[data-size='l'] .t-input{padding:0 var(--tui-padding-l)}.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-text-area._disabled),:host._disabled .t-input{pointer-events:none}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='l']:not(._label-outside) .t-input{padding-top:1.25rem}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='l']:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='m']:not(._label-outside) .t-input{padding-top:1.125rem}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='m']:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}.t-input :host-context(tui-primitive-textfield._hidden),:host._hidden input.t-input{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content{display:flex;height:100%;width:100%;padding:0 var(--tui-padding-m);box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size='s'] .t-content{padding:0 var(--tui-padding-s)}:host[data-size='l'] .t-content{padding:0 var(--tui-padding-l)}.t-content:after{content:'';margin-right:-.25rem}:host[data-size='m'] .t-content:after{display:none}.t-wrapper{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem;-webkit-padding-start:0;padding-inline-start:0}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size='m'] .t-placeholder_raised{font:var(--tui-font-text-xs);transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .t-placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size='l']._focused._label-outside .t-placeholder,:host[data-size='m']._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size='l'] .t-placeholder{font-size:.9375rem}:host[data-size='l'] .t-placeholder_raised{font-size:.8156rem}:host[data-size='l']._focused:not(._label-outside) .t-placeholder,:host[data-size='m']._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size='l'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .t-placeholder,:host[data-size='l'][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused._label-outside .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens:none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-cleaner{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;cursor:pointer;transition-property:color,transform}.t-cleaner:hover{color:var(--tui-text-02)}:host._disabled .t-cleaner,:host._readonly .t-cleaner{pointer-events:none}:host[data-mode=onDark] .t-cleaner{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-cleaner:hover{color:var(--tui-text-01-night)}.t-icon{display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03)}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}.t-icon_left{margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host[data-size='s'] .t-icon_left{margin-right:.25rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}:host{cursor:text}:host._expandable{height:auto;max-height:none}:host._disabled{pointer-events:none}:host._readonly{cursor:default}.t-hosted{display:block;border-radius:inherit}.t-scrollbar{margin:0 -.25rem;padding:0 .25rem}.t-tags{display:flex;align-items:center;box-sizing:border-box}:host._expandable .t-tags{flex-wrap:wrap;white-space:normal}:host._readonly .t-tags{pointer-events:none}:host[data-size='s'] .t-tags{min-height:var(--tui-height-s);padding:.25rem .25rem .25rem 0}:host[data-size='m'] .t-tags{min-height:var(--tui-height-m);padding:.5rem .25rem .5rem 0}:host[data-size='l'] .t-tags{min-height:var(--tui-height-l);padding:.625rem .25rem .625rem 0}:host[data-size='m']:not(._label-outside) .t-tags{padding:1.1875rem 1rem 0 0}:host[data-size='l']:not(._label-outside) .t-tags{padding:1.6875rem 1rem .5625rem 0}.t-tags :host[data-size]{-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}:host[data-size]:not(._label-outside) .t-tags{-webkit-padding-end:1rem;padding-inline-end:1rem}.t-content{align-items:flex-start}.t-icons{display:flex;align-items:center;padding:0 0 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:0;padding-inline-end:0}.t-icons_left{padding:0;margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host._expandable .t-icons_right{margin:0 0 0 -.625rem;-webkit-margin-start:-.625rem;margin-inline-start:-.625rem;-webkit-margin-end:0;margin-inline-end:0}:host[data-size='s'] .t-icons{height:var(--tui-height-s)}:host[data-size='m'] .t-icons{height:var(--tui-height-m)}:host[data-size='l'] .t-icons{height:var(--tui-height-l)}.t-absolute-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center}:host[data-size='m'] .t-absolute-wrapper{height:var(--tui-height-m)}:host[data-size='l'] .t-absolute-wrapper{height:var(--tui-height-l)}.t-wrapper{position:relative;padding:0}.t-tag{margin:.125rem .5rem .125rem -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem;max-width:100%;flex-shrink:0}.t-text:after{content:',\\00a0'}.t-text_disabled{color:var(--tui-text-03)}.t-text_error{color:var(--tui-negative)}:host:not(._expandable) .t-text{white-space:nowrap}:host:not(._focused) .t-text:last-of-type:after{content:''}.t-input-wrapper{position:relative;flex:1;max-width:100%}.t-input-wrapper_collapsed{flex:0;margin:0 0 0 -.5rem;-webkit-margin-start:-.5rem;margin-inline-start:-.5rem;-webkit-margin-end:0;margin-inline-end:0}:host[data-size='s'] .t-input-wrapper{min-height:1.5rem}:host[data-size='m'] .t-input-wrapper{min-height:calc(var(--tui-height-xs) + 2 * .125rem)}:host[data-size='l'] .t-input-wrapper{min-height:calc(var(--tui-height-s) + 2 * .125rem)}:host:not(._label-outside) .t-input-wrapper{min-height:1.25rem}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip;min-width:.125rem}:host:not(._expandable) .t-ghost{min-width:2rem}.t-native{margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;padding:0;cursor:inherit}.t-native:-webkit-autofill,.t-native:-webkit-autofill:focus,.t-native:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-native_hidden{opacity:0;text-indent:-10em}.t-native::-ms-input-placeholder{color:var(--tui-text-03);opacity:0}.t-native::placeholder{color:var(--tui-text-03);opacity:0}:host[data-mode=onDark] .t-native::-ms-input-placeholder{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-native::placeholder{color:var(--tui-text-03-night)}:host._focused .t-native:not(:read-only)::-ms-input-placeholder{opacity:1}:host._focused .t-native:not(:-moz-read-only)::placeholder{opacity:1}:host._focused .t-native:not(:read-only)::placeholder{opacity:1}.t-error-icon{display:block;color:var(--tui-error-fill);width:1rem;height:1rem}"]
422
+ styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;border-radius:var(--tui-radius-m);text-align:left}:host[data-size='s']{height:var(--tui-height-s);min-height:var(--tui-height-s);max-height:var(--tui-height-s)}:host[data-size='m']{height:var(--tui-height-m);min-height:var(--tui-height-m);max-height:var(--tui-height-m)}:host[data-size='l']{height:var(--tui-height-l);min-height:var(--tui-height-l);max-height:var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 var(--border-end,0) 0 var(--border-start,0);border-inline-start-width:var(--border-start,0);border-inline-end-width:var(--border-end,0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:focus,.t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:transparent!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:hover,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:hover,:host[data-mode=onDark] .t-input:-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,:host[data-mode=onDark] .t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:transparent!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}.t-input :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='s']):not(tui-text-area),:host[data-size='s'] .t-input{padding:0 var(--tui-padding-s)}.t-input :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='l']):not(tui-text-area),:host[data-size='l'] .t-input{padding:0 var(--tui-padding-l)}.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-text-area._disabled),:host._disabled .t-input{pointer-events:none}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='l']:not(._label-outside) .t-input{padding-top:1.25rem}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder,:host[data-size='l']:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='m']:not(._label-outside) .t-input{padding-top:1.125rem}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder,:host[data-size='m']:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}.t-input :host-context(tui-primitive-textfield._hidden),:host._hidden input.t-input{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content{display:flex;height:100%;width:100%;padding:0 var(--tui-padding-m);box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size='s'] .t-content{padding:0 var(--tui-padding-s)}:host[data-size='l'] .t-content{padding:0 var(--tui-padding-l)}.t-content:after{content:'';margin-right:-.25rem}:host[data-size='m'] .t-content:after{display:none}.t-wrapper{flex:1;min-width:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem;-webkit-padding-start:0;padding-inline-start:0}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size='m'] .t-placeholder_raised{font:var(--tui-font-text-xs);transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .t-placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size='l']._focused._label-outside .t-placeholder,:host[data-size='m']._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size='l'] .t-placeholder{font-size:.9375rem}:host[data-size='l'] .t-placeholder_raised{font-size:.8156rem}:host[data-size='l']._focused:not(._label-outside) .t-placeholder,:host[data-size='m']._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size='l'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .t-placeholder,:host[data-size='l'][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused._label-outside .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens:none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-cleaner{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;cursor:pointer;transition-property:color,transform}.t-cleaner:hover{color:var(--tui-text-02)}:host._disabled .t-cleaner,:host._readonly .t-cleaner{pointer-events:none}:host[data-mode=onDark] .t-cleaner{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-cleaner:hover{color:var(--tui-text-01-night)}.t-icon{display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03)}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}.t-icon_left{margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host[data-size='s'] .t-icon_left{margin-right:.25rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}:host{cursor:text}:host._expandable{height:auto;max-height:none}:host._disabled{pointer-events:none}:host._readonly{cursor:default}.t-hosted{display:block;border-radius:inherit}.t-scrollbar{margin:0 -.25rem;padding:0 .25rem}.t-tags{display:flex;align-items:center;box-sizing:border-box}:host._expandable .t-tags{flex-wrap:wrap;white-space:normal}:host._readonly .t-tags{pointer-events:none}:host[data-size='s'] .t-tags{min-height:var(--tui-height-s);padding:.25rem .25rem .25rem 0}:host[data-size='m'] .t-tags{min-height:var(--tui-height-m);padding:.5rem .25rem .5rem 0}:host[data-size='l'] .t-tags{min-height:var(--tui-height-l);padding:.625rem .25rem .625rem 0}:host[data-size='m']:not(._label-outside) .t-tags{padding:1.1875rem 1rem 0 0}:host[data-size='l']:not(._label-outside) .t-tags{padding:1.6875rem 1rem .5625rem 0}.t-tags :host[data-size]{-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}:host[data-size]:not(._label-outside) .t-tags{-webkit-padding-end:1rem;padding-inline-end:1rem}.t-content{align-items:flex-start}.t-icons{display:flex;align-items:center;padding:0 0 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:0;padding-inline-end:0}.t-icons_left{padding:0;margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host._expandable .t-icons_right{margin:0 0 0 -.625rem;-webkit-margin-start:-.625rem;margin-inline-start:-.625rem;-webkit-margin-end:0;margin-inline-end:0}:host[data-size='s'] .t-icons{height:var(--tui-height-s)}:host[data-size='m'] .t-icons{height:var(--tui-height-m)}:host[data-size='l'] .t-icons{height:var(--tui-height-l)}.t-absolute-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center}:host[data-size='m'] .t-absolute-wrapper{height:var(--tui-height-m)}:host[data-size='l'] .t-absolute-wrapper{height:var(--tui-height-l)}.t-wrapper{position:relative;padding:0}.t-tag{margin:.125rem .5rem .125rem -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem;max-width:100%;flex-shrink:0}.t-text:after{content:',\\00a0'}.t-text_disabled{color:var(--tui-text-03)}.t-text_error{color:var(--tui-negative)}:host:not(._expandable) .t-text{white-space:nowrap}:host:not(._focused) .t-text:last-of-type:after{content:''}.t-input-wrapper{position:relative;flex:1;max-width:100%}.t-input-wrapper_collapsed{flex:0;margin:0 0 0 -.5rem;-webkit-margin-start:-.5rem;margin-inline-start:-.5rem;-webkit-margin-end:0;margin-inline-end:0}:host[data-size='s'] .t-input-wrapper{min-height:1.5rem}:host[data-size='m'] .t-input-wrapper{min-height:calc(var(--tui-height-xs) + 2 * .125rem)}:host[data-size='l'] .t-input-wrapper{min-height:calc(var(--tui-height-s) + 2 * .125rem)}:host:not(._label-outside) .t-input-wrapper{min-height:1.25rem}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip;min-width:.125rem}:host:not(._expandable) .t-ghost{min-width:2rem}.t-native{margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;padding:0;cursor:inherit}.t-native:-webkit-autofill,.t-native:-webkit-autofill:focus,.t-native:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:transparent!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-native_hidden{opacity:0;text-indent:-10em}.t-native::-ms-input-placeholder{color:var(--tui-text-03);opacity:0}.t-native::placeholder{color:var(--tui-text-03);opacity:0}:host[data-mode=onDark] .t-native::-ms-input-placeholder{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-native::placeholder{color:var(--tui-text-03-night)}:host._focused .t-native:not(:read-only)::-ms-input-placeholder{opacity:1}:host._focused .t-native:not(:-moz-read-only)::placeholder{opacity:1}:host._focused .t-native:not(:read-only)::placeholder{opacity:1}.t-error-icon{display:block;color:var(--tui-error-fill);width:1rem;height:1rem}"]
423
423
  }),
424
424
  __param(0, Optional()),
425
425
  __param(0, Self()),
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-tag.js","sources":["ng://@taiga-ui/kit/components/input-tag/input-tag-options.ts","ng://@taiga-ui/kit/components/input-tag/input-tag.component.ts","ng://@taiga-ui/kit/components/input-tag/input-tag.module.ts","ng://@taiga-ui/kit/components/input-tag/taiga-ui-kit-components-input-tag.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\n\nexport interface TuiInputTagOptions {\n readonly separator: string | RegExp;\n readonly uniqueTags: boolean;\n}\n\nexport const TUI_INPUT_TAG_DEFAULT_OPTIONS: TuiInputTagOptions = {\n separator: ',',\n uniqueTags: true,\n};\n\nexport const TUI_INPUT_TAG_OPTIONS = new InjectionToken<TuiInputTagOptions>(\n 'Default parameters for input-tag',\n {\n factory: () => TUI_INPUT_TAG_DEFAULT_OPTIONS,\n },\n);\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Output,\n QueryList,\n Self,\n TemplateRef,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiMultipleControl,\n ALWAYS_FALSE_HANDLER,\n ALWAYS_TRUE_HANDLER,\n EMPTY_QUERY,\n getActualTarget,\n isNativeFocusedIn,\n preventDefault,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiActiveZoneDirective,\n TuiBooleanHandler,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiScrollService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_DATA_LIST_HOST,\n TUI_HINT_WATCHED_CONTROLLER,\n TUI_MODE,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiBrightness,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHintControllerDirective,\n TuiHorizontalDirection,\n TuiHostedDropdownComponent,\n TuiModeDirective,\n TuiScrollbarComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldController,\n} from '@taiga-ui/core';\nimport {TuiStringifiableItem} from '@taiga-ui/kit/classes';\nimport {ALLOWED_SPACE_REGEXP} from '@taiga-ui/kit/components/tag';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {TUI_TAG_STATUS} from '@taiga-ui/kit/tokens';\nimport {TuiStatusT} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {merge, Observable, Subject} from 'rxjs';\nimport {filter, map, mapTo, switchMap, takeUntil} from 'rxjs/operators';\n\nimport {TUI_INPUT_TAG_OPTIONS, TuiInputTagOptions} from './input-tag-options';\n\nconst EVENT_Y_TO_X_COEFFICIENT = 3;\n\n@Component({\n selector: 'tui-input-tag',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './input-tag.template.html',\n styleUrls: ['./input-tag.style.less'],\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputTagComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiInputTagComponent),\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n ],\n})\nexport class TuiInputTagComponent\n extends AbstractTuiMultipleControl<string>\n implements TuiFocusableElementAccessor, TuiDataListHost<string>\n{\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @ViewChild('focusableElement')\n private readonly focusableElement?: ElementRef<HTMLInputElement>;\n\n @ViewChild('tagsContainer')\n private readonly tagsContainer?: ElementRef<HTMLElement>;\n\n @ViewChildren('tag', {read: ElementRef})\n private readonly tags: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n @ViewChild('cleaner', {read: ElementRef})\n private readonly cleanerSvg?: ElementRef<HTMLElement>;\n\n @ViewChild(TuiScrollbarComponent, {read: ElementRef})\n private readonly scrollBar?: ElementRef<HTMLElement>;\n\n private readonly scrollToStart$ = new Subject<void>();\n private readonly scrollToEnd$ = new Subject<void>();\n\n // TODO: 3.0 Remove\n @Input()\n @tuiDefaultProp()\n allowSpaces = true;\n\n @Input()\n @tuiDefaultProp()\n separator: string | RegExp = this.options.separator;\n\n @Input()\n @tuiDefaultProp()\n icon = '';\n\n @Input()\n @tuiDefaultProp()\n iconAlign: TuiHorizontalDirection = 'right';\n\n @Input()\n @tuiDefaultProp()\n search = '';\n\n @Input()\n @tuiDefaultProp()\n editable = true;\n\n @Input()\n @tuiDefaultProp()\n tagValidator: TuiBooleanHandler<string> = ALWAYS_TRUE_HANDLER;\n\n @Input()\n @HostBinding('class._expandable')\n @tuiDefaultProp()\n expandable = true;\n\n @Input()\n @tuiDefaultProp()\n inputHidden = false;\n\n @Input()\n @tuiDefaultProp()\n uniqueTags = this.options.uniqueTags;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<string | TuiStringifiableItem<any>> =\n ALWAYS_FALSE_HANDLER;\n\n @Input('pseudoFocused')\n set pseudoFocusedSetter(value: boolean | null) {\n if (!value && !this.focused) {\n this.scrollToStart$.next();\n }\n\n this.pseudoFocused = value;\n }\n\n @Output()\n readonly searchChange = new EventEmitter<string>();\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist?: TemplateRef<TuiContextWithImplicit<TuiActiveZoneDirective>>;\n\n @ViewChild('errorIcon')\n readonly errorIconTemplate?: TemplateRef<Record<string, unknown>>;\n\n @ViewChild(TuiScrollbarComponent)\n set scrollerSetter(scroller: TuiScrollbarComponent | null) {\n this.initScrollerSubscription(scroller);\n }\n\n status$: Observable<TuiStatusT> = this.mode$.pipe(map(() => this.status));\n\n open = false;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiScrollService) private readonly tuiScrollService: TuiScrollService,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_TEXTFIELD_APPEARANCE) readonly appearance: string,\n @Optional()\n @Inject(TuiModeDirective)\n private readonly modeDirective: TuiModeDirective | null,\n @Inject(TUI_MODE)\n private readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_TAG_STATUS) private readonly tagStatus: TuiStatusT,\n @Inject(TUI_HINT_WATCHED_CONTROLLER)\n readonly hintController: TuiHintControllerDirective,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n @Inject(TUI_INPUT_TAG_OPTIONS)\n private readonly options: TuiInputTagOptions,\n @Optional()\n @Inject(TuiHostedDropdownComponent)\n private readonly parentHostedDropdown?: TuiHostedDropdownComponent,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return !this.focusableElement || this.computedDisabled\n ? null\n : this.focusableElement.nativeElement;\n }\n\n get focused(): boolean {\n return (\n isNativeFocusedIn(this.elementRef.nativeElement) ||\n !!this.hostedDropdown?.focused\n );\n }\n\n @HostBinding('attr.data-size')\n get size(): TuiSizeL | TuiSizeS {\n return this.controller.size;\n }\n\n @HostBinding('class._label-outside')\n get labelOutside(): boolean {\n const {size, labelOutside} = this.controller;\n\n return size === 's' || labelOutside;\n }\n\n get hasCleaner(): boolean {\n return this.controller.cleaner && this.hasValue && this.interactive;\n }\n\n get hasNativeValue(): boolean {\n return !!this.search;\n }\n\n get hasValue(): boolean {\n return !!this.value.length || this.hasNativeValue;\n }\n\n get hasPlaceholder(): boolean {\n return (\n !this.labelOutside ||\n (!this.hasValue && (!this.hasExampleText || this.inputHidden))\n );\n }\n\n get placeholderRaised(): boolean {\n return (\n !this.labelOutside &&\n ((this.computedFocused && !this.readOnly) || this.hasValue)\n );\n }\n\n get hasExampleText(): boolean {\n return (\n !!this.controller.exampleText &&\n this.computedFocused &&\n !this.hasValue &&\n !this.readOnly\n );\n }\n\n get hasTooltip(): boolean {\n return !!this.hintController.content && !this.disabled;\n }\n\n get iconAlignLeft(): boolean {\n return !!this.icon && this.iconAlign === 'left';\n }\n\n get iconAlignRight(): boolean {\n return !!this.icon && this.iconAlign === 'right';\n }\n\n get hasRightIcons(): boolean {\n return this.hasCleaner || this.hasTooltip || this.iconAlignRight;\n }\n\n get status(): TuiStatusT {\n return this.modeDirective?.mode ? 'default' : this.tagStatus;\n }\n\n get canOpen(): boolean {\n return this.interactive && !!this.datalist;\n }\n\n getLeftContent(tag: string): PolymorpheusContent {\n return !this.tagValidator(tag) && this.errorIconTemplate\n ? this.errorIconTemplate\n : '';\n }\n\n onCleanerClick(): void {\n this.updateSearch('');\n this.clear();\n this.focusInput();\n this.parentHostedDropdown?.updateOpen(true);\n }\n\n onActiveZone(active: boolean): void {\n this.open = false;\n this.addTag();\n this.updateFocused(active);\n\n if (!this.computedFocused) {\n this.scrollToStart$.next();\n }\n }\n\n onMouseDown(event: MouseEvent): void {\n const actualTarget = getActualTarget(event);\n\n if (\n !this.focusableElement ||\n actualTarget === this.focusableElement.nativeElement ||\n // TODO: iframe warning\n !(event.target instanceof Element) ||\n this.cleanerSvg?.nativeElement.contains(event.target) ||\n (this.tagsContainer &&\n actualTarget !== this.tagsContainer.nativeElement &&\n this.tagsContainer.nativeElement.contains(actualTarget))\n ) {\n return;\n }\n\n event.preventDefault();\n this.focusInput();\n }\n\n onFieldKeyDownBackspace(event: Event): void {\n if (!this.labelOutside && !this.hasNativeValue && this.value.length) {\n this.deleteLastEnabledItem();\n } else {\n this.onFieldKeyDownArrowLeft(event);\n }\n }\n\n onFieldKeyDownArrowLeft(event: Event): void {\n if (!this.labelOutside || this.hasNativeValue || !this.value.length) {\n return;\n }\n\n event.preventDefault();\n setNativeFocused(this.tags.last.nativeElement);\n }\n\n onFieldKeyDownEnter(): void {\n this.addTag();\n this.scrollToEnd$.next();\n }\n\n onTagKeyDownArrowLeft(currentIndex: number): void {\n if (currentIndex > 0) {\n this.onScrollKeyDown(currentIndex, -1);\n }\n }\n\n onTagKeyDownArrowRight(currentIndex: number): void {\n if (currentIndex === this.value.length - 1) {\n this.focusInput();\n } else {\n this.onScrollKeyDown(currentIndex, 1);\n }\n }\n\n onTagEdited(value: string, index: number): void {\n this.focusInput();\n this.updateValue(\n this.value\n .map((tag, tagIndex) =>\n tagIndex !== index\n ? tag\n : value\n .split(this.separator)\n .map(tag => tag.trim())\n .filter(Boolean),\n )\n .reduce<string[]>(\n (result, item: string | string[]) => result.concat(item),\n [],\n ),\n );\n }\n\n handleOption(item: string): void {\n this.focusInput();\n this.updateSearch('');\n this.updateValue(this.value.concat(item));\n this.open = false;\n this.scrollToEnd$.next();\n }\n\n onInput(value: string): void {\n const array = this.allowSpaces\n ? value.split(this.separator)\n : value.split(ALLOWED_SPACE_REGEXP);\n const tags = array\n .map(item => item.trim())\n .filter((item, index, {length}) => item.length > 0 && index !== length - 1);\n const validated = tags.filter(tag => !this.disabledItemHandler(tag));\n\n if (array.length > 1) {\n this.updateSearch(array[array.length - 1].trim());\n this.updateValue([...this.value, ...validated]);\n } else {\n this.updateSearch(value);\n }\n\n this.open = this.hasNativeValue;\n }\n\n onHoveredChange(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n setDisabledState(): void {\n super.setDisabledState();\n this.open = false;\n }\n\n trackByFn(_: number, tag: string): string {\n // Actually tag has TuiStringifiableItem type not string\n return tag.toString();\n }\n\n protected updateValue(value: string[]): void {\n const seen = new Set();\n\n super.updateValue(\n value\n .reverse()\n .filter(\n item =>\n !this.uniqueTags || (!!item && !seen.has(item) && seen.add(item)),\n )\n .reverse(),\n );\n }\n\n private onScrollKeyDown(currentIndex: number, flag: number): void {\n const tag = this.tags.find((_item, index) => index === currentIndex + flag);\n\n if (!tag || !this.scrollBar) {\n return;\n }\n\n setNativeFocused(tag.nativeElement);\n\n if (\n flag * this.scrollBar.nativeElement.clientWidth -\n flag * tag.nativeElement.offsetLeft -\n tag.nativeElement.clientWidth <\n 0\n ) {\n this.scrollBar.nativeElement.scrollLeft +=\n flag * tag.nativeElement.clientWidth;\n }\n }\n\n private initScrollerSubscription(scroller: TuiScrollbarComponent | null): void {\n if (!scroller?.browserScrollRef) {\n return;\n }\n\n const {nativeElement} = scroller.browserScrollRef;\n\n const wheel$ = typedFromEvent(nativeElement, 'wheel', {passive: false}).pipe(\n filter(event => event.deltaX === 0 && this.shouldScroll(nativeElement)),\n preventDefault(),\n map(({deltaY}) =>\n Math.max(nativeElement.scrollLeft + deltaY * EVENT_Y_TO_X_COEFFICIENT, 0),\n ),\n );\n const start$ = this.scrollToStart$.pipe(mapTo(0));\n const end$ = this.scrollToEnd$.pipe(map(() => nativeElement.scrollWidth));\n\n merge(wheel$, start$, end$)\n .pipe(\n switchMap(left => this.tuiScrollService.scroll$(nativeElement, 0, left)),\n takeUntil(this.destroy$),\n )\n .subscribe();\n }\n\n private updateSearch(value: string): void {\n if (this.focusableElement) {\n this.focusableElement.nativeElement.value = value;\n }\n\n this.search = value;\n this.searchChange.emit(value);\n }\n\n private shouldScroll({scrollWidth, offsetWidth}: HTMLElement): boolean {\n return scrollWidth > offsetWidth;\n }\n\n private addTag(): void {\n const inputValue = this.search.trim();\n\n if (!inputValue || this.disabledItemHandler(inputValue)) {\n return;\n }\n\n this.updateSearch('');\n this.updateValue(this.value.concat(inputValue));\n }\n\n private deleteLastEnabledItem(): void {\n for (let index = this.value.length - 1; index >= 0; index--) {\n if (!this.disabledItemHandler(this.value[index])) {\n this.updateValue([\n ...this.value.slice(0, index),\n ...this.value.slice(index + 1, this.value.length),\n ]);\n\n break;\n }\n }\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiHoveredModule,\n TuiScrollService,\n} from '@taiga-ui/cdk';\nimport {\n TuiHostedDropdownModule,\n TuiScrollbarModule,\n TuiSvgModule,\n TuiTooltipModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {TuiTagModule} from '@taiga-ui/kit/components/tag';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputTagComponent} from './input-tag.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiFocusableModule,\n TuiHoveredModule,\n TuiActiveZoneModule,\n TuiSvgModule,\n TuiScrollbarModule,\n TuiTooltipModule,\n TuiHostedDropdownModule,\n TuiTagModule,\n TuiWrapperModule,\n ],\n providers: [TuiScrollService],\n declarations: [TuiInputTagComponent],\n exports: [TuiInputTagComponent],\n})\nexport class TuiInputTagModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAOa,6BAA6B,GAAuB;IAC7D,SAAS,EAAE,GAAG;IACd,UAAU,EAAE,IAAI;EAClB;MAEW,qBAAqB,GAAG,IAAI,cAAc,CACnD,kCAAkC,EA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,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;IACtB,WAAA,MAAM,CAAC,2BAA2B,CAAC,CAAA;IAEnC,WAAA,MAAM,CAAC,gCAAgC,CAAC,CAAA;IAExC,YAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;IAE7B,YAAA,QAAQ,EAAE,CAAA;IACV,YAAA,MAAM,CAAC,0BAA0B,CAAC,CAAA;GAzH9B,oBAAoB,CAmchC;;ICvfY,iBAAiB,GAA9B,MAAa,iBAAiB;EAAG;AAApB,iBAAiB;IAnB7B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,WAAW;YACX,kBAAkB;YAClB,kBAAkB;YAClB,gBAAgB;YAChB,mBAAmB;YACnB,YAAY;YACZ,kBAAkB;YAClB,gBAAgB;YAChB,uBAAuB;YACvB,YAAY;YACZ,gBAAgB;SACnB;QACD,SAAS,EAAE,CAAC,gBAAgB,CAAC;QAC7B,YAAY,EAAE,CAAC,oBAAoB,CAAC;QACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;KAClC,CAAC;GACW,iBAAiB,CAAG;;ACxCjC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-input-tag.js","sources":["ng://@taiga-ui/kit/components/input-tag/input-tag-options.ts","ng://@taiga-ui/kit/components/input-tag/input-tag.component.ts","ng://@taiga-ui/kit/components/input-tag/input-tag.module.ts","ng://@taiga-ui/kit/components/input-tag/taiga-ui-kit-components-input-tag.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\n\nexport interface TuiInputTagOptions {\n readonly separator: string | RegExp;\n readonly uniqueTags: boolean;\n}\n\nexport const TUI_INPUT_TAG_DEFAULT_OPTIONS: TuiInputTagOptions = {\n separator: `,`,\n uniqueTags: true,\n};\n\nexport const TUI_INPUT_TAG_OPTIONS = new InjectionToken<TuiInputTagOptions>(\n `Default parameters for input-tag`,\n {\n factory: () => TUI_INPUT_TAG_DEFAULT_OPTIONS,\n },\n);\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Output,\n QueryList,\n Self,\n TemplateRef,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiMultipleControl,\n ALWAYS_FALSE_HANDLER,\n ALWAYS_TRUE_HANDLER,\n EMPTY_QUERY,\n getActualTarget,\n isNativeFocusedIn,\n preventDefault,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiActiveZoneDirective,\n TuiBooleanHandler,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiScrollService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_DATA_LIST_HOST,\n TUI_HINT_WATCHED_CONTROLLER,\n TUI_MODE,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiBrightness,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHintControllerDirective,\n TuiHorizontalDirection,\n TuiHostedDropdownComponent,\n TuiModeDirective,\n TuiScrollbarComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldController,\n} from '@taiga-ui/core';\nimport {TuiStringifiableItem} from '@taiga-ui/kit/classes';\nimport {ALLOWED_SPACE_REGEXP} from '@taiga-ui/kit/components/tag';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {TUI_TAG_STATUS} from '@taiga-ui/kit/tokens';\nimport {TuiStatusT} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {merge, Observable, Subject} from 'rxjs';\nimport {filter, map, mapTo, switchMap, takeUntil} from 'rxjs/operators';\n\nimport {TUI_INPUT_TAG_OPTIONS, TuiInputTagOptions} from './input-tag-options';\n\nconst EVENT_Y_TO_X_COEFFICIENT = 3;\n\n@Component({\n selector: `tui-input-tag`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: `./input-tag.template.html`,\n styleUrls: [`./input-tag.style.less`],\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputTagComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiInputTagComponent),\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n ],\n})\nexport class TuiInputTagComponent\n extends AbstractTuiMultipleControl<string>\n implements TuiFocusableElementAccessor, TuiDataListHost<string>\n{\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @ViewChild(`focusableElement`)\n private readonly focusableElement?: ElementRef<HTMLInputElement>;\n\n @ViewChild(`tagsContainer`)\n private readonly tagsContainer?: ElementRef<HTMLElement>;\n\n @ViewChildren(`tag`, {read: ElementRef})\n private readonly tags: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n @ViewChild(`cleaner`, {read: ElementRef})\n private readonly cleanerSvg?: ElementRef<HTMLElement>;\n\n @ViewChild(TuiScrollbarComponent, {read: ElementRef})\n private readonly scrollBar?: ElementRef<HTMLElement>;\n\n private readonly scrollToStart$ = new Subject<void>();\n private readonly scrollToEnd$ = new Subject<void>();\n\n // TODO: 3.0 Remove\n @Input()\n @tuiDefaultProp()\n allowSpaces = true;\n\n @Input()\n @tuiDefaultProp()\n separator: string | RegExp = this.options.separator;\n\n @Input()\n @tuiDefaultProp()\n icon = ``;\n\n @Input()\n @tuiDefaultProp()\n iconAlign: TuiHorizontalDirection = `right`;\n\n @Input()\n @tuiDefaultProp()\n search = ``;\n\n @Input()\n @tuiDefaultProp()\n editable = true;\n\n @Input()\n @tuiDefaultProp()\n tagValidator: TuiBooleanHandler<string> = ALWAYS_TRUE_HANDLER;\n\n @Input()\n @HostBinding(`class._expandable`)\n @tuiDefaultProp()\n expandable = true;\n\n @Input()\n @tuiDefaultProp()\n inputHidden = false;\n\n @Input()\n @tuiDefaultProp()\n uniqueTags = this.options.uniqueTags;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<string | TuiStringifiableItem<any>> =\n ALWAYS_FALSE_HANDLER;\n\n @Input(`pseudoFocused`)\n set pseudoFocusedSetter(value: boolean | null) {\n if (!value && !this.focused) {\n this.scrollToStart$.next();\n }\n\n this.pseudoFocused = value;\n }\n\n @Output()\n readonly searchChange = new EventEmitter<string>();\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist?: TemplateRef<TuiContextWithImplicit<TuiActiveZoneDirective>>;\n\n @ViewChild(`errorIcon`)\n readonly errorIconTemplate?: TemplateRef<Record<string, unknown>>;\n\n @ViewChild(TuiScrollbarComponent)\n set scrollerSetter(scroller: TuiScrollbarComponent | null) {\n this.initScrollerSubscription(scroller);\n }\n\n status$: Observable<TuiStatusT> = this.mode$.pipe(map(() => this.status));\n\n open = false;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiScrollService) private readonly tuiScrollService: TuiScrollService,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_TEXTFIELD_APPEARANCE) readonly appearance: string,\n @Optional()\n @Inject(TuiModeDirective)\n private readonly modeDirective: TuiModeDirective | null,\n @Inject(TUI_MODE)\n private readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_TAG_STATUS) private readonly tagStatus: TuiStatusT,\n @Inject(TUI_HINT_WATCHED_CONTROLLER)\n readonly hintController: TuiHintControllerDirective,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n @Inject(TUI_INPUT_TAG_OPTIONS)\n private readonly options: TuiInputTagOptions,\n @Optional()\n @Inject(TuiHostedDropdownComponent)\n private readonly parentHostedDropdown?: TuiHostedDropdownComponent,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return !this.focusableElement || this.computedDisabled\n ? null\n : this.focusableElement.nativeElement;\n }\n\n get focused(): boolean {\n return (\n isNativeFocusedIn(this.elementRef.nativeElement) ||\n !!this.hostedDropdown?.focused\n );\n }\n\n @HostBinding(`attr.data-size`)\n get size(): TuiSizeL | TuiSizeS {\n return this.controller.size;\n }\n\n @HostBinding(`class._label-outside`)\n get labelOutside(): boolean {\n const {size, labelOutside} = this.controller;\n\n return size === `s` || labelOutside;\n }\n\n get hasCleaner(): boolean {\n return this.controller.cleaner && this.hasValue && this.interactive;\n }\n\n get hasNativeValue(): boolean {\n return !!this.search;\n }\n\n get hasValue(): boolean {\n return !!this.value.length || this.hasNativeValue;\n }\n\n get hasPlaceholder(): boolean {\n return (\n !this.labelOutside ||\n (!this.hasValue && (!this.hasExampleText || this.inputHidden))\n );\n }\n\n get placeholderRaised(): boolean {\n return (\n !this.labelOutside &&\n ((this.computedFocused && !this.readOnly) || this.hasValue)\n );\n }\n\n get hasExampleText(): boolean {\n return (\n !!this.controller.exampleText &&\n this.computedFocused &&\n !this.hasValue &&\n !this.readOnly\n );\n }\n\n get hasTooltip(): boolean {\n return !!this.hintController.content && !this.disabled;\n }\n\n get iconAlignLeft(): boolean {\n return !!this.icon && this.iconAlign === `left`;\n }\n\n get iconAlignRight(): boolean {\n return !!this.icon && this.iconAlign === `right`;\n }\n\n get hasRightIcons(): boolean {\n return this.hasCleaner || this.hasTooltip || this.iconAlignRight;\n }\n\n get status(): TuiStatusT {\n return this.modeDirective?.mode ? `default` : this.tagStatus;\n }\n\n get canOpen(): boolean {\n return this.interactive && !!this.datalist;\n }\n\n getLeftContent(tag: string): PolymorpheusContent {\n return !this.tagValidator(tag) && this.errorIconTemplate\n ? this.errorIconTemplate\n : ``;\n }\n\n onCleanerClick(): void {\n this.updateSearch(``);\n this.clear();\n this.focusInput();\n this.parentHostedDropdown?.updateOpen(true);\n }\n\n onActiveZone(active: boolean): void {\n this.open = false;\n this.addTag();\n this.updateFocused(active);\n\n if (!this.computedFocused) {\n this.scrollToStart$.next();\n }\n }\n\n onMouseDown(event: MouseEvent): void {\n const actualTarget = getActualTarget(event);\n\n if (\n !this.focusableElement ||\n actualTarget === this.focusableElement.nativeElement ||\n // TODO: iframe warning\n !(event.target instanceof Element) ||\n this.cleanerSvg?.nativeElement.contains(event.target) ||\n (this.tagsContainer &&\n actualTarget !== this.tagsContainer.nativeElement &&\n this.tagsContainer.nativeElement.contains(actualTarget))\n ) {\n return;\n }\n\n event.preventDefault();\n this.focusInput();\n }\n\n onFieldKeyDownBackspace(event: Event): void {\n if (!this.labelOutside && !this.hasNativeValue && this.value.length) {\n this.deleteLastEnabledItem();\n } else {\n this.onFieldKeyDownArrowLeft(event);\n }\n }\n\n onFieldKeyDownArrowLeft(event: Event): void {\n if (!this.labelOutside || this.hasNativeValue || !this.value.length) {\n return;\n }\n\n event.preventDefault();\n setNativeFocused(this.tags.last.nativeElement);\n }\n\n onFieldKeyDownEnter(): void {\n this.addTag();\n this.scrollToEnd$.next();\n }\n\n onTagKeyDownArrowLeft(currentIndex: number): void {\n if (currentIndex > 0) {\n this.onScrollKeyDown(currentIndex, -1);\n }\n }\n\n onTagKeyDownArrowRight(currentIndex: number): void {\n if (currentIndex === this.value.length - 1) {\n this.focusInput();\n } else {\n this.onScrollKeyDown(currentIndex, 1);\n }\n }\n\n onTagEdited(value: string, index: number): void {\n this.focusInput();\n this.updateValue(\n this.value\n .map((tag, tagIndex) =>\n tagIndex !== index\n ? tag\n : value\n .split(this.separator)\n .map(tag => tag.trim())\n .filter(Boolean),\n )\n .reduce<string[]>(\n (result, item: string | string[]) => result.concat(item),\n [],\n ),\n );\n }\n\n handleOption(item: string): void {\n this.focusInput();\n this.updateSearch(``);\n this.updateValue(this.value.concat(item));\n this.open = false;\n this.scrollToEnd$.next();\n }\n\n onInput(value: string): void {\n const array = this.allowSpaces\n ? value.split(this.separator)\n : value.split(ALLOWED_SPACE_REGEXP);\n const tags = array\n .map(item => item.trim())\n .filter((item, index, {length}) => item.length > 0 && index !== length - 1);\n const validated = tags.filter(tag => !this.disabledItemHandler(tag));\n\n if (array.length > 1) {\n this.updateSearch(array[array.length - 1].trim());\n this.updateValue([...this.value, ...validated]);\n } else {\n this.updateSearch(value);\n }\n\n this.open = this.hasNativeValue;\n }\n\n onHoveredChange(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n setDisabledState(): void {\n super.setDisabledState();\n this.open = false;\n }\n\n trackByFn(_: number, tag: string): string {\n // Actually tag has TuiStringifiableItem type not string\n return tag.toString();\n }\n\n protected updateValue(value: string[]): void {\n const seen = new Set();\n\n super.updateValue(\n value\n .reverse()\n .filter(\n item =>\n !this.uniqueTags || (!!item && !seen.has(item) && seen.add(item)),\n )\n .reverse(),\n );\n }\n\n private onScrollKeyDown(currentIndex: number, flag: number): void {\n const tag = this.tags.find((_item, index) => index === currentIndex + flag);\n\n if (!tag || !this.scrollBar) {\n return;\n }\n\n setNativeFocused(tag.nativeElement);\n\n if (\n flag * this.scrollBar.nativeElement.clientWidth -\n flag * tag.nativeElement.offsetLeft -\n tag.nativeElement.clientWidth <\n 0\n ) {\n this.scrollBar.nativeElement.scrollLeft +=\n flag * tag.nativeElement.clientWidth;\n }\n }\n\n private initScrollerSubscription(scroller: TuiScrollbarComponent | null): void {\n if (!scroller?.browserScrollRef) {\n return;\n }\n\n const {nativeElement} = scroller.browserScrollRef;\n\n const wheel$ = typedFromEvent(nativeElement, `wheel`, {passive: false}).pipe(\n filter(event => event.deltaX === 0 && this.shouldScroll(nativeElement)),\n preventDefault(),\n map(({deltaY}) =>\n Math.max(nativeElement.scrollLeft + deltaY * EVENT_Y_TO_X_COEFFICIENT, 0),\n ),\n );\n const start$ = this.scrollToStart$.pipe(mapTo(0));\n const end$ = this.scrollToEnd$.pipe(map(() => nativeElement.scrollWidth));\n\n merge(wheel$, start$, end$)\n .pipe(\n switchMap(left => this.tuiScrollService.scroll$(nativeElement, 0, left)),\n takeUntil(this.destroy$),\n )\n .subscribe();\n }\n\n private updateSearch(value: string): void {\n if (this.focusableElement) {\n this.focusableElement.nativeElement.value = value;\n }\n\n this.search = value;\n this.searchChange.emit(value);\n }\n\n private shouldScroll({scrollWidth, offsetWidth}: HTMLElement): boolean {\n return scrollWidth > offsetWidth;\n }\n\n private addTag(): void {\n const inputValue = this.search.trim();\n\n if (!inputValue || this.disabledItemHandler(inputValue)) {\n return;\n }\n\n this.updateSearch(``);\n this.updateValue(this.value.concat(inputValue));\n }\n\n private deleteLastEnabledItem(): void {\n for (let index = this.value.length - 1; index >= 0; index--) {\n if (!this.disabledItemHandler(this.value[index])) {\n this.updateValue([\n ...this.value.slice(0, index),\n ...this.value.slice(index + 1, this.value.length),\n ]);\n\n break;\n }\n }\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiHoveredModule,\n TuiScrollService,\n} from '@taiga-ui/cdk';\nimport {\n TuiHostedDropdownModule,\n TuiScrollbarModule,\n TuiSvgModule,\n TuiTooltipModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {TuiTagModule} from '@taiga-ui/kit/components/tag';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputTagComponent} from './input-tag.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiFocusableModule,\n TuiHoveredModule,\n TuiActiveZoneModule,\n TuiSvgModule,\n TuiScrollbarModule,\n TuiTooltipModule,\n TuiHostedDropdownModule,\n TuiTagModule,\n TuiWrapperModule,\n ],\n providers: [TuiScrollService],\n declarations: [TuiInputTagComponent],\n exports: [TuiInputTagComponent],\n})\nexport class TuiInputTagModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAOa,6BAA6B,GAAuB;IAC7D,SAAS,EAAE,GAAG;IACd,UAAU,EAAE,IAAI;EAClB;MAEW,qBAAqB,GAAG,IAAI,cAAc,CACnD,kCAAkC,EAClC;IACI,OAAO,EAAE,MAAM,6BAA6B;CAC/C;;;ACsDL,MAAM,wBAAwB,GAAG,CAAC,CAAC;IAsBtB,oBAAoB,4BAAjC,MAAa,oBACT,SAAQ,0BAAkC;IAkG1C,YAII,OAAyB,EACE,iBAAoC,EACpB,gBAAkC,EACxC,UAAmC,EAC7B,UAAkB,EAG5C,aAAsC,EAEtC,KAAuC,EACf,SAAqB,EAErD,cAA0C,EAE1C,UAAkC,EAE1B,OAA2B,EAG3B,oBAAiD;QAElE,KAAK,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;QAnBS,qBAAgB,GAAhB,gBAAgB,CAAkB;QACxC,eAAU,GAAV,UAAU,CAAyB;QAC7B,eAAU,GAAV,UAAU,CAAQ;QAG5C,kBAAa,GAAb,aAAa,CAAyB;QAEtC,UAAK,GAAL,KAAK,CAAkC;QACf,cAAS,GAAT,SAAS,CAAY;QAErD,mBAAc,GAAd,cAAc,CAA4B;QAE1C,eAAU,GAAV,UAAU,CAAwB;QAE1B,YAAO,GAAP,OAAO,CAAoB;QAG3B,yBAAoB,GAApB,oBAAoB,CAA6B;QA5GrD,SAAI,GAAuC,WAAW,CAAC;QAQvD,mBAAc,GAAG,IAAI,OAAO,EAAQ,CAAC;QACrC,iBAAY,GAAG,IAAI,OAAO,EAAQ,CAAC;;QAKpD,gBAAW,GAAG,IAAI,CAAC;QAInB,cAAS,GA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WAAA,IAAI,EAAE,CAAA;IACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;IAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;IACzB,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;IACxB,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;IAClB,WAAA,MAAM,CAAC,wBAAwB,CAAC,CAAA;IAChC,WAAA,QAAQ,EAAE,CAAA;IACV,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;IAExB,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;IAEhB,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;IACtB,WAAA,MAAM,CAAC,2BAA2B,CAAC,CAAA;IAEnC,WAAA,MAAM,CAAC,gCAAgC,CAAC,CAAA;IAExC,YAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;IAE7B,YAAA,QAAQ,EAAE,CAAA;IACV,YAAA,MAAM,CAAC,0BAA0B,CAAC,CAAA;GAzH9B,oBAAoB,CAmchC;;ICvfY,iBAAiB,GAA9B,MAAa,iBAAiB;EAAG;AAApB,iBAAiB;IAnB7B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,WAAW;YACX,kBAAkB;YAClB,kBAAkB;YAClB,gBAAgB;YAChB,mBAAmB;YACnB,YAAY;YACZ,kBAAkB;YAClB,gBAAgB;YAChB,uBAAuB;YACvB,YAAY;YACZ,gBAAgB;SACnB;QACD,SAAS,EAAE,CAAC,gBAAgB,CAAC;QAC7B,YAAY,EAAE,CAAC,oBAAoB,CAAC;QACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;KAClC,CAAC;GACW,iBAAiB,CAAG;;ACxCjC;;;;;;"}
@@ -14,15 +14,15 @@ import { TuiValueAccessorModule } from '@taiga-ui/kit/directives';
14
14
  import { TextMaskModule } from 'angular2-text-mask';
15
15
 
16
16
  // TODO: 3.0 remove in ivy compilation
17
- const INPUT_TIME_ICON = ({ $implicit, }) => $implicit === 's' ? 'tuiIconTime' : 'tuiIconTimeLarge';
17
+ const INPUT_TIME_ICON = ({ $implicit, }) => $implicit === `s` ? `tuiIconTime` : `tuiIconTimeLarge`;
18
18
  const TUI_INPUT_TIME_DEFAULT_OPTIONS = {
19
19
  icon: INPUT_TIME_ICON,
20
- mode: 'HH:MM',
21
- postfix: '',
20
+ mode: `HH:MM`,
21
+ postfix: ``,
22
22
  maxValues: MAX_TIME_VALUES,
23
- itemSize: 'm',
23
+ itemSize: `m`,
24
24
  };
25
- const TUI_INPUT_TIME_OPTIONS = new InjectionToken('Default parameters for input time component', {
25
+ const TUI_INPUT_TIME_OPTIONS = new InjectionToken(`Default parameters for input time component`, {
26
26
  factory: () => TUI_INPUT_TIME_DEFAULT_OPTIONS,
27
27
  });
28
28
  const tuiInputTimeOptionsProvider = (options) => ({
@@ -61,7 +61,7 @@ let TuiInputTimeComponent = TuiInputTimeComponent_1 = class TuiInputTimeComponen
61
61
  return this.value ? this.value.toString(this.mode) : this.nativeValue;
62
62
  }
63
63
  get computedSearch() {
64
- return this.computedValue.length !== this.mode.length ? this.computedValue : '';
64
+ return this.computedValue.length !== this.mode.length ? this.computedValue : ``;
65
65
  }
66
66
  get innerPseudoFocused() {
67
67
  if (this.pseudoFocused === false) {
@@ -76,7 +76,7 @@ let TuiInputTimeComponent = TuiInputTimeComponent_1 = class TuiInputTimeComponen
76
76
  return this.options.icon;
77
77
  }
78
78
  get nativeValue() {
79
- return this.nativeFocusableElement ? this.nativeFocusableElement.value : '';
79
+ return this.nativeFocusableElement ? this.nativeFocusableElement.value : ``;
80
80
  }
81
81
  set nativeValue(value) {
82
82
  if (!this.nativeFocusableElement) {
@@ -111,14 +111,14 @@ let TuiInputTimeComponent = TuiInputTimeComponent_1 = class TuiInputTimeComponen
111
111
  this.updateFocused(focused);
112
112
  if (focused ||
113
113
  this.value !== null ||
114
- this.nativeValue === '' ||
115
- this.mode === 'HH:MM') {
114
+ this.nativeValue === `` ||
115
+ this.mode === `HH:MM`) {
116
116
  return;
117
117
  }
118
118
  const parsedTime = TuiTime.fromString(this.nativeValue);
119
119
  this.updateValue(parsedTime);
120
120
  setTimeout(() => {
121
- if (this.nativeValue.endsWith('.') || this.nativeValue.endsWith(':')) {
121
+ if (this.nativeValue.endsWith(`.`) || this.nativeValue.endsWith(`:`)) {
122
122
  this.nativeValue = this.nativeValue.slice(0, -1);
123
123
  }
124
124
  });
@@ -147,7 +147,7 @@ let TuiInputTimeComponent = TuiInputTimeComponent_1 = class TuiInputTimeComponen
147
147
  }
148
148
  writeValue(value) {
149
149
  super.writeValue(value);
150
- this.nativeValue = value ? this.computedValue : '';
150
+ this.nativeValue = value ? this.computedValue : ``;
151
151
  }
152
152
  calculateMask(mode) {
153
153
  return {
@@ -247,7 +247,7 @@ __decorate([
247
247
  tuiPure
248
248
  ], TuiInputTimeComponent.prototype, "getFiller$", null);
249
249
  __decorate([
250
- HostListener('click')
250
+ HostListener(`click`)
251
251
  ], TuiInputTimeComponent.prototype, "onClick", null);
252
252
  __decorate([
253
253
  tuiPure
@@ -257,8 +257,8 @@ __decorate([
257
257
  ], TuiInputTimeComponent.prototype, "filter", null);
258
258
  TuiInputTimeComponent = TuiInputTimeComponent_1 = __decorate([
259
259
  Component({
260
- selector: 'tui-input-time',
261
- template: "<tui-hosted-dropdown\n class=\"wrapper\"\n [canOpen]=\"interactive && !!filtered.length\"\n [content]=\"dropdownContent\"\n [open]=\"interactive && open && !!filtered.length\"\n (openChange)=\"onOpen($event)\"\n (focusedChange)=\"onFocused($event)\"\n>\n <tui-primitive-textfield\n tuiValueAccessor\n tuiTextfieldInputMode=\"numeric\"\n class=\"textfield\"\n [filler]=\"(getFiller$(mode) | async) || ''\"\n [nativeId]=\"nativeId\"\n [pseudoFocused]=\"innerPseudoFocused\"\n [pseudoHovered]=\"pseudoHovered\"\n [pseudoPressed]=\"pseudoPressed\"\n [invalid]=\"computedInvalid\"\n [focusable]=\"focusable\"\n [disabled]=\"disabled\"\n [readOnly]=\"readOnly\"\n [textMask]=\"textMaskOptions\"\n [iconContent]=\"icon\"\n [value]=\"computedValue\"\n [postfix]=\"postfix\"\n (valueChange)=\"onValueChange($event)\"\n (hoveredChange)=\"onHovered($event)\"\n (keydown.arrowUp)=\"onArrowUp($event)\"\n (keydown.arrowDown)=\"onArrowDown($event)\"\n >\n <ng-content></ng-content>\n </tui-primitive-textfield>\n</tui-hosted-dropdown>\n<ng-template #dropdownContent>\n <tui-data-list automation-id=\"tui-input-time__dropdown\">\n <button\n *ngFor=\"let item of filtered\"\n tuiOption\n automation-id=\"tui-input-time__item\"\n [size]=\"itemSize\"\n [disabled]=\"disabledItemHandler(item)\"\n (click)=\"onMenuClick(item)\"\n >\n {{ item }}\n </button>\n </tui-data-list>\n</ng-template>\n",
260
+ selector: `tui-input-time`,
261
+ template: "<tui-hosted-dropdown\n class=\"t-wrapper\"\n [canOpen]=\"interactive && !!filtered.length\"\n [content]=\"dropdownContent\"\n [open]=\"interactive && open && !!filtered.length\"\n (openChange)=\"onOpen($event)\"\n (focusedChange)=\"onFocused($event)\"\n>\n <tui-primitive-textfield\n tuiValueAccessor\n tuiTextfieldInputMode=\"numeric\"\n class=\"t-textfield\"\n [filler]=\"(getFiller$(mode) | async) || ''\"\n [nativeId]=\"nativeId\"\n [pseudoFocused]=\"innerPseudoFocused\"\n [pseudoHovered]=\"pseudoHovered\"\n [pseudoPressed]=\"pseudoPressed\"\n [invalid]=\"computedInvalid\"\n [focusable]=\"focusable\"\n [disabled]=\"disabled\"\n [readOnly]=\"readOnly\"\n [textMask]=\"textMaskOptions\"\n [iconContent]=\"icon\"\n [value]=\"computedValue\"\n [postfix]=\"postfix\"\n (valueChange)=\"onValueChange($event)\"\n (hoveredChange)=\"onHovered($event)\"\n (keydown.arrowUp)=\"onArrowUp($event)\"\n (keydown.arrowDown)=\"onArrowDown($event)\"\n >\n <ng-content></ng-content>\n </tui-primitive-textfield>\n</tui-hosted-dropdown>\n<ng-template #dropdownContent>\n <tui-data-list automation-id=\"tui-input-time__dropdown\">\n <button\n *ngFor=\"let item of filtered\"\n tuiOption\n automation-id=\"tui-input-time__item\"\n [size]=\"itemSize\"\n [disabled]=\"disabledItemHandler(item)\"\n (click)=\"onMenuClick(item)\"\n >\n {{ item }}\n </button>\n </tui-data-list>\n</ng-template>\n",
262
262
  changeDetection: ChangeDetectionStrategy.OnPush,
263
263
  providers: [
264
264
  {
@@ -267,7 +267,7 @@ TuiInputTimeComponent = TuiInputTimeComponent_1 = __decorate([
267
267
  },
268
268
  FIXED_DROPDOWN_CONTROLLER_PROVIDER,
269
269
  ],
270
- styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}:host._disabled{pointer-events:none}.wrapper{display:block;border-radius:inherit}.textfield{border-radius:inherit;text-align:inherit}"]
270
+ styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}:host._disabled{pointer-events:none}.t-wrapper{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}"]
271
271
  }),
272
272
  __param(0, Optional()),
273
273
  __param(0, Self()),
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-time.js","sources":["ng://@taiga-ui/kit/components/input-time/input-time-options.ts","ng://@taiga-ui/kit/components/input-time/input-time.component.ts","ng://@taiga-ui/kit/components/input-time/input-time.module.ts","ng://@taiga-ui/kit/components/input-time/taiga-ui-kit-components-input-time.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit, TuiTimeMode} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputTimeOptions {\n readonly icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeS | TuiSizeL>>;\n readonly mode: TuiTimeMode;\n readonly postfix: string;\n readonly maxValues: Record<TuiTimeFormatParts, number>;\n readonly itemSize: TuiSizeS | TuiSizeL;\n}\n\n/**\n * @deprecated: use TuiInputTimeOptions instead\n * todo: remove in 3.0\n */\nexport type InputTimeOptions = TuiInputTimeOptions;\n\n// TODO: 3.0 remove in ivy compilation\nexport const INPUT_TIME_ICON = ({\n $implicit,\n}: TuiContextWithImplicit<TuiSizeS | TuiSizeL>): string =>\n $implicit === 's' ? 'tuiIconTime' : 'tuiIconTimeLarge';\n\nexport const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions = {\n icon: INPUT_TIME_ICON,\n mode: 'HH:MM',\n postfix: '',\n maxValues: MAX_TIME_VALUES,\n itemSize: 'm',\n};\n\nexport const TUI_INPUT_TIME_OPTIONS = new InjectionToken<TuiInputTimeOptions>(\n 'Default parameters for input time component',\n {\n factory: () => TUI_INPUT_TIME_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiInputTimeOptionsProvider: (\n options: Partial<TuiInputTimeOptions>,\n) => ValueProvider = (options: Partial<TuiInputTimeOptions>) => ({\n provide: TUI_INPUT_TIME_OPTIONS,\n useValue: {...TUI_INPUT_TIME_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n ALWAYS_FALSE_HANDLER,\n isNativeFocused,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_STRICT_MATCHER,\n TuiBooleanHandler,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiPure,\n TuiTime,\n TuiTimeLike,\n TuiTimeMode,\n} from '@taiga-ui/cdk';\nimport {TuiPrimitiveTextfieldComponent, TuiTextMaskOptions} from '@taiga-ui/core';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {TUI_TIME_TEXTS} from '@taiga-ui/kit/tokens';\nimport {\n tuiCreateAutoCorrectedTimePipe,\n tuiCreateTimeMask,\n} from '@taiga-ui/kit/utils/mask';\nimport {TextMaskConfig} from 'angular2-text-mask';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_INPUT_TIME_OPTIONS, TuiInputTimeOptions} from './input-time-options';\n\n// @dynamic\n@Component({\n selector: 'tui-input-time',\n templateUrl: './input-time.template.html',\n styleUrls: ['./input-time.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputTimeComponent),\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiInputTimeComponent\n extends AbstractTuiNullableControl<TuiTime>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<TuiTime> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n items: readonly TuiTime[] = [];\n\n @Input()\n @tuiDefaultProp()\n itemSize: TuiInputTimeOptions['itemSize'] = this.options.itemSize;\n\n @Input()\n @tuiDefaultProp()\n strict = false;\n\n @Input()\n @tuiDefaultProp()\n mode: TuiInputTimeOptions['mode'] = this.options.mode;\n\n @Input()\n @tuiDefaultProp()\n postfix: TuiInputTimeOptions['postfix'] = this.options.postfix;\n\n open = false;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TIME_TEXTS)\n private readonly timeTexts$: Observable<Record<TuiTimeMode, string>>,\n @Inject(TUI_INPUT_TIME_OPTIONS)\n private readonly options: TuiInputTimeOptions,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get filtered(): readonly TuiTime[] {\n return this.filter(this.items, this.mode, this.computedSearch);\n }\n\n get textMaskOptions(): TextMaskConfig {\n return this.calculateMask(\n this.mode,\n ) as TuiTextMaskOptions as unknown as TextMaskConfig;\n }\n\n get computedValue(): string {\n return this.value ? this.value.toString(this.mode) : this.nativeValue;\n }\n\n get computedSearch(): string {\n return this.computedValue.length !== this.mode.length ? this.computedValue : '';\n }\n\n get innerPseudoFocused(): boolean | null {\n if (this.pseudoFocused === false) {\n return false;\n }\n\n if (this.open || this.computedFocused) {\n return true;\n }\n\n return null;\n }\n\n get icon(): TuiInputTimeOptions['icon'] {\n return this.options.icon;\n }\n\n get nativeValue(): string {\n return this.nativeFocusableElement ? this.nativeFocusableElement.value : '';\n }\n\n set nativeValue(value: string) {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n this.nativeFocusableElement.value = value;\n }\n\n @tuiPure\n getFiller$(mode: TuiTimeMode): Observable<string> {\n return this.timeTexts$.pipe(map(texts => texts[mode]));\n }\n\n @HostListener('click')\n onClick(): void {\n this.open = !this.open;\n }\n\n onValueChange(value: string): void {\n this.open = !!this.items.length;\n\n if (this.control) {\n this.control.updateValueAndValidity({emitEvent: false});\n }\n\n const match = this.getMatch(value);\n\n if (match !== undefined) {\n this.updateValue(match);\n\n return;\n }\n\n if (value.length !== this.mode.length) {\n this.updateValue(null);\n\n return;\n }\n\n const time = TuiTime.fromString(value);\n\n this.updateValue(this.strict ? this.findNearestTimeFromItems(time) : time);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n\n if (\n focused ||\n this.value !== null ||\n this.nativeValue === '' ||\n this.mode === 'HH:MM'\n ) {\n return;\n }\n\n const parsedTime = TuiTime.fromString(this.nativeValue);\n\n this.updateValue(parsedTime);\n\n setTimeout(() => {\n if (this.nativeValue.endsWith('.') || this.nativeValue.endsWith(':')) {\n this.nativeValue = this.nativeValue.slice(0, -1);\n }\n });\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onArrowUp(event: Event): void {\n if (this.items.length) {\n return;\n }\n\n this.processArrow(event, 1);\n }\n\n onArrowDown(event: Event): void {\n if (this.items.length) {\n return;\n }\n\n this.processArrow(event, -1);\n }\n\n onMenuClick(item: TuiTime): void {\n this.focusInput();\n this.updateValue(item);\n }\n\n onOpen(open: boolean): void {\n this.open = open;\n }\n\n writeValue(value: TuiTime | null): void {\n super.writeValue(value);\n this.nativeValue = value ? this.computedValue : '';\n }\n\n @tuiPure\n private calculateMask(mode: TuiTimeMode): TuiTextMaskOptions {\n return {\n mask: tuiCreateTimeMask(mode, this.options.maxValues),\n pipe: tuiCreateAutoCorrectedTimePipe(mode, this.options.maxValues),\n guide: false,\n };\n }\n\n @tuiPure\n private filter(\n items: readonly TuiTime[],\n mode: TuiTimeMode,\n search: string,\n ): readonly TuiTime[] {\n return items.filter(item => item.toString(mode).includes(search));\n }\n\n private findNearestTimeFromItems(value: TuiTime): TuiTime | null {\n return this.items.reduce((previous, current) =>\n Math.abs(current.toAbsoluteMilliseconds() - value.toAbsoluteMilliseconds()) <\n Math.abs(previous.toAbsoluteMilliseconds() - value.toAbsoluteMilliseconds())\n ? current\n : previous,\n );\n }\n\n private getMatch(value: string): TuiTime | undefined {\n return this.items.find(item => TUI_STRICT_MATCHER(item, value));\n }\n\n private close(): void {\n this.open = false;\n }\n\n private processArrow(event: Event, shift: -1 | 1): void {\n const {target} = event;\n\n // TODO: iframe warning\n if (this.readOnly || !(target instanceof HTMLInputElement)) {\n return;\n }\n\n const selectionStart = target.selectionStart || 0;\n\n this.shiftTime(this.calculateShift(selectionStart, shift));\n\n target.setSelectionRange(selectionStart, selectionStart);\n event.preventDefault();\n }\n\n private calculateShift(selectionStart: number, shift: number): TuiTimeLike {\n if (selectionStart <= 2) {\n return {hours: shift};\n }\n\n if (selectionStart <= 5) {\n return {minutes: shift};\n }\n\n if (selectionStart <= 8) {\n return {seconds: shift};\n }\n\n return {ms: shift};\n }\n\n private shiftTime(shift: TuiTimeLike): void {\n if (this.value === null) {\n return;\n }\n\n const increasedTime: TuiTime = this.value.shift(shift);\n\n // Manual update so we can set caret position properly\n this.nativeValue = increasedTime.toString(this.mode);\n this.updateValue(increasedTime);\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n this.close();\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiDataListModule,\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputTimeComponent} from './input-time.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TextMaskModule,\n TuiDataListModule,\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiValueAccessorModule,\n TuiTextfieldControllerModule,\n ],\n declarations: [TuiInputTimeComponent],\n exports: [TuiInputTimeComponent],\n})\nexport class TuiInputTimeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAqBA;MACa,eAAe,GAAG,CAAC,EAC5B,SAAS,GACiC,KAC1C,SAAS,KAAK,GAAG,GAAG,aAAa,GAAG,mBAAmB;MAE9C,8BAA8B,GAAwB;IAC/D,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,eAAe;IAC1B,QAAQ,EAAE,GAAG;EACf;MAEW,sBAAsB,GAAG,IAAI,cAAc,CACpD,6CAA6C,EAC7C;IACI,OAAO,EAAE,MAAM,8BAA8B;CAChD,E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CAAC;IAmCO,WAAA,QAAQ,EAAE,CAAA;IACV,WAAA,IAAI,EAAE,CAAA;IACN,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;IAEjB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;IACzB,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;IAEtB,WAAA,MAAM,CAAC,sBAAsB,CAAC,CAAA;GAzC1B,qBAAqB,CAuRjC;;ICpTY,kBAAkB,GAA/B,MAAa,kBAAkB;EAAG;AAArB,kBAAkB;IAb9B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,cAAc;YACd,iBAAiB;YACjB,uBAAuB;YACvB,2BAA2B;YAC3B,sBAAsB;YACtB,4BAA4B;SAC/B;QACD,YAAY,EAAE,CAAC,qBAAqB,CAAC;QACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;KACnC,CAAC;GACW,kBAAkB,CAAG;;AC1BlC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-input-time.js","sources":["ng://@taiga-ui/kit/components/input-time/input-time-options.ts","ng://@taiga-ui/kit/components/input-time/input-time.component.ts","ng://@taiga-ui/kit/components/input-time/input-time.module.ts","ng://@taiga-ui/kit/components/input-time/taiga-ui-kit-components-input-time.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit, TuiTimeMode} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputTimeOptions {\n readonly icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeS | TuiSizeL>>;\n readonly mode: TuiTimeMode;\n readonly postfix: string;\n readonly maxValues: Record<TuiTimeFormatParts, number>;\n readonly itemSize: TuiSizeS | TuiSizeL;\n}\n\n/**\n * @deprecated: use TuiInputTimeOptions instead\n * todo: remove in 3.0\n */\nexport type InputTimeOptions = TuiInputTimeOptions;\n\n// TODO: 3.0 remove in ivy compilation\nexport const INPUT_TIME_ICON = ({\n $implicit,\n}: TuiContextWithImplicit<TuiSizeS | TuiSizeL>): string =>\n $implicit === `s` ? `tuiIconTime` : `tuiIconTimeLarge`;\n\nexport const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions = {\n icon: INPUT_TIME_ICON,\n mode: `HH:MM`,\n postfix: ``,\n maxValues: MAX_TIME_VALUES,\n itemSize: `m`,\n};\n\nexport const TUI_INPUT_TIME_OPTIONS = new InjectionToken<TuiInputTimeOptions>(\n `Default parameters for input time component`,\n {\n factory: () => TUI_INPUT_TIME_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiInputTimeOptionsProvider: (\n options: Partial<TuiInputTimeOptions>,\n) => ValueProvider = (options: Partial<TuiInputTimeOptions>) => ({\n provide: TUI_INPUT_TIME_OPTIONS,\n useValue: {...TUI_INPUT_TIME_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n ALWAYS_FALSE_HANDLER,\n isNativeFocused,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_STRICT_MATCHER,\n TuiBooleanHandler,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiPure,\n TuiTime,\n TuiTimeLike,\n TuiTimeMode,\n} from '@taiga-ui/cdk';\nimport {TuiPrimitiveTextfieldComponent, TuiTextMaskOptions} from '@taiga-ui/core';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {TUI_TIME_TEXTS} from '@taiga-ui/kit/tokens';\nimport {\n tuiCreateAutoCorrectedTimePipe,\n tuiCreateTimeMask,\n} from '@taiga-ui/kit/utils/mask';\nimport {TextMaskConfig} from 'angular2-text-mask';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_INPUT_TIME_OPTIONS, TuiInputTimeOptions} from './input-time-options';\n\n// @dynamic\n@Component({\n selector: `tui-input-time`,\n templateUrl: `./input-time.template.html`,\n styleUrls: [`./input-time.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputTimeComponent),\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiInputTimeComponent\n extends AbstractTuiNullableControl<TuiTime>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<TuiTime> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n items: readonly TuiTime[] = [];\n\n @Input()\n @tuiDefaultProp()\n itemSize: TuiInputTimeOptions['itemSize'] = this.options.itemSize;\n\n @Input()\n @tuiDefaultProp()\n strict = false;\n\n @Input()\n @tuiDefaultProp()\n mode: TuiInputTimeOptions['mode'] = this.options.mode;\n\n @Input()\n @tuiDefaultProp()\n postfix: TuiInputTimeOptions['postfix'] = this.options.postfix;\n\n open = false;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TIME_TEXTS)\n private readonly timeTexts$: Observable<Record<TuiTimeMode, string>>,\n @Inject(TUI_INPUT_TIME_OPTIONS)\n private readonly options: TuiInputTimeOptions,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get filtered(): readonly TuiTime[] {\n return this.filter(this.items, this.mode, this.computedSearch);\n }\n\n get textMaskOptions(): TextMaskConfig {\n return this.calculateMask(\n this.mode,\n ) as TuiTextMaskOptions as unknown as TextMaskConfig;\n }\n\n get computedValue(): string {\n return this.value ? this.value.toString(this.mode) : this.nativeValue;\n }\n\n get computedSearch(): string {\n return this.computedValue.length !== this.mode.length ? this.computedValue : ``;\n }\n\n get innerPseudoFocused(): boolean | null {\n if (this.pseudoFocused === false) {\n return false;\n }\n\n if (this.open || this.computedFocused) {\n return true;\n }\n\n return null;\n }\n\n get icon(): TuiInputTimeOptions['icon'] {\n return this.options.icon;\n }\n\n get nativeValue(): string {\n return this.nativeFocusableElement ? this.nativeFocusableElement.value : ``;\n }\n\n set nativeValue(value: string) {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n this.nativeFocusableElement.value = value;\n }\n\n @tuiPure\n getFiller$(mode: TuiTimeMode): Observable<string> {\n return this.timeTexts$.pipe(map(texts => texts[mode]));\n }\n\n @HostListener(`click`)\n onClick(): void {\n this.open = !this.open;\n }\n\n onValueChange(value: string): void {\n this.open = !!this.items.length;\n\n if (this.control) {\n this.control.updateValueAndValidity({emitEvent: false});\n }\n\n const match = this.getMatch(value);\n\n if (match !== undefined) {\n this.updateValue(match);\n\n return;\n }\n\n if (value.length !== this.mode.length) {\n this.updateValue(null);\n\n return;\n }\n\n const time = TuiTime.fromString(value);\n\n this.updateValue(this.strict ? this.findNearestTimeFromItems(time) : time);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n\n if (\n focused ||\n this.value !== null ||\n this.nativeValue === `` ||\n this.mode === `HH:MM`\n ) {\n return;\n }\n\n const parsedTime = TuiTime.fromString(this.nativeValue);\n\n this.updateValue(parsedTime);\n\n setTimeout(() => {\n if (this.nativeValue.endsWith(`.`) || this.nativeValue.endsWith(`:`)) {\n this.nativeValue = this.nativeValue.slice(0, -1);\n }\n });\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onArrowUp(event: Event): void {\n if (this.items.length) {\n return;\n }\n\n this.processArrow(event, 1);\n }\n\n onArrowDown(event: Event): void {\n if (this.items.length) {\n return;\n }\n\n this.processArrow(event, -1);\n }\n\n onMenuClick(item: TuiTime): void {\n this.focusInput();\n this.updateValue(item);\n }\n\n onOpen(open: boolean): void {\n this.open = open;\n }\n\n writeValue(value: TuiTime | null): void {\n super.writeValue(value);\n this.nativeValue = value ? this.computedValue : ``;\n }\n\n @tuiPure\n private calculateMask(mode: TuiTimeMode): TuiTextMaskOptions {\n return {\n mask: tuiCreateTimeMask(mode, this.options.maxValues),\n pipe: tuiCreateAutoCorrectedTimePipe(mode, this.options.maxValues),\n guide: false,\n };\n }\n\n @tuiPure\n private filter(\n items: readonly TuiTime[],\n mode: TuiTimeMode,\n search: string,\n ): readonly TuiTime[] {\n return items.filter(item => item.toString(mode).includes(search));\n }\n\n private findNearestTimeFromItems(value: TuiTime): TuiTime | null {\n return this.items.reduce((previous, current) =>\n Math.abs(current.toAbsoluteMilliseconds() - value.toAbsoluteMilliseconds()) <\n Math.abs(previous.toAbsoluteMilliseconds() - value.toAbsoluteMilliseconds())\n ? current\n : previous,\n );\n }\n\n private getMatch(value: string): TuiTime | undefined {\n return this.items.find(item => TUI_STRICT_MATCHER(item, value));\n }\n\n private close(): void {\n this.open = false;\n }\n\n private processArrow(event: Event, shift: -1 | 1): void {\n const {target} = event;\n\n // TODO: iframe warning\n if (this.readOnly || !(target instanceof HTMLInputElement)) {\n return;\n }\n\n const selectionStart = target.selectionStart || 0;\n\n this.shiftTime(this.calculateShift(selectionStart, shift));\n\n target.setSelectionRange(selectionStart, selectionStart);\n event.preventDefault();\n }\n\n private calculateShift(selectionStart: number, shift: number): TuiTimeLike {\n if (selectionStart <= 2) {\n return {hours: shift};\n }\n\n if (selectionStart <= 5) {\n return {minutes: shift};\n }\n\n if (selectionStart <= 8) {\n return {seconds: shift};\n }\n\n return {ms: shift};\n }\n\n private shiftTime(shift: TuiTimeLike): void {\n if (this.value === null) {\n return;\n }\n\n const increasedTime: TuiTime = this.value.shift(shift);\n\n // Manual update so we can set caret position properly\n this.nativeValue = increasedTime.toString(this.mode);\n this.updateValue(increasedTime);\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n this.close();\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiDataListModule,\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputTimeComponent} from './input-time.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TextMaskModule,\n TuiDataListModule,\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiValueAccessorModule,\n TuiTextfieldControllerModule,\n ],\n declarations: [TuiInputTimeComponent],\n exports: [TuiInputTimeComponent],\n})\nexport class TuiInputTimeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAqBA;MACa,eAAe,GAAG,CAAC,EAC5B,SAAS,GACiC,KAC1C,SAAS,KAAK,GAAG,GAAG,aAAa,GAAG,mBAAmB;MAE9C,8BAA8B,GAAwB;IAC/D,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,eAAe;IAC1B,QAAQ,EAAE,GAAG;EACf;MAEW,sBAAsB,GAAG,IAAI,cAAc,CACpD,6CAA6C,EAC7C;IACI,OAAO,EAAE,MAAM,8BAA8B;CAChD,EACH;MAEW,2BAA2B,GAEnB,CAAC,OAAqC,MAAM;IAC7D,OAAO,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