@taiga-ui/kit 4.52.0-canary.536e4ff → 4.52.0-canary.698642f

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 (720) hide show
  1. package/components/avatar/avatar.component.d.ts +1 -1
  2. package/components/badge/badge.directive.d.ts +1 -1
  3. package/components/input-color/input-color.component.d.ts +2 -1
  4. package/components/input-number/quantum.directive.d.ts +1 -1
  5. package/components/line-clamp/line-clamp.component.d.ts +6 -10
  6. package/components/segmented/segmented.component.d.ts +4 -4
  7. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  8. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -6
  9. package/directives/index.d.ts +0 -1
  10. package/fesm2022/taiga-ui-kit-components-accordion.mjs +16 -17
  11. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +8 -8
  13. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-kit-components-avatar.mjs +41 -42
  15. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -4
  17. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-kit-components-badge.mjs +10 -9
  19. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -8
  21. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-kit-components-block.mjs +8 -8
  23. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +8 -10
  25. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +4 -5
  27. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -8
  29. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +10 -10
  31. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-kit-components-carousel.mjs +21 -23
  33. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -5
  35. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-kit-components-chip.mjs +8 -8
  37. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +4 -4
  39. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-kit-components-comment.mjs +8 -8
  41. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -4
  43. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-kit-components-confirm.mjs +9 -9
  45. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +11 -12
  47. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-kit-components-drawer.mjs +7 -7
  49. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +8 -8
  51. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-kit-components-files.mjs +31 -41
  53. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-kit-components-filter.mjs +6 -15
  55. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +7 -7
  57. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +12 -14
  59. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-kit-components-input-color.mjs +11 -12
  61. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +4 -4
  63. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -4
  65. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +8 -9
  67. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-kit-components-input-date.mjs +13 -14
  69. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +6 -6
  71. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +3 -3
  73. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-kit-components-input-month.mjs +9 -10
  75. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-kit-components-input-number.mjs +23 -23
  77. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-kit-components-input-password.mjs +5 -6
  79. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +9 -12
  81. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +9 -10
  83. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -5
  85. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-kit-components-input-range.mjs +8 -16
  87. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +7 -7
  89. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-kit-components-input-time.mjs +12 -12
  91. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-kit-components-input-year.mjs +4 -4
  93. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +18 -18
  95. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-kit-components-like.mjs +5 -5
  97. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +33 -39
  99. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-kit-components-message.mjs +8 -8
  101. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +36 -34
  103. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +14 -14
  105. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-pager.mjs +7 -7
  107. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-pagination.mjs +6 -6
  109. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +11 -11
  111. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-pin.mjs +8 -8
  113. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +11 -11
  115. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-preview.mjs +33 -35
  117. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-progress.mjs +28 -28
  119. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-pulse.mjs +4 -4
  121. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-push.mjs +20 -20
  123. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +7 -8
  125. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-radio.mjs +9 -9
  127. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-range.mjs +9 -9
  129. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-rating.mjs +6 -6
  131. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +5 -5
  133. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-segmented.mjs +8 -8
  135. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-select.mjs +17 -17
  137. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-slider.mjs +21 -22
  139. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-slides.mjs +7 -7
  141. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-status.mjs +7 -7
  143. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-stepper.mjs +12 -12
  145. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-switch.mjs +5 -5
  147. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-tabs.mjs +23 -25
  149. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-textarea.mjs +15 -16
  151. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-tiles.mjs +13 -13
  153. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-tree.mjs +35 -51
  155. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  157. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  159. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +3 -3
  161. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +8 -8
  163. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-directives-connected.mjs +8 -8
  165. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-directives-copy.mjs +11 -10
  167. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -4
  169. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -9
  171. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +4 -4
  173. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +5 -5
  175. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +8 -9
  177. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-directives-password.mjs +5 -5
  179. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-directives-present.mjs +4 -4
  181. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +8 -8
  183. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +8 -8
  185. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -7
  187. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +8 -8
  189. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +4 -4
  191. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -4
  193. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  195. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  197. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +7 -7
  199. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  201. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  203. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
  205. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  207. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  209. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-tokens.mjs +3 -3
  211. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
  213. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  214. package/package.json +41 -257
  215. package/styles/components/badge.less +3 -18
  216. package/styles/components/block.less +1 -1
  217. package/styles/components/checkbox.less +5 -6
  218. package/styles/components/chip.less +1 -1
  219. package/styles/components/like.less +13 -10
  220. package/styles/components/radio.less +1 -1
  221. package/styles/components/switch.less +5 -5
  222. package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
  223. package/directives/icon-badge/index.d.ts +0 -1
  224. package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
  225. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
  226. package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
  227. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  228. package/esm2022/components/accordion/accordion.mjs +0 -11
  229. package/esm2022/components/accordion/index.mjs +0 -6
  230. package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
  231. package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
  232. package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
  233. package/esm2022/components/action-bar/action-bar.mjs +0 -4
  234. package/esm2022/components/action-bar/index.mjs +0 -4
  235. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
  236. package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
  237. package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
  238. package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
  239. package/esm2022/components/avatar/avatar.component.mjs +0 -59
  240. package/esm2022/components/avatar/avatar.options.mjs +0 -14
  241. package/esm2022/components/avatar/index.mjs +0 -6
  242. package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
  243. package/esm2022/components/badge/badge.directive.mjs +0 -42
  244. package/esm2022/components/badge/badge.options.mjs +0 -13
  245. package/esm2022/components/badge/index.mjs +0 -3
  246. package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
  247. package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
  248. package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
  249. package/esm2022/components/badge-notification/index.mjs +0 -3
  250. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
  251. package/esm2022/components/badged-content/badge-content.mjs +0 -7
  252. package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
  253. package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
  254. package/esm2022/components/badged-content/index.mjs +0 -4
  255. package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
  256. package/esm2022/components/block/block.directive.mjs +0 -58
  257. package/esm2022/components/block/block.options.mjs +0 -13
  258. package/esm2022/components/block/index.mjs +0 -3
  259. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
  260. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
  261. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
  262. package/esm2022/components/breadcrumbs/index.mjs +0 -3
  263. package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
  264. package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
  265. package/esm2022/components/button-loading/index.mjs +0 -2
  266. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
  267. package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
  268. package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
  269. package/esm2022/components/calendar-month/index.mjs +0 -3
  270. package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
  271. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
  272. package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
  273. package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
  274. package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
  275. package/esm2022/components/calendar-range/index.mjs +0 -5
  276. package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
  277. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
  278. package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
  279. package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
  280. package/esm2022/components/carousel/carousel.component.mjs +0 -166
  281. package/esm2022/components/carousel/carousel.directive.mjs +0 -37
  282. package/esm2022/components/carousel/carousel.mjs +0 -15
  283. package/esm2022/components/carousel/index.mjs +0 -7
  284. package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
  285. package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
  286. package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
  287. package/esm2022/components/checkbox/index.mjs +0 -3
  288. package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
  289. package/esm2022/components/chip/chip.directive.mjs +0 -63
  290. package/esm2022/components/chip/chip.options.mjs +0 -13
  291. package/esm2022/components/chip/index.mjs +0 -3
  292. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
  293. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
  294. package/esm2022/components/combo-box/index.mjs +0 -2
  295. package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
  296. package/esm2022/components/comment/comment.directive.mjs +0 -35
  297. package/esm2022/components/comment/index.mjs +0 -2
  298. package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
  299. package/esm2022/components/compass/compass.component.mjs +0 -19
  300. package/esm2022/components/compass/index.mjs +0 -2
  301. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
  302. package/esm2022/components/confirm/confirm.component.mjs +0 -28
  303. package/esm2022/components/confirm/confirm.service.mjs +0 -32
  304. package/esm2022/components/confirm/index.mjs +0 -3
  305. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
  306. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
  307. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
  308. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
  309. package/esm2022/components/data-list-wrapper/index.mjs +0 -4
  310. package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
  311. package/esm2022/components/drawer/drawer.component.mjs +0 -44
  312. package/esm2022/components/drawer/index.mjs +0 -2
  313. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
  314. package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
  315. package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
  316. package/esm2022/components/elastic-container/index.mjs +0 -3
  317. package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
  318. package/esm2022/components/files/file/file.component.mjs +0 -144
  319. package/esm2022/components/files/file/file.options.mjs +0 -16
  320. package/esm2022/components/files/files/files.component.mjs +0 -56
  321. package/esm2022/components/files/files.mjs +0 -15
  322. package/esm2022/components/files/files.types.mjs +0 -2
  323. package/esm2022/components/files/files.utils.mjs +0 -30
  324. package/esm2022/components/files/files.validators.mjs +0 -32
  325. package/esm2022/components/files/index.mjs +0 -13
  326. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
  327. package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
  328. package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
  329. package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
  330. package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
  331. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
  332. package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
  333. package/esm2022/components/filter/filter.component.mjs +0 -65
  334. package/esm2022/components/filter/index.mjs +0 -2
  335. package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
  336. package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
  337. package/esm2022/components/floating-container/index.mjs +0 -2
  338. package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
  339. package/esm2022/components/index.mjs +0 -73
  340. package/esm2022/components/input-chip/index.mjs +0 -5
  341. package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
  342. package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
  343. package/esm2022/components/input-chip/input-chip.mjs +0 -4
  344. package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
  345. package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
  346. package/esm2022/components/input-color/index.mjs +0 -3
  347. package/esm2022/components/input-color/input-color.component.mjs +0 -89
  348. package/esm2022/components/input-color/input-color.options.mjs +0 -6
  349. package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
  350. package/esm2022/components/input-date/date-filler.mjs +0 -20
  351. package/esm2022/components/input-date/index.mjs +0 -6
  352. package/esm2022/components/input-date/input-date.component.mjs +0 -33
  353. package/esm2022/components/input-date/input-date.directive.mjs +0 -167
  354. package/esm2022/components/input-date/input-date.mjs +0 -9
  355. package/esm2022/components/input-date/input-date.options.mjs +0 -11
  356. package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
  357. package/esm2022/components/input-date-multi/index.mjs +0 -3
  358. package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
  359. package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
  360. package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
  361. package/esm2022/components/input-date-range/index.mjs +0 -4
  362. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
  363. package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
  364. package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
  365. package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
  366. package/esm2022/components/input-date-time/index.mjs +0 -5
  367. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
  368. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
  369. package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
  370. package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
  371. package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
  372. package/esm2022/components/input-inline/index.mjs +0 -2
  373. package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
  374. package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
  375. package/esm2022/components/input-month/index.mjs +0 -5
  376. package/esm2022/components/input-month/input-month.component.mjs +0 -53
  377. package/esm2022/components/input-month/input-month.directive.mjs +0 -65
  378. package/esm2022/components/input-month/input-month.mjs +0 -9
  379. package/esm2022/components/input-month/input-month.options.mjs +0 -19
  380. package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
  381. package/esm2022/components/input-month-range/index.mjs +0 -4
  382. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
  383. package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
  384. package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
  385. package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
  386. package/esm2022/components/input-number/index.mjs +0 -6
  387. package/esm2022/components/input-number/input-number.directive.mjs +0 -196
  388. package/esm2022/components/input-number/input-number.mjs +0 -9
  389. package/esm2022/components/input-number/input-number.options.mjs +0 -15
  390. package/esm2022/components/input-number/quantum.directive.mjs +0 -68
  391. package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
  392. package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
  393. package/esm2022/components/input-password/index.mjs +0 -3
  394. package/esm2022/components/input-password/input-password.component.mjs +0 -69
  395. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  396. package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
  397. package/esm2022/components/input-phone/index.mjs +0 -3
  398. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
  399. package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
  400. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
  401. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  402. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  403. package/esm2022/components/input-phone-international/index.mjs +0 -3
  404. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
  405. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
  406. package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
  407. package/esm2022/components/input-pin/index.mjs +0 -2
  408. package/esm2022/components/input-pin/input-pin.component.mjs +0 -66
  409. package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
  410. package/esm2022/components/input-range/index.mjs +0 -3
  411. package/esm2022/components/input-range/input-range.component.mjs +0 -166
  412. package/esm2022/components/input-range/input-range.mjs +0 -4
  413. package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
  414. package/esm2022/components/input-slider/index.mjs +0 -3
  415. package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
  416. package/esm2022/components/input-slider/input-slider.mjs +0 -9
  417. package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
  418. package/esm2022/components/input-time/index.mjs +0 -5
  419. package/esm2022/components/input-time/input-time.component.mjs +0 -64
  420. package/esm2022/components/input-time/input-time.directive.mjs +0 -159
  421. package/esm2022/components/input-time/input-time.mjs +0 -4
  422. package/esm2022/components/input-time/input-time.options.mjs +0 -10
  423. package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
  424. package/esm2022/components/input-year/index.mjs +0 -4
  425. package/esm2022/components/input-year/input-year.directive.mjs +0 -103
  426. package/esm2022/components/input-year/input-year.mjs +0 -4
  427. package/esm2022/components/input-year/input-year.options.mjs +0 -12
  428. package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
  429. package/esm2022/components/items-with-more/index.mjs +0 -6
  430. package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
  431. package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
  432. package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
  433. package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
  434. package/esm2022/components/items-with-more/more.directive.mjs +0 -18
  435. package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
  436. package/esm2022/components/like/index.mjs +0 -3
  437. package/esm2022/components/like/like.component.mjs +0 -46
  438. package/esm2022/components/like/like.options.mjs +0 -10
  439. package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
  440. package/esm2022/components/line-clamp/index.mjs +0 -4
  441. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
  442. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
  443. package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
  444. package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
  445. package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
  446. package/esm2022/components/message/index.mjs +0 -2
  447. package/esm2022/components/message/message.directive.mjs +0 -43
  448. package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
  449. package/esm2022/components/multi-select/index.mjs +0 -6
  450. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
  451. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
  452. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
  453. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
  454. package/esm2022/components/multi-select/multi-select.mjs +0 -9
  455. package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
  456. package/esm2022/components/notification-middle/index.mjs +0 -4
  457. package/esm2022/components/notification-middle/notification-middle.component.mjs +0 -57
  458. package/esm2022/components/notification-middle/notification-middle.directive.mjs +0 -21
  459. package/esm2022/components/notification-middle/notification-middle.service.mjs +0 -22
  460. package/esm2022/components/notification-middle/taiga-ui-kit-components-notification-middle.mjs +0 -5
  461. package/esm2022/components/pager/index.mjs +0 -2
  462. package/esm2022/components/pager/pager.component.mjs +0 -97
  463. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  464. package/esm2022/components/pagination/index.mjs +0 -2
  465. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  466. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  467. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  468. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  469. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  470. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  471. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  472. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  473. package/esm2022/components/pin/index.mjs +0 -2
  474. package/esm2022/components/pin/pin.directive.mjs +0 -35
  475. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  476. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  477. package/esm2022/components/preview/dialog/index.mjs +0 -4
  478. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  479. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  480. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  481. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  482. package/esm2022/components/preview/index.mjs +0 -8
  483. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  484. package/esm2022/components/preview/preview.component.mjs +0 -142
  485. package/esm2022/components/preview/preview.mjs +0 -13
  486. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  487. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  488. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
  489. package/esm2022/components/progress/index.mjs +0 -9
  490. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  491. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  492. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
  493. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  494. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  495. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  496. package/esm2022/components/progress/progress.mjs +0 -15
  497. package/esm2022/components/progress/progress.options.mjs +0 -13
  498. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  499. package/esm2022/components/pulse/index.mjs +0 -2
  500. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  501. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  502. package/esm2022/components/push/index.mjs +0 -7
  503. package/esm2022/components/push/push-alert.component.mjs +0 -29
  504. package/esm2022/components/push/push.component.mjs +0 -39
  505. package/esm2022/components/push/push.directive.mjs +0 -33
  506. package/esm2022/components/push/push.mjs +0 -5
  507. package/esm2022/components/push/push.options.mjs +0 -21
  508. package/esm2022/components/push/push.service.mjs +0 -19
  509. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  510. package/esm2022/components/radio/index.mjs +0 -5
  511. package/esm2022/components/radio/radio.component.mjs +0 -53
  512. package/esm2022/components/radio/radio.directive.mjs +0 -32
  513. package/esm2022/components/radio/radio.mjs +0 -4
  514. package/esm2022/components/radio/radio.options.mjs +0 -13
  515. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  516. package/esm2022/components/radio-list/index.mjs +0 -2
  517. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  518. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  519. package/esm2022/components/range/index.mjs +0 -3
  520. package/esm2022/components/range/range-change.directive.mjs +0 -78
  521. package/esm2022/components/range/range.component.mjs +0 -164
  522. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  523. package/esm2022/components/rating/index.mjs +0 -3
  524. package/esm2022/components/rating/rating.component.mjs +0 -64
  525. package/esm2022/components/rating/rating.options.mjs +0 -13
  526. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  527. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  528. package/esm2022/components/routable-dialog/index.mjs +0 -3
  529. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  530. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  531. package/esm2022/components/segmented/index.mjs +0 -3
  532. package/esm2022/components/segmented/segmented.component.mjs +0 -67
  533. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  534. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  535. package/esm2022/components/select/index.mjs +0 -5
  536. package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
  537. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  538. package/esm2022/components/select/select.directive.mjs +0 -56
  539. package/esm2022/components/select/select.mjs +0 -4
  540. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  541. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  542. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  543. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  544. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  545. package/esm2022/components/slider/index.mjs +0 -8
  546. package/esm2022/components/slider/slider.component.mjs +0 -124
  547. package/esm2022/components/slider/slider.mjs +0 -12
  548. package/esm2022/components/slider/slider.options.mjs +0 -16
  549. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  550. package/esm2022/components/slides/index.mjs +0 -2
  551. package/esm2022/components/slides/slides.directive.mjs +0 -51
  552. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  553. package/esm2022/components/status/index.mjs +0 -2
  554. package/esm2022/components/status/status.directive.mjs +0 -35
  555. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  556. package/esm2022/components/stepper/index.mjs +0 -4
  557. package/esm2022/components/stepper/step.component.mjs +0 -58
  558. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  559. package/esm2022/components/stepper/stepper.mjs +0 -4
  560. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  561. package/esm2022/components/switch/index.mjs +0 -3
  562. package/esm2022/components/switch/switch.component.mjs +0 -63
  563. package/esm2022/components/switch/switch.options.mjs +0 -15
  564. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  565. package/esm2022/components/tabs/index.mjs +0 -9
  566. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  567. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  568. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  569. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -213
  570. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  571. package/esm2022/components/tabs/tabs.mjs +0 -15
  572. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  573. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  574. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  575. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  576. package/esm2022/components/textarea/index.mjs +0 -4
  577. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  578. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -93
  579. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  580. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  581. package/esm2022/components/tiles/index.mjs +0 -7
  582. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  583. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  584. package/esm2022/components/tiles/tile.component.mjs +0 -69
  585. package/esm2022/components/tiles/tile.service.mjs +0 -90
  586. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  587. package/esm2022/components/tiles/tiles.mjs +0 -5
  588. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  589. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  590. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  591. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  592. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  593. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  594. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  595. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  596. package/esm2022/components/tree/index.mjs +0 -12
  597. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  598. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  599. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  600. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  601. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  602. package/esm2022/components/tree/tree.mjs +0 -17
  603. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  604. package/esm2022/directives/button-close/index.mjs +0 -2
  605. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  606. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  607. package/esm2022/directives/button-group/index.mjs +0 -2
  608. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  609. package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
  610. package/esm2022/directives/button-select/index.mjs +0 -2
  611. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  612. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  613. package/esm2022/directives/chevron/index.mjs +0 -2
  614. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  615. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  616. package/esm2022/directives/connected/index.mjs +0 -2
  617. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  618. package/esm2022/directives/copy/copy.component.mjs +0 -48
  619. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  620. package/esm2022/directives/copy/copy.mjs +0 -4
  621. package/esm2022/directives/copy/copy.options.mjs +0 -3
  622. package/esm2022/directives/copy/index.mjs +0 -6
  623. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  624. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  625. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  626. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  627. package/esm2022/directives/fade/fade.directive.mjs +0 -92
  628. package/esm2022/directives/fade/index.mjs +0 -2
  629. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  630. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  631. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  632. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  633. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  634. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  635. package/esm2022/directives/highlight/index.mjs +0 -2
  636. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  637. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  638. package/esm2022/directives/icon-badge/index.mjs +0 -2
  639. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  640. package/esm2022/directives/index.mjs +0 -21
  641. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  642. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
  643. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  644. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  645. package/esm2022/directives/password/index.mjs +0 -3
  646. package/esm2022/directives/password/password.directive.mjs +0 -67
  647. package/esm2022/directives/password/password.options.mjs +0 -8
  648. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  649. package/esm2022/directives/present/index.mjs +0 -2
  650. package/esm2022/directives/present/present.directive.mjs +0 -33
  651. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  652. package/esm2022/directives/sensitive/index.mjs +0 -2
  653. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  654. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  655. package/esm2022/directives/shimmer/index.mjs +0 -2
  656. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  657. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  658. package/esm2022/directives/skeleton/index.mjs +0 -2
  659. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  660. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  661. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  662. package/esm2022/directives/tooltip/index.mjs +0 -3
  663. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  664. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  665. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  666. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  667. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  668. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  669. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  670. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  671. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  672. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  673. package/esm2022/index.mjs +0 -6
  674. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  675. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  676. package/esm2022/pipes/emails/index.mjs +0 -3
  677. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  678. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  679. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  680. package/esm2022/pipes/field-error/index.mjs +0 -3
  681. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  682. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  683. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  684. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  685. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  686. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  687. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  688. package/esm2022/pipes/index.mjs +0 -8
  689. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  690. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  691. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  692. package/esm2022/pipes/stringify/index.mjs +0 -2
  693. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  694. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  695. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  696. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  697. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  698. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  699. package/esm2022/taiga-ui-kit.mjs +0 -5
  700. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  701. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  702. package/esm2022/tokens/i18n.mjs +0 -75
  703. package/esm2022/tokens/index.mjs +0 -10
  704. package/esm2022/tokens/input-date-options.mjs +0 -13
  705. package/esm2022/tokens/items-handlers.mjs +0 -27
  706. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  707. package/esm2022/tokens/month-formatter.mjs +0 -12
  708. package/esm2022/tokens/preview-icons.mjs +0 -17
  709. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  710. package/esm2022/tokens/validation-errors.mjs +0 -6
  711. package/esm2022/utils/create-time-periods.mjs +0 -12
  712. package/esm2022/utils/index.mjs +0 -7
  713. package/esm2022/utils/inject-value.mjs +0 -11
  714. package/esm2022/utils/is-flat.mjs +0 -4
  715. package/esm2022/utils/maskito.binding.mjs +0 -6
  716. package/esm2022/utils/phone.mjs +0 -6
  717. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  718. package/esm2022/utils/toggle-day.mjs +0 -6
  719. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  720. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-like.mjs","sources":["../../../projects/kit/components/like/like.options.ts","../../../projects/kit/components/like/like.component.ts","../../../projects/kit/components/like/taiga-ui-kit-components-like.ts"],"sourcesContent":["import {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiAppearanceOptions} from '@taiga-ui/core/directives';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiLikeOptions extends TuiAppearanceOptions {\n readonly size: TuiSizeS;\n readonly icons: Readonly<{\n checked: TuiStringHandler<TuiSizeS> | string;\n unchecked: TuiStringHandler<TuiSizeS> | string;\n }>;\n}\n\nexport const [TUI_LIKE_OPTIONS, tuiLikeOptionsProvider] =\n tuiCreateOptions<TuiLikeOptions>({\n size: 'm',\n appearance: 'secondary',\n icons: {\n unchecked: '@tui.heart',\n checked: '@tui.heart-filled',\n },\n });\n","import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {tuiInjectIconResolver} from '@taiga-ui/core/tokens';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nimport {TUI_LIKE_OPTIONS, type TuiLikeOptions} from './like.options';\n\n@Component({\n standalone: true,\n selector: 'input[tuiLike][type=checkbox]',\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/like.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAppearanceOptionsProvider(TUI_LIKE_OPTIONS)],\n hostDirectives: [TuiWithAppearance],\n host: {\n tuiLike: '',\n '[attr.data-size]': 'size',\n '[attr.data-mode]': '\"\"',\n '[style.--t-icon-color]': 'color',\n '[style.--t-unchecked-icon]': 'getIcon(\"unchecked\")',\n '[style.--t-checked-icon]': 'getIcon(\"checked\")',\n },\n})\nexport class TuiLike {\n private readonly options = inject(TUI_LIKE_OPTIONS);\n private readonly resolver = tuiInjectIconResolver();\n\n @Input('tuiLike')\n public color = '';\n\n @Input()\n public uncheckedIcon: TuiStringHandler<TuiSizeS> | string =\n this.options.icons.unchecked;\n\n @Input()\n public checkedIcon: TuiStringHandler<TuiSizeS> | string = this.options.icons.checked;\n\n @Input()\n public size: TuiSizeS = this.options.size;\n\n protected getIcon(state: keyof TuiLikeOptions['icons']): string {\n const option = state === 'checked' ? this.checkedIcon : this.uncheckedIcon;\n const icon = tuiIsString(option) ? option : option(this.size);\n\n return icon && `url(${this.resolver(icon)})`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';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OM,KAAK,EAAA,CAAA;sBADX,KAAK;uBAAC,SAAS,CAAA;gBAIT,aAAa,EAAA,CAAA;sBADnB,KAAK;gBAKC,WAAW,EAAA,CAAA;sBADjB,KAAK;gBAIC,IAAI,EAAA,CAAA;sBADV,KAAK;;;AClDV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-like.mjs","sources":["../../../projects/kit/components/like/like.options.ts","../../../projects/kit/components/like/like.component.ts","../../../projects/kit/components/like/taiga-ui-kit-components-like.ts"],"sourcesContent":["import {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiAppearanceOptions} from '@taiga-ui/core/directives';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiLikeOptions extends TuiAppearanceOptions {\n readonly size: TuiSizeS;\n readonly icons: Readonly<{\n checked: TuiStringHandler<TuiSizeS> | string;\n unchecked: TuiStringHandler<TuiSizeS> | string;\n }>;\n}\n\nexport const [TUI_LIKE_OPTIONS, tuiLikeOptionsProvider] =\n tuiCreateOptions<TuiLikeOptions>({\n size: 'm',\n appearance: 'secondary',\n icons: {\n unchecked: '@tui.heart',\n checked: '@tui.heart-filled',\n },\n });\n","import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAppearanceOptionsProvider,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {tuiInjectIconResolver} from '@taiga-ui/core/tokens';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\n\nimport {TUI_LIKE_OPTIONS, type TuiLikeOptions} from './like.options';\n\n@Component({\n standalone: true,\n selector: 'input[tuiLike][type=checkbox]',\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/like.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAppearanceOptionsProvider(TUI_LIKE_OPTIONS)],\n hostDirectives: [TuiWithAppearance],\n host: {\n tuiLike: '',\n '[attr.data-size]': 'size',\n '[attr.data-mode]': '\"\"',\n '[style.--t-icon-color]': 'color',\n '[style.--t-unchecked-icon]': 'getIcon(\"unchecked\")',\n '[style.--t-checked-icon]': 'getIcon(\"checked\")',\n },\n})\nexport class TuiLike {\n private readonly options = inject(TUI_LIKE_OPTIONS);\n private readonly resolver = tuiInjectIconResolver();\n\n @Input('tuiLike')\n public color = '';\n\n @Input()\n public uncheckedIcon: TuiStringHandler<TuiSizeS> | string =\n this.options.icons.unchecked;\n\n @Input()\n public checkedIcon: TuiStringHandler<TuiSizeS> | string = this.options.icons.checked;\n\n @Input()\n public size: TuiSizeS = this.options.size;\n\n protected getIcon(state: keyof TuiLikeOptions['icons']): string {\n const option = state === 'checked' ? this.checkedIcon : this.uncheckedIcon;\n const icon = tuiIsString(option) ? option : option(this.size);\n\n return icon && `url(${this.resolver(icon)})`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAaa,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GACnD,gBAAgB,CAAiB;AAC7B,IAAA,IAAI,EAAE,GAAG;AACT,IAAA,UAAU,EAAE,WAAW;AACvB,IAAA,KAAK,EAAE;AACH,QAAA,SAAS,EAAE,YAAY;AACvB,QAAA,OAAO,EAAE,mBAAmB;AAC/B,KAAA;AACJ,CAAA;;MCeQ,OAAO,CAAA;AAlBpB,IAAA,WAAA,GAAA;AAmBqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAClC,IAAA,CAAA,QAAQ,GAAG,qBAAqB,EAAE;QAG5C,IAAA,CAAA,KAAK,GAAG,EAAE;QAGV,IAAA,CAAA,aAAa,GAChB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,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AA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAeH,OAAO,EAAA,UAAA,EAAA,CAAA;kBAlBnB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,+BAA+B,EAAA,QAAA,EAC/B,EAAE,iBAEG,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC,CAAC,4BAA4B,CAAC,gBAAgB,CAAC,CAAC,EAAA,cAAA,EAC3C,CAAC,iBAAiB,CAAC,EAAA,IAAA,EAC7B;AACF,wBAAA,OAAO,EAAE,EAAE;AACX,wBAAA,kBAAkB,EAAE,MAAM;AAC1B,wBAAA,kBAAkB,EAAE,IAAI;AACxB,wBAAA,wBAAwB,EAAE,OAAO;AACjC,wBAAA,4BAA4B,EAAE,sBAAsB;AACpD,wBAAA,0BAA0B,EAAE,oBAAoB;AACnD,qBAAA,EAAA,MAAA,EAAA,CAAA,23BAAA,CAAA,EAAA;8BAOM,KAAK,EAAA,CAAA;sBADX,KAAK;uBAAC,SAAS;gBAIT,aAAa,EAAA,CAAA;sBADnB;gBAKM,WAAW,EAAA,CAAA;sBADjB;gBAIM,IAAI,EAAA,CAAA;sBADV;;;AClDL;;AAEG;;;;"}
@@ -1,13 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Component, ChangeDetectionStrategy, inject, Directive, ChangeDetectorRef, signal, ElementRef, ViewChild, Input, Output } from '@angular/core';
2
+ import { InjectionToken, ChangeDetectionStrategy, Component, inject, Directive, ElementRef, Input, Output, ViewChild } from '@angular/core';
3
3
  import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
