@taiga-ui/kit 4.52.0-canary.2c75afa → 4.52.0-canary.2d877cf

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 (329) hide show
  1. package/README.md +1 -1
  2. package/components/badge/badge.options.d.ts +1 -3
  3. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  4. package/components/block/block.options.d.ts +1 -3
  5. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  6. package/components/chip/chip.options.d.ts +1 -3
  7. package/components/combo-box/combo-box.d.ts +5 -0
  8. package/components/combo-box/combo-box.directive.d.ts +5 -5
  9. package/components/combo-box/index.d.ts +1 -0
  10. package/components/confirm/confirm.component.d.ts +3 -2
  11. package/components/confirm/confirm.service.d.ts +1 -1
  12. package/components/copy/copy.component.d.ts +1 -1
  13. package/components/copy/copy.directive.d.ts +2 -4
  14. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -2
  15. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  16. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  17. package/components/data-list-wrapper/index.d.ts +1 -1
  18. package/components/files/input-files/input-files.options.d.ts +1 -3
  19. package/components/index.d.ts +0 -3
  20. package/components/input-chip/input-chip.component.d.ts +9 -8
  21. package/components/input-chip/input-chip.d.ts +5 -1
  22. package/components/input-chip/input-chip.directive.d.ts +7 -12
  23. package/components/input-color/index.d.ts +1 -0
  24. package/components/input-color/input-color.component.d.ts +4 -4
  25. package/components/input-color/input-color.d.ts +5 -0
  26. package/components/input-date/input-date.d.ts +4 -1
  27. package/components/input-date/input-date.directive.d.ts +12 -14
  28. package/components/input-date/input-date.options.d.ts +3 -3
  29. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  30. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  31. package/components/input-date-range/input-date-range.d.ts +4 -1
  32. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  33. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  34. package/components/input-date-time/input-date-time.d.ts +4 -1
  35. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  36. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  37. package/components/input-month/input-month.d.ts +4 -1
  38. package/components/input-month/input-month.directive.d.ts +6 -5
  39. package/components/input-month-range/input-month-range.d.ts +4 -1
  40. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  41. package/components/input-number/input-number.d.ts +4 -1
  42. package/components/input-number/input-number.directive.d.ts +3 -3
  43. package/components/input-phone/index.d.ts +1 -0
  44. package/components/input-phone/input-phone.d.ts +5 -0
  45. package/components/input-phone/input-phone.directive.d.ts +7 -7
  46. package/components/input-phone-international/index.d.ts +1 -0
  47. package/components/input-phone-international/input-phone-international.component.d.ts +8 -8
  48. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  49. package/components/input-phone-international/input-phone-international.options.d.ts +1 -3
  50. package/components/input-pin/index.d.ts +1 -0
  51. package/components/input-pin/input-pin.component.d.ts +3 -3
  52. package/components/input-pin/input-pin.d.ts +5 -0
  53. package/components/input-range/input-range.component.d.ts +1 -1
  54. package/components/input-slider/input-slider.d.ts +4 -1
  55. package/components/input-slider/input-slider.directive.d.ts +1 -1
  56. package/components/input-time/input-time.component.d.ts +1 -3
  57. package/components/input-time/input-time.d.ts +4 -1
  58. package/components/input-time/input-time.directive.d.ts +4 -4
  59. package/components/input-year/input-year.d.ts +4 -1
  60. package/components/input-year/input-year.directive.d.ts +5 -5
  61. package/components/input-year/input-year.options.d.ts +2 -2
  62. package/components/like/like.options.d.ts +1 -1
  63. package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
  64. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  65. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +4 -6
  66. package/components/notification-middle/notification-middle.service.d.ts +1 -1
  67. package/components/pagination/pagination.component.d.ts +22 -52
  68. package/components/pagination/pagination.options.d.ts +3 -6
  69. package/components/preview/dialog/preview-dialog.service.d.ts +1 -1
  70. package/components/preview/index.d.ts +1 -0
  71. package/components/preview/pagination/preview-pagination.component.d.ts +2 -1
  72. package/components/preview/preview.component.d.ts +1 -1
  73. package/components/preview/preview.d.ts +2 -1
  74. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  75. package/components/preview/zoom/preview-zoom.component.d.ts +3 -1
  76. package/components/progress/progress.options.d.ts +1 -3
  77. package/components/push/push-alert.component.d.ts +2 -2
  78. package/components/push/push.options.d.ts +4 -3
  79. package/components/push/push.service.d.ts +2 -2
  80. package/components/radio/radio.component.d.ts +1 -1
  81. package/components/radio-list/radio-list.component.d.ts +5 -3
  82. package/components/rating/rating.component.d.ts +1 -1
  83. package/components/rating/rating.options.d.ts +1 -3
  84. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  85. package/components/segmented/segmented.component.d.ts +4 -6
  86. package/components/segmented/segmented.directive.d.ts +6 -7
  87. package/components/select/native-select/native-select.component.d.ts +4 -4
  88. package/components/select/select.d.ts +4 -1
  89. package/components/select/select.directive.d.ts +4 -3
  90. package/components/slider/slider.options.d.ts +1 -6
  91. package/components/stepper/step.component.d.ts +6 -8
  92. package/components/stepper/stepper.component.d.ts +6 -11
  93. package/components/switch/switch.component.d.ts +1 -0
  94. package/components/tabs/tabs.options.d.ts +1 -6
  95. package/components/textarea/index.d.ts +2 -1
  96. package/components/textarea/textarea.component.d.ts +4 -4
  97. package/components/textarea/textarea.d.ts +6 -0
  98. package/components/textarea/textarea.directive.d.ts +13 -0
  99. package/components/toast/toast.component.d.ts +2 -2
  100. package/components/toast/toast.options.d.ts +4 -3
  101. package/components/toast/toast.service.d.ts +2 -2
  102. package/directives/button-select/button-select.directive.d.ts +3 -2
  103. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  104. package/directives/fade/fade.directive.d.ts +1 -2
  105. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  106. package/directives/index.d.ts +0 -1
  107. package/directives/password/password.directive.d.ts +1 -1
  108. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  109. package/fesm2022/taiga-ui-kit-components-accordion.mjs +6 -6
  110. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +5 -5
  111. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-avatar.mjs +19 -19
  113. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +6 -11
  115. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-badge.mjs +10 -14
  117. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +6 -6
  119. package/fesm2022/taiga-ui-kit-components-block.mjs +10 -14
  120. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +11 -16
  122. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +3 -3
  124. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -13
  125. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +5 -5
  127. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-carousel.mjs +15 -15
  129. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +4 -5
  130. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-kit-components-chip.mjs +10 -14
  132. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +37 -26
  134. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-kit-components-comment.mjs +6 -6
  136. package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -4
  137. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-confirm.mjs +9 -10
  139. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-copy.mjs +15 -21
  141. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +24 -85
  143. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-drawer.mjs +5 -5
  145. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-files.mjs +31 -36
  147. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-filter.mjs +4 -4
  149. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +3 -3
  151. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +69 -72
  152. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
  154. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +34 -46
  156. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +31 -35
  158. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +33 -28
  160. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-input-date.mjs +44 -39
  162. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +3 -3
  164. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +27 -22
  165. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-input-month.mjs +33 -22
  167. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-input-number.mjs +33 -27
  169. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +47 -40
  171. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +29 -18
  173. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
  175. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-input-range.mjs +5 -5
  177. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +15 -10
  179. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-components-input-time.mjs +39 -39
  181. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-input-year.mjs +28 -18
  183. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -12
  185. package/fesm2022/taiga-ui-kit-components-like.mjs +3 -3
  186. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +18 -22
  188. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-message.mjs +6 -6
  190. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +27 -37
  191. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +10 -10
  193. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -8
  195. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-pagination.mjs +59 -140
  197. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-pin.mjs +6 -6
  199. package/fesm2022/taiga-ui-kit-components-preview.mjs +46 -33
  200. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-components-progress.mjs +28 -32
  202. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-components-pulse.mjs +3 -3
  204. package/fesm2022/taiga-ui-kit-components-push.mjs +22 -23
  205. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +7 -7
  207. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-radio.mjs +7 -7
  209. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-range.mjs +7 -7
  211. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-rating.mjs +7 -12
  213. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +4 -4
  215. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-components-segmented.mjs +31 -57
  217. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-components-select.mjs +53 -28
  219. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-components-slider.mjs +21 -28
  221. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  223. package/fesm2022/taiga-ui-kit-components-stepper.mjs +45 -79
  224. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  226. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-tabs.mjs +26 -31
  228. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-textarea.mjs +51 -50
  230. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
  232. package/fesm2022/taiga-ui-kit-components-toast.mjs +26 -27
  233. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-components-tree.mjs +26 -25
  235. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-components.mjs +0 -3
  237. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  239. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +6 -6
  240. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +18 -9
  241. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +9 -8
  243. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -6
  245. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -52
  246. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-directives-fade.mjs +12 -11
  248. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +6 -11
  250. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +3 -3
  252. package/fesm2022/taiga-ui-kit-directives-password.mjs +10 -8
  253. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-directives-present.mjs +3 -3
  255. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  256. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  257. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  258. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +9 -9
  260. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +4 -4
  262. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -4
  264. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  266. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  268. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  269. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  270. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -24
  271. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  273. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  274. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -4
  275. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  277. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  278. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  279. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  280. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  281. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  282. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  283. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  284. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-tokens.mjs +2 -100
  286. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-utils.mjs +2 -14
  288. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  289. package/package.json +46 -54
  290. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  291. package/pipes/auto-color/index.d.ts +1 -0
  292. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  293. package/pipes/flag/flag.pipe.d.ts +14 -0
  294. package/pipes/flag/index.d.ts +1 -0
  295. package/pipes/index.d.ts +3 -0
  296. package/pipes/initials/index.d.ts +1 -0
  297. package/pipes/initials/initials.pipe.d.ts +7 -0
  298. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  299. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  300. package/tokens/index.d.ts +0 -6
  301. package/utils/index.d.ts +0 -2
  302. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  303. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  304. package/components/elastic-container/index.d.ts +0 -2
  305. package/components/floating-container/floating-container.directive.d.ts +0 -7
  306. package/components/floating-container/index.d.ts +0 -1
  307. package/components/slides/index.d.ts +0 -1
  308. package/components/slides/slides.directive.d.ts +0 -11
  309. package/components/textarea/textarea-limit.directive.d.ts +0 -26
  310. package/directives/lazy-loading/index.d.ts +0 -2
  311. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  312. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  313. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -77
  314. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  315. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  316. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  317. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -72
  318. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  319. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  320. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  321. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -80
  322. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  323. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  324. package/tokens/input-date-options.d.ts +0 -15
  325. package/tokens/items-handlers.d.ts +0 -26
  326. package/tokens/mobile-calendar.d.ts +0 -6
  327. package/tokens/month-formatter.d.ts +0 -5
  328. package/utils/phone.d.ts +0 -3
  329. package/utils/toggle-day.d.ts +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {getCountryCallingCode, type MetadataJson} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE;AAE/B,IAAA,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,SAAC,CAAC;;AAGN,IAAA,OAAO,SAAS;AACpB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO;QACxD,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACPgB,SAAA,iBAAiB,CAC7B,GAAsB,EACtB,QAA8B,EAAA;AAE9B,IAAA,OAAO,QAAQ,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE;AAC3E;;ACPgB,SAAA,YAAY,CACxB,IAA8B,EAC9B,GAAW,EAAA;AAEX,IAAA,QACI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;AACnC,UAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;UACxC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE;AAEtC;;ACXA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control() ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE;AAE/B,IAAA,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,SAAC,CAAC;;AAGN,IAAA,OAAO,SAAS;AACpB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO,EAAE;QAC1D,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACXA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.52.0-canary.2c75afa",
