@taiga-ui/kit 4.51.0 → 4.52.0-canary.1acd1eb

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 (849) hide show
  1. package/components/accordion/accordion.component.d.ts +13 -0
  2. package/components/accordion/accordion.d.ts +4 -4
  3. package/components/accordion/accordion.directive.d.ts +11 -10
  4. package/components/accordion/index.d.ts +1 -3
  5. package/components/action-bar/action-bar.component.d.ts +5 -7
  6. package/components/action-bar/index.d.ts +0 -2
  7. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  8. package/components/avatar/avatar.directive.d.ts +15 -0
  9. package/components/avatar/avatar.options.d.ts +1 -4
  10. package/components/avatar/index.d.ts +1 -1
  11. package/components/badge/badge.directive.d.ts +2 -2
  12. package/components/block/block.directive.d.ts +4 -4
  13. package/components/block/block.options.d.ts +1 -1
  14. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  15. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  16. package/components/calendar-range/calendar-range.component.d.ts +1 -2
  17. package/components/checkbox/checkbox.component.d.ts +7 -18
  18. package/components/checkbox/checkbox.options.d.ts +5 -9
  19. package/components/chip/chip.directive.d.ts +2 -4
  20. package/components/comment/comment.directive.d.ts +2 -2
  21. package/components/confirm/confirm.component.d.ts +2 -1
  22. package/components/confirm/confirm.service.d.ts +2 -1
  23. package/{directives → components}/copy/copy.component.d.ts +1 -1
  24. package/{directives → components}/copy/copy.directive.d.ts +2 -2
  25. package/{directives → components}/copy/copy.options.d.ts +2 -2
  26. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
  27. package/components/files/file/file.options.d.ts +1 -1
  28. package/components/files/files/files.component.d.ts +2 -2
  29. package/components/floating-container/floating-container.directive.d.ts +2 -2
  30. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  31. package/components/fullscreen/index.d.ts +1 -0
  32. package/components/index.d.ts +4 -2
  33. package/components/input-chip/input-chip.options.d.ts +1 -1
  34. package/components/input-color/input-color.component.d.ts +2 -1
  35. package/components/input-color/input-color.options.d.ts +1 -1
  36. package/components/input-date/input-date.directive.d.ts +1 -1
  37. package/components/input-date/input-date.options.d.ts +1 -1
  38. package/components/input-number/input-number.options.d.ts +1 -1
  39. package/components/input-number/quantum.directive.d.ts +2 -2
  40. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  41. package/components/input-phone/input-phone.options.d.ts +1 -1
  42. package/components/input-phone-international/input-phone-international.component.d.ts +24 -30
  43. package/components/input-pin/input-pin.component.d.ts +1 -1
  44. package/components/input-range/input-range.component.d.ts +9 -12
  45. package/components/input-slider/input-slider.directive.d.ts +2 -4
  46. package/components/input-time/input-time.directive.d.ts +1 -0
  47. package/components/input-time/input-time.options.d.ts +1 -1
  48. package/components/like/like.component.d.ts +4 -11
  49. package/components/like/like.options.d.ts +3 -4
  50. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  51. package/components/line-clamp/line-clamp.component.d.ts +12 -18
  52. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -3
  53. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  54. package/components/notification-middle/index.d.ts +3 -0
  55. package/components/notification-middle/notification-middle.component.d.ts +16 -0
  56. package/components/notification-middle/notification-middle.directive.d.ts +7 -0
  57. package/components/notification-middle/notification-middle.service.d.ts +7 -0
  58. package/components/pager/pager.component.d.ts +1 -1
  59. package/components/pagination/pagination.component.d.ts +1 -1
  60. package/components/pin/pin.directive.d.ts +2 -2
  61. package/components/preview/pagination/preview-pagination.component.d.ts +1 -1
  62. package/components/preview/preview.component.d.ts +1 -1
  63. package/components/preview/zoom/preview-zoom.component.d.ts +1 -1
  64. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  65. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  66. package/components/push/push-alert.component.d.ts +4 -3
  67. package/components/push/push.component.d.ts +2 -2
  68. package/components/push/push.directive.d.ts +4 -6
  69. package/components/push/push.options.d.ts +4 -8
  70. package/components/push/push.service.d.ts +6 -2
  71. package/components/radio/radio.component.d.ts +7 -8
  72. package/components/radio/radio.directive.d.ts +2 -2
  73. package/components/radio/radio.options.d.ts +2 -5
  74. package/components/range/range-change.directive.d.ts +1 -1
  75. package/components/range/range.component.d.ts +0 -5
  76. package/components/rating/rating.component.d.ts +5 -5
  77. package/components/rating/rating.options.d.ts +5 -3
  78. package/components/segmented/segmented.component.d.ts +5 -5
  79. package/components/slider/helpers/key-steps.d.ts +1 -2
  80. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  81. package/components/slides/slides.directive.d.ts +4 -4
  82. package/components/status/status.directive.d.ts +2 -2
  83. package/components/switch/switch.component.d.ts +7 -19
  84. package/components/switch/switch.options.d.ts +4 -8
  85. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  86. package/components/textarea/textarea-limit.directive.d.ts +4 -6
  87. package/components/textarea/textarea.options.d.ts +1 -1
  88. package/components/toast/index.d.ts +5 -0
  89. package/components/toast/toast.component.d.ts +18 -0
  90. package/components/toast/toast.d.ts +3 -0
  91. package/components/toast/toast.directive.d.ts +7 -0
  92. package/components/toast/toast.options.d.ts +9 -0
  93. package/components/toast/toast.service.d.ts +17 -0
  94. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  95. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +2 -7
  96. package/directives/button-select/button-select.directive.d.ts +1 -2
  97. package/directives/chevron/chevron.directive.d.ts +2 -3
  98. package/directives/fade/fade.directive.d.ts +1 -0
  99. package/directives/highlight/highlight.directive.d.ts +2 -2
  100. package/directives/index.d.ts +0 -2
  101. package/directives/password/password.options.d.ts +1 -1
  102. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  103. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  104. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  105. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  106. package/directives/tooltip/tooltip.options.d.ts +2 -2
  107. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -145
  108. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  110. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-kit-components-avatar.mjs +81 -100
  112. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -4
  114. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-kit-components-badge.mjs +15 -21
  116. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -8
  118. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-kit-components-block.mjs +17 -24
  120. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +9 -12
  122. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +4 -5
  124. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +7 -10
  126. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +10 -11
  128. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-kit-components-carousel.mjs +21 -23
  130. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
  132. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-kit-components-chip.mjs +22 -27
  134. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +9 -9
  136. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
  138. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -4
  140. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-kit-components-confirm.mjs +14 -16
  142. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-kit-components-copy.mjs +120 -0
  144. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  145. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +21 -14
  146. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-kit-components-drawer.mjs +7 -7
  148. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +8 -8
  150. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-kit-components-files.mjs +41 -42
  152. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-kit-components-filter.mjs +7 -16
  154. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +13 -19
  156. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  158. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  159. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +22 -19
  160. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-input-color.mjs +12 -15
  162. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +7 -8
  164. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -4
  166. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +9 -11
  168. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-input-date.mjs +18 -20
  170. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +6 -6
  172. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  173. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +8 -9
  174. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-components-input-month.mjs +14 -16
  176. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-input-number.mjs +33 -32
  178. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +108 -134
  180. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +11 -13
  182. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +9 -8
  184. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-input-range.mjs +35 -39
  186. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +28 -42
  188. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  189. package/fesm2022/taiga-ui-kit-components-input-time.mjs +32 -16
  190. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-input-year.mjs +8 -9
  192. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +18 -18
  194. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
  196. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +38 -83
  198. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-components-message.mjs +10 -12
  200. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +45 -44
  202. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +90 -0
  204. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -0
  205. package/fesm2022/taiga-ui-kit-components-pager.mjs +8 -8
  206. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  207. package/fesm2022/taiga-ui-kit-components-pagination.mjs +8 -9
  208. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  209. package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
  210. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  211. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +13 -13
  212. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  213. package/fesm2022/taiga-ui-kit-components-preview.mjs +38 -40
  214. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  215. package/fesm2022/taiga-ui-kit-components-progress.mjs +39 -52
  216. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-pulse.mjs +4 -4
  218. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-push.mjs +50 -57
  220. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +7 -8
  222. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-radio.mjs +34 -39
  224. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-range.mjs +12 -21
  226. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -22
  228. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +5 -5
  230. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-segmented.mjs +8 -8
  232. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-select.mjs +41 -34
  234. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-slider.mjs +71 -70
  236. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-slides.mjs +14 -22
  238. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
  240. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-components-stepper.mjs +12 -12
  242. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-switch.mjs +19 -65
  244. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-tabs.mjs +35 -38
  246. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-components-textarea.mjs +19 -28
  248. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-components-tiles.mjs +13 -13
  250. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-components-toast.mjs +165 -0
  252. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  253. package/fesm2022/taiga-ui-kit-components-tree.mjs +37 -53
  254. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  255. package/fesm2022/taiga-ui-kit-components.mjs +4 -2
  256. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  257. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  258. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +10 -13
  260. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +5 -12
  262. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -20
  264. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-directives-connected.mjs +10 -15
  266. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -4
  268. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  269. package/fesm2022/taiga-ui-kit-directives-fade.mjs +11 -14
  270. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +4 -4
  272. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +5 -5
  274. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +8 -9
  276. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  277. package/fesm2022/taiga-ui-kit-directives-password.mjs +8 -11
  278. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  279. package/fesm2022/taiga-ui-kit-directives-present.mjs +4 -4
  280. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
  282. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
  284. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +27 -38
  286. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +15 -20
  288. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +6 -7
  290. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -4
  292. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-directives.mjs +0 -2
  294. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  296. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  297. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  298. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  300. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +5 -4
  302. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  303. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  304. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  305. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  306. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  307. package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
  308. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  309. package/fesm2022/taiga-ui-kit-tokens.mjs +7 -10
  310. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  311. package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
  312. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  313. package/package.json +33 -246
  314. package/pipes/index.d.ts +0 -1
  315. package/styles/components/avatar.less +188 -0
  316. package/styles/components/badge.less +4 -18
  317. package/styles/components/block.less +1 -1
  318. package/styles/components/checkbox.less +17 -16
  319. package/styles/components/chip.less +19 -4
  320. package/styles/components/like.less +15 -17
  321. package/styles/components/pin.less +3 -7
  322. package/styles/components/radio.less +2 -2
  323. package/styles/components/switch.less +12 -12
  324. package/styles/components/toast.less +44 -0
  325. package/tokens/i18n.d.ts +25 -26
  326. package/tokens/index.d.ts +0 -1
  327. package/tokens/input-date-options.d.ts +1 -1
  328. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  329. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  330. package/components/accordion/accordion-item.component.d.ts +0 -25
  331. package/components/action-bar/action-bar.d.ts +0 -3
  332. package/components/action-bar/action-bar.directive.d.ts +0 -6
  333. package/components/avatar/avatar.component.d.ts +0 -15
  334. package/components/input-password/index.d.ts +0 -2
  335. package/components/input-password/input-password.component.d.ts +0 -16
  336. package/components/input-password/input-password.options.d.ts +0 -24
  337. package/components/pdf-viewer/index.d.ts +0 -4
  338. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  339. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  340. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  341. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  342. package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
  343. package/directives/icon-badge/index.d.ts +0 -1
  344. package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
  345. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
  346. package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
  347. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  348. package/esm2022/components/accordion/accordion.mjs +0 -11
  349. package/esm2022/components/accordion/index.mjs +0 -6
  350. package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
  351. package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
  352. package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
  353. package/esm2022/components/action-bar/action-bar.mjs +0 -4
  354. package/esm2022/components/action-bar/index.mjs +0 -4
  355. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
  356. package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
  357. package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
  358. package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
  359. package/esm2022/components/avatar/avatar.component.mjs +0 -59
  360. package/esm2022/components/avatar/avatar.options.mjs +0 -14
  361. package/esm2022/components/avatar/index.mjs +0 -6
  362. package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
  363. package/esm2022/components/badge/badge.directive.mjs +0 -42
  364. package/esm2022/components/badge/badge.options.mjs +0 -13
  365. package/esm2022/components/badge/index.mjs +0 -3
  366. package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
  367. package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
  368. package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
  369. package/esm2022/components/badge-notification/index.mjs +0 -3
  370. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
  371. package/esm2022/components/badged-content/badge-content.mjs +0 -7
  372. package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
  373. package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
  374. package/esm2022/components/badged-content/index.mjs +0 -4
  375. package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
  376. package/esm2022/components/block/block.directive.mjs +0 -58
  377. package/esm2022/components/block/block.options.mjs +0 -13
  378. package/esm2022/components/block/index.mjs +0 -3
  379. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
  380. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
  381. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
  382. package/esm2022/components/breadcrumbs/index.mjs +0 -3
  383. package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
  384. package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
  385. package/esm2022/components/button-loading/index.mjs +0 -2
  386. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
  387. package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
  388. package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
  389. package/esm2022/components/calendar-month/index.mjs +0 -3
  390. package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
  391. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
  392. package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
  393. package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
  394. package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
  395. package/esm2022/components/calendar-range/index.mjs +0 -5
  396. package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
  397. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
  398. package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
  399. package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
  400. package/esm2022/components/carousel/carousel.component.mjs +0 -166
  401. package/esm2022/components/carousel/carousel.directive.mjs +0 -37
  402. package/esm2022/components/carousel/carousel.mjs +0 -15
  403. package/esm2022/components/carousel/index.mjs +0 -7
  404. package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
  405. package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
  406. package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
  407. package/esm2022/components/checkbox/index.mjs +0 -3
  408. package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
  409. package/esm2022/components/chip/chip.directive.mjs +0 -63
  410. package/esm2022/components/chip/chip.options.mjs +0 -13
  411. package/esm2022/components/chip/index.mjs +0 -3
  412. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
  413. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
  414. package/esm2022/components/combo-box/index.mjs +0 -2
  415. package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
  416. package/esm2022/components/comment/comment.directive.mjs +0 -35
  417. package/esm2022/components/comment/index.mjs +0 -2
  418. package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
  419. package/esm2022/components/compass/compass.component.mjs +0 -19
  420. package/esm2022/components/compass/index.mjs +0 -2
  421. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
  422. package/esm2022/components/confirm/confirm.component.mjs +0 -29
  423. package/esm2022/components/confirm/confirm.service.mjs +0 -32
  424. package/esm2022/components/confirm/index.mjs +0 -3
  425. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
  426. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
  427. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
  428. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
  429. package/esm2022/components/data-list-wrapper/index.mjs +0 -4
  430. package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
  431. package/esm2022/components/drawer/drawer.component.mjs +0 -44
  432. package/esm2022/components/drawer/index.mjs +0 -2
  433. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
  434. package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
  435. package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
  436. package/esm2022/components/elastic-container/index.mjs +0 -3
  437. package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
  438. package/esm2022/components/files/file/file.component.mjs +0 -144
  439. package/esm2022/components/files/file/file.options.mjs +0 -16
  440. package/esm2022/components/files/files/files.component.mjs +0 -49
  441. package/esm2022/components/files/files.mjs +0 -15
  442. package/esm2022/components/files/files.types.mjs +0 -2
  443. package/esm2022/components/files/files.utils.mjs +0 -30
  444. package/esm2022/components/files/files.validators.mjs +0 -32
  445. package/esm2022/components/files/index.mjs +0 -13
  446. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
  447. package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
  448. package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
  449. package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
  450. package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
  451. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
  452. package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
  453. package/esm2022/components/filter/filter.component.mjs +0 -65
  454. package/esm2022/components/filter/index.mjs +0 -2
  455. package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
  456. package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
  457. package/esm2022/components/floating-container/index.mjs +0 -2
  458. package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
  459. package/esm2022/components/index.mjs +0 -72
  460. package/esm2022/components/input-chip/index.mjs +0 -5
  461. package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
  462. package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
  463. package/esm2022/components/input-chip/input-chip.mjs +0 -4
  464. package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
  465. package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
  466. package/esm2022/components/input-color/index.mjs +0 -3
  467. package/esm2022/components/input-color/input-color.component.mjs +0 -89
  468. package/esm2022/components/input-color/input-color.options.mjs +0 -6
  469. package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
  470. package/esm2022/components/input-date/date-filler.mjs +0 -20
  471. package/esm2022/components/input-date/index.mjs +0 -6
  472. package/esm2022/components/input-date/input-date.component.mjs +0 -33
  473. package/esm2022/components/input-date/input-date.directive.mjs +0 -167
  474. package/esm2022/components/input-date/input-date.mjs +0 -9
  475. package/esm2022/components/input-date/input-date.options.mjs +0 -11
  476. package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
  477. package/esm2022/components/input-date-multi/index.mjs +0 -3
  478. package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
  479. package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
  480. package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
  481. package/esm2022/components/input-date-range/index.mjs +0 -4
  482. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
  483. package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
  484. package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
  485. package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
  486. package/esm2022/components/input-date-time/index.mjs +0 -5
  487. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
  488. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
  489. package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
  490. package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
  491. package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
  492. package/esm2022/components/input-inline/index.mjs +0 -2
  493. package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
  494. package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
  495. package/esm2022/components/input-month/index.mjs +0 -5
  496. package/esm2022/components/input-month/input-month.component.mjs +0 -53
  497. package/esm2022/components/input-month/input-month.directive.mjs +0 -65
  498. package/esm2022/components/input-month/input-month.mjs +0 -9
  499. package/esm2022/components/input-month/input-month.options.mjs +0 -19
  500. package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
  501. package/esm2022/components/input-month-range/index.mjs +0 -4
  502. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
  503. package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
  504. package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
  505. package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
  506. package/esm2022/components/input-number/index.mjs +0 -6
  507. package/esm2022/components/input-number/input-number.directive.mjs +0 -196
  508. package/esm2022/components/input-number/input-number.mjs +0 -9
  509. package/esm2022/components/input-number/input-number.options.mjs +0 -15
  510. package/esm2022/components/input-number/quantum.directive.mjs +0 -68
  511. package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
  512. package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
  513. package/esm2022/components/input-password/index.mjs +0 -3
  514. package/esm2022/components/input-password/input-password.component.mjs +0 -69
  515. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  516. package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
  517. package/esm2022/components/input-phone/index.mjs +0 -3
  518. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
  519. package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
  520. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
  521. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  522. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  523. package/esm2022/components/input-phone-international/index.mjs +0 -3
  524. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
  525. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
  526. package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
  527. package/esm2022/components/input-pin/index.mjs +0 -2
  528. package/esm2022/components/input-pin/input-pin.component.mjs +0 -65
  529. package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
  530. package/esm2022/components/input-range/index.mjs +0 -3
  531. package/esm2022/components/input-range/input-range.component.mjs +0 -166
  532. package/esm2022/components/input-range/input-range.mjs +0 -4
  533. package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
  534. package/esm2022/components/input-slider/index.mjs +0 -3
  535. package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
  536. package/esm2022/components/input-slider/input-slider.mjs +0 -9
  537. package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
  538. package/esm2022/components/input-time/index.mjs +0 -5
  539. package/esm2022/components/input-time/input-time.component.mjs +0 -64
  540. package/esm2022/components/input-time/input-time.directive.mjs +0 -159
  541. package/esm2022/components/input-time/input-time.mjs +0 -4
  542. package/esm2022/components/input-time/input-time.options.mjs +0 -10
  543. package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
  544. package/esm2022/components/input-year/index.mjs +0 -4
  545. package/esm2022/components/input-year/input-year.directive.mjs +0 -103
  546. package/esm2022/components/input-year/input-year.mjs +0 -4
  547. package/esm2022/components/input-year/input-year.options.mjs +0 -12
  548. package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
  549. package/esm2022/components/items-with-more/index.mjs +0 -6
  550. package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
  551. package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
  552. package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
  553. package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
  554. package/esm2022/components/items-with-more/more.directive.mjs +0 -18
  555. package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
  556. package/esm2022/components/like/index.mjs +0 -3
  557. package/esm2022/components/like/like.component.mjs +0 -46
  558. package/esm2022/components/like/like.options.mjs +0 -10
  559. package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
  560. package/esm2022/components/line-clamp/index.mjs +0 -4
  561. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
  562. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
  563. package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
  564. package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
  565. package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
  566. package/esm2022/components/message/index.mjs +0 -2
  567. package/esm2022/components/message/message.directive.mjs +0 -43
  568. package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
  569. package/esm2022/components/multi-select/index.mjs +0 -6
  570. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
  571. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
  572. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
  573. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
  574. package/esm2022/components/multi-select/multi-select.mjs +0 -9
  575. package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
  576. package/esm2022/components/pager/index.mjs +0 -2
  577. package/esm2022/components/pager/pager.component.mjs +0 -97
  578. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  579. package/esm2022/components/pagination/index.mjs +0 -2
  580. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  581. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  582. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  583. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  584. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  585. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  586. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  587. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  588. package/esm2022/components/pin/index.mjs +0 -2
  589. package/esm2022/components/pin/pin.directive.mjs +0 -35
  590. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  591. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  592. package/esm2022/components/preview/dialog/index.mjs +0 -4
  593. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  594. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  595. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  596. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  597. package/esm2022/components/preview/index.mjs +0 -8
  598. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  599. package/esm2022/components/preview/preview.component.mjs +0 -142
  600. package/esm2022/components/preview/preview.mjs +0 -13
  601. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  602. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  603. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
  604. package/esm2022/components/progress/index.mjs +0 -9
  605. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  606. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  607. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
  608. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  609. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  610. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  611. package/esm2022/components/progress/progress.mjs +0 -15
  612. package/esm2022/components/progress/progress.options.mjs +0 -13
  613. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  614. package/esm2022/components/pulse/index.mjs +0 -2
  615. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  616. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  617. package/esm2022/components/push/index.mjs +0 -7
  618. package/esm2022/components/push/push-alert.component.mjs +0 -29
  619. package/esm2022/components/push/push.component.mjs +0 -39
  620. package/esm2022/components/push/push.directive.mjs +0 -33
  621. package/esm2022/components/push/push.mjs +0 -5
  622. package/esm2022/components/push/push.options.mjs +0 -21
  623. package/esm2022/components/push/push.service.mjs +0 -19
  624. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  625. package/esm2022/components/radio/index.mjs +0 -5
  626. package/esm2022/components/radio/radio.component.mjs +0 -53
  627. package/esm2022/components/radio/radio.directive.mjs +0 -32
  628. package/esm2022/components/radio/radio.mjs +0 -4
  629. package/esm2022/components/radio/radio.options.mjs +0 -13
  630. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  631. package/esm2022/components/radio-list/index.mjs +0 -2
  632. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  633. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  634. package/esm2022/components/range/index.mjs +0 -3
  635. package/esm2022/components/range/range-change.directive.mjs +0 -78
  636. package/esm2022/components/range/range.component.mjs +0 -164
  637. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  638. package/esm2022/components/rating/index.mjs +0 -3
  639. package/esm2022/components/rating/rating.component.mjs +0 -65
  640. package/esm2022/components/rating/rating.options.mjs +0 -13
  641. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  642. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  643. package/esm2022/components/routable-dialog/index.mjs +0 -3
  644. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  645. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  646. package/esm2022/components/segmented/index.mjs +0 -3
  647. package/esm2022/components/segmented/segmented.component.mjs +0 -67
  648. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  649. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  650. package/esm2022/components/select/index.mjs +0 -5
  651. package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
  652. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  653. package/esm2022/components/select/select.directive.mjs +0 -56
  654. package/esm2022/components/select/select.mjs +0 -4
  655. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  656. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  657. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  658. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  659. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  660. package/esm2022/components/slider/index.mjs +0 -8
  661. package/esm2022/components/slider/slider.component.mjs +0 -124
  662. package/esm2022/components/slider/slider.mjs +0 -12
  663. package/esm2022/components/slider/slider.options.mjs +0 -16
  664. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  665. package/esm2022/components/slides/index.mjs +0 -2
  666. package/esm2022/components/slides/slides.directive.mjs +0 -51
  667. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  668. package/esm2022/components/status/index.mjs +0 -2
  669. package/esm2022/components/status/status.directive.mjs +0 -35
  670. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  671. package/esm2022/components/stepper/index.mjs +0 -4
  672. package/esm2022/components/stepper/step.component.mjs +0 -58
  673. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  674. package/esm2022/components/stepper/stepper.mjs +0 -4
  675. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  676. package/esm2022/components/switch/index.mjs +0 -3
  677. package/esm2022/components/switch/switch.component.mjs +0 -63
  678. package/esm2022/components/switch/switch.options.mjs +0 -15
  679. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  680. package/esm2022/components/tabs/index.mjs +0 -9
  681. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  682. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  683. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  684. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -211
  685. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  686. package/esm2022/components/tabs/tabs.mjs +0 -15
  687. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  688. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  689. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  690. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  691. package/esm2022/components/textarea/index.mjs +0 -4
  692. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  693. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -94
  694. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  695. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  696. package/esm2022/components/tiles/index.mjs +0 -7
  697. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  698. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  699. package/esm2022/components/tiles/tile.component.mjs +0 -69
  700. package/esm2022/components/tiles/tile.service.mjs +0 -90
  701. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  702. package/esm2022/components/tiles/tiles.mjs +0 -5
  703. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  704. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  705. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  706. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  707. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  708. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  709. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  710. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  711. package/esm2022/components/tree/index.mjs +0 -12
  712. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  713. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  714. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  715. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  716. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  717. package/esm2022/components/tree/tree.mjs +0 -17
  718. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  719. package/esm2022/directives/button-close/index.mjs +0 -2
  720. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  721. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  722. package/esm2022/directives/button-group/index.mjs +0 -2
  723. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  724. package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
  725. package/esm2022/directives/button-select/index.mjs +0 -2
  726. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  727. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  728. package/esm2022/directives/chevron/index.mjs +0 -2
  729. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  730. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  731. package/esm2022/directives/connected/index.mjs +0 -2
  732. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  733. package/esm2022/directives/copy/copy.component.mjs +0 -48
  734. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  735. package/esm2022/directives/copy/copy.mjs +0 -4
  736. package/esm2022/directives/copy/copy.options.mjs +0 -3
  737. package/esm2022/directives/copy/index.mjs +0 -6
  738. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  739. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  740. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  741. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  742. package/esm2022/directives/fade/fade.directive.mjs +0 -92
  743. package/esm2022/directives/fade/index.mjs +0 -2
  744. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  745. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  746. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  747. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  748. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  749. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  750. package/esm2022/directives/highlight/index.mjs +0 -2
  751. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  752. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  753. package/esm2022/directives/icon-badge/index.mjs +0 -2
  754. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  755. package/esm2022/directives/index.mjs +0 -21
  756. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  757. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
  758. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  759. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  760. package/esm2022/directives/password/index.mjs +0 -3
  761. package/esm2022/directives/password/password.directive.mjs +0 -67
  762. package/esm2022/directives/password/password.options.mjs +0 -8
  763. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  764. package/esm2022/directives/present/index.mjs +0 -2
  765. package/esm2022/directives/present/present.directive.mjs +0 -33
  766. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  767. package/esm2022/directives/sensitive/index.mjs +0 -2
  768. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  769. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  770. package/esm2022/directives/shimmer/index.mjs +0 -2
  771. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  772. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  773. package/esm2022/directives/skeleton/index.mjs +0 -2
  774. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  775. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  776. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  777. package/esm2022/directives/tooltip/index.mjs +0 -3
  778. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  779. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  780. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  781. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  782. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  783. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  784. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  785. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  786. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  787. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  788. package/esm2022/index.mjs +0 -6
  789. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  790. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  791. package/esm2022/pipes/emails/index.mjs +0 -3
  792. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  793. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  794. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  795. package/esm2022/pipes/field-error/index.mjs +0 -3
  796. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  797. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  798. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  799. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  800. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  801. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  802. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  803. package/esm2022/pipes/index.mjs +0 -8
  804. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  805. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  806. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  807. package/esm2022/pipes/stringify/index.mjs +0 -2
  808. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  809. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  810. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  811. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  812. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  813. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  814. package/esm2022/taiga-ui-kit.mjs +0 -5
  815. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  816. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  817. package/esm2022/tokens/i18n.mjs +0 -75
  818. package/esm2022/tokens/index.mjs +0 -10
  819. package/esm2022/tokens/input-date-options.mjs +0 -13
  820. package/esm2022/tokens/items-handlers.mjs +0 -27
  821. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  822. package/esm2022/tokens/month-formatter.mjs +0 -12
  823. package/esm2022/tokens/preview-icons.mjs +0 -17
  824. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  825. package/esm2022/tokens/validation-errors.mjs +0 -6
  826. package/esm2022/utils/create-time-periods.mjs +0 -12
  827. package/esm2022/utils/index.mjs +0 -7
  828. package/esm2022/utils/inject-value.mjs +0 -11
  829. package/esm2022/utils/is-flat.mjs +0 -4
  830. package/esm2022/utils/maskito.binding.mjs +0 -6
  831. package/esm2022/utils/phone.mjs +0 -6
  832. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  833. package/esm2022/utils/toggle-day.mjs +0 -6
  834. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -96
  835. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  836. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  837. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  838. package/fesm2022/taiga-ui-kit-directives-copy.mjs +0 -120
  839. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  840. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  841. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
  842. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  843. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  844. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  845. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  846. package/pipes/field-error/index.d.ts +0 -2
  847. package/tokens/validation-errors.d.ts +0 -5
  848. /package/{directives → components}/copy/copy.d.ts +0 -0
  849. /package/{directives → components}/copy/index.d.ts +0 -0
