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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/README.md +1 -1
  2. package/components/action-bar/action-bar.component.d.ts +5 -7
  3. package/components/action-bar/index.d.ts +0 -2
  4. package/components/badge/badge.options.d.ts +1 -3
  5. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  6. package/components/block/block.options.d.ts +1 -3
  7. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  8. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  9. package/components/calendar-range/calendar-range.component.d.ts +1 -2
  10. package/components/chip/chip.options.d.ts +1 -3
  11. package/components/combo-box/combo-box.d.ts +5 -0
  12. package/components/combo-box/combo-box.directive.d.ts +5 -5
  13. package/components/combo-box/index.d.ts +1 -0
  14. package/components/confirm/confirm.component.d.ts +5 -4
  15. package/components/confirm/confirm.service.d.ts +1 -1
  16. package/components/copy/copy.component.d.ts +2 -2
  17. package/components/copy/copy.directive.d.ts +3 -4
  18. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -2
  19. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  20. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  21. package/components/data-list-wrapper/index.d.ts +1 -1
  22. package/components/files/file/file.options.d.ts +1 -1
  23. package/components/files/files/files.component.d.ts +2 -2
  24. package/components/files/input-files/input-files.options.d.ts +1 -3
  25. package/components/index.d.ts +0 -4
  26. package/components/input-chip/input-chip.component.d.ts +9 -8
  27. package/components/input-chip/input-chip.d.ts +5 -1
  28. package/components/input-chip/input-chip.directive.d.ts +7 -12
  29. package/components/input-color/index.d.ts +1 -0
  30. package/components/input-color/input-color.component.d.ts +4 -4
  31. package/components/input-color/input-color.d.ts +5 -0
  32. package/components/input-date/input-date.d.ts +4 -1
  33. package/components/input-date/input-date.directive.d.ts +12 -14
  34. package/components/input-date/input-date.options.d.ts +3 -3
  35. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  36. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  37. package/components/input-date-range/input-date-range.d.ts +4 -1
  38. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  39. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  40. package/components/input-date-time/input-date-time.d.ts +4 -1
  41. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  42. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  43. package/components/input-month/input-month.d.ts +4 -1
  44. package/components/input-month/input-month.directive.d.ts +6 -5
  45. package/components/input-month-range/input-month-range.d.ts +4 -1
  46. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  47. package/components/input-number/input-number.d.ts +4 -1
  48. package/components/input-number/input-number.directive.d.ts +7 -11
  49. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  50. package/components/input-phone/index.d.ts +1 -0
  51. package/components/input-phone/input-phone.d.ts +5 -0
  52. package/components/input-phone/input-phone.directive.d.ts +7 -7
  53. package/components/input-phone-international/index.d.ts +1 -0
  54. package/components/input-phone-international/input-phone-international.component.d.ts +11 -11
  55. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  56. package/components/input-phone-international/input-phone-international.options.d.ts +1 -3
  57. package/components/input-pin/index.d.ts +1 -0
  58. package/components/input-pin/input-pin.component.d.ts +4 -4
  59. package/components/input-pin/input-pin.d.ts +5 -0
  60. package/components/input-range/input-range.component.d.ts +4 -7
  61. package/components/input-slider/input-slider.d.ts +4 -1
  62. package/components/input-slider/input-slider.directive.d.ts +1 -2
  63. package/components/input-time/input-time.component.d.ts +1 -3
  64. package/components/input-time/input-time.d.ts +4 -1
  65. package/components/input-time/input-time.directive.d.ts +8 -10
  66. package/components/input-year/input-year.d.ts +4 -1
  67. package/components/input-year/input-year.directive.d.ts +5 -5
  68. package/components/input-year/input-year.options.d.ts +2 -2
  69. package/components/like/like.options.d.ts +1 -1
  70. package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
  71. package/components/line-clamp/line-clamp.component.d.ts +8 -10
  72. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  73. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +5 -7
  74. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  75. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  76. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  77. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  78. package/components/pagination/index.d.ts +1 -0
  79. package/components/pagination/pagination.component.d.ts +25 -54
  80. package/components/pagination/pagination.options.d.ts +7 -0
  81. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  82. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  83. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  84. package/components/preview/index.d.ts +1 -0
  85. package/components/preview/pagination/preview-pagination.component.d.ts +3 -2
  86. package/components/preview/preview.component.d.ts +2 -2
  87. package/components/preview/preview.d.ts +2 -1
  88. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  89. package/components/preview/zoom/preview-zoom.component.d.ts +4 -2
  90. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
  91. package/components/progress/progress.options.d.ts +1 -3
  92. package/components/push/push-alert.component.d.ts +4 -3
  93. package/components/push/push.component.d.ts +1 -1
  94. package/components/push/push.directive.d.ts +4 -6
  95. package/components/push/push.options.d.ts +5 -8
  96. package/components/push/push.service.d.ts +6 -2
  97. package/components/radio/radio.component.d.ts +1 -1
  98. package/components/radio-list/radio-list.component.d.ts +5 -3
  99. package/components/range/range-change.directive.d.ts +1 -2
  100. package/components/range/range.component.d.ts +16 -24
  101. package/components/rating/rating.component.d.ts +1 -1
  102. package/components/rating/rating.options.d.ts +1 -3
  103. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  104. package/components/segmented/segmented.component.d.ts +4 -6
  105. package/components/segmented/segmented.directive.d.ts +6 -7
  106. package/components/select/native-select/native-select.component.d.ts +7 -8
  107. package/components/select/select.d.ts +4 -1
  108. package/components/select/select.directive.d.ts +4 -3
  109. package/components/slider/helpers/key-steps.d.ts +1 -2
  110. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  111. package/components/slider/slider.options.d.ts +1 -6
  112. package/components/stepper/step.component.d.ts +6 -8
  113. package/components/stepper/stepper.component.d.ts +6 -11
  114. package/components/switch/switch.component.d.ts +1 -0
  115. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  116. package/components/tabs/tabs.options.d.ts +1 -6
  117. package/components/textarea/index.d.ts +2 -1
  118. package/components/textarea/textarea.component.d.ts +4 -4
  119. package/components/textarea/textarea.d.ts +6 -0
  120. package/components/textarea/textarea.directive.d.ts +13 -0
  121. package/components/toast/toast.component.d.ts +4 -3
  122. package/components/toast/toast.options.d.ts +9 -7
  123. package/components/toast/toast.service.d.ts +10 -9
  124. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +8 -1
  125. package/components/tree/misc/tree.constants.d.ts +0 -3
  126. package/components/tree/misc/tree.tokens.d.ts +1 -6
  127. package/directives/button-close/button-close.directive.d.ts +2 -1
  128. package/directives/button-select/button-select.directive.d.ts +4 -4
  129. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  130. package/directives/fade/fade.directive.d.ts +1 -2
  131. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  132. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  133. package/directives/index.d.ts +0 -1
  134. package/directives/password/password.directive.d.ts +1 -1
  135. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  136. package/fesm2022/taiga-ui-kit-components-accordion.mjs +7 -8
  137. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  139. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-avatar.mjs +20 -20
  141. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +7 -12
  143. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-badge.mjs +11 -15
  145. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +6 -7
  147. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-block.mjs +10 -14
  149. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +12 -18
  151. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +6 -6
  153. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -17
  155. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +7 -8
  157. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-carousel.mjs +17 -23
  159. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -6
  161. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-chip.mjs +11 -15
  163. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +42 -32
  165. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-comment.mjs +6 -6
  167. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-compass.mjs +5 -5
  169. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-confirm.mjs +11 -14
  171. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-copy.mjs +19 -25
  173. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +25 -78
  175. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-drawer.mjs +5 -5
  177. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-files.mjs +41 -48
  179. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-components-filter.mjs +4 -4
  181. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +3 -3
  183. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +69 -74
  185. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
  187. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +36 -53
  189. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +31 -36
  191. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +34 -31
  193. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-input-date.mjs +50 -53
  195. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +4 -5
  197. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +30 -27
  199. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-input-month.mjs +36 -27
  201. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-input-number.mjs +54 -72
  203. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +51 -43
  205. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +32 -23
  207. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
  209. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-input-range.mjs +9 -16
  211. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +24 -25
  213. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-input-time.mjs +64 -70
  215. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-components-input-year.mjs +29 -21
  217. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +14 -16
  219. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-components-like.mjs +4 -4
  221. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +36 -78
  223. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-components-message.mjs +6 -7
  225. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +34 -46
  227. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +36 -25
  229. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -8
  231. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-components-pagination.mjs +67 -138
  233. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
  235. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-components-preview.mjs +72 -52
  237. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-components-progress.mjs +64 -56
  239. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-components-pulse.mjs +4 -4
  241. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-components-push.mjs +49 -57
  243. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +8 -8
  245. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  246. package/fesm2022/taiga-ui-kit-components-radio.mjs +8 -9
  247. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  248. package/fesm2022/taiga-ui-kit-components-range.mjs +41 -85
  249. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-components-rating.mjs +7 -12
  251. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +11 -7
  253. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-components-segmented.mjs +32 -59
  255. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  256. package/fesm2022/taiga-ui-kit-components-select.mjs +82 -62
  257. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  258. package/fesm2022/taiga-ui-kit-components-slider.mjs +73 -81
  259. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  260. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  261. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  262. package/fesm2022/taiga-ui-kit-components-stepper.mjs +45 -79
  263. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  264. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  265. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-components-tabs.mjs +28 -36
  267. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-components-textarea.mjs +54 -62
  269. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  270. package/fesm2022/taiga-ui-kit-components-tiles.mjs +14 -15
  271. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-components-toast.mjs +51 -53
  273. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  274. package/fesm2022/taiga-ui-kit-components-tree.mjs +56 -60
  275. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-components.mjs +0 -4
  277. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  278. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +15 -7
  279. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  280. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +6 -6
  281. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  282. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +20 -19
  283. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  284. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +9 -8
  285. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  286. package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -7
  287. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  288. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -53
  289. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  290. package/fesm2022/taiga-ui-kit-directives-fade.mjs +12 -11
  291. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  292. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +14 -27
  293. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  294. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +3 -4
  295. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  296. package/fesm2022/taiga-ui-kit-directives-password.mjs +12 -14
  297. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  298. package/fesm2022/taiga-ui-kit-directives-present.mjs +3 -4
  299. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  300. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  301. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  302. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  303. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  304. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  305. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  306. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +11 -11
  307. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  308. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +5 -6
  309. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  310. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -5
  311. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  312. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  313. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  314. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  315. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  316. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -4
  317. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  318. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -25
  319. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  320. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  321. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  322. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -5
  323. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  324. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  325. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  326. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  327. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  328. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -4
  329. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  330. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -4
  331. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  332. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  333. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  334. package/fesm2022/taiga-ui-kit-tokens.mjs +2 -98
  335. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  336. package/fesm2022/taiga-ui-kit-utils.mjs +2 -14
  337. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  338. package/package.json +50 -58
  339. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  340. package/pipes/auto-color/index.d.ts +1 -0
  341. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  342. package/pipes/flag/flag.pipe.d.ts +14 -0
  343. package/pipes/flag/index.d.ts +1 -0
  344. package/pipes/index.d.ts +3 -0
  345. package/pipes/initials/index.d.ts +1 -0
  346. package/pipes/initials/initials.pipe.d.ts +7 -0
  347. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  348. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  349. package/styles/components/badge.less +1 -0
  350. package/styles/components/chip.less +12 -1
  351. package/tokens/i18n.d.ts +25 -26
  352. package/tokens/index.d.ts +0 -6
  353. package/utils/index.d.ts +0 -2
  354. package/components/action-bar/action-bar.d.ts +0 -3
  355. package/components/action-bar/action-bar.directive.d.ts +0 -6
  356. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  357. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  358. package/components/elastic-container/index.d.ts +0 -2
  359. package/components/floating-container/floating-container.directive.d.ts +0 -7
  360. package/components/floating-container/index.d.ts +0 -1
  361. package/components/pdf-viewer/index.d.ts +0 -4
  362. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  363. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  364. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  365. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  366. package/components/slides/index.d.ts +0 -1
  367. package/components/slides/slides.directive.d.ts +0 -11
  368. package/components/textarea/textarea-limit.directive.d.ts +0 -27
  369. package/directives/lazy-loading/index.d.ts +0 -2
  370. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  371. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  372. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -78
  373. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  374. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  375. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  376. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  377. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  378. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
  379. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  380. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  381. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  382. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -81
  383. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  384. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  385. package/tokens/input-date-options.d.ts +0 -15
  386. package/tokens/items-handlers.d.ts +0 -26
  387. package/tokens/mobile-calendar.d.ts +0 -6
  388. package/tokens/month-formatter.d.ts +0 -5
  389. package/utils/phone.d.ts +0 -3
  390. package/utils/toggle-day.d.ts +0 -2