+ import * as i1$1 from '@taiga-ui/cdk/directives/transitioned';
5
+ import { TuiTransitioned } from '@taiga-ui/cdk/directives/transitioned';
4
6
  import { tuiTypedFromEvent } from '@taiga-ui/cdk/observables';
5
7
  import { tuiInjectElement, tuiIsCurrentTarget } from '@taiga-ui/cdk/utils/dom';
6
- import * as i1$1 from '@taiga-ui/core/directives/hint';
8
+ import { tuiProvideOptions, tuiPx } from '@taiga-ui/cdk/utils/miscellaneous';
9
+ import * as i2 from '@taiga-ui/core/directives/hint';
7
10
  import { TuiHintBaseComponent, TUI_HINT_PROVIDERS, TuiHintDirective, TUI_HINT_COMPONENT, TuiHint } from '@taiga-ui/core/directives/hint';
8
11
  import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
9
12
  import { BehaviorSubject, Subject, startWith, pairwise, switchMap, of, filter, map, debounceTime, distinctUntilChanged } from 'rxjs';
10
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
11
13
  import * as i1 from '@taiga-ui/cdk/directives/animated';
12
14
  import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
13
15
  import { TuiPositionAccessor, tuiAsPositionAccessor } from '@taiga-ui/core/classes';
