@taiga-ui/kit 4.52.0-canary.46625cf → 4.52.0-canary.49575ff

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 (405) hide show
  1. package/README.md +1 -1
  2. package/components/avatar/avatar-labeled.component.d.ts +3 -3
  3. package/components/avatar/avatar-stack.component.d.ts +2 -2
  4. package/components/badge/badge.options.d.ts +1 -3
  5. package/components/badge-notification/badge-notification.component.d.ts +2 -3
  6. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  7. package/components/badged-content/badged-content.directive.d.ts +2 -2
  8. package/components/block/block.options.d.ts +1 -3
  9. package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -7
  10. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  11. package/components/button-loading/button-loading.component.d.ts +5 -5
  12. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  13. package/components/calendar-range/calendar-range.component.d.ts +1 -3
  14. package/components/calendar-range/day-range-period.d.ts +2 -1
  15. package/components/carousel/carousel.component.d.ts +15 -18
  16. package/components/carousel/carousel.directive.d.ts +5 -4
  17. package/components/chip/chip.options.d.ts +1 -3
  18. package/components/combo-box/combo-box.d.ts +5 -0
  19. package/components/combo-box/combo-box.directive.d.ts +7 -9
  20. package/components/combo-box/index.d.ts +1 -0
  21. package/components/compass/compass.component.d.ts +2 -2
  22. package/components/confirm/confirm.component.d.ts +5 -4
  23. package/components/confirm/confirm.service.d.ts +1 -1
  24. package/components/copy/copy.component.d.ts +4 -5
  25. package/components/copy/copy.directive.d.ts +3 -4
  26. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -2
  27. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  28. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  29. package/components/data-list-wrapper/index.d.ts +1 -1
  30. package/components/drawer/drawer.component.d.ts +3 -4
  31. package/components/files/file/file.component.d.ts +16 -29
  32. package/components/files/file/file.options.d.ts +1 -1
  33. package/components/files/files/files.component.d.ts +7 -10
  34. package/components/files/input-files/input-files.component.d.ts +2 -2
  35. package/components/files/input-files/input-files.content.d.ts +7 -8
  36. package/components/files/input-files/input-files.directive.d.ts +2 -2
  37. package/components/files/input-files/input-files.options.d.ts +1 -3
  38. package/components/filter/filter.component.d.ts +9 -11
  39. package/components/fullscreen/fullscreen.component.d.ts +5 -8
  40. package/components/index.d.ts +0 -3
  41. package/components/input-chip/input-chip.component.d.ts +9 -8
  42. package/components/input-chip/input-chip.d.ts +5 -1
  43. package/components/input-chip/input-chip.directive.d.ts +7 -12
  44. package/components/input-color/index.d.ts +1 -0
  45. package/components/input-color/input-color.component.d.ts +4 -4
  46. package/components/input-color/input-color.d.ts +5 -0
  47. package/components/input-date/input-date.d.ts +4 -1
  48. package/components/input-date/input-date.directive.d.ts +12 -14
  49. package/components/input-date/input-date.options.d.ts +3 -3
  50. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  51. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  52. package/components/input-date-range/input-date-range.d.ts +4 -1
  53. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  54. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  55. package/components/input-date-time/input-date-time.d.ts +4 -1
  56. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  57. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  58. package/components/input-month/input-month.d.ts +4 -1
  59. package/components/input-month/input-month.directive.d.ts +6 -5
  60. package/components/input-month-range/input-month-range.d.ts +4 -1
  61. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  62. package/components/input-number/input-number.d.ts +4 -1
  63. package/components/input-number/input-number.directive.d.ts +7 -11
  64. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  65. package/components/input-phone/index.d.ts +1 -0
  66. package/components/input-phone/input-phone.d.ts +5 -0
  67. package/components/input-phone/input-phone.directive.d.ts +7 -7
  68. package/components/input-phone-international/index.d.ts +1 -0
  69. package/components/input-phone-international/input-phone-international.component.d.ts +11 -11
  70. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  71. package/components/input-phone-international/input-phone-international.options.d.ts +1 -3
  72. package/components/input-pin/index.d.ts +1 -0
  73. package/components/input-pin/input-pin.component.d.ts +4 -4
  74. package/components/input-pin/input-pin.d.ts +5 -0
  75. package/components/input-range/index.d.ts +0 -1
  76. package/components/input-range/input-range.component.d.ts +4 -4
  77. package/components/input-slider/input-slider.d.ts +4 -1
  78. package/components/input-slider/input-slider.directive.d.ts +1 -1
  79. package/components/input-time/input-time.component.d.ts +1 -3
  80. package/components/input-time/input-time.d.ts +4 -1
  81. package/components/input-time/input-time.directive.d.ts +7 -10
  82. package/components/input-year/input-year.d.ts +4 -1
  83. package/components/input-year/input-year.directive.d.ts +5 -5
  84. package/components/input-year/input-year.options.d.ts +2 -2
  85. package/components/like/like.options.d.ts +1 -1
  86. package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
  87. package/components/line-clamp/line-clamp.component.d.ts +8 -10
  88. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  89. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +5 -7
  90. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  91. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  92. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  93. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  94. package/components/pagination/index.d.ts +1 -0
  95. package/components/pagination/pagination.component.d.ts +25 -54
  96. package/components/pagination/pagination.options.d.ts +7 -0
  97. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  98. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  99. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  100. package/components/preview/index.d.ts +1 -0
  101. package/components/preview/pagination/preview-pagination.component.d.ts +3 -2
  102. package/components/preview/preview.component.d.ts +2 -2
  103. package/components/preview/preview.d.ts +2 -1
  104. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  105. package/components/preview/zoom/preview-zoom.component.d.ts +4 -2
  106. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  107. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
  108. package/components/progress/progress.options.d.ts +1 -3
  109. package/components/pulse/pulse.component.d.ts +2 -2
  110. package/components/push/push-alert.component.d.ts +2 -1
  111. package/components/push/push.component.d.ts +1 -1
  112. package/components/push/push.options.d.ts +5 -10
  113. package/components/push/push.service.d.ts +3 -2
  114. package/components/radio/radio.component.d.ts +1 -1
  115. package/components/radio-list/radio-list.component.d.ts +5 -3
  116. package/components/range/range-change.directive.d.ts +1 -2
  117. package/components/range/range.component.d.ts +16 -19
  118. package/components/rating/rating.component.d.ts +1 -1
  119. package/components/rating/rating.options.d.ts +1 -3
  120. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  121. package/components/segmented/segmented.component.d.ts +4 -6
  122. package/components/segmented/segmented.directive.d.ts +6 -7
  123. package/components/select/native-select/native-select.component.d.ts +7 -8
  124. package/components/select/select.d.ts +4 -1
  125. package/components/select/select.directive.d.ts +4 -3
  126. package/components/slider/slider.options.d.ts +1 -6
  127. package/components/stepper/step.component.d.ts +6 -8
  128. package/components/stepper/stepper.component.d.ts +6 -11
  129. package/components/switch/switch.component.d.ts +1 -0
  130. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  131. package/components/tabs/tabs.options.d.ts +1 -6
  132. package/components/textarea/index.d.ts +2 -1
  133. package/components/textarea/textarea.component.d.ts +4 -4
  134. package/components/textarea/textarea.d.ts +6 -0
  135. package/components/textarea/textarea.directive.d.ts +13 -0
  136. package/components/toast/toast.component.d.ts +4 -3
  137. package/components/toast/toast.options.d.ts +5 -5
  138. package/components/toast/toast.service.d.ts +4 -9
  139. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +8 -1
  140. package/components/tree/misc/tree.constants.d.ts +0 -3
  141. package/components/tree/misc/tree.tokens.d.ts +1 -6
  142. package/directives/button-close/button-close.directive.d.ts +2 -1
  143. package/directives/button-select/button-select.directive.d.ts +3 -2
  144. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  145. package/directives/fade/fade.directive.d.ts +5 -6
  146. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  147. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  148. package/directives/highlight/highlight.directive.d.ts +4 -4
  149. package/directives/index.d.ts +0 -1
  150. package/directives/password/password.directive.d.ts +1 -1
  151. package/directives/present/present.directive.d.ts +2 -4
  152. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  153. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  154. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  155. package/fesm2022/taiga-ui-kit-components-accordion.mjs +8 -9
  156. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +7 -7
  158. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-avatar.mjs +34 -48
  160. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +11 -18
  162. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-badge.mjs +11 -15
  164. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -12
  166. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-block.mjs +11 -15
  168. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +19 -39
  170. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +19 -27
  172. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -17
  174. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +25 -26
  176. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-carousel.mjs +64 -114
  178. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -6
  180. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-chip.mjs +11 -15
  182. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +45 -50
  184. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
  186. package/fesm2022/taiga-ui-kit-components-compass.mjs +9 -11
  187. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-confirm.mjs +11 -14
  189. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-copy.mjs +23 -36
  191. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +25 -78
  193. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-drawer.mjs +15 -32
  195. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-files.mjs +116 -243
  197. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-filter.mjs +20 -34
  199. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +23 -42
  201. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +70 -75
  203. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
  205. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +36 -53
  207. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +30 -36
  209. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +33 -31
  211. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-input-date.mjs +49 -53
  213. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +4 -5
  215. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +29 -27
  217. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-components-input-month.mjs +35 -27
  219. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-components-input-number.mjs +54 -72
  221. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +50 -44
  223. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +32 -23
  225. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
  227. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-components-input-range.mjs +11 -13
  229. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +16 -12
  231. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-components-input-time.mjs +49 -73
  233. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-components-input-year.mjs +28 -21
  235. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -14
  237. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-components-like.mjs +4 -4
  239. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +36 -78
  241. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-components-message.mjs +7 -8
  243. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +36 -49
  245. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  246. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +37 -26
  247. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  248. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -8
  249. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-components-pagination.mjs +67 -138
  251. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
  253. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-components-preview.mjs +74 -54
  255. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  256. package/fesm2022/taiga-ui-kit-components-progress.mjs +69 -65
  257. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  258. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
  259. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  260. package/fesm2022/taiga-ui-kit-components-push.mjs +30 -43
  261. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  262. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +8 -8
  263. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  264. package/fesm2022/taiga-ui-kit-components-radio.mjs +8 -9
  265. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-components-range.mjs +40 -75
  267. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-components-rating.mjs +7 -12
  269. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  270. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +11 -7
  271. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-components-segmented.mjs +32 -59
  273. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  274. package/fesm2022/taiga-ui-kit-components-select.mjs +59 -48
  275. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-components-slider.mjs +24 -34
  277. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  278. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  279. package/fesm2022/taiga-ui-kit-components-stepper.mjs +45 -79
  280. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  282. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-components-tabs.mjs +29 -37
  284. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-components-textarea.mjs +54 -62
  286. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-components-tiles.mjs +14 -15
  288. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-components-toast.mjs +35 -61
  290. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-components-tree.mjs +56 -60
  292. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-components.mjs +0 -3
  294. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +15 -7
  296. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  297. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  298. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +18 -10
  300. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +10 -9
  302. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  303. package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -7
  304. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  305. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -53
  306. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  307. package/fesm2022/taiga-ui-kit-directives-fade.mjs +25 -34
  308. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  309. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +14 -27
  310. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  311. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -21
  312. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  313. package/fesm2022/taiga-ui-kit-directives-password.mjs +12 -14
  314. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  315. package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -18
  316. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  317. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  318. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  319. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  320. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  321. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +11 -11
  322. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  323. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +9 -12
  324. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  325. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -15
  326. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  327. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  328. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  329. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  330. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  331. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -4
  332. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  333. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -25
  334. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  335. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  336. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  337. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -5
  338. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  339. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  340. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  341. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  342. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  343. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -4
  344. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  345. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -4
  346. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  347. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  348. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  349. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -121
  350. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  351. package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
  352. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  353. package/package.json +42 -47
  354. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  355. package/pipes/auto-color/index.d.ts +1 -0
  356. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  357. package/pipes/flag/flag.pipe.d.ts +14 -0
  358. package/pipes/flag/index.d.ts +1 -0
  359. package/pipes/index.d.ts +3 -0
  360. package/pipes/initials/index.d.ts +1 -0
  361. package/pipes/initials/initials.pipe.d.ts +7 -0
  362. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  363. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  364. package/styles/components/avatar.less +14 -14
  365. package/styles/components/badge.less +4 -3
  366. package/styles/components/block.less +4 -4
  367. package/styles/components/chip.less +14 -4
  368. package/styles/components/comment.less +1 -1
  369. package/styles/components/message.less +1 -1
  370. package/styles/components/pin.less +3 -3
  371. package/styles/components/switch.less +2 -2
  372. package/styles/components/toast.less +1 -1
  373. package/tokens/i18n.d.ts +26 -26
  374. package/tokens/index.d.ts +0 -7
  375. package/utils/index.d.ts +0 -2
  376. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  377. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  378. package/components/elastic-container/index.d.ts +0 -2
  379. package/components/floating-container/floating-container.directive.d.ts +0 -7
  380. package/components/floating-container/index.d.ts +0 -1
  381. package/components/input-range/input-range.d.ts +0 -3
  382. package/components/slides/index.d.ts +0 -1
  383. package/components/slides/slides.directive.d.ts +0 -11
  384. package/components/textarea/textarea-limit.directive.d.ts +0 -27
  385. package/directives/lazy-loading/index.d.ts +0 -2
  386. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  387. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  388. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -78
  389. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  390. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  391. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  392. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
  393. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  394. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  395. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  396. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -81
  397. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  398. package/tokens/calendar-date-stream.d.ts +0 -10
  399. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  400. package/tokens/input-date-options.d.ts +0 -15
  401. package/tokens/items-handlers.d.ts +0 -26
  402. package/tokens/mobile-calendar.d.ts +0 -6
  403. package/tokens/month-formatter.d.ts +0 -5
  404. package/utils/phone.d.ts +0 -3
  405. package/utils/toggle-day.d.ts +0 -2
