@taiga-ui/kit 4.52.0-canary.ec0802b → 4.52.0-canary.efbd0d4

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 (359) hide show
  1. package/components/avatar/avatar-labeled.component.d.ts +3 -3
  2. package/components/avatar/avatar-stack.component.d.ts +2 -2
  3. package/components/badge-notification/badge-notification.component.d.ts +2 -3
  4. package/components/badged-content/badged-content.directive.d.ts +2 -2
  5. package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -7
  6. package/components/button-loading/button-loading.component.d.ts +5 -5
  7. package/components/calendar-range/calendar-range.component.d.ts +0 -1
  8. package/components/calendar-range/day-range-period.d.ts +2 -1
  9. package/components/carousel/carousel.component.d.ts +15 -18
  10. package/components/carousel/carousel.directive.d.ts +5 -4
  11. package/components/combo-box/combo-box.d.ts +5 -0
  12. package/components/combo-box/combo-box.directive.d.ts +7 -9
  13. package/components/combo-box/index.d.ts +1 -0
  14. package/components/compass/compass.component.d.ts +2 -2
  15. package/components/confirm/confirm.component.d.ts +3 -2
  16. package/components/confirm/confirm.service.d.ts +1 -1
  17. package/components/copy/copy.component.d.ts +2 -3
  18. package/components/copy/copy.directive.d.ts +2 -4
  19. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -2
  20. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  21. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  22. package/components/data-list-wrapper/index.d.ts +1 -1
  23. package/components/drawer/drawer.component.d.ts +3 -4
  24. package/components/files/file/file.component.d.ts +16 -29
  25. package/components/files/files/files.component.d.ts +5 -8
  26. package/components/files/input-files/input-files.component.d.ts +2 -2
  27. package/components/files/input-files/input-files.content.d.ts +7 -8
  28. package/components/files/input-files/input-files.directive.d.ts +2 -2
  29. package/components/filter/filter.component.d.ts +9 -11
  30. package/components/fullscreen/fullscreen.component.d.ts +5 -8
  31. package/components/index.d.ts +0 -3
  32. package/components/input-chip/input-chip.component.d.ts +9 -8
  33. package/components/input-chip/input-chip.d.ts +5 -1
  34. package/components/input-chip/input-chip.directive.d.ts +7 -12
  35. package/components/input-color/index.d.ts +1 -0
  36. package/components/input-color/input-color.component.d.ts +4 -4
  37. package/components/input-color/input-color.d.ts +5 -0
  38. package/components/input-date/input-date.d.ts +4 -1
  39. package/components/input-date/input-date.directive.d.ts +12 -14
  40. package/components/input-date/input-date.options.d.ts +3 -3
  41. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  42. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  43. package/components/input-date-range/input-date-range.d.ts +4 -1
  44. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  45. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  46. package/components/input-date-time/input-date-time.d.ts +4 -1
  47. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  48. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  49. package/components/input-month/input-month.d.ts +4 -1
  50. package/components/input-month/input-month.directive.d.ts +6 -5
  51. package/components/input-month-range/input-month-range.d.ts +4 -1
  52. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  53. package/components/input-number/input-number.d.ts +4 -1
  54. package/components/input-number/input-number.directive.d.ts +5 -7
  55. package/components/input-number/input-number.options.d.ts +2 -3
  56. package/components/input-number/step/input-number-step.component.d.ts +2 -1
  57. package/components/input-phone/index.d.ts +1 -0
  58. package/components/input-phone/input-phone.d.ts +5 -0
  59. package/components/input-phone/input-phone.directive.d.ts +7 -7
  60. package/components/input-phone-international/index.d.ts +1 -0
  61. package/components/input-phone-international/input-phone-international.component.d.ts +9 -8
  62. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  63. package/components/input-pin/index.d.ts +1 -0
  64. package/components/input-pin/input-pin.component.d.ts +3 -3
  65. package/components/input-pin/input-pin.d.ts +5 -0
  66. package/components/input-range/index.d.ts +0 -1
  67. package/components/input-range/input-range.component.d.ts +4 -3
  68. package/components/input-slider/input-slider.d.ts +4 -1
  69. package/components/input-slider/input-slider.directive.d.ts +1 -1
  70. package/components/input-time/input-time.component.d.ts +1 -3
  71. package/components/input-time/input-time.d.ts +4 -1
  72. package/components/input-time/input-time.directive.d.ts +4 -4
  73. package/components/input-year/input-year.d.ts +4 -1
  74. package/components/input-year/input-year.directive.d.ts +5 -5
  75. package/components/input-year/input-year.options.d.ts +2 -2
  76. package/components/like/like.options.d.ts +1 -1
  77. package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
  78. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +4 -6
  79. package/components/notification-middle/notification-middle.service.d.ts +1 -1
  80. package/components/pagination/pagination.component.d.ts +22 -52
  81. package/components/pagination/pagination.options.d.ts +3 -6
  82. package/components/preview/dialog/preview-dialog.service.d.ts +1 -1
  83. package/components/preview/index.d.ts +1 -0
  84. package/components/preview/pagination/preview-pagination.component.d.ts +2 -1
  85. package/components/preview/preview.component.d.ts +1 -1
  86. package/components/preview/zoom/preview-zoom.component.d.ts +3 -1
  87. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  88. package/components/pulse/pulse.component.d.ts +2 -2
  89. package/components/push/push-alert.component.d.ts +1 -1
  90. package/components/push/push.options.d.ts +4 -3
  91. package/components/push/push.service.d.ts +1 -1
  92. package/components/radio/radio.component.d.ts +1 -1
  93. package/components/radio-list/radio-list.component.d.ts +5 -3
  94. package/components/rating/rating.component.d.ts +1 -1
  95. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  96. package/components/segmented/segmented.component.d.ts +4 -6
  97. package/components/segmented/segmented.directive.d.ts +6 -7
  98. package/components/select/native-select/native-select.component.d.ts +4 -4
  99. package/components/select/select.d.ts +4 -1
  100. package/components/select/select.directive.d.ts +4 -3
  101. package/components/switch/switch.component.d.ts +1 -0
  102. package/components/textarea/index.d.ts +2 -1
  103. package/components/textarea/textarea.component.d.ts +4 -4
  104. package/components/textarea/textarea.d.ts +6 -0
  105. package/components/textarea/textarea.directive.d.ts +13 -0
  106. package/components/toast/toast.component.d.ts +1 -1
  107. package/components/toast/toast.options.d.ts +4 -3
  108. package/components/toast/toast.service.d.ts +1 -1
  109. package/directives/appearance-proxy/appearance-proxy.directive.d.ts +10 -0
  110. package/directives/appearance-proxy/index.d.ts +1 -0
  111. package/directives/button-select/button-select.directive.d.ts +1 -1
  112. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  113. package/directives/fade/fade.directive.d.ts +5 -6
  114. package/directives/highlight/highlight.directive.d.ts +4 -4
  115. package/directives/index.d.ts +1 -1
  116. package/directives/password/password.directive.d.ts +1 -1
  117. package/directives/present/present.directive.d.ts +2 -4
  118. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  119. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  120. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  121. package/fesm2022/taiga-ui-kit-components-accordion.mjs +8 -8
  122. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +7 -7
  124. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-kit-components-avatar.mjs +33 -47
  126. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +8 -10
  128. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-kit-components-badge.mjs +7 -7
  130. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -11
  131. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-block.mjs +7 -7
  133. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +16 -30
  135. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +18 -26
  137. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -13
  139. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +23 -23
  141. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-carousel.mjs +63 -107
  143. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +4 -5
  145. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-chip.mjs +7 -7
  147. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +40 -44
  148. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
  150. package/fesm2022/taiga-ui-kit-components-compass.mjs +7 -9
  151. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-confirm.mjs +9 -10
  153. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-copy.mjs +19 -32
  155. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +24 -85
  157. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-drawer.mjs +15 -32
  159. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-files.mjs +110 -230
  161. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-filter.mjs +20 -34
  163. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +23 -42
  165. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +63 -75
  167. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
  169. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +34 -46
  171. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +30 -35
  173. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +31 -27
  175. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-input-date.mjs +42 -38
  177. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +3 -3
  179. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +26 -22
  180. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-input-month.mjs +32 -22
  182. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-input-number.mjs +47 -40
  184. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +48 -36
  186. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +29 -18
  188. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
  190. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-input-range.mjs +18 -16
  192. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +15 -10
  194. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-components-input-time.mjs +38 -39
  196. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-components-input-year.mjs +27 -18
  198. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -12
  200. package/fesm2022/taiga-ui-kit-components-like.mjs +3 -3
  201. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +14 -14
  203. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-message.mjs +7 -7
  205. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +29 -39
  207. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +12 -12
  209. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -8
  211. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-pagination.mjs +59 -140
  213. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
  215. package/fesm2022/taiga-ui-kit-components-preview.mjs +48 -36
  216. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-progress.mjs +31 -35
  218. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
  220. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-push.mjs +20 -21
  222. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +8 -8
  224. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-radio.mjs +6 -6
  226. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-range.mjs +7 -7
  228. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-rating.mjs +4 -4
  230. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +4 -4
  232. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-segmented.mjs +31 -57
  234. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-select.mjs +50 -26
  236. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-slider.mjs +18 -18
  238. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  240. package/fesm2022/taiga-ui-kit-components-stepper.mjs +8 -8
  241. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  242. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-tabs.mjs +24 -22
  244. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-textarea.mjs +51 -50
  246. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
  248. package/fesm2022/taiga-ui-kit-components-toast.mjs +23 -24
  249. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-components-tree.mjs +26 -25
  251. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-components.mjs +0 -3
  253. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +27 -0
  255. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -0
  256. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  257. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  258. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +6 -6
  260. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +10 -9
  262. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -6
  264. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -52
  265. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-directives-fade.mjs +25 -34
  267. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -3
  269. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -20
  270. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-directives-password.mjs +10 -8
  272. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -17
  274. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  276. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  277. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  278. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  279. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +8 -8
  280. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +8 -10
  282. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -14
  284. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-directives.mjs +1 -1
  286. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  287. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  288. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  289. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -24
  290. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  292. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  293. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -4
  294. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  296. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  297. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  298. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  300. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  302. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  303. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  304. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -108
  305. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  306. package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
  307. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  308. package/package.json +62 -62
  309. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  310. package/pipes/auto-color/index.d.ts +1 -0
  311. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  312. package/pipes/flag/flag.pipe.d.ts +14 -0
  313. package/pipes/flag/index.d.ts +1 -0
  314. package/pipes/index.d.ts +3 -0
  315. package/pipes/initials/index.d.ts +1 -0
  316. package/pipes/initials/initials.pipe.d.ts +7 -0
  317. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  318. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  319. package/styles/components/avatar.less +14 -14
  320. package/styles/components/badge.less +3 -3
  321. package/styles/components/block.less +4 -4
  322. package/styles/components/chip.less +3 -3
  323. package/styles/components/comment.less +1 -1
  324. package/styles/components/message.less +1 -1
  325. package/styles/components/pin.less +3 -3
  326. package/styles/components/switch.less +2 -2
  327. package/styles/components/toast.less +1 -1
  328. package/tokens/i18n.d.ts +1 -0
  329. package/tokens/index.d.ts +0 -7
  330. package/utils/index.d.ts +0 -2
  331. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  332. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  333. package/components/elastic-container/index.d.ts +0 -2
  334. package/components/floating-container/floating-container.directive.d.ts +0 -7
  335. package/components/floating-container/index.d.ts +0 -1
  336. package/components/input-range/input-range.d.ts +0 -3
  337. package/components/slides/index.d.ts +0 -1
  338. package/components/slides/slides.directive.d.ts +0 -11
  339. package/components/textarea/textarea-limit.directive.d.ts +0 -26
  340. package/directives/lazy-loading/index.d.ts +0 -2
  341. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  342. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  343. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -77
  344. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  345. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  346. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  347. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  348. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  349. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -80
  350. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  351. package/tokens/calendar-date-stream.d.ts +0 -10
  352. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  353. package/tokens/input-date-options.d.ts +0 -15
  354. package/tokens/items-handlers.d.ts +0 -20
  355. package/tokens/mobile-calendar.d.ts +0 -6
  356. package/tokens/month-formatter.d.ts +0 -5
  357. package/utils/phone.d.ts +0 -3
  358. package/utils/toggle-day.d.ts +0 -2
  359. /package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +0 -0