@@ -29,18 +31,18 @@ class TuiLineClampBox extends TuiHintBaseComponent {
29
31
  get width() {
30
32
  return this.accessor.getClientRect().width;
31
33
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClampBox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiLineClampBox, isStandalone: true, selector: "tui-line-clamp-box", host: { properties: { "style.min-width.px": "width" } }, providers: TUI_HINT_PROVIDERS, usesInheritance: true, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: `
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLineClampBox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
35
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiLineClampBox, isStandalone: true, selector: "tui-line-clamp-box", host: { properties: { "style.min-width.px": "width" } }, providers: TUI_HINT_PROVIDERS, usesInheritance: true, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: `
34
36
  <ng-container *polymorpheusOutlet="content() as text">{{ text }}</ng-container>
35
- `, isInline: true, styles: [":host{position:absolute;box-shadow:var(--tui-shadow-medium);inline-size:-webkit-min-content;inline-size:min-content;padding:.75rem 1rem;margin-inline-start:calc(-1px - 1rem);margin-block-start:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-border-normal);background:var(--tui-background-base);color:var(--tui-text-primary);overflow-wrap:break-word}:host.tui-enter,:host.tui-leave{animation-name:tuiFade}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
+ `, isInline: true, styles: [":host{position:absolute;box-shadow:var(--tui-shadow-medium);inline-size:min-content;padding:.75rem 1rem;margin-inline-start:calc(-1px - 1rem);margin-block-start:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-border-normal);background:var(--tui-background-base);color:var(--tui-text-primary);overflow-wrap:break-word}:host.tui-enter,:host.tui-leave{animation-name:tuiFade}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
36
38
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClampBox, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLineClampBox, decorators: [{
38
40
  type: Component,
39
- args: [{ standalone: true, selector: 'tui-line-clamp-box', imports: [PolymorpheusOutlet], template: `
41
+ args: [{ selector: 'tui-line-clamp-box', imports: [PolymorpheusOutlet], template: `
40
42
  <ng-container *polymorpheusOutlet="content() as text">{{ text }}</ng-container>
41
43
  `, changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_HINT_PROVIDERS, hostDirectives: [TuiAnimated], host: {
42
44
  '[style.min-width.px]': 'width',
43
- }, styles: [":host{position:absolute;box-shadow:var(--tui-shadow-medium);inline-size:-webkit-min-content;inline-size:min-content;padding:.75rem 1rem;margin-inline-start:calc(-1px - 1rem);margin-block-start:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-border-normal);background:var(--tui-background-base);color:var(--tui-text-primary);overflow-wrap:break-word}:host.tui-enter,:host.tui-leave{animation-name:tuiFade}\n"] }]
45
+ }, styles: [":host{position:absolute;box-shadow:var(--tui-shadow-medium);inline-size:min-content;padding:.75rem 1rem;margin-inline-start:calc(-1px - 1rem);margin-block-start:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-border-normal);background:var(--tui-background-base);color:var(--tui-text-primary);overflow-wrap:break-word}:host.tui-enter,:host.tui-leave{animation-name:tuiFade}\n"] }]
44
46
  }] });
45
47
 
46
48
  class TuiLineClampPositionDirective extends TuiPositionAccessor {
@@ -53,10 +55,10 @@ class TuiLineClampPositionDirective extends TuiPositionAccessor {
53
55
  const { top, left } = this.accessor.getClientRect();
54
56
  return [top, left];
55
57
  }
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClampPositionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
57
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiLineClampPositionDirective, isStandalone: true, selector: "[tuiLineClampPosition]", providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)], usesInheritance: true, ngImport: i0 }); }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLineClampPositionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
59
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiLineClampPositionDirective, isStandalone: true, selector: "[tuiLineClampPosition]", providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)], usesInheritance: true, ngImport: i0 }); }
58
60
  }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClampPositionDirective, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLineClampPositionDirective, decorators: [{
60
62
  type: Directive,
61
63
  args: [{
62
64
  standalone: true,
@@ -69,12 +71,8 @@ class TuiLineClamp {
69
71
  constructor() {
70
72
  this.options = inject(TUI_LINE_CLAMP_OPTIONS);
71
73
  this.el = tuiInjectElement();
72
- this.cd = inject(ChangeDetectorRef);
73
74
  this.linesLimit$ = new BehaviorSubject(1);
74
75
  this.isOverflown$ = new Subject();
75
- this.initialized = signal(false);
76
- this.maxHeight = signal(0);
77
- this.height = signal(0);
78
76
  this.lineClamp = toSignal(this.linesLimit$.pipe(startWith(1), pairwise(), switchMap(([prev, next]) => next >= prev
79
77
  ? of(next)
80
78
  : tuiTypedFromEvent(this.el, 'transitionend').pipe(filter(tuiIsCurrentTarget), map(() => next))), takeUntilDestroyed()), { initialValue: 0 });
@@ -88,52 +86,48 @@ class TuiLineClamp {
88
86
  this.update();
89
87
  this.isOverflown$.next(this.overflown);
90
88
  }
91
- ngAfterViewInit() {
92
- this.initialized.set(true);
93
- }
94
89
  get overflown() {
95
90
  if (!this.outlet) {
96
91
  return false;
97
92
  }
98
93
  const { scrollHeight, scrollWidth } = this.outlet.nativeElement;
99
94
  const { clientWidth } = this.el;
100
- return scrollHeight > this.maxHeight() || scrollWidth > clientWidth;
95
+ return scrollHeight > this.maxHeight || scrollWidth > clientWidth;
101
96
  }
102
97
  get computedContent() {
103
98
  return this.options.showHint && this.overflown ? this.content : '';
104
99
  }
105
- updateView() {
106
- this.cd.detectChanges();
107
- }
108
100
  update() {
109
- if (this.outlet) {
110
- this.height.set(this.outlet.nativeElement.scrollHeight);
101
+ if (!this.outlet) {
102
+ return;
111
103
  }
112
- this.maxHeight.set(this.lineHeight * this.linesLimit$.value);
104
+ this.el.style.height = tuiPx(this.outlet.nativeElement.scrollHeight);
105
+ this.el.style.maxHeight = tuiPx(this.maxHeight);
106
+ this.el.classList.toggle('_overflown', this.overflown);
107
+ }
108
+ get maxHeight() {
109
+ return this.lineHeight * this.linesLimit$.value;
113
110
  }
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClamp, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
115
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiLineClamp, isStandalone: true, selector: "tui-line-clamp", inputs: { lineHeight: "lineHeight", content: "content", linesLimit: "linesLimit" }, outputs: { overflownChange: "overflownChange" }, host: { listeners: { "transitionend": "updateView()", "mouseenter": "updateView()", "resize": "updateView()" }, properties: { "style.height.px": "height()", "style.max-height.px": "maxHeight()", "class._initialized": "initialized()" } }, providers: [
111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLineClamp, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
112
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiLineClamp, isStandalone: true, selector: "tui-line-clamp", inputs: { lineHeight: "lineHeight", content: "content", linesLimit: "linesLimit" }, outputs: { overflownChange: "overflownChange" }, host: { listeners: { "transitionend": "update()", "mouseenter": "update()", "resize": "update()" } }, providers: [
116
113
  {
117
114
  provide: TUI_HINT_COMPONENT,
118
115
  useValue: TuiLineClampBox,
119
116
  },
120
- ], viewQueries: [{ propertyName: "outlet", first: true, predicate: TuiHintDirective, descendants: true, read: ElementRef }], ngImport: i0, template: "<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{position:relative;display:block;overflow:hidden}:host._initialized{transition-property:max-height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-wrapper{display:-webkit-box;-webkit-box-orient:block-axis;overflow:hidden;overflow-wrap:anywhere}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i1$1.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"], outputs: ["tuiHintVisible"] }, { kind: "directive", type: TuiLineClampPositionDirective, selector: "[tuiLineClampPosition]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
117
+ ], viewQueries: [{ propertyName: "outlet", first: true, predicate: TuiHintDirective, descendants: true, read: ElementRef }], hostDirectives: [{ directive: i1$1.TuiTransitioned }], ngImport: i0, template: "<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{transition-property:max-height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:block;overflow:hidden}:host._overflown .t-wrapper{-webkit-box-orient:block-axis}.t-wrapper{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i2.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"], outputs: ["tuiHintVisible"] }, { kind: "directive", type: TuiLineClampPositionDirective, selector: "[tuiLineClampPosition]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
121
118
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLineClamp, decorators: [{
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLineClamp, decorators: [{
123
120
  type: Component,
124
- args: [{ standalone: true, selector: 'tui-line-clamp', imports: [PolymorpheusOutlet, TuiHint, TuiLineClampPositionDirective], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
121
+ args: [{ selector: 'tui-line-clamp', imports: [PolymorpheusOutlet, TuiHint, TuiLineClampPositionDirective], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
125
122
  {
126
123
  provide: TUI_HINT_COMPONENT,
127
124
  useValue: TuiLineClampBox,
128
125
  },
129
- ], host: {
130
- '[style.height.px]': 'height()',
131
- '[style.max-height.px]': 'maxHeight()',
132
- '[class._initialized]': 'initialized()',
133
- '(transitionend)': 'updateView()',
134
- '(mouseenter)': 'updateView()',
135
- '(resize)': 'updateView()',
136
- }, template: "<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{position:relative;display:block;overflow:hidden}:host._initialized{transition-property:max-height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-wrapper{display:-webkit-box;-webkit-box-orient:block-axis;overflow:hidden;overflow-wrap:anywhere}\n"] }]
126
+ ], hostDirectives: [TuiTransitioned], host: {
127
+ '(transitionend)': 'update()',
128
+ '(mouseenter)': 'update()',
129
+ '(resize)': 'update()',
130
+ }, template: "<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n", styles: [":host{transition-property:max-height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:block;overflow:hidden}:host._overflown .t-wrapper{-webkit-box-orient:block-axis}.t-wrapper{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere}\n"] }]
137
131
  }], propDecorators: { outlet: [{
138
132
  type: ViewChild,
139
133
  args: [TuiHintDirective, { read: ElementRef }]
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-line-clamp.mjs","sources":["../../../projects/kit/components/line-clamp/line-clamp.options.ts","../../../projects/kit/components/line-clamp/line-clamp-box.component.ts","../../../projects/kit/components/line-clamp/line-clamp-position.directive.ts","../../../projects/kit/components/line-clamp/line-clamp.component.ts","../../../projects/kit/components/line-clamp/line-clamp.template.html","../../../projects/kit/components/line-clamp/taiga-ui-kit-components-line-clamp.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiLineClampOptions {\n readonly showHint: boolean;\n}\n\nexport const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions = {\n showHint: true,\n};\n\n/**\n * Default parameters for LineClamp component\n */\nexport const TUI_LINE_CLAMP_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_LINE_CLAMP_OPTIONS' : '',\n {\n factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiLineClampOptionsProvider(\n options: Partial<TuiLineClampOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_LINE_CLAMP_OPTIONS,\n options,\n TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {TUI_HINT_PROVIDERS, TuiHintBaseComponent} from '@taiga-ui/core/directives/hint';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\n@Component({\n standalone: true,\n selector: 'tui-line-clamp-box',\n imports: [PolymorpheusOutlet],\n template: `\n <ng-container *polymorpheusOutlet=\"content() as text\">{{ text }}</ng-container>\n `,\n styleUrls: ['./line-clamp-box.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_HINT_PROVIDERS,\n hostDirectives: [TuiAnimated],\n host: {\n '[style.min-width.px]': 'width',\n },\n})\nexport class TuiLineClampBox extends TuiHintBaseComponent {\n protected get width(): number {\n return this.accessor.getClientRect().width;\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {\n tuiAsPositionAccessor,\n TuiPositionAccessor,\n type TuiRectAccessor,\n} from '@taiga-ui/core/classes';\nimport {TuiHintDirective} from '@taiga-ui/core/directives/hint';\nimport {type TuiPoint} from '@taiga-ui/core/types';\n\n@Directive({\n standalone: true,\n selector: '[tuiLineClampPosition]',\n providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)],\n})\nexport class TuiLineClampPositionDirective extends TuiPositionAccessor {\n private readonly accessor = inject<TuiRectAccessor>(TuiHintDirective);\n public readonly type = 'hint';\n\n public getPosition(): TuiPoint {\n const {top, left} = this.accessor.getClientRect();\n\n return [top, left];\n }\n}\n","import {\n type AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n type DoCheck,\n ElementRef,\n inject,\n Input,\n Output,\n signal,\n ViewChild,\n} from '@angular/core';\nimport {takeUntilDestroyed, toSignal} from '@angular/core/rxjs-interop';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement, tuiIsCurrentTarget} from '@taiga-ui/cdk/utils/dom';\nimport {\n TUI_HINT_COMPONENT,\n TuiHint,\n TuiHintDirective,\n} from '@taiga-ui/core/directives/hint';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\nimport {\n BehaviorSubject,\n debounceTime,\n distinctUntilChanged,\n filter,\n map,\n type Observable,\n of,\n pairwise,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {TUI_LINE_CLAMP_OPTIONS} from './line-clamp.options';\nimport {TuiLineClampBox} from './line-clamp-box.component';\nimport {TuiLineClampPositionDirective} from './line-clamp-position.directive';\n\n@Component({\n standalone: true,\n selector: 'tui-line-clamp',\n imports: [PolymorpheusOutlet, TuiHint, TuiLineClampPositionDirective],\n templateUrl: './line-clamp.template.html',\n styleUrls: ['./line-clamp.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_HINT_COMPONENT,\n useValue: TuiLineClampBox,\n },\n ],\n host: {\n '[style.height.px]': 'height()',\n '[style.max-height.px]': 'maxHeight()',\n '[class._initialized]': 'initialized()',\n '(transitionend)': 'updateView()',\n '(mouseenter)': 'updateView()',\n '(resize)': 'updateView()',\n },\n})\nexport class TuiLineClamp implements DoCheck, AfterViewInit {\n @ViewChild(TuiHintDirective, {read: ElementRef})\n private readonly outlet?: ElementRef<HTMLElement>;\n\n private readonly options = inject(TUI_LINE_CLAMP_OPTIONS);\n private readonly el = tuiInjectElement();\n private readonly cd = inject(ChangeDetectorRef);\n private readonly linesLimit$ = new BehaviorSubject(1);\n private readonly isOverflown$ = new Subject<boolean>();\n protected initialized = signal(false);\n protected maxHeight = signal(0);\n protected height = signal(0);\n\n protected lineClamp = toSignal(\n this.linesLimit$.pipe(\n startWith(1),\n pairwise(),\n switchMap(([prev, next]) =>\n next >= prev\n ? of(next)\n : tuiTypedFromEvent(this.el, 'transitionend').pipe(\n filter(tuiIsCurrentTarget),\n map(() => next),\n ),\n ),\n takeUntilDestroyed(),\n ),\n {initialValue: 0},\n );\n\n @Input()\n public lineHeight = 24;\n\n @Input()\n public content: PolymorpheusContent;\n\n @Output()\n public readonly overflownChange: Observable<boolean> = this.isOverflown$.pipe(\n debounceTime(0),\n distinctUntilChanged(),\n );\n\n @Input()\n public set linesLimit(linesLimit: number) {\n this.linesLimit$.next(linesLimit);\n }\n\n public ngDoCheck(): void {\n this.update();\n this.isOverflown$.next(this.overflown);\n }\n\n public ngAfterViewInit(): void {\n this.initialized.set(true);\n }\n\n protected get overflown(): boolean {\n if (!this.outlet) {\n return false;\n }\n\n const {scrollHeight, scrollWidth} = this.outlet.nativeElement;\n const {clientWidth} = this.el;\n\n return scrollHeight > this.maxHeight() || scrollWidth > clientWidth;\n }\n\n protected get computedContent(): PolymorpheusContent {\n return this.options.showHint && this.overflown ? this.content : '';\n }\n\n protected updateView(): void {\n this.cd.detectChanges();\n }\n\n private update(): void {\n if (this.outlet) {\n this.height.set(this.outlet.nativeElement.scrollHeight);\n }\n\n this.maxHeight.set(this.lineHeight * this.linesLimit$.value);\n }\n}\n","<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOa,MAAA,8BAA8B,GAAwB;AAC/D,IAAA,QAAQ,EAAE,IAAI;EAChB;AAEF;;AAEG;AACU,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,MAAM,8BAA8B;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B,EACjB,OAAA,EAAA,CAAC,kBAAkB,EAAE,OAAO,EAAE,6BAA6B,CAAC,EAAA,eAAA,EAGpD,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,kBAAkB;AAC3B,4BAAA,QAAQ,EAAE,eAAe;AAC5B,yBAAA;qBACJ,EACK,IAAA,EAAA;AACF,wBAAA,mBAAmB,EAAE,UAAU;AAC/B,wBAAA,uBAAuB,EAAE,aAAa;AACtC,wBAAA,sBAAsB,EAAE,eAAe;AACvC,wBAAA,iBAAiB,EAAE,cAAc;AACjC,wBAAA,cAAc,EAAE,cAAc;AAC9B,wBAAA,UAAU,EAAE,cAAc;AAC7B,qBAAA,EAAA,QAAA,EAAA,uTAAA,EAAA,MAAA,EAAA,CAAA,oSAAA,CAAA,EAAA,CAAA;8BAIgB,MAAM,EAAA,CAAA;sBADtB,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,gBAAgB,EAAE,EAAC,IAAI,EAAE,UAAU,EAAC,CAAA;gBA8BxC,UAAU,EAAA,CAAA;sBADhB,KAAK;gBAIC,OAAO,EAAA,CAAA;sBADb,KAAK;gBAIU,eAAe,EAAA,CAAA;sBAD9B,MAAM;gBAOI,UAAU,EAAA,CAAA;sBADpB,KAAK;;;AExGV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-line-clamp.mjs","sources":["../../../projects/kit/components/line-clamp/line-clamp.options.ts","../../../projects/kit/components/line-clamp/line-clamp-box.component.ts","../../../projects/kit/components/line-clamp/line-clamp-position.directive.ts","../../../projects/kit/components/line-clamp/line-clamp.component.ts","../../../projects/kit/components/line-clamp/line-clamp.template.html","../../../projects/kit/components/line-clamp/taiga-ui-kit-components-line-clamp.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiLineClampOptions {\n readonly showHint: boolean;\n}\n\nexport const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions = {\n showHint: true,\n};\n\n/**\n * Default parameters for LineClamp component\n */\nexport const TUI_LINE_CLAMP_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_LINE_CLAMP_OPTIONS' : '',\n {\n factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiLineClampOptionsProvider(\n options: Partial<TuiLineClampOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_LINE_CLAMP_OPTIONS,\n options,\n TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {TUI_HINT_PROVIDERS, TuiHintBaseComponent} from '@taiga-ui/core/directives/hint';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\n@Component({\n selector: 'tui-line-clamp-box',\n imports: [PolymorpheusOutlet],\n template: `\n <ng-container *polymorpheusOutlet=\"content() as text\">{{ text }}</ng-container>\n `,\n styleUrls: ['./line-clamp-box.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_HINT_PROVIDERS,\n hostDirectives: [TuiAnimated],\n host: {\n '[style.min-width.px]': 'width',\n },\n})\nexport class TuiLineClampBox extends TuiHintBaseComponent {\n protected get width(): number {\n return this.accessor.getClientRect().width;\n }\n}\n","import {Directive, inject} from '@angular/core';\nimport {\n tuiAsPositionAccessor,\n TuiPositionAccessor,\n type TuiRectAccessor,\n} from '@taiga-ui/core/classes';\nimport {TuiHintDirective} from '@taiga-ui/core/directives/hint';\nimport {type TuiPoint} from '@taiga-ui/core/types';\n\n@Directive({\n standalone: true,\n selector: '[tuiLineClampPosition]',\n providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)],\n})\nexport class TuiLineClampPositionDirective extends TuiPositionAccessor {\n private readonly accessor = inject<TuiRectAccessor>(TuiHintDirective);\n public readonly type = 'hint';\n\n public getPosition(): TuiPoint {\n const {top, left} = this.accessor.getClientRect();\n\n return [top, left];\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n type DoCheck,\n ElementRef,\n inject,\n Input,\n Output,\n ViewChild,\n} from '@angular/core';\nimport {takeUntilDestroyed, toSignal} from '@angular/core/rxjs-interop';\nimport {TuiTransitioned} from '@taiga-ui/cdk/directives/transitioned';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement, tuiIsCurrentTarget} from '@taiga-ui/cdk/utils/dom';\nimport {tuiPx} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_HINT_COMPONENT,\n TuiHint,\n TuiHintDirective,\n} from '@taiga-ui/core/directives/hint';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\nimport {\n BehaviorSubject,\n debounceTime,\n distinctUntilChanged,\n filter,\n map,\n type Observable,\n of,\n pairwise,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {TUI_LINE_CLAMP_OPTIONS} from './line-clamp.options';\nimport {TuiLineClampBox} from './line-clamp-box.component';\nimport {TuiLineClampPositionDirective} from './line-clamp-position.directive';\n\n@Component({\n selector: 'tui-line-clamp',\n imports: [PolymorpheusOutlet, TuiHint, TuiLineClampPositionDirective],\n templateUrl: './line-clamp.template.html',\n styleUrls: ['./line-clamp.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_HINT_COMPONENT,\n useValue: TuiLineClampBox,\n },\n ],\n hostDirectives: [TuiTransitioned],\n host: {\n '(transitionend)': 'update()',\n '(mouseenter)': 'update()',\n '(resize)': 'update()',\n },\n})\nexport class TuiLineClamp implements DoCheck {\n @ViewChild(TuiHintDirective, {read: ElementRef})\n private readonly outlet?: ElementRef<HTMLElement>;\n\n private readonly options = inject(TUI_LINE_CLAMP_OPTIONS);\n private readonly el = tuiInjectElement();\n private readonly linesLimit$ = new BehaviorSubject(1);\n private readonly isOverflown$ = new Subject<boolean>();\n\n protected lineClamp = toSignal(\n this.linesLimit$.pipe(\n startWith(1),\n pairwise(),\n switchMap(([prev, next]) =>\n next >= prev\n ? of(next)\n : tuiTypedFromEvent(this.el, 'transitionend').pipe(\n filter(tuiIsCurrentTarget),\n map(() => next),\n ),\n ),\n takeUntilDestroyed(),\n ),\n {initialValue: 0},\n );\n\n @Input()\n public lineHeight = 24;\n\n @Input()\n public content: PolymorpheusContent;\n\n @Output()\n public readonly overflownChange: Observable<boolean> = this.isOverflown$.pipe(\n debounceTime(0),\n distinctUntilChanged(),\n );\n\n @Input()\n public set linesLimit(linesLimit: number) {\n this.linesLimit$.next(linesLimit);\n }\n\n public ngDoCheck(): void {\n this.update();\n this.isOverflown$.next(this.overflown);\n }\n\n protected get overflown(): boolean {\n if (!this.outlet) {\n return false;\n }\n\n const {scrollHeight, scrollWidth} = this.outlet.nativeElement;\n const {clientWidth} = this.el;\n\n return scrollHeight > this.maxHeight || scrollWidth > clientWidth;\n }\n\n protected get computedContent(): PolymorpheusContent {\n return this.options.showHint && this.overflown ? this.content : '';\n }\n\n protected update(): void {\n if (!this.outlet) {\n return;\n }\n\n this.el.style.height = tuiPx(this.outlet.nativeElement.scrollHeight);\n this.el.style.maxHeight = tuiPx(this.maxHeight);\n this.el.classList.toggle('_overflown', this.overflown);\n }\n\n private get maxHeight(): number {\n return this.lineHeight * this.linesLimit$.value;\n }\n}\n","<div\n tuiLineClampPosition\n class=\"t-wrapper\"\n [style.-webkit-line-clamp]=\"lineClamp()\"\n [style.word-break]=\"lineClamp() > 1 ? 'break-word' : 'break-all'\"\n [tuiHint]=\"computedContent\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AAOO,MAAM,8BAA8B,GAAwB;AAC/D,IAAA,QAAQ,EAAE,IAAI;;AAGlB;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B,qBAAA,EAAA,QAAA,EAAA,uTAAA,EAAA,MAAA,EAAA,CAAA,6SAAA,CAAA,EAAA;8BAIgB,MAAM,EAAA,CAAA;sBADtB,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,gBAAgB,EAAE,EAAC,IAAI,EAAE,UAAU,EAAC;gBA0BxC,UAAU,EAAA,CAAA;sBADhB;gBAIM,OAAO,EAAA,CAAA;sBADb;gBAIe,eAAe,EAAA,CAAA;sBAD9B;gBAOU,UAAU,EAAA,CAAA;sBADpB;;;AEhGL;;AAEG;;;;"}
@@ -1,32 +1,32 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive } from '@angular/core';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, Directive } from '@angular/core';
3
3
  import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
4
  import * as i1 from '@taiga-ui/core/directives/appearance';
5
5
  import { TUI_APPEARANCE_OPTIONS, TuiWithAppearance } from '@taiga-ui/core/directives/appearance';
6
6
 
7
7
  class TuiMessageStyles {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMessageStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiMessageStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-message" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiMessage]{display:inline-flex;padding:.5rem .625rem;min-block-size:2.25rem;block-size:auto;box-sizing:border-box;inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;isolation:isolate;white-space:nowrap;text-align:start;font:var(--tui-font-text-ui-m);border-radius:var(--tui-radius-l)}[tuiMessage]>[tuiLink]{color:inherit!important;-webkit-text-decoration:underline solid!important;text-decoration:underline solid!important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMessageStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiMessageStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-message" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiMessage]{display:inline-flex;padding:.5rem .625rem;min-block-size:2.25rem;block-size:auto;box-sizing:border-box;inline-size:fit-content;isolation:isolate;white-space:nowrap;text-align:start;font:var(--tui-font-text-ui-m);border-radius:var(--tui-radius-l)}[tuiMessage]>[tuiLink]{color:inherit!important;text-decoration:underline solid!important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMessageStyles, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMessageStyles, decorators: [{
12
12
  type: Component,
13
13
  args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
14
14
  class: 'tui-message',
15
- }, styles: ["[tuiMessage]{display:inline-flex;padding:.5rem .625rem;min-block-size:2.25rem;block-size:auto;box-sizing:border-box;inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;isolation:isolate;white-space:nowrap;text-align:start;font:var(--tui-font-text-ui-m);border-radius:var(--tui-radius-l)}[tuiMessage]>[tuiLink]{color:inherit!important;-webkit-text-decoration:underline solid!important;text-decoration:underline solid!important}\n"] }]
15
+ }, styles: ["[tuiMessage]{display:inline-flex;padding:.5rem .625rem;min-block-size:2.25rem;block-size:auto;box-sizing:border-box;inline-size:fit-content;isolation:isolate;white-space:nowrap;text-align:start;font:var(--tui-font-text-ui-m);border-radius:var(--tui-radius-l)}[tuiMessage]>[tuiLink]{color:inherit!important;text-decoration:underline solid!important}\n"] }]
16
16
  }] });
