@taiga-ui/kit 2.54.1 → 2.57.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 (1032) 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 +13 -13
  5. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-action.umd.js +8 -8
  8. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-arrow.umd.js +5 -5
  11. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-avatar.umd.js +13 -13
  14. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-badge.umd.js +14 -14
  17. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-badged-content.umd.js +21 -21
  20. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +7 -7
  23. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +2 -2
  26. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +3 -3
  29. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-carousel.umd.js +18 -18
  32. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +8 -8
  35. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +4 -4
  38. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-checkbox.umd.js +3 -3
  41. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-combo-box.umd.js +9 -9
  44. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +4 -4
  47. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-field-error.umd.js +5 -5
  50. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-files.umd.js +20 -20
  53. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-filter.umd.js +3 -3
  56. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-input-copy.umd.js +8 -8
  59. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-count.umd.js +19 -19
  62. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +14 -14
  65. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +16 -16
  68. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-date.umd.js +10 -10
  71. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-input-file.umd.js +34 -34
  74. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-files.umd.js +26 -20
  77. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +1 -1
  79. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-inline.umd.js +4 -4
  81. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +8 -9
  84. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  86. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-input-month.umd.js +5 -5
  88. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-number.umd.js +22 -22
  91. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-input-password.umd.js +9 -9
  94. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +230 -229
  97. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-phone.umd.js +36 -36
  101. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-input-range.umd.js +16 -16
  104. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-slider.umd.js +37 -25
  107. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  109. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-tag.umd.js +24 -24
  111. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-input-time.umd.js +13 -13
  114. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input.umd.js +5 -5
  117. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-island.umd.js +18 -18
  120. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +18 -12
  123. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +1 -1
  125. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +6 -6
  127. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  129. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +2 -2
  130. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-multi-select.umd.js +17 -17
  133. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  135. package/bundles/taiga-ui-kit-components-pagination.umd.js +7 -7
  136. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +10 -10
  139. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
  141. package/bundles/taiga-ui-kit-components-progress.umd.js +26 -26
  142. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  144. package/bundles/taiga-ui-kit-components-radio-block.umd.js +9 -9
  145. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  147. package/bundles/taiga-ui-kit-components-radio-group.umd.js +1 -1
  148. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +5 -5
  151. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  152. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-radio-list.umd.js +5 -5
  154. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  156. package/bundles/taiga-ui-kit-components-radio.umd.js +8 -8
  157. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  159. package/bundles/taiga-ui-kit-components-range.umd.js +33 -33
  160. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-rating.umd.js +7 -7
  163. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
  165. package/bundles/taiga-ui-kit-components-select-option.umd.js +2 -2
  166. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  167. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-select.umd.js +6 -6
  169. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  171. package/bundles/taiga-ui-kit-components-slider.umd.js +158 -106
  172. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  173. package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
  174. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  175. package/bundles/taiga-ui-kit-components-stepper.umd.js +25 -25
  176. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-tabs.umd.js +45 -43
  179. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  181. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  182. package/bundles/taiga-ui-kit-components-tag.umd.js +24 -24
  183. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  185. package/bundles/taiga-ui-kit-components-text-area.umd.js +17 -17
  186. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components-toggle.umd.js +11 -11
  189. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  191. package/bundles/taiga-ui-kit-components-tree.umd.js +24 -24
  192. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  193. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  194. package/bundles/taiga-ui-kit-constants.umd.js +18 -18
  195. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  196. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  197. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +10 -10
  198. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  199. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  200. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +6 -6
  201. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  202. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  203. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +12 -12
  204. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  205. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  206. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  207. package/bundles/taiga-ui-kit-directives-highlight.umd.js +10 -10
  208. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  209. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  210. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +11 -11
  211. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  212. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  213. package/bundles/taiga-ui-kit-directives-present.umd.js +5 -5
  214. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  215. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  216. package/bundles/taiga-ui-kit-directives-project-class.umd.js +2 -2
  217. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  218. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  219. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +4 -4
  220. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  221. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  222. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +1 -1
  223. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  224. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  225. package/bundles/taiga-ui-kit-enums.umd.js.map +1 -1
  226. package/bundles/taiga-ui-kit-enums.umd.min.js.map +1 -1
  227. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +1 -1
  228. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  229. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  230. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +8 -8
  231. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  232. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -1
  233. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +4 -4
  234. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  235. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  236. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +1 -1
  237. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  238. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  239. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +2 -2
  240. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  241. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  242. package/bundles/taiga-ui-kit-providers.umd.js +3 -3
  243. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  244. package/bundles/taiga-ui-kit-providers.umd.min.js.map +1 -1
  245. package/bundles/taiga-ui-kit-tokens.umd.js +38 -38
  246. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  247. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  248. package/bundles/taiga-ui-kit-utils-dom.umd.js +4 -4
  249. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  250. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +1 -1
  251. package/bundles/taiga-ui-kit-utils-files.umd.js +2 -2
  252. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  253. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +1 -1
  254. package/bundles/taiga-ui-kit-utils-format.umd.js +2 -2
  255. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  256. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  257. package/bundles/taiga-ui-kit-utils-mask.umd.js +12 -12
  258. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  259. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  260. package/bundles/taiga-ui-kit-utils-math.umd.js +2 -2
  261. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  262. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +1 -1
  263. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +7 -7
  264. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  265. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  266. package/bundles/taiga-ui-kit-validators.umd.js +1 -1
  267. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  268. package/bundles/taiga-ui-kit-validators.umd.min.js.map +1 -1
  269. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +1 -1
  270. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  271. package/components/input-slider/input-slider.component.d.ts +4 -1
  272. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  273. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  274. package/components/slider/{slider-key-steps.directive.d.ts → helpers/slider-key-steps.directive.d.ts} +1 -1
  275. package/components/slider/{slider-readonly.directive.d.ts → helpers/slider-readonly.directive.d.ts} +0 -0
  276. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +12 -0
  277. package/components/slider/index.d.ts +3 -2
  278. package/components/slider/slider.component.d.ts +1 -1
  279. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  280. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  281. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  282. package/esm2015/abstract/input-slider.js +12 -12
  283. package/esm2015/abstract/slider/slider.js +12 -12
  284. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  285. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  286. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +11 -11
  287. package/esm2015/components/accordion/accordion.component.js +2 -2
  288. package/esm2015/components/action/action.component.js +9 -9
  289. package/esm2015/components/arrow/arrow-options.js +5 -5
  290. package/esm2015/components/arrow/arrow.component.js +2 -2
  291. package/esm2015/components/avatar/avatar-options.js +3 -3
  292. package/esm2015/components/avatar/avatar.component.js +12 -12
  293. package/esm2015/components/badge/badge.component.js +15 -15
  294. package/esm2015/components/badged-content/badged-content.component.js +22 -22
  295. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  296. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +4 -4
  297. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  298. package/esm2015/components/calendar-range/calendar-range.component.js +4 -4
  299. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  300. package/esm2015/components/carousel/carousel-buttons.directive.js +4 -4
  301. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  302. package/esm2015/components/carousel/carousel.component.js +10 -10
  303. package/esm2015/components/carousel/carousel.directive.js +3 -3
  304. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  305. package/esm2015/components/checkbox-block/checkbox-block.component.js +9 -9
  306. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  307. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  308. package/esm2015/components/combo-box/combo-box.component.js +7 -7
  309. package/esm2015/components/combo-box/combo-box.directive.js +2 -2
  310. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  311. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  312. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +3 -3
  313. package/esm2015/components/field-error/field-error.component.js +6 -6
  314. package/esm2015/components/files/file/file.component.js +20 -20
  315. package/esm2015/components/files/files.component.js +2 -2
  316. package/esm2015/components/filter/filter.component.js +4 -4
  317. package/esm2015/components/input/input.component.js +5 -5
  318. package/esm2015/components/input/input.directive.js +2 -2
  319. package/esm2015/components/input-copy/input-copy.component.js +8 -8
  320. package/esm2015/components/input-copy/input-copy.directive.js +2 -2
  321. package/esm2015/components/input-count/input-count-options.js +6 -6
  322. package/esm2015/components/input-count/input-count.component.js +12 -12
  323. package/esm2015/components/input-count/input-count.directive.js +4 -4
  324. package/esm2015/components/input-date/input-date.component.js +9 -9
  325. package/esm2015/components/input-date/input-date.directive.js +3 -3
  326. package/esm2015/components/input-date-range/input-date-range.component.js +13 -13
  327. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  328. package/esm2015/components/input-date-time/input-date-time.component.js +15 -15
  329. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  330. package/esm2015/components/input-file/file/file.component.js +18 -18
  331. package/esm2015/components/input-file/input-file.component.js +18 -18
  332. package/esm2015/components/input-files/input-files.component.js +16 -16
  333. package/esm2015/components/input-files/input-files.module.js +10 -3
  334. package/esm2015/components/input-inline/input-inline.component.js +5 -5
  335. package/esm2015/components/input-month/input-month.component.js +4 -4
  336. package/esm2015/components/input-month/input-month.directive.js +3 -3
  337. package/esm2015/components/input-month-range/input-month-range.component.js +7 -8
  338. package/esm2015/components/input-month-range/input-month-range.directive.js +4 -4
  339. package/esm2015/components/input-number/input-number.component.js +21 -21
  340. package/esm2015/components/input-number/input-number.directive.js +3 -3
  341. package/esm2015/components/input-password/input-password-options.js +4 -4
  342. package/esm2015/components/input-password/input-password.component.js +5 -5
  343. package/esm2015/components/input-password/input-password.directive.js +3 -3
  344. package/esm2015/components/input-phone/input-phone.component.js +30 -30
  345. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  346. package/esm2015/components/input-phone/input-phone.options.js +4 -4
  347. package/esm2015/components/input-phone/input-phone.providers.js +3 -3
  348. package/esm2015/components/input-phone-international/const/countries.js +215 -214
  349. package/esm2015/components/input-phone-international/country-iso-code.js +1 -1
  350. package/esm2015/components/input-phone-international/input-phone-international.component.js +14 -14
  351. package/esm2015/components/input-phone-international/input-phone-international.options.js +2 -2
  352. package/esm2015/components/input-phone-international/tokens/countries-masks.js +2 -2
  353. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  354. package/esm2015/components/input-range/input-range.component.js +17 -17
  355. package/esm2015/components/input-slider/input-slider.component.js +31 -22
  356. package/esm2015/components/input-tag/input-tag-options.js +3 -3
  357. package/esm2015/components/input-tag/input-tag.component.js +23 -23
  358. package/esm2015/components/input-time/input-time-options.js +6 -6
  359. package/esm2015/components/input-time/input-time.component.js +9 -9
  360. package/esm2015/components/island/island.component.js +19 -19
  361. package/esm2015/components/line-clamp/line-clamp-options.js +2 -2
  362. package/esm2015/components/line-clamp/line-clamp.component.js +11 -11
  363. package/esm2015/components/line-clamp/line-clamp.module.js +9 -3
  364. package/esm2015/components/marker-icon/marker-icon.component.js +7 -7
  365. package/esm2015/components/multi-select/hide-selected.pipe.js +2 -2
  366. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  367. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  368. package/esm2015/components/multi-select/multi-select-options.js +3 -3
  369. package/esm2015/components/multi-select/multi-select.component.js +10 -10
  370. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  371. package/esm2015/components/pagination/pagination.component.js +8 -8
  372. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +6 -6
  373. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  374. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +3 -3
  375. package/esm2015/components/progress/progress-bar/progress-bar.component.js +6 -6
  376. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  377. package/esm2015/components/progress/progress-circle/progress-circle.component.js +7 -7
  378. package/esm2015/components/progress/progress-label/progress-label.component.js +2 -2
  379. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  380. package/esm2015/components/progress/utils/calculate-color-segments.js +2 -2
  381. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  382. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +2 -2
  383. package/esm2015/components/radio/radio-options.js +3 -3
  384. package/esm2015/components/radio/radio.component.js +7 -7
  385. package/esm2015/components/radio-block/radio-block.component.js +10 -10
  386. package/esm2015/components/radio-group/radio-group.component.js +2 -2
  387. package/esm2015/components/radio-labeled/radio-labeled.component.js +6 -6
  388. package/esm2015/components/radio-list/radio-list.component.js +6 -6
  389. package/esm2015/components/range/range-change.directive.js +10 -10
  390. package/esm2015/components/range/range.component.js +23 -23
  391. package/esm2015/components/rating/rating-options.js +4 -4
  392. package/esm2015/components/rating/rating.component.js +5 -5
  393. package/esm2015/components/select/select-options.js +3 -3
  394. package/esm2015/components/select/select.component.js +4 -4
  395. package/esm2015/components/select/select.directive.js +2 -2
  396. package/esm2015/components/select-option/select-option.component.js +3 -3
  397. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +103 -0
  398. package/esm2015/components/slider/helpers/slider-readonly.directive.js +79 -0
  399. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +40 -0
  400. package/esm2015/components/slider/index.js +4 -3
  401. package/esm2015/components/slider/slider-old.component.js +2 -2
  402. package/esm2015/components/slider/slider-options.js +4 -4
  403. package/esm2015/components/slider/slider.component.js +9 -9
  404. package/esm2015/components/slider/slider.module.js +6 -3
  405. package/esm2015/components/stepper/step/step.component.js +12 -12
  406. package/esm2015/components/stepper/stepper.component.js +15 -15
  407. package/esm2015/components/tabs/tab/tab.component.js +8 -8
  408. package/esm2015/components/tabs/tab/tab.providers.js +4 -4
  409. package/esm2015/components/tabs/tabs/tabs.component.js +13 -13
  410. package/esm2015/components/tabs/tabs-options.js +2 -2
  411. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +11 -9
  412. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  413. package/esm2015/components/tabs/underline/underline.component.js +13 -13
  414. package/esm2015/components/tag/tag-options.js +4 -4
  415. package/esm2015/components/tag/tag.component.js +22 -22
  416. package/esm2015/components/text-area/text-area.component.js +17 -17
  417. package/esm2015/components/text-area/text-area.directive.js +2 -2
  418. package/esm2015/components/toggle/toggle-options.js +5 -5
  419. package/esm2015/components/toggle/toggle.component.js +8 -8
  420. package/esm2015/components/tree/components/tree/tree.component.js +3 -3
  421. package/esm2015/components/tree/components/tree-item/tree-item.component.js +4 -4
  422. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  423. package/esm2015/components/tree/directives/tree-children.directive.js +2 -2
  424. package/esm2015/components/tree/directives/tree-controller.directive.js +4 -4
  425. package/esm2015/components/tree/directives/tree-item-controller.directive.js +4 -4
  426. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  427. package/esm2015/components/tree/misc/tree.tokens.js +9 -9
  428. package/esm2015/constants/date-time-separator.js +2 -2
  429. package/esm2015/constants/group-class-names.js +10 -10
  430. package/esm2015/constants/icon-blank.js +2 -2
  431. package/esm2015/constants/masks.js +7 -7
  432. package/esm2015/constants/router-link-options.js +2 -2
  433. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +11 -11
  434. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +5 -5
  435. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +13 -13
  436. package/esm2015/directives/highlight/highlight.directive.js +11 -11
  437. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +12 -12
  438. package/esm2015/directives/present/present.directive.js +6 -6
  439. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  440. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  441. package/esm2015/directives/value-accessor/value-accessor.directive.js +2 -2
  442. package/esm2015/enums/borders.js +1 -1
  443. package/esm2015/enums/dropdown-position.js +1 -1
  444. package/esm2015/enums/file-state.js +1 -1
  445. package/esm2015/enums/marker-icon-mode.js +1 -1
  446. package/esm2015/enums/status.js +1 -1
  447. package/esm2015/enums/step-state.js +1 -1
  448. package/esm2015/enums/text-align.js +1 -1
  449. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  450. package/esm2015/pipes/field-error/field-error-content-pipe.js +4 -4
  451. package/esm2015/pipes/field-error/field-error-pipe.js +6 -6
  452. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +2 -2
  453. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +3 -3
  454. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +2 -2
  455. package/esm2015/pipes/stringify/stringify.pipe.js +3 -3
  456. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +2 -2
  457. package/esm2015/providers/month-formatter.provider.js +2 -2
  458. package/esm2015/providers/specific-dropdown-controllers.js +3 -3
  459. package/esm2015/tokens/calendar-data-stream.js +2 -2
  460. package/esm2015/tokens/date-inputs-value-transformers.js +4 -4
  461. package/esm2015/tokens/i18n.js +28 -28
  462. package/esm2015/tokens/items-handlers.js +2 -2
  463. package/esm2015/tokens/mobile-aware.js +2 -2
  464. package/esm2015/tokens/mobile-calendar.js +2 -2
  465. package/esm2015/tokens/month-formatter.js +2 -2
  466. package/esm2015/tokens/tab-margin.js +2 -2
  467. package/esm2015/tokens/tag-status.js +2 -2
  468. package/esm2015/tokens/validation-errors.js +2 -2
  469. package/esm2015/utils/dom/get-word-range.js +5 -5
  470. package/esm2015/utils/files/format-size.js +2 -2
  471. package/esm2015/utils/files/get-accept-array.js +2 -2
  472. package/esm2015/utils/format/string-hash-to-hsl.js +3 -3
  473. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
  474. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  475. package/esm2015/utils/mask/create-date-mask.js +5 -5
  476. package/esm2015/utils/mask/create-date-range-mask.js +2 -2
  477. package/esm2015/utils/mask/create-time-mask.js +4 -4
  478. package/esm2015/utils/math/horizontal-direction-to-number.js +3 -3
  479. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  480. package/esm2015/utils/miscellaneous/get-precision.js +2 -2
  481. package/esm2015/validators/unfinished.validator.js +2 -2
  482. package/esm5/abstract/input-slider.js +12 -12
  483. package/esm5/abstract/slider/slider.js +12 -12
  484. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  485. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  486. package/esm5/components/accordion/accordion-item/accordion-item.component.js +11 -11
  487. package/esm5/components/accordion/accordion.component.js +2 -2
  488. package/esm5/components/action/action.component.js +9 -9
  489. package/esm5/components/arrow/arrow-options.js +5 -5
  490. package/esm5/components/arrow/arrow.component.js +2 -2
  491. package/esm5/components/avatar/avatar-options.js +3 -3
  492. package/esm5/components/avatar/avatar.component.js +12 -12
  493. package/esm5/components/badge/badge.component.js +15 -15
  494. package/esm5/components/badged-content/badged-content.component.js +22 -22
  495. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  496. package/esm5/components/breadcrumbs/breadcrumbs.component.js +4 -4
  497. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  498. package/esm5/components/calendar-range/calendar-range.component.js +4 -4
  499. package/esm5/components/carousel/carousel-autoscroll.directive.js +3 -3
  500. package/esm5/components/carousel/carousel-buttons.directive.js +4 -4
  501. package/esm5/components/carousel/carousel-scroll.directive.js +3 -3
  502. package/esm5/components/carousel/carousel.component.js +10 -10
  503. package/esm5/components/carousel/carousel.directive.js +3 -3
  504. package/esm5/components/checkbox/checkbox.component.js +4 -4
  505. package/esm5/components/checkbox-block/checkbox-block.component.js +9 -9
  506. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  507. package/esm5/components/combo-box/combo-box-strict.directive.js +3 -3
  508. package/esm5/components/combo-box/combo-box.component.js +7 -7
  509. package/esm5/components/combo-box/combo-box.directive.js +2 -2
  510. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  511. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  512. package/esm5/components/data-list-wrapper/data-list-wrapper.js +3 -3
  513. package/esm5/components/field-error/field-error.component.js +6 -6
  514. package/esm5/components/files/file/file.component.js +20 -20
  515. package/esm5/components/files/files.component.js +2 -2
  516. package/esm5/components/filter/filter.component.js +4 -4
  517. package/esm5/components/input/input.component.js +5 -5
  518. package/esm5/components/input/input.directive.js +2 -2
  519. package/esm5/components/input-copy/input-copy.component.js +8 -8
  520. package/esm5/components/input-copy/input-copy.directive.js +2 -2
  521. package/esm5/components/input-count/input-count-options.js +6 -6
  522. package/esm5/components/input-count/input-count.component.js +12 -12
  523. package/esm5/components/input-count/input-count.directive.js +4 -4
  524. package/esm5/components/input-date/input-date.component.js +9 -9
  525. package/esm5/components/input-date/input-date.directive.js +3 -3
  526. package/esm5/components/input-date-range/input-date-range.component.js +13 -13
  527. package/esm5/components/input-date-range/input-date-range.directive.js +3 -3
  528. package/esm5/components/input-date-time/input-date-time.component.js +15 -15
  529. package/esm5/components/input-date-time/input-date-time.directive.js +3 -3
  530. package/esm5/components/input-file/file/file.component.js +18 -18
  531. package/esm5/components/input-file/input-file.component.js +18 -18
  532. package/esm5/components/input-files/input-files.component.js +16 -16
  533. package/esm5/components/input-files/input-files.module.js +10 -3
  534. package/esm5/components/input-inline/input-inline.component.js +5 -5
  535. package/esm5/components/input-month/input-month.component.js +4 -4
  536. package/esm5/components/input-month/input-month.directive.js +3 -3
  537. package/esm5/components/input-month-range/input-month-range.component.js +7 -8
  538. package/esm5/components/input-month-range/input-month-range.directive.js +4 -4
  539. package/esm5/components/input-number/input-number.component.js +21 -21
  540. package/esm5/components/input-number/input-number.directive.js +3 -3
  541. package/esm5/components/input-password/input-password-options.js +4 -4
  542. package/esm5/components/input-password/input-password.component.js +5 -5
  543. package/esm5/components/input-password/input-password.directive.js +3 -3
  544. package/esm5/components/input-phone/input-phone.component.js +30 -30
  545. package/esm5/components/input-phone/input-phone.directive.js +3 -3
  546. package/esm5/components/input-phone/input-phone.options.js +4 -4
  547. package/esm5/components/input-phone/input-phone.providers.js +3 -3
  548. package/esm5/components/input-phone-international/const/countries.js +215 -214
  549. package/esm5/components/input-phone-international/country-iso-code.js +1 -1
  550. package/esm5/components/input-phone-international/input-phone-international.component.js +14 -14
  551. package/esm5/components/input-phone-international/input-phone-international.options.js +2 -2
  552. package/esm5/components/input-phone-international/tokens/countries-masks.js +2 -2
  553. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  554. package/esm5/components/input-range/input-range.component.js +17 -17
  555. package/esm5/components/input-slider/input-slider.component.js +35 -22
  556. package/esm5/components/input-tag/input-tag-options.js +3 -3
  557. package/esm5/components/input-tag/input-tag.component.js +23 -23
  558. package/esm5/components/input-time/input-time-options.js +6 -6
  559. package/esm5/components/input-time/input-time.component.js +9 -9
  560. package/esm5/components/island/island.component.js +19 -19
  561. package/esm5/components/line-clamp/line-clamp-options.js +2 -2
  562. package/esm5/components/line-clamp/line-clamp.component.js +11 -11
  563. package/esm5/components/line-clamp/line-clamp.module.js +9 -3
  564. package/esm5/components/marker-icon/marker-icon.component.js +7 -7
  565. package/esm5/components/multi-select/hide-selected.pipe.js +2 -2
  566. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  567. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  568. package/esm5/components/multi-select/multi-select-options.js +3 -3
  569. package/esm5/components/multi-select/multi-select.component.js +10 -10
  570. package/esm5/components/multi-select-option/multi-select-option.component.js +3 -3
  571. package/esm5/components/pagination/pagination.component.js +8 -8
  572. package/esm5/components/pdf-viewer/pdf-viewer.component.js +6 -6
  573. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  574. package/esm5/components/pdf-viewer/pdf-viewer.service.js +3 -3
  575. package/esm5/components/progress/progress-bar/progress-bar.component.js +6 -6
  576. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  577. package/esm5/components/progress/progress-circle/progress-circle.component.js +7 -7
  578. package/esm5/components/progress/progress-label/progress-label.component.js +2 -2
  579. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  580. package/esm5/components/progress/utils/calculate-color-segments.js +2 -2
  581. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +2 -2
  582. package/esm5/components/progress/utils/progress-color-segments.pipe.js +2 -2
  583. package/esm5/components/radio/radio-options.js +3 -3
  584. package/esm5/components/radio/radio.component.js +7 -7
  585. package/esm5/components/radio-block/radio-block.component.js +10 -10
  586. package/esm5/components/radio-group/radio-group.component.js +2 -2
  587. package/esm5/components/radio-labeled/radio-labeled.component.js +6 -6
  588. package/esm5/components/radio-list/radio-list.component.js +6 -6
  589. package/esm5/components/range/range-change.directive.js +12 -12
  590. package/esm5/components/range/range.component.js +23 -23
  591. package/esm5/components/rating/rating-options.js +4 -4
  592. package/esm5/components/rating/rating.component.js +5 -5
  593. package/esm5/components/select/select-options.js +3 -3
  594. package/esm5/components/select/select.component.js +4 -4
  595. package/esm5/components/select/select.directive.js +2 -2
  596. package/esm5/components/select-option/select-option.component.js +3 -3
  597. package/esm5/components/slider/helpers/slider-key-steps.directive.js +129 -0
  598. package/esm5/components/slider/helpers/slider-readonly.directive.js +87 -0
  599. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +55 -0
  600. package/esm5/components/slider/index.js +4 -3
  601. package/esm5/components/slider/slider-old.component.js +2 -2
  602. package/esm5/components/slider/slider-options.js +4 -4
  603. package/esm5/components/slider/slider.component.js +9 -9
  604. package/esm5/components/slider/slider.module.js +6 -3
  605. package/esm5/components/stepper/step/step.component.js +12 -12
  606. package/esm5/components/stepper/stepper.component.js +15 -15
  607. package/esm5/components/tabs/tab/tab.component.js +8 -8
  608. package/esm5/components/tabs/tab/tab.providers.js +4 -4
  609. package/esm5/components/tabs/tabs/tabs.component.js +13 -13
  610. package/esm5/components/tabs/tabs-options.js +2 -2
  611. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +11 -9
  612. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -2
  613. package/esm5/components/tabs/underline/underline.component.js +13 -13
  614. package/esm5/components/tag/tag-options.js +4 -4
  615. package/esm5/components/tag/tag.component.js +22 -22
  616. package/esm5/components/text-area/text-area.component.js +17 -17
  617. package/esm5/components/text-area/text-area.directive.js +2 -2
  618. package/esm5/components/toggle/toggle-options.js +5 -5
  619. package/esm5/components/toggle/toggle.component.js +8 -8
  620. package/esm5/components/tree/components/tree/tree.component.js +3 -3
  621. package/esm5/components/tree/components/tree-item/tree-item.component.js +4 -4
  622. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  623. package/esm5/components/tree/directives/tree-children.directive.js +2 -2
  624. package/esm5/components/tree/directives/tree-controller.directive.js +4 -4
  625. package/esm5/components/tree/directives/tree-item-controller.directive.js +4 -4
  626. package/esm5/components/tree/directives/tree-node.directive.js +3 -3
  627. package/esm5/components/tree/misc/tree.tokens.js +9 -9
  628. package/esm5/constants/date-time-separator.js +2 -2
  629. package/esm5/constants/group-class-names.js +10 -10
  630. package/esm5/constants/icon-blank.js +2 -2
  631. package/esm5/constants/masks.js +7 -7
  632. package/esm5/constants/router-link-options.js +2 -2
  633. package/esm5/directives/dropdown-context/dropdown-context.directive.js +11 -11
  634. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +7 -7
  635. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +13 -13
  636. package/esm5/directives/highlight/highlight.directive.js +11 -11
  637. package/esm5/directives/lazy-loading/lazy-loading.directive.js +12 -12
  638. package/esm5/directives/present/present.directive.js +6 -6
  639. package/esm5/directives/project-class/project-class.directive.js +3 -3
  640. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  641. package/esm5/directives/value-accessor/value-accessor.directive.js +2 -2
  642. package/esm5/enums/borders.js +1 -1
  643. package/esm5/enums/dropdown-position.js +1 -1
  644. package/esm5/enums/file-state.js +1 -1
  645. package/esm5/enums/marker-icon-mode.js +1 -1
  646. package/esm5/enums/status.js +1 -1
  647. package/esm5/enums/step-state.js +1 -1
  648. package/esm5/enums/text-align.js +1 -1
  649. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  650. package/esm5/pipes/field-error/field-error-content-pipe.js +4 -4
  651. package/esm5/pipes/field-error/field-error-pipe.js +6 -6
  652. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +2 -2
  653. package/esm5/pipes/filter-by-input/filter-by-input.base.js +3 -3
  654. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +2 -2
  655. package/esm5/pipes/stringify/stringify.pipe.js +3 -3
  656. package/esm5/pipes/stringify-content/stringify-content.pipe.js +2 -2
  657. package/esm5/providers/month-formatter.provider.js +2 -2
  658. package/esm5/providers/specific-dropdown-controllers.js +3 -3
  659. package/esm5/tokens/calendar-data-stream.js +2 -2
  660. package/esm5/tokens/date-inputs-value-transformers.js +4 -4
  661. package/esm5/tokens/i18n.js +28 -28
  662. package/esm5/tokens/items-handlers.js +2 -2
  663. package/esm5/tokens/mobile-aware.js +2 -2
  664. package/esm5/tokens/mobile-calendar.js +2 -2
  665. package/esm5/tokens/month-formatter.js +2 -2
  666. package/esm5/tokens/tab-margin.js +2 -2
  667. package/esm5/tokens/tag-status.js +2 -2
  668. package/esm5/tokens/validation-errors.js +2 -2
  669. package/esm5/utils/dom/get-word-range.js +5 -5
  670. package/esm5/utils/files/format-size.js +2 -2
  671. package/esm5/utils/files/get-accept-array.js +2 -2
  672. package/esm5/utils/format/string-hash-to-hsl.js +3 -3
  673. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +2 -2
  674. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  675. package/esm5/utils/mask/create-date-mask.js +5 -5
  676. package/esm5/utils/mask/create-date-range-mask.js +2 -2
  677. package/esm5/utils/mask/create-time-mask.js +2 -2
  678. package/esm5/utils/math/horizontal-direction-to-number.js +3 -3
  679. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  680. package/esm5/utils/miscellaneous/get-precision.js +2 -2
  681. package/esm5/validators/unfinished.validator.js +2 -2
  682. package/fesm2015/taiga-ui-kit-abstract.js +22 -22
  683. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  684. package/fesm2015/taiga-ui-kit-components-accordion.js +13 -13
  685. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  686. package/fesm2015/taiga-ui-kit-components-action.js +8 -8
  687. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  688. package/fesm2015/taiga-ui-kit-components-arrow.js +5 -5
  689. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  690. package/fesm2015/taiga-ui-kit-components-avatar.js +13 -13
  691. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  692. package/fesm2015/taiga-ui-kit-components-badge.js +14 -14
  693. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  694. package/fesm2015/taiga-ui-kit-components-badged-content.js +21 -21
  695. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  696. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +7 -7
  697. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  698. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  699. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  700. package/fesm2015/taiga-ui-kit-components-calendar-range.js +3 -3
  701. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  702. package/fesm2015/taiga-ui-kit-components-carousel.js +18 -18
  703. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  704. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +8 -8
  705. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  706. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  707. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  708. package/fesm2015/taiga-ui-kit-components-checkbox.js +3 -3
  709. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  710. package/fesm2015/taiga-ui-kit-components-combo-box.js +9 -9
  711. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  712. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +4 -4
  713. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  714. package/fesm2015/taiga-ui-kit-components-field-error.js +5 -5
  715. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  716. package/fesm2015/taiga-ui-kit-components-files.js +20 -20
  717. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  718. package/fesm2015/taiga-ui-kit-components-filter.js +3 -3
  719. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  720. package/fesm2015/taiga-ui-kit-components-input-copy.js +8 -8
  721. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  722. package/fesm2015/taiga-ui-kit-components-input-count.js +19 -19
  723. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  724. package/fesm2015/taiga-ui-kit-components-input-date-range.js +14 -14
  725. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  726. package/fesm2015/taiga-ui-kit-components-input-date-time.js +16 -16
  727. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  728. package/fesm2015/taiga-ui-kit-components-input-date.js +10 -10
  729. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  730. package/fesm2015/taiga-ui-kit-components-input-file.js +34 -34
  731. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  732. package/fesm2015/taiga-ui-kit-components-input-files.js +24 -17
  733. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  734. package/fesm2015/taiga-ui-kit-components-input-inline.js +4 -4
  735. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  736. package/fesm2015/taiga-ui-kit-components-input-month-range.js +9 -10
  737. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  738. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -5
  739. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  740. package/fesm2015/taiga-ui-kit-components-input-number.js +22 -22
  741. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  742. package/fesm2015/taiga-ui-kit-components-input-password.js +9 -9
  743. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  744. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +230 -229
  745. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  746. package/fesm2015/taiga-ui-kit-components-input-phone.js +36 -36
  747. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  748. package/fesm2015/taiga-ui-kit-components-input-range.js +16 -16
  749. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  750. package/fesm2015/taiga-ui-kit-components-input-slider.js +30 -22
  751. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  752. package/fesm2015/taiga-ui-kit-components-input-tag.js +24 -24
  753. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  754. package/fesm2015/taiga-ui-kit-components-input-time.js +13 -13
  755. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  756. package/fesm2015/taiga-ui-kit-components-input.js +5 -5
  757. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  758. package/fesm2015/taiga-ui-kit-components-island.js +18 -18
  759. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  760. package/fesm2015/taiga-ui-kit-components-line-clamp.js +19 -13
  761. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  762. package/fesm2015/taiga-ui-kit-components-marker-icon.js +6 -6
  763. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  764. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +2 -2
  765. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  766. package/fesm2015/taiga-ui-kit-components-multi-select.js +17 -17
  767. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  768. package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
  769. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  770. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +10 -10
  771. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  772. package/fesm2015/taiga-ui-kit-components-progress.js +26 -26
  773. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  774. package/fesm2015/taiga-ui-kit-components-radio-block.js +9 -9
  775. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  776. package/fesm2015/taiga-ui-kit-components-radio-group.js +1 -1
  777. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  778. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +5 -5
  779. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  780. package/fesm2015/taiga-ui-kit-components-radio-list.js +5 -5
  781. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  782. package/fesm2015/taiga-ui-kit-components-radio.js +8 -8
  783. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  784. package/fesm2015/taiga-ui-kit-components-range.js +31 -31
  785. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  786. package/fesm2015/taiga-ui-kit-components-rating.js +7 -7
  787. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  788. package/fesm2015/taiga-ui-kit-components-select-option.js +2 -2
  789. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  790. package/fesm2015/taiga-ui-kit-components-select.js +6 -6
  791. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  792. package/fesm2015/taiga-ui-kit-components-slider.js +136 -100
  793. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  794. package/fesm2015/taiga-ui-kit-components-stepper.js +25 -25
  795. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  796. package/fesm2015/taiga-ui-kit-components-tabs.js +46 -44
  797. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  798. package/fesm2015/taiga-ui-kit-components-tag.js +24 -24
  799. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  800. package/fesm2015/taiga-ui-kit-components-text-area.js +17 -17
  801. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  802. package/fesm2015/taiga-ui-kit-components-toggle.js +11 -11
  803. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  804. package/fesm2015/taiga-ui-kit-components-tree.js +24 -24
  805. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  806. package/fesm2015/taiga-ui-kit-constants.js +18 -18
  807. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  808. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +10 -10
  809. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  810. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +4 -4
  811. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  812. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +12 -12
  813. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  814. package/fesm2015/taiga-ui-kit-directives-highlight.js +10 -10
  815. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  816. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +11 -11
  817. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  818. package/fesm2015/taiga-ui-kit-directives-present.js +5 -5
  819. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  820. package/fesm2015/taiga-ui-kit-directives-project-class.js +2 -2
  821. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  822. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  823. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  824. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +1 -1
  825. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  826. package/fesm2015/taiga-ui-kit-enums.js.map +1 -1
  827. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  828. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  829. package/fesm2015/taiga-ui-kit-pipes-field-error.js +8 -8
  830. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  831. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +4 -4
  832. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  833. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +1 -1
  834. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  835. package/fesm2015/taiga-ui-kit-pipes-stringify.js +2 -2
  836. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  837. package/fesm2015/taiga-ui-kit-providers.js +3 -3
  838. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  839. package/fesm2015/taiga-ui-kit-tokens.js +38 -38
  840. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  841. package/fesm2015/taiga-ui-kit-utils-dom.js +4 -4
  842. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  843. package/fesm2015/taiga-ui-kit-utils-files.js +2 -2
  844. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  845. package/fesm2015/taiga-ui-kit-utils-format.js +2 -2
  846. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  847. package/fesm2015/taiga-ui-kit-utils-mask.js +14 -14
  848. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  849. package/fesm2015/taiga-ui-kit-utils-math.js +2 -2
  850. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  851. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +7 -7
  852. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  853. package/fesm2015/taiga-ui-kit-validators.js +1 -1
  854. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  855. package/fesm5/taiga-ui-kit-abstract.js +22 -22
  856. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  857. package/fesm5/taiga-ui-kit-components-accordion.js +13 -13
  858. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  859. package/fesm5/taiga-ui-kit-components-action.js +8 -8
  860. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  861. package/fesm5/taiga-ui-kit-components-arrow.js +5 -5
  862. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  863. package/fesm5/taiga-ui-kit-components-avatar.js +13 -13
  864. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  865. package/fesm5/taiga-ui-kit-components-badge.js +14 -14
  866. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  867. package/fesm5/taiga-ui-kit-components-badged-content.js +21 -21
  868. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  869. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +7 -7
  870. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  871. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  872. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  873. package/fesm5/taiga-ui-kit-components-calendar-range.js +3 -3
  874. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  875. package/fesm5/taiga-ui-kit-components-carousel.js +18 -18
  876. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  877. package/fesm5/taiga-ui-kit-components-checkbox-block.js +8 -8
  878. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  879. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  880. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  881. package/fesm5/taiga-ui-kit-components-checkbox.js +3 -3
  882. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  883. package/fesm5/taiga-ui-kit-components-combo-box.js +9 -9
  884. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  885. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +4 -4
  886. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  887. package/fesm5/taiga-ui-kit-components-field-error.js +5 -5
  888. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  889. package/fesm5/taiga-ui-kit-components-files.js +20 -20
  890. package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
  891. package/fesm5/taiga-ui-kit-components-filter.js +3 -3
  892. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  893. package/fesm5/taiga-ui-kit-components-input-copy.js +8 -8
  894. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  895. package/fesm5/taiga-ui-kit-components-input-count.js +19 -19
  896. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  897. package/fesm5/taiga-ui-kit-components-input-date-range.js +14 -14
  898. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  899. package/fesm5/taiga-ui-kit-components-input-date-time.js +16 -16
  900. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  901. package/fesm5/taiga-ui-kit-components-input-date.js +10 -10
  902. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  903. package/fesm5/taiga-ui-kit-components-input-file.js +34 -34
  904. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  905. package/fesm5/taiga-ui-kit-components-input-files.js +24 -17
  906. package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
  907. package/fesm5/taiga-ui-kit-components-input-inline.js +4 -4
  908. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  909. package/fesm5/taiga-ui-kit-components-input-month-range.js +9 -10
  910. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  911. package/fesm5/taiga-ui-kit-components-input-month.js +5 -5
  912. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  913. package/fesm5/taiga-ui-kit-components-input-number.js +22 -22
  914. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  915. package/fesm5/taiga-ui-kit-components-input-password.js +9 -9
  916. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  917. package/fesm5/taiga-ui-kit-components-input-phone-international.js +230 -229
  918. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  919. package/fesm5/taiga-ui-kit-components-input-phone.js +36 -36
  920. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  921. package/fesm5/taiga-ui-kit-components-input-range.js +16 -16
  922. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  923. package/fesm5/taiga-ui-kit-components-input-slider.js +34 -22
  924. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  925. package/fesm5/taiga-ui-kit-components-input-tag.js +24 -24
  926. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  927. package/fesm5/taiga-ui-kit-components-input-time.js +13 -13
  928. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  929. package/fesm5/taiga-ui-kit-components-input.js +5 -5
  930. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  931. package/fesm5/taiga-ui-kit-components-island.js +18 -18
  932. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  933. package/fesm5/taiga-ui-kit-components-line-clamp.js +19 -13
  934. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  935. package/fesm5/taiga-ui-kit-components-marker-icon.js +6 -6
  936. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  937. package/fesm5/taiga-ui-kit-components-multi-select-option.js +2 -2
  938. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  939. package/fesm5/taiga-ui-kit-components-multi-select.js +17 -17
  940. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  941. package/fesm5/taiga-ui-kit-components-pagination.js +7 -7
  942. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  943. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +10 -10
  944. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  945. package/fesm5/taiga-ui-kit-components-progress.js +26 -26
  946. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  947. package/fesm5/taiga-ui-kit-components-radio-block.js +9 -9
  948. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  949. package/fesm5/taiga-ui-kit-components-radio-group.js +1 -1
  950. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  951. package/fesm5/taiga-ui-kit-components-radio-labeled.js +5 -5
  952. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  953. package/fesm5/taiga-ui-kit-components-radio-list.js +5 -5
  954. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  955. package/fesm5/taiga-ui-kit-components-radio.js +8 -8
  956. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  957. package/fesm5/taiga-ui-kit-components-range.js +33 -33
  958. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  959. package/fesm5/taiga-ui-kit-components-rating.js +7 -7
  960. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  961. package/fesm5/taiga-ui-kit-components-select-option.js +2 -2
  962. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  963. package/fesm5/taiga-ui-kit-components-select.js +6 -6
  964. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  965. package/fesm5/taiga-ui-kit-components-slider.js +159 -108
  966. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  967. package/fesm5/taiga-ui-kit-components-stepper.js +25 -25
  968. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  969. package/fesm5/taiga-ui-kit-components-tabs.js +46 -44
  970. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  971. package/fesm5/taiga-ui-kit-components-tag.js +24 -24
  972. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  973. package/fesm5/taiga-ui-kit-components-text-area.js +17 -17
  974. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  975. package/fesm5/taiga-ui-kit-components-toggle.js +11 -11
  976. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  977. package/fesm5/taiga-ui-kit-components-tree.js +24 -24
  978. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  979. package/fesm5/taiga-ui-kit-constants.js +18 -18
  980. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  981. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +10 -10
  982. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  983. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +6 -6
  984. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  985. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +12 -12
  986. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  987. package/fesm5/taiga-ui-kit-directives-highlight.js +10 -10
  988. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  989. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +11 -11
  990. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  991. package/fesm5/taiga-ui-kit-directives-present.js +5 -5
  992. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  993. package/fesm5/taiga-ui-kit-directives-project-class.js +2 -2
  994. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  995. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  996. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  997. package/fesm5/taiga-ui-kit-directives-value-accessor.js +1 -1
  998. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  999. package/fesm5/taiga-ui-kit-enums.js.map +1 -1
  1000. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  1001. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1002. package/fesm5/taiga-ui-kit-pipes-field-error.js +8 -8
  1003. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1004. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +4 -4
  1005. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1006. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +1 -1
  1007. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1008. package/fesm5/taiga-ui-kit-pipes-stringify.js +2 -2
  1009. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1010. package/fesm5/taiga-ui-kit-providers.js +3 -3
  1011. package/fesm5/taiga-ui-kit-providers.js.map +1 -1
  1012. package/fesm5/taiga-ui-kit-tokens.js +38 -38
  1013. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  1014. package/fesm5/taiga-ui-kit-utils-dom.js +4 -4
  1015. package/fesm5/taiga-ui-kit-utils-dom.js.map +1 -1
  1016. package/fesm5/taiga-ui-kit-utils-files.js +2 -2
  1017. package/fesm5/taiga-ui-kit-utils-files.js.map +1 -1
  1018. package/fesm5/taiga-ui-kit-utils-format.js +2 -2
  1019. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  1020. package/fesm5/taiga-ui-kit-utils-mask.js +12 -12
  1021. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  1022. package/fesm5/taiga-ui-kit-utils-math.js +2 -2
  1023. package/fesm5/taiga-ui-kit-utils-math.js.map +1 -1
  1024. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +7 -7
  1025. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1026. package/fesm5/taiga-ui-kit-validators.js +1 -1
  1027. package/fesm5/taiga-ui-kit-validators.js.map +1 -1
  1028. package/package.json +4 -4
  1029. package/esm2015/components/slider/slider-key-steps.directive.js +0 -103
  1030. package/esm2015/components/slider/slider-readonly.directive.js +0 -79
  1031. package/esm5/components/slider/slider-key-steps.directive.js +0 -129
  1032. package/esm5/components/slider/slider-readonly.directive.js +0 -87