3
+ "version": "4.52.0-canary.2d877cf",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -28,14 +28,14 @@
28
28
  "types": "./components/index.d.ts",
29
29
  "default": "./fesm2022/taiga-ui-kit-components.mjs"
30
30
  },
31
- "./directives": {
32
- "types": "./directives/index.d.ts",
33
- "default": "./fesm2022/taiga-ui-kit-directives.mjs"
34
- },
35
31
  "./pipes": {
36
32
  "types": "./pipes/index.d.ts",
37
33
  "default": "./fesm2022/taiga-ui-kit-pipes.mjs"
38
34
  },
35
+ "./directives": {
36
+ "types": "./directives/index.d.ts",
37
+ "default": "./fesm2022/taiga-ui-kit-directives.mjs"
38
+ },
39
39
  "./tokens": {
40
40
  "types": "./tokens/index.d.ts",
41
41
  "default": "./fesm2022/taiga-ui-kit-tokens.mjs"
@@ -128,10 +128,6 @@
128
128
  "types": "./components/drawer/index.d.ts",
129
129
  "default": "./fesm2022/taiga-ui-kit-components-drawer.mjs"
130
130
  },
131
- "./components/elastic-container": {
132
- "types": "./components/elastic-container/index.d.ts",
133
- "default": "./fesm2022/taiga-ui-kit-components-elastic-container.mjs"
134
- },
135
131
  "./components/files": {
136
132
  "types": "./components/files/index.d.ts",
137
133
  "default": "./fesm2022/taiga-ui-kit-components-files.mjs"
@@ -140,10 +136,6 @@
140
136
  "types": "./components/filter/index.d.ts",
141
137
  "default": "./fesm2022/taiga-ui-kit-components-filter.mjs"
142
138
  },
