@taiga-ui/kit 4.52.0-canary.c107f6a → 4.52.0-canary.c8448e0

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 (438) 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 -3
  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 +5 -5
  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-autoscroll.directive.d.ts +1 -2
  16. package/components/carousel/carousel-scroll.directive.d.ts +1 -1
  17. package/components/carousel/carousel.component.d.ts +15 -18
  18. package/components/carousel/carousel.directive.d.ts +5 -4
  19. package/components/chip/chip.options.d.ts +1 -3
  20. package/components/combo-box/combo-box.d.ts +5 -0
  21. package/components/combo-box/combo-box.directive.d.ts +7 -9
  22. package/components/combo-box/index.d.ts +1 -0
  23. package/components/compass/compass.component.d.ts +2 -2
  24. package/components/confirm/confirm.component.d.ts +4 -3
  25. package/components/confirm/confirm.service.d.ts +1 -1
  26. package/components/copy/copy.component.d.ts +3 -4
  27. package/components/copy/copy.directive.d.ts +2 -4
  28. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -2
  29. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  30. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  31. package/components/data-list-wrapper/index.d.ts +1 -1
  32. package/components/drawer/drawer.component.d.ts +3 -4
  33. package/components/files/file/file.component.d.ts +16 -29
  34. package/components/files/file/file.options.d.ts +1 -1
  35. package/components/files/files/files.component.d.ts +5 -8
  36. package/components/files/input-files/input-files.component.d.ts +2 -2
  37. package/components/files/input-files/input-files.content.d.ts +7 -8
  38. package/components/files/input-files/input-files.directive.d.ts +2 -2
  39. package/components/files/input-files/input-files.options.d.ts +1 -3
  40. package/components/filter/filter.component.d.ts +9 -12
  41. package/components/fullscreen/fullscreen.component.d.ts +5 -8
  42. package/components/index.d.ts +0 -3
  43. package/components/input-chip/input-chip.component.d.ts +9 -8
  44. package/components/input-chip/input-chip.d.ts +5 -1
  45. package/components/input-chip/input-chip.directive.d.ts +7 -12
  46. package/components/input-color/index.d.ts +1 -0
  47. package/components/input-color/input-color.component.d.ts +9 -13
  48. package/components/input-color/input-color.d.ts +5 -0
  49. package/components/input-date/input-date.component.d.ts +2 -2
  50. package/components/input-date/input-date.d.ts +4 -1
  51. package/components/input-date/input-date.directive.d.ts +21 -22
  52. package/components/input-date/input-date.options.d.ts +3 -3
  53. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  54. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  55. package/components/input-date-range/input-date-range.d.ts +4 -1
  56. package/components/input-date-range/input-date-range.directive.d.ts +9 -10
  57. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  58. package/components/input-date-time/input-date-time.d.ts +4 -1
  59. package/components/input-date-time/input-date-time.directive.d.ts +14 -14
  60. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  61. package/components/input-inline/input-inline.component.d.ts +3 -2
  62. package/components/input-month/input-month.component.d.ts +3 -5
  63. package/components/input-month/input-month.d.ts +4 -1
  64. package/components/input-month/input-month.directive.d.ts +6 -5
  65. package/components/input-month-range/input-month-range.d.ts +4 -1
  66. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  67. package/components/input-number/index.d.ts +3 -0
  68. package/components/input-number/input-number.d.ts +7 -2
  69. package/components/input-number/input-number.directive.d.ts +11 -24
  70. package/components/input-number/input-number.options.d.ts +4 -7
  71. package/components/input-number/number-mask.directive.d.ts +42 -0
  72. package/components/input-number/quantum.directive.d.ts +10 -8
  73. package/components/input-number/step/input-number-step.component.d.ts +10 -9
  74. package/components/input-number/transformers/bigint.value-transformer.d.ts +11 -0
  75. package/components/input-number/transformers/number.value-transformer.d.ts +11 -0
  76. package/components/input-phone/index.d.ts +1 -0
  77. package/components/input-phone/input-phone.d.ts +5 -0
  78. package/components/input-phone/input-phone.directive.d.ts +12 -14
  79. package/components/input-phone-international/index.d.ts +1 -0
  80. package/components/input-phone-international/input-phone-international.component.d.ts +14 -16
  81. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  82. package/components/input-phone-international/input-phone-international.options.d.ts +2 -3
  83. package/components/input-pin/index.d.ts +1 -0
  84. package/components/input-pin/input-pin.component.d.ts +5 -6
  85. package/components/input-pin/input-pin.d.ts +5 -0
  86. package/components/input-range/index.d.ts +0 -1
  87. package/components/input-range/input-range.component.d.ts +23 -53
  88. package/components/input-slider/input-slider.d.ts +4 -1
  89. package/components/input-slider/input-slider.directive.d.ts +4 -3
  90. package/components/input-time/input-time.component.d.ts +1 -3
  91. package/components/input-time/input-time.d.ts +4 -1
  92. package/components/input-time/input-time.directive.d.ts +5 -5
  93. package/components/input-year/input-year.d.ts +4 -1
  94. package/components/input-year/input-year.directive.d.ts +8 -10
  95. package/components/input-year/input-year.options.d.ts +2 -2
  96. package/components/items-with-more/items-with-more.component.d.ts +6 -6
  97. package/components/items-with-more/items-with-more.directive.d.ts +6 -6
  98. package/components/like/like.options.d.ts +1 -1
  99. package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
  100. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  101. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +4 -6
  102. package/components/multi-select/multi-select-native/multi-select-native.component.d.ts +5 -4
  103. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  104. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  105. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  106. package/components/pager/pager.component.d.ts +12 -12
  107. package/components/pagination/pagination.component.d.ts +22 -53
  108. package/components/pagination/pagination.options.d.ts +3 -6
  109. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  110. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  111. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  112. package/components/preview/index.d.ts +1 -0
  113. package/components/preview/pagination/preview-pagination.component.d.ts +6 -10
  114. package/components/preview/preview.component.d.ts +6 -6
  115. package/components/preview/preview.d.ts +2 -1
  116. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  117. package/components/preview/zoom/preview-zoom.component.d.ts +11 -17
  118. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  119. package/components/progress/progress-circle/progress-circle.component.d.ts +7 -11
  120. package/components/progress/progress.options.d.ts +1 -3
  121. package/components/pulse/pulse.component.d.ts +2 -2
  122. package/components/push/push-alert.component.d.ts +2 -2
  123. package/components/push/push.component.d.ts +6 -7
  124. package/components/push/push.options.d.ts +4 -3
  125. package/components/push/push.service.d.ts +2 -2
  126. package/components/radio/radio.component.d.ts +1 -1
  127. package/components/radio-list/radio-list.component.d.ts +11 -9
  128. package/components/range/range.component.d.ts +3 -4
  129. package/components/rating/rating.component.d.ts +1 -1
  130. package/components/rating/rating.options.d.ts +1 -3
  131. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  132. package/components/segmented/segmented.component.d.ts +4 -6
  133. package/components/segmented/segmented.directive.d.ts +6 -7
  134. package/components/select/native-select/native-select.component.d.ts +4 -4
  135. package/components/select/select.d.ts +4 -1
  136. package/components/select/select.directive.d.ts +4 -3
  137. package/components/slider/helpers/slider-key-steps.directive.d.ts +10 -7
  138. package/components/slider/helpers/slider-readonly.directive.d.ts +2 -4
  139. package/components/slider/helpers/slider-thumb-label.component.d.ts +2 -4
  140. package/components/slider/slider.component.d.ts +4 -7
  141. package/components/slider/slider.options.d.ts +1 -6
  142. package/components/stepper/step.component.d.ts +14 -9
  143. package/components/stepper/stepper.component.d.ts +5 -12
  144. package/components/switch/switch.component.d.ts +1 -0
  145. package/components/tabs/tabs-horizontal.directive.d.ts +4 -5
  146. package/components/tabs/tabs-vertical.directive.d.ts +2 -2
  147. package/components/tabs/tabs-with-more.component.d.ts +12 -16
  148. package/components/tabs/tabs.directive.d.ts +5 -7
  149. package/components/tabs/tabs.options.d.ts +1 -6
  150. package/components/textarea/index.d.ts +2 -1
  151. package/components/textarea/textarea.component.d.ts +10 -11
  152. package/components/textarea/textarea.d.ts +6 -0
  153. package/components/textarea/textarea.directive.d.ts +13 -0
  154. package/components/tiles/tile-handle.directive.d.ts +2 -1
  155. package/components/tiles/tile.component.d.ts +7 -10
  156. package/components/tiles/tile.service.d.ts +1 -1
  157. package/components/tiles/tiles.component.d.ts +4 -7
  158. package/components/toast/toast.component.d.ts +4 -4
  159. package/components/toast/toast.options.d.ts +4 -3
  160. package/components/toast/toast.service.d.ts +2 -2
  161. package/components/tree/components/tree/tree.component.d.ts +7 -7
  162. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  163. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +7 -0
  164. package/components/tree/directives/tree-children.directive.d.ts +2 -2
  165. package/components/tree/directives/tree-controller.directive.d.ts +4 -5
  166. package/components/tree/directives/tree-item-controller.directive.d.ts +2 -2
  167. package/components/tree/directives/tree-node.directive.d.ts +5 -4
  168. package/components/tree/misc/tree.constants.d.ts +0 -3
  169. package/components/tree/misc/tree.tokens.d.ts +1 -6
  170. package/directives/appearance-proxy/appearance-proxy.directive.d.ts +10 -0
  171. package/directives/appearance-proxy/index.d.ts +1 -0
  172. package/directives/button-select/button-select.directive.d.ts +3 -2
  173. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  174. package/directives/fade/fade.directive.d.ts +5 -6
  175. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  176. package/directives/highlight/highlight.directive.d.ts +4 -4
  177. package/directives/index.d.ts +1 -2
  178. package/directives/password/password.directive.d.ts +1 -1
  179. package/directives/present/present.directive.d.ts +2 -4
  180. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  181. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  182. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  183. package/fesm2022/taiga-ui-kit-components-accordion.mjs +8 -8
  184. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +7 -7
  186. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-avatar.mjs +34 -48
  188. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +10 -17
  190. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-badge.mjs +11 -15
  192. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -11
  194. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-components-block.mjs +11 -15
  196. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +18 -37
  198. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +18 -26
  200. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +13 -33
  202. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +26 -35
  204. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  205. package/fesm2022/taiga-ui-kit-components-carousel.mjs +69 -116
  206. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  207. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +4 -5
  208. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  209. package/fesm2022/taiga-ui-kit-components-chip.mjs +11 -15
  210. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  211. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +40 -44
  212. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  213. package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
  214. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  215. package/fesm2022/taiga-ui-kit-components-compass.mjs +8 -10
  216. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-confirm.mjs +10 -12
  218. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-copy.mjs +19 -32
  220. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +24 -85
  222. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-drawer.mjs +11 -32
  224. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-files.mjs +112 -237
  226. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-filter.mjs +21 -34
  228. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +23 -42
  230. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +63 -75
  232. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-input-color.mjs +31 -32
  234. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +34 -46
  236. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +37 -36
  238. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +41 -56
  240. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-components-input-date.mjs +52 -58
  242. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +10 -12
  244. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +26 -22
  246. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-components-input-month.mjs +39 -45
  248. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-components-input-number.mjs +262 -182
  250. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +63 -73
  252. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  253. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +37 -41
  254. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  255. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +24 -22
  256. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  257. package/fesm2022/taiga-ui-kit-components-input-range.mjs +42 -69
  258. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +27 -17
  260. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-components-input-time.mjs +38 -39
  262. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-components-input-year.mjs +31 -36
  264. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +50 -70
  266. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-components-like.mjs +3 -3
  268. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  269. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +18 -22
  270. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-components-message.mjs +7 -7
  272. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +37 -52
  274. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +37 -25
  276. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  277. package/fesm2022/taiga-ui-kit-components-pager.mjs +30 -44
  278. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  279. package/fesm2022/taiga-ui-kit-components-pagination.mjs +68 -153
  280. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
  282. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-components-preview.mjs +96 -154
  284. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-components-progress.mjs +47 -70
  286. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
  288. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-components-push.mjs +27 -40
  290. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +23 -35
  292. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-components-radio.mjs +7 -7
  294. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-components-range.mjs +19 -29
  296. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  297. package/fesm2022/taiga-ui-kit-components-rating.mjs +7 -12
  298. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +4 -4
  300. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-components-segmented.mjs +31 -57
  302. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  303. package/fesm2022/taiga-ui-kit-components-select.mjs +52 -28
  304. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  305. package/fesm2022/taiga-ui-kit-components-slider.mjs +55 -84
  306. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  307. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  308. package/fesm2022/taiga-ui-kit-components-stepper.mjs +61 -88
  309. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  310. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  311. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  312. package/fesm2022/taiga-ui-kit-components-tabs.mjs +90 -154
  313. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  314. package/fesm2022/taiga-ui-kit-components-textarea.mjs +60 -71
  315. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  316. package/fesm2022/taiga-ui-kit-components-tiles.mjs +52 -96
  317. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  318. package/fesm2022/taiga-ui-kit-components-toast.mjs +27 -28
  319. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  320. package/fesm2022/taiga-ui-kit-components-tree.mjs +90 -120
  321. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  322. package/fesm2022/taiga-ui-kit-components.mjs +0 -3
  323. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  324. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +27 -0
  325. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -0
  326. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  327. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  328. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +20 -11
  329. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  330. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +10 -9
  331. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  332. package/fesm2022/taiga-ui-kit-directives-connected.mjs +7 -7
  333. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  334. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -52
  335. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  336. package/fesm2022/taiga-ui-kit-directives-fade.mjs +25 -34
  337. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  338. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +6 -11
  339. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  340. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -20
  341. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  342. package/fesm2022/taiga-ui-kit-directives-password.mjs +10 -8
  343. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  344. package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -17
  345. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  346. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  347. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  348. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  349. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  350. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +9 -9
  351. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  352. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +8 -10
  353. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  354. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -14
  355. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  356. package/fesm2022/taiga-ui-kit-directives.mjs +1 -2
  357. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  358. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  359. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  360. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  361. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +22 -35
  362. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  363. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  364. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  365. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +23 -26
  366. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  367. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  368. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  369. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  370. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  371. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  372. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  373. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  374. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  375. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  376. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -123
  377. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  378. package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
  379. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  380. package/package.json +60 -68
  381. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  382. package/pipes/auto-color/index.d.ts +1 -0
  383. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +5 -2
  384. package/pipes/flag/flag.pipe.d.ts +13 -0
  385. package/pipes/flag/index.d.ts +1 -0
  386. package/pipes/hide-selected/hide-selected.pipe.d.ts +2 -0
  387. package/pipes/index.d.ts +3 -0
  388. package/pipes/initials/index.d.ts +1 -0
  389. package/pipes/initials/initials.pipe.d.ts +7 -0
  390. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  391. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  392. package/styles/components/avatar.less +14 -14
  393. package/styles/components/badge.less +3 -3
  394. package/styles/components/block.less +4 -4
  395. package/styles/components/chip.less +4 -4
  396. package/styles/components/comment.less +15 -17
  397. package/styles/components/message.less +1 -1
  398. package/styles/components/pin.less +3 -3
  399. package/styles/components/switch.less +3 -2
  400. package/styles/components/toast.less +1 -1
  401. package/tokens/i18n.d.ts +1 -0
  402. package/tokens/index.d.ts +0 -7
  403. package/utils/index.d.ts +0 -2
  404. package/utils/maskito.binding.d.ts +1 -1
  405. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  406. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  407. package/components/elastic-container/index.d.ts +0 -2
  408. package/components/floating-container/floating-container.directive.d.ts +0 -7
  409. package/components/floating-container/index.d.ts +0 -1
  410. package/components/input-range/input-range.d.ts +0 -3
  411. package/components/slides/index.d.ts +0 -1
  412. package/components/slides/slides.directive.d.ts +0 -11
  413. package/components/textarea/textarea-limit.directive.d.ts +0 -26
  414. package/directives/button-close/button-close.directive.d.ts +0 -6
  415. package/directives/button-close/index.d.ts +0 -1
  416. package/directives/lazy-loading/index.d.ts +0 -2
  417. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  418. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  419. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -77
  420. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  421. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  422. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  423. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -63
  424. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  425. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  426. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  427. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +0 -47
  428. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +0 -1
  429. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -80
  430. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  431. package/tokens/calendar-date-stream.d.ts +0 -10
  432. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  433. package/tokens/input-date-options.d.ts +0 -15
  434. package/tokens/items-handlers.d.ts +0 -26
  435. package/tokens/mobile-calendar.d.ts +0 -6
  436. package/tokens/month-formatter.d.ts +0 -5
  437. package/utils/phone.d.ts +0 -3
  438. package/utils/toggle-day.d.ts +0 -2