package/tokens/index.d.ts CHANGED
@@ -1,8 +1 @@
1
- export * from './calendar-date-stream';
2
- export * from './date-inputs-value-transformers';
3
1
  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,3 +0,0 @@
1
- import { TuiLabel } from '@taiga-ui/core/components/label';
2
- import { TuiInputRangeComponent } from './input-range.component';
3
- export declare const TuiInputRange: readonly [typeof TuiInputRangeComponent, typeof TuiLabel];
@@ -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,E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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{inset: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{inset: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,m2CAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMV,MA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AAEG;;;;"}
@@ -1,49 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, ViewEncapsulation, Component, computed, input, Directive } from '@angular/core';
3
- import * as i1 from '@taiga-ui/cdk/directives/animated';
4
- import { TuiAnimatedParent } from '@taiga-ui/cdk/directives/animated';
5
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
6
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
7
-
8
- class Styles {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-slides" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiSlides]{display:grid;isolation:isolate}[tuiSlides][data-direction=\"-1\"]>*{--tui-from: translateX(-2rem)}[tuiSlides][data-direction=\"-1\"]>*.tui-leave{--tui-from: translateX(1rem)}[tuiSlides][data-direction=\"1\"]>*{--tui-from: translateX(2rem)}[tuiSlides][data-direction=\"1\"]>*.tui-leave{--tui-from: translateX(-1rem)}[tuiSlides]>*{grid-area:1 / 1;align-self:start;mix-blend-mode:plus-lighter;animation-name:tuiFade,tuiSlide;animation-duration:var(--tui-duration);animation-timing-function:ease-in-out;--tui-from: translateY(0)}[tuiSlides]>*.tui-slide:not(.tui-leave){animation-name:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
13
- type: Component,
14
- args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-slides' }, styles: ["[tuiSlides]{display:grid;isolation:isolate}[tuiSlides][data-direction=\"-1\"]>*{--tui-from: translateX(-2rem)}[tuiSlides][data-direction=\"-1\"]>*.tui-leave{--tui-from: translateX(1rem)}[tuiSlides][data-direction=\"1\"]>*{--tui-from: translateX(2rem)}[tuiSlides][data-direction=\"1\"]>*.tui-leave{--tui-from: translateX(-1rem)}[tuiSlides]>*{grid-area:1 / 1;align-self:start;mix-blend-mode:plus-lighter;animation-name:tuiFade,tuiSlide;animation-duration:var(--tui-duration);animation-timing-function:ease-in-out;--tui-from: translateY(0)}[tuiSlides]>*.tui-slide:not(.tui-leave){animation-name:none}\n"] }]
15
- }] });
16
- class TuiSlides {
17
- constructor() {
18
- this.nothing = tuiWithStyles(Styles);
19
- this.el = tuiInjectElement();
20
- this.sign = computed(() => Math.sign(this.direction() || 0));
21
- this.direction = input('', { alias: 'tuiSlides' });
22
- }
23
- onAnimation(target) {
24
- Array.from(this.el.children)
25
- .find((element) => element === target)
26
- ?.classList.add('tui-slide');
27
- }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSlides, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiSlides, isStandalone: true, selector: "[tuiSlides]", inputs: { direction: { classPropertyName: "direction", publicName: "tuiSlides", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiSlides": "" }, listeners: { "animationend": "onAnimation($event.target)" }, properties: { "attr.data-direction": "sign()" } }, hostDirectives: [{ directive: i1.TuiAnimatedParent }], ngImport: i0 }); }
30
- }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSlides, decorators: [{
32
- type: Directive,
33
- args: [{
34
- selector: '[tuiSlides]',
35
- hostDirectives: [TuiAnimatedParent],
36
- host: {
37
- tuiSlides: '',
38
- '[attr.data-direction]': 'sign()',
39
- '(animationend)': 'onAnimation($event.target)',
40
- },
41
- }]
42
- }] });
43
-
44
- /**
45
- * Generated bundle index. Do not edit.
46
- */
47
-
48
- export { TuiSlides };
49
- //# sourceMappingURL=taiga-ui-kit-components-slides.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-slides.mjs","sources":["../../../projects/kit/components/slides/slides.directive.ts","../../../projects/kit/components/slides/taiga-ui-kit-components-slides.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TuiAnimatedParent} from '@taiga-ui/cdk/directives/animated';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrl: './slides.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-slides'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiSlides]',\n hostDirectives: [TuiAnimatedParent],\n host: {\n tuiSlides: '',\n '[attr.data-direction]': 'sign()',\n '(animationend)': 'onAnimation($event.target)',\n },\n})\nexport class TuiSlides {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly el = tuiInjectElement();\n protected readonly sign = computed(() => Math.sign(this.direction() || 0));\n\n public readonly direction = input<number | ''>('', {alias: 'tuiSlides'});\n\n protected onAnimation(target: Element): void {\n Array.from(this.el.children)\n .find((element) => element === target)\n ?.classList.add('tui-slide');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAYA,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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,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,cAAA,EAAA,4BAAA,EAAA,EAAA,UAAA,EAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBATrB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,aAAa;oBACvB,cAAc,EAAE,CAAC,iBAAiB,CAAC;AACnC,oBAAA,IAAI,EAAE;AACF,wBAAA,SAAS,EAAE,EAAE;AACb,wBAAA,uBAAuB,EAAE,QAAQ;AACjC,wBAAA,gBAAgB,EAAE,4BAA4B;AACjD,qBAAA;AACJ,iBAAA;;;AC7BD;;AAEG;;;;"}
@@ -1,80 +0,0 @@
1
- import { isPlatformServer } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, Injectable, PLATFORM_ID, signal, Input, Directive } from '@angular/core';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
- import { IntersectionObserverService } from '@ng-web-apis/intersection-observer';
6
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
7
- import { tuiWatch } from '@taiga-ui/cdk/observables';
8
- import { Observable, Subject, switchMap, filter, map, take } from 'rxjs';
9
-
10
- class TuiLazyLoadingService extends Observable {
11
- constructor() {
12
- super((subscriber) => this.stream$.subscribe(subscriber));
13
- this.src$ = new Subject();
14
- this.intersections$ = inject(IntersectionObserverService);
15
- this.stream$ = this.src$.pipe(switchMap((src) => this.intersections$.pipe(filter((entry) => !!entry[0]?.isIntersecting), map(() => src), take(1))), tuiWatch());
16
- }
17
- next(src) {
18
- this.src$.next(src);
19
- }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLazyLoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
21
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLazyLoadingService }); }
22
- }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLazyLoadingService, decorators: [{
24
- type: Injectable
25
- }], ctorParameters: () => [] });
26
-
27
- /**
28
- * @deprecated: Drop in v5.0
29
- */
30
- class TuiImgLazyLoading {
31
- constructor() {
32
- this.isServer = isPlatformServer(inject(PLATFORM_ID));
33
- this.loading$ = inject(TuiLazyLoadingService);
34
- this.supported = 'loading' in tuiInjectElement();
35
- this.src = signal(null);
36
- this.background = signal(this.isServer ? '' : 'var(--tui-background-neutral-2)');
37
- this.animation = signal(this.isServer ? '' : 'tuiSkeletonVibe ease-in-out 1s infinite alternate');
38
- this.$ = !this.supported &&
39
- this.loading$.pipe(takeUntilDestroyed()).subscribe((src) => this.src.set(src));
40
- }
41
- set srcSetter(src) {
42
- if (this.supported) {
43
- this.src.set(src);
44
- }
45
- else {
46
- this.loading$.next(src);
47
- }
48
- }
49
- unset() {
50
- this.background.set('');
51
- this.animation.set('');
52
- }
53
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiImgLazyLoading, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiImgLazyLoading, isStandalone: true, selector: "img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]", inputs: { srcSetter: ["src", "srcSetter"] }, host: { listeners: { "load": "unset()", "error": "unset()" }, properties: { "style.animation": "animation()", "style.background": "background()", "attr.loading": "supported ? \"lazy\" : null", "attr.src": "src()" } }, providers: [TuiLazyLoadingService, IntersectionObserverService], ngImport: i0 }); }
55
- }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiImgLazyLoading, decorators: [{
57
- type: Directive,
58
- args: [{
59
- selector: 'img[loading="lazy"],img[tuiLoading="lazy"]',
60
- providers: [TuiLazyLoadingService, IntersectionObserverService],
61
- host: {
62
- '[style.animation]': 'animation()',
63
- '[style.background]': 'background()',
64
- '[attr.loading]': 'supported ? "lazy" : null',
65
- '[attr.src]': 'src()',
66
- '(load)': 'unset()',
67
- '(error)': 'unset()',
68
- },
69
- }]
70
- }], propDecorators: { srcSetter: [{
71
- type: Input,
72
- args: ['src']
73
- }] } });
74
-
75
- /**
76
- * Generated bundle index. Do not edit.
77
- */
78
-
79
- export { TuiImgLazyLoading, TuiLazyLoadingService };
80
- //# sourceMappingURL=taiga-ui-kit-directives-lazy-loading.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-lazy-loading.mjs","sources":["../../../projects/kit/directives/lazy-loading/lazy-loading.service.ts","../../../projects/kit/directives/lazy-loading/lazy-loading.directive.ts","../../../projects/kit/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.ts"],"sourcesContent":["import {inject, Injectable} from '@angular/core';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {filter, map, Observable, Subject, switchMap, take} from 'rxjs';\n\n@Injectable()\nexport class TuiLazyLoadingService extends Observable<SafeResourceUrl | string> {\n private readonly src$ = new Subject<SafeResourceUrl | string>();\n private readonly intersections$ = inject(IntersectionObserverService);\n private readonly stream$ = this.src$.pipe(\n switchMap((src) =>\n this.intersections$.pipe(\n filter((entry) => !!entry[0]?.isIntersecting),\n map(() => src),\n take(1),\n ),\n ),\n tuiWatch(),\n );\n\n constructor() {\n super((subscriber) => this.stream$.subscribe(subscriber));\n }\n\n public next(src: SafeResourceUrl | string): void {\n this.src$.next(src);\n }\n}\n","import {isPlatformServer} from '@angular/common';\nimport {Directive, inject, Input, PLATFORM_ID, signal} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\n\nimport {TuiLazyLoadingService} from './lazy-loading.service';\n\n/**\n * @deprecated: Drop in v5.0\n */\n@Directive({\n selector: 'img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]',\n providers: [TuiLazyLoadingService, IntersectionObserverService],\n host: {\n '[style.animation]': 'animation()',\n '[style.background]': 'background()',\n '[attr.loading]': 'supported ? \"lazy\" : null',\n '[attr.src]': 'src()',\n '(load)': 'unset()',\n '(error)': 'unset()',\n },\n})\nexport class TuiImgLazyLoading {\n private readonly isServer = isPlatformServer(inject(PLATFORM_ID));\n private readonly loading$ = inject(TuiLazyLoadingService);\n protected readonly supported = 'loading' in tuiInjectElement<HTMLImageElement>();\n protected src = signal<SafeResourceUrl | string | null>(null);\n protected background = signal(this.isServer ? '' : 'var(--tui-background-neutral-2)');\n protected animation = signal(\n this.isServer ? '' : 'tuiSkeletonVibe ease-in-out 1s infinite alternate',\n );\n\n protected readonly $ =\n !this.supported &&\n this.loading$.pipe(takeUntilDestroyed()).subscribe((src) => this.src.set(src));\n\n @Input('src')\n public set srcSetter(src: SafeResourceUrl | string) {\n if (this.supported) {\n this.src.set(src);\n } else {\n this.loading$.next(src);\n }\n }\n\n protected unset(): void {\n this.background.set('');\n this.animation.set('');\n }\n}\n","/**\n * Generated bundle index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SAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,kBAAA,EAAA,cAAA,EAAA,cAAA,EAAA,6BAAA,EAAA,UAAA,EAAA,OAAA,EAAA,EAAA,EAAA,SAAA,EAAA,CAAC,qBAAqB,EAAE,2BAA2B,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAUtD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAZ7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,4CAA4C;AACtD,oBAAA,SAAS,EAAE,CAAC,qBAAqB,EAAE,2BAA2B,CAAC;AAC/D,oBAAA,IAAI,EAAE;AACF,wBAAA,mBAAmB,EAAE,aAAa;AAClC,wBAAA,oBAAoB,EAAE,cAAc;AACpC,wBAAA,gBAAgB,EAAE,2BAA2B;AAC7C,wBAAA,YAAY,EAAE,OAAO;AACrB,wBAAA,QAAQ,EAAE,SAAS;AACnB,wBAAA,SAAS,EAAE,SAAS;AACvB,qBAAA;AACJ,iBAAA;8BAgBc,SAAS,EAAA,CAAA;sBADnB,KAAK;uBAAC,KAAK;;;ACtChB;;AAEG;;;;"}
@@ -1,10 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { type TuiDay, type TuiDayRange } from '@taiga-ui/cdk/date-time';
4
- import { type Observable } from 'rxjs';
5
- /**
6
- * Stream that emits calendar data change
7
- * @deprecated this should be rewritten in v5
8
- */
9
- export declare const TUI_CALENDAR_DATE_STREAM: InjectionToken<Observable<TuiDay | TuiDayRange | null>>;
10
- export declare function tuiDateStreamWithTransformer(transformer: InjectionToken<TuiValueTransformer<any>>): Provider;
@@ -1,19 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { type TuiDay, type TuiDayRange, type TuiTime } from '@taiga-ui/cdk/date-time';
4
- /**
5
- * Control value transformer of TuiDay to custom value format for InputDate* components
6
- */
7
- export declare const TUI_DATE_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiDay | null, unknown>>;
8
- /**
9
- * Control value transformer for InputDateRange component
10
- */
11
- export declare const TUI_DATE_RANGE_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiDayRange | null, unknown>>;
12
- /**
13
- * Control value transformer for InputDateTime component
14
- */
15
- export declare const TUI_DATE_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<[TuiDay, TuiTime | null], unknown>>;
16
- /**
17
- * Control value transformer for InputTime component
18
- */
19
- export declare const TUI_TIME_VALUE_TRANSFORMER: InjectionToken<TuiValueTransformer<TuiTime | null, unknown>>;
@@ -1,15 +0,0 @@
1
- import { type TuiDay } from '@taiga-ui/cdk/date-time';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
- export interface TuiInputDateOptions {
6
- readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
7
- readonly max: TuiDay;
8
- readonly min: TuiDay;
9
- readonly nativePicker: boolean;
10
- }
11
- export declare const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions;
12
- /**
13
- * Default parameters for InputDate component
14
- */
15
- export declare const TUI_INPUT_DATE_OPTIONS: import("@angular/core").InjectionToken<TuiInputDateOptions>, tuiInputDateOptionsProvider: (item: Partial<TuiInputDateOptions> | (() => Partial<TuiInputDateOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,20 +0,0 @@
1
- import { type TuiBooleanHandler, type TuiIdentityMatcher, type TuiStringHandler } from '@taiga-ui/cdk/types';
2
- /**
3
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
4
- * TODO(v5): delete
5
- */
6
- export interface TuiItemsHandlers<T> {
7
- readonly disabledItemHandler: TuiBooleanHandler<T>;
8
- readonly identityMatcher: TuiIdentityMatcher<T>;
9
- readonly stringify: TuiStringHandler<T>;
10
- }
11
- /**
12
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
13
- * TODO(v5): delete
14
- */
15
- export declare const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown>;
16
- /**
17
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
18
- * TODO(v5): delete
19
- */
20
- export declare const TUI_ITEMS_HANDLERS: import("@angular/core").InjectionToken<TuiItemsHandlers<unknown>>, tuiItemsHandlersProvider: (item: Partial<TuiItemsHandlers<unknown>> | (() => Partial<TuiItemsHandlers<unknown>>)) => import("@angular/core").FactoryProvider;
@@ -1,6 +0,0 @@
1
- import { type FactoryProvider, InjectionToken, type Type } from '@angular/core';
2
- /**
3
- * A component for mobile data picker
4
- */
5
- export declare const TUI_MOBILE_CALENDAR: InjectionToken<Type<unknown>>;
6
- export declare const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider;
@@ -1,5 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { type TuiMonth } from '@taiga-ui/cdk/date-time';
3
- import { type TuiHandler } from '@taiga-ui/cdk/types';
4
- import { type Observable } from 'rxjs';
5
- export declare const TUI_MONTH_FORMATTER: InjectionToken<Observable<TuiHandler<TuiMonth | null, string>>>;
package/utils/phone.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
2
- import { type MetadataJson } from 'libphonenumber-js/core';
3
- export declare function tuiGetCallingCode(iso: TuiCountryIsoCode, metadata?: MetadataJson | null): string;
@@ -1,2 +0,0 @@
1
- import { type TuiDay } from '@taiga-ui/cdk/date-time';
2
- export declare function tuiToggleDay(days: readonly TuiDay[] | null, day: TuiDay): readonly TuiDay[];