143
- "./components/floating-container": {
144
- "types": "./components/floating-container/index.d.ts",
145
- "default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
146
- },
147
139
  "./components/fullscreen": {
148
140
  "types": "./components/fullscreen/index.d.ts",
149
141
  "default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
@@ -300,10 +292,6 @@
300
292
  "types": "./components/slider/index.d.ts",
301
293
  "default": "./fesm2022/taiga-ui-kit-components-slider.mjs"
302
294
  },
303
- "./components/slides": {
304
- "types": "./components/slides/index.d.ts",
305
- "default": "./fesm2022/taiga-ui-kit-components-slides.mjs"
306
- },
307
295
  "./components/status": {
308
296
  "types": "./components/status/index.d.ts",
309
297
  "default": "./fesm2022/taiga-ui-kit-components-status.mjs"
@@ -336,6 +324,42 @@
336
324
  "types": "./components/tree/index.d.ts",
337
325
  "default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
338
326
  },
327
+ "./pipes/auto-color": {
328
+ "types": "./pipes/auto-color/index.d.ts",
329
+ "default": "./fesm2022/taiga-ui-kit-pipes-auto-color.mjs"
330
+ },
331
+ "./pipes/emails": {
332
+ "types": "./pipes/emails/index.d.ts",
333
+ "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
334
+ },
335
+ "./pipes/filter-by-input": {
336
+ "types": "./pipes/filter-by-input/index.d.ts",
337
+ "default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
338
+ },
339
+ "./pipes/flag": {
340
+ "types": "./pipes/flag/index.d.ts",
341
+ "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
342
+ },
343
+ "./pipes/initials": {
344
+ "types": "./pipes/initials/index.d.ts",
345
+ "default": "./fesm2022/taiga-ui-kit-pipes-initials.mjs"
346
+ },
347
+ "./pipes/hide-selected": {
348
+ "types": "./pipes/hide-selected/index.d.ts",
349
+ "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
350
+ },
351
+ "./pipes/sort-countries": {
352
+ "types": "./pipes/sort-countries/index.d.ts",
353
+ "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
354
+ },
355
+ "./pipes/stringify": {
356
+ "types": "./pipes/stringify/index.d.ts",
357
+ "default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
358
+ },
359
+ "./pipes/stringify-content": {
360
+ "types": "./pipes/stringify-content/index.d.ts",
361
+ "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
362
+ },
339
363
  "./directives/button-close": {
340
364
  "types": "./directives/button-close/index.d.ts",
341
365
  "default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
@@ -372,10 +396,6 @@
372
396
  "types": "./directives/highlight/index.d.ts",
373
397
  "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
374
398
  },