@@ -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,78 +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
- standalone: true,
33
- selector: '[tuiElasticContainer]',
34
- providers: [
35
- ResizeObserverService,
36
- MutationObserverService,
37
- {
38
- provide: WA_MUTATION_OBSERVER_INIT,
39
- useValue: {
40
- childList: true,
41
- characterData: true,
42
- subtree: true,
43
- },
44
- },
45
- ],
46
- }]
47
- }], propDecorators: { tuiElasticContainer: [{
48
- type: Output
49
- }] } });
50
-
51
- class TuiElasticContainer {
52
- constructor() {
53
- this.height = NaN;
54
- this.transitions = 0;
55
- }
56
- onAnimation(_name, count) {
57
- this.transitions += count;
58
- }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
60
- 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 }); }
61
- }
62
- __decorate([
63
- shouldCall((name) => name === 'height')
64
- ], TuiElasticContainer.prototype, "onAnimation", null);
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiElasticContainer, decorators: [{
66
- type: Component,
67
- args: [{ selector: 'tui-elastic-container', imports: [TuiElasticContainerDirective], changeDetection: ChangeDetectionStrategy.OnPush, host: {
68
- '[style.height.px]': 'height',
69
- '[class._transitioning]': 'transitions',
70
- }, 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"] }]
71
- }], propDecorators: { onAnimation: [] } });
72
-
73
- /**
74
- * Generated bundle index. Do not edit.
75
- */
76
-
77
- export { TuiElasticContainer, TuiElasticContainerDirective };
78
- //# 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 standalone: true,\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 styleUrls: ['./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":";;;;;;;;;MAyBa,4BAA4B,CAAA;AAhBzC,IAAA,WAAA,GAAA;QAiBqB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE;QAGxB,IAAmB,CAAA,mBAAA,GAAG,KAAK,CACvC,MAAM,CAAC,qBAAqB,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC,EAC3C,MAAM,CAAC,uBAAuB,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC,CAChD,CAAC,IAAI,CACF,YAAY,CAAC,CAAC,CAAC,EACf,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,YAAY,GAAG,CAAC,CAAC,EACnC,oBAAoB,EAAE,CACzB;AACJ;+GAZY,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,4BAA4B,EAb1B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,OAAA,EAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,EAAA,SAAA,EAAA;YACP,qBAAqB;YACrB,uBAAuB;AACvB,YAAA;AACI,gBAAA,OAAO,EAAE,yBAAyB;AAClC,gBAAA,QAAQ,EAAE;AACN,oBAAA,SAAS,EAAE,IAAI;AACf,oBAAA,aAAa,EAAE,IAAI;AACnB,oBAAA,OAAO,EAAE,IAAI;AAChB,iBAAA;AACJ,aAAA;AACJ,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAEQ,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A,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 styleUrls: ['./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,MAAM,EAAA,UAAA,EAAA,CAAA;kBAPX,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA,EAAC,KAAK,EAAE,wBAAwB,EAAC,EAAA,MAAA,EAAA,CAAA,+2CAAA,CAAA,EAAA;;MAW9B,oBAAoB,CAAA;AAPjC,IAAA,WAAA,GAAA;AAQuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC;QAElC,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC,EAAE,EAAE,EAAC,KAAK,EAAE,sBAAsB,EAAC,CAAC;AAC1E;+GAJY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sBAAA,EAAA,EAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sBAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,IAAI,EAAE;AACF,wBAAA,oBAAoB,EAAE,EAAE;AACxB,wBAAA,wBAAwB,EAAE,cAAc;AAC3C,qBAAA;AACJ,iBAAA;;;ACxBD;;AAEG;;;;"}
@@ -1,83 +0,0 @@
1
- import { AsyncPipe } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, ChangeDetectionStrategy, Component, InjectionToken, Injectable, Directive } from '@angular/core';
4
- import * as i1 from '@taiga-ui/cdk/directives/animated';
5
- import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
6
- import { TuiButton } from '@taiga-ui/core/components/button';
7
- import { TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
8
- import { injectContext, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
9
- import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
10
- import { TuiPopoverService, tuiAsPopover } from '@taiga-ui/cdk/services';
11
- import { TUI_DIALOGS } from '@taiga-ui/core/components/dialog';
12
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
13
-
14
- class TuiPdfViewerComponent {
15
- constructor() {
16
- this.closeWord$ = inject(TUI_CLOSE_WORD);
17
- this.icons = inject(TUI_COMMON_ICONS);
18
- this.context = injectContext();
19
- }
20
- onKeyDownEsc() {
21
- this.context.$implicit.complete();
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiPdfViewerComponent, isStandalone: true, selector: "tui-pdf-viewer", host: { listeners: { "document:keydown.esc": "onKeyDownEsc()" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: "<header class=\"t-header\">\n <h2\n automation-id=\"tui-pdf-viewer__label\"\n class=\"t-title\"\n >\n {{ context.label }}\n </h2>\n <div class=\"t-actions\">\n <ng-container *polymorpheusOutlet=\"context.actions as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n <button\n appearance=\"\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ closeWord$ | async }}\n </button>\n</header>\n<section class=\"t-content\">\n <iframe\n *polymorpheusOutlet=\"context.content as content; context: context\"\n title=\"pdf\"\n class=\"t-iframe\"\n [src]=\"content\"\n ></iframe>\n</section>\n", styles: [":host{display:block;inline-size:100%;block-size:100%;box-sizing:border-box;color:#fff;background:#333639;padding-block-start:env(safe-area-inset-top);padding-block-end:env(safe-area-inset-bottom)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}.t-header{display:flex;align-items:center;block-size:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-text-m);white-space:nowrap;text-overflow:ellipsis;padding-inline-end:.3125rem;overflow:hidden}.t-actions{display:flex;margin-inline-start:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-start:.75rem;color:#fff;background:#ffffff52}.t-close:hover{background:#fff6}.t-content{block-size:calc(100% - 4rem);overflow:hidden}.t-iframe{inline-size:100%;block-size:100%}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerComponent, decorators: [{
27
- type: Component,
28
- args: [{ selector: 'tui-pdf-viewer', imports: [AsyncPipe, PolymorpheusOutlet, TuiButton], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiAnimated], host: {
29
- '(document:keydown.esc)': 'onKeyDownEsc()',
30
- }, template: "<header class=\"t-header\">\n <h2\n automation-id=\"tui-pdf-viewer__label\"\n class=\"t-title\"\n >\n {{ context.label }}\n </h2>\n <div class=\"t-actions\">\n <ng-container *polymorpheusOutlet=\"context.actions as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n <button\n appearance=\"\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ closeWord$ | async }}\n </button>\n</header>\n<section class=\"t-content\">\n <iframe\n *polymorpheusOutlet=\"context.content as content; context: context\"\n title=\"pdf\"\n class=\"t-iframe\"\n [src]=\"content\"\n ></iframe>\n</section>\n", styles: [":host{display:block;inline-size:100%;block-size:100%;box-sizing:border-box;color:#fff;background:#333639;padding-block-start:env(safe-area-inset-top);padding-block-end:env(safe-area-inset-bottom)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}.t-header{display:flex;align-items:center;block-size:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-text-m);white-space:nowrap;text-overflow:ellipsis;padding-inline-end:.3125rem;overflow:hidden}.t-actions{display:flex;margin-inline-start:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-start:.75rem;color:#fff;background:#ffffff52}.t-close:hover{background:#fff6}.t-content{block-size:calc(100% - 4rem);overflow:hidden}.t-iframe{inline-size:100%;block-size:100%}\n"] }]
31
- }] });
32
-
33
- const TUI_PDF_VIEWER_DEFAULT_OPTIONS = {
34
- label: '',
35
- actions: '',
36
- data: undefined,
37
- };
38
- /**
39
- * Default parameters for PdfViewer component
40
- */
41
- const TUI_PDF_VIEWER_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_PDF_VIEWER_OPTIONS' : '', {
42
- factory: () => TUI_PDF_VIEWER_DEFAULT_OPTIONS,
43
- });
44
- function tuiPdfViewerOptionsProvider(options) {
45
- return tuiProvideOptions(TUI_PDF_VIEWER_OPTIONS, options, TUI_PDF_VIEWER_DEFAULT_OPTIONS);
46
- }
47
-
48
- class TuiPdfViewerService extends TuiPopoverService {
49
- open(content, options = {}) {
50
- return super.open(content, options);
51
- }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
53
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerService, providedIn: 'root', useFactory: () => new TuiPdfViewerService(TUI_DIALOGS, TuiPdfViewerComponent, inject(TUI_PDF_VIEWER_OPTIONS)) }); }
54
- }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerService, decorators: [{
56
- type: Injectable,
57
- args: [{
58
- providedIn: 'root',
59
- useFactory: () => new TuiPdfViewerService(TUI_DIALOGS, TuiPdfViewerComponent, inject(TUI_PDF_VIEWER_OPTIONS)),
60
- }]
61
- }] });
62
-
63
- class TuiPdfViewerDirective extends TuiPopoverDirective {
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
65
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiPdfViewerDirective, isStandalone: true, selector: "ng-template[tuiPdfViewer]", inputs: { options: ["tuiPdfViewerOptions", "options"], open: ["tuiPdfViewer", "open"] }, outputs: { openChange: "tuiPdfViewerChange" }, providers: [tuiAsPopover(TuiPdfViewerService)], usesInheritance: true, ngImport: i0 }); }
66
- }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPdfViewerDirective, decorators: [{
68
- type: Directive,
69
- args: [{
70
- standalone: true,
71
- selector: 'ng-template[tuiPdfViewer]',
72
- inputs: ['options: tuiPdfViewerOptions', 'open: tuiPdfViewer'],
73
- outputs: ['openChange: tuiPdfViewerChange'],
74
- providers: [tuiAsPopover(TuiPdfViewerService)],
75
- }]
76
- }] });
77
-
78
- /**
79
- * Generated bundle index. Do not edit.
80
- */
81
-
82
- export { TUI_PDF_VIEWER_DEFAULT_OPTIONS, TUI_PDF_VIEWER_OPTIONS, TuiPdfViewerComponent, TuiPdfViewerDirective, TuiPdfViewerService, tuiPdfViewerOptionsProvider };
83
- //# sourceMappingURL=taiga-ui-kit-components-pdf-viewer.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-pdf-viewer.mjs","sources":["../../../projects/kit/components/pdf-viewer/pdf-viewer.component.ts","../../../projects/kit/components/pdf-viewer/pdf-viewer.template.html","../../../projects/kit/components/pdf-viewer/pdf-viewer.options.ts","../../../projects/kit/components/pdf-viewer/pdf-viewer.service.ts","../../../projects/kit/components/pdf-viewer/pdf-viewer.directive.ts","../../../projects/kit/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.ts"],"sourcesContent":["import {AsyncPipe} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {TUI_CLOSE_WORD, TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {type TuiPdfViewerOptions} from './pdf-viewer.options';\n\n@Component({\n selector: 'tui-pdf-viewer',\n imports: [AsyncPipe, PolymorpheusOutlet, TuiButton],\n templateUrl: './pdf-viewer.template.html',\n styleUrls: ['./pdf-viewer.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n '(document:keydown.esc)': 'onKeyDownEsc()',\n },\n})\nexport class TuiPdfViewerComponent<I, O> {\n protected readonly closeWord$ = inject(TUI_CLOSE_WORD);\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected readonly context = injectContext<TuiPopover<TuiPdfViewerOptions<I>, O>>();\n\n protected onKeyDownEsc(): void {\n this.context.$implicit.complete();\n }\n}\n","<header class=\"t-header\">\n <h2\n automation-id=\"tui-pdf-viewer__label\"\n class=\"t-title\"\n >\n {{ context.label }}\n </h2>\n <div class=\"t-actions\">\n <ng-container *polymorpheusOutlet=\"context.actions as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n <button\n appearance=\"\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [iconStart]=\"icons.close\"\n [style.border-radius.%]=\"100\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ closeWord$ | async }}\n </button>\n</header>\n<section class=\"t-content\">\n <iframe\n *polymorpheusOutlet=\"context.content as content; context: context\"\n title=\"pdf\"\n class=\"t-iframe\"\n [src]=\"content\"\n ></iframe>\n</section>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerOptions = {\n label: '',\n actions: '',\n data: undefined,\n};\n\n/**\n * Default parameters for PdfViewer component\n */\nexport const TUI_PDF_VIEWER_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_PDF_VIEWER_OPTIONS' : '',\n {\n factory: () => TUI_PDF_VIEWER_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiPdfViewerOptionsProvider(\n options: Partial<TuiPdfViewerOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_PDF_VIEWER_OPTIONS,\n options,\n TUI_PDF_VIEWER_DEFAULT_OPTIONS,\n );\n}\n\nexport interface TuiPdfViewerOptions<I = undefined> {\n readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;\n readonly data: I;\n readonly label: string;\n}\n","import {inject, Injectable} from '@angular/core';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {type TuiPopoverContext, TuiPopoverService} from '@taiga-ui/cdk/services';\nimport {TUI_DIALOGS} from '@taiga-ui/core/components/dialog';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {type Observable} from 'rxjs';\n\nimport {TuiPdfViewerComponent} from './pdf-viewer.component';\nimport {TUI_PDF_VIEWER_OPTIONS, type TuiPdfViewerOptions} from './pdf-viewer.options';\n\ntype Content<G> = PolymorpheusContent<\n TuiPdfViewerOptions<unknown> & TuiPopoverContext<G>\n>;\n\n@Injectable({\n providedIn: 'root',\n useFactory: () =>\n new TuiPdfViewerService(\n TUI_DIALOGS,\n TuiPdfViewerComponent,\n inject(TUI_PDF_VIEWER_OPTIONS),\n ),\n})\nexport class TuiPdfViewerService extends TuiPopoverService<TuiPdfViewerOptions<unknown>> {\n public override open<G>(\n content: Content<G> | SafeResourceUrl,\n options: Partial<TuiPdfViewerOptions<any>> = {},\n ): Observable<G> {\n return super.open(content as Content<G>, options);\n }\n}\n","import {Directive} from '@angular/core';\nimport {TuiPopoverDirective} from '@taiga-ui/cdk/directives/popover';\nimport {tuiAsPopover} from '@taiga-ui/cdk/services';\n\nimport {type TuiPdfViewerOptions} from './pdf-viewer.options';\nimport {TuiPdfViewerService} from './pdf-viewer.service';\n\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiPdfViewer]',\n inputs: ['options: tuiPdfViewerOptions', 'open: tuiPdfViewer'],\n outputs: ['openChange: tuiPdfViewerChange'],\n providers: [tuiAsPopover(TuiPdfViewerService)],\n})\nexport class TuiPdfViewerDirective<T> extends TuiPopoverDirective<\n TuiPdfViewerOptions<T>\n> {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAqBa,qBAAqB,CAAA;AAXlC,IAAA,WAAA,GAAA;AAYuB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC;AACnC,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAChC,IAAO,CAAA,OAAA,GAAG,aAAa,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AA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,gNAFnB,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAErC,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,MAAM,EAAE,CAAC,8BAA8B,EAAE,oBAAoB,CAAC;oBAC9D,OAAO,EAAE,CAAC,gCAAgC,CAAC;AAC3C,oBAAA,SAAS,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC;AACjD,iBAAA;;;ACbD;;AAEG;;;;"}
@@ -1,64 +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
- standalone: true,
52
- selector: 'ng-template[tuiPreviewDialog]',
53
- inputs: ['open: tuiPreviewDialog'],
54
- outputs: ['openChange: tuiPreviewDialogChange'],
55
- providers: [tuiAsPopover(TuiPreviewDialogService)],
56
- }]
57
- }] });
58
-
59
- /**
60
- * Generated bundle index. Do not edit.
61
- */
62
-
63
- export { TuiPreviewDialog, TuiPreviewDialogDirective, TuiPreviewDialogService };
64
- //# 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 styleUrls: ['./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 standalone: true,\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,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAbf,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,8BAAA,EAAA,8BAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;AAIT,IAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,osDAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EALS,kBAAkB,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,2BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAA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AAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,yBAAyB,+KAFvB,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAEzC,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAPrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,+BAA+B;oBACzC,MAAM,EAAE,CAAC,wBAAwB,CAAC;oBAClC,OAAO,EAAE,CAAC,oCAAoC,CAAC;AAC/C,oBAAA,SAAS,EAAE,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC;AACrD,iBAAA;;;ACZD;;AAEG;;;;"}
@@ -1,49 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, ViewEncapsulation, Component, computed, input, Directive } from '@angular/core';
3
- import * as i1 from '@taiga-ui/cdk/directives/animated';
4
- import { TuiAnimatedParent } from '@taiga-ui/cdk/directives/animated';
5
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
6
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
7
-
8
- class Styles {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-slides" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiSlides]{display:grid;isolation:isolate}[tuiSlides][data-direction=\"-1\"]>*{--tui-from: translateX(-2rem)}[tuiSlides][data-direction=\"-1\"]>*.tui-leave{--tui-from: translateX(1rem)}[tuiSlides][data-direction=\"1\"]>*{--tui-from: translateX(2rem)}[tuiSlides][data-direction=\"1\"]>*.tui-leave{--tui-from: translateX(-1rem)}[tuiSlides]>*{grid-area:1 / 1;align-self:start;mix-blend-mode:plus-lighter;animation-name:tuiFade,tuiSlide;animation-duration:var(--tui-duration);animation-timing-function:ease-in-out;--tui-from: translateY(0)}[tuiSlides]>*.tui-slide:not(.tui-leave){animation-name:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
13
- type: Component,
14
- args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-slides' }, styles: ["[tuiSlides]{display:grid;isolation:isolate}[tuiSlides][data-direction=\"-1\"]>*{--tui-from: translateX(-2rem)}[tuiSlides][data-direction=\"-1\"]>*.tui-leave{--tui-from: translateX(1rem)}[tuiSlides][data-direction=\"1\"]>*{--tui-from: translateX(2rem)}[tuiSlides][data-direction=\"1\"]>*.tui-leave{--tui-from: translateX(-1rem)}[tuiSlides]>*{grid-area:1 / 1;align-self:start;mix-blend-mode:plus-lighter;animation-name:tuiFade,tuiSlide;animation-duration:var(--tui-duration);animation-timing-function:ease-in-out;--tui-from: translateY(0)}[tuiSlides]>*.tui-slide:not(.tui-leave){animation-name:none}\n"] }]
15
- }] });
16
- class TuiSlides {
17
- constructor() {
18
- this.nothing = tuiWithStyles(Styles);
19
- this.el = tuiInjectElement();
20
- this.sign = computed(() => Math.sign(this.direction() || 0));
21
- this.direction = input('', { alias: 'tuiSlides' });
22
- }
23
- onAnimation(target) {
24
- Array.from(this.el.children)
25
- .find((element) => element === target)
26
- ?.classList.add('tui-slide');
27
- }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSlides, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiSlides, isStandalone: true, selector: "[tuiSlides]", inputs: { direction: { classPropertyName: "direction", publicName: "tuiSlides", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiSlides": "" }, listeners: { "animationend": "onAnimation($event.target)" }, properties: { "attr.data-direction": "sign()" } }, hostDirectives: [{ directive: i1.TuiAnimatedParent }], ngImport: i0 }); }
30
- }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSlides, decorators: [{
32
- type: Directive,
33
- args: [{
34
- selector: '[tuiSlides]',
35
- hostDirectives: [TuiAnimatedParent],
36
- host: {
37
- tuiSlides: '',
38
- '[attr.data-direction]': 'sign()',
39
- '(animationend)': 'onAnimation($event.target)',
40
- },
41
- }]
42
- }] });
43
-
44
- /**
45
- * Generated bundle index. Do not edit.
46
- */
47
-
48
- export { TuiSlides };
49
- //# sourceMappingURL=taiga-ui-kit-components-slides.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-slides.mjs","sources":["../../../projects/kit/components/slides/slides.directive.ts","../../../projects/kit/components/slides/taiga-ui-kit-components-slides.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TuiAnimatedParent} from '@taiga-ui/cdk/directives/animated';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n template: '',\n styleUrls: ['./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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c,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":";;;;;;;;;AAOM,MAAO,qBAAsB,SAAQ,UAAoC,CAAA;AAc3E,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KAAK,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;AAd5C,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,OAAO,EAA4B;AAC9C,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,2BAA2B,CAAC;QACpD,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CACrC,SAAS,CAAC,CAAC,GAAG,KACV,IAAI,CAAC,cAAc,CAAC,IAAI,CACpB,MAAM,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,EAC7C,GAAG,CAAC,MAAM,GAAG,CAAC,EACd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,2BAA2B;AAC7C,wBAAA,YAAY,EAAE,OAAO;AACrB,wBAAA,QAAQ,EAAE,SAAS;AACnB,wBAAA,SAAS,EAAE,SAAS;AACvB,qBAAA;AACJ,iBAAA;8BAgBc,SAAS,EAAA,CAAA;sBADnB,KAAK;uBAAC,KAAK;;;ACvChB;;AAEG;;;;"}
@@ -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;