17
17
  class TuiMessage {
18
18
  constructor() {
19
19
  this.nothing = tuiWithStyles(TuiMessageStyles);
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMessage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiMessage, isStandalone: true, selector: "[tuiMessage]", providers: [
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMessage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiMessage, isStandalone: true, selector: "[tuiMessage]", providers: [
23
23
  {
24
24
  provide: TUI_APPEARANCE_OPTIONS,
25
25
  useValue: { appearance: 'neutral' },
26
26
  },
27
27
  ], hostDirectives: [{ directive: i1.TuiWithAppearance }], ngImport: i0 }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMessage, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMessage, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
32
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-message.mjs","sources":["../../../projects/kit/components/message/message.directive.ts","../../../projects/kit/components/message/taiga-ui-kit-components-message.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_APPEARANCE_OPTIONS,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\n\n@Component({\n standalone: true,\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/message.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-message',\n },\n})\nclass TuiMessageStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiMessage]',\n providers: [\n {\n provide: TUI_APPEARANCE_OPTIONS,\n useValue: {appearance: 'neutral'},\n },\n ],\n hostDirectives: [TuiWithAppearance],\n})\nexport class TuiMessage {\n protected readonly nothing = tuiWithStyles(TuiMessageStyles);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYA,MAUM,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,iHARR,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+cAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAQV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAVrB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,KAAK,EAAE,aAAa;AACvB,qBAAA,EAAA,MAAA,EAAA,CAAA,+cAAA,CAAA,EAAA,CAAA;;AAIL,MAWa,UAAU,CAAA;AAXvB,IAAA,WAAA,GAAA;AAYuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;AAChE,KAAA;+GAFY,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAV,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,UAAU,EARR,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,SAAA,EAAA;AACP,YAAA;AACI,gBAAA,OAAO,EAAE,sBAAsB;AAC/B,gBAAA,QAAQ,EAAE,EAAC,UAAU,EAAE,SAAS,EAAC;AACpC,aAAA;AACJ,SAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAGQ,UAAU,EAAA,UAAA,EAAA,CAAA;kBAXtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,SAAS,EAAE;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,sBAAsB;AAC/B,4BAAA,QAAQ,EAAE,EAAC,UAAU,EAAE,SAAS,EAAC;AACpC,yBAAA;AACJ,qBAAA;oBACD,cAAc,EAAE,CAAC,iBAAiB,CAAC;AACtC,iBAAA,CAAA;;;AClCD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-message.mjs","sources":["../../../projects/kit/components/message/message.directive.ts","../../../projects/kit/components/message/taiga-ui-kit-components-message.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_APPEARANCE_OPTIONS,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\n\n@Component({\n standalone: true,\n template: '',\n styles: ['@import \"@taiga-ui/kit/styles/components/message.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-message',\n },\n})\nclass TuiMessageStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiMessage]',\n providers: [\n {\n provide: TUI_APPEARANCE_OPTIONS,\n useValue: {appearance: 'neutral'},\n },\n ],\n hostDirectives: [TuiWithAppearance],\n})\nexport class TuiMessage {\n protected readonly nothing = tuiWithStyles(TuiMessageStyles);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYA,MAUM,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,iHARR,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,gWAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAQV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAVrB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,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input, ContentChildren, Directive } from '@angular/core';
2
+ import { signal, inject, computed, ContentChildren, Input, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
3
3
  import { toSignal } from '@angular/core/rxjs-interop';
4
4
  import { NgControl } from '@angular/forms';
5
5
  import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
6
6
  import { TuiOptionWithValue, tuiAsOptionContent } from '@taiga-ui/core/components/data-list';
7
7
  import { TuiLink } from '@taiga-ui/core/components/link';
8
8
  import * as i2 from '@taiga-ui/core/components/textfield';
9
- import { TuiTextfieldComponent, TUI_TEXTFIELD_OPTIONS, TuiTextfield, TuiSelectLike } from '@taiga-ui/core/components/textfield';
9
+ import { TuiTextfieldComponent, TUI_TEXTFIELD_OPTIONS, TuiSelectLike, TuiTextfield } from '@taiga-ui/core/components/textfield';
10
10
  import { TUI_ITEMS_HANDLERS } from '@taiga-ui/core/directives/items-handlers';
11
11
  import { TUI_MULTI_SELECT_TEXTS } from '@taiga-ui/kit/tokens';
12
12
  import { tuiInjectValue, tuiIsFlat } from '@taiga-ui/kit/utils';
13
- import { NgIf, NgForOf, NgTemplateOutlet } from '@angular/common';
14
13
  import { TuiCheckbox } from '@taiga-ui/kit/components/checkbox';
14
+ import { NgTemplateOutlet } from '@angular/common';
15
15
  import { TuiControl } from '@taiga-ui/cdk/classes';
16
16
  import { TUI_IS_IOS, TUI_IS_ANDROID } from '@taiga-ui/cdk/tokens';
17
17
  import { tuiInjectElement, tuiIsPresent as tuiIsPresent$1 } from '@taiga-ui/cdk/utils';
@@ -43,12 +43,12 @@ class TuiMultiSelectGroupComponent {
43
43
  const others = this.value().filter((current) => values.every((item) => !matcher(current, item)));
44
44
  this.control?.control?.setValue(this.checked() ? others : others.concat(values));
45
45
  }
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
47
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiMultiSelectGroupComponent, isStandalone: true, selector: "tui-opt-group[tuiMultiSelectGroup]", inputs: { label: "label" }, host: { properties: { "class._label": "label" } }, queries: [{ propertyName: "options", predicate: TuiOptionWithValue }], ngImport: i0, template: "<span class=\"t-wrapper\">\n <span class=\"t-label\">{{ label }}</span>\n <button\n tuiLink\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ texts()?.[checked() ? 'none' : 'all'] }}\n </button>\n</span>\n<ng-content />\n", styles: [":host._label:before{display:none}:host:not(:first-of-type) .t-label:not(:empty){padding-block-start:1.25rem}:host:not(:first-of-type) .t-button{margin-block-start:1.25rem}.t-wrapper{display:flex;align-items:flex-start}.t-wrapper:last-child{display:none}.t-label:not(:empty){flex:1;padding:.75rem 1rem .25rem .625rem}.t-button{margin:.75rem 1rem 0 auto;font-weight:400}\n"], dependencies: [{ kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
46
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMultiSelectGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
47
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiMultiSelectGroupComponent, isStandalone: true, selector: "tui-opt-group[tuiMultiSelectGroup]", inputs: { label: "label" }, host: { properties: { "class._label": "label" } }, queries: [{ propertyName: "options", predicate: TuiOptionWithValue }], ngImport: i0, template: "<span class=\"t-wrapper\">\n <span class=\"t-label\">{{ label }}</span>\n <button\n tuiLink\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ texts()?.[checked() ? 'none' : 'all'] }}\n </button>\n</span>\n<ng-content />\n", styles: [":host._label:before{display:none}:host:not(:first-of-type) .t-label:not(:empty){padding-block-start:1.25rem}:host:not(:first-of-type) .t-button{margin-block-start:1.25rem}.t-wrapper{display:flex;align-items:flex-start}.t-wrapper:last-child{display:none}.t-label:not(:empty){flex:1;padding:.75rem 1rem .25rem .625rem}.t-button{margin:.75rem 1rem 0 auto;font-weight:400}\n"], dependencies: [{ kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectGroupComponent, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMultiSelectGroupComponent, decorators: [{
50
50
  type: Component,
51
- args: [{ standalone: true, selector: 'tui-opt-group[tuiMultiSelectGroup]', imports: [TuiLink], changeDetection: ChangeDetectionStrategy.OnPush, host: {
51
+ args: [{ selector: 'tui-opt-group[tuiMultiSelectGroup]', imports: [TuiLink], changeDetection: ChangeDetectionStrategy.OnPush, host: {
52
52
  '[class._label]': 'label',
53
53
  }, template: "<span class=\"t-wrapper\">\n <span class=\"t-label\">{{ label }}</span>\n <button\n tuiLink\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ texts()?.[checked() ? 'none' : 'all'] }}\n </button>\n</span>\n<ng-content />\n", styles: [":host._label:before{display:none}:host:not(:first-of-type) .t-label:not(:empty){padding-block-start:1.25rem}:host:not(:first-of-type) .t-button{margin-block-start:1.25rem}.t-wrapper{display:flex;align-items:flex-start}.t-wrapper:last-child{display:none}.t-label:not(:empty){flex:1;padding:.75rem 1rem .25rem .625rem}.t-button{margin:.75rem 1rem 0 auto;font-weight:400}\n"] }]
54
54
  }], propDecorators: { label: [{
@@ -71,35 +71,37 @@ class TuiMultiSelectOption {
71
71
  controlValue.some((item) => this.handlers?.identityMatcher()(item, optionValue) ??
72
72
  item === optionValue));
73
73
  }
74
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOption, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
75
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiMultiSelectOption, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
76
- <input
77
- *ngIf="option"
78
- tuiCheckbox
79
- type="checkbox"
80
- [checked]="selected()"
81
- [size]="size() === 'l' ? 'm' : 's'"
82
- />
83
- `, isInline: true, styles: [":host-context(tui-dropdown-mobile) input{order:100;margin-inline-start:auto}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TuiCheckbox, selector: "input[type=\"checkbox\"][tuiCheckbox]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
74
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMultiSelectOption, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
75
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: TuiMultiSelectOption, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
76
+ @if (option) {
77
+ <input
78
+ tuiCheckbox
79
+ type="checkbox"
80
+ [checked]="selected()"
81
+ [size]="size() === 'l' ? 'm' : 's'"
82
+ />
83
+ }
84
+ `, isInline: true, styles: [":host-context(tui-dropdown-mobile) input{order:100;margin-inline-start:auto}\n"], dependencies: [{ kind: "component", type: TuiCheckbox, selector: "input[type=\"checkbox\"][tuiCheckbox]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
84
85
  }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectOption, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMultiSelectOption, decorators: [{
86
87
  type: Component,
87
- args: [{ standalone: true, imports: [NgIf, TuiCheckbox], template: `
88
- <input
89
- *ngIf="option"
90
- tuiCheckbox
91
- type="checkbox"
92
- [checked]="selected()"
93
- [size]="size() === 'l' ? 'm' : 's'"
94
- />
88
+ args: [{ imports: [TuiCheckbox], template: `
89
+ @if (option) {
90
+ <input
91
+ tuiCheckbox
92
+ type="checkbox"
93
+ [checked]="selected()"
94
+ [size]="size() === 'l' ? 'm' : 's'"
95
+ />
96
+ }
95
97
  `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host-context(tui-dropdown-mobile) input{order:100;margin-inline-start:auto}\n"] }]
96
98
  }] });
97
99
 
98
100
  class TuiMultiSelectGroupDirective {
99
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
100
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiMultiSelectGroupDirective, isStandalone: true, selector: "[tuiMultiSelectGroup]", providers: [tuiAsOptionContent(TuiMultiSelectOption)], ngImport: i0 }); }
101
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMultiSelectGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
102
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiMultiSelectGroupDirective, isStandalone: true, selector: "[tuiMultiSelectGroup]", providers: [tuiAsOptionContent(TuiMultiSelectOption)], ngImport: i0 }); }
101
103
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectGroupDirective, decorators: [{
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMultiSelectGroupDirective, decorators: [{
103
105
  type: Directive,
104
106
  args: [{
105
107
  standalone: true,
@@ -129,16 +131,16 @@ class TuiMultiSelectNative {
129
131
  const options = Array.from(this.el.selectedOptions).map(({ index }) => index);
130
132
  this.textfield.cva?.onChange(items.flat().filter((_, i) => options.includes(i)));
131
133
  }
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectNative, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
133
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiMultiSelectNative, isStandalone: true, selector: "select[tuiMultiSelect]", inputs: { items: "items", labels: "labels", placeholder: "placeholder" }, host: { attributes: { "multiple": "" }, listeners: { "click.stop.zoneless": "0", "input": "onInput()" } }, providers: [tuiAsOptionContent(TuiMultiSelectOption)], hostDirectives: [{ directive: i1.TuiInputChipDirective }, { directive: i2.TuiSelectLike }], ngImport: i0, template: "<ng-container *ngIf=\"items && !isFlat(items); else flatItems\">\n <optgroup\n *ngFor=\"let group of labels; let index = index\"\n [label]=\"labels[index]\"\n >\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items[index]}\" />\n </optgroup>\n <ng-container *ngIf=\"!mobile\">\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"items\"\n [labels]=\"labels\"\n />\n </ng-container>\n</ng-container>\n\n<ng-template #flatItems>\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items}\" />\n <ng-container *ngIf=\"!mobile\">\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"$any(items)\"\n />\n </ng-container>\n</ng-template>\n\n<ng-template\n #options\n let-items\n>\n <option\n *ngFor=\"let option of items\"\n [disabled]=\"handlers.disabledItemHandler()(option)\"\n [selected]=\"isSelected()(option)\"\n [value]=\"handlers.stringify()(option)\"\n >\n {{ handlers.stringify()(option) }}\n </option>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.TuiDataListWrapperComponent, selector: "tui-data-list-wrapper:not([labels]), tui-data-list-wrapper:not([labels])[new]", inputs: ["items", "disabledItemHandler", "emptyContent", "size", "itemContent"], outputs: ["itemClick"] }, { kind: "component", type: i3.TuiDataListGroupWrapperComponent, selector: "tui-data-list-wrapper[labels]", inputs: ["labels"] }, { kind: "directive", type: i2.TuiTextfieldDropdownDirective, selector: "ng-template[tuiTextfieldDropdown]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
134
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMultiSelectNative, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
135
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: TuiMultiSelectNative, isStandalone: true, selector: "select[tuiMultiSelect]", inputs: { items: "items", labels: "labels", placeholder: "placeholder" }, host: { attributes: { "multiple": "" }, listeners: { "click.stop.zoneless": "0", "input": "onInput()" } }, providers: [tuiAsOptionContent(TuiMultiSelectOption)], hostDirectives: [{ directive: i1.TuiInputChipDirective }, { directive: i2.TuiSelectLike }], ngImport: i0, template: "@if (items && !isFlat(items)) {\n @for (group of labels; track group; let index = $index) {\n <optgroup [label]=\"labels[index]\">\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items[index]}\" />\n </optgroup>\n }\n @if (!mobile) {\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"items\"\n [labels]=\"labels\"\n />\n }\n} @else {\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items}\" />\n @if (!mobile) {\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"$any(items)\"\n />\n }\n}\n\n<ng-template\n #options\n let-items\n>\n @for (option of items; track option) {\n <option\n [disabled]=\"handlers.disabledItemHandler()(option)\"\n [selected]=\"isSelected()(option)\"\n [value]=\"handlers.stringify()(option)\"\n >\n {{ handlers.stringify()(option) }}\n </option>\n }\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.TuiDataListWrapperComponent, selector: "tui-data-list-wrapper:not([labels]), tui-data-list-wrapper:not([labels])[new]", inputs: ["items", "disabledItemHandler", "emptyContent", "size", "itemContent"], outputs: ["itemClick"] }, { kind: "component", type: i3.TuiDataListGroupWrapperComponent, selector: "tui-data-list-wrapper[labels]", inputs: ["labels"] }, { kind: "directive", type: i2.TuiTextfieldDropdownDirective, selector: "ng-template[tuiTextfieldDropdown]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
134
136
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMultiSelectNative, decorators: [{
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMultiSelectNative, decorators: [{
136
138
  type: Component,
137
- args: [{ standalone: true, selector: 'select[tuiMultiSelect]', imports: [NgForOf, NgIf, NgTemplateOutlet, TuiDataListWrapper, TuiTextfield], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAsOptionContent(TuiMultiSelectOption)], hostDirectives: [TuiInputChipDirective, TuiSelectLike], host: {
139
+ args: [{ selector: 'select[tuiMultiSelect]', imports: [NgTemplateOutlet, TuiDataListWrapper, TuiTextfield], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAsOptionContent(TuiMultiSelectOption)], hostDirectives: [TuiInputChipDirective, TuiSelectLike], host: {
138
140
  multiple: '',
139
141
  '(click.stop.zoneless)': '0',
140
142
  '(input)': 'onInput()',
141
- }, template: "<ng-container *ngIf=\"items && !isFlat(items); else flatItems\">\n <optgroup\n *ngFor=\"let group of labels; let index = index\"\n [label]=\"labels[index]\"\n >\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items[index]}\" />\n </optgroup>\n <ng-container *ngIf=\"!mobile\">\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"items\"\n [labels]=\"labels\"\n />\n </ng-container>\n</ng-container>\n\n<ng-template #flatItems>\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items}\" />\n <ng-container *ngIf=\"!mobile\">\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"$any(items)\"\n />\n </ng-container>\n</ng-template>\n\n<ng-template\n #options\n let-items\n>\n <option\n *ngFor=\"let option of items\"\n [disabled]=\"handlers.disabledItemHandler()(option)\"\n [selected]=\"isSelected()(option)\"\n [value]=\"handlers.stringify()(option)\"\n >\n {{ handlers.stringify()(option) }}\n </option>\n</ng-template>\n" }]
143
+ }, template: "@if (items && !isFlat(items)) {\n @for (group of labels; track group; let index = $index) {\n <optgroup [label]=\"labels[index]\">\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items[index]}\" />\n </optgroup>\n }\n @if (!mobile) {\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"items\"\n [labels]=\"labels\"\n />\n }\n} @else {\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items}\" />\n @if (!mobile) {\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"$any(items)\"\n />\n }\n}\n\n<ng-template\n #options\n let-items\n>\n @for (option of items; track option) {\n <option\n [disabled]=\"handlers.disabledItemHandler()(option)\"\n [selected]=\"isSelected()(option)\"\n [value]=\"handlers.stringify()(option)\"\n >\n {{ handlers.stringify()(option) }}\n </option>\n }\n</ng-template>\n" }]
142
144
  }], propDecorators: { items: [{
143
145
  type: Input
144
146
  }], labels: [{
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-multi-select.mjs","sources":["../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.component.ts","../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.template.html","../../../projects/kit/components/multi-select/multi-select-option/multi-select-option.component.ts","../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.directive.ts","../../../projects/kit/components/multi-select/multi-select-native/multi-select-native.component.ts","../../../projects/kit/components/multi-select/multi-select-native/multi-select-native.template.html","../../../projects/kit/components/multi-select/multi-select.ts","../../../projects/kit/components/multi-select/taiga-ui-kit-components-multi-select.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n ContentChildren,\n inject,\n Input,\n type QueryList,\n signal,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiOptionWithValue} from '@taiga-ui/core/components/data-list';\nimport {TuiLink} from '@taiga-ui/core/components/link';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_ITEMS_HANDLERS,\n type TuiItemsHandlers,\n} from '@taiga-ui/core/directives/items-handlers';\nimport {TUI_MULTI_SELECT_TEXTS} from '@taiga-ui/kit/tokens';\nimport {tuiInjectValue} from '@taiga-ui/kit/utils';\n\n@Component({\n standalone: true,\n selector: 'tui-opt-group[tuiMultiSelectGroup]',\n imports: [TuiLink],\n templateUrl: './multi-select-group.template.html',\n styleUrls: ['./multi-select-group.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class._label]': 'label',\n },\n})\nexport class TuiMultiSelectGroupComponent<T> {\n private readonly values = signal<readonly T[]>([]);\n private readonly handlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS);\n private readonly control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n protected readonly texts = toSignal(inject(TUI_MULTI_SELECT_TEXTS));\n protected readonly value = tuiInjectValue<readonly T[]>();\n protected readonly checked = computed(() =>\n this.values().every((item) =>\n this.value().some((value) => this.handlers.identityMatcher()(item, value)),\n ),\n );\n\n @Input()\n public label = '';\n\n @ContentChildren(TuiOptionWithValue)\n protected set options(options: QueryList<TuiOptionWithValue<T>>) {\n this.values.set(\n options\n .toArray()\n .map(({value}) => value())\n .filter(tuiIsPresent),\n );\n }\n\n protected toggle(): void {\n const values = this.values();\n const matcher = this.handlers.identityMatcher();\n const others = this.value().filter((current) =>\n values.every((item) => !matcher(current, item)),\n );\n\n this.control?.control?.setValue(this.checked() ? others : others.concat(values));\n }\n}\n","<span class=\"t-wrapper\">\n <span class=\"t-label\">{{ label }}</span>\n <button\n tuiLink\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ texts()?.[checked() ? 'none' : 'all'] }}\n </button>\n</span>\n<ng-content />\n","import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, computed, inject} from '@angular/core';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiOptionWithValue} from '@taiga-ui/core/components/data-list';\nimport {TUI_TEXTFIELD_OPTIONS} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_ITEMS_HANDLERS,\n type TuiItemsHandlers,\n} from '@taiga-ui/core/directives/items-handlers';\nimport {TuiCheckbox} from '@taiga-ui/kit/components/checkbox';\nimport {tuiInjectValue} from '@taiga-ui/kit/utils';\n\n@Component({\n standalone: true,\n imports: [NgIf, TuiCheckbox],\n template: `\n <input\n *ngIf=\"option\"\n tuiCheckbox\n type=\"checkbox\"\n [checked]=\"selected()\"\n [size]=\"size() === 'l' ? 'm' : 's'\"\n />\n `,\n styles: [\n `\n :host-context(tui-dropdown-mobile) input {\n order: 100;\n margin-inline-start: auto;\n }\n `,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMultiSelectOption<T> {\n protected readonly option = inject<TuiOptionWithValue<T>>(TuiOptionWithValue, {\n optional: true,\n });\n\n protected readonly handlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS);\n protected readonly value = tuiInjectValue<readonly T[]>();\n protected readonly size = inject(TUI_TEXTFIELD_OPTIONS).size;\n protected readonly selected = computed(\n (controlValue = this.value(), optionValue = this.option?.value()) =>\n tuiIsPresent(optionValue) &&\n tuiIsPresent(controlValue) &&\n controlValue.some(\n (item) =>\n this.handlers?.identityMatcher()(item, optionValue) ??\n item === optionValue,\n ),\n );\n}\n","import {Directive} from '@angular/core';\nimport {tuiAsOptionContent} from '@taiga-ui/core/components/data-list';\n\nimport {TuiMultiSelectOption} from '../multi-select-option/multi-select-option.component';\n\n@Directive({\n standalone: true,\n selector: '[tuiMultiSelectGroup]',\n providers: [tuiAsOptionContent(TuiMultiSelectOption)],\n})\nexport class TuiMultiSelectGroupDirective {}\n","import {NgForOf, NgIf, NgTemplateOutlet} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, computed, inject, Input} from '@angular/core';\nimport {TuiControl} from '@taiga-ui/cdk/classes';\nimport {TUI_IS_ANDROID, TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement, tuiIsPresent} from '@taiga-ui/cdk/utils';\nimport {tuiAsOptionContent} from '@taiga-ui/core/components/data-list';\nimport {\n TuiSelectLike,\n TuiTextfield,\n TuiTextfieldComponent,\n} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_ITEMS_HANDLERS,\n type TuiItemsHandlers,\n} from '@taiga-ui/core/directives/items-handlers';\nimport {TuiDataListWrapper} from '@taiga-ui/kit/components/data-list-wrapper';\nimport {TuiInputChipDirective} from '@taiga-ui/kit/components/input-chip';\nimport {tuiIsFlat} from '@taiga-ui/kit/utils';\n\nimport {TuiMultiSelectOption} from '../multi-select-option/multi-select-option.component';\n\n@Component({\n standalone: true,\n selector: 'select[tuiMultiSelect]',\n imports: [NgForOf, NgIf, NgTemplateOutlet, TuiDataListWrapper, TuiTextfield],\n templateUrl: './multi-select-native.template.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAsOptionContent(TuiMultiSelectOption)],\n hostDirectives: [TuiInputChipDirective, TuiSelectLike],\n host: {\n multiple: '',\n '(click.stop.zoneless)': '0',\n '(input)': 'onInput()',\n },\n})\nexport class TuiMultiSelectNative<T> {\n private readonly control: TuiControl<readonly T[]> = inject(TuiControl);\n private readonly textfield = inject(TuiTextfieldComponent);\n\n protected readonly isFlat = tuiIsFlat;\n protected readonly handlers: TuiItemsHandlers<T> = inject(TUI_ITEMS_HANDLERS);\n protected readonly el = tuiInjectElement<HTMLSelectElement>();\n protected readonly mobile =\n inject(TUI_IS_IOS) || (inject(TUI_IS_ANDROID) && 'showPicker' in this.el);\n\n protected readonly isSelected = computed(\n (value = this.control.value()) =>\n (x: T) =>\n tuiIsPresent(value) &&\n value.some((item) => this.handlers.identityMatcher()(x, item)),\n );\n\n @Input()\n public items: ReadonlyArray<readonly T[]> | readonly T[] | null = [];\n\n @Input()\n public labels: readonly string[] = [];\n\n @Input()\n public set placeholder(placeholder: string) {\n this.textfield.fillerSetter = placeholder;\n }\n\n protected onInput(): void {\n const items = this.items || [];\n const options = Array.from(this.el.selectedOptions).map(({index}) => index);\n\n this.textfield.cva?.onChange(items.flat().filter((_, i) => options.includes(i)));\n }\n}\n","<ng-container *ngIf=\"items && !isFlat(items); else flatItems\">\n <optgroup\n *ngFor=\"let group of labels; let index = index\"\n [label]=\"labels[index]\"\n >\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items[index]}\" />\n </optgroup>\n <ng-container *ngIf=\"!mobile\">\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"items\"\n [labels]=\"labels\"\n />\n </ng-container>\n</ng-container>\n\n<ng-template #flatItems>\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items}\" />\n <ng-container *ngIf=\"!mobile\">\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"$any(items)\"\n />\n </ng-container>\n</ng-template>\n\n<ng-template\n #options\n let-items\n>\n <option\n *ngFor=\"let option of items\"\n [disabled]=\"handlers.disabledItemHandler()(option)\"\n [selected]=\"isSelected()(option)\"\n [value]=\"handlers.stringify()(option)\"\n >\n {{ handlers.stringify()(option) }}\n </option>\n</ng-template>\n","import {TuiMultiSelectGroupComponent} from './multi-select-group/multi-select-group.component';\nimport {TuiMultiSelectGroupDirective} from './multi-select-group/multi-select-group.directive';\nimport {TuiMultiSelectNative} from './multi-select-native/multi-select-native.component';\n\nexport const TuiMultiSelect = [\n TuiMultiSelectGroupComponent,\n TuiMultiSelectGroupDirective,\n TuiMultiSelectNative,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiIsPresent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAuBA,MAWa,4BAA4B,CAAA;AAXzC,IAAA,WAAA,GAAA;AAYqB,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAe,EAAE,CAAC,CAAC;AAClC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAsB,kBAAkB,CAAC,CAAC;AAC3D,QAAA,IAAA,CAAA,OAAO,GACpB,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO;YACxD,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;QAErB,IAAK,CAAA,KAAA,GAAG,QAAQ,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC;QACjD,IAAK,CAAA,KAAA,GAAG,cAAc,EAAgB,CAAC;QACvC,IAAO,CAAA,OAAA,GAA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,EAAA,CAAA,6BAAA,EAAA,QAAA,EAAA,mCAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAWhC,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAdhC,SAAS;AACM,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,wBAAwB,EACzB,OAAA,EAAA,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,YAAY,CAAC,EAAA,eAAA,EAE3D,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAC,EAAA,cAAA,EACrC,CAAC,qBAAqB,EAAE,aAAa,CAAC,EAChD,IAAA,EAAA;AACF,wBAAA,QAAQ,EAAE,EAAE;AACZ,wBAAA,uBAAuB,EAAE,GAAG;AAC5B,wBAAA,SAAS,EAAE,WAAW;AACzB,qBAAA,EAAA,QAAA,EAAA,mqCAAA,EAAA,CAAA;8BAoBM,KAAK,EAAA,CAAA;sBADX,KAAK;gBAIC,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAIK,WAAW,EAAA,CAAA;sBADrB,KAAK;;;AEtDG,MAAA,cAAc,GAAG;IAC1B,4BAA4B;IAC5B,4BAA4B;IAC5B,oBAAoB;;;ACPxB;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-multi-select.mjs","sources":["../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.component.ts","../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.template.html","../../../projects/kit/components/multi-select/multi-select-option/multi-select-option.component.ts","../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.directive.ts","../../../projects/kit/components/multi-select/multi-select-native/multi-select-native.component.ts","../../../projects/kit/components/multi-select/multi-select-native/multi-select-native.template.html","../../../projects/kit/components/multi-select/multi-select.ts","../../../projects/kit/components/multi-select/taiga-ui-kit-components-multi-select.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n ContentChildren,\n inject,\n Input,\n type QueryList,\n signal,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiOptionWithValue} from '@taiga-ui/core/components/data-list';\nimport {TuiLink} from '@taiga-ui/core/components/link';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_ITEMS_HANDLERS,\n type TuiItemsHandlers,\n} from '@taiga-ui/core/directives/items-handlers';\nimport {TUI_MULTI_SELECT_TEXTS} from '@taiga-ui/kit/tokens';\nimport {tuiInjectValue} from '@taiga-ui/kit/utils';\n\n@Component({\n selector: 'tui-opt-group[tuiMultiSelectGroup]',\n imports: [TuiLink],\n templateUrl: './multi-select-group.template.html',\n styleUrls: ['./multi-select-group.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class._label]': 'label',\n },\n})\nexport class TuiMultiSelectGroupComponent<T> {\n private readonly values = signal<readonly T[]>([]);\n private readonly handlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS);\n private readonly control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n protected readonly texts = toSignal(inject(TUI_MULTI_SELECT_TEXTS));\n protected readonly value = tuiInjectValue<readonly T[]>();\n protected readonly checked = computed(() =>\n this.values().every((item) =>\n this.value().some((value) => this.handlers.identityMatcher()(item, value)),\n ),\n );\n\n @Input()\n public label = '';\n\n @ContentChildren(TuiOptionWithValue)\n protected set options(options: QueryList<TuiOptionWithValue<T>>) {\n this.values.set(\n options\n .toArray()\n .map(({value}) => value())\n .filter(tuiIsPresent),\n );\n }\n\n protected toggle(): void {\n const values = this.values();\n const matcher = this.handlers.identityMatcher();\n const others = this.value().filter((current) =>\n values.every((item) => !matcher(current, item)),\n );\n\n this.control?.control?.setValue(this.checked() ? others : others.concat(values));\n }\n}\n","<span class=\"t-wrapper\">\n <span class=\"t-label\">{{ label }}</span>\n <button\n tuiLink\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ texts()?.[checked() ? 'none' : 'all'] }}\n </button>\n</span>\n<ng-content />\n","import {ChangeDetectionStrategy, Component, computed, inject} from '@angular/core';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiOptionWithValue} from '@taiga-ui/core/components/data-list';\nimport {TUI_TEXTFIELD_OPTIONS} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_ITEMS_HANDLERS,\n type TuiItemsHandlers,\n} from '@taiga-ui/core/directives/items-handlers';\nimport {TuiCheckbox} from '@taiga-ui/kit/components/checkbox';\nimport {tuiInjectValue} from '@taiga-ui/kit/utils';\n\n@Component({\n imports: [TuiCheckbox],\n template: `\n @if (option) {\n <input\n tuiCheckbox\n type=\"checkbox\"\n [checked]=\"selected()\"\n [size]=\"size() === 'l' ? 'm' : 's'\"\n />\n }\n `,\n styles: [\n `\n :host-context(tui-dropdown-mobile) input {\n order: 100;\n margin-inline-start: auto;\n }\n `,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMultiSelectOption<T> {\n protected readonly option = inject<TuiOptionWithValue<T>>(TuiOptionWithValue, {\n optional: true,\n });\n\n protected readonly handlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS);\n protected readonly value = tuiInjectValue<readonly T[]>();\n protected readonly size = inject(TUI_TEXTFIELD_OPTIONS).size;\n protected readonly selected = computed(\n (controlValue = this.value(), optionValue = this.option?.value()) =>\n tuiIsPresent(optionValue) &&\n tuiIsPresent(controlValue) &&\n controlValue.some(\n (item) =>\n this.handlers?.identityMatcher()(item, optionValue) ??\n item === optionValue,\n ),\n );\n}\n","import {Directive} from '@angular/core';\nimport {tuiAsOptionContent} from '@taiga-ui/core/components/data-list';\n\nimport {TuiMultiSelectOption} from '../multi-select-option/multi-select-option.component';\n\n@Directive({\n standalone: true,\n selector: '[tuiMultiSelectGroup]',\n providers: [tuiAsOptionContent(TuiMultiSelectOption)],\n})\nexport class TuiMultiSelectGroupDirective {}\n","import {NgTemplateOutlet} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, computed, inject, Input} from '@angular/core';\nimport {TuiControl} from '@taiga-ui/cdk/classes';\nimport {TUI_IS_ANDROID, TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement, tuiIsPresent} from '@taiga-ui/cdk/utils';\nimport {tuiAsOptionContent} from '@taiga-ui/core/components/data-list';\nimport {\n TuiSelectLike,\n TuiTextfield,\n TuiTextfieldComponent,\n} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_ITEMS_HANDLERS,\n type TuiItemsHandlers,\n} from '@taiga-ui/core/directives/items-handlers';\nimport {TuiDataListWrapper} from '@taiga-ui/kit/components/data-list-wrapper';\nimport {TuiInputChipDirective} from '@taiga-ui/kit/components/input-chip';\nimport {tuiIsFlat} from '@taiga-ui/kit/utils';\n\nimport {TuiMultiSelectOption} from '../multi-select-option/multi-select-option.component';\n\n@Component({\n selector: 'select[tuiMultiSelect]',\n imports: [NgTemplateOutlet, TuiDataListWrapper, TuiTextfield],\n templateUrl: './multi-select-native.template.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAsOptionContent(TuiMultiSelectOption)],\n hostDirectives: [TuiInputChipDirective, TuiSelectLike],\n host: {\n multiple: '',\n '(click.stop.zoneless)': '0',\n '(input)': 'onInput()',\n },\n})\nexport class TuiMultiSelectNative<T> {\n private readonly control: TuiControl<readonly T[]> = inject(TuiControl);\n private readonly textfield = inject(TuiTextfieldComponent);\n\n protected readonly isFlat = tuiIsFlat;\n protected readonly handlers: TuiItemsHandlers<T> = inject(TUI_ITEMS_HANDLERS);\n protected readonly el = tuiInjectElement<HTMLSelectElement>();\n protected readonly mobile =\n inject(TUI_IS_IOS) || (inject(TUI_IS_ANDROID) && 'showPicker' in this.el);\n\n protected readonly isSelected = computed(\n (value = this.control.value()) =>\n (x: T) =>\n tuiIsPresent(value) &&\n value.some((item) => this.handlers.identityMatcher()(x, item)),\n );\n\n @Input()\n public items: ReadonlyArray<readonly T[]> | readonly T[] | null = [];\n\n @Input()\n public labels: readonly string[] = [];\n\n @Input()\n public set placeholder(placeholder: string) {\n this.textfield.fillerSetter = placeholder;\n }\n\n protected onInput(): void {\n const items = this.items || [];\n const options = Array.from(this.el.selectedOptions).map(({index}) => index);\n\n this.textfield.cva?.onChange(items.flat().filter((_, i) => options.includes(i)));\n }\n}\n","@if (items && !isFlat(items)) {\n @for (group of labels; track group; let index = $index) {\n <optgroup [label]=\"labels[index]\">\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items[index]}\" />\n </optgroup>\n }\n @if (!mobile) {\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"items\"\n [labels]=\"labels\"\n />\n }\n} @else {\n <ng-container *ngTemplateOutlet=\"options; context: {$implicit: items}\" />\n @if (!mobile) {\n <tui-data-list-wrapper\n *tuiTextfieldDropdown\n new\n [items]=\"$any(items)\"\n />\n }\n}\n\n<ng-template\n #options\n let-items\n>\n @for (option of items; track option) {\n <option\n [disabled]=\"handlers.disabledItemHandler()(option)\"\n [selected]=\"isSelected()(option)\"\n [value]=\"handlers.stringify()(option)\"\n >\n {{ handlers.stringify()(option) }}\n </option>\n }\n</ng-template>\n","import {TuiMultiSelectGroupComponent} from './multi-select-group/multi-select-group.component';\nimport {TuiMultiSelectGroupDirective} from './multi-select-group/multi-select-group.directive';\nimport {TuiMultiSelectNative} from './multi-select-native/multi-select-native.component';\n\nexport const TuiMultiSelect = [\n TuiMultiSelectGroupComponent,\n TuiMultiSelectGroupDirective,\n TuiMultiSelectNative,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiIsPresent"],"mappings":";;;;;;;;;;;;;;;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