375
- "./directives/lazy-loading": {
376
- "types": "./directives/lazy-loading/index.d.ts",
377
- "default": "./fesm2022/taiga-ui-kit-directives-lazy-loading.mjs"
378
- },
379
399
  "./directives/password": {
380
400
  "types": "./directives/password/index.d.ts",
381
401
  "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
@@ -407,34 +427,6 @@
407
427
  "./directives/unmask-handler": {
408
428
  "types": "./directives/unmask-handler/index.d.ts",
409
429
  "default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
410
- },
411
- "./pipes/emails": {
412
- "types": "./pipes/emails/index.d.ts",
413
- "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
414
- },
415
- "./pipes/filter-by-input": {
416
- "types": "./pipes/filter-by-input/index.d.ts",
417
- "default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
418
- },
419
- "./pipes/hide-selected": {
420
- "types": "./pipes/hide-selected/index.d.ts",
421
- "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
422
- },
423
- "./pipes/sort-countries": {
424
- "types": "./pipes/sort-countries/index.d.ts",
425
- "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
426
- },
427
- "./pipes/stringify": {
428
- "types": "./pipes/stringify/index.d.ts",
429
- "default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
430
- },
431
- "./pipes/stringify-content": {
432
- "types": "./pipes/stringify-content/index.d.ts",
433
- "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
434
- },
435
- "./components/preview/dialog": {
436
- "types": "./components/preview/dialog/index.d.ts",
437
- "default": "./fesm2022/taiga-ui-kit-components-preview-dialog.mjs"
438
430
  }
439
431
  },