@@ -1,17 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import { TuiDropdownPortal } from '@taiga-ui/core/directives/dropdown';
3
- import * as i0 from "@angular/core";
4
- class TuiActionBarDirective extends TuiDropdownPortal {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiActionBarDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
6
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiActionBarDirective, isStandalone: true, selector: "ng-template[tuiActionBar]", inputs: { tuiDropdown: ["tuiActionBar", "tuiDropdown"] }, usesInheritance: true, ngImport: i0 }); }
7
- }
8
- export { TuiActionBarDirective };
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiActionBarDirective, decorators: [{
10
- type: Directive,
11
- args: [{
12
- standalone: true,
13
- selector: 'ng-template[tuiActionBar]',
14
- inputs: ['tuiDropdown: tuiActionBar'],
15
- }]
16
- }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLWJhci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9hY3Rpb24tYmFyL2FjdGlvbi1iYXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEMsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sb0NBQW9DLENBQUM7O0FBRXJFLE1BS2EscUJBQXNCLFNBQVEsaUJBQWlCOytHQUEvQyxxQkFBcUI7bUdBQXJCLHFCQUFxQjs7U0FBckIscUJBQXFCOzRGQUFyQixxQkFBcUI7a0JBTGpDLFNBQVM7bUJBQUM7b0JBQ1AsVUFBVSxFQUFFLElBQUk7b0JBQ2hCLFFBQVEsRUFBRSwyQkFBMkI7b0JBQ3JDLE1BQU0sRUFBRSxDQUFDLDJCQUEyQixDQUFDO2lCQUN4QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RGlyZWN0aXZlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7VHVpRHJvcGRvd25Qb3J0YWx9IGZyb20gJ0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvZHJvcGRvd24nO1xuXG5ARGlyZWN0aXZlKHtcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxuICAgIHNlbGVjdG9yOiAnbmctdGVtcGxhdGVbdHVpQWN0aW9uQmFyXScsXG4gICAgaW5wdXRzOiBbJ3R1aURyb3Bkb3duOiB0dWlBY3Rpb25CYXInXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQWN0aW9uQmFyRGlyZWN0aXZlIGV4dGVuZHMgVHVpRHJvcGRvd25Qb3J0YWwge31cbiJdfQ==
@@ -1,4 +0,0 @@
1
- import { TuiActionBarComponent } from './action-bar.component';
2
- import { TuiActionBarDirective } from './action-bar.directive';
3
- export const TuiActionBar = [TuiActionBarComponent, TuiActionBarDirective];
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLWJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2FjdGlvbi1iYXIvYWN0aW9uLWJhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUM3RCxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUU3RCxNQUFNLENBQUMsTUFBTSxZQUFZLEdBQUcsQ0FBQyxxQkFBcUIsRUFBRSxxQkFBcUIsQ0FBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtUdWlBY3Rpb25CYXJDb21wb25lbnR9IGZyb20gJy4vYWN0aW9uLWJhci5jb21wb25lbnQnO1xuaW1wb3J0IHtUdWlBY3Rpb25CYXJEaXJlY3RpdmV9IGZyb20gJy4vYWN0aW9uLWJhci5kaXJlY3RpdmUnO1xuXG5leHBvcnQgY29uc3QgVHVpQWN0aW9uQmFyID0gW1R1aUFjdGlvbkJhckNvbXBvbmVudCwgVHVpQWN0aW9uQmFyRGlyZWN0aXZlXSBhcyBjb25zdDtcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './action-bar';
2
- export * from './action-bar.component';
3
- export * from './action-bar.directive';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9hY3Rpb24tYmFyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWN0aW9uLWJhcic7XG5leHBvcnQgKiBmcm9tICcuL2FjdGlvbi1iYXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYWN0aW9uLWJhci5kaXJlY3RpdmUnO1xuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtYWN0aW9uLWJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2FjdGlvbi1iYXIvdGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtYWN0aW9uLWJhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,47 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { NgForOf, NgIf } from '@angular/common';
3
- import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, } from '@angular/core';
4
- import { tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
5
- import { TuiFade } from '@taiga-ui/kit/directives/fade';
6
- import * as i0 from "@angular/core";
7
- class TuiAvatarLabeled {
8
- constructor() {
9
- this.label = '';
10
- }
11
- split(label) {
12
- return label.split(' ');
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarLabeled, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatarLabeled, isStandalone: true, selector: "tui-avatar-labeled", inputs: { label: "label" }, ngImport: i0, template: `
16
- <ng-content />
17
- <ng-container *ngIf="label.length">
18
- <span
19
- *ngFor="let item of split(label)"
20
- tuiFade
21
- >
22
- {{ item }}
23
- </span>
24
- </ng-container>
25
- `, isInline: true, styles: ["tui-avatar-labeled{display:flex;inline-size:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled tui-avatar{margin-block-end:.375rem}tui-avatar-labeled [tuiFade]{inline-size:calc(100% + 1rem)}\n"], dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TuiFade, selector: "[tuiFade]", inputs: ["tuiFadeHeight", "tuiFadeSize", "tuiFadeOffset", "tuiFade"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
26
- }
27
- __decorate([
28
- tuiPure
29
- ], TuiAvatarLabeled.prototype, "split", null);
30
- export { TuiAvatarLabeled };
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarLabeled, decorators: [{
32
- type: Component,
33
- args: [{ standalone: true, selector: 'tui-avatar-labeled', imports: [NgForOf, NgIf, TuiFade], template: `
34
- <ng-content />
35
- <ng-container *ngIf="label.length">
36
- <span
37
- *ngFor="let item of split(label)"
38
- tuiFade
39
- >
40
- {{ item }}
41
- </span>
42
- </ng-container>
43
- `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["tui-avatar-labeled{display:flex;inline-size:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled tui-avatar{margin-block-end:.375rem}tui-avatar-labeled [tuiFade]{inline-size:calc(100% + 1rem)}\n"] }]
44
- }], propDecorators: { label: [{
45
- type: Input
46
- }], split: [] } });
47
- //# sour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W5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQXZhdGFyTGFiZWxlZCB7XG4gICAgQElucHV0KClcbiAgICBwdWJsaWMgbGFiZWwgPSAnJztcblxuICAgIEB0dWlQdXJlXG4gICAgcHJvdGVjdGVkIHNwbGl0KGxhYmVsOiBzdHJpbmcpOiByZWFkb25seSBzdHJpbmdbXSB7XG4gICAgICAgIHJldHVybiBsYWJlbC5zcGxpdCgnICcpO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,41 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Directive, Input, ViewEncapsulation, } from '@angular/core';
2
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
3
- import * as i0 from "@angular/core";
4
- class TuiAvatarOutlineStyles {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarOutlineStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatarOutlineStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-avatar-outline" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiAvatarOutline]{--t-outline: .1875rem;--t-gap: .125rem}[tuiAvatarOutline][data-size=xs],[tuiAvatarOutline][data-size=s],[tuiAvatarOutline][data-size=m]{--t-outline: .125rem;--t-gap: .0625rem}[tuiAvatarOutline]._outline{-webkit-mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)));mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}[tuiAvatarOutline]._outline:after{content:\"\";position:absolute;top:0;left:0;inline-size:100%;block-size:100%;background:var(--t-fill);-webkit-mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)));mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
7
- }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarOutlineStyles, decorators: [{
9
- type: Component,
10
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
11
- class: 'tui-avatar-outline',
12
- }, styles: ["[tuiAvatarOutline]{--t-outline: .1875rem;--t-gap: .125rem}[tuiAvatarOutline][data-size=xs],[tuiAvatarOutline][data-size=s],[tuiAvatarOutline][data-size=m]{--t-outline: .125rem;--t-gap: .0625rem}[tuiAvatarOutline]._outline{-webkit-mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)));mask:radial-gradient(closest-side,#000,#000 calc(100% - var(--t-gap) - var(--t-outline) - .5px),transparent calc(100% - var(--t-gap) - var(--t-outline)),transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}[tuiAvatarOutline]._outline:after{content:\"\";position:absolute;top:0;left:0;inline-size:100%;block-size:100%;background:var(--t-fill);-webkit-mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)));mask:radial-gradient(closest-side,transparent,transparent calc(100% - var(--t-outline) - .5px),#000 calc(100% - var(--t-outline)))}\n"] }]
13
- }] });
14
- class TuiAvatarOutline {
15
- constructor() {
16
- this.nothing = tuiWithStyles(TuiAvatarOutlineStyles);
17
- this.tuiAvatarOutline = '';
18
- }
19
- get value() {
20
- return this.tuiAvatarOutline === ''
21
- ? 'var(--tui-background-accent-1)'
22
- : this.tuiAvatarOutline;
23
- }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarOutline, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
25
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatarOutline, isStandalone: true, selector: "[tuiAvatarOutline]", inputs: { tuiAvatarOutline: "tuiAvatarOutline" }, host: { properties: { "style.--t-fill": "value", "class._outline": "value" } }, ngImport: i0 }); }
26
- }
27
- export { TuiAvatarOutline };
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarOutline, decorators: [{
29
- type: Directive,
30
- args: [{
31
- standalone: true,
32
- selector: '[tuiAvatarOutline]',
33
- host: {
34
- '[style.--t-fill]': 'value',
35
- '[class._outline]': 'value',
36
- },
37
- }]
38
- }], propDecorators: { tuiAvatarOutline: [{
39
- type: Input
40
- }] } });
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLW91dGxpbmUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYXZhdGFyL2F2YXRhci1vdXRsaW5lLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCx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CBnZXQgdmFsdWUoKTogc3RyaW5nIHwgbnVsbCB7XG4gICAgICAgIHJldHVybiB0aGlzLnR1aUF2YXRhck91dGxpbmUgPT09ICcnXG4gICAgICAgICAgICA/ICd2YXIoLS10dWktYmFja2dyb3VuZC1hY2NlbnQtMSknXG4gICAgICAgICAgICA6IHRoaXMudHVpQXZhdGFyT3V0bGluZTtcbiAgICB9XG59XG4iXX0=
@@ -1,19 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- class TuiAvatarStack {
4
- constructor() {
5
- this.direction = 'right';
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarStack, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatarStack, isStandalone: true, selector: "tui-avatar-stack", inputs: { direction: "direction" }, host: { properties: { "attr.data-direction": "direction" } }, ngImport: i0, template: '<ng-content />', isInline: true, styles: ["tui-avatar-stack{display:flex;--t-gap: .125rem}tui-avatar-stack tui-avatar{--t-offset: 2.5rem}tui-avatar-stack tui-avatar[data-size=xl]{--t-offset: 2.125rem}tui-avatar-stack tui-avatar[data-size=l]{--t-offset: 1.5rem}tui-avatar-stack tui-avatar[data-size=m]{--t-offset: .75rem}tui-avatar-stack tui-avatar[data-size=s]{--t-offset: .575rem}tui-avatar-stack tui-avatar[data-size=xs]{--t-offset: .375rem}tui-avatar-stack tui-avatar._round{-webkit-mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px));mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px))}tui-avatar-stack[data-direction=right] tui-avatar._round{--tui-inline: -1}[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar._round{--tui-inline: 1}tui-avatar-stack[data-direction=right] tui-avatar._round:last-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar._round:first-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child),[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child){-webkit-mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom;mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom}tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child),[dir=rtl] tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child){-webkit-mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom;mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom}tui-avatar-stack tui-avatar:not(._round){-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[dir=rtl] tui-avatar-stack[data-direction=left] tui-avatar:not(._round),tui-avatar-stack[data-direction=right] tui-avatar:not(._round){-webkit-mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%}[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar:not(._round){-webkit-mask-size:unset;mask-size:unset}tui-avatar-stack tui-avatar:not(:last-child){margin-inline-end:calc(-1 * var(--t-offset))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
9
- }
10
- export { TuiAvatarStack };
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatarStack, decorators: [{
12
- type: Component,
13
- args: [{ standalone: true, selector: 'tui-avatar-stack', template: '<ng-content />', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
14
- '[attr.data-direction]': 'direction',
15
- }, styles: ["tui-avatar-stack{display:flex;--t-gap: .125rem}tui-avatar-stack tui-avatar{--t-offset: 2.5rem}tui-avatar-stack tui-avatar[data-size=xl]{--t-offset: 2.125rem}tui-avatar-stack tui-avatar[data-size=l]{--t-offset: 1.5rem}tui-avatar-stack tui-avatar[data-size=m]{--t-offset: .75rem}tui-avatar-stack tui-avatar[data-size=s]{--t-offset: .575rem}tui-avatar-stack tui-avatar[data-size=xs]{--t-offset: .375rem}tui-avatar-stack tui-avatar._round{-webkit-mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px));mask-image:radial-gradient(circle at calc(50% - calc(var(--tui-inline) * (var(--t-size) - var(--t-offset)))) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px))}tui-avatar-stack[data-direction=right] tui-avatar._round{--tui-inline: -1}[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar._round{--tui-inline: 1}tui-avatar-stack[data-direction=right] tui-avatar._round:last-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar._round:first-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child),[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child){-webkit-mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom;mask-position:calc(var(--t-offset) - var(--t-radius)) calc(-1 * (var(--t-size) - var(--t-radius))),calc(var(--t-offset) - var(--t-radius)) calc(var(--t-size) - var(--t-radius)),bottom}tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child),[dir=rtl] tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child){-webkit-mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(var(--t-offset) + var(--t-gap)),#000 calc(var(--t-offset) + var(--t-gap)));-webkit-mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom;mask-position:calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(-1 * var(--t-gap)),calc((var(--t-offset) - var(--t-size) + var(--t-radius) / 2 + var(--t-gap) + 1px) * -1) calc(100% + var(--t-gap)),bottom}tui-avatar-stack tui-avatar:not(._round){-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[dir=rtl] tui-avatar-stack[data-direction=left] tui-avatar:not(._round),tui-avatar-stack[data-direction=right] tui-avatar:not(._round){-webkit-mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%}[dir=rtl] tui-avatar-stack[data-direction=right] tui-avatar:not(._round){-webkit-mask-size:unset;mask-size:unset}tui-avatar-stack tui-avatar:not(:last-child){margin-inline-end:calc(-1 * var(--t-offset))}\n"] }]
16
- }], propDecorators: { direction: [{
17
- type: Input
18
- }] } });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXN0YWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2F2YXRhci9hdmF0YXItc3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V0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgaG9zdDoge1xuICAgICAgICAnW2F0dHIuZGF0YS1kaXJlY3Rpb25dJzogJ2RpcmVjdGlvbicsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQXZhdGFyU3RhY2sge1xuICAgIEBJbnB1dCgpXG4gICAgcHVibGljIGRpcmVjdGlvbjogVHVpSG9yaXpvbnRhbERpcmVjdGlvbiA9ICdyaWdodCc7XG59XG4iXX0=
@@ -1,59 +0,0 @@
1
- import { NgIf } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, inject, Input } from '@angular/core';
3
- import { tuiIsString } from '@taiga-ui/cdk/utils/miscellaneous';
4
- import { tuiAppearanceOptionsProvider, TuiWithAppearance, } from '@taiga-ui/core/directives/appearance';
5
- import { TuiIcons } from '@taiga-ui/core/directives/icons';
6
- import { TUI_AVATAR_OPTIONS } from './avatar.options';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@taiga-ui/core/directives/appearance";
9
- import * as i2 from "@taiga-ui/core/directives/icons";
10
- class TuiAvatar {
11
- constructor() {
12
- this.options = inject(TUI_AVATAR_OPTIONS);
13
- this.size = this.options.size;
14
- this.round = this.options.round;
15
- }
16
- get value() {
17
- return this.src || '';
18
- }
19
- get svg() {
20
- return tuiIsString(this.value) && this.value.endsWith('.svg');
21
- }
22
- get type() {
23
- if (this.value && !tuiIsString(this.value)) {
24
- return 'img';
25
- }
26
- if (this.value.startsWith('@tui.')) {
27
- return 'icon';
28
- }
29
- if (this.value.length > 0 && this.value.length < 3) {
30
- return 'text';
31
- }
32
- return this.value.length ? 'img' : 'content';
33
- }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
35
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiAvatar, isStandalone: true, selector: "tui-avatar,button[tuiAvatar],a[tuiAvatar]", inputs: { size: "size", round: "round", src: "src" }, host: { properties: { "attr.data-size": "size", "attr.data-type": "type", "class._round": "round", "class._svg": "svg" } }, providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiIcons, inputs: ["iconStart", "src"] }], ngImport: i0, template: "<img\n *ngIf=\"type === 'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n/>\n<ng-container *ngIf=\"type === 'text'\">{{ value }}</ng-container>\n<ng-content />\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;inline-size:var(--t-size);block-size:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}:host[data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:700}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=s]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:700}:host[data-size=s][data-type=content]{font:var(--tui-font-text-xs);font-weight:700}:host[data-size=m]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}:host[data-size=m][data-type=content]{font:var(--tui-font-text-m);font-weight:700}:host[data-size=l]{--t-size: var(--tui-height-l);--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=l][data-type=content]{font:var(--tui-font-text-l);font-weight:700}:host[data-size=xl]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=xl][data-type=content]{font:var(--tui-font-heading-4)}:host[data-size=xxl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-size=xxxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-type]:before{display:none}:host:not([data-type=icon]):before{-webkit-mask:none;mask:none}:host[data-type=img]:not(._svg){background:transparent}:host[data-type=icon]:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block;font-size:calc(var(--t-size) * .6);-webkit-mask-size:1em;mask-size:1em}:host._round{--t-radius: calc(var(--t-size) / 2)}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;object-fit:cover;box-sizing:border-box;border-radius:inherit}:host._svg img{padding:20%;object-fit:contain;border-radius:unset}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
36
- }
37
- export { TuiAvatar };
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAvatar, decorators: [{
39
- type: Component,
40
- args: [{ standalone: true, selector: 'tui-avatar,button[tuiAvatar],a[tuiAvatar]', imports: [NgIf], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)], hostDirectives: [
41
- TuiWithAppearance,
42
- {
43
- directive: TuiIcons,
44
- inputs: ['iconStart: src'],
45
- },
46
- ], host: {
47
- '[attr.data-size]': 'size',
48
- '[attr.data-type]': 'type',
49
- '[class._round]': 'round',
50
- '[class._svg]': 'svg',
51
- }, template: "<img\n *ngIf=\"type === 'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n/>\n<ng-container *ngIf=\"type === 'text'\">{{ value }}</ng-container>\n<ng-content />\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;inline-size:var(--t-size);block-size:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}:host[data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:700}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=s]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:700}:host[data-size=s][data-type=content]{font:var(--tui-font-text-xs);font-weight:700}:host[data-size=m]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}:host[data-size=m][data-type=content]{font:var(--tui-font-text-m);font-weight:700}:host[data-size=l]{--t-size: var(--tui-height-l);--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=l][data-type=content]{font:var(--tui-font-text-l);font-weight:700}:host[data-size=xl]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=xl][data-type=content]{font:var(--tui-font-heading-4)}:host[data-size=xxl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-size=xxxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-type]:before{display:none}:host:not([data-type=icon]):before{-webkit-mask:none;mask:none}:host[data-type=img]:not(._svg){background:transparent}:host[data-type=icon]:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block;font-size:calc(var(--t-size) * .6);-webkit-mask-size:1em;mask-size:1em}:host._round{--t-radius: calc(var(--t-size) / 2)}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;object-fit:cover;box-sizing:border-box;border-radius:inherit}:host._svg img{padding:20%;object-fit:contain;border-radius:unset}\n"] }]
52
- }], propDecorators: { size: [{
53
- type: Input
54
- }], round: [{
55
- type: Input
56
- }], src: [{
57
- type: Input
58
- }] } });
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2F2YXRhci9hdmF0YXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYXZhdGFyL2F2YXRhci50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxJQUFJLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUNyQyxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFaEYsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBQzlELE9BQU8sRUFDSCw0QkFBNEIsRUFDNUIsaUJBQWlCLEdBQ3BCLE1BQU0sc0NBQXNDLENBQUM7QUFDOUMsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGlDQUFpQyxDQUFDO0FBRXpELE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLGtCQUFrQixDQUFDOzs7O0FBRXBELE1BdUJhLFNBQVM7SUF2QnRCO1FBd0JxQixZQUFPLEdBQUcsTUFBTSxDQUFDLGtCQUFrQixDQUFDLENBQUM7UUFHL0MsU0FBSSxHQUFHLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSS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5ndGggPyAnaW1nJyA6ICdjb250ZW50JztcbiAgICB9XG59XG4iLCI8aW1nXG4gICAgKm5nSWY9XCJ0eXBlID09PSAnaW1nJ1wiXG4gICAgYWx0PVwiXCJcbiAgICBsb2FkaW5nPVwibGF6eVwiXG4gICAgW3NyY109XCJ2YWx1ZVwiXG4vPlxuPG5nLWNvbnRhaW5lciAqbmdJZj1cInR5cGUgPT09ICd0ZXh0J1wiPnt7IHZhbHVlIH19PC9uZy1jb250YWluZXI+XG48bmctY29udGVudCAvPlxuIl19
@@ -1,14 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
3
- export const TUI_AVATAR_DEFAULT_OPTIONS = {
4
- appearance: '',
5
- round: true,
6
- size: 'l',
7
- };
8
- export const TUI_AVATAR_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_AVATAR_OPTIONS' : '', {
9
- factory: () => TUI_AVATAR_DEFAULT_OPTIONS,
10
- });
11
- export function tuiAvatarOptionsProvider(options) {
12
- return tuiProvideOptions(TUI_AVATAR_OPTIONS, options, TUI_AVATAR_DEFAULT_OPTIONS);
13
- }
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9hdmF0YXIvYXZhdGFyLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGNBQWMsRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDNUQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFVcEUsTUFBTSxDQUFDLE1BQU0sMEJBQTBCLEdBQXFCO0lBQ3hELFVBQVUsRUFBRSxFQUFFO0lBQ2QsS0FBS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ydCBjb25zdCBUVUlfQVZBVEFSX0RFRkFVTFRfT1BUSU9OUzogVHVpQXZhdGFyT3B0aW9ucyA9IHtcbiAgICBhcHBlYXJhbmNlOiAnJyxcbiAgICByb3VuZDogdHJ1ZSxcbiAgICBzaXplOiAnbCcsXG59O1xuXG5leHBvcnQgY29uc3QgVFVJX0FWQVRBUl9PUFRJT05TID0gbmV3IEluamVjdGlvblRva2VuKFxuICAgIG5nRGV2TW9kZSA/ICdUVUlfQVZBVEFSX09QVElPTlMnIDogJycsXG4gICAge1xuICAgICAgICBmYWN0b3J5OiAoKSA9PiBUVUlfQVZBVEFSX0RFRkFVTFRfT1BUSU9OUyxcbiAgICB9LFxuKTtcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aUF2YXRhck9wdGlvbnNQcm92aWRlcihvcHRpb25zOiBQYXJ0aWFsPFR1aUF2YXRhck9wdGlvbnM+KTogUHJvdmlkZXIge1xuICAgIHJldHVybiB0dWlQcm92aWRlT3B0aW9ucyhUVUlfQVZBVEFSX09QVElPTlMsIG9wdGlvbnMsIFRVSV9BVkFUQVJfREVGQVVMVF9PUFRJT05TKTtcbn1cbiJdfQ==
@@ -1,6 +0,0 @@
1
- export * from './avatar.component';
2
- export * from './avatar.options';
3
- export * from './avatar-labeled.component';
4
- export * from './avatar-outline.directive';
5
- export * from './avatar-stack.component';
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9hdmF0YXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdmF0YXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYXZhdGFyLm9wdGlvbnMnO1xuZXhwb3J0ICogZnJvbSAnLi9hdmF0YXItbGFiZWxlZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9hdmF0YXItb3V0bGluZS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9hdmF0YXItc3RhY2suY29tcG9uZW50JztcbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtYXZhdGFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYXZhdGFyL3RhaWdhLXVpLWtpdC1jb21wb25lbnRzLWF2YXRhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,42 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Directive, inject, Input, ViewEncapsulation, } from '@angular/core';
2
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
3
- import { tuiAppearanceOptionsProvider, TuiWithAppearance, } from '@taiga-ui/core/directives/appearance';
4
- import { TuiWithIcons } from '@taiga-ui/core/directives/icons';
5
- import { TUI_BADGE_OPTIONS } from './badge.options';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@taiga-ui/core/directives/appearance";
8
- import * as i2 from "@taiga-ui/core/directives/icons";
9
- class TuiBadgeStyles {
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgeStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBadgeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-badge" }, ngImport: i0, template: '', isInline: true, styles: ["tui-badge,[tuiBadge]{--t-icon-size: 1rem;--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-inline-size:100%;gap:calc(var(--t-gap, 0rem) - 2 * var(--t-margin, 0rem));border-radius:6rem;background:#959595;color:var(--tui-background-base);padding:var(--t-padding);block-size:var(--t-size);min-inline-size:var(--t-size);inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;font:var(--tui-font-text-s)}tui-badge>img,[tuiBadge]>img,tui-badge>tui-svg,[tuiBadge]>tui-svg,tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge>tui-avatar,[tuiBadge]>tui-avatar,tui-badge>tui-badge,[tuiBadge]>tui-badge,tui-badge>[tuiBadge],[tuiBadge]>[tuiBadge],tui-badge>[tuiRadio],[tuiBadge]>[tuiRadio],tui-badge>[tuiSwitch],[tuiBadge]>[tuiSwitch],tui-badge>[tuiCheckbox],[tuiBadge]>[tuiCheckbox],tui-badge[tuiIcons]:before,[tuiBadge][tuiIcons]:before,tui-badge[tuiIcons]:after,[tuiBadge][tuiIcons]:after{margin:var(--t-margin)}tui-badge[tuiStatus]:before,[tuiBadge][tuiStatus]:before{inline-size:.375rem;block-size:.375rem;margin:0}tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge[tuiIcons]:before,[tuiBadge][tuiIcons]:before,tui-badge[tuiIcons]:after,[tuiBadge][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-badge[data-appearance=error],[tuiBadge][data-appearance=error],tui-badge[data-appearance=negative],[tuiBadge][data-appearance=negative]{--t-status: var(--tui-status-negative)}tui-badge[data-appearance=success],[tuiBadge][data-appearance=success],tui-badge[data-appearance=positive],[tuiBadge][data-appearance=positive]{--t-status: var(--tui-status-positive)}tui-badge[data-appearance=warning],[tuiBadge][data-appearance=warning]{--t-status: var(--tui-status-warning)}tui-badge[data-appearance=info],[tuiBadge][data-appearance=info]{--t-status: var(--tui-status-info)}tui-badge[data-appearance=neutral],[tuiBadge][data-appearance=neutral]{--t-status: var(--tui-status-neutral)}tui-badge[data-size=s],[tuiBadge][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem;font:var(--tui-font-text-xs)}tui-badge[data-size=s][tuiStatus]:before,[tuiBadge][data-size=s][tuiStatus]:before{inline-size:.25rem;block-size:.25rem;margin-inline-end:-.125rem}tui-badge[data-size=m],[tuiBadge][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}tui-badge[data-size=xl],[tuiBadge][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}tui-badge[data-size=xl][tuiStatus]:before,[tuiBadge][data-size=xl][tuiStatus]:before{inline-size:.5rem;block-size:.5rem;margin-inline-end:-.125rem}tui-badge[tuiAppearance][data-appearance=error],[tuiBadge][tuiAppearance][data-appearance=error],tui-badge[tuiAppearance][data-appearance=success],[tuiBadge][tuiAppearance][data-appearance=success],tui-badge[tuiAppearance][data-appearance=negative],[tuiBadge][tuiAppearance][data-appearance=negative],tui-badge[tuiAppearance][data-appearance=positive],[tuiBadge][tuiAppearance][data-appearance=positive],tui-badge[tuiAppearance][data-appearance=warning],[tuiBadge][tuiAppearance][data-appearance=warning],tui-badge[tuiAppearance][data-appearance=info],[tuiBadge][tuiAppearance][data-appearance=info],tui-badge[tuiAppearance][data-appearance=neutral],[tuiBadge][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}img[tuiBadge]{padding:0;inline-size:var(--t-size)}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;block-size:var(--t-size);inline-size:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgeStyles, decorators: [{
14
- type: Component,
15
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
16
- class: 'tui-badge',
17
- }, styles: ["tui-badge,[tuiBadge]{--t-icon-size: 1rem;--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-inline-size:100%;gap:calc(var(--t-gap, 0rem) - 2 * var(--t-margin, 0rem));border-radius:6rem;background:#959595;color:var(--tui-background-base);padding:var(--t-padding);block-size:var(--t-size);min-inline-size:var(--t-size);inline-size:-webkit-fit-content;inline-size:-moz-fit-content;inline-size:fit-content;font:var(--tui-font-text-s)}tui-badge>img,[tuiBadge]>img,tui-badge>tui-svg,[tuiBadge]>tui-svg,tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge>tui-avatar,[tuiBadge]>tui-avatar,tui-badge>tui-badge,[tuiBadge]>tui-badge,tui-badge>[tuiBadge],[tuiBadge]>[tuiBadge],tui-badge>[tuiRadio],[tuiBadge]>[tuiRadio],tui-badge>[tuiSwitch],[tuiBadge]>[tuiSwitch],tui-badge>[tuiCheckbox],[tuiBadge]>[tuiCheckbox],tui-badge[tuiIcons]:before,[tuiBadge][tuiIcons]:before,tui-badge[tuiIcons]:after,[tuiBadge][tuiIcons]:after{margin:var(--t-margin)}tui-badge[tuiStatus]:before,[tuiBadge][tuiStatus]:before{inline-size:.375rem;block-size:.375rem;margin:0}tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge[tuiIcons]:before,[tuiBadge][tuiIcons]:before,tui-badge[tuiIcons]:after,[tuiBadge][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-badge[data-appearance=error],[tuiBadge][data-appearance=error],tui-badge[data-appearance=negative],[tuiBadge][data-appearance=negative]{--t-status: var(--tui-status-negative)}tui-badge[data-appearance=success],[tuiBadge][data-appearance=success],tui-badge[data-appearance=positive],[tuiBadge][data-appearance=positive]{--t-status: var(--tui-status-positive)}tui-badge[data-appearance=warning],[tuiBadge][data-appearance=warning]{--t-status: var(--tui-status-warning)}tui-badge[data-appearance=info],[tuiBadge][data-appearance=info]{--t-status: var(--tui-status-info)}tui-badge[data-appearance=neutral],[tuiBadge][data-appearance=neutral]{--t-status: var(--tui-status-neutral)}tui-badge[data-size=s],[tuiBadge][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem;font:var(--tui-font-text-xs)}tui-badge[data-size=s][tuiStatus]:before,[tuiBadge][data-size=s][tuiStatus]:before{inline-size:.25rem;block-size:.25rem;margin-inline-end:-.125rem}tui-badge[data-size=m],[tuiBadge][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}tui-badge[data-size=xl],[tuiBadge][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}tui-badge[data-size=xl][tuiStatus]:before,[tuiBadge][data-size=xl][tuiStatus]:before{inline-size:.5rem;block-size:.5rem;margin-inline-end:-.125rem}tui-badge[tuiAppearance][data-appearance=error],[tuiBadge][tuiAppearance][data-appearance=error],tui-badge[tuiAppearance][data-appearance=success],[tuiBadge][tuiAppearance][data-appearance=success],tui-badge[tuiAppearance][data-appearance=negative],[tuiBadge][tuiAppearance][data-appearance=negative],tui-badge[tuiAppearance][data-appearance=positive],[tuiBadge][tuiAppearance][data-appearance=positive],tui-badge[tuiAppearance][data-appearance=warning],[tuiBadge][tuiAppearance][data-appearance=warning],tui-badge[tuiAppearance][data-appearance=info],[tuiBadge][tuiAppearance][data-appearance=info],tui-badge[tuiAppearance][data-appearance=neutral],[tuiBadge][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}img[tuiBadge]{padding:0;inline-size:var(--t-size)}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;block-size:var(--t-size);inline-size:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n"] }]
18
- }] });
19
- class TuiBadge {
20
- constructor() {
21
- this.nothing = tuiWithStyles(TuiBadgeStyles);
22
- this.size = inject(TUI_BADGE_OPTIONS).size;
23
- }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadge, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
25
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiBadge, isStandalone: true, selector: "tui-badge,[tuiBadge]", inputs: { size: "size" }, host: { properties: { "attr.data-size": "size" } }, providers: [tuiAppearanceOptionsProvider(TUI_BADGE_OPTIONS)], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiWithIcons }], ngImport: i0 }); }
26
- }
27
- export { TuiBadge };
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadge, decorators: [{
29
- type: Directive,
30
- args: [{
31
- standalone: true,
32
- selector: 'tui-badge,[tuiBadge]',
33
- providers: [tuiAppearanceOptionsProvider(TUI_BADGE_OPTIONS)],
34
- hostDirectives: [TuiWithAppearance, TuiWithIcons],
35
- host: {
36
- '[attr.data-size]': 'size',
37
- },
38
- }]
39
- }], propDecorators: { size: [{
40
- type: Input
41
- }] } });
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYmFkZ2UvYmFkZ2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFNBQVMsRUFDVCxNQUFNLEVBQ04sS0FBSyxFQUNMLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDaEUsT0FBTyxFQUNILDRCQUE0QixFQUM1QixpQkFBaUIsR0FDcEIsTUFBTSxzQ0FBc0MsQ0FBQztBQUM5QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUNBQWlDLENBQUM7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dWlXaXRoQXBwZWFyYW5jZSwgVHVpV2l0aEljb25zXSxcbiAgICBob3N0OiB7XG4gICAgICAgICdbYXR0ci5kYXRhLXNpemVdJzogJ3NpemUnLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJhZGdlIHtcbiAgICBwcm90ZWN0ZWQgcmVhZG9ubHkgbm90aGluZyA9IHR1aVdpdGhTdHlsZXMoVHVpQmFkZ2VTdHlsZXMpO1xuXG4gICAgQElucHV0KClcbiAgICBwdWJsaWMgc2l6ZSA9IGluamVjdChUVUlfQkFER0VfT1BUSU9OUykuc2l6ZTtcbn1cbiJdfQ==
@@ -1,13 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
3
- export const TUI_BADGE_DEFAULT_OPTIONS = {
4
- appearance: '',
5
- size: 'l',
6
- };
7
- export const TUI_BADGE_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_BADGE_OPTIONS' : '', {
8
- factory: () => TUI_BADGE_DEFAULT_OPTIONS,
9
- });
10
- export function tuiBadgeOptionsProvider(options) {
11
- return tuiProvideOptions(TUI_BADGE_OPTIONS, options, TUI_BADGE_DEFAULT_OPTIONS);
12
- }
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2Uub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2JhZGdlL2JhZGdlLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGNBQWMsRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDNUQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFRcEUsTUFBTSxDQUFDLE1BQU0seUJBQXlCLEdBQW9CO0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IGFwcGVhcmFuY2U6ICcnLFxuICAgIHNpemU6ICdsJyxcbn07XG5cbmV4cG9ydCBjb25zdCBUVUlfQkFER0VfT1BUSU9OUyA9IG5ldyBJbmplY3Rpb25Ub2tlbihcbiAgICBuZ0Rldk1vZGUgPyAnVFVJX0JBREdFX09QVElPTlMnIDogJycsXG4gICAge1xuICAgICAgICBmYWN0b3J5OiAoKSA9PiBUVUlfQkFER0VfREVGQVVMVF9PUFRJT05TLFxuICAgIH0sXG4pO1xuXG5leHBvcnQgZnVuY3Rpb24gdHVpQmFkZ2VPcHRpb25zUHJvdmlkZXIob3B0aW9uczogUGFydGlhbDxUdWlCYWRnZU9wdGlvbnM+KTogUHJvdmlkZXIge1xuICAgIHJldHVybiB0dWlQcm92aWRlT3B0aW9ucyhUVUlfQkFER0VfT1BUSU9OUywgb3B0aW9ucywgVFVJX0JBREdFX0RFRkFVTFRfT1BUSU9OUyk7XG59XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './badge.directive';
2
- export * from './badge.options';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9iYWRnZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JhZGdlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2JhZGdlLm9wdGlvbnMnO1xuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtYmFkZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9iYWRnZS90YWlnYS11aS1raXQtY29tcG9uZW50cy1iYWRnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,22 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, inject, Input } from '@angular/core';
2
- import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
3
- import { TUI_BADGE_NOTIFICATION_OPTIONS } from './badge-notification.options';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@taiga-ui/cdk/directives/animated";
6
- class TuiBadgeNotification {
7
- constructor() {
8
- this.size = inject(TUI_BADGE_NOTIFICATION_OPTIONS).size;
9
- }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgeNotification, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBadgeNotification, isStandalone: true, selector: "tui-badge-notification", inputs: { size: "size" }, host: { properties: { "attr.data-size": "size" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: '<ng-content />', isInline: true, styles: [":host{--t-size: 1.5rem;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:#fff;border-radius:2rem;white-space:nowrap;overflow:hidden;vertical-align:middle;font:var(--tui-font-text-s);max-inline-size:100%;padding:0 .25rem;background:#f52222;block-size:var(--t-size);min-inline-size:var(--t-size)}:host.tui-enter{animation:tuiScale var(--tui-duration) cubic-bezier(.34,1.56,.64,1)}:host.tui-leave{animation:tuiScale var(--tui-duration) ease-in-out reverse}:host[data-size=m]{--t-size: 1.25rem}:host[data-size=s]{--t-size: 1rem;padding:0 .125rem;font:var(--tui-font-text-xs)}:host[data-size=xs]{--t-size: .375rem;padding:0;font-size:0}:host :host-context([tuiIconButton]){position:absolute;right:25%;top:25%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12
- }
13
- export { TuiBadgeNotification };
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgeNotification, decorators: [{
15
- type: Component,
16
- args: [{ standalone: true, selector: 'tui-badge-notification', template: '<ng-content />', changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiAnimated], host: {
17
- '[attr.data-size]': 'size',
18
- }, styles: [":host{--t-size: 1.5rem;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:#fff;border-radius:2rem;white-space:nowrap;overflow:hidden;vertical-align:middle;font:var(--tui-font-text-s);max-inline-size:100%;padding:0 .25rem;background:#f52222;block-size:var(--t-size);min-inline-size:var(--t-size)}:host.tui-enter{animation:tuiScale var(--tui-duration) cubic-bezier(.34,1.56,.64,1)}:host.tui-leave{animation:tuiScale var(--tui-duration) ease-in-out reverse}:host[data-size=m]{--t-size: 1.25rem}:host[data-size=s]{--t-size: 1rem;padding:0 .125rem;font:var(--tui-font-text-xs)}:host[data-size=xs]{--t-size: .375rem;padding:0;font-size:0}:host :host-context([tuiIconButton]){position:absolute;right:25%;top:25%}\n"] }]
19
- }], propDecorators: { size: [{
20
- type: Input
21
- }] } });
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2Utbm90aWZpY2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy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hLXVpL2NvcmUvdHlwZXMnO1xuXG5pbXBvcnQge1RVSV9CQURHRV9OT1RJRklDQVRJT05fT1BUSU9OU30gZnJvbSAnLi9iYWRnZS1ub3RpZmljYXRpb24ub3B0aW9ucyc7XG5cbkBDb21wb25lbnQoe1xuICAgIHN0YW5kYWxvbmU6IHRydWUsXG4gICAgc2VsZWN0b3I6ICd0dWktYmFkZ2Utbm90aWZpY2F0aW9uJyxcbiAgICB0ZW1wbGF0ZTogJzxuZy1jb250ZW50IC8+JyxcbiAgICBzdHlsZVVybHM6IFsnLi9iYWRnZS1ub3RpZmljYXRpb24uc3R5bGUubGVzcyddLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICAgIGhvc3REaXJlY3RpdmVzOiBbVHVpQW5pbWF0ZWRdLFxuICAgIGhvc3Q6IHtcbiAgICAgICAgJ1thdHRyLmRhdGEtc2l6ZV0nOiAnc2l6ZScsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQmFkZ2VOb3RpZmljYXRpb24ge1xuICAgIEBJbnB1dCgpXG4gICAgcHVibGljIHNpemU6IFR1aVNpemVMIHwgVHVpU2l6ZVhTID0gaW5qZWN0KFRVSV9CQURHRV9OT1RJRklDQVRJT05fT1BUSU9OUykuc2l6ZTtcbn1cbiJdfQ==
@@ -1,12 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
3
- export const TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS = {
4
- size: 'm',
5
- };
6
- export const TUI_BADGE_NOTIFICATION_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_BADGE_NOTIFICATION_OPTIONS' : '', {
7
- factory: () => TUI_BADGE_NOTIFICATION_DEFAULT_OPTIONS,
8
- });
9
- export function tuiBadgeNotificationOptionsProvider(options) {
10
- return tuiProvideOptions(TUI_BADGE_NOTIF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3V0aWxzL21pc2NlbGxhbmVvdXMnO1xuaW1wb3J0IHt0eXBlIFR1aVNpemVMLCB0eXBlIFR1aVNpemVYU30gZnJvbSAnQHRhaWdhLXVpL2NvcmUvdHlwZXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFR1aUJhZGdlTm90aWZpY2F0aW9uT3B0aW9ucyB7XG4gICAgcmVhZG9ubHkgc2l6ZTogVHVpU2l6ZUwgfCBUdWlTaXplWFM7XG59XG5cbmV4cG9ydCBjb25zdCBUVUlfQkFER0VfTk9USUZJQ0FUSU9OX0RFRkFVTFRfT1BUSU9OUzogVHVpQmFkZ2VOb3RpZmljYXRpb25PcHRpb25zID0ge1xuICAgIHNpemU6ICdtJyxcbn07XG5cbmV4cG9ydCBjb25zdCBUVUlfQkFER0VfTk9USUZJQ0FUSU9OX09QVElPTlMgPSBuZXcgSW5qZWN0aW9uVG9rZW4oXG4gICAgbmdEZXZNb2RlID8gJ1RVSV9CQURHRV9OT1RJRklDQVRJT05fT1BUSU9OUycgOiAnJyxcbiAgICB7XG4gICAgICAgIGZhY3Rvcnk6ICgpID0+IFRVSV9CQURHRV9OT1RJRklDQVRJT05fREVGQVVMVF9PUFRJT05TLFxuICAgIH0sXG4pO1xuXG5leHBvcnQgZnVuY3Rpb24gdHVpQmFkZ2VOb3RpZmljYXRpb25PcHRpb25zUHJvdmlkZXIoXG4gICAgb3B0aW9uczogUGFydGlhbDxUdWlCYWRnZU5vdGlmaWNhdGlvbk9wdGlvbnM+LFxuKTogUHJvdmlkZXIge1xuICAgIHJldHVybiB0dWlQcm92aWRlT3B0aW9ucyhcbiAgICAgICAgVFVJX0JBREdFX05PVElGSUNBVElPTl9PUFRJT05TLFxuICAgICAgICBvcHRpb25zLFxuICAgICAgICBUVUlfQkFER0VfTk9USUZJQ0FUSU9OX0RFRkFVTFRfT1BUSU9OUyxcbiAgICApO1xufVxuIl19
@@ -1,3 +0,0 @@
1
- export * from './badge-notification.component';
2
- export * from './badge-notification.options';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9iYWRnZS1ub3RpZmljYXRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9iYWRnZS1ub3RpZmljYXRpb24uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYmFkZ2Utbm90aWZpY2F0aW9uLm9wdGlvbnMnO1xuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtYmFkZ2Utbm90aWZpY2F0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYmFkZ2Utbm90aWZpY2F0aW9uL3RhaWdhLXVpLWtpdC1jb21wb25lbnRzLWJhZGdlLW5vdGlmaWNhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,7 +0,0 @@
1
- import { TuiBadgedContentComponent } from './badged-content.component';
2
- import { TuiBadgedContentDirective } from './badged-content.directive';
3
- export const TuiBadgedContent = [
4
- TuiBadgedContentDirective,
5
- TuiBadgedContentComponent,
6
- ];
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UtY29udGVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2JhZGdlZC1jb250ZW50L2JhZGdlLWNvbnRlbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFDckUsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFFckUsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQUc7SUFDNUIseUJBQXlCO0lBQ3pCLHlCQUF5QjtDQUNuQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtUdWlCYWRnZWRDb250ZW50Q29tcG9uZW50fSBmcm9tICcuL2JhZGdlZC1jb250ZW50LmNvbXBvbmVudCc7XG5pbXBvcnQge1R1aUJhZGdlZENvbnRlbnREaXJlY3RpdmV9IGZyb20gJy4vYmFkZ2VkLWNvbnRlbnQuZGlyZWN0aXZlJztcblxuZXhwb3J0IGNvbnN0IFR1aUJhZGdlZENvbnRlbnQgPSBbXG4gICAgVHVpQmFkZ2VkQ29udGVudERpcmVjdGl2ZSxcbiAgICBUdWlCYWRnZWRDb250ZW50Q29tcG9uZW50LFxuXSBhcyBjb25zdDtcbiJdfQ==
@@ -1,30 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, } from '@angular/core';
2
- import { WaResizeObserver } from '@ng-web-apis/resize-observer';
3
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
4
- import * as i0 from "@angular/core";
5
- class TuiBadgedContentComponent {
6
- constructor() {
7
- this.cdr = inject(ChangeDetectorRef);
8
- this.el = tuiInjectElement();
9
- }
10
- get imgTop() {
11
- return this.resolve('.t-badge_top img');
12
- }
13
- get imgBottom() {
14
- return this.resolve('.t-badge_bottom img');
15
- }
16
- onResize() {
17
- this.cdr.detectChanges();
18
- }
19
- resolve(selector) {
20
- return `url(${this.el.querySelector(selector)?.getAttribute('src') || ''})`;
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgedContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBadgedContentComponent, isStandalone: true, selector: "tui-badged-content", ngImport: i0, template: "<ng-content />\n\n<div\n #badgeTop\n class=\"t-badge t-badge_top\"\n [style.--t-badge-height.px]=\"badgeTop.offsetHeight\"\n [style.--t-img]=\"imgTop\"\n (waResizeObserver)=\"onResize()\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='top'], img[tuiSlot='top']\" />\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='top']\" />\n </div>\n</div>\n\n<div\n #badgeBottom\n class=\"t-badge t-badge_bottom\"\n [style.--t-badge-height.px]=\"badgeBottom.offsetHeight\"\n [style.--t-img]=\"imgBottom\"\n (waResizeObserver)=\"onResize()\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='bottom'], img[tuiSlot='bottom']\" />\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='bottom']\" />\n </div>\n</div>\n", styles: [":host{--tui-radius: var(--tui-radius-l);--t-badge-height: 0;--t-corner-offset: calc((var(--tui-radius) * 1.4142 - var(--tui-radius)) * 1 / 1.4142);position:relative;display:inline-block;block-size:-webkit-fit-content;block-size:-moz-fit-content;block-size:fit-content;inline-size:-webkit-max-content;inline-size:max-content;color:var(--tui-background-base)}.t-badge{--t-offset: calc(var(--t-badge-height) * -.5 + var(--t-corner-offset));position:absolute;display:flex;isolation:isolate}.t-badge_top{top:var(--t-offset);right:var(--t-offset)}.t-badge_bottom{bottom:var(--t-offset);right:var(--t-offset)}.t-badge:before{top:50%;left:50%;transform:translate(-50%,-50%);content:\"\";position:absolute;z-index:-1;inline-size:120%;block-size:120%;-webkit-mask-image:var(--t-img);mask-image:var(--t-img);-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;background-color:currentColor}.t-border:not(:empty){display:flex;border-radius:6rem;box-shadow:0 0 0 1px currentColor;background:currentColor}\n"], dependencies: [{ kind: "directive", type: WaResizeObserver, selector: "[waResizeObserver]", inputs: ["box"], outputs: ["waResizeObserver"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
- }
25
- export { TuiBadgedContentComponent };
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgedContentComponent, decorators: [{
27
- type: Component,
28
- args: [{ standalone: true, selector: 'tui-badged-content', imports: [WaResizeObserver], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content />\n\n<div\n #badgeTop\n class=\"t-badge t-badge_top\"\n [style.--t-badge-height.px]=\"badgeTop.offsetHeight\"\n [style.--t-img]=\"imgTop\"\n (waResizeObserver)=\"onResize()\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='top'], img[tuiSlot='top']\" />\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='top']\" />\n </div>\n</div>\n\n<div\n #badgeBottom\n class=\"t-badge t-badge_bottom\"\n [style.--t-badge-height.px]=\"badgeBottom.offsetHeight\"\n [style.--t-img]=\"imgBottom\"\n (waResizeObserver)=\"onResize()\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='bottom'], img[tuiSlot='bottom']\" />\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='bottom']\" />\n </div>\n</div>\n", styles: [":host{--tui-radius: var(--tui-radius-l);--t-badge-height: 0;--t-corner-offset: calc((var(--tui-radius) * 1.4142 - var(--tui-radius)) * 1 / 1.4142);position:relative;display:inline-block;block-size:-webkit-fit-content;block-size:-moz-fit-content;block-size:fit-content;inline-size:-webkit-max-content;inline-size:max-content;color:var(--tui-background-base)}.t-badge{--t-offset: calc(var(--t-badge-height) * -.5 + var(--t-corner-offset));position:absolute;display:flex;isolation:isolate}.t-badge_top{top:var(--t-offset);right:var(--t-offset)}.t-badge_bottom{bottom:var(--t-offset);right:var(--t-offset)}.t-badge:before{top:50%;left:50%;transform:translate(-50%,-50%);content:\"\";position:absolute;z-index:-1;inline-size:120%;block-size:120%;-webkit-mask-image:var(--t-img);mask-image:var(--t-img);-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;background-color:currentColor}.t-border:not(:empty){display:flex;border-radius:6rem;box-shadow:0 0 0 1px currentColor;background:currentColor}\n"] }]
29
- }] });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2VkLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYmFkZ2VkLWNvbnRlbnQvYmFkZ2VkLWNvbnRlbnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYmFkZ2VkLWNvbnRlbnQvYmFkZ2VkLWNvbnRlbnQudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsTUFBTSxHQUNULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQzlELE9BQ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t0dWlTbG90PSdib3R0b20nXVwiIC8+XG4gICAgPGRpdiBjbGFzcz1cInQtYm9yZGVyXCI+XG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlt0dWlTbG90PSdib3R0b20nXVwiIC8+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -1,20 +0,0 @@
1
- import { Directive, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- class TuiBadgedContentDirective {
4
- constructor() {
5
- this.tuiSlot = 'top';
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgedContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiBadgedContentDirective, isStandalone: true, selector: "[tuiSlot]", inputs: { tuiSlot: "tuiSlot" }, ngImport: i0 }); }
9
- }
10
- export { TuiBadgedContentDirective };
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBadgedContentDirective, decorators: [{
12
- type: Directive,
13
- args: [{
14
- standalone: true,
15
- selector: '[tuiSlot]',
16
- }]
17
- }], propDecorators: { tuiSlot: [{
18
- type: Input
19
- }] } });
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2VkLWNvbnRlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvYmFkZ2VkLWNvbnRlbnQvYmFkZ2VkLWNvbnRlbnQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDOztBQUcvQyxNQUlhLHlCQUF5QjtJQUp0QztRQU1XLFlBQU8sR0FBb0MsS0FBSyxDQUFDO0tBQzNEOytHQUhZLHlCQUF5QjttR0FBekIseUJBQXlCOztTQUF6Qix5QkFBeUI7NEZBQXpCLHlCQUF5QjtrQkFKckMsU0FBUzttQkFBQztvQkFDUCxVQUFVLEVBQUUsSUFBSTtvQkFDaEIsUUFBUSxFQUFFLFdBQVc7aUJBQ3hCOzhCQUdVLE9BQU87c0JBRGIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RGlyZWN0aXZlLCBJbnB1dH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge3R5cGUgVHVpTG9vc2VVbmlvbn0gZnJvbSAnQHRhaWdhLXVpL2Nkay90eXBlcyc7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHN0YW5kYWxvbmU6IHRydWUsXG4gICAgc2VsZWN0b3I6ICdbdHVpU2xvdF0nLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlCYWRnZWRDb250ZW50RGlyZWN0aXZlIHtcbiAgICBASW5wdXQoKVxuICAgIHB1YmxpYyB0dWlTbG90OiBUdWlMb29zZVVuaW9uPCdib3R0b20nIHwgJ3RvcCc+ID0gJ3RvcCc7XG59XG4iXX0=
@@ -1,4 +0,0 @@
1
- export * from './badge-content';
2
- export * from './badged-content.component';
3
- export * from './badged-content.directive';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9iYWRnZWQtY29udGVudC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYmFkZ2UtY29udGVudCc7XG5leHBvcnQgKiBmcm9tICcuL2JhZGdlZC1jb250ZW50LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2JhZGdlZC1jb250ZW50LmRpcmVjdGl2ZSc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtYmFkZ2VkLWNvbnRlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9iYWRnZWQtY29udGVudC90YWlnYS11aS1raXQtY29tcG9uZW50cy1iYWRnZWQtY29udGVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==