@@ -5,28 +5,28 @@ import { CommonModule } from '@angular/common';
5
5
 
6
6
  let TuiIslandComponent = class TuiIslandComponent {
7
7
  constructor() {
8
- this.size = 'm';
9
- this.textAlign = 'left';
8
+ this.size = `m`;
9
+ this.textAlign = `left`;
10
10
  this.hoverable = false;
11
11
  this.transparent = false;
12
12
  }
13
13
  get sizeS() {
14
- return this.size === 's';
14
+ return this.size === `s`;
15
15
  }
16
16
  get sizeM() {
17
- return this.size === 'm';
17
+ return this.size === `m`;
18
18
  }
19
19
  get sizeL() {
20
- return this.size === 'l';
20
+ return this.size === `l`;
21
21
  }
22
22
  get textAlignLeft() {
23
- return this.textAlign === 'left';
23
+ return this.textAlign === `left`;
24
24
  }
25
25
  get textAlignCenter() {
26
- return this.textAlign === 'center';
26
+ return this.textAlign === `center`;
27
27
  }
28
28
  get textAlignRight() {
29
- return this.textAlign === 'right';
29
+ return this.textAlign === `right`;
30
30
  }
31
31
  };
32
32
  __decorate([
@@ -39,39 +39,39 @@ __decorate([
39
39
  ], TuiIslandComponent.prototype, "textAlign", void 0);
40
40
  __decorate([
41
41
  Input(),
42
- HostBinding('class.tui-island_hoverable'),
42
+ HostBinding(`class.tui-island_hoverable`),
43
43
  tuiDefaultProp()
44
44
  ], TuiIslandComponent.prototype, "hoverable", void 0);
45
45
  __decorate([
46
46
  Input(),
47
- HostBinding('class.tui-island_transparent'),
47
+ HostBinding(`class.tui-island_transparent`),
48
48
  tuiDefaultProp()
49
49
  ], TuiIslandComponent.prototype, "transparent", void 0);
50
50
  __decorate([
51
- HostBinding('class.tui-island_size_s')
51
+ HostBinding(`class.tui-island_size_s`)
52
52
  ], TuiIslandComponent.prototype, "sizeS", null);
53
53
  __decorate([
54
- HostBinding('class.tui-island_size_m')
54
+ HostBinding(`class.tui-island_size_m`)
55
55
  ], TuiIslandComponent.prototype, "sizeM", null);
56
56
  __decorate([
57
- HostBinding('class.tui-island_size_l')
57
+ HostBinding(`class.tui-island_size_l`)
58
58
  ], TuiIslandComponent.prototype, "sizeL", null);
59
59
  __decorate([
60
- HostBinding('class.tui-island_text-align_left')
60
+ HostBinding(`class.tui-island_text-align_left`)
61
61
  ], TuiIslandComponent.prototype, "textAlignLeft", null);
62
62
  __decorate([
63
- HostBinding('class.tui-island_text-align_center')
63
+ HostBinding(`class.tui-island_text-align_center`)
64
64
  ], TuiIslandComponent.prototype, "textAlignCenter", null);
65
65
  __decorate([
66
- HostBinding('class.tui-island_text-align_right')
66
+ HostBinding(`class.tui-island_text-align_right`)
67
67
  ], TuiIslandComponent.prototype, "textAlignRight", null);
68
68
  TuiIslandComponent = __decorate([
69
69
  Component({
70
- selector: 'tui-island, a[tuiIsland]',
70
+ selector: `tui-island, a[tuiIsland]`,
71
71
  changeDetection: ChangeDetectionStrategy.OnPush,
72
72
  template: "<ng-content></ng-content>\n",
73
73
  host: {
74
- class: 'tui-island',
74
+ class: `tui-island`,
75
75
  },
76
76
  styles: [":host{display:block}"]
77
77
  })
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-island.js","sources":["ng://@taiga-ui/kit/components/island/island.component.ts","ng://@taiga-ui/kit/components/island/island.module.ts","ng://@taiga-ui/kit/components/island/taiga-ui-kit-components-island.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-island, a[tuiIsland]',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './island.template.html',\n styleUrls: ['./island.style.less'],\n host: {\n class: 'tui-island',\n },\n})\nexport class TuiIslandComponent {\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL | TuiSizeS = 'm';\n\n @Input()\n @tuiDefaultProp()\n textAlign: 'left' | 'right' | 'center' = 'left';\n\n @Input()\n @HostBinding('class.tui-island_hoverable')\n @tuiDefaultProp()\n hoverable = false;\n\n @Input()\n @HostBinding('class.tui-island_transparent')\n @tuiDefaultProp()\n transparent = false;\n\n @HostBinding('class.tui-island_size_s')\n get sizeS(): boolean {\n return this.size === 's';\n }\n\n @HostBinding('class.tui-island_size_m')\n get sizeM(): boolean {\n return this.size === 'm';\n }\n\n @HostBinding('class.tui-island_size_l')\n get sizeL(): boolean {\n return this.size === 'l';\n }\n\n @HostBinding('class.tui-island_text-align_left')\n get textAlignLeft(): boolean {\n return this.textAlign === 'left';\n }\n\n @HostBinding('class.tui-island_text-align_center')\n get textAlignCenter(): boolean {\n return this.textAlign === 'center';\n }\n\n @HostBinding('class.tui-island_text-align_right')\n get textAlignRight(): boolean {\n return this.textAlign === 'right';\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {TuiIslandComponent} from './island.component';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TuiIslandComponent],\n exports: [TuiIslandComponent],\n})\nexport class TuiIslandModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAaa,kBAAkB,GAA/B,MAAa,kBAAkB;IAA/B;QAGI,SAAI,GAAwB,GAAG,CAAC;QAIhC,cAAS,GAAgC,MAAM,CAAC;QAKhD,cAAS,GAAG,KAAK,CAAC;QAKlB,gBAAW,GAAG,KAAK,CAAC;KA+BvB;IA5BG,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,IAAI,KAAK,GAAG,CAAC;KAC5B;IAGD,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,IAAI,KAAK,GAAG,CAAC;KAC5B;IAGD,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,IAAI,KAAK,GAAG,CAAC;KAC5B;IAGD,IAAI,aAAa;QACb,OAAO,IAAI,CAAC,SAAS,KAAK,MAAM,CAAC;KACpC;IAGD,IAAI,eAAe;QACf,OAAO,IAAI,CAAC,SAAS,KAAK,QAAQ,CAAC;KACtC;IAGD,IAAI,cAAc;QACd,OAAO,IAAI,CAAC,SAAS,KAAK,OAAO,CAAC;KACrC;EACJ;AA7CG;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;gDACe;AAIhC;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;qDAC+B;AAKhD;IAHC,KAAK,EAAE;IACP,WAAW,CAAC,4BAA4B,CAAC;IACzC,cAAc,EAAE;qDACC;AAKlB;IAHC,KAAK,EAAE;IACP,WAAW,CAAC,8BAA8B,CAAC;IAC3C,cAAc,EAAE;uDACG;AAGpB;IADC,WAAW,CAAC,yBAAyB,CAAC;+CAGtC;AAGD;IADC,WAAW,CAAC,yBAAyB,CAAC;+CAGtC;AAGD;IADC,WAAW,CAAC,yBAAyB,CAAC;+CAGtC;AAGD;IADC,WAAW,CAAC,kCAAkC,CAAC;uDAG/C;AAGD;IADC,WAAW,CAAC,oCAAoC,CAAC;yDAGjD;AAGD;IADC,WAAW,CAAC,mCAAmC,CAAC;wDAGhD;AA/CQ,kBAAkB;IAT9B,SAAS,CAAC;QACP,QAAQ,EAAE,0BAA0B;QACpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,uCAAqC;QAErC,IAAI,EAAE;YACF,KAAK,EAAE,YAAY;SACtB;;KACJ,CAAC;GACW,kBAAkB,CAgD9B;;ICnDY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAL3B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,YAAY,CAAC;QACvB,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAChC,CAAC;GACW,eAAe,CAAG;;ACV/B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-island.js","sources":["ng://@taiga-ui/kit/components/island/island.component.ts","ng://@taiga-ui/kit/components/island/island.module.ts","ng://@taiga-ui/kit/components/island/taiga-ui-kit-components-island.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\n\n@Component({\n selector: `tui-island, a[tuiIsland]`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: `./island.template.html`,\n styleUrls: [`./island.style.less`],\n host: {\n class: `tui-island`,\n },\n})\nexport class TuiIslandComponent {\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL | TuiSizeS = `m`;\n\n @Input()\n @tuiDefaultProp()\n textAlign: 'left' | 'right' | 'center' = `left`;\n\n @Input()\n @HostBinding(`class.tui-island_hoverable`)\n @tuiDefaultProp()\n hoverable = false;\n\n @Input()\n @HostBinding(`class.tui-island_transparent`)\n @tuiDefaultProp()\n transparent = false;\n\n @HostBinding(`class.tui-island_size_s`)\n get sizeS(): boolean {\n return this.size === `s`;\n }\n\n @HostBinding(`class.tui-island_size_m`)\n get sizeM(): boolean {\n return this.size === `m`;\n }\n\n @HostBinding(`class.tui-island_size_l`)\n get sizeL(): boolean {\n return this.size === `l`;\n }\n\n @HostBinding(`class.tui-island_text-align_left`)\n get textAlignLeft(): boolean {\n return this.textAlign === `left`;\n }\n\n @HostBinding(`class.tui-island_text-align_center`)\n get textAlignCenter(): boolean {\n return this.textAlign === `center`;\n }\n\n @HostBinding(`class.tui-island_text-align_right`)\n get textAlignRight(): boolean {\n return this.textAlign === `right`;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {TuiIslandComponent} from './island.component';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [TuiIslandComponent],\n exports: [TuiIslandComponent],\n})\nexport class TuiIslandModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAaa,kBAAkB,GAA/B,MAAa,kBAAkB;IAA/B;QAGI,SAAI,GAAwB,GAAG,CAAC;QAIhC,cAAS,GAAgC,MAAM,CAAC;QAKhD,cAAS,GAAG,KAAK,CAAC;QAKlB,gBAAW,GAAG,KAAK,CAAC;KA+BvB;IA5BG,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,IAAI,KAAK,GAAG,CAAC;KAC5B;IAGD,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,IAAI,KAAK,GAAG,CAAC;KAC5B;IAGD,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,IAAI,KAAK,GAAG,CAAC;KAC5B;IAGD,IAAI,aAAa;QACb,OAAO,IAAI,CAAC,SAAS,KAAK,MAAM,CAAC;KACpC;IAGD,IAAI,eAAe;QACf,OAAO,IAAI,CAAC,SAAS,KAAK,QAAQ,CAAC;KACtC;IAGD,IAAI,cAAc;QACd,OAAO,IAAI,CAAC,SAAS,KAAK,OAAO,CAAC;KACrC;EACJ;AA7CG;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;gDACe;AAIhC;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;qDAC+B;AAKhD;IAHC,KAAK,EAAE;IACP,WAAW,CAAC,4BAA4B,CAAC;IACzC,cAAc,EAAE;qDACC;AAKlB;IAHC,KAAK,EAAE;IACP,WAAW,CAAC,8BAA8B,CAAC;IAC3C,cAAc,EAAE;uDACG;AAGpB;IADC,WAAW,CAAC,yBAAyB,CAAC;+CAGtC;AAGD;IADC,WAAW,CAAC,yBAAyB,CAAC;+CAGtC;AAGD;IADC,WAAW,CAAC,yBAAyB,CAAC;+CAGtC;AAGD;IADC,WAAW,CAAC,kCAAkC,CAAC;uDAG/C;AAGD;IADC,WAAW,CAAC,oCAAoC,CAAC;yDAGjD;AAGD;IADC,WAAW,CAAC,mCAAmC,CAAC;wDAGhD;AA/CQ,kBAAkB;IAT9B,SAAS,CAAC;QACP,QAAQ,EAAE,0BAA0B;QACpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,uCAAqC;QAErC,IAAI,EAAE;YACF,KAAK,EAAE,YAAY;SACtB;;KACJ,CAAC;GACW,kBAAkB,CAgD9B;;ICnDY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAL3B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,YAAY,CAAC;QACvB,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAChC,CAAC;GACW,eAAe,CAAG;;ACV/B;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __param } from 'tslib';
2
2
  import { InjectionToken, ElementRef, Inject, Renderer2, ChangeDetectorRef, NgZone, ViewChild, Input, Output, HostBinding, HostListener, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { typedFromEvent, isCurrentTarget, tuiDefaultProp, tuiPure, TuiResizeModule } from '@taiga-ui/cdk';
3
+ import { typedFromEvent, isCurrentTarget, tuiDefaultProp, tuiPure, TuiResizeModule, TuiLetModule } from '@taiga-ui/cdk';
4
4
  import { PolymorpheusOutletComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
5
5
  import { BehaviorSubject, Subject, of } from 'rxjs';
6
6
  import { distinctUntilChanged, startWith, pairwise, switchMap, filter, mapTo } from 'rxjs/operators';
@@ -10,7 +10,7 @@ import { TuiHintModule } from '@taiga-ui/core';
10
10
  const TUI_LINE_CLAMP_DEFAULT_OPTIONS = {
11
11
  showHint: true,
12
12
  };
13
- const TUI_LINE_CLAMP_OPTIONS = new InjectionToken('Default parameters for line-clamp component', {
13
+ const TUI_LINE_CLAMP_OPTIONS = new InjectionToken(`Default parameters for line-clamp component`, {
14
14
  factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,
15
15
  });
16
16
  const tuiLineClampOptionsProvider = (options) => ({
@@ -29,7 +29,7 @@ let TuiLineClampComponent = class TuiLineClampComponent {
29
29
  this.isOverflown$ = new Subject();
30
30
  this.initialized = false;
31
31
  this.lineHeight = 24;
32
- this.content = '';
32
+ this.content = ``;
33
33
  this.overflownChange = this.isOverflown$.pipe(distinctUntilChanged());
34
34
  this.skipInitialTransition();
35
35
  }
@@ -39,7 +39,7 @@ let TuiLineClampComponent = class TuiLineClampComponent {
39
39
  get lineClamp$() {
40
40
  return this.linesLimit$.pipe(startWith(1), pairwise(), switchMap(([prev, next]) => next >= prev
41
41
  ? of(next)
42
- : typedFromEvent(this.elementRef.nativeElement, 'transitionend').pipe(filter(isCurrentTarget), mapTo(next))));
42
+ : typedFromEvent(this.elementRef.nativeElement, `transitionend`).pipe(filter(isCurrentTarget), mapTo(next))));
43
43
  }
44
44
  get overflown() {
45
45
  if (!this.outlet) {
@@ -51,7 +51,7 @@ let TuiLineClampComponent = class TuiLineClampComponent {
51
51
  return scrollHeight - clientHeight > 4 || scrollWidth - clientWidth > 0;
52
52
  }
53
53
  get computedContent() {
54
- return this.options.showHint && this.overflown ? this.content : '';
54
+ return this.options.showHint && this.overflown ? this.content : ``;
55
55
  }
56
56
  get maxHeight() {
57
57
  return this.initialized ? this.lineHeight * this.linesLimit$.value : null;
@@ -71,7 +71,7 @@ let TuiLineClampComponent = class TuiLineClampComponent {
71
71
  skipInitialTransition() {
72
72
  this.ngZone.runOutsideAngular(() => {
73
73
  setTimeout(() => {
74
- this.renderer.addClass(this.elementRef.nativeElement, '_initialized');
74
+ this.renderer.addClass(this.elementRef.nativeElement, `_initialized`);
75
75
  this.cd.detectChanges();
76
76
  });
77
77
  });
@@ -106,20 +106,20 @@ __decorate([
106
106
  tuiPure
107
107
  ], TuiLineClampComponent.prototype, "lineClamp$", null);
108
108
  __decorate([
109
- HostBinding('style.maxHeight.px')
109
+ HostBinding(`style.maxHeight.px`)
110
110
  ], TuiLineClampComponent.prototype, "maxHeight", null);
111
111
  __decorate([
112
- HostBinding('style.height.px')
112
+ HostBinding(`style.height.px`)
113
113
  ], TuiLineClampComponent.prototype, "height", null);
114
114
  __decorate([
115
- HostListener('transitionend')
115
+ HostListener(`transitionend`)
116
116
  ], TuiLineClampComponent.prototype, "updateView", null);
117
117
  TuiLineClampComponent = __decorate([
118
118
  Component({
119
- selector: 'tui-line-clamp',
120
- template: "<div\n polymorpheus-outlet\n tuiHintId=\"unnecessary\"\n tuiHintMode=\"overflow\"\n class=\"wrapper\"\n [tuiHint]=\"computedContent\"\n [style.-webkit-line-clamp]=\"lineClamp$ | async\"\n [content]=\"content\"\n (tuiResize)=\"updateView()\"\n></div>\n",
119
+ selector: `tui-line-clamp`,
120
+ template: "<div\n *tuiLet=\"lineClamp$ | async as lineClamp\"\n polymorpheus-outlet\n tuiHintId=\"unnecessary\"\n tuiHintMode=\"overflow\"\n class=\"t-wrapper\"\n [tuiHint]=\"computedContent\"\n [content]=\"content\"\n [style.-webkit-line-clamp]=\"lineClamp\"\n [style.word-break]=\"lineClamp > 1 ? 'break-word' : 'break-all'\"\n (tuiResize)=\"updateView()\"\n></div>\n",
121
121
  changeDetection: ChangeDetectionStrategy.OnPush,
122
- styles: [":host{position:relative;display:block;overflow:hidden}:host._initialized{transition-property:max-height;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out}.wrapper{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}"]
122
+ styles: [":host{position:relative;display:block;overflow:hidden}:host._initialized{transition-property:max-height;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out}.t-wrapper{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}"]
123
123
  }),
124
124
  __param(0, Inject(ElementRef)),
125
125
  __param(1, Inject(Renderer2)),
@@ -132,7 +132,13 @@ let TuiLineClampModule = class TuiLineClampModule {
132
132
  };
133
133
  TuiLineClampModule = __decorate([
134
134
  NgModule({
135
- imports: [CommonModule, PolymorpheusModule, TuiHintModule, TuiResizeModule],
135
+ imports: [
136
+ CommonModule,
137
+ PolymorpheusModule,
138
+ TuiHintModule,
139
+ TuiResizeModule,
140
+ TuiLetModule,
141
+ ],
136
142
  declarations: [TuiLineClampComponent],
137
143
  exports: [TuiLineClampComponent],
138
144
  })
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-line-clamp.js","sources":["ng://@taiga-ui/kit/components/line-clamp/line-clamp-options.ts","ng://@taiga-ui/kit/components/line-clamp/line-clamp.component.ts","ng://@taiga-ui/kit/components/line-clamp/line-clamp.module.ts","ng://@taiga-ui/kit/components/line-clamp/taiga-ui-kit-components-line-clamp.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiLineClampOptions {\n readonly showHint: boolean;\n}\n\nexport const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions = {\n showHint: true,\n};\n\nexport const TUI_LINE_CLAMP_OPTIONS = new InjectionToken<TuiLineClampOptions>(\n 'Default parameters for line-clamp component',\n {\n factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiLineClampOptionsProvider: (\n options: Partial<TuiLineClampOptions>,\n) => ValueProvider = (options: Partial<TuiLineClampOptions>) => ({\n provide: TUI_LINE_CLAMP_OPTIONS,\n useValue: {...TUI_LINE_CLAMP_DEFAULT_OPTIONS, ...options},\n});\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DoCheck,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n NgZone,\n Output,\n Renderer2,\n ViewChild,\n} from '@angular/core';\nimport {isCurrentTarget, tuiDefaultProp, tuiPure, typedFromEvent} from '@taiga-ui/cdk';\nimport {PolymorpheusContent, PolymorpheusOutletComponent} from '@tinkoff/ng-polymorpheus';\nimport {BehaviorSubject, Observable, of, Subject} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n mapTo,\n pairwise,\n startWith,\n switchMap,\n} from 'rxjs/operators';\n\nimport {TUI_LINE_CLAMP_OPTIONS, TuiLineClampOptions} from './line-clamp-options';\n\n@Component({\n selector: 'tui-line-clamp',\n templateUrl: './line-clamp.template.html',\n styleUrls: ['./line-clamp.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiLineClampComponent implements AfterViewInit, DoCheck {\n @ViewChild(PolymorpheusOutletComponent, {read: ElementRef})\n private readonly outlet?: ElementRef<HTMLElement>;\n\n private readonly linesLimit$ = new BehaviorSubject(1);\n private readonly isOverflown$ = new Subject<boolean>();\n private initialized = false;\n\n @Input()\n @tuiDefaultProp()\n set linesLimit(linesLimit: number) {\n this.linesLimit$.next(linesLimit);\n }\n\n @Input()\n @tuiDefaultProp()\n lineHeight = 24;\n\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent = '';\n\n @Output()\n readonly overflownChange: Observable<boolean> = this.isOverflown$.pipe(\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(ChangeDetectorRef) private readonly cd: ChangeDetectorRef,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(TUI_LINE_CLAMP_OPTIONS) private readonly options: TuiLineClampOptions,\n ) {\n this.skipInitialTransition();\n }\n\n @tuiPure\n get lineClamp$(): Observable<number> {\n return this.linesLimit$.pipe(\n startWith(1),\n pairwise(),\n switchMap(([prev, next]) =>\n next >= prev\n ? of(next)\n : typedFromEvent(this.elementRef.nativeElement, 'transitionend').pipe(\n filter(isCurrentTarget),\n mapTo(next),\n ),\n ),\n );\n }\n\n get overflown(): boolean {\n if (!this.outlet) {\n return false;\n }\n\n const {scrollHeight, scrollWidth} = this.outlet.nativeElement;\n const {clientHeight, clientWidth} = this.elementRef.nativeElement;\n\n // 4px buffer for IE/Edge incorrectly rounding scrollHeight\n return scrollHeight - clientHeight > 4 || scrollWidth - clientWidth > 0;\n }\n\n get computedContent(): PolymorpheusContent {\n return this.options.showHint && this.overflown ? this.content : '';\n }\n\n @HostBinding('style.maxHeight.px')\n get maxHeight(): number | null {\n return this.initialized ? this.lineHeight * this.linesLimit$.value : null;\n }\n\n @HostBinding('style.height.px')\n get height(): number | null {\n return !this.outlet ? 0 : this.outlet.nativeElement.scrollHeight + 4 || null;\n }\n\n @HostListener('transitionend')\n updateView(): void {\n this.cd.detectChanges();\n }\n\n ngAfterViewInit(): void {\n this.initialized = true;\n }\n\n ngDoCheck(): void {\n this.isOverflown$.next(this.overflown);\n }\n\n private skipInitialTransition(): void {\n this.ngZone.runOutsideAngular(() => {\n setTimeout(() => {\n this.renderer.addClass(this.elementRef.nativeElement, '_initialized');\n this.cd.detectChanges();\n });\n });\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiResizeModule} from '@taiga-ui/cdk';\nimport {TuiHintModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiLineClampComponent} from './line-clamp.component';\n\n@NgModule({\n imports: [CommonModule, PolymorpheusModule, TuiHintModule, TuiResizeModule],\n declarations: [TuiLineClampComponent],\n exports: [TuiLineClampComponent],\n})\nexport class TuiLineClampModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"taiga-ui-kit-components-line-clamp.js","sources":["ng://@taiga-ui/kit/components/line-clamp/line-clamp-options.ts","ng://@taiga-ui/kit/components/line-clamp/line-clamp.component.ts","ng://@taiga-ui/kit/components/line-clamp/line-clamp.module.ts","ng://@taiga-ui/kit/components/line-clamp/taiga-ui-kit-components-line-clamp.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiLineClampOptions {\n readonly showHint: boolean;\n}\n\nexport const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions = {\n showHint: true,\n};\n\nexport const TUI_LINE_CLAMP_OPTIONS = new InjectionToken<TuiLineClampOptions>(\n `Default parameters for line-clamp component`,\n {\n factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiLineClampOptionsProvider: (\n options: Partial<TuiLineClampOptions>,\n) => ValueProvider = (options: Partial<TuiLineClampOptions>) => ({\n provide: TUI_LINE_CLAMP_OPTIONS,\n useValue: {...TUI_LINE_CLAMP_DEFAULT_OPTIONS, ...options},\n});\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DoCheck,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n NgZone,\n Output,\n Renderer2,\n ViewChild,\n} from '@angular/core';\nimport {isCurrentTarget, tuiDefaultProp, tuiPure, typedFromEvent} from '@taiga-ui/cdk';\nimport {PolymorpheusContent, PolymorpheusOutletComponent} from '@tinkoff/ng-polymorpheus';\nimport {BehaviorSubject, Observable, of, Subject} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n mapTo,\n pairwise,\n startWith,\n switchMap,\n} from 'rxjs/operators';\n\nimport {TUI_LINE_CLAMP_OPTIONS, TuiLineClampOptions} from './line-clamp-options';\n\n@Component({\n selector: `tui-line-clamp`,\n templateUrl: `./line-clamp.template.html`,\n styleUrls: [`./line-clamp.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiLineClampComponent implements AfterViewInit, DoCheck {\n @ViewChild(PolymorpheusOutletComponent, {read: ElementRef})\n private readonly outlet?: ElementRef<HTMLElement>;\n\n private readonly linesLimit$ = new BehaviorSubject(1);\n private readonly isOverflown$ = new Subject<boolean>();\n private initialized = false;\n\n @Input()\n @tuiDefaultProp()\n set linesLimit(linesLimit: number) {\n this.linesLimit$.next(linesLimit);\n }\n\n @Input()\n @tuiDefaultProp()\n lineHeight = 24;\n\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent = ``;\n\n @Output()\n readonly overflownChange: Observable<boolean> = this.isOverflown$.pipe(\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(ChangeDetectorRef) private readonly cd: ChangeDetectorRef,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(TUI_LINE_CLAMP_OPTIONS) private readonly options: TuiLineClampOptions,\n ) {\n this.skipInitialTransition();\n }\n\n @tuiPure\n get lineClamp$(): Observable<number> {\n return this.linesLimit$.pipe(\n startWith(1),\n pairwise(),\n switchMap(([prev, next]) =>\n next >= prev\n ? of(next)\n : typedFromEvent(this.elementRef.nativeElement, `transitionend`).pipe(\n filter(isCurrentTarget),\n mapTo(next),\n ),\n ),\n );\n }\n\n get overflown(): boolean {\n if (!this.outlet) {\n return false;\n }\n\n const {scrollHeight, scrollWidth} = this.outlet.nativeElement;\n const {clientHeight, clientWidth} = this.elementRef.nativeElement;\n\n // 4px buffer for IE/Edge incorrectly rounding scrollHeight\n return scrollHeight - clientHeight > 4 || scrollWidth - clientWidth > 0;\n }\n\n get computedContent(): PolymorpheusContent {\n return this.options.showHint && this.overflown ? this.content : ``;\n }\n\n @HostBinding(`style.maxHeight.px`)\n get maxHeight(): number | null {\n return this.initialized ? this.lineHeight * this.linesLimit$.value : null;\n }\n\n @HostBinding(`style.height.px`)\n get height(): number | null {\n return !this.outlet ? 0 : this.outlet.nativeElement.scrollHeight + 4 || null;\n }\n\n @HostListener(`transitionend`)\n updateView(): void {\n this.cd.detectChanges();\n }\n\n ngAfterViewInit(): void {\n this.initialized = true;\n }\n\n ngDoCheck(): void {\n this.isOverflown$.next(this.overflown);\n }\n\n private skipInitialTransition(): void {\n this.ngZone.runOutsideAngular(() => {\n setTimeout(() => {\n this.renderer.addClass(this.elementRef.nativeElement, `_initialized`);\n this.cd.detectChanges();\n });\n });\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule, TuiResizeModule} from '@taiga-ui/cdk';\nimport {TuiHintModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiLineClampComponent} from './line-clamp.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiHintModule,\n TuiResizeModule,\n TuiLetModule,\n ],\n declarations: [TuiLineClampComponent],\n exports: [TuiLineClampComponent],\n})\nexport class TuiLineClampModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
@@ -9,8 +9,8 @@ let TuiMarkerIconComponent = class TuiMarkerIconComponent {
9
9
  constructor(mode$) {
10
10
  this.mode$ = mode$;
11
11
  this.mode = null;
12
- this.size = 'm';
13
- this.src = '';
12
+ this.size = `m`;
13
+ this.src = ``;
14
14
  }
15
15
  };
16
16
  TuiMarkerIconComponent.ctorParameters = () => [
@@ -18,12 +18,12 @@ TuiMarkerIconComponent.ctorParameters = () => [
18
18
  ];
19
19
  __decorate([
20
20
  Input(),
21
- HostBinding('attr.data-marker-mode'),
21
+ HostBinding(`attr.data-marker-mode`),
22
22
  tuiDefaultProp()
23
23
  ], TuiMarkerIconComponent.prototype, "mode", void 0);
24
24
  __decorate([
25
25
  Input(),
26
- HostBinding('attr.data-size'),
26
+ HostBinding(`attr.data-size`),
27
27
  tuiDefaultProp()
28
28
  ], TuiMarkerIconComponent.prototype, "size", void 0);
29
29
  __decorate([
@@ -32,12 +32,12 @@ __decorate([
32
32
  ], TuiMarkerIconComponent.prototype, "src", void 0);
33
33
  TuiMarkerIconComponent = __decorate([
34
34
  Component({
35
- selector: 'tui-marker-icon',
35
+ selector: `tui-marker-icon`,
36
36
  template: "<tui-svg\n class=\"icon\"\n [src]=\"src\"\n></tui-svg>\n",
37
37
  changeDetection: ChangeDetectionStrategy.OnPush,
38
38
  providers: [TuiDestroyService, MODE_PROVIDER],
39
39
  host: {
40
- '($.data-mode.attr)': 'mode$',
40
+ '($.data-mode.attr)': `mode$`,
41
41
  },
42
42
  styles: [":host{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:100%;color:var(--tui-text-03);background-color:var(--tui-base-02);background-size:cover!important;transition-property:color,background-color}:host[data-size=xs]{width:2rem;height:2rem}:host[data-size='s']{width:3rem;height:3rem}:host[data-size='m']{width:4rem;height:4rem}:host[data-size='l']{width:6rem;height:6rem}:host[data-size=xl]{width:8rem;height:8rem}:host[data-mode=onDark]:not([data-marker-mode]){color:var(--tui-base-01);background-color:var(--tui-clear-inverse)}:host[data-marker-mode=primary]{color:var(--tui-primary-text);background-color:var(--tui-primary)}:host[data-marker-mode=white]{color:var(--tui-text-03);background-color:var(--tui-base-01)}:host[data-marker-mode=warning]{color:var(--tui-warning-fill);background-color:var(--tui-warning-bg)}:host[data-marker-mode=secondary]{color:var(--tui-base-01);background-color:var(--tui-info-fill)}:host[data-marker-mode=error]{color:var(--tui-error-fill);background-color:var(--tui-error-bg)}:host[data-marker-mode=success]{color:var(--tui-success-fill);background-color:var(--tui-success-bg)}:host[data-marker-mode=link]{transition-property:color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;cursor:pointer;color:var(--tui-link);background-color:var(--tui-secondary)}:host[data-marker-mode=link]:hover{color:var(--tui-link-hover);background-color:var(--tui-secondary-hover)}:host[data-marker-mode=link]:active{color:var(--tui-link-hover);background-color:var(--tui-secondary-active)}.icon{width:3rem;height:3rem}:host[data-size=xs] .icon{transform:scale(.667)}:host[data-size='m'] .icon{transform:scale(1.333)}:host[data-size='l'] .icon{transform:scale(2)}:host[data-size=xl] .icon{transform:scale(2.667)}"]
43
43
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-marker-icon.js","sources":["ng://@taiga-ui/kit/components/marker-icon/marker-icon.component.ts","ng://@taiga-ui/kit/components/marker-icon/marker-icon.module.ts","ng://@taiga-ui/kit/components/marker-icon/taiga-ui-kit-components-marker-icon.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {tuiDefaultProp, TuiDestroyService} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TuiBrightness,\n TuiSizeXL,\n TuiSizeXS,\n} from '@taiga-ui/core';\nimport {TuiMarkerIconModeT} from '@taiga-ui/kit/types';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: 'tui-marker-icon',\n templateUrl: './marker-icon.template.html',\n styleUrls: ['./marker-icon.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService, MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': 'mode$',\n },\n})\nexport class TuiMarkerIconComponent {\n @Input()\n @HostBinding('attr.data-marker-mode')\n @tuiDefaultProp()\n mode: TuiMarkerIconModeT | null = null;\n\n @Input()\n @HostBinding('attr.data-size')\n @tuiDefaultProp()\n size: TuiSizeXS | TuiSizeXL = 'm';\n\n @Input()\n @tuiDefaultProp()\n src = '';\n\n constructor(@Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>) {}\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiMarkerIconComponent} from './marker-icon.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiMarkerIconComponent],\n exports: [TuiMarkerIconComponent],\n})\nexport class TuiMarkerIconModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IA4Ba,sBAAsB,GAAnC,MAAa,sBAAsB;IAe/B,YAAuC,KAAuC;QAAvC,UAAK,GAAL,KAAK,CAAkC;QAX9E,SAAI,GAA8B,IAAI,CAAC;QAKvC,SAAI,GAA0B,GAAG,CAAC;QAIlC,QAAG,GAAG,EAAE,CAAC;KAEyE;EACrF;;YADiD,UAAU,uBAA3C,MAAM,SAAC,QAAQ;;AAX5B;IAHC,KAAK,EAAE;IACP,WAAW,CAAC,uBAAuB,CAAC;IACpC,cAAc,EAAE;oDACsB;AAKvC;IAHC,KAAK,EAAE;IACP,WAAW,CAAC,gBAAgB,CAAC;IAC7B,cAAc,EAAE;oDACiB;AAIlC;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;mDACR;AAbA,sBAAsB;IAVlC,SAAS,CAAC;QACP,QAAQ,EAAE,iBAAiB;QAC3B,0EAA0C;QAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE,CAAC,iBAAiB,EAAE,aAAa,CAAC;QAC7C,IAAI,EAAE;YACF,oBAAoB,EAAE,OAAO;SAChC;;KACJ,CAAC;IAgBe,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;GAfpB,sBAAsB,CAgBlC;;ICjCY,mBAAmB,GAAhC,MAAa,mBAAmB;EAAG;AAAtB,mBAAmB;IAL/B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;QACrC,YAAY,EAAE,CAAC,sBAAsB,CAAC;QACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;KACpC,CAAC;GACW,mBAAmB,CAAG;;ACXnC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-marker-icon.js","sources":["ng://@taiga-ui/kit/components/marker-icon/marker-icon.component.ts","ng://@taiga-ui/kit/components/marker-icon/marker-icon.module.ts","ng://@taiga-ui/kit/components/marker-icon/taiga-ui-kit-components-marker-icon.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {tuiDefaultProp, TuiDestroyService} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TuiBrightness,\n TuiSizeXL,\n TuiSizeXS,\n} from '@taiga-ui/core';\nimport {TuiMarkerIconModeT} from '@taiga-ui/kit/types';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: `tui-marker-icon`,\n templateUrl: `./marker-icon.template.html`,\n styleUrls: [`./marker-icon.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService, MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': `mode$`,\n },\n})\nexport class TuiMarkerIconComponent {\n @Input()\n @HostBinding(`attr.data-marker-mode`)\n @tuiDefaultProp()\n mode: TuiMarkerIconModeT | null = null;\n\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeXS | TuiSizeXL = `m`;\n\n @Input()\n @tuiDefaultProp()\n src = ``;\n\n constructor(@Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>) {}\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiMarkerIconComponent} from './marker-icon.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiMarkerIconComponent],\n exports: [TuiMarkerIconComponent],\n})\nexport class TuiMarkerIconModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IA4Ba,sBAAsB,GAAnC,MAAa,sBAAsB;IAe/B,YAAuC,KAAuC;QAAvC,UAAK,GAAL,KAAK,CAAkC;QAX9E,SAAI,GAA8B,IAAI,CAAC;QAKvC,SAAI,GAA0B,GAAG,CAAC;QAIlC,QAAG,GAAG,EAAE,CAAC;KAEyE;EACrF;;YADiD,UAAU,uBAA3C,MAAM,SAAC,QAAQ;;AAX5B;IAHC,KAAK,EAAE;IACP,WAAW,CAAC,uBAAuB,CAAC;IACpC,cAAc,EAAE;oDACsB;AAKvC;IAHC,KAAK,EAAE;IACP,WAAW,CAAC,gBAAgB,CAAC;IAC7B,cAAc,EAAE;oDACiB;AAIlC;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;mDACR;AAbA,sBAAsB;IAVlC,SAAS,CAAC;QACP,QAAQ,EAAE,iBAAiB;QAC3B,0EAA0C;QAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE,CAAC,iBAAiB,EAAE,aAAa,CAAC;QAC7C,IAAI,EAAE;YACF,oBAAoB,EAAE,OAAO;SAChC;;KACJ,CAAC;IAgBe,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;GAfpB,sBAAsB,CAgBlC;;ICjCY,mBAAmB,GAAhC,MAAa,mBAAmB;EAAG;AAAtB,mBAAmB;IAL/B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;QACrC,YAAY,EAAE,CAAC,sBAAsB,CAAC;QACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;KACpC,CAAC;GACW,mBAAmB,CAAG;;ACXnC;;;;;;"}
@@ -7,7 +7,7 @@ import { CommonModule } from '@angular/common';
7
7
 
8
8
  let TuiMultiSelectOptionComponent = class TuiMultiSelectOptionComponent extends TuiSelectOptionComponent {
9
9
  get size() {
10
- return sizeBigger(this.option.size) ? 'l' : 'm';
10
+ return sizeBigger(this.option.size) ? `l` : `m`;
11
11
  }
12
12
  get selected() {
13
13
  return (isPresent(this.option.value) &&
@@ -17,7 +17,7 @@ let TuiMultiSelectOptionComponent = class TuiMultiSelectOptionComponent extends
17
17
  };
18
18
  TuiMultiSelectOptionComponent = __decorate([
19
19
  Component({
20
- selector: 'tui-multi-select-option',
20
+ selector: `tui-multi-select-option`,
21
21
  template: "<tui-primitive-checkbox\n class=\"t-checkbox\"\n [size]=\"size\"\n [value]=\"selected$ | async\"\n></tui-primitive-checkbox>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\"></ng-container>\n",
22
22
  changeDetection: ChangeDetectionStrategy.OnPush,
23
23
  styles: ["@-webkit-keyframes retrigger{from{left:1px}to{left:2px}}@keyframes retrigger{from{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;overflow:hidden;-webkit-animation:1s retrigger;animation:1s retrigger}.t-checkbox{margin-right:.75rem}"]
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-multi-select-option.js","sources":["ng://@taiga-ui/kit/components/multi-select-option/multi-select-option.component.ts","ng://@taiga-ui/kit/components/multi-select-option/multi-select-option.module.ts","ng://@taiga-ui/kit/components/multi-select-option/taiga-ui-kit-components-multi-select-option.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {isPresent} from '@taiga-ui/cdk';\nimport {sizeBigger, TuiSizeL} from '@taiga-ui/core';\nimport {TuiSelectOptionComponent} from '@taiga-ui/kit/components/select-option';\n\n@Component({\n selector: 'tui-multi-select-option',\n templateUrl: './multi-select-option.template.html',\n styleUrls: ['./multi-select-option.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMultiSelectOptionComponent<T> extends TuiSelectOptionComponent<T> {\n get size(): TuiSizeL {\n return sizeBigger(this.option.size) ? 'l' : 'm';\n }\n\n protected get selected(): boolean {\n return (\n isPresent(this.option.value) &&\n isPresent(this.control.value) &&\n !!this.control.value.find((item: T) => this.matcher(item, this.option.value!))\n );\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiPrimitiveCheckboxModule} from '@taiga-ui/core';\n\nimport {TuiMultiSelectOptionComponent} from './multi-select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiPrimitiveCheckboxModule],\n declarations: [TuiMultiSelectOptionComponent],\n exports: [TuiMultiSelectOptionComponent],\n entryComponents: [TuiMultiSelectOptionComponent],\n})\nexport class TuiMultiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAWa,6BAA6B,GAA1C,MAAa,6BAAiC,SAAQ,wBAA2B;IAC7E,IAAI,IAAI;QACJ,OAAO,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC;KACnD;IAED,IAAc,QAAQ;QAClB,QACI,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;YAC5B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAO,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,KAAM,CAAC,CAAC,EAChF;KACL;EACJ;AAZY,6BAA6B;IANzC,SAAS,CAAC;QACP,QAAQ,EAAE,yBAAyB;QACnC,2NAAkD;QAElD,eAAe,EAAE,uBAAuB,CAAC,MAAM;;KAClD,CAAC;GACW,6BAA6B,CAYzC;;ICXY,0BAA0B,GAAvC,MAAa,0BAA0B;EAAG;AAA7B,0BAA0B;IANtC,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,YAAY,EAAE,0BAA0B,CAAC;QACnD,YAAY,EAAE,CAAC,6BAA6B,CAAC;QAC7C,OAAO,EAAE,CAAC,6BAA6B,CAAC;QACxC,eAAe,EAAE,CAAC,6BAA6B,CAAC;KACnD,CAAC;GACW,0BAA0B,CAAG;;ACZ1C;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-multi-select-option.js","sources":["ng://@taiga-ui/kit/components/multi-select-option/multi-select-option.component.ts","ng://@taiga-ui/kit/components/multi-select-option/multi-select-option.module.ts","ng://@taiga-ui/kit/components/multi-select-option/taiga-ui-kit-components-multi-select-option.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {isPresent} from '@taiga-ui/cdk';\nimport {sizeBigger, TuiSizeL} from '@taiga-ui/core';\nimport {TuiSelectOptionComponent} from '@taiga-ui/kit/components/select-option';\n\n@Component({\n selector: `tui-multi-select-option`,\n templateUrl: `./multi-select-option.template.html`,\n styleUrls: [`./multi-select-option.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMultiSelectOptionComponent<T> extends TuiSelectOptionComponent<T> {\n get size(): TuiSizeL {\n return sizeBigger(this.option.size) ? `l` : `m`;\n }\n\n protected get selected(): boolean {\n return (\n isPresent(this.option.value) &&\n isPresent(this.control.value) &&\n !!this.control.value.find((item: T) => this.matcher(item, this.option.value!))\n );\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiPrimitiveCheckboxModule} from '@taiga-ui/core';\n\nimport {TuiMultiSelectOptionComponent} from './multi-select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiPrimitiveCheckboxModule],\n declarations: [TuiMultiSelectOptionComponent],\n exports: [TuiMultiSelectOptionComponent],\n entryComponents: [TuiMultiSelectOptionComponent],\n})\nexport class TuiMultiSelectOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAWa,6BAA6B,GAA1C,MAAa,6BAAiC,SAAQ,wBAA2B;IAC7E,IAAI,IAAI;QACJ,OAAO,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC;KACnD;IAED,IAAc,QAAQ;QAClB,QACI,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;YAC5B,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAO,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,KAAM,CAAC,CAAC,EAChF;KACL;EACJ;AAZY,6BAA6B;IANzC,SAAS,CAAC;QACP,QAAQ,EAAE,yBAAyB;QACnC,2NAAkD;QAElD,eAAe,EAAE,uBAAuB,CAAC,MAAM;;KAClD,CAAC;GACW,6BAA6B,CAYzC;;ICXY,0BAA0B,GAAvC,MAAa,0BAA0B;EAAG;AAA7B,0BAA0B;IANtC,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,YAAY,EAAE,0BAA0B,CAAC;QACnD,YAAY,EAAE,CAAC,6BAA6B,CAAC;QAC7C,OAAO,EAAE,CAAC,6BAA6B,CAAC;QACxC,eAAe,EAAE,CAAC,6BAA6B,CAAC;KACnD,CAAC;GACW,0BAA0B,CAAG;;ACZ1C;;;;;;"}
@@ -18,9 +18,9 @@ import { map } from 'rxjs/operators';
18
18
 
19
19
  const TUI_MULTI_SELECT_DEFAULT_OPTIONS = {
20
20
  expandable: true,
21
- valueContent: '',
21
+ valueContent: ``,
22
22
  };
23
- const TUI_MULTI_SELECT_OPTIONS = new InjectionToken('Default parameters for multi select component', {
23
+ const TUI_MULTI_SELECT_OPTIONS = new InjectionToken(`Default parameters for multi select component`, {
24
24
  factory: () => TUI_MULTI_SELECT_DEFAULT_OPTIONS,
25
25
  });
26
26
  const tuiMultiSelectOptionsProvider = (options) => ({
@@ -39,17 +39,17 @@ let TuiMultiSelectComponent = TuiMultiSelectComponent_1 = class TuiMultiSelectCo
39
39
  this.stringify = this.itemsHandlers.stringify;
40
40
  this.identityMatcher = this.itemsHandlers.identityMatcher;
41
41
  this.expandable = this.options.expandable;
42
- this.search = '';
42
+ this.search = ``;
43
43
  this.editable = true;
44
44
  this.disabledItemHandler = this.itemsHandlers.disabledItemHandler;
45
45
  this.valueContent = this.options.valueContent;
46
46
  this.searchChange = new EventEmitter();
47
- this.datalist = '';
47
+ this.datalist = ``;
48
48
  this.open = false;
49
49
  this.valueMapper = (value, stringify, group) => group
50
50
  ? EMPTY_ARRAY
51
51
  : value.map(item => new TuiStringifiableItem(item, stringify));
52
- this.disabledItemHandlerWrapper = handler => stringifiable => typeof stringifiable === 'string' || handler(stringifiable.item);
52
+ this.disabledItemHandlerWrapper = handler => stringifiable => typeof stringifiable === `string` || handler(stringifiable.item);
53
53
  svgService.define({ iconBlank });
54
54
  }
55
55
  get size() {
@@ -70,17 +70,17 @@ let TuiMultiSelectComponent = TuiMultiSelectComponent_1 = class TuiMultiSelectCo
70
70
  }
71
71
  // @bad TODO: think of a better way
72
72
  get searchOrSpace() {
73
- return this.computedGroup ? ' ' : this.searchString;
73
+ return this.computedGroup ? ` ` : this.searchString;
74
74
  }
75
75
  get searchString() {
76
- return this.search === null ? '' : this.search;
76
+ return this.search === null ? `` : this.search;
77
77
  }
78
78
  /**
79
79
  * Pass empty icon to InputTag (inside this component)
80
80
  * to prevent overflow of arrow icon by many tags
81
81
  */
82
82
  get tagIcon() {
83
- return this.interactive ? 'iconBlank' : '';
83
+ return this.interactive ? `iconBlank` : ``;
84
84
  }
85
85
  get inputHidden() {
86
86
  return !this.editable && !this.computedGroup;
@@ -206,7 +206,7 @@ __decorate([
206
206
  ], TuiMultiSelectComponent.prototype, "search", void 0);
207
207
  __decorate([
208
208
  Input(),
209
- HostBinding('class._editable'),
209
+ HostBinding(`class._editable`),
210
210
  tuiDefaultProp()
211
211
  ], TuiMultiSelectComponent.prototype, "editable", void 0);
212
212
  __decorate([
@@ -224,7 +224,7 @@ __decorate([
224
224
  ContentChild(TuiDataListDirective, { read: TemplateRef })
225
225
  ], TuiMultiSelectComponent.prototype, "datalist", void 0);
226
226
  __decorate([
227
- HostBinding('attr.data-size')
227
+ HostBinding(`attr.data-size`)
228
228
  ], TuiMultiSelectComponent.prototype, "size", null);
229
229
  __decorate([
230
230
  tuiPure
@@ -234,7 +234,7 @@ __decorate([
234
234
  ], TuiMultiSelectComponent.prototype, "getContext", null);
235
235
  TuiMultiSelectComponent = TuiMultiSelectComponent_1 = __decorate([
236
236
  Component({
237
- selector: 'tui-multi-select',
237
+ selector: `tui-multi-select`,
238
238
  template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"interactive\"\n [content]=\"datalist || ''\"\n [(open)]=\"open\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-input-tag\n #inputTag\n tuiHostedDropdownHost\n automation-id=\"tui-multi-select__input\"\n class=\"input\"\n [nativeId]=\"nativeId\"\n [icon]=\"tagIcon\"\n [disabled]=\"disabled\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerWrapper\"\n [readOnly]=\"readOnly\"\n [inputHidden]=\"!editable\"\n [pseudoHovered]=\"computedHovered\"\n [pseudoFocused]=\"computedFocused\"\n [pseudoInvalid]=\"computedInvalid\"\n [editable]=\"false\"\n [expandable]=\"expandable\"\n [search]=\"searchOrSpace\"\n [ngModel]=\"computedValue | tuiMapper: valueMapper:stringify\"\n (ngModelChange)=\"onInput($event)\"\n (searchChange)=\"onSearch($event)\"\n (keydown.space)=\"onSpace($event)\"\n (keydown.enter)=\"onEnter($event)\"\n (click.prevent)=\"onClick(inputTag)\"\n >\n <ng-content></ng-content>\n </tui-input-tag>\n <div\n class=\"t-wrapper\"\n [class.t-wrapper_disabled]=\"disabled\"\n >\n <div\n *ngIf=\"computedGroup\"\n polymorpheus-outlet\n class=\"t-group\"\n [class.t-group_fullsize]=\"inputTag.labelOutside\"\n [context]=\"context\"\n [content]=\"valueContent\"\n ></div>\n\n <div\n *ngIf=\"arrow\"\n polymorpheus-outlet\n automation-id=\"tui-multi-select__arrow\"\n tuiPreventDefault=\"mousedown\"\n class=\"t-arrow\"\n [content]=\"arrow\"\n (click.prevent)=\"onArrowClick()\"\n ></div>\n </div>\n</tui-hosted-dropdown>\n",
239
239
  changeDetection: ChangeDetectionStrategy.OnPush,
240
240
  providers: [
@@ -293,7 +293,7 @@ __decorate([
293
293
  ], TuiHideSelectedPipe.prototype, "filter", null);
294
294
  TuiHideSelectedPipe = __decorate([
295
295
  Pipe({
296
- name: 'tuiHideSelected',
296
+ name: `tuiHideSelected`,
297
297
  pure: false,
298
298
  }),
299
299
  __param(0, Inject(TuiMultiSelectComponent))
@@ -304,14 +304,14 @@ let TuiMultiSelectGroupComponent = class TuiMultiSelectGroupComponent {
304
304
  this.host = host;
305
305
  this.control = control;
306
306
  this.options = EMPTY_QUERY;
307
- this.label = '';
307
+ this.label = ``;
308
308
  }
309
309
  get size() {
310
310
  var _a;
311
- return ((_a = this.options.first) === null || _a === void 0 ? void 0 : _a.size) || 'm';
311
+ return ((_a = this.options.first) === null || _a === void 0 ? void 0 : _a.size) || `m`;
312
312
  }
313
313
  get checkboxSize() {
314
- return this.options.first && sizeBigger(this.options.first.size) ? 'l' : 'm';
314
+ return this.options.first && sizeBigger(this.options.first.size) ? `l` : `m`;
315
315
  }
316
316
  get empty$() {
317
317
  return itemsQueryListObservable(this.options).pipe(map(({ length }) => !length));
@@ -388,7 +388,7 @@ __decorate([
388
388
  ], TuiMultiSelectGroupComponent.prototype, "filter", null);
389
389
  TuiMultiSelectGroupComponent = __decorate([
390
390
  Component({
391
- selector: 'tui-opt-group[tuiMultiSelectGroup]',
391
+ selector: `tui-opt-group[tuiMultiSelectGroup]`,
392
392
  template: "<ng-container *tuiLet=\"value$ | async as value\">\n <button\n *ngIf=\"label && !(empty$ | async)\"\n tuiOption\n [size]=\"size\"\n [disabled]=\"!!(disabled$ | async)\"\n (click)=\"onClick(value)\"\n >\n <tui-primitive-checkbox\n class=\"t-checkbox\"\n [size]=\"checkboxSize\"\n [value]=\"value\"\n ></tui-primitive-checkbox>\n <span class=\"t-label\">{{ label }}</span>\n </button>\n</ng-container>\n<ng-content></ng-content>\n",
393
393
  changeDetection: ChangeDetectionStrategy.OnPush,
394
394
  viewProviders: [
@@ -429,7 +429,7 @@ let TuiMultiSelectGroupDirective = class TuiMultiSelectGroupDirective {
429
429
  };
430
430
  TuiMultiSelectGroupDirective = __decorate([
431
431
  Directive({
432
- selector: '[tuiMultiSelectGroup]',
432
+ selector: `[tuiMultiSelectGroup]`,
433
433
  providers: [
434
434
  {
435
435
  provide: TUI_OPTION_CONTENT,