440
432
  "peerDependencies": {
@@ -442,17 +434,17 @@
442
434
  "@angular/core": ">=19.0.0",
443
435
  "@angular/forms": ">=19.0.0",
444
436
  "@angular/router": ">=19.0.0",
445
- "@maskito/angular": "^4.0.0",
446
- "@maskito/core": "^4.0.0",
447
- "@maskito/kit": "^4.0.0",
448
- "@maskito/phone": "^4.0.0",
437
+ "@maskito/angular": "^4.0.1",
438
+ "@maskito/core": "^4.0.1",
439
+ "@maskito/kit": "^4.0.1",
440
+ "@maskito/phone": "^4.0.1",
449
441
  "@ng-web-apis/common": "^4.12.2",
450
442
  "@ng-web-apis/intersection-observer": "^4.12.2",
451
443
  "@ng-web-apis/mutation-observer": "^4.12.2",
452
444
  "@ng-web-apis/resize-observer": "^4.12.2",
453
445
  "@taiga-ui/cdk": "^4.52.0",
454
446
  "@taiga-ui/core": "^4.52.0",
455
- "@taiga-ui/design-tokens": "~0.261.0",
447
+ "@taiga-ui/design-tokens": "~0.273.0",
456
448
  "@taiga-ui/i18n": "^4.52.0",
457
449
  "@taiga-ui/polymorpheus": "^4.9.0",
458
450
  "rxjs": ">=7.0.0"
@@ -0,0 +1,13 @@
1
+ import { type PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiAutoColorPipe implements PipeTransform {
4
+ transform(text: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAutoColorPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiAutoColorPipe, "tuiAutoColor", true>;
7
+ }
8
+ /**
9
+ * Converts a string to an HSL color
10
+ * @param value string to convert
11
+ * @return HSL color string
12
+ */
13
+ export declare function tuiAutoColor(value: string): string;
@@ -0,0 +1 @@
1
+ export * from './auto-color.pipe';
@@ -3,8 +3,8 @@ import { type TuiStringMatcher } from '@taiga-ui/cdk/types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TuiFilterByInputPipe implements PipeTransform {
5
5
  private readonly textfield;
6
- private readonly host;
7
- private readonly itemsHandlers;
6
+ private readonly handlers;
7
+ private readonly multi;
8
8
  transform<T>(items: ReadonlyArray<readonly T[]>, matcher?: TuiStringMatcher<T>): ReadonlyArray<readonly T[]>;
9
9
  transform<T>(items: readonly T[], matcher?: TuiStringMatcher<T>): readonly T[];
10
10
  transform<T>(items: ReadonlyArray<readonly T[]> | null, matcher?: TuiStringMatcher<T>): ReadonlyArray<readonly T[]> | null;
@@ -0,0 +1,14 @@
1
+ import { type PipeTransform } from '@angular/core';
2
+ import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
3
+ import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
4
+ import * as i0 from "@angular/core";
5
+ type IsoCode = TuiLooseUnion<TuiCountryIsoCode>;
6
+ export declare class TuiFlagPipe implements PipeTransform {
7
+ private readonly staticPath;
8
+ transform(countryIsoCode: IsoCode): string;
9
+ transform(countryIsoCode: IsoCode | undefined): string | null;
10
+ transform(countryIsoCode?: IsoCode | null): string | null;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiFlagPipe, never>;
12
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiFlagPipe, "tuiFlag", true>;
13
+ }
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from './flag.pipe';
package/pipes/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
+ export * from '@taiga-ui/kit/pipes/auto-color';
1
2
  export * from '@taiga-ui/kit/pipes/emails';
2
3
  export * from '@taiga-ui/kit/pipes/filter-by-input';
4
+ export * from '@taiga-ui/kit/pipes/flag';
3
5
  export * from '@taiga-ui/kit/pipes/hide-selected';
6
+ export * from '@taiga-ui/kit/pipes/initials';
4
7
  export * from '@taiga-ui/kit/pipes/sort-countries';
5
8
  export * from '@taiga-ui/kit/pipes/stringify';
6
9
  export * from '@taiga-ui/kit/pipes/stringify-content';
@@ -0,0 +1 @@
1
+ export * from './initials.pipe';
@@ -0,0 +1,7 @@
1
+ import { type PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiInitialsPipe implements PipeTransform {
4
+ transform(text: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInitialsPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiInitialsPipe, "tuiInitials", true>;
7
+ }
@@ -1,10 +1,11 @@
1
1
  import { type PipeTransform } from '@angular/core';
2
2
  import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
3
- import { type Observable } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class TuiSortCountriesPipe implements PipeTransform {
6
- private readonly countriesNames$;
7
- transform(countries: readonly TuiCountryIsoCode[]): Observable<TuiCountryIsoCode[]>;
5
+ private readonly names;
6
+ private readonly countries;
7
+ private readonly result;
8
+ transform(countries: readonly TuiCountryIsoCode[]): TuiCountryIsoCode[];
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSortCountriesPipe, never>;
9
10
  static ɵpipe: i0.ɵɵPipeDeclaration<TuiSortCountriesPipe, "tuiSortCountries", true>;
10
11
  }
@@ -1,9 +1,8 @@
1
1
  import { type PipeTransform } from '@angular/core';
2
- import { type TuiStringHandler } from '@taiga-ui/cdk/types';
3
- import { type TuiValueContentContext } from '@taiga-ui/core/types';
2
+ import { type TuiContext, type TuiStringHandler } from '@taiga-ui/cdk/types';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class TuiStringifyContentPipe implements PipeTransform {
6
- transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiValueContentContext<T>>;
5
+ transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>>;
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiStringifyContentPipe, never>;
8
7
  static ɵpipe: i0.ɵɵPipeDeclaration<TuiStringifyContentPipe, "tuiStringifyContent", true>;
9
8
  }
package/tokens/index.d.ts CHANGED
@@ -1,8 +1,2 @@
1
1
  export * from './calendar-date-stream';
2
- export * from './date-inputs-value-transformers';
3
2
  export * from './i18n';
4
- export * from './input-date-options';
5
- export * from './items-handlers';
6
- export * from './mobile-calendar';
7
- export * from './month-formatter';
8
- export * from './preview-icons';
package/utils/index.d.ts CHANGED
@@ -2,5 +2,3 @@ export * from './create-time-periods';
2
2
  export * from './inject-value';
3
3
  export * from './is-flat';
4
4
  export * from './maskito.binding';
5
- export * from './phone';
6
- export * from './toggle-day';
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiElasticContainer {
3
- protected height: number;
4
- protected transitions: number;
5
- protected onAnimation(_name: string, count: number): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiElasticContainer, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiElasticContainer, "tui-elastic-container", never, {}, {}, never, ["*"], true, never>;
8
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiElasticContainerDirective {
3
- private readonly el;
4
- readonly tuiElasticContainer: import("rxjs").Observable<number>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiElasticContainerDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiElasticContainerDirective, "[tuiElasticContainer]", never, {}, { "tuiElasticContainer": "tuiElasticContainer"; }, never, never, true, never>;
7
- }
@@ -1,2 +0,0 @@
1
- export * from './elastic-container.component';
2
- export * from './elastic-container.directive';
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiFloatingContainer {
3
- protected readonly nothing: undefined;
4
- readonly background: import("@angular/core").InputSignal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFloatingContainer, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiFloatingContainer, "[tuiFloatingContainer]", never, { "background": { "alias": "tuiFloatingContainer"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7
- }
@@ -1 +0,0 @@
1
- export * from './floating-container.directive';
@@ -1 +0,0 @@
1
- export * from './slides.directive';
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@taiga-ui/cdk/directives/animated";
3
- export declare class TuiSlides {
4
- protected readonly nothing: undefined;
5
- protected readonly el: HTMLElement;
6
- protected readonly sign: import("@angular/core").Signal<number>;
7
- readonly direction: import("@angular/core").InputSignal<number | "">;
8
- protected onAnimation(target: Element): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSlides, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSlides, "[tuiSlides]", never, { "direction": { "alias": "tuiSlides"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiAnimatedParent; inputs: {}; outputs: {}; }]>;
11
- }
@@ -1,26 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import { type AbstractControl, type ValidationErrors, type Validator } from '@angular/forms';
3
- import { type TuiContext } from '@taiga-ui/cdk/types';
4
- import * as i0 from "@angular/core";
5
- export declare class TuiTextareaLimitComponent {
6
- protected readonly limit: import("@angular/core").InputSignal<number>;
7
- protected readonly context: TuiContext<string>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaLimitComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextareaLimitComponent, "ng-component", never, {}, {}, never, never, true, never>;
10
- }
11
- export declare class TuiTextareaCounterComponent {
12
- readonly limit: import("@angular/core").WritableSignal<number>;
13
- readonly length: import("@angular/core").WritableSignal<number>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaCounterComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextareaCounterComponent, "ng-component", never, {}, {}, never, never, true, never>;
16
- }
17
- export declare class TuiTextareaLimit implements Validator, DoCheck {
18
- private readonly textfield;
19
- private readonly ref;
20
- readonly size: import("@angular/core").Signal<"m" | "l" | "s">;
21
- readonly limit: import("@angular/core").InputSignal<number>;
22
- ngDoCheck(): void;
23
- validate(control: AbstractControl): ValidationErrors | null;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaLimit, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextareaLimit, "[tuiTextarea][limit]", never, { "limit": { "alias": "limit"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
26
- }
@@ -1,2 +0,0 @@
1
- export * from './lazy-loading.directive';
2
- export * from './lazy-loading.service';
@@ -1,18 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: Drop in v5.0
5
- */
6
- export declare class TuiImgLazyLoading {
7
- private readonly isServer;
8
- private readonly loading$;
9
- protected readonly supported: boolean;
10
- protected src: import("@angular/core").WritableSignal<string | SafeResourceUrl | null>;
11
- protected background: import("@angular/core").WritableSignal<string>;
12
- protected animation: import("@angular/core").WritableSignal<string>;
13
- protected readonly $: false | import("rxjs").Subscription;
14
- set srcSetter(src: SafeResourceUrl | string);
15
- protected unset(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiImgLazyLoading, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiImgLazyLoading, "img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]", never, { "srcSetter": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
18
- }
@@ -1,12 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiLazyLoadingService extends Observable<SafeResourceUrl | string> {
5
- private readonly src$;
6
- private readonly intersections$;
7
- private readonly stream$;
8
- constructor();
9
- next(src: SafeResourceUrl | string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLazyLoadingService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiLazyLoadingService>;
12
- }
@@ -1,77 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { inject, Output, Directive, ChangeDetectionStrategy, Component } from '@angular/core';
4
- import { shouldCall } from '@taiga-ui/event-plugins';
5
- import { MutationObserverService, WA_MUTATION_OBSERVER_INIT } from '@ng-web-apis/mutation-observer';
6
- import { ResizeObserverService } from '@ng-web-apis/resize-observer';
7
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
8
- import { merge, debounceTime, map, distinctUntilChanged } from 'rxjs';
9
-
10
- class TuiElasticContainerDirective {
11
- constructor() {
12
- this.el = tuiInjectElement();
13
- this.tuiElasticContainer = merge(inject(ResizeObserverService, { self: true }), inject(MutationObserverService, { self: true })).pipe(debounceTime(0), map(() => this.el.clientHeight - 1), distinctUntilChanged());
14
- }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
16
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiElasticContainerDirective, isStandalone: true, selector: "[tuiElasticContainer]", outputs: { tuiElasticContainer: "tuiElasticContainer" }, providers: [
17
- ResizeObserverService,
18
- MutationObserverService,
19
- {
20
- provide: WA_MUTATION_OBSERVER_INIT,
21
- useValue: {
22
- childList: true,
23
- characterData: true,
24
- subtree: true,
25
- },
26
- },
27
- ], ngImport: i0 }); }
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainerDirective, decorators: [{
30
- type: Directive,
31
- args: [{
32
- selector: '[tuiElasticContainer]',
33
- providers: [
34
- ResizeObserverService,
35
- MutationObserverService,
36
- {
37
- provide: WA_MUTATION_OBSERVER_INIT,
38
- useValue: {
39
- childList: true,
40
- characterData: true,
41
- subtree: true,
42
- },
43
- },
44
- ],
45
- }]
46
- }], propDecorators: { tuiElasticContainer: [{
47
- type: Output
48
- }] } });
49
-
50
- class TuiElasticContainer {
51
- constructor() {
52
- this.height = NaN;
53
- this.transitions = 0;
54
- }
55
- onAnimation(_name, count) {
56
- this.transitions += count;
57
- }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiElasticContainer, isStandalone: true, selector: "tui-elastic-container", host: { properties: { "style.height.px": "height", "class._transitioning": "transitions" } }, ngImport: i0, template: "<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n", styles: [":host{transition-property:height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden}:host._transitioning{block-size:auto!important}.t-wrapper{padding-block-start:1px;margin-block-start:-1px}\n"], dependencies: [{ kind: "directive", type: TuiElasticContainerDirective, selector: "[tuiElasticContainer]", outputs: ["tuiElasticContainer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
60
- }
61
- __decorate([
62
- shouldCall((name) => name === 'height')
63
- ], TuiElasticContainer.prototype, "onAnimation", null);
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainer, decorators: [{
65
- type: Component,
66
- args: [{ selector: 'tui-elastic-container', imports: [TuiElasticContainerDirective], changeDetection: ChangeDetectionStrategy.OnPush, host: {
67
- '[style.height.px]': 'height',
68
- '[class._transitioning]': 'transitions',
69
- }, template: "<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n", styles: [":host{transition-property:height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden}:host._transitioning{block-size:auto!important}.t-wrapper{padding-block-start:1px;margin-block-start:-1px}\n"] }]
70
- }], propDecorators: { onAnimation: [] } });
71
-
72
- /**
73
- * Generated bundle index. Do not edit.
74
- */
75
-
76
- export { TuiElasticContainer, TuiElasticContainerDirective };
77
- //# sourceMappingURL=taiga-ui-kit-components-elastic-container.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-elastic-container.mjs","sources":["../../../projects/kit/components/elastic-container/elastic-container.directive.ts","../../../projects/kit/components/elastic-container/elastic-container.component.ts","../../../projects/kit/components/elastic-container/elastic-container.component.html","../../../projects/kit/components/elastic-container/taiga-ui-kit-components-elastic-container.ts"],"sourcesContent":["import {Directive, inject, Output} from '@angular/core';\nimport {\n MutationObserverService,\n WA_MUTATION_OBSERVER_INIT,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {debounceTime, distinctUntilChanged, map, merge} from 'rxjs';\n\n@Directive({\n selector: '[tuiElasticContainer]',\n providers: [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: WA_MUTATION_OBSERVER_INIT,\n useValue: {\n childList: true,\n characterData: true,\n subtree: true,\n },\n },\n ],\n})\nexport class TuiElasticContainerDirective {\n private readonly el = tuiInjectElement();\n\n @Output()\n public readonly tuiElasticContainer = merge(\n inject(ResizeObserverService, {self: true}),\n inject(MutationObserverService, {self: true}),\n ).pipe(\n debounceTime(0),\n map(() => this.el.clientHeight - 1),\n distinctUntilChanged(),\n );\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {shouldCall} from '@taiga-ui/event-plugins';\n\nimport {TuiElasticContainerDirective} from './elastic-container.directive';\n\n@Component({\n selector: 'tui-elastic-container',\n imports: [TuiElasticContainerDirective],\n templateUrl: './elastic-container.component.html',\n styleUrl: './elastic-container.component.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[style.height.px]': 'height',\n '[class._transitioning]': 'transitions',\n },\n})\nexport class TuiElasticContainer {\n protected height = NaN;\n protected transitions = 0;\n\n @shouldCall((name) => name === 'height')\n protected onAnimation(_name: string, count: number): void {\n this.transitions += count;\n }\n}\n","<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAwBa,4BAA4B,CAAA;AAfzC,IAAA,WAAA,GAAA;QAgBqB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE;QAGxB,IAAmB,CAAA,mBAAA,GAAG,KAAK,CACvC,MAAM,CAAC,qBAAqB,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC,EAC3C,MAAM,CAAC,uBAAuB,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC,CAChD,CAAC,IAAI,CACF,YAAY,CAAC,CAAC,CAAC,EACf,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,YAAY,GAAG,CAAC,CAAC,EACnC,oBAAoB,EAAE,CACzB;AACJ;+GAZY,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,4BAA4B,EAb1B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,OAAA,EAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,EAAA,SAAA,EAAA;YACP,qBAAqB;YACrB,uBAAuB;AACvB,YAAA;AACI,gBAAA,OAAO,EAAE,yBAAyB;AAClC,gBAAA,QAAQ,EAAE;AACN,oBAAA,SAAS,EAAE,IAAI;AACf,oBAAA,aAAa,EAAE,IAAI;AACnB,oBAAA,OAAO,EAAE,IAAI;AAChB,iBAAA;AACJ,aAAA;AACJ,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAEQ,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAfxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,SAAS,EAAE;wBACP,qBAAqB;wBACrB,uBAAuB;AACvB,wBAAA;AACI,4BAAA,OAAO,EAAE,yBAAyB;AAClC,4BAAA,QAAQ,EAAE;AACN,gCAAA,SAAS,EAAE,IAAI;AACf,gCAAA,aAAa,EAAE,IAAI;AACnB,gCAAA,OAAO,EAAE,IAAI;AAChB,6BAAA;AACJ,yBAAA;AACJ,qBAAA;AACJ,iBAAA;8BAKmB,mBAAmB,EAAA,CAAA;sBADlC;;;MCXQ,mBAAmB,CAAA;AAXhC,IAAA,WAAA,GAAA;QAYc,IAAM,CAAA,MAAA,GAAG,GAAG;QACZ,IAAW,CAAA,WAAA,GAAG,CAAC;AAM5B;IAHa,WAAW,CAAC,KAAa,EAAE,KAAa,EAAA;AAC9C,QAAA,IAAI,CAAC,WAAW,IAAI,KAAK;;+GANpB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,aAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EChBhC,0VASA,EAAA,MAAA,EAAA,CAAA,iQAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDFc,4BAA4B,EAAA,QAAA,EAAA,uBAAA,EAAA,OAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;AAc5B,UAAA,CAAA;IADT,UAAU,CAAC,CAAC,IAAI,KAAK,IAAI,KAAK,QAAQ;AAGtC,CAAA,EAAA,mBAAA,CAAA,SAAA,EAAA,aAAA,EAAA,IAAA,CAAA;4FAPQ,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAX/B,SAAS;+BACI,uBAAuB,EAAA,OAAA,EACxB,CAAC,4BAA4B,CAAC,mBAGtB,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,mBAAmB,EAAE,QAAQ;AAC7B,wBAAA,wBAAwB,EAAE,aAAa;AAC1C,qBAAA,EAAA,QAAA,EAAA,0VAAA,EAAA,MAAA,EAAA,CAAA,iQAAA,CAAA,EAAA;8BAOS,WAAW,EAAA,EAAA,EAAA,EAAA,CAAA;;AErBzB;;AAEG;;;;"}
@@ -1,37 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, ViewEncapsulation, Component, input, Directive } from '@angular/core';
3
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
-
5
- class Styles {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-floating-container" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiFloatingContainer]{transition-property:bottom;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:sticky;bottom:calc(100 * var(--tui-viewport-vh) - var(--tui-viewport-height) - var(--tui-viewport-y));z-index:1;margin-block-start:1rem;padding-block-end:max(1rem,env(safe-area-inset-bottom));text-align:center;font:var(--tui-font-text-ui-s);color:var(--tui-text-secondary)}[tuiFloatingContainer],[tuiFloatingContainer]>tui-elastic-container>.t-wrapper{display:flex;flex-direction:column!important;gap:.5rem}[tuiFloatingContainer]>*,[tuiFloatingContainer]>tui-elastic-container>.t-wrapper>*{inline-size:100%}[tuiFloatingContainer]:has(>*:only-child:not(tui-elastic-container)),[tuiFloatingContainer]:has(*.ng-animating:first-child~.ng-animating:last-child){padding-block-end:max(1.5rem,env(safe-area-inset-bottom))}[tuiFloatingContainer]:before{top:0;left:0;bottom:0;right:0;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;left:-1rem;right:-1rem;z-index:-1;background:var(--t-background, var(--tui-background-elevation-1));-webkit-mask-image:linear-gradient(180deg,transparent,black 2.5rem);mask-image:linear-gradient(180deg,transparent,black 2.5rem)}tui-sheet-dialog [tuiFloatingContainer]{margin-block-end:calc(-1*max(1.5rem,env(safe-area-inset-bottom)))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
10
- type: Component,
11
- args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-floating-container' }, styles: ["[tuiFloatingContainer]{transition-property:bottom;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:sticky;bottom:calc(100 * var(--tui-viewport-vh) - var(--tui-viewport-height) - var(--tui-viewport-y));z-index:1;margin-block-start:1rem;padding-block-end:max(1rem,env(safe-area-inset-bottom));text-align:center;font:var(--tui-font-text-ui-s);color:var(--tui-text-secondary)}[tuiFloatingContainer],[tuiFloatingContainer]>tui-elastic-container>.t-wrapper{display:flex;flex-direction:column!important;gap:.5rem}[tuiFloatingContainer]>*,[tuiFloatingContainer]>tui-elastic-container>.t-wrapper>*{inline-size:100%}[tuiFloatingContainer]:has(>*:only-child:not(tui-elastic-container)),[tuiFloatingContainer]:has(*.ng-animating:first-child~.ng-animating:last-child){padding-block-end:max(1.5rem,env(safe-area-inset-bottom))}[tuiFloatingContainer]:before{top:0;left:0;bottom:0;right:0;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;left:-1rem;right:-1rem;z-index:-1;background:var(--t-background, var(--tui-background-elevation-1));-webkit-mask-image:linear-gradient(180deg,transparent,black 2.5rem);mask-image:linear-gradient(180deg,transparent,black 2.5rem)}tui-sheet-dialog [tuiFloatingContainer]{margin-block-end:calc(-1*max(1.5rem,env(safe-area-inset-bottom)))}\n"] }]
12
- }] });
13
- class TuiFloatingContainer {
14
- constructor() {
15
- this.nothing = tuiWithStyles(Styles);
16
- this.background = input('', { alias: 'tuiFloatingContainer' });
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFloatingContainer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiFloatingContainer, isStandalone: true, selector: "[tuiFloatingContainer]", inputs: { background: { classPropertyName: "background", publicName: "tuiFloatingContainer", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiFloatingContainer": "" }, properties: { "style.--t-background": "background()" } }, ngImport: i0 }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFloatingContainer, decorators: [{
22
- type: Directive,
23
- args: [{
24
- selector: '[tuiFloatingContainer]',
25
- host: {
26
- tuiFloatingContainer: '',
27
- '[style.--t-background]': 'background()',
28
- },
29
- }]
30
- }] });
31
-
32
- /**
33
- * Generated bundle index. Do not edit.
34
- */
35
-
36
- export { TuiFloatingContainer };
37
- //# sourceMappingURL=taiga-ui-kit-components-floating-container.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-floating-container.mjs","sources":["../../../projects/kit/components/floating-container/floating-container.directive.ts","../../../projects/kit/components/floating-container/taiga-ui-kit-components-floating-container.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrl: './floating-container.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-floating-container'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiFloatingContainer]',\n host: {\n tuiFloatingContainer: '',\n '[style.--t-background]': 'background()',\n },\n})\nexport class TuiFloatingContainer {\n protected readonly nothing = tuiWithStyles(Styles);\n\n public readonly background = input('', {alias: 'tuiFloatingContainer'});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AASA,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAM,4HANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,y3CAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMV,MAAM,EAAA,UAAA,EAAA,CAAA;kBAPX,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA,EAAC,KAAK,EAAE,wBAAwB,EAAC,EAAA,MAAA,EAAA,CAAA,y3CAAA,CAAA,EAAA;;MAW9B,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;AAQuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC;QAElC,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC,EAAE,EAAE,EAAC,KAAK,EAAE,sBAAsB,EAAC,CAAC;AAC1E;+GAJY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sBAAA,EAAA,EAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sBAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,IAAI,EAAE;AACF,wBAAA,oBAAoB,EAAE,EAAE;AACxB,wBAAA,wBAAwB,EAAE,cAAc;AAC3C,qBAAA;AACJ,iBAAA;;;ACxBD;;AAEG;;;;"}