@@ -26,13 +26,13 @@ tui-chip,
26
26
 
27
27
  .button-base();
28
28
 
29
- font: var(--tui-font-text-s);
29
+ font: var(--tui-font-body-s);
30
30
  border-radius: var(--tui-radius-m);
31
31
  padding: var(--t-padding);
32
32
  block-size: var(--t-size);
33
33
  inline-size: fit-content;
34
+ max-inline-size: 100%;
34
35
  isolation: isolate;
35
- max-inline-size: stretch;
36
36
 
37
37
  .interactive({
38
38
  cursor: pointer;
@@ -60,7 +60,7 @@ tui-chip,
60
60
  --t-size: 1rem;
61
61
  --t-icon-size: 0.75rem;
62
62
 
63
- font: var(--tui-font-text-xs);
63
+ font: var(--tui-font-body-xs);
64
64
  border-radius: var(--tui-radius-xs);
65
65
 
66
66
  & > [tuiIconButton] {
@@ -86,7 +86,7 @@ tui-chip,
86
86
  --t-padding: 0 1rem;
87
87
  --t-size: var(--tui-height-m);
88
88
 
89
- font: var(--tui-font-text-m);
89
+ font: var(--tui-font-body-m);
90
90
 
91
91
  & > [tuiIconButton] {
92
92
  margin: -0.75rem;
@@ -8,7 +8,7 @@
8
8
  * A comment bubble with an arrow
9
9
  *
10
10
  * @attributes
11
- * data-direction — arrow direction (default: 'top') ('top' | 'bottom' | 'left' | 'right')
11
+ * data-direction — arrow direction (default: 'top') ('top' | 'bottom' | 'start' | 'end')
12
12
  *
13
13
  * @example
14
14
  * <label data-direction="top" tuiComment>Amazing product!</label>
@@ -16,7 +16,7 @@
16
16
  [tuiComment] {
17
17
  position: relative;
18
18
  display: inline-flex;
19
- font: var(--tui-font-text-m);
19
+ font: var(--tui-font-body-m);
20
20
  color: #fff;
21
21
  padding: 0.5rem 0.75rem;
22
22
  min-inline-size: 2.5rem;
@@ -29,38 +29,36 @@
29
29
  &::before {
30
30
  content: '';
31
31
  position: absolute;
32
- bottom: 100%;
33
- left: 50%;
32
+ inset-block-end: 100%;
33
+ inset-inline-start: 50%;
34
34
  inline-size: 1.5625rem;
35
35
  block-size: 0.5625rem;
36
36
  background: inherit;
37
- transform: translate(-50%);
37
+ transform: translate(calc(-50% * var(--tui-inline)));
38
38
  mask: url("data:image/svg+xml,%3Csvg width='25' height='9' viewBox='0 0 25 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.23309 6.67813L7.56191 3.83178C9.4546 1.5185 10.4009 0.361853 11.5998 0.10488C12.0834 0.00123882 12.5834 0.00123882 13.0669 0.10488C14.2658 0.361853 15.2121 1.5185 17.1048 3.83178L19.4337 6.67813C20.636 8.14771 22.4346 9 24.3334 9H0.333374C2.23217 9 4.0307 8.14772 5.23309 6.67813Z' fill='black'/%3E%3C/svg%3E%0A")
39
39
  no-repeat;
40
40
  }
41
41
 
42
42
  &[data-direction='bottom'] {
43
43
  &::before {
44
- top: 100%;
45
- bottom: auto;
46
- transform: translate(-50%) rotate(180deg);
44
+ inset-block: 100% auto;
45
+ transform: translate(calc(-50% * var(--tui-inline))) rotate(180deg);
47
46
  }
48
47
  }
49
48
 
50
- &[data-direction='left'] {
49
+ &[data-direction='start'] {
51
50
  &::before {
52
- left: auto;
53
- top: 50%;
54
- right: 100%;
55
- transform: translate(0.785rem, -50%) rotate(-90deg);
51
+ inset-block: 50% 100%;
52
+ inset-inline: auto 100%;
53
+ transform: translate(calc(0.785rem * var(--tui-inline)), -50%) rotate(calc(-90deg * var(--tui-inline)));
56
54
  }
57
55
  }
58
56
 
59
- &[data-direction='right'] {
57
+ &[data-direction='end'] {
60
58
  &::before {
61
- top: 50%;
62
- left: 100%;
63
- transform: translate(-0.785rem, -50%) rotate(90deg);
59
+ inset-block: 50% 100%;
60
+ inset-inline: 100% auto;
61
+ transform: translate(calc(-0.785rem * var(--tui-inline)), -50%) rotate(calc(90deg * var(--tui-inline)));
64
62
  }
65
63
  }
66
64
  }
@@ -23,7 +23,7 @@
23
23
  isolation: isolate;
24
24
  white-space: nowrap;
25
25
  text-align: start;
26
- font: var(--tui-font-text-ui-m);
26
+ font: var(--tui-font-ui-m);
27
27
  border-radius: var(--tui-radius-l);
28
28
 
29
29
  > [tuiLink] {
@@ -28,7 +28,7 @@
28
28
  justify-content: center;
29
29
  text-align: center;
30
30
  border-radius: 100%;
31
- font: var(--tui-font-text-s);
31
+ font: var(--tui-font-body-s);
32
32
  font-weight: bold;
33
33
  box-sizing: border-box;
34
34
  color: var(--tui-text-primary-on-accent-2);
@@ -73,7 +73,7 @@
73
73
  &:has(:checked) {
74
74
  --t-size: 3.5rem;
75
75
 
76
- font: var(--tui-font-text-m);
76
+ font: var(--tui-font-body-m);
77
77
  font-weight: bold;
78
78
  border-width: 0;
79
79
  margin-block-start: -2.75rem;
@@ -101,7 +101,7 @@
101
101
  &._open {
102
102
  --t-size: 3.5rem;
103
103
 
104
- font: var(--tui-font-text-m);
104
+ font: var(--tui-font-body-m);
105
105
  font-weight: bold;
106
106
  border-width: 0;
107
107
  margin-block-start: -2.75rem;
@@ -22,6 +22,7 @@
22
22
  [tuiSwitch] {
23
23
  .transition(~'background, box-shadow');
24
24
 
25
+ display: inline-block;
25
26
  inline-size: 3rem;
26
27
  block-size: 1.5rem;
27
28
  border-radius: 2rem;
@@ -36,7 +37,7 @@
36
37
  inline-size: 2rem;
37
38
 
38
39
  &::before {
39
- inline-size: 1.125rem;
40
+ inline-size: 1rem;
40
41
  transform: translateX(-1rem);
41
42
  font-size: 0.75rem;
42
43
  }
@@ -76,8 +77,8 @@
76
77
  }
77
78
 
78
79
  &::before {
80
+ left: 0.125rem;
79
81
  font-size: 1rem;
80
- inline-size: 1.375rem;
81
82
  transform: translateX(-1.5rem);
82
83
  }
83
84
 
@@ -16,7 +16,7 @@
16
16
  align-items: center;
17
17
  justify-content: center;
18
18
  inline-size: max-content;
19
- font: var(--tui-font-text-ui-s);
19
+ font: var(--tui-font-ui-s);
20
20
  max-inline-size: ~'min(calc(100vw - 2rem), 25rem)';
21
21
  border: inherit;
22
22
  text-decoration: none;
package/tokens/i18n.d.ts CHANGED
@@ -63,3 +63,4 @@ export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Signal<{
63
63
  reset: string;
64
64
  }>>;
65
65
  export declare const TUI_INTERNATIONAL_SEARCH: InjectionToken<Signal<string>>;
66
+ export declare const TUI_DAY_RANGE_PERIODS: InjectionToken<Signal<readonly [forAllTime: string, today: string, yesterday: string, currentWeek: string, currentMonth: string, previousMonth: string]>>;
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,6 +1,6 @@
1
1
  import { type Signal, type WritableSignal } from '@angular/core';
2
2
  import { type MaskitoOptions } from '@maskito/core';
3
- type M = MaskitoOptions | null;
3
+ type M = MaskitoOptions;
4
4
  export declare function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;
5
5
  export declare function tuiMaskito(options: Signal<M>): Signal<M>;
6
6
  export {};
@@ -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,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@taiga-ui/core/components/button";
3
- export declare class TuiButtonClose {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonClose, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonClose, "[tuiButtonClose]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiButton; inputs: { "size": "size"; }; outputs: {}; }]>;
6
- }
@@ -1 +0,0 @@
1
- export * from './button-close.directive';
@@ -1,2 +0,0 @@
1
- export * from './lazy-loading.directive';
2
- export * from './lazy-loading.service';
@@ -1,18 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: Drop in v5.0
5
- */
6
- export declare class TuiImgLazyLoading {
7
- private readonly isServer;
8
- private readonly loading$;
9
- protected readonly supported: boolean;
10
- protected src: import("@angular/core").WritableSignal<string | SafeResourceUrl | null>;
11
- protected background: import("@angular/core").WritableSignal<string>;
12
- protected animation: import("@angular/core").WritableSignal<string>;
13
- protected readonly $: false | import("rxjs").Subscription;
14
- set srcSetter(src: SafeResourceUrl | string);
15
- protected unset(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiImgLazyLoading, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiImgLazyLoading, "img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]", never, { "srcSetter": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
18
- }
@@ -1,12 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiLazyLoadingService extends Observable<SafeResourceUrl | string> {
5
- private readonly src$;
6
- private readonly intersections$;
7
- private readonly stream$;
8
- constructor();
9
- next(src: SafeResourceUrl | string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLazyLoadingService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiLazyLoadingService>;
12
- }
@@ -1,77 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { inject, Output, Directive, ChangeDetectionStrategy, Component } from '@angular/core';
4
- import { shouldCall } from '@taiga-ui/event-plugins';
5
- import { MutationObserverService, WA_MUTATION_OBSERVER_INIT } from '@ng-web-apis/mutation-observer';
6
- import { ResizeObserverService } from '@ng-web-apis/resize-observer';
7
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
8
- import { merge, debounceTime, map, distinctUntilChanged } from 'rxjs';
9
-
10
- class TuiElasticContainerDirective {
11
- constructor() {
12
- this.el = tuiInjectElement();
13
- this.tuiElasticContainer = merge(inject(ResizeObserverService, { self: true }), inject(MutationObserverService, { self: true })).pipe(debounceTime(0), map(() => this.el.clientHeight - 1), distinctUntilChanged());
14
- }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
16
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiElasticContainerDirective, isStandalone: true, selector: "[tuiElasticContainer]", outputs: { tuiElasticContainer: "tuiElasticContainer" }, providers: [
17
- ResizeObserverService,
18
- MutationObserverService,
19
- {
20
- provide: WA_MUTATION_OBSERVER_INIT,
21
- useValue: {
22
- childList: true,
23
- characterData: true,
24
- subtree: true,
25
- },
26
- },
27
- ], ngImport: i0 }); }
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainerDirective, decorators: [{
30
- type: Directive,
31
- args: [{
32
- selector: '[tuiElasticContainer]',
33
- providers: [
34
- ResizeObserverService,
35
- MutationObserverService,
36
- {
37
- provide: WA_MUTATION_OBSERVER_INIT,
38
- useValue: {
39
- childList: true,
40
- characterData: true,
41
- subtree: true,
42
- },
43
- },
44
- ],
45
- }]
46
- }], propDecorators: { tuiElasticContainer: [{
47
- type: Output
48
- }] } });
49
-
50
- class TuiElasticContainer {
51
- constructor() {
52
- this.height = NaN;
53
- this.transitions = 0;
54
- }
55
- onAnimation(_name, count) {
56
- this.transitions += count;
57
- }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiElasticContainer, isStandalone: true, selector: "tui-elastic-container", host: { properties: { "style.height.px": "height", "class._transitioning": "transitions" } }, ngImport: i0, template: "<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n", styles: [":host{transition-property:height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden}:host._transitioning{block-size:auto!important}.t-wrapper{padding-block-start:1px;margin-block-start:-1px}\n"], dependencies: [{ kind: "directive", type: TuiElasticContainerDirective, selector: "[tuiElasticContainer]", outputs: ["tuiElasticContainer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
60
- }
61
- __decorate([
62
- shouldCall((name) => name === 'height')
63
- ], TuiElasticContainer.prototype, "onAnimation", null);
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainer, decorators: [{
65
- type: Component,
66
- args: [{ selector: 'tui-elastic-container', imports: [TuiElasticContainerDirective], changeDetection: ChangeDetectionStrategy.OnPush, host: {
67
- '[style.height.px]': 'height',
68
- '[class._transitioning]': 'transitions',
69
- }, template: "<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n", styles: [":host{transition-property:height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden}:host._transitioning{block-size:auto!important}.t-wrapper{padding-block-start:1px;margin-block-start:-1px}\n"] }]
70
- }], propDecorators: { onAnimation: [] } });
71
-
72
- /**
73
- * Generated bundle index. Do not edit.
74
- */
75
-
76
- export { TuiElasticContainer, TuiElasticContainerDirective };
77
- //# sourceMappingURL=taiga-ui-kit-components-elastic-container.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-elastic-container.mjs","sources":["../../../projects/kit/components/elastic-container/elastic-container.directive.ts","../../../projects/kit/components/elastic-container/elastic-container.component.ts","../../../projects/kit/components/elastic-container/elastic-container.component.html","../../../projects/kit/components/elastic-container/taiga-ui-kit-components-elastic-container.ts"],"sourcesContent":["import {Directive, inject, Output} from '@angular/core';\nimport {\n MutationObserverService,\n WA_MUTATION_OBSERVER_INIT,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {debounceTime, distinctUntilChanged, map, merge} from 'rxjs';\n\n@Directive({\n selector: '[tuiElasticContainer]',\n providers: [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: WA_MUTATION_OBSERVER_INIT,\n useValue: {\n childList: true,\n characterData: true,\n subtree: true,\n },\n },\n ],\n})\nexport class TuiElasticContainerDirective {\n private readonly el = tuiInjectElement();\n\n @Output()\n public readonly tuiElasticContainer = merge(\n inject(ResizeObserverService, {self: true}),\n inject(MutationObserverService, {self: true}),\n ).pipe(\n debounceTime(0),\n map(() => this.el.clientHeight - 1),\n distinctUntilChanged(),\n );\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {shouldCall} from '@taiga-ui/event-plugins';\n\nimport {TuiElasticContainerDirective} from './elastic-container.directive';\n\n@Component({\n selector: 'tui-elastic-container',\n imports: [TuiElasticContainerDirective],\n templateUrl: './elastic-container.component.html',\n styleUrl: './elastic-container.component.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[style.height.px]': 'height',\n '[class._transitioning]': 'transitions',\n },\n})\nexport class TuiElasticContainer {\n protected height = NaN;\n protected transitions = 0;\n\n @shouldCall((name) => name === 'height')\n protected onAnimation(_name: string, count: number): void {\n this.transitions += count;\n }\n}\n","<div\n class=\"t-wrapper\"\n (transitioncancel.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionend.zoneless)=\"onAnimation($any($event).propertyName, -1)\"\n (transitionstart.zoneless)=\"onAnimation($any($event).propertyName, 1)\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content />\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAwBa,4BAA4B,CAAA;AAfzC,IAAA,WAAA,GAAA;QAgBqB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE;QAGxB,IAAmB,CAAA,mBAAA,GAAG,KAAK,CACvC,MAAM,CAAC,qBAAqB,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC,EAC3C,MAAM,CAAC,uBAAuB,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC,CAChD,CAAC,IAAI,CACF,YAAY,CAAC,CAAC,CAAC,EACf,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,YAAY,GAAG,CAAC,CAAC,EACnC,oBAAoB,EAAE,CACzB;AACJ;+GAZY,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,4BAA4B,EAb1B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,OAAA,EAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,EAAA,SAAA,EAAA;YACP,qBAAqB;YAC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AA,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;gap:.5rem}[tuiFloatingContainer]>*,[tuiFloatingContainer]>tui-elastic-container>.t-wrapper>*{inline-size:100%}[tuiFloatingContainer]:has(>*:only-child:not(tui-elastic-container)),[tuiFloatingContainer]:has(*.ng-animating:first-child~.ng-animating:last-child){padding-block-end:max(1.5rem,env(safe-area-inset-bottom))}[tuiFloatingContainer]:before{top:0;left:0;bottom:0;right:0;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;left:-1rem;right:-1rem;z-index:-1;background:var(--t-background, var(--tui-background-elevation-1));-webkit-mask-image:linear-gradient(180deg,transparent,black 2.5rem);mask-image:linear-gradient(180deg,transparent,black 2.5rem)}tui-sheet-dialog [tuiFloatingContainer]{margin-block-end:calc(-1*max(1.5rem,env(safe-area-inset-bottom)))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
10
- type: Component,
11
- args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-floating-container' }, styles: ["[tuiFloatingContainer]{transition-property:bottom;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:sticky;bottom:calc(100 * var(--tui-viewport-vh) - var(--tui-viewport-height) - var(--tui-viewport-y));z-index:1;margin-block-start:1rem;padding-block-end:max(1rem,env(safe-area-inset-bottom));text-align:center;font:var(--tui-font-text-ui-s);color:var(--tui-text-secondary)}[tuiFloatingContainer],[tuiFloatingContainer]>tui-elastic-container>.t-wrapper{display:flex;flex-direction:column;gap:.5rem}[tuiFloatingContainer]>*,[tuiFloatingContainer]>tui-elastic-container>.t-wrapper>*{inline-size:100%}[tuiFloatingContainer]:has(>*:only-child:not(tui-elastic-container)),[tuiFloatingContainer]:has(*.ng-animating:first-child~.ng-animating:last-child){padding-block-end:max(1.5rem,env(safe-area-inset-bottom))}[tuiFloatingContainer]:before{top:0;left:0;bottom:0;right:0;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;left:-1rem;right:-1rem;z-index:-1;background:var(--t-background, var(--tui-background-elevation-1));-webkit-mask-image:linear-gradient(180deg,transparent,black 2.5rem);mask-image:linear-gradient(180deg,transparent,black 2.5rem)}tui-sheet-dialog [tuiFloatingContainer]{margin-block-end:calc(-1*max(1.5rem,env(safe-area-inset-bottom)))}\n"] }]
12
- }] });
13
- class TuiFloatingContainer {
14
- constructor() {
15
- this.nothing = tuiWithStyles(Styles);
16
- this.background = input('', { alias: 'tuiFloatingContainer' });
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFloatingContainer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiFloatingContainer, isStandalone: true, selector: "[tuiFloatingContainer]", inputs: { background: { classPropertyName: "background", publicName: "tuiFloatingContainer", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiFloatingContainer": "" }, properties: { "style.--t-background": "background()" } }, ngImport: i0 }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFloatingContainer, decorators: [{
22
- type: Directive,
23
- args: [{
24
- selector: '[tuiFloatingContainer]',
25
- host: {
26
- tuiFloatingContainer: '',
27
- '[style.--t-background]': 'background()',
28
- },
29
- }]
30
- }] });
31
-
32
- /**
33
- * Generated bundle index. Do not edit.
34
- */
35
-
36
- export { TuiFloatingContainer };
37
- //# sourceMappingURL=taiga-ui-kit-components-floating-container.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-floating-container.mjs","sources":["../../../projects/kit/components/floating-container/floating-container.directive.ts","../../../projects/kit/components/floating-container/taiga-ui-kit-components-floating-container.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrl: './floating-container.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,+2CAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMV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D;;AAEG;;;;"}
@@ -1,63 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, ViewEncapsulation, Component, Injectable, Directive } from '@angular/core';
3
- import * as i1 from '@taiga-ui/cdk/directives/animated';
4
- import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
5
- import { injectContext, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
6
- import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
7
- import { TuiPopoverService, tuiAsPopover } from '@taiga-ui/cdk/services';
8
- import { TUI_DIALOGS } from '@taiga-ui/core/components/dialog';
9
-
10
- class TuiPreviewDialog {
11
- constructor() {
12
- this.context = injectContext();
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialog, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiPreviewDialog, isStandalone: true, selector: "tui-preview-dialog", host: { listeners: { "document:keydown.esc.prevent": "context.$implicit.complete()" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: `
16
- <ng-container *polymorpheusOutlet="context.content as text; context: context">
17
- {{ text }}
18
- </ng-container>
19
- `, isInline: true, styles: ["tui-preview-dialog{inline-size:100%;block-size:100%;overflow:hidden}tui-preview-dialog.tui-enter,tui-preview-dialog.tui-leave{animation-name:tuiFade,tuiSlide}[tuiAppearance][data-appearance=preview-action]{background:#686868f5;color:#fff}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:#9f9f9fdb}}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:#9f9f9fdb}}[tuiAppearance][data-appearance=preview-action][data-state=hover]{background:#9f9f9fdb}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action][tuiWrapper]:hover:not(._no-hover),[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=hover]{background:#9f9f9fdb}}[tuiAppearance][data-appearance=preview-action]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action][data-state=active]{background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action][tuiWrapper]:active:not(._no-active),[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=active],[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=active]:hover{background:#9f9f9fbf}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialog, decorators: [{
22
- type: Component,
23
- args: [{ selector: 'tui-preview-dialog', imports: [PolymorpheusOutlet], template: `
24
- <ng-container *polymorpheusOutlet="context.content as text; context: context">
25
- {{ text }}
26
- </ng-container>
27
- `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiAnimated], host: {
28
- '(document:keydown.esc.prevent)': 'context.$implicit.complete()',
29
- }, styles: ["tui-preview-dialog{inline-size:100%;block-size:100%;overflow:hidden}tui-preview-dialog.tui-enter,tui-preview-dialog.tui-leave{animation-name:tuiFade,tuiSlide}[tuiAppearance][data-appearance=preview-action]{background:#686868f5;color:#fff}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:#9f9f9fdb}}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:#9f9f9fdb}}[tuiAppearance][data-appearance=preview-action][data-state=hover]{background:#9f9f9fdb}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action][tuiWrapper]:hover:not(._no-hover),[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=hover]{background:#9f9f9fdb}}[tuiAppearance][data-appearance=preview-action]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action][data-state=active]{background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action][tuiWrapper]:active:not(._no-active),[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=active],[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=active]:hover{background:#9f9f9fbf}\n"] }]
30
- }] });
31
-
32
- class TuiPreviewDialogService extends TuiPopoverService {
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
34
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogService, providedIn: 'root', useFactory: () => new TuiPreviewDialogService(TUI_DIALOGS, TuiPreviewDialog) }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogService, decorators: [{
37
- type: Injectable,
38
- args: [{
39
- providedIn: 'root',
40
- useFactory: () => new TuiPreviewDialogService(TUI_DIALOGS, TuiPreviewDialog),
41
- }]
42
- }] });
43
-
44
- class TuiPreviewDialogDirective extends TuiPopoverDirective {
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
46
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiPreviewDialogDirective, isStandalone: true, selector: "ng-template[tuiPreviewDialog]", inputs: { open: ["tuiPreviewDialog", "open"] }, outputs: { openChange: "tuiPreviewDialogChange" }, providers: [tuiAsPopover(TuiPreviewDialogService)], usesInheritance: true, ngImport: i0 }); }
47
- }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogDirective, decorators: [{
49
- type: Directive,
50
- args: [{
51
- selector: 'ng-template[tuiPreviewDialog]',
52
- inputs: ['open: tuiPreviewDialog'],
53
- outputs: ['openChange: tuiPreviewDialogChange'],
54
- providers: [tuiAsPopover(TuiPreviewDialogService)],
55
- }]
56
- }] });
57
-
58
- /**
59
- * Generated bundle index. Do not edit.
60
- */
61
-
62
- export { TuiPreviewDialog, TuiPreviewDialogDirective, TuiPreviewDialogService };
63
- //# sourceMappingURL=taiga-ui-kit-components-preview-dialog.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-preview-dialog.mjs","sources":["../../../projects/kit/components/preview/dialog/preview-dialog.component.ts","../../../projects/kit/components/preview/dialog/preview-dialog.service.ts","../../../projects/kit/components/preview/dialog/preview-dialog.directive.ts","../../../projects/kit/components/preview/dialog/taiga-ui-kit-components-preview-dialog.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\n@Component({\n selector: 'tui-preview-dialog',\n imports: [PolymorpheusOutlet],\n template: `\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n `,\n styleUrl: './preview-dialog.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n '(document:keydown.esc.prevent)': 'context.$implicit.complete()',\n },\n})\nexport class TuiPreviewDialog {\n protected readonly context = injectContext<TuiPopover<void, void>>();\n}\n","import {Injectable} from '@angular/core';\nimport {TuiPopoverService} from '@taiga-ui/cdk/services';\nimport {TUI_DIALOGS} from '@taiga-ui/core/components/dialog';\n\nimport {TuiPreviewDialog} from './preview-dialog.component';\n\n@Injectable({\n providedIn: 'root',\n useFactory: () => new TuiPreviewDialogService(TUI_DIALOGS, TuiPreviewDialog),\n})\nexport class TuiPreviewDialogService extends TuiPopoverService<unknown> {}\n","import {Directive} from '@angular/core';\nimport {TuiPopoverDirective} from '@taiga-ui/cdk/directives/popover';\nimport {tuiAsPopover} from '@taiga-ui/cdk/services';\n\nimport {TuiPreviewDialogService} from './preview-dialog.service';\n\n@Directive({\n selector: 'ng-template[tuiPreviewDialog]',\n inputs: ['open: tuiPreviewDialog'],\n outputs: ['openChange: tuiPreviewDialogChange'],\n providers: [tuiAsPopover(TuiPreviewDialogService)],\n})\nexport class TuiPreviewDialogDirective extends TuiPopoverDirective<unknown> {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAqBa,gBAAgB,CAAA;AAhB7B,IAAA,WAAA,GAAA;QAiBuB,IAAO,CAAA,OAAA,GAAG,aAAa,EAA0B;AACvE;+GAFY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA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