@taiga-ui/kit 4.52.0-canary.1ea42f6 → 4.52.0-canary.217a686

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 (443) hide show
  1. package/README.md +1 -1
  2. package/components/accordion/accordion.component.d.ts +13 -0
  3. package/components/accordion/accordion.d.ts +4 -4
  4. package/components/accordion/accordion.directive.d.ts +11 -10
  5. package/components/accordion/index.d.ts +1 -3
  6. package/components/action-bar/action-bar.component.d.ts +5 -7
  7. package/components/action-bar/index.d.ts +0 -2
  8. package/components/avatar/avatar-labeled.component.d.ts +3 -3
  9. package/components/avatar/avatar-stack.component.d.ts +2 -2
  10. package/components/badge/badge.options.d.ts +1 -3
  11. package/components/badge-notification/badge-notification.component.d.ts +2 -3
  12. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  13. package/components/badged-content/badged-content.directive.d.ts +2 -2
  14. package/components/block/block.options.d.ts +1 -3
  15. package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -7
  16. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  17. package/components/button-loading/button-loading.component.d.ts +5 -5
  18. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  19. package/components/calendar-range/calendar-range.component.d.ts +1 -3
  20. package/components/calendar-range/day-range-period.d.ts +2 -1
  21. package/components/carousel/carousel.component.d.ts +15 -18
  22. package/components/carousel/carousel.directive.d.ts +5 -4
  23. package/components/chip/chip.options.d.ts +1 -3
  24. package/components/combo-box/combo-box.d.ts +5 -0
  25. package/components/combo-box/combo-box.directive.d.ts +7 -9
  26. package/components/combo-box/index.d.ts +1 -0
  27. package/components/compass/compass.component.d.ts +2 -2
  28. package/components/confirm/confirm.component.d.ts +5 -4
  29. package/components/confirm/confirm.service.d.ts +1 -1
  30. package/components/copy/copy.component.d.ts +4 -5
  31. package/components/copy/copy.directive.d.ts +3 -4
  32. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -2
  33. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  34. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  35. package/components/data-list-wrapper/index.d.ts +1 -1
  36. package/components/drawer/drawer.component.d.ts +3 -4
  37. package/components/files/file/file.component.d.ts +16 -29
  38. package/components/files/file/file.options.d.ts +1 -1
  39. package/components/files/files/files.component.d.ts +7 -10
  40. package/components/files/input-files/input-files.component.d.ts +2 -2
  41. package/components/files/input-files/input-files.content.d.ts +7 -8
  42. package/components/files/input-files/input-files.directive.d.ts +2 -2
  43. package/components/files/input-files/input-files.options.d.ts +1 -3
  44. package/components/filter/filter.component.d.ts +9 -12
  45. package/components/fullscreen/fullscreen.component.d.ts +5 -8
  46. package/components/index.d.ts +0 -4
  47. package/components/input-chip/input-chip.component.d.ts +9 -8
  48. package/components/input-chip/input-chip.d.ts +5 -1
  49. package/components/input-chip/input-chip.directive.d.ts +7 -12
  50. package/components/input-color/index.d.ts +1 -0
  51. package/components/input-color/input-color.component.d.ts +4 -4
  52. package/components/input-color/input-color.d.ts +5 -0
  53. package/components/input-date/input-date.d.ts +4 -1
  54. package/components/input-date/input-date.directive.d.ts +12 -14
  55. package/components/input-date/input-date.options.d.ts +3 -3
  56. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  57. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  58. package/components/input-date-range/input-date-range.d.ts +4 -1
  59. package/components/input-date-range/input-date-range.directive.d.ts +5 -8
  60. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  61. package/components/input-date-time/input-date-time.d.ts +4 -1
  62. package/components/input-date-time/input-date-time.directive.d.ts +6 -6
  63. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  64. package/components/input-inline/input-inline.component.d.ts +3 -2
  65. package/components/input-month/input-month.d.ts +4 -1
  66. package/components/input-month/input-month.directive.d.ts +6 -5
  67. package/components/input-month-range/input-month-range.d.ts +4 -1
  68. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  69. package/components/input-number/input-number.d.ts +4 -1
  70. package/components/input-number/input-number.directive.d.ts +7 -13
  71. package/components/input-number/input-number.options.d.ts +2 -3
  72. package/components/input-number/step/input-number-step.component.d.ts +3 -2
  73. package/components/input-phone/index.d.ts +1 -0
  74. package/components/input-phone/input-phone.d.ts +5 -0
  75. package/components/input-phone/input-phone.directive.d.ts +7 -7
  76. package/components/input-phone-international/index.d.ts +1 -0
  77. package/components/input-phone-international/input-phone-international.component.d.ts +27 -32
  78. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  79. package/components/input-phone-international/input-phone-international.options.d.ts +1 -3
  80. package/components/input-pin/index.d.ts +1 -0
  81. package/components/input-pin/input-pin.component.d.ts +4 -4
  82. package/components/input-pin/input-pin.d.ts +5 -0
  83. package/components/input-range/index.d.ts +0 -1
  84. package/components/input-range/input-range.component.d.ts +29 -62
  85. package/components/input-slider/input-slider.d.ts +4 -1
  86. package/components/input-slider/input-slider.directive.d.ts +2 -4
  87. package/components/input-time/input-time.component.d.ts +1 -3
  88. package/components/input-time/input-time.d.ts +4 -1
  89. package/components/input-time/input-time.directive.d.ts +8 -10
  90. package/components/input-year/input-year.d.ts +4 -1
  91. package/components/input-year/input-year.directive.d.ts +5 -5
  92. package/components/input-year/input-year.options.d.ts +2 -2
  93. package/components/items-with-more/items-with-more.component.d.ts +5 -5
  94. package/components/like/like.options.d.ts +1 -1
  95. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  96. package/components/line-clamp/line-clamp.component.d.ts +8 -10
  97. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  98. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +5 -7
  99. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  100. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  101. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  102. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  103. package/components/pager/pager.component.d.ts +12 -12
  104. package/components/pagination/index.d.ts +1 -0
  105. package/components/pagination/pagination.component.d.ts +25 -54
  106. package/components/pagination/pagination.options.d.ts +7 -0
  107. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  108. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  109. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  110. package/components/preview/index.d.ts +1 -0
  111. package/components/preview/pagination/preview-pagination.component.d.ts +3 -2
  112. package/components/preview/preview.component.d.ts +2 -2
  113. package/components/preview/preview.d.ts +2 -1
  114. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  115. package/components/preview/zoom/preview-zoom.component.d.ts +4 -2
  116. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  117. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
  118. package/components/progress/progress.options.d.ts +1 -3
  119. package/components/pulse/pulse.component.d.ts +2 -2
  120. package/components/push/push-alert.component.d.ts +4 -3
  121. package/components/push/push.component.d.ts +1 -1
  122. package/components/push/push.directive.d.ts +4 -6
  123. package/components/push/push.options.d.ts +5 -8
  124. package/components/push/push.service.d.ts +6 -2
  125. package/components/radio/radio.component.d.ts +1 -1
  126. package/components/radio-list/radio-list.component.d.ts +11 -9
  127. package/components/range/range-change.directive.d.ts +1 -2
  128. package/components/range/range.component.d.ts +16 -25
  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 +7 -8
  135. package/components/select/select.d.ts +4 -1
  136. package/components/select/select.directive.d.ts +4 -3
  137. package/components/slider/helpers/key-steps.d.ts +1 -2
  138. package/components/slider/helpers/slider-key-steps.directive.d.ts +15 -23
  139. package/components/slider/helpers/slider-thumb-label.component.d.ts +2 -4
  140. package/components/slider/slider.options.d.ts +1 -6
  141. package/components/stepper/step.component.d.ts +14 -9
  142. package/components/stepper/stepper.component.d.ts +5 -12
  143. package/components/switch/switch.component.d.ts +1 -0
  144. package/components/tabs/tabs-horizontal.directive.d.ts +3 -4
  145. package/components/tabs/tabs-with-more.component.d.ts +13 -17
  146. package/components/tabs/tabs.options.d.ts +1 -6
  147. package/components/textarea/index.d.ts +2 -1
  148. package/components/textarea/textarea.component.d.ts +10 -11
  149. package/components/textarea/textarea.d.ts +6 -0
  150. package/components/textarea/textarea.directive.d.ts +13 -0
  151. package/components/tiles/tile.component.d.ts +7 -10
  152. package/components/tiles/tile.service.d.ts +1 -1
  153. package/components/toast/toast.component.d.ts +4 -3
  154. package/components/toast/toast.options.d.ts +9 -7
  155. package/components/toast/toast.service.d.ts +10 -9
  156. package/components/tree/components/tree/tree.component.d.ts +7 -7
  157. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  158. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +8 -1
  159. package/components/tree/misc/tree.constants.d.ts +0 -3
  160. package/components/tree/misc/tree.tokens.d.ts +1 -6
  161. package/directives/appearance-proxy/appearance-proxy.directive.d.ts +10 -0
  162. package/directives/appearance-proxy/index.d.ts +1 -0
  163. package/directives/button-close/button-close.directive.d.ts +2 -1
  164. package/directives/button-select/button-select.directive.d.ts +4 -4
  165. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  166. package/directives/fade/fade.directive.d.ts +5 -6
  167. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  168. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  169. package/directives/highlight/highlight.directive.d.ts +4 -4
  170. package/directives/index.d.ts +1 -1
  171. package/directives/password/password.directive.d.ts +1 -1
  172. package/directives/present/present.directive.d.ts +2 -4
  173. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  174. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  175. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  176. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -145
  177. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +24 -40
  179. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-components-avatar.mjs +34 -48
  181. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +11 -18
  183. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-badge.mjs +11 -15
  185. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -12
  187. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-block.mjs +11 -15
  189. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +19 -39
  191. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +19 -27
  193. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -17
  195. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +25 -26
  197. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-carousel.mjs +64 -114
  199. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -6
  201. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-chip.mjs +11 -15
  203. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +45 -50
  205. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-comment.mjs +7 -7
  207. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-compass.mjs +9 -11
  209. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-confirm.mjs +11 -14
  211. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-copy.mjs +23 -36
  213. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +25 -78
  215. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-components-drawer.mjs +15 -32
  217. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-components-files.mjs +117 -244
  219. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-components-filter.mjs +21 -34
  221. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +24 -45
  223. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +63 -77
  225. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-components-input-color.mjs +24 -13
  227. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +36 -53
  229. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +30 -36
  231. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +33 -31
  233. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-components-input-date.mjs +49 -53
  235. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +10 -13
  237. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +29 -27
  239. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-components-input-month.mjs +35 -27
  241. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-components-input-number.mjs +60 -77
  243. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +124 -142
  245. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  246. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +32 -23
  247. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  248. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +18 -9
  249. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-components-input-range.mjs +64 -85
  251. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +30 -36
  253. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-components-input-time.mjs +63 -70
  255. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  256. package/fesm2022/taiga-ui-kit-components-input-year.mjs +28 -21
  257. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  258. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +27 -35
  259. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  260. package/fesm2022/taiga-ui-kit-components-like.mjs +4 -4
  261. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  262. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +38 -82
  263. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  264. package/fesm2022/taiga-ui-kit-components-message.mjs +7 -8
  265. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +38 -50
  267. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +37 -26
  269. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  270. package/fesm2022/taiga-ui-kit-components-pager.mjs +30 -44
  271. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-components-pagination.mjs +73 -148
  273. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  274. package/fesm2022/taiga-ui-kit-components-pin.mjs +7 -7
  275. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-components-preview.mjs +74 -54
  277. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  278. package/fesm2022/taiga-ui-kit-components-progress.mjs +69 -65
  279. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  280. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
  281. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  282. package/fesm2022/taiga-ui-kit-components-push.mjs +49 -57
  283. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  284. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +23 -35
  285. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  286. package/fesm2022/taiga-ui-kit-components-radio.mjs +8 -9
  287. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  288. package/fesm2022/taiga-ui-kit-components-range.mjs +42 -96
  289. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  290. package/fesm2022/taiga-ui-kit-components-rating.mjs +7 -12
  291. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  292. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +11 -7
  293. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  294. package/fesm2022/taiga-ui-kit-components-segmented.mjs +32 -59
  295. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  296. package/fesm2022/taiga-ui-kit-components-select.mjs +81 -62
  297. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  298. package/fesm2022/taiga-ui-kit-components-slider.mjs +87 -101
  299. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  300. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  301. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  302. package/fesm2022/taiga-ui-kit-components-stepper.mjs +61 -88
  303. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  304. package/fesm2022/taiga-ui-kit-components-switch.mjs +10 -6
  305. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  306. package/fesm2022/taiga-ui-kit-components-tabs.mjs +65 -113
  307. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  308. package/fesm2022/taiga-ui-kit-components-textarea.mjs +62 -82
  309. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  310. package/fesm2022/taiga-ui-kit-components-tiles.mjs +25 -46
  311. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  312. package/fesm2022/taiga-ui-kit-components-toast.mjs +51 -53
  313. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  314. package/fesm2022/taiga-ui-kit-components-tree.mjs +75 -94
  315. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  316. package/fesm2022/taiga-ui-kit-components.mjs +0 -4
  317. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  318. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +27 -0
  319. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -0
  320. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +15 -7
  321. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  322. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  323. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  324. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +20 -19
  325. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  326. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +10 -9
  327. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  328. package/fesm2022/taiga-ui-kit-directives-connected.mjs +7 -8
  329. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  330. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +25 -53
  331. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  332. package/fesm2022/taiga-ui-kit-directives-fade.mjs +25 -34
  333. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  334. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +14 -27
  335. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  336. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -21
  337. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  338. package/fesm2022/taiga-ui-kit-directives-password.mjs +12 -14
  339. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  340. package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -18
  341. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  342. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  343. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  344. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  345. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  346. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  347. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  348. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +11 -11
  349. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  350. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +9 -12
  351. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  352. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -15
  353. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  354. package/fesm2022/taiga-ui-kit-directives.mjs +1 -1
  355. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  356. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  357. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -4
  358. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  359. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +12 -25
  360. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  361. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +30 -0
  362. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  363. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +4 -5
  364. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  365. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  366. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  367. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  368. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  369. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -4
  370. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  371. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -4
  372. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  373. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  374. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  375. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -121
  376. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  377. package/fesm2022/taiga-ui-kit-utils.mjs +3 -15
  378. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  379. package/package.json +47 -51
  380. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  381. package/pipes/auto-color/index.d.ts +1 -0
  382. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  383. package/pipes/flag/flag.pipe.d.ts +14 -0
  384. package/pipes/flag/index.d.ts +1 -0
  385. package/pipes/index.d.ts +3 -0
  386. package/pipes/initials/index.d.ts +1 -0
  387. package/pipes/initials/initials.pipe.d.ts +7 -0
  388. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  389. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  390. package/styles/components/avatar.less +14 -14
  391. package/styles/components/badge.less +4 -3
  392. package/styles/components/block.less +4 -4
  393. package/styles/components/chip.less +15 -4
  394. package/styles/components/comment.less +1 -1
  395. package/styles/components/message.less +1 -1
  396. package/styles/components/pin.less +3 -3
  397. package/styles/components/switch.less +3 -2
  398. package/styles/components/toast.less +1 -1
  399. package/tokens/i18n.d.ts +26 -26
  400. package/tokens/index.d.ts +0 -7
  401. package/utils/index.d.ts +0 -2
  402. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  403. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  404. package/components/accordion/accordion-item.component.d.ts +0 -25
  405. package/components/action-bar/action-bar.d.ts +0 -3
  406. package/components/action-bar/action-bar.directive.d.ts +0 -6
  407. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  408. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  409. package/components/elastic-container/index.d.ts +0 -2
  410. package/components/floating-container/floating-container.directive.d.ts +0 -7
  411. package/components/floating-container/index.d.ts +0 -1
  412. package/components/input-range/input-range.d.ts +0 -3
  413. package/components/pdf-viewer/index.d.ts +0 -4
  414. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  415. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  416. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  417. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  418. package/components/slides/index.d.ts +0 -1
  419. package/components/slides/slides.directive.d.ts +0 -11
  420. package/components/textarea/textarea-limit.directive.d.ts +0 -27
  421. package/directives/lazy-loading/index.d.ts +0 -2
  422. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  423. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  424. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -78
  425. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  426. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  427. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  428. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  429. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  430. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
  431. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  432. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  433. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  434. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -81
  435. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  436. package/tokens/calendar-date-stream.d.ts +0 -10
  437. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  438. package/tokens/input-date-options.d.ts +0 -15
  439. package/tokens/items-handlers.d.ts +0 -26
  440. package/tokens/mobile-calendar.d.ts +0 -6
  441. package/tokens/month-formatter.d.ts +0 -5
  442. package/utils/phone.d.ts +0 -3
  443. package/utils/toggle-day.d.ts +0 -2
