@taiga-ui/kit 4.52.0-canary.698642f → 4.52.0-canary.6be767f

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 (324) hide show
  1. package/components/accordion/accordion.component.d.ts +13 -0
  2. package/components/accordion/accordion.d.ts +4 -4
  3. package/components/accordion/accordion.directive.d.ts +11 -10
  4. package/components/accordion/index.d.ts +1 -3
  5. package/components/action-bar/action-bar.component.d.ts +5 -7
  6. package/components/action-bar/index.d.ts +0 -2
  7. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  8. package/components/avatar/avatar.directive.d.ts +15 -0
  9. package/components/avatar/avatar.options.d.ts +1 -4
  10. package/components/avatar/index.d.ts +1 -1
  11. package/components/badge/badge.directive.d.ts +2 -2
  12. package/components/block/block.directive.d.ts +4 -4
  13. package/components/block/block.options.d.ts +1 -1
  14. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  15. package/components/checkbox/checkbox.component.d.ts +7 -18
  16. package/components/checkbox/checkbox.options.d.ts +5 -9
  17. package/components/chip/chip.directive.d.ts +2 -4
  18. package/components/comment/comment.directive.d.ts +2 -2
  19. package/components/confirm/confirm.component.d.ts +1 -0
  20. package/components/confirm/confirm.service.d.ts +2 -1
  21. package/{directives → components}/copy/copy.directive.d.ts +1 -2
  22. package/{directives → components}/copy/copy.options.d.ts +2 -2
  23. package/components/files/file/file.options.d.ts +1 -1
  24. package/components/floating-container/floating-container.directive.d.ts +2 -2
  25. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  26. package/components/fullscreen/index.d.ts +1 -0
  27. package/components/index.d.ts +3 -2
  28. package/components/input-chip/input-chip.options.d.ts +1 -1
  29. package/components/input-color/input-color.component.d.ts +2 -2
  30. package/components/input-color/input-color.options.d.ts +1 -1
  31. package/components/input-date/input-date.options.d.ts +1 -1
  32. package/components/input-number/input-number.options.d.ts +1 -1
  33. package/components/input-number/quantum.directive.d.ts +1 -1
  34. package/components/input-phone/input-phone.options.d.ts +1 -1
  35. package/components/input-phone-international/input-phone-international.component.d.ts +23 -29
  36. package/components/input-range/input-range.component.d.ts +8 -11
  37. package/components/input-slider/input-slider.directive.d.ts +2 -4
  38. package/components/input-time/input-time.options.d.ts +1 -1
  39. package/components/like/like.component.d.ts +4 -11
  40. package/components/like/like.options.d.ts +3 -4
  41. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  42. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +2 -2
  43. package/components/pager/pager.component.d.ts +1 -1
  44. package/components/pin/pin.directive.d.ts +2 -2
  45. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  46. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  47. package/components/push/push.component.d.ts +1 -1
  48. package/components/radio/radio.component.d.ts +7 -8
  49. package/components/radio/radio.directive.d.ts +2 -2
  50. package/components/radio/radio.options.d.ts +2 -5
  51. package/components/range/range-change.directive.d.ts +1 -1
  52. package/components/range/range.component.d.ts +0 -5
  53. package/components/rating/rating.component.d.ts +5 -5
  54. package/components/rating/rating.options.d.ts +5 -3
  55. package/components/segmented/segmented.component.d.ts +1 -3
  56. package/components/slider/helpers/key-steps.d.ts +1 -2
  57. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  58. package/components/slides/slides.directive.d.ts +4 -4
  59. package/components/status/status.directive.d.ts +2 -2
  60. package/components/switch/switch.component.d.ts +7 -19
  61. package/components/switch/switch.options.d.ts +4 -8
  62. package/components/textarea/textarea.options.d.ts +1 -1
  63. package/components/toast/index.d.ts +5 -0
  64. package/components/toast/toast.component.d.ts +17 -0
  65. package/components/toast/toast.d.ts +3 -0
  66. package/components/toast/toast.directive.d.ts +7 -0
  67. package/components/toast/toast.options.d.ts +8 -0
  68. package/components/toast/toast.service.d.ts +16 -0
  69. package/directives/button-select/button-select.directive.d.ts +1 -2
  70. package/directives/chevron/chevron.directive.d.ts +2 -3
  71. package/directives/fade/fade.directive.d.ts +1 -0
  72. package/directives/highlight/highlight.directive.d.ts +1 -3
  73. package/directives/index.d.ts +0 -1
  74. package/directives/password/password.options.d.ts +1 -1
  75. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  76. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  77. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  78. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  79. package/directives/tooltip/tooltip.options.d.ts +1 -4
  80. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -144
  81. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  83. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-kit-components-avatar.mjs +61 -79
  85. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +3 -3
  87. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-kit-components-badge.mjs +13 -20
  89. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +6 -6
  91. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-kit-components-block.mjs +17 -24
  93. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +3 -3
  95. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +3 -3
  97. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +3 -3
  99. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +3 -3
  101. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-kit-components-carousel.mjs +15 -15
  103. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
  105. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-chip.mjs +22 -27
  107. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +3 -3
  109. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
  111. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-compass.mjs +3 -3
  113. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-confirm.mjs +12 -12
  115. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  116. package/fesm2022/{taiga-ui-kit-directives-copy.mjs → taiga-ui-kit-components-copy.mjs} +11 -13
  117. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  118. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +9 -9
  119. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-drawer.mjs +5 -5
  121. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +6 -6
  123. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-kit-components-files.mjs +24 -24
  125. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-filter.mjs +4 -4
  127. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +13 -19
  129. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  131. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  132. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +19 -14
  133. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-input-color.mjs +8 -10
  135. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +5 -5
  137. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +3 -3
  139. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +6 -6
  141. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-input-date.mjs +11 -11
  143. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +3 -3
  145. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +5 -5
  147. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-input-month.mjs +8 -8
  149. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-input-number.mjs +22 -21
  151. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +104 -127
  153. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +3 -3
  155. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -5
  157. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-input-range.mjs +33 -29
  159. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +27 -40
  161. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-input-time.mjs +11 -11
  163. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-input-year.mjs +5 -5
  165. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -12
  167. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
  169. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +14 -16
  171. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-message.mjs +9 -11
  173. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +23 -21
  175. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +10 -17
  177. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -6
  179. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-components-pagination.mjs +5 -5
  181. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
  183. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +11 -11
  185. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-components-preview.mjs +26 -26
  187. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-progress.mjs +37 -50
  189. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-pulse.mjs +3 -3
  191. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-push.mjs +14 -14
  193. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +3 -3
  195. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-radio.mjs +34 -39
  197. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-range.mjs +9 -18
  199. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -21
  201. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +3 -3
  203. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-segmented.mjs +6 -6
  205. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-select.mjs +11 -11
  207. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-slider.mjs +68 -66
  209. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-slides.mjs +14 -22
  211. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
  213. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-stepper.mjs +6 -6
  215. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-components-switch.mjs +19 -65
  217. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-components-tabs.mjs +26 -29
  219. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-components-textarea.mjs +12 -12
  221. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
  223. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-components-toast.mjs +166 -0
  225. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  226. package/fesm2022/taiga-ui-kit-components-tree.mjs +27 -27
  227. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-components.mjs +3 -2
  229. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  231. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +9 -12
  233. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +5 -12
  235. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -20
  237. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-directives-connected.mjs +9 -14
  239. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +3 -3
  241. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -12
  243. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -3
  245. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  246. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +3 -3
  247. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  248. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +6 -6
  249. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-directives-password.mjs +6 -6
  251. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-directives-present.mjs +3 -3
  253. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
  255. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  256. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
  257. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  258. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +27 -38
  259. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  260. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +13 -18
  261. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  262. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +4 -5
  263. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  264. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +3 -3
  265. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  267. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  269. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  270. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  271. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  273. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  274. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
  275. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  277. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  278. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  279. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  280. package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
  281. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  282. package/fesm2022/taiga-ui-kit-tokens.mjs +1 -6
  283. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  284. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  285. package/package.json +62 -65
  286. package/pipes/index.d.ts +0 -1
  287. package/styles/components/avatar.less +188 -0
  288. package/styles/components/checkbox.less +14 -12
  289. package/styles/components/chip.less +1 -2
  290. package/styles/components/like.less +4 -9
  291. package/styles/components/pin.less +3 -7
  292. package/styles/components/radio.less +1 -1
  293. package/styles/components/switch.less +9 -9
  294. package/styles/components/toast.less +44 -0
  295. package/tokens/index.d.ts +0 -1
  296. package/tokens/input-date-options.d.ts +1 -1
  297. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  298. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  299. package/components/accordion/accordion-item.component.d.ts +0 -25
  300. package/components/action-bar/action-bar.d.ts +0 -3
  301. package/components/action-bar/action-bar.directive.d.ts +0 -6
  302. package/components/avatar/avatar.component.d.ts +0 -15
  303. package/components/input-password/index.d.ts +0 -2
  304. package/components/input-password/input-password.component.d.ts +0 -16
  305. package/components/input-password/input-password.options.d.ts +0 -24
  306. package/components/pdf-viewer/index.d.ts +0 -4
  307. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  308. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  309. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  310. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  311. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -95
  312. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  313. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  314. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  315. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  316. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  317. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  318. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  319. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  320. package/pipes/field-error/index.d.ts +0 -2
  321. package/tokens/validation-errors.d.ts +0 -5
  322. /package/{directives → components}/copy/copy.component.d.ts +0 -0
  323. /package/{directives → components}/copy/copy.d.ts +0 -0
  324. /package/{directives → components}/copy/index.d.ts +0 -0