@@ -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,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAM,gHANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,ylBAAA,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,YAAY,EAAC,EAAA,MAAA,EAAA,CAAA,ylBAAA,CAAA,EAAA;;MAalB,SAAS,CAAA;AATtB,IAAA,WAAA,GAAA;AAUuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC;QAC/B,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE;AACvB,QAAA,IAAA,CAAA,IAAI,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC;QAE1D,IAAS,CAAA,SAAA,GAAG,KAAK,CAAc,EAAE,EAAE,EAAC,KAAK,EAAE,WAAW,EAAC,CAAC;AAO3E;AALa,IAAA,WAAW,CAAC,MAAe,EAAA;QACjC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ;aACtB,IAAI,CAAC,CAAC,OAAO,KAAK,OAAO,KAAK,MAAM;AACrC,cAAE,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC;;+GAV3B,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAT,SAAS,EAAA,YAAA,EAAA,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,81 +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
- standalone: true,
60
- selector: 'img[loading="lazy"],img[tuiLoading="lazy"]',
61
- providers: [TuiLazyLoadingService, IntersectionObserverService],
62
- host: {
63
- '[style.animation]': 'animation()',
64
- '[style.background]': 'background()',
65
- '[attr.loading]': 'supported ? "lazy" : null',
66
- '[attr.src]': 'src()',
67
- '(load)': 'unset()',
68
- '(error)': 'unset()',
69
- },
70
- }]
71
- }], propDecorators: { srcSetter: [{
72
- type: Input,
73
- args: ['src']
74
- }] } });
75
-
76
- /**
77
- * Generated bundle index. Do not edit.
78
- */
79
-
80
- export { TuiImgLazyLoading, TuiLazyLoadingService };
81
- //# 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 standalone: true,\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. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
@@ -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,26 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiBooleanHandler, type TuiIdentityMatcher, type TuiStringHandler } from '@taiga-ui/cdk/types';
3
- /**
4
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
5
- * TODO(v5): delete
6
- */
7
- export interface TuiItemsHandlers<T> {
8
- readonly disabledItemHandler: TuiBooleanHandler<T>;
9
- readonly identityMatcher: TuiIdentityMatcher<T>;
10
- readonly stringify: TuiStringHandler<T>;
11
- }
12
- /**
13
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
14
- * TODO(v5): delete
15
- */
16
- export declare const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown>;
17
- /**
18
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
19
- * TODO(v5): delete
20
- */
21
- export declare const TUI_ITEMS_HANDLERS: InjectionToken<TuiItemsHandlers<unknown>>;
22
- /**
23
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
24
- * TODO(v5): delete
25
- */
26
- export declare function tuiItemsHandlersProvider<T>(options: Partial<TuiItemsHandlers<T>>): Provider;
@@ -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[];