package/tokens/i18n.d.ts CHANGED
@@ -1,21 +1,20 @@
1
- import { InjectionToken } from '@angular/core';
1
+ import { InjectionToken, type Signal } from '@angular/core';
2
2
  import { type TuiDateMode } from '@taiga-ui/cdk/date-time';
3
3
  import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
4
- import { type Observable } from 'rxjs';
5
- export declare const TUI_CONFIRM_WORDS: InjectionToken<Observable<{
4
+ export declare const TUI_CONFIRM_WORDS: InjectionToken<Signal<{
6
5
  no: string;
7
6
  yes: string;
8
7
  }>>;
9
- export declare const TUI_CANCEL_WORD: InjectionToken<Observable<string>>;
10
- export declare const TUI_DONE_WORD: InjectionToken<Observable<string>>;
11
- export declare const TUI_MORE_WORD: InjectionToken<Observable<string>>;
12
- export declare const TUI_HIDE_TEXT: InjectionToken<Observable<string>>;
13
- export declare const TUI_SHOW_ALL_TEXT: InjectionToken<Observable<string>>;
14
- export declare const TUI_OTHER_DATE_TEXT: InjectionToken<Observable<string>>;
15
- export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: InjectionToken<Observable<readonly [choose_day: string, choose_range: string, choose_days: string]>>;
16
- export declare const TUI_FROM_TO_TEXTS: InjectionToken<Observable<readonly [from: string, to: string]>>;
17
- export declare const TUI_PLUS_MINUS_TEXTS: InjectionToken<Observable<readonly [plus: string, minus: string]>>;
18
- export declare const TUI_TIME_TEXTS: InjectionToken<Observable<{
8
+ export declare const TUI_CANCEL_WORD: InjectionToken<Signal<string>>;
9
+ export declare const TUI_DONE_WORD: InjectionToken<Signal<string>>;
10
+ export declare const TUI_MORE_WORD: InjectionToken<Signal<string>>;
11
+ export declare const TUI_HIDE_TEXT: InjectionToken<Signal<string>>;
12
+ export declare const TUI_SHOW_ALL_TEXT: InjectionToken<Signal<string>>;
13
+ export declare const TUI_OTHER_DATE_TEXT: InjectionToken<Signal<string>>;
14
+ export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: InjectionToken<Signal<readonly [choose_day: string, choose_range: string, choose_days: string]>>;
15
+ export declare const TUI_FROM_TO_TEXTS: InjectionToken<Signal<readonly [from: string, to: string]>>;
16
+ export declare const TUI_PLUS_MINUS_TEXTS: InjectionToken<Signal<readonly [plus: string, minus: string]>>;
17
+ export declare const TUI_TIME_TEXTS: InjectionToken<Signal<{
19
18
  'MM:SS': string;
20
19
  'HH:MM': string;
21
20
  'HH:MM AA': string;
@@ -29,18 +28,18 @@ export declare const TUI_TIME_TEXTS: InjectionToken<Observable<{
29
28
  'MM.SS.MSS': string;
30
29
  'SS.MSS': string;
31
30
  }>>;
32
- export declare const TUI_DATE_TEXTS: InjectionToken<Observable<Record<TuiDateMode, string>>>;
33
- export declare const TUI_DIGITAL_INFORMATION_UNITS: InjectionToken<Observable<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
34
- export declare const TUI_COPY_TEXTS: InjectionToken<Observable<readonly [copy: string, copied: string]>>;
35
- export declare const TUI_PASSWORD_TEXTS: InjectionToken<Observable<readonly [show_password: string, hide_password: string]>>;
36
- export declare const TUI_CALENDAR_MONTHS: InjectionToken<Observable<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
37
- export declare const TUI_FILE_TEXTS: InjectionToken<Observable<{
31
+ export declare const TUI_DATE_TEXTS: InjectionToken<Signal<Record<TuiDateMode, string>>>;
32
+ export declare const TUI_DIGITAL_INFORMATION_UNITS: InjectionToken<Signal<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
33
+ export declare const TUI_COPY_TEXTS: InjectionToken<Signal<readonly [copy: string, copied: string]>>;
34
+ export declare const TUI_PASSWORD_TEXTS: InjectionToken<Signal<readonly [show_password: string, hide_password: string]>>;
35
+ export declare const TUI_CALENDAR_MONTHS: InjectionToken<Signal<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
36
+ export declare const TUI_FILE_TEXTS: InjectionToken<Signal<{
38
37
  loadingError: string;
39
38
  preview: string;
40
39
  remove: string;
41
40
  }>>;
42
- export declare const TUI_PAGINATION_TEXTS: InjectionToken<Observable<readonly [previous_page: string, next_page: string]>>;
43
- export declare const TUI_INPUT_FILE_TEXTS: InjectionToken<Observable<{
41
+ export declare const TUI_PAGINATION_TEXTS: InjectionToken<Signal<readonly [previous_page: string, next_page: string]>>;
42
+ export declare const TUI_INPUT_FILE_TEXTS: InjectionToken<Signal<{
44
43
  defaultLabelMultiple: string;
45
44
  defaultLabelSingle: string;
46
45
  defaultLinkMultiple: string;
@@ -50,17 +49,18 @@ export declare const TUI_INPUT_FILE_TEXTS: InjectionToken<Observable<{
50
49
  formatRejectionReason: string;
51
50
  maxSizeRejectionReason: string;
52
51
  }>>;
53
- export declare const TUI_MULTI_SELECT_TEXTS: InjectionToken<Observable<{
52
+ export declare const TUI_MULTI_SELECT_TEXTS: InjectionToken<Signal<{
54
53
  all: string;
55
54
  none: string;
56
55
  }>>;
57
- export declare const TUI_COUNTRIES: InjectionToken<Observable<Record<TuiCountryIsoCode, string>>>;
58
- export declare const TUI_PREVIEW_TEXTS: InjectionToken<Observable<{
56
+ export declare const TUI_COUNTRIES: InjectionToken<Signal<Record<TuiCountryIsoCode, string>>>;
57
+ export declare const TUI_PREVIEW_TEXTS: InjectionToken<Signal<{
59
58
  rotate: string;
60
59
  }>>;
61
- export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Observable<{
60
+ export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Signal<{
62
61
  zoomIn: string;
63
62
  zoomOut: string;
64
63
  reset: string;
65
64
  }>>;
66
- export declare const TUI_INTERNATIONAL_SEARCH: InjectionToken<Observable<string>>;
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 +0,0 @@
1
- import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiAccordionItemContent extends PolymorpheusTemplate<Record<string, unknown>> {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItemContent, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionItemContent, "ng-template[tuiAccordionItemContent]", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiAccordionItemEagerContent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItemEagerContent, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionItemEagerContent, "[tuiAccordionItemContent]:not(ng-template)", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,25 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiSizeS } from '@taiga-ui/core/types';
3
- import { TuiAccordionItemContent } from './accordion-item-content.directive';
4
- import { TuiAccordionItemEagerContent } from './accordion-item-eager-content.directive';
5
- import * as i0 from "@angular/core";
6
- export declare class TuiAccordionItem {
7
- private readonly cdr;
8
- protected readonly eagerContent?: TuiAccordionItemEagerContent;
9
- protected readonly lazyContent?: TuiAccordionItemContent;
10
- noPadding: boolean;
11
- showArrow: boolean;
12
- borders: 'all' | 'top-bottom' | null;
13
- size: TuiSizeS;
14
- disabled: boolean;
15
- disableHover: boolean;
16
- open: boolean;
17
- async: boolean;
18
- readonly openChange: EventEmitter<boolean>;
19
- close(): void;
20
- protected onRowToggle(): void;
21
- protected onItemKeyDownEsc(event: Event): void;
22
- private updateOpen;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItem, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiAccordionItem, "tui-accordion-item", never, { "noPadding": { "alias": "noPadding"; "required": false; }; "showArrow": { "alias": "showArrow"; "required": false; }; "borders": { "alias": "borders"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableHover": { "alias": "disableHover"; "required": false; }; "open": { "alias": "open"; "required": false; }; "async": { "alias": "async"; "required": false; }; }, { "openChange": "openChange"; }, ["eagerContent", "lazyContent"], ["*", "[tuiAccordionItemContent]:not(ng-template)"], true, never>;
25
- }
@@ -1,3 +0,0 @@
1
- import { TuiActionBarComponent } from './action-bar.component';
2
- import { TuiActionBarDirective } from './action-bar.directive';
3
- export declare const TuiActionBar: readonly [typeof TuiActionBarComponent, typeof TuiActionBarDirective];
@@ -1,6 +0,0 @@
1
- import { TuiDropdownPortal } from '@taiga-ui/core/directives/dropdown';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiActionBarDirective extends TuiDropdownPortal {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiActionBarDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiActionBarDirective, "ng-template[tuiActionBar]", never, { "tuiDropdown": { "alias": "tuiActionBar"; "required": false; }; }, {}, never, never, true, never>;
6
- }
@@ -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,4 +0,0 @@
1
- export * from './pdf-viewer.component';
2
- export * from './pdf-viewer.directive';
3
- export * from './pdf-viewer.options';
4
- export * from './pdf-viewer.service';
@@ -1,12 +0,0 @@
1
- import { type TuiPopover } from '@taiga-ui/cdk/services';
2
- import { type TuiPdfViewerOptions } from './pdf-viewer.options';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@taiga-ui/cdk/directives/animated";
5
- export declare class TuiPdfViewerComponent<I, O> {
6
- protected readonly closeWord$: import("rxjs").Observable<string>;
7
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
8
- protected readonly context: TuiPopover<TuiPdfViewerOptions<I>, O>;
9
- protected onKeyDownEsc(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerComponent<any, any>, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiPdfViewerComponent<any, any>, "tui-pdf-viewer", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
12
- }
@@ -1,7 +0,0 @@
1
- import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
2
- import { type TuiPdfViewerOptions } from './pdf-viewer.options';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiPdfViewerDirective<T> extends TuiPopoverDirective<TuiPdfViewerOptions<T>> {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerDirective<any>, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPdfViewerDirective<any>, "ng-template[tuiPdfViewer]", never, { "options": { "alias": "tuiPdfViewerOptions"; "required": false; }; "open": { "alias": "tuiPdfViewer"; "required": false; }; }, { "openChange": "tuiPdfViewerChange"; }, never, never, true, never>;
7
- }
@@ -1,13 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
- export declare const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerOptions;
4
- /**
5
- * Default parameters for PdfViewer component
6
- */
7
- export declare const TUI_PDF_VIEWER_OPTIONS: InjectionToken<TuiPdfViewerOptions<undefined>>;
8
- export declare function tuiPdfViewerOptionsProvider(options: Partial<TuiPdfViewerOptions>): Provider;
9
- export interface TuiPdfViewerOptions<I = undefined> {
10
- readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;
11
- readonly data: I;
12
- readonly label: string;
13
- }
@@ -1,13 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import { type TuiPopoverContext, TuiPopoverService } from '@taiga-ui/cdk/services';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import { type Observable } from 'rxjs';
5
- import { type TuiPdfViewerOptions } from './pdf-viewer.options';
6
- import * as i0 from "@angular/core";
7
- type Content<G> = PolymorpheusContent<TuiPdfViewerOptions<unknown> & TuiPopoverContext<G>>;
8
- export declare class TuiPdfViewerService extends TuiPopoverService<TuiPdfViewerOptions<unknown>> {
9
- open<G>(content: Content<G> | SafeResourceUrl, options?: Partial<TuiPdfViewerOptions<any>>): Observable<G>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiPdfViewerService>;
12
- }
13
- export {};
@@ -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,27 +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").WritableSignal<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").WritableSignal<"m" | "l" | "s">;
21
- readonly limit: import("@angular/core").WritableSignal<number>;
22
- set limitSetter(limit: number);
23
- ngDoCheck(): void;
24
- validate(control: AbstractControl): ValidationErrors | null;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextareaLimit, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextareaLimit, "[tuiTextarea][limit]", never, { "limitSetter": { "alias": "limit"; "required": false; }; }, {}, never, never, true, never>;
27
- }
@@ -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,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":"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"}
@@ -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":"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"}