@@ -1,147 +0,0 @@
1
- import { AsyncPipe } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, Pipe, INJECTOR, Injector } from '@angular/core';
4
- import { __decorate } from 'tslib';
5
- import { NgControl, ControlContainer } from '@angular/forms';
6
- import { TuiValidationError } from '@taiga-ui/cdk/classes';
7
- import { tuiIsString, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
8
- import { TUI_VALIDATION_ERRORS } from '@taiga-ui/kit/tokens';
9
- import { map, of, Observable } from 'rxjs';
10
-
11
- const EMPTY_RECORD = {};
12
- function unwrapObservable(content, context) {
13
- return content.pipe(map((error) => new TuiValidationError(error || '', context)));
14
- }
15
- function defaultError(content, context) {
16
- return of(new TuiValidationError(content || '', context));
17
- }
18
- class TuiFieldErrorPipe {
19
- constructor() {
20
- this.order = [];
21
- this.parent = inject(NgControl, { skipSelf: true, optional: true });
22
- this.self = inject(NgControl, { self: true, optional: true });
23
- this.container = inject(ControlContainer, { optional: true });
24
- this.validationErrors = inject(TUI_VALIDATION_ERRORS);
25
- if (this.self && !this.self.valueAccessor) {
26
- this.self.valueAccessor = this;
27
- }
28
- }
29
- transform(order) {
30
- this.order = order;
31
- return this.computedError;
32
- }
33
- registerOnChange() { }
34
- registerOnTouched() { }
35
- setDisabledState() { }
36
- writeValue() { }
37
- get computedError() {
38
- return (this.invalid && this.touched && this.error) || of(null);
39
- }
40
- get error() {
41
- const { errorId } = this;
42
- if (!errorId) {
43
- return null;
44
- }
45
- const firstError = this.controlErrors[errorId];
46
- const errorContent = this.validationErrors[errorId];
47
- return this.getError(firstError, errorContent);
48
- }
49
- get invalid() {
50
- return !!this.control?.invalid;
51
- }
52
- get touched() {
53
- return !!this.control?.touched;
54
- }
55
- get control() {
56
- return this.self?.control || this.parent?.control || this.container?.control;
57
- }
58
- get errorId() {
59
- return this.getErrorId(this.order, this.controlErrors);
60
- }
61
- get controlErrors() {
62
- return this.control?.errors || EMPTY_RECORD;
63
- }
64
- getError(context, content) {
65
- if (context instanceof TuiValidationError) {
66
- return of(context);
67
- }
68
- if (content === undefined && tuiIsString(context)) {
69
- return of(new TuiValidationError(context));
70
- }
71
- if (content instanceof Observable) {
72
- return unwrapObservable(content, context);
73
- }
74
- if (content instanceof Function) {
75
- const message = content(context);
76
- return message instanceof Observable
77
- ? unwrapObservable(message, context)
78
- : defaultError(message, context);
79
- }
80
- return defaultError(content, context);
81
- }
82
- getErrorId(order, controlErrors) {
83
- const id = order?.find((errorId) => controlErrors[errorId]);
84
- const [fallback] = Object.keys(controlErrors);
85
- return id || fallback || '';
86
- }
87
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFieldErrorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
88
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: TuiFieldErrorPipe, isStandalone: true, name: "tuiFieldError", pure: false }); }
89
- }
90
- __decorate([
91
- tuiPure
92
- ], TuiFieldErrorPipe.prototype, "getError", null);
93
- __decorate([
94
- tuiPure
95
- ], TuiFieldErrorPipe.prototype, "getErrorId", null);
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFieldErrorPipe, decorators: [{
97
- type: Pipe,
98
- args: [{
99
- standalone: true,
100
- name: 'tuiFieldError',
101
- pure: false,
102
- }]
103
- }], ctorParameters: () => [], propDecorators: { getError: [], getErrorId: [] } });
104
-
105
- class TuiFieldErrorContentPipe {
106
- constructor() {
107
- this.injector = inject(INJECTOR);
108
- this.localInjector = Injector.create({
109
- providers: [{ provide: AsyncPipe }, { provide: TuiFieldErrorPipe }],
110
- parent: this.injector,
111
- });
112
- this.asyncPipe = this.localInjector.get(AsyncPipe);
113
- this.fieldErrorPipe = this.localInjector.get(TuiFieldErrorPipe);
114
- }
115
- transform(order) {
116
- return this.getErrorContent(order);
117
- }
118
- ngOnDestroy() {
119
- this.asyncPipe.ngOnDestroy();
120
- }
121
- getErrorContent(order) {
122
- const error = this.asyncPipe.transform(this.fieldErrorPipe.transform(order));
123
- if (!error) {
124
- return '';
125
- }
126
- return typeof error.message === 'function'
127
- ? error.message(error.context)
128
- : error.message;
129
- }
130
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFieldErrorContentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
131
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: TuiFieldErrorContentPipe, isStandalone: true, name: "tuiFieldErrorContent", pure: false }); }
132
- }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiFieldErrorContentPipe, decorators: [{
134
- type: Pipe,
135
- args: [{
136
- standalone: true,
137
- name: 'tuiFieldErrorContent',
138
- pure: false,
139
- }]
140
- }] });
141
-
142
- /**
143
- * Generated bundle index. Do not edit.
144
- */
145
-
146
- export { TuiFieldErrorContentPipe, TuiFieldErrorPipe };
147
- //# sourceMappingURL=taiga-ui-kit-pipes-field-error.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-field-error.mjs","sources":["../../../projects/kit/pipes/field-error/field-error-pipe.ts","../../../projects/kit/pipes/field-error/field-error-content-pipe.ts","../../../projects/kit/pipes/field-error/taiga-ui-kit-pipes-field-error.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {\n type AbstractControl,\n ControlContainer,\n type ControlValueAccessor,\n NgControl,\n} from '@angular/forms';\nimport {TuiValidationError} from '@taiga-ui/cdk/classes';\nimport {tuiIsString, tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_VALIDATION_ERRORS} from '@taiga-ui/kit/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {map, Observable, of} from 'rxjs';\n\nconst EMPTY_RECORD = {};\n\nfunction unwrapObservable(\n content: Observable<PolymorpheusContent>,\n context: any,\n): Observable<TuiValidationError> {\n return content.pipe(map((error) => new TuiValidationError(error || '', context)));\n}\n\nfunction defaultError(\n content: PolymorpheusContent,\n context: any,\n): Observable<TuiValidationError> {\n return of(new TuiValidationError(content || '', context));\n}\n\n@Pipe({\n standalone: true,\n name: 'tuiFieldError',\n pure: false,\n})\nexport class TuiFieldErrorPipe implements PipeTransform, ControlValueAccessor {\n private order: readonly string[] = [];\n private readonly parent = inject(NgControl, {skipSelf: true, optional: true});\n private readonly self = inject(NgControl, {self: true, optional: true});\n private readonly container = inject(ControlContainer, {optional: true});\n private readonly validationErrors = inject(TUI_VALIDATION_ERRORS);\n\n constructor() {\n if (this.self && !this.self.valueAccessor) {\n this.self.valueAccessor = this;\n }\n }\n\n public transform(order: readonly string[]): Observable<TuiValidationError | null> {\n this.order = order;\n\n return this.computedError;\n }\n\n public registerOnChange(): void {}\n\n public registerOnTouched(): void {}\n\n public setDisabledState(): void {}\n\n public writeValue(): void {}\n\n protected get computedError(): Observable<TuiValidationError | null> {\n return (this.invalid && this.touched && this.error) || of(null);\n }\n\n private get error(): Observable<TuiValidationError> | null {\n const {errorId} = this;\n\n if (!errorId) {\n return null;\n }\n\n const firstError = this.controlErrors[errorId];\n const errorContent = this.validationErrors[errorId];\n\n return this.getError(firstError, errorContent);\n }\n\n private get invalid(): boolean {\n return !!this.control?.invalid;\n }\n\n private get touched(): boolean {\n return !!this.control?.touched;\n }\n\n private get control(): AbstractControl | null | undefined {\n return this.self?.control || this.parent?.control || this.container?.control;\n }\n\n private get errorId(): string {\n return this.getErrorId(this.order, this.controlErrors);\n }\n\n private get controlErrors(): Record<string, unknown> {\n return this.control?.errors || EMPTY_RECORD;\n }\n\n @tuiPure\n private getError(\n context: any,\n content?: Observable<PolymorpheusContent> | PolymorpheusContent,\n ): Observable<TuiValidationError> {\n if (context instanceof TuiValidationError) {\n return of(context);\n }\n\n if (content === undefined && tuiIsString(context)) {\n return of(new TuiValidationError(context));\n }\n\n if (content instanceof Observable) {\n return unwrapObservable(content, context);\n }\n\n if (content instanceof Function) {\n const message = content(context) as\n | Observable<PolymorpheusContent>\n | PolymorpheusContent;\n\n return message instanceof Observable\n ? unwrapObservable(message, context)\n : defaultError(message, context);\n }\n\n return defaultError(content, context);\n }\n\n @tuiPure\n private getErrorId(\n order: readonly string[],\n controlErrors: Record<string, unknown>,\n ): string {\n const id = order?.find((errorId) => controlErrors[errorId]);\n const [fallback] = Object.keys(controlErrors);\n\n return id || fallback || '';\n }\n}\n","import {AsyncPipe} from '@angular/common';\nimport {\n inject,\n INJECTOR,\n Injector,\n type OnDestroy,\n Pipe,\n type PipeTransform,\n} from '@angular/core';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nimport {TuiFieldErrorPipe} from './field-error-pipe';\n\n@Pipe({\n standalone: true,\n name: 'tuiFieldErrorContent',\n pure: false,\n})\nexport class TuiFieldErrorContentPipe implements PipeTransform, OnDestroy {\n private readonly injector = inject(INJECTOR);\n private readonly localInjector = Injector.create({\n providers: [{provide: AsyncPipe}, {provide: TuiFieldErrorPipe}],\n parent: this.injector,\n });\n\n private readonly asyncPipe = this.localInjector.get(AsyncPipe);\n private readonly fieldErrorPipe = this.localInjector.get(TuiFieldErrorPipe);\n\n public transform(order: readonly string[]): PolymorpheusContent {\n return this.getErrorContent(order);\n }\n\n public ngOnDestroy(): void {\n this.asyncPipe.ngOnDestroy();\n }\n\n private getErrorContent(order: readonly string[]): PolymorpheusContent {\n const error = this.asyncPipe.transform(this.fieldErrorPipe.transform(order));\n\n if (!error) {\n return '';\n }\n\n return typeof error.message === 'function'\n ? error.message(error.context)\n : error.message;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAaA,MAAM,YAAY,GAAG,EAAE;AAEvB,SAAS,gBAAgB,CACrB,OAAwC,EACxC,OAAY,EAAA;IAEZ,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,kBAAkB,CAAC,KAAK,IAAI,EA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YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,sBAAsB;AAC5B,oBAAA,IAAI,EAAE,KAAK;AACd,iBAAA;;;ACjBD;;AAEG;;;;"}
@@ -1,14 +0,0 @@
1
- import { type OnDestroy, type PipeTransform } from '@angular/core';
2
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiFieldErrorContentPipe implements PipeTransform, OnDestroy {
5
- private readonly injector;
6
- private readonly localInjector;
7
- private readonly asyncPipe;
8
- private readonly fieldErrorPipe;
9
- transform(order: readonly string[]): PolymorpheusContent;
10
- ngOnDestroy(): void;
11
- private getErrorContent;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFieldErrorContentPipe, never>;
13
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiFieldErrorContentPipe, "tuiFieldErrorContent", true>;
14
- }
@@ -1,29 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import { type ControlValueAccessor } from '@angular/forms';
3
- import { TuiValidationError } from '@taiga-ui/cdk/classes';
4
- import { Observable } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare class TuiFieldErrorPipe implements PipeTransform, ControlValueAccessor {
7
- private order;
8
- private readonly parent;
9
- private readonly self;
10
- private readonly container;
11
- private readonly validationErrors;
12
- constructor();
13
- transform(order: readonly string[]): Observable<TuiValidationError | null>;
14
- registerOnChange(): void;
15
- registerOnTouched(): void;
16
- setDisabledState(): void;
17
- writeValue(): void;
18
- protected get computedError(): Observable<TuiValidationError | null>;
19
- private get error();
20
- private get invalid();
21
- private get touched();
22
- private get control();
23
- private get errorId();
24
- private get controlErrors();
25
- private getError;
26
- private getErrorId;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFieldErrorPipe, never>;
28
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiFieldErrorPipe, "tuiFieldError", true>;
29
- }
@@ -1,2 +0,0 @@
1
- export * from './field-error-content-pipe';
2
- export * from './field-error-pipe';
@@ -1,5 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
- import { type Observable } from 'rxjs';
4
- export declare const TUI_VALIDATION_ERRORS: InjectionToken<Record<string, PolymorpheusContent | Observable<PolymorpheusContent>>>;
5
- export declare const tuiValidationErrorsProvider: (useValue: Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>) => Provider;
File without changes
File without changes