@taiga-ui/kit 4.52.0-canary.6af05be → 4.52.0-canary.a4e325d

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 (710) hide show
  1. package/components/input-color/input-color.component.d.ts +2 -1
  2. package/components/input-number/quantum.directive.d.ts +1 -1
  3. package/components/segmented/segmented.component.d.ts +4 -4
  4. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  5. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -6
  6. package/fesm2022/taiga-ui-kit-components-accordion.mjs +16 -16
  7. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  8. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +8 -8
  9. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-kit-components-avatar.mjs +20 -20
  11. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -4
  13. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-kit-components-badge.mjs +8 -8
  15. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +8 -8
  17. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-kit-components-block.mjs +7 -7
  19. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +5 -5
  21. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +4 -5
  23. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +6 -6
  25. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +7 -7
  27. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-kit-components-carousel.mjs +19 -19
  29. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +5 -5
  31. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-kit-components-chip.mjs +8 -8
  33. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +4 -4
  35. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-kit-components-comment.mjs +8 -8
  37. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-kit-components-compass.mjs +4 -4
  39. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-kit-components-confirm.mjs +8 -8
  41. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +11 -11
  43. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-kit-components-drawer.mjs +7 -7
  45. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +8 -8
  47. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-kit-components-files.mjs +29 -30
  49. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-kit-components-filter.mjs +5 -5
  51. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +7 -7
  53. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +11 -11
  55. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-kit-components-input-color.mjs +9 -9
  57. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +4 -4
  59. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +4 -4
  61. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +8 -8
  63. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-kit-components-input-date.mjs +12 -12
  65. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +5 -5
  67. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +3 -3
  69. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-components-input-month.mjs +8 -8
  71. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-kit-components-input-number.mjs +21 -21
  73. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-kit-components-input-password.mjs +4 -5
  75. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +8 -8
  77. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +9 -10
  79. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -5
  81. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-kit-components-input-range.mjs +6 -6
  83. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +7 -7
  85. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-kit-components-input-time.mjs +12 -11
  87. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-kit-components-input-year.mjs +4 -4
  89. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +15 -15
  91. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-kit-components-like.mjs +5 -5
  93. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +14 -14
  95. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-kit-components-message.mjs +8 -8
  97. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +17 -17
  99. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +12 -12
  101. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-kit-components-pager.mjs +7 -7
  103. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-components-pagination.mjs +5 -5
  105. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +11 -11
  107. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-pin.mjs +8 -8
  109. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +11 -11
  111. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-preview.mjs +29 -29
  113. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-progress.mjs +28 -28
  115. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-pulse.mjs +4 -4
  117. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-push.mjs +17 -17
  119. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +6 -6
  121. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-radio.mjs +9 -9
  123. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-kit-components-range.mjs +9 -9
  125. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-rating.mjs +6 -6
  127. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +5 -5
  129. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-segmented.mjs +8 -8
  131. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-select.mjs +15 -15
  133. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-slider.mjs +20 -21
  135. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-slides.mjs +7 -7
  137. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-status.mjs +7 -7
  139. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-stepper.mjs +10 -10
  141. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-switch.mjs +5 -5
  143. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-tabs.mjs +21 -21
  145. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-textarea.mjs +15 -15
  147. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-tiles.mjs +13 -13
  149. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-tree.mjs +32 -40
  151. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  153. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +7 -7
  155. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +3 -3
  157. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +8 -8
  159. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-directives-connected.mjs +8 -8
  161. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-directives-copy.mjs +9 -9
  163. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +4 -4
  165. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -9
  167. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +4 -4
  169. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +5 -5
  171. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +8 -8
  173. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +8 -8
  175. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-directives-password.mjs +3 -3
  177. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-directives-present.mjs +4 -4
  179. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +8 -8
  181. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +8 -8
  183. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -7
  185. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +8 -8
  187. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +4 -4
  189. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +4 -4
  191. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  193. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +7 -7
  195. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  197. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  199. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +3 -3
  201. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  203. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  205. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-tokens.mjs +3 -3
  207. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
  209. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  210. package/package.json +5 -217
  211. package/styles/components/badge.less +3 -18
  212. package/styles/components/checkbox.less +5 -6
  213. package/styles/components/like.less +13 -10
  214. package/styles/components/radio.less +1 -1
  215. package/styles/components/switch.less +5 -5
  216. package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
  217. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
  218. package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
  219. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  220. package/esm2022/components/accordion/accordion.mjs +0 -11
  221. package/esm2022/components/accordion/index.mjs +0 -6
  222. package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
  223. package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
  224. package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
  225. package/esm2022/components/action-bar/action-bar.mjs +0 -4
  226. package/esm2022/components/action-bar/index.mjs +0 -4
  227. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
  228. package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
  229. package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
  230. package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
  231. package/esm2022/components/avatar/avatar.component.mjs +0 -59
  232. package/esm2022/components/avatar/avatar.options.mjs +0 -14
  233. package/esm2022/components/avatar/index.mjs +0 -6
  234. package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
  235. package/esm2022/components/badge/badge.directive.mjs +0 -42
  236. package/esm2022/components/badge/badge.options.mjs +0 -13
  237. package/esm2022/components/badge/index.mjs +0 -3
  238. package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
  239. package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
  240. package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
  241. package/esm2022/components/badge-notification/index.mjs +0 -3
  242. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
  243. package/esm2022/components/badged-content/badge-content.mjs +0 -7
  244. package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
  245. package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
  246. package/esm2022/components/badged-content/index.mjs +0 -4
  247. package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
  248. package/esm2022/components/block/block.directive.mjs +0 -58
  249. package/esm2022/components/block/block.options.mjs +0 -13
  250. package/esm2022/components/block/index.mjs +0 -3
  251. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
  252. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
  253. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
  254. package/esm2022/components/breadcrumbs/index.mjs +0 -3
  255. package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
  256. package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
  257. package/esm2022/components/button-loading/index.mjs +0 -2
  258. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
  259. package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
  260. package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
  261. package/esm2022/components/calendar-month/index.mjs +0 -3
  262. package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
  263. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
  264. package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
  265. package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
  266. package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
  267. package/esm2022/components/calendar-range/index.mjs +0 -5
  268. package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
  269. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
  270. package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
  271. package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
  272. package/esm2022/components/carousel/carousel.component.mjs +0 -166
  273. package/esm2022/components/carousel/carousel.directive.mjs +0 -37
  274. package/esm2022/components/carousel/carousel.mjs +0 -15
  275. package/esm2022/components/carousel/index.mjs +0 -7
  276. package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
  277. package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
  278. package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
  279. package/esm2022/components/checkbox/index.mjs +0 -3
  280. package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
  281. package/esm2022/components/chip/chip.directive.mjs +0 -63
  282. package/esm2022/components/chip/chip.options.mjs +0 -13
  283. package/esm2022/components/chip/index.mjs +0 -3
  284. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
  285. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
  286. package/esm2022/components/combo-box/index.mjs +0 -2
  287. package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
  288. package/esm2022/components/comment/comment.directive.mjs +0 -35
  289. package/esm2022/components/comment/index.mjs +0 -2
  290. package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
  291. package/esm2022/components/compass/compass.component.mjs +0 -19
  292. package/esm2022/components/compass/index.mjs +0 -2
  293. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
  294. package/esm2022/components/confirm/confirm.component.mjs +0 -28
  295. package/esm2022/components/confirm/confirm.service.mjs +0 -32
  296. package/esm2022/components/confirm/index.mjs +0 -3
  297. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
  298. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
  299. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
  300. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
  301. package/esm2022/components/data-list-wrapper/index.mjs +0 -4
  302. package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
  303. package/esm2022/components/drawer/drawer.component.mjs +0 -44
  304. package/esm2022/components/drawer/index.mjs +0 -2
  305. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
  306. package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
  307. package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
  308. package/esm2022/components/elastic-container/index.mjs +0 -3
  309. package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
  310. package/esm2022/components/files/file/file.component.mjs +0 -144
  311. package/esm2022/components/files/file/file.options.mjs +0 -16
  312. package/esm2022/components/files/files/files.component.mjs +0 -56
  313. package/esm2022/components/files/files.mjs +0 -15
  314. package/esm2022/components/files/files.types.mjs +0 -2
  315. package/esm2022/components/files/files.utils.mjs +0 -30
  316. package/esm2022/components/files/files.validators.mjs +0 -32
  317. package/esm2022/components/files/index.mjs +0 -13
  318. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
  319. package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
  320. package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
  321. package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
  322. package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
  323. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
  324. package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
  325. package/esm2022/components/filter/filter.component.mjs +0 -65
  326. package/esm2022/components/filter/index.mjs +0 -2
  327. package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
  328. package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
  329. package/esm2022/components/floating-container/index.mjs +0 -2
  330. package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
  331. package/esm2022/components/index.mjs +0 -73
  332. package/esm2022/components/input-chip/index.mjs +0 -5
  333. package/esm2022/components/input-chip/input-chip.component.mjs +0 -101
  334. package/esm2022/components/input-chip/input-chip.directive.mjs +0 -138
  335. package/esm2022/components/input-chip/input-chip.mjs +0 -4
  336. package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
  337. package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
  338. package/esm2022/components/input-color/index.mjs +0 -3
  339. package/esm2022/components/input-color/input-color.component.mjs +0 -89
  340. package/esm2022/components/input-color/input-color.options.mjs +0 -6
  341. package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
  342. package/esm2022/components/input-date/date-filler.mjs +0 -20
  343. package/esm2022/components/input-date/index.mjs +0 -6
  344. package/esm2022/components/input-date/input-date.component.mjs +0 -33
  345. package/esm2022/components/input-date/input-date.directive.mjs +0 -167
  346. package/esm2022/components/input-date/input-date.mjs +0 -9
  347. package/esm2022/components/input-date/input-date.options.mjs +0 -11
  348. package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
  349. package/esm2022/components/input-date-multi/index.mjs +0 -3
  350. package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
  351. package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
  352. package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
  353. package/esm2022/components/input-date-range/index.mjs +0 -4
  354. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
  355. package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
  356. package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
  357. package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
  358. package/esm2022/components/input-date-time/index.mjs +0 -5
  359. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
  360. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -178
  361. package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
  362. package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
  363. package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
  364. package/esm2022/components/input-inline/index.mjs +0 -2
  365. package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
  366. package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
  367. package/esm2022/components/input-month/index.mjs +0 -5
  368. package/esm2022/components/input-month/input-month.component.mjs +0 -53
  369. package/esm2022/components/input-month/input-month.directive.mjs +0 -65
  370. package/esm2022/components/input-month/input-month.mjs +0 -9
  371. package/esm2022/components/input-month/input-month.options.mjs +0 -19
  372. package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
  373. package/esm2022/components/input-month-range/index.mjs +0 -4
  374. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
  375. package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
  376. package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
  377. package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
  378. package/esm2022/components/input-number/index.mjs +0 -6
  379. package/esm2022/components/input-number/input-number.directive.mjs +0 -196
  380. package/esm2022/components/input-number/input-number.mjs +0 -9
  381. package/esm2022/components/input-number/input-number.options.mjs +0 -15
  382. package/esm2022/components/input-number/quantum.directive.mjs +0 -68
  383. package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
  384. package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
  385. package/esm2022/components/input-password/index.mjs +0 -3
  386. package/esm2022/components/input-password/input-password.component.mjs +0 -69
  387. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  388. package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
  389. package/esm2022/components/input-phone/index.mjs +0 -3
  390. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
  391. package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
  392. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
  393. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  394. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  395. package/esm2022/components/input-phone-international/index.mjs +0 -3
  396. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
  397. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
  398. package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
  399. package/esm2022/components/input-pin/index.mjs +0 -2
  400. package/esm2022/components/input-pin/input-pin.component.mjs +0 -66
  401. package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
  402. package/esm2022/components/input-range/index.mjs +0 -3
  403. package/esm2022/components/input-range/input-range.component.mjs +0 -166
  404. package/esm2022/components/input-range/input-range.mjs +0 -4
  405. package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
  406. package/esm2022/components/input-slider/index.mjs +0 -3
  407. package/esm2022/components/input-slider/input-slider.directive.mjs +0 -114
  408. package/esm2022/components/input-slider/input-slider.mjs +0 -9
  409. package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
  410. package/esm2022/components/input-time/index.mjs +0 -5
  411. package/esm2022/components/input-time/input-time.component.mjs +0 -64
  412. package/esm2022/components/input-time/input-time.directive.mjs +0 -159
  413. package/esm2022/components/input-time/input-time.mjs +0 -4
  414. package/esm2022/components/input-time/input-time.options.mjs +0 -10
  415. package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
  416. package/esm2022/components/input-year/index.mjs +0 -4
  417. package/esm2022/components/input-year/input-year.directive.mjs +0 -103
  418. package/esm2022/components/input-year/input-year.mjs +0 -4
  419. package/esm2022/components/input-year/input-year.options.mjs +0 -12
  420. package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
  421. package/esm2022/components/items-with-more/index.mjs +0 -6
  422. package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
  423. package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
  424. package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
  425. package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
  426. package/esm2022/components/items-with-more/more.directive.mjs +0 -18
  427. package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
  428. package/esm2022/components/like/index.mjs +0 -3
  429. package/esm2022/components/like/like.component.mjs +0 -46
  430. package/esm2022/components/like/like.options.mjs +0 -10
  431. package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
  432. package/esm2022/components/line-clamp/index.mjs +0 -4
  433. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
  434. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
  435. package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -95
  436. package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
  437. package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
  438. package/esm2022/components/message/index.mjs +0 -2
  439. package/esm2022/components/message/message.directive.mjs +0 -43
  440. package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
  441. package/esm2022/components/multi-select/index.mjs +0 -6
  442. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -50
  443. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
  444. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -56
  445. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
  446. package/esm2022/components/multi-select/multi-select.mjs +0 -9
  447. package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
  448. package/esm2022/components/notification-middle/index.mjs +0 -4
  449. package/esm2022/components/notification-middle/notification-middle.component.mjs +0 -57
  450. package/esm2022/components/notification-middle/notification-middle.directive.mjs +0 -21
  451. package/esm2022/components/notification-middle/notification-middle.service.mjs +0 -22
  452. package/esm2022/components/notification-middle/taiga-ui-kit-components-notification-middle.mjs +0 -5
  453. package/esm2022/components/pager/index.mjs +0 -2
  454. package/esm2022/components/pager/pager.component.mjs +0 -97
  455. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  456. package/esm2022/components/pagination/index.mjs +0 -2
  457. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  458. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  459. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  460. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  461. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  462. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  463. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  464. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  465. package/esm2022/components/pin/index.mjs +0 -2
  466. package/esm2022/components/pin/pin.directive.mjs +0 -35
  467. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  468. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  469. package/esm2022/components/preview/dialog/index.mjs +0 -4
  470. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  471. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  472. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  473. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  474. package/esm2022/components/preview/index.mjs +0 -8
  475. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  476. package/esm2022/components/preview/preview.component.mjs +0 -142
  477. package/esm2022/components/preview/preview.mjs +0 -13
  478. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  479. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  480. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -81
  481. package/esm2022/components/progress/index.mjs +0 -9
  482. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  483. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  484. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -40
  485. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  486. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  487. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  488. package/esm2022/components/progress/progress.mjs +0 -15
  489. package/esm2022/components/progress/progress.options.mjs +0 -13
  490. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  491. package/esm2022/components/pulse/index.mjs +0 -2
  492. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  493. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  494. package/esm2022/components/push/index.mjs +0 -7
  495. package/esm2022/components/push/push-alert.component.mjs +0 -29
  496. package/esm2022/components/push/push.component.mjs +0 -39
  497. package/esm2022/components/push/push.directive.mjs +0 -33
  498. package/esm2022/components/push/push.mjs +0 -5
  499. package/esm2022/components/push/push.options.mjs +0 -21
  500. package/esm2022/components/push/push.service.mjs +0 -19
  501. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  502. package/esm2022/components/radio/index.mjs +0 -5
  503. package/esm2022/components/radio/radio.component.mjs +0 -53
  504. package/esm2022/components/radio/radio.directive.mjs +0 -32
  505. package/esm2022/components/radio/radio.mjs +0 -4
  506. package/esm2022/components/radio/radio.options.mjs +0 -13
  507. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  508. package/esm2022/components/radio-list/index.mjs +0 -2
  509. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  510. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  511. package/esm2022/components/range/index.mjs +0 -3
  512. package/esm2022/components/range/range-change.directive.mjs +0 -78
  513. package/esm2022/components/range/range.component.mjs +0 -164
  514. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  515. package/esm2022/components/rating/index.mjs +0 -3
  516. package/esm2022/components/rating/rating.component.mjs +0 -64
  517. package/esm2022/components/rating/rating.options.mjs +0 -13
  518. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  519. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  520. package/esm2022/components/routable-dialog/index.mjs +0 -3
  521. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  522. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  523. package/esm2022/components/segmented/index.mjs +0 -3
  524. package/esm2022/components/segmented/segmented.component.mjs +0 -67
  525. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  526. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  527. package/esm2022/components/select/index.mjs +0 -5
  528. package/esm2022/components/select/native-select/native-select.component.mjs +0 -57
  529. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  530. package/esm2022/components/select/select.directive.mjs +0 -56
  531. package/esm2022/components/select/select.mjs +0 -4
  532. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  533. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  534. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  535. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  536. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  537. package/esm2022/components/slider/index.mjs +0 -8
  538. package/esm2022/components/slider/slider.component.mjs +0 -124
  539. package/esm2022/components/slider/slider.mjs +0 -12
  540. package/esm2022/components/slider/slider.options.mjs +0 -16
  541. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  542. package/esm2022/components/slides/index.mjs +0 -2
  543. package/esm2022/components/slides/slides.directive.mjs +0 -51
  544. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  545. package/esm2022/components/status/index.mjs +0 -2
  546. package/esm2022/components/status/status.directive.mjs +0 -35
  547. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  548. package/esm2022/components/stepper/index.mjs +0 -4
  549. package/esm2022/components/stepper/step.component.mjs +0 -58
  550. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  551. package/esm2022/components/stepper/stepper.mjs +0 -4
  552. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  553. package/esm2022/components/switch/index.mjs +0 -3
  554. package/esm2022/components/switch/switch.component.mjs +0 -63
  555. package/esm2022/components/switch/switch.options.mjs +0 -15
  556. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  557. package/esm2022/components/tabs/index.mjs +0 -9
  558. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  559. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  560. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  561. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -213
  562. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  563. package/esm2022/components/tabs/tabs.mjs +0 -15
  564. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  565. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  566. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  567. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  568. package/esm2022/components/textarea/index.mjs +0 -4
  569. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  570. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -93
  571. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  572. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  573. package/esm2022/components/tiles/index.mjs +0 -7
  574. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  575. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  576. package/esm2022/components/tiles/tile.component.mjs +0 -69
  577. package/esm2022/components/tiles/tile.service.mjs +0 -90
  578. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  579. package/esm2022/components/tiles/tiles.mjs +0 -5
  580. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  581. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  582. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  583. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  584. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  585. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  586. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  587. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  588. package/esm2022/components/tree/index.mjs +0 -12
  589. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  590. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  591. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  592. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  593. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  594. package/esm2022/components/tree/tree.mjs +0 -17
  595. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  596. package/esm2022/directives/button-close/index.mjs +0 -2
  597. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  598. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  599. package/esm2022/directives/button-group/index.mjs +0 -2
  600. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  601. package/esm2022/directives/button-select/button-select.directive.mjs +0 -48
  602. package/esm2022/directives/button-select/index.mjs +0 -2
  603. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  604. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  605. package/esm2022/directives/chevron/index.mjs +0 -2
  606. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  607. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  608. package/esm2022/directives/connected/index.mjs +0 -2
  609. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  610. package/esm2022/directives/copy/copy.component.mjs +0 -48
  611. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  612. package/esm2022/directives/copy/copy.mjs +0 -4
  613. package/esm2022/directives/copy/copy.options.mjs +0 -3
  614. package/esm2022/directives/copy/index.mjs +0 -6
  615. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  616. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  617. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  618. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  619. package/esm2022/directives/fade/fade.directive.mjs +0 -92
  620. package/esm2022/directives/fade/index.mjs +0 -2
  621. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  622. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  623. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  624. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  625. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  626. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  627. package/esm2022/directives/highlight/index.mjs +0 -2
  628. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  629. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  630. package/esm2022/directives/icon-badge/index.mjs +0 -2
  631. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  632. package/esm2022/directives/index.mjs +0 -21
  633. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  634. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -58
  635. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  636. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  637. package/esm2022/directives/password/index.mjs +0 -3
  638. package/esm2022/directives/password/password.directive.mjs +0 -67
  639. package/esm2022/directives/password/password.options.mjs +0 -8
  640. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  641. package/esm2022/directives/present/index.mjs +0 -2
  642. package/esm2022/directives/present/present.directive.mjs +0 -33
  643. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  644. package/esm2022/directives/sensitive/index.mjs +0 -2
  645. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  646. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  647. package/esm2022/directives/shimmer/index.mjs +0 -2
  648. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  649. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  650. package/esm2022/directives/skeleton/index.mjs +0 -2
  651. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  652. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  653. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  654. package/esm2022/directives/tooltip/index.mjs +0 -3
  655. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  656. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  657. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  658. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  659. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  660. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  661. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  662. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  663. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  664. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  665. package/esm2022/index.mjs +0 -6
  666. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  667. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  668. package/esm2022/pipes/emails/index.mjs +0 -3
  669. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  670. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  671. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  672. package/esm2022/pipes/field-error/index.mjs +0 -3
  673. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  674. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  675. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  676. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  677. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  678. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  679. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  680. package/esm2022/pipes/index.mjs +0 -8
  681. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  682. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  683. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  684. package/esm2022/pipes/stringify/index.mjs +0 -2
  685. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  686. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  687. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  688. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  689. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  690. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  691. package/esm2022/taiga-ui-kit.mjs +0 -5
  692. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  693. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  694. package/esm2022/tokens/i18n.mjs +0 -75
  695. package/esm2022/tokens/index.mjs +0 -10
  696. package/esm2022/tokens/input-date-options.mjs +0 -13
  697. package/esm2022/tokens/items-handlers.mjs +0 -27
  698. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  699. package/esm2022/tokens/month-formatter.mjs +0 -12
  700. package/esm2022/tokens/preview-icons.mjs +0 -17
  701. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  702. package/esm2022/tokens/validation-errors.mjs +0 -6
  703. package/esm2022/utils/create-time-periods.mjs +0 -12
  704. package/esm2022/utils/index.mjs +0 -7
  705. package/esm2022/utils/inject-value.mjs +0 -11
  706. package/esm2022/utils/is-flat.mjs +0 -4
  707. package/esm2022/utils/maskito.binding.mjs +0 -6
  708. package/esm2022/utils/phone.mjs +0 -6
  709. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  710. package/esm2022/utils/toggle-day.mjs +0 -6
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-fluid-typography.mjs","sources":["../../../projects/kit/directives/fluid-typography/fluid-typography.options.ts","../../../projects/kit/directives/fluid-typography/fluid-typography.directive.ts","../../../projects/kit/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiFluidTypographyOptions {\n readonly min: number;\n readonly max: number;\n}\n\nexport const TUI_FLUID_TYPOGRAPHY_DEFAULT_OPTIONS: TuiFluidTypographyOptions = {\n min: 0.625,\n max: 1.25,\n};\n\nexport const TUI_FLUID_TYPOGRAPHY_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_FLUID_TYPOGRAPHY_OPTIONS' : '',\n {\n factory: () => TUI_FLUID_TYPOGRAPHY_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiFluidTypographyOptionsProvider(\n options: Partial<TuiFluidTypographyOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_FLUID_TYPOGRAPHY_OPTIONS,\n options,\n TUI_FLUID_TYPOGRAPHY_DEFAULT_OPTIONS,\n );\n}\n","import {Directive, inject, Input, type OnChanges} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {\n MutationObserverService,\n WA_MUTATION_OBSERVER_INIT,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiZonefree} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {fromEvent, merge, Subject} from 'rxjs';\n\nimport {TUI_FLUID_TYPOGRAPHY_OPTIONS} from './fluid-typography.options';\n\nconst STEP = 1 / 16;\n\n@Directive({\n standalone: true,\n selector: '[tuiFluidTypography]',\n providers: [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: WA_MUTATION_OBSERVER_INIT,\n useValue: {characterData: true, subtree: true},\n },\n ],\n host: {tuiFluidTypography: ''},\n})\nexport class TuiFluidTypography implements OnChanges {\n // TODO: refactor to signal inputs after Angular update\n private readonly changes$ = new Subject<void>();\n private readonly el = tuiInjectElement();\n private readonly options = inject(TUI_FLUID_TYPOGRAPHY_OPTIONS);\n\n protected readonly sub = merge(\n this.changes$,\n inject(ResizeObserverService, {self: true}),\n inject(MutationObserverService, {self: true}),\n fromEvent(this.el, 'input'),\n )\n .pipe(tuiZonefree(), takeUntilDestroyed())\n .subscribe(() => {\n const min = Number(this.tuiFluidTypography[0] || this.options.min);\n const max = Number(this.tuiFluidTypography[1] || this.options.max);\n\n for (let i = max; i >= min; i -= STEP) {\n this.el.style.fontSize = `${i}rem`;\n\n if (this.el.scrollWidth <= this.el.clientWidth) {\n break;\n }\n }\n });\n\n @Input()\n public tuiFluidTypography: readonly [min: number, max: number] | '' = '';\n\n public ngOnChanges(): void {\n this.changes$.next();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQa,MAAA,oCAAoC,GAA8B;AAC3E,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,GAAG,EAAE,IAAI;EACX;AAEW,MAAA,4BAA4B,GAAG,IAAI,cAAc,CAC1D,SAAS,GAAG,8BAA8B,GAAG,EAAE,EAC/C;AACI,IAAA,O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AAA,OAAO,EAAE,yBAAyB;4BAClC,QAAQ,EAAE,EAAC,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC;AACjD,yBAAA;AACJ,qBAAA;AACD,oBAAA,IAAI,EAAE,EAAC,kBAAkB,EAAE,EAAE,EAAC;AACjC,iBAAA,CAAA;8BA4BU,kBAAkB,EAAA,CAAA;sBADxB,KAAK;;;ACtDV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-fluid-typography.mjs","sources":["../../../projects/kit/directives/fluid-typography/fluid-typography.options.ts","../../../projects/kit/directives/fluid-typography/fluid-typography.directive.ts","../../../projects/kit/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport interface TuiFluidTypographyOptions {\n readonly min: number;\n readonly max: number;\n}\n\nexport const TUI_FLUID_TYPOGRAPHY_DEFAULT_OPTIONS: TuiFluidTypographyOptions = {\n min: 0.625,\n max: 1.25,\n};\n\nexport const TUI_FLUID_TYPOGRAPHY_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_FLUID_TYPOGRAPHY_OPTIONS' : '',\n {\n factory: () => TUI_FLUID_TYPOGRAPHY_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiFluidTypographyOptionsProvider(\n options: Partial<TuiFluidTypographyOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_FLUID_TYPOGRAPHY_OPTIONS,\n options,\n TUI_FLUID_TYPOGRAPHY_DEFAULT_OPTIONS,\n );\n}\n","import {Directive, inject, Input, type OnChanges} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {\n MutationObserverService,\n WA_MUTATION_OBSERVER_INIT,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiZonefree} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {fromEvent, merge, Subject} from 'rxjs';\n\nimport {TUI_FLUID_TYPOGRAPHY_OPTIONS} from './fluid-typography.options';\n\nconst STEP = 1 / 16;\n\n@Directive({\n standalone: true,\n selector: '[tuiFluidTypography]',\n providers: [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: WA_MUTATION_OBSERVER_INIT,\n useValue: {characterData: true, subtree: true},\n },\n ],\n host: {tuiFluidTypography: ''},\n})\nexport class TuiFluidTypography implements OnChanges {\n // TODO: refactor to signal inputs after Angular update\n private readonly changes$ = new Subject<void>();\n private readonly el = tuiInjectElement();\n private readonly options = inject(TUI_FLUID_TYPOGRAPHY_OPTIONS);\n\n protected readonly sub = merge(\n this.changes$,\n inject(ResizeObserverService, {self: true}),\n inject(MutationObserverService, {self: true}),\n fromEvent(this.el, 'input'),\n )\n .pipe(tuiZonefree(), takeUntilDestroyed())\n .subscribe(() => {\n const min = Number(this.tuiFluidTypography[0] || this.options.min);\n const max = Number(this.tuiFluidTypography[1] || this.options.max);\n\n for (let i = max; i >= min; i -= STEP) {\n this.el.style.fontSize = `${i}rem`;\n\n if (this.el.scrollWidth <= this.el.clientWidth) {\n break;\n }\n }\n });\n\n @Input()\n public tuiFluidTypography: readonly [min: number, max: number] | '' = '';\n\n public ngOnChanges(): void {\n this.changes$.next();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQO,MAAM,oCAAoC,GAA8B;AAC3E,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,GAAG,EAAE,IAAI;;AAGN,MAAM,4BAA4B,GAAG,IAAI,cAAc,CAC1D,SAAS,GAAG,8BAA8B,GAAG,EAAE,EAC/C;AACI,IAAA,OAAO,EAAE,MAAM,oCAAoC;AACtD,CAAA;AAGC,SAAU,iCAAiC,CAC7C,OAA2C,EAAA;IAE3C,OAAO,iBAAiB,CACpB,4BAA4B,EAC5B,O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;;;ACtDL;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { DOCUMENT } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, Renderer2, Directive, Input } from '@angular/core';
3
+ import { inject, Renderer2, Input, Directive } from '@angular/core';
4
4
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
5
  import { ResizeObserverService } from '@ng-web-apis/resize-observer';
6
6
  import { svgNodeFilter } from '@taiga-ui/cdk/constants';
@@ -70,10 +70,10 @@ class TuiHighlight {
70
70
  this.renderer.appendChild(this.el, highlight);
71
71
  return highlight;
72
72
  }
73
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHighlight, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
74
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiHighlight, isStandalone: true, selector: "[tuiHighlight]", inputs: { tuiHighlight: "tuiHighlight", tuiHighlightColor: "tuiHighlightColor" }, host: { properties: { "style.position": "\"relative\"", "style.zIndex": "0" } }, providers: [ResizeObserverService], usesOnChanges: true, ngImport: i0 }); }
73
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHighlight, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
74
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiHighlight, isStandalone: true, selector: "[tuiHighlight]", inputs: { tuiHighlight: "tuiHighlight", tuiHighlightColor: "tuiHighlightColor" }, host: { properties: { "style.position": "\"relative\"", "style.zIndex": "0" } }, providers: [ResizeObserverService], usesOnChanges: true, ngImport: i0 }); }
75
75
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHighlight, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHighlight, decorators: [{
77
77
  type: Directive,
78
78
  args: [{
79
79
  standalone: true,
@@ -84,7 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
84
84
  '[style.zIndex]': '0',
85
85
  },
86
86
  }]
87
- }], ctorParameters: function () { return []; }, propDecorators: { tuiHighlight: [{
87
+ }], ctorParameters: () => [], propDecorators: { tuiHighlight: [{
88
88
  type: Input
89
89
  }], tuiHighlightColor: [{
90
90
  type: Input
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-highlight.mjs","sources":["../../../projects/kit/directives/highlight/highlight.directive.ts","../../../projects/kit/directives/highlight/taiga-ui-kit-directives-highlight.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Directive, inject, Input, type OnChanges, Renderer2} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {svgNodeFilter} from '@taiga-ui/cdk/constants';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiPx} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport const [TUI_HIGHLIGHT_OPTIONS, tuiHighlightOptionsProvider] = tuiCreateOptions({\n highlightColor: 'var(--tui-service-selection-background)',\n});\n\n@Directive({\n standalone: true,\n selector: '[tuiHighlight]',\n providers: [ResizeObserverService],\n host: {\n '[style.position]': '\"relative\"',\n '[style.zIndex]': '0',\n },\n})\nexport class TuiHighlight implements OnChanges {\n private readonly el = tuiInjectElement();\n private readonly renderer = inject(Renderer2);\n private readonly doc = inject(DOCUMENT);\n\n private readonly highlight: HTMLElement = this.setUpHighlight();\n private readonly treeWalker = this.doc.createTreeWalker(\n this.el,\n NodeFilter.SHOW_TEXT,\n svgNodeFilter,\n );\n\n @Input()\n public tuiHighlight = '';\n\n @Input()\n public tuiHighlightColor = inject(TUI_HIGHLIGHT_OPTIONS).highlightColor;\n\n constructor() {\n inject(ResizeObserverService, {self: true})\n .pipe(takeUntilDestroyed())\n .subscribe(() => this.updateStyles());\n }\n\n public ngOnChanges(): void {\n this.updateStyles();\n }\n\n protected get match(): boolean {\n return this.indexOf(this.el.textContent) !== -1;\n }\n\n private updateStyles(): void {\n this.highlight.style.display = 'none';\n\n if (!this.match) {\n return;\n }\n\n this.treeWalker.currentNode = this.el;\n\n do {\n const index = this.indexOf(this.treeWalker.currentNode.nodeValue);\n\n if (index === -1) {\n continue;\n }\n\n const range = this.doc.createRange();\n\n range.setStart(this.treeWalker.currentNode, index);\n range.setEnd(this.treeWalker.currentNode, index + this.tuiHighlight.length);\n\n const hostRect = this.el.getBoundingClientRect();\n const {left, top, width, height} = range.getBoundingClientRect();\n const {style} = this.highlight;\n\n style.background = this.tuiHighlightColor;\n style.left = tuiPx(left - hostRect.left);\n style.top = tuiPx(top - hostRect.top);\n style.width = tuiPx(width);\n style.height = tuiPx(height);\n style.display = 'block';\n\n return;\n } while (this.treeWalker.nextNode());\n }\n\n private indexOf(source: string | null): number {\n return !source || !this.tuiHighlight\n ? -1\n : source.toLowerCase().indexOf(this.tuiHighlight.toLowerCase());\n }\n\n private setUpHighlight(): HTMLElement {\n const highlight = this.renderer.createElement('div');\n const {style} = highlight;\n\n style.background = this.tuiHighlightColor;\n style.zIndex = '-1';\n style.position = 'absolute';\n this.renderer.appendChild(this.el, highlight);\n\n return highlight;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MASa,CAAC,qBAAqB,EAAE,2BAA2B,CAAC,GAAG,gBAAgB,CAAC;AACjF,IAAA,cAAc,EAAE,yCAAyC;AAC5D,CAAA,EAAE;AAEH,MASa,YAAY,CAAA;AAkBrB,IAAA,WAAA,GAAA;QAjBiB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE,CAAC;AACxB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AA,CAAA;0EAcU,YAAY,EAAA,CAAA;sBADlB,KAAK;gBAIC,iBAAiB,EAAA,CAAA;sBADvB,KAAK;;;ACrCV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-highlight.mjs","sources":["../../../projects/kit/directives/highlight/highlight.directive.ts","../../../projects/kit/directives/highlight/taiga-ui-kit-directives-highlight.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Directive, inject, Input, type OnChanges, Renderer2} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {svgNodeFilter} from '@taiga-ui/cdk/constants';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiPx} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport const [TUI_HIGHLIGHT_OPTIONS, tuiHighlightOptionsProvider] = tuiCreateOptions({\n highlightColor: 'var(--tui-service-selection-background)',\n});\n\n@Directive({\n standalone: true,\n selector: '[tuiHighlight]',\n providers: [ResizeObserverService],\n host: {\n '[style.position]': '\"relative\"',\n '[style.zIndex]': '0',\n },\n})\nexport class TuiHighlight implements OnChanges {\n private readonly el = tuiInjectElement();\n private readonly renderer = inject(Renderer2);\n private readonly doc = inject(DOCUMENT);\n\n private readonly highlight: HTMLElement = this.setUpHighlight();\n private readonly treeWalker = this.doc.createTreeWalker(\n this.el,\n NodeFilter.SHOW_TEXT,\n svgNodeFilter,\n );\n\n @Input()\n public tuiHighlight = '';\n\n @Input()\n public tuiHighlightColor = inject(TUI_HIGHLIGHT_OPTIONS).highlightColor;\n\n constructor() {\n inject(ResizeObserverService, {self: true})\n .pipe(takeUntilDestroyed())\n .subscribe(() => this.updateStyles());\n }\n\n public ngOnChanges(): void {\n this.updateStyles();\n }\n\n protected get match(): boolean {\n return this.indexOf(this.el.textContent) !== -1;\n }\n\n private updateStyles(): void {\n this.highlight.style.display = 'none';\n\n if (!this.match) {\n return;\n }\n\n this.treeWalker.currentNode = this.el;\n\n do {\n const index = this.indexOf(this.treeWalker.currentNode.nodeValue);\n\n if (index === -1) {\n continue;\n }\n\n const range = this.doc.createRange();\n\n range.setStart(this.treeWalker.currentNode, index);\n range.setEnd(this.treeWalker.currentNode, index + this.tuiHighlight.length);\n\n const hostRect = this.el.getBoundingClientRect();\n const {left, top, width, height} = range.getBoundingClientRect();\n const {style} = this.highlight;\n\n style.background = this.tuiHighlightColor;\n style.left = tuiPx(left - hostRect.left);\n style.top = tuiPx(top - hostRect.top);\n style.width = tuiPx(width);\n style.height = tuiPx(height);\n style.display = 'block';\n\n return;\n } while (this.treeWalker.nextNode());\n }\n\n private indexOf(source: string | null): number {\n return !source || !this.tuiHighlight\n ? -1\n : source.toLowerCase().indexOf(this.tuiHighlight.toLowerCase());\n }\n\n private setUpHighlight(): HTMLElement {\n const highlight = this.renderer.createElement('div');\n const {style} = highlight;\n\n style.background = this.tuiHighlightColor;\n style.zIndex = '-1';\n style.position = 'absolute';\n this.renderer.appendChild(this.el, highlight);\n\n return highlight;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MASa,CAAC,qBAAqB,EAAE,2BAA2B,CAAC,GAAG,gBAAgB,CAAC;AACjF,IAAA,cAAc,EAAE,yCAAyC;AAC5D,CAAA;MAWY,YAAY,CAAA;AAkBrB,IAAA,WAAA,GAAA;QAjBiB,IAAA,CAAA,EAAE,GAAG,gBAAgB,EAAE;AACvB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;AAC5B,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;AAEtB,QAAA,IAAA,CAAA,SAAS,GAAgB,IAAI,CAAC,cAAc,EAAE;AAC9C,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAgB,CACn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,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,cAAA,EAAA,cAAA,EAAA,GAAA,EAAA,EAAA,EAAA,SAAA,EANV,CAAC,qBAAqB,CAAC,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAMzB,YAAY,EAAA,UAAA,EAAA,CAAA;kBATxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,SAAS,EAAE,CAAC,qBAAqB,CAAC;AAClC,oBAAA,IAAI,EAAE;AACF,wBAAA,kBAAkB,EAAE,YAAY;AAChC,wBAAA,gBAAgB,EAAE,GAAG;AACxB,qBAAA;AACJ,iBAAA;wDAcU,YAAY,EAAA,CAAA;sBADlB;gBAIM,iBAAiB,EAAA,CAAA;sBADvB;;;ACrCL;;AAEG;;;;"}
@@ -1,17 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, inject, signal, Directive, Input } from '@angular/core';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, inject, signal, Input, Directive } from '@angular/core';
3
3
  import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
4
  import { TuiIcon } from '@taiga-ui/core/components/icon';
5
5
 
6
6
  class TuiIconBadgeStyles {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconBadgeStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiIconBadgeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-icon-badge" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiIconBadge]:before{content:\"\";position:absolute;right:.143em;bottom:.143em;display:var(--t-icon-badge, none);inline-size:.57em;block-size:.57em;transform:translate(50%,50%);-webkit-mask:var(--t-icon-badge) no-repeat center / contain;mask:var(--t-icon-badge) no-repeat center / contain;background:currentColor}[tuiIconBadge][style*=\"--t-icon-badge:\"]:after{-webkit-mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);-webkit-mask-composite:source-in,xor;mask-composite:intersect}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
7
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiIconBadgeStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiIconBadgeStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-icon-badge" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiIconBadge]:after{content:\"\";position:absolute;right:.143em;bottom:.143em;display:var(--t-icon-badge, none);inline-size:.57em;block-size:.57em;transform:translate(50%,50%);mask:var(--t-icon-badge) no-repeat center / calc(100% + 10 * var(--tui-stroke-width, .125rem)) 100%;background:currentColor}[tuiIconBadge][style*=\"--t-icon-badge:\"]:before{-webkit-mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);-webkit-mask-composite:source-in;mask-composite:intersect}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconBadgeStyles, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiIconBadgeStyles, decorators: [{
11
11
  type: Component,
12
12
  args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
13
13
  class: 'tui-icon-badge',
14
- }, styles: ["[tuiIconBadge]:before{content:\"\";position:absolute;right:.143em;bottom:.143em;display:var(--t-icon-badge, none);inline-size:.57em;block-size:.57em;transform:translate(50%,50%);-webkit-mask:var(--t-icon-badge) no-repeat center / contain;mask:var(--t-icon-badge) no-repeat center / contain;background:currentColor}[tuiIconBadge][style*=\"--t-icon-badge:\"]:after{-webkit-mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);-webkit-mask-composite:source-in,xor;mask-composite:intersect}\n"] }]
14
+ }, styles: ["[tuiIconBadge]:after{content:\"\";position:absolute;right:.143em;bottom:.143em;display:var(--t-icon-badge, none);inline-size:.57em;block-size:.57em;transform:translate(50%,50%);mask:var(--t-icon-badge) no-repeat center / calc(100% + 10 * var(--tui-stroke-width, .125rem)) 100%;background:currentColor}[tuiIconBadge][style*=\"--t-icon-badge:\"]:before{-webkit-mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);mask-image:var(--t-icon),radial-gradient(circle at bottom .1em right .1em,transparent calc(.4em - .5px),#000 .4em);-webkit-mask-composite:source-in;mask-composite:intersect}\n"] }]
15
15
  }] });
16
16
  class TuiIconBadge {
17
17
  constructor() {
@@ -22,10 +22,10 @@ class TuiIconBadge {
22
22
  set badge(icon) {
23
23
  this.badgeSrc.set(this.icon.resolve(icon));
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconBadge, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
26
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiIconBadge, isStandalone: true, selector: "tui-icon[badge]", inputs: { badge: "badge" }, host: { attributes: { "tuiIconBadge": "" }, properties: { "style.--t-icon-badge": "badgeSrc()" } }, ngImport: i0 }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiIconBadge, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
26
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiIconBadge, isStandalone: true, selector: "tui-icon[badge]", inputs: { badge: "badge" }, host: { attributes: { "tuiIconBadge": "" }, properties: { "style.--t-icon-badge": "badgeSrc()" } }, ngImport: i0 }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIconBadge, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiIconBadge, decorators: [{
29
29
  type: Directive,
30
30
  args: [{
31
31
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-icon-badge.mjs","sources":["../../../projects/kit/directives/icon-badge/icon-badge.directive.ts","../../../projects/kit/directives/icon-badge/taiga-ui-kit-directives-icon-badge.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./icon-badge.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-icon-badge',\n },\n})\nclass TuiIconBadgeStyles {}\n\n@Directive({\n standalone: true,\n selector: 'tui-icon[badge]',\n host: {\n tuiIconBadge: '',\n '[style.--t-icon-badge]': 'badgeSrc()',\n },\n})\nexport class TuiIconBadge {\n private readonly icon = inject(TuiIcon);\n\n protected readonly nothing = tuiWithStyles(TuiIconBadgeStyles);\n protected readonly badgeSrc = signal<string | null>(null);\n\n @Input()\n public set badge(icon: string) {\n this.badgeSrc.set(this.icon.resolve(icon));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAYA,MAUM,kBAAkB,CAAA;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,oHARV,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,2pBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAQV,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAVvB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,K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"version":3,"file":"taiga-ui-kit-directives-icon-badge.mjs","sources":["../../../projects/kit/directives/icon-badge/icon-badge.directive.ts","../../../projects/kit/directives/icon-badge/taiga-ui-kit-directives-icon-badge.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./icon-badge.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-icon-badge',\n },\n})\nclass TuiIconBadgeStyles {}\n\n@Directive({\n standalone: true,\n selector: 'tui-icon[badge]',\n host: {\n tuiIconBadge: '',\n '[style.--t-icon-badge]': 'badgeSrc()',\n },\n})\nexport class TuiIconBadge {\n private readonly icon = inject(TuiIcon);\n\n protected readonly nothing = tuiWithStyles(TuiIconBadgeStyles);\n protected readonly badgeSrc = signal<string | null>(null);\n\n @Input()\n public set badge(icon: string) {\n this.badgeSrc.set(this.icon.resolve(icon));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAYA,MAUM,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,oHARV,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,2oBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,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AC3B,oBAAA,IAAI,EAAE;AACF,wBAAA,YAAY,EAAE,EAAE;AAChB,wBAAA,wBAAwB,EAAE,YAAY;AACzC,qBAAA;AACJ,iBAAA;8BAQc,KAAK,EAAA,CAAA;sBADf;;;ACtCL;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { isPlatformServer } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, Injectable, PLATFORM_ID, signal, Directive, Input } from '@angular/core';
3
+ import { inject, Injectable, PLATFORM_ID, signal, Input, Directive } from '@angular/core';
4
4
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
5
  import { IntersectionObserverService } from '@ng-web-apis/intersection-observer';
6
6
  import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
@@ -17,12 +17,12 @@ class TuiLazyLoadingService extends Observable {
17
17
  next(src) {
18
18
  this.src$.next(src);
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLazyLoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
21
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLazyLoadingService }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLazyLoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
21
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLazyLoadingService }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLazyLoadingService, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLazyLoadingService, decorators: [{
24
24
  type: Injectable
25
- }], ctorParameters: function () { return []; } });
25
+ }], ctorParameters: () => [] });
26
26
 
27
27
  /**
28
28
  * @deprecated: Drop in v5.0
@@ -51,10 +51,10 @@ class TuiImgLazyLoading {
51
51
  this.background.set('');
52
52
  this.animation.set('');
53
53
  }
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiImgLazyLoading, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
55
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiImgLazyLoading, isStandalone: true, selector: "img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]", inputs: { srcSetter: ["src", "srcSetter"] }, host: { listeners: { "load": "unset()", "error": "unset()" }, properties: { "style.animation": "animation()", "style.background": "background()", "attr.loading": "supported ? \"lazy\" : null", "attr.src": "src()" } }, providers: [TuiLazyLoadingService, IntersectionObserverService], ngImport: i0 }); }
54
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiImgLazyLoading, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
55
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiImgLazyLoading, isStandalone: true, selector: "img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]", inputs: { srcSetter: ["src", "srcSetter"] }, host: { listeners: { "load": "unset()", "error": "unset()" }, properties: { "style.animation": "animation()", "style.background": "background()", "attr.loading": "supported ? \"lazy\" : null", "attr.src": "src()" } }, providers: [TuiLazyLoadingService, IntersectionObserverService], ngImport: i0 }); }
56
56
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiImgLazyLoading, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiImgLazyLoading, decorators: [{
58
58
  type: Directive,
59
59
  args: [{
60
60
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-lazy-loading.mjs","sources":["../../../projects/kit/directives/lazy-loading/lazy-loading.service.ts","../../../projects/kit/directives/lazy-loading/lazy-loading.directive.ts","../../../projects/kit/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.ts"],"sourcesContent":["import {inject, Injectable} from '@angular/core';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {filter, map, Observable, Subject, switchMap, take} from 'rxjs';\n\n@Injectable()\nexport class TuiLazyLoadingService extends Observable<SafeResourceUrl | string> {\n private readonly src$ = new Subject<SafeResourceUrl | string>();\n private readonly intersections$ = inject(IntersectionObserverService);\n private readonly stream$ = this.src$.pipe(\n switchMap((src) =>\n this.intersections$.pipe(\n filter((entry) => !!entry[0]?.isIntersecting),\n map(() => src),\n take(1),\n ),\n ),\n tuiWatch(),\n );\n\n constructor() {\n super((subscriber) => this.stream$.subscribe(subscriber));\n }\n\n public next(src: SafeResourceUrl | string): void {\n this.src$.next(src);\n }\n}\n","import {isPlatformServer} from '@angular/common';\nimport {Directive, inject, Input, PLATFORM_ID, signal} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\n\nimport {TuiLazyLoadingService} from './lazy-loading.service';\n\n/**\n * @deprecated: Drop in v5.0\n */\n@Directive({\n standalone: true,\n selector: 'img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]',\n providers: [TuiLazyLoadingService, IntersectionObserverService],\n host: {\n '[style.animation]': 'animation()',\n '[style.background]': 'background()',\n '[attr.loading]': 'supported ? \"lazy\" : null',\n '[attr.src]': 'src()',\n '(load)': 'unset()',\n '(error)': 'unset()',\n },\n})\nexport class TuiImgLazyLoading {\n private readonly isServer = isPlatformServer(inject(PLATFORM_ID));\n private readonly loading$ = inject(TuiLazyLoadingService);\n protected readonly supported = 'loading' in tuiInjectElement<HTMLImageElement>();\n protected src = signal<SafeResourceUrl | string | null>(null);\n protected background = signal(this.isServer ? '' : 'var(--tui-background-neutral-2)');\n protected animation = signal(\n this.isServer ? '' : 'tuiSkeletonVibe ease-in-out 1s infinite alternate',\n );\n\n protected readonly $ =\n !this.supported &&\n // eslint-disable-next-line @angular-eslint/no-uncalled-signals\n this.loading$.pipe(takeUntilDestroyed()).subscribe((src) => this.src.set(src));\n\n @Input('src')\n public set srcSetter(src: SafeResourceUrl | string) {\n if (this.supported) {\n this.src.set(src);\n } else {\n this.loading$.next(src);\n }\n }\n\n protected unset(): void {\n this.background.set('');\n this.animation.set('');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAMA,MACa,qBAAsB,SAAQ,UAAoC,CAAA;AAc3E,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KAAK,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAd7C,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,OAAO,EAA4B,CAAC;AAC/C,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC;QACrD,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CACrC,SAAS,CAAC,CAAC,GAAG,KACV,IAAI,CAAC,cAAc,CAAC,IAAI,CACpB,MAAM,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,EAC7C,GAAG,CAAC,MAAM,GAAG,CAAC,EACd,IAAI,CAAC,CAAC,CAAC,CACV,CACJ,EACD,QAAQ,EAAE,CACb,CAAC;KAID;AAEM,IAAA,IAAI,C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,EAAE,aAAa;AAClC,wBAAA,oBAAoB,EAAE,cAAc;AACpC,wBAAA,gBAAgB,EAAE,2BAA2B;AAC7C,wBAAA,YAAY,EAAE,OAAO;AACrB,wBAAA,QAAQ,EAAE,SAAS;AACnB,wBAAA,SAAS,EAAE,SAAS;AACvB,qBAAA;AACJ,iBAAA,CAAA;8BAiBc,SAAS,EAAA,CAAA;sBADnB,KAAK;uBAAC,KAAK,CAAA;;;ACxChB;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-lazy-loading.mjs","sources":["../../../projects/kit/directives/lazy-loading/lazy-loading.service.ts","../../../projects/kit/directives/lazy-loading/lazy-loading.directive.ts","../../../projects/kit/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.ts"],"sourcesContent":["import {inject, Injectable} from '@angular/core';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {filter, map, Observable, Subject, switchMap, take} from 'rxjs';\n\n@Injectable()\nexport class TuiLazyLoadingService extends Observable<SafeResourceUrl | string> {\n private readonly src$ = new Subject<SafeResourceUrl | string>();\n private readonly intersections$ = inject(IntersectionObserverService);\n private readonly stream$ = this.src$.pipe(\n switchMap((src) =>\n this.intersections$.pipe(\n filter((entry) => !!entry[0]?.isIntersecting),\n map(() => src),\n take(1),\n ),\n ),\n tuiWatch(),\n );\n\n constructor() {\n super((subscriber) => this.stream$.subscribe(subscriber));\n }\n\n public next(src: SafeResourceUrl | string): void {\n this.src$.next(src);\n }\n}\n","import {isPlatformServer} from '@angular/common';\nimport {Directive, inject, Input, PLATFORM_ID, signal} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\n\nimport {TuiLazyLoadingService} from './lazy-loading.service';\n\n/**\n * @deprecated: Drop in v5.0\n */\n@Directive({\n standalone: true,\n selector: 'img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]',\n providers: [TuiLazyLoadingService, IntersectionObserverService],\n host: {\n '[style.animation]': 'animation()',\n '[style.background]': 'background()',\n '[attr.loading]': 'supported ? \"lazy\" : null',\n '[attr.src]': 'src()',\n '(load)': 'unset()',\n '(error)': 'unset()',\n },\n})\nexport class TuiImgLazyLoading {\n private readonly isServer = isPlatformServer(inject(PLATFORM_ID));\n private readonly loading$ = inject(TuiLazyLoadingService);\n protected readonly supported = 'loading' in tuiInjectElement<HTMLImageElement>();\n protected src = signal<SafeResourceUrl | string | null>(null);\n protected background = signal(this.isServer ? '' : 'var(--tui-background-neutral-2)');\n protected animation = signal(\n this.isServer ? '' : 'tuiSkeletonVibe ease-in-out 1s infinite alternate',\n );\n\n protected readonly $ =\n !this.supported &&\n // eslint-disable-next-line @angular-eslint/no-uncalled-signals\n this.loading$.pipe(takeUntilDestroyed()).subscribe((src) => this.src.set(src));\n\n @Input('src')\n public set srcSetter(src: SafeResourceUrl | string) {\n if (this.supported) {\n this.src.set(src);\n } else {\n this.loading$.next(src);\n }\n }\n\n protected unset(): void {\n this.background.set('');\n this.animation.set('');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAOM,MAAO,qBAAsB,SAAQ,UAAoC,CAAA;AAc3E,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KAAK,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;AAd5C,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,OAAO,EAA4B;AAC9C,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,2BAA2B,CAAC;QACpD,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CACrC,SAAS,CAAC,CAAC,G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BAAA,QAAQ,EAAE,4CAA4C;AACtD,oBAAA,SAAS,EAAE,CAAC,qBAAqB,EAAE,2BAA2B,CAAC;AAC/D,oBAAA,IAAI,EAAE;AACF,wBAAA,mBAAmB,EAAE,aAAa;AAClC,wBAAA,oBAAoB,EAAE,cAAc;AACpC,wBAAA,gBAAgB,EAAE,2BAA2B;AAC7C,wBAAA,YAAY,EAAE,OAAO;AACrB,wBAAA,QAAQ,EAAE,SAAS;AACnB,wBAAA,SAAS,EAAE,SAAS;AACvB,qBAAA;AACJ,iBAAA;8BAiBc,SAAS,EAAA,CAAA;sBADnB,KAAK;uBAAC,KAAK;;;ACxChB;;AAEG;;;;"}
@@ -38,15 +38,15 @@ class TuiPassword {
38
38
  this.hidden.set(!this.hidden());
39
39
  this.textfield.input?.nativeElement.setAttribute('type', this.hidden() ? 'password' : 'text');
40
40
  }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPassword, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
42
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPassword, isStandalone: true, selector: "tui-icon[tuiPassword]", host: { listeners: { "click": "toggle()" }, properties: { "style.border": "textfield.options.size() === \"s\" ? \"0.25rem solid transparent\" : null" }, styleAttribute: "cursor: pointer" }, providers: [
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPassword, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
42
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiPassword, isStandalone: true, selector: "tui-icon[tuiPassword]", host: { listeners: { "click": "toggle()" }, properties: { "style.border": "textfield.options.size() === \"s\" ? \"0.25rem solid transparent\" : null" }, styleAttribute: "cursor: pointer" }, providers: [
43
43
  {
44
44
  provide: TUI_APPEARANCE_OPTIONS,
45
45
  useValue: { appearance: 'icon' },
46
46
  },
47
47
  ], hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiHintDirective, inputs: ["tuiHintAppearance", "tuiHintAppearance", "tuiHintContext", "tuiHintContext"] }], ngImport: i0 }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPassword, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPassword, decorators: [{
50
50
  type: Directive,
51
51
  args: [{
52
52
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-password.mjs","sources":["../../../projects/kit/directives/password/password.options.ts","../../../projects/kit/directives/password/password.directive.ts","../../../projects/kit/directives/password/taiga-ui-kit-directives-password.ts"],"sourcesContent":["import {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiPasswordOptions {\n readonly icons: Readonly<{\n hide: TuiStringHandler<TuiSizeL | TuiSizeS> | string;\n show: TuiStringHandler<TuiSizeL | TuiSizeS> | string;\n }>;\n}\n\nexport const [TUI_PASSWORD_OPTIONS, tuiPasswordOptionsProvider] =\n tuiCreateOptions<TuiPasswordOptions>({\n icons: {\n hide: '@tui.eye-off',\n show: '@tui.eye',\n },\n });\n","import {computed, Directive, inject, signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiDirectiveBinding, tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_APPEARANCE_OPTIONS,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TuiHintDirective} from '@taiga-ui/core/directives/hint';\nimport {TUI_PASSWORD_TEXTS} from '@taiga-ui/kit/tokens';\n\nimport {TUI_PASSWORD_OPTIONS} from './password.options';\n\n@Directive({\n standalone: true,\n selector: 'tui-icon[tuiPassword]',\n providers: [\n {\n provide: TUI_APPEARANCE_OPTIONS,\n useValue: {appearance: 'icon'},\n },\n ],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiHintDirective,\n inputs: ['tuiHintAppearance', 'tuiHintContext'],\n },\n ],\n host: {\n style: 'cursor: pointer',\n '(click)': 'toggle()',\n '[style.border]':\n 'textfield.options.size() === \"s\" ? \"0.25rem solid transparent\" : null',\n },\n})\nexport class TuiPassword {\n private readonly options = inject(TUI_PASSWORD_OPTIONS);\n private readonly texts = toSignal(inject(TUI_PASSWORD_TEXTS), {\n initialValue: ['', ''] as const,\n });\n\n protected readonly textfield = inject(TuiTextfieldComponent);\n protected readonly hidden = signal(true);\n protected readonly icon = tuiDirectiveBinding(\n TuiIcon,\n 'icon',\n computed((size = this.textfield.options.size()) => {\n const icon = this.hidden()\n ? this.options.icons.show\n : this.options.icons.hide;\n\n return tuiIsString(icon) ? icon : icon(size);\n }),\n );\n\n protected readonly hint = tuiDirectiveBinding(\n TuiHintDirective,\n 'tuiHint',\n computed(() => (this.hidden() ? this.texts()[0] : this.texts()[1])),\n );\n\n protected toggle(): void {\n this.hidden.set(!this.hidden());\n this.textfield.input?.nativeElement.setAttribute(\n 'type',\n this.hidden() ? 'password' : 'text',\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAWa,CAAC,oBAAoB,EAAE,0BAA0B,CAAC,GAC3D,gBAAgB,CAAqB;AACjC,IAAA,KAAK,EAAE;AACH,QAAA,IAAI,EAAE,cAAc;AACpB,QAAA,IAAI,EAAE,UAAU;AACnB,KAAA;AACJ,CAAA;;ACHL,MAuBa,WAAW,CAAA;AAvBxB,IAAA,WAAA,GAAA;AAwBqB,QAAA,IAAA,C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,wBAAA;AACI,4BAAA,SAAS,EAAE,gBAAgB;AAC3B,4BAAA,MAAM,EAAE,CAAC,mBAAmB,EAAE,gBAAgB,CAAC;AAClD,yBAAA;AACJ,qBAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,KAAK,EAAE,iBAAiB;AACxB,wBAAA,SAAS,EAAE,UAAU;AACrB,wBAAA,gBAAgB,EACZ,uEAAuE;AAC9E,qBAAA;AACJ,iBAAA,CAAA;;;ACpCD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-password.mjs","sources":["../../../projects/kit/directives/password/password.options.ts","../../../projects/kit/directives/password/password.directive.ts","../../../projects/kit/directives/password/taiga-ui-kit-directives-password.ts"],"sourcesContent":["import {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiPasswordOptions {\n readonly icons: Readonly<{\n hide: TuiStringHandler<TuiSizeL | TuiSizeS> | string;\n show: TuiStringHandler<TuiSizeL | TuiSizeS> | string;\n }>;\n}\n\nexport const [TUI_PASSWORD_OPTIONS, tuiPasswordOptionsProvider] =\n tuiCreateOptions<TuiPasswordOptions>({\n icons: {\n hide: '@tui.eye-off',\n show: '@tui.eye',\n },\n });\n","import {computed, Directive, inject, signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiDirectiveBinding, tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_APPEARANCE_OPTIONS,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {TuiHintDirective} from '@taiga-ui/core/directives/hint';\nimport {TUI_PASSWORD_TEXTS} from '@taiga-ui/kit/tokens';\n\nimport {TUI_PASSWORD_OPTIONS} from './password.options';\n\n@Directive({\n standalone: true,\n selector: 'tui-icon[tuiPassword]',\n providers: [\n {\n provide: TUI_APPEARANCE_OPTIONS,\n useValue: {appearance: 'icon'},\n },\n ],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiHintDirective,\n inputs: ['tuiHintAppearance', 'tuiHintContext'],\n },\n ],\n host: {\n style: 'cursor: pointer',\n '(click)': 'toggle()',\n '[style.border]':\n 'textfield.options.size() === \"s\" ? \"0.25rem solid transparent\" : null',\n },\n})\nexport class TuiPassword {\n private readonly options = inject(TUI_PASSWORD_OPTIONS);\n private readonly texts = toSignal(inject(TUI_PASSWORD_TEXTS), {\n initialValue: ['', ''] as const,\n });\n\n protected readonly textfield = inject(TuiTextfieldComponent);\n protected readonly hidden = signal(true);\n protected readonly icon = tuiDirectiveBinding(\n TuiIcon,\n 'icon',\n computed((size = this.textfield.options.size()) => {\n const icon = this.hidden()\n ? this.options.icons.show\n : this.options.icons.hide;\n\n return tuiIsString(icon) ? icon : icon(size);\n }),\n );\n\n protected readonly hint = tuiDirectiveBinding(\n TuiHintDirective,\n 'tuiHint',\n computed(() => (this.hidden() ? this.texts()[0] : this.texts()[1])),\n );\n\n protected toggle(): void {\n this.hidden.set(!this.hidden());\n this.textfield.input?.nativeElement.setAttribute(\n 'type',\n this.hidden() ? 'password' : 'text',\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAWa,CAAC,oBAAoB,EAAE,0BAA0B,CAAC,GAC3D,gBAAgB,CAAqB;AACjC,IAAA,KAAK,EAAE;AACH,QAAA,IAAI,EAAE,cAAc;AACpB,QAAA,IAAI,EAAE,UAAU;AACnB,KAAA;AACJ,CAAA;;MCoBQ,WAAW,CAAA;AAvBxB,IAAA,WAAA,GAAA;AAwBqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACtC,QAAA,IAAA,CAAA,KAAK,GAAG,QAAQ,CAAC,MA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AE,iBAAiB;AACxB,wBAAA,SAAS,EAAE,UAAU;AACrB,wBAAA,gBAAgB,EACZ,uEAAuE;AAC9E,qBAAA;AACJ,iBAAA;;;ACpCD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Output } from '@angular/core';
2
+ import { Output, Directive } from '@angular/core';
3
3
  import { BehaviorSubject, distinctUntilChanged, skip } from 'rxjs';
4
4
 
5
5
  class TuiPresent {
@@ -13,10 +13,10 @@ class TuiPresent {
13
13
  onAnimation(visibility) {
14
14
  this.visibility$.next(visibility);
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPresent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
17
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPresent, isStandalone: true, selector: "[tuiPresentChange]", outputs: { tuiPresentChange: "tuiPresentChange" }, host: { listeners: { "animationcancel.self": "onAnimation(false)", "animationstart.self": "onAnimation(true)" }, properties: { "style.animation": "\"tuiPresent 1s infinite\"" } }, ngImport: i0 }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPresent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
17
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiPresent, isStandalone: true, selector: "[tuiPresentChange]", outputs: { tuiPresentChange: "tuiPresentChange" }, host: { listeners: { "animationcancel.self": "onAnimation(false)", "animationstart.self": "onAnimation(true)" }, properties: { "style.animation": "\"tuiPresent 1s infinite\"" } }, ngImport: i0 }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPresent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPresent, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
22
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-present.mjs","sources":["../../../projects/kit/directives/present/present.directive.ts","../../../projects/kit/directives/present/taiga-ui-kit-directives-present.ts"],"sourcesContent":["import {Directive, type OnDestroy, Output} from '@angular/core';\nimport {BehaviorSubject, distinctUntilChanged, skip} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiPresentChange]',\n host: {\n '[style.animation]': '\"tuiPresent 1s infinite\"',\n '(animationcancel.self)': 'onAnimation(false)',\n '(animationstart.self)': 'onAnimation(true)',\n },\n})\nexport class TuiPresent implements OnDestroy {\n private readonly visibility$ = new BehaviorSubject(false);\n\n @Output()\n public readonly tuiPresentChange = this.visibility$.pipe(\n distinctUntilChanged(),\n skip(1),\n );\n\n public ngOnDestroy(): void {\n this.visibility$.next(false);\n }\n\n protected onAnimation(visibility: boolean): void {\n this.visibility$.next(visibility);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MASa,UAAU,CAAA;AATvB,IAAA,WAAA,GAAA;AAUqB,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;AAG1C,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CACpD,oBAAoB,EAAE,EACtB,IAAI,CAAC,CAAC,CAAC,CACV,CAAC;AASL,KAAA;IAPU,WAAW,GAAA;AACd,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAChC;AAES,IAAA,WAAW,CAAC,UAAmB,EAAA;AACrC,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KACrC;+GAfQ,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,OAAA,EAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,sBAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,mBAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,4BAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBATtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,oBAAoB;AAC9B,oBAAA,IAAI,EAAE;AACF,wBAAA,mBAAmB,EAAE,0BAA0B;AAC/C,wBAAA,wBAAwB,EAAE,oBAAoB;AAC9C,wBAAA,uBAAuB,EAAE,mBAAmB;AAC/C,qBAAA;AACJ,iBAAA,CAAA;8BAKmB,gBAAgB,EAAA,CAAA;sBAD/B,MAAM;;;ACfX;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-present.mjs","sources":["../../../projects/kit/directives/present/present.directive.ts","../../../projects/kit/directives/present/taiga-ui-kit-directives-present.ts"],"sourcesContent":["import {Directive, type OnDestroy, Output} from '@angular/core';\nimport {BehaviorSubject, distinctUntilChanged, skip} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiPresentChange]',\n host: {\n '[style.animation]': '\"tuiPresent 1s infinite\"',\n '(animationcancel.self)': 'onAnimation(false)',\n '(animationstart.self)': 'onAnimation(true)',\n },\n})\nexport class TuiPresent implements OnDestroy {\n private readonly visibility$ = new BehaviorSubject(false);\n\n @Output()\n public readonly tuiPresentChange = this.visibility$.pipe(\n distinctUntilChanged(),\n skip(1),\n );\n\n public ngOnDestroy(): void {\n this.visibility$.next(false);\n }\n\n protected onAnimation(visibility: boolean): void {\n this.visibility$.next(visibility);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAYa,UAAU,CAAA;AATvB,IAAA,WAAA,GAAA;AAUqB,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC;AAGzC,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CACpD,oBAAoB,EAAE,EACtB,IAAI,CAAC,CAAC,CAAC,CACV;AASJ,IAAA;IAPU,WAAW,GAAA;AACd,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC;IAChC;AAEU,IAAA,WAAW,CAAC,UAAmB,EAAA;AACrC,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC;IACrC;8GAfS,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,OAAA,EAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,sBAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,mBAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,4BAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBATtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,oBAAoB;AAC9B,oBAAA,IAAI,EAAE;AACF,wBAAA,mBAAmB,EAAE,0BAA0B;AAC/C,wBAAA,wBAAwB,EAAE,oBAAoB;AAC9C,wBAAA,uBAAuB,EAAE,mBAAmB;AAC/C,qBAAA;AACJ,iBAAA;8BAKmB,gBAAgB,EAAA,CAAA;sBAD/B;;;ACfL;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, inject, Directive, Input } from '@angular/core';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, inject, Input, Directive } from '@angular/core';
3
3
  import { toSignal } from '@angular/core/rxjs-interop';
4
4
  import { ResizeObserverService } from '@ng-web-apis/resize-observer';
5
5
  import { tuiZonefull, tuiWatch } from '@taiga-ui/cdk/observables';
@@ -8,14 +8,14 @@ import { map } from 'rxjs';
8
8
 
9
9
  const rowsInSvg = 3;
10
10
  class TuiSensitiveStyles {
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSensitiveStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiSensitiveStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-sensitive-styles" }, ngImport: i0, template: '', isInline: true, styles: [".tui-sensitive{position:relative;line-height:1em;clip-path:inset(0 round .25rem)}.tui-sensitive:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block!important;background:currentColor;border-radius:inherit;-webkit-mask:url('data:image/svg+xml,<svg width=\"360\" height=\"72\" preserveAspectRatio=\"none\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"240\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"72\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"192\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.34\" x=\"216\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"24\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"168\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"264\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.31\" x=\"288\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"312\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.28\" x=\"144\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"336\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"120\" y=\"48\" width=\"24\" height=\"24\"/></svg>') var(--t-offset, 0) 0 / auto var(--t-mask-height);mask:url('data:image/svg+xml,<svg width=\"360\" height=\"72\" preserveAspectRatio=\"none\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"240\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"72\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"192\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.34\" x=\"216\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"24\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"168\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"264\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.31\" x=\"288\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"312\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.28\" x=\"144\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"336\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"120\" y=\"48\" width=\"24\" height=\"24\"/></svg>') var(--t-offset, 0) 0 / auto var(--t-mask-height);margin:0!important}.tui-sensitive.tui-sensitive{-webkit-text-fill-color:transparent}span.tui-sensitive,a.tui-sensitive{display:inline-block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiSensitiveStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
12
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiSensitiveStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-sensitive-styles" }, ngImport: i0, template: '', isInline: true, styles: [".tui-sensitive{position:relative;line-height:1em;clip-path:inset(0 round .25rem)}.tui-sensitive:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block!important;background:currentColor;border-radius:inherit;mask:url('data:image/svg+xml,<svg width=\"360\" height=\"72\" preserveAspectRatio=\"none\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"240\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"72\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"192\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.34\" x=\"216\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"24\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"168\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"264\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.31\" x=\"288\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"312\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.28\" x=\"144\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"336\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"120\" y=\"48\" width=\"24\" height=\"24\"/></svg>') var(--t-offset, 0) 0 / auto var(--t-mask-height);margin:0!important}.tui-sensitive.tui-sensitive{-webkit-text-fill-color:transparent}span.tui-sensitive,a.tui-sensitive{display:inline-block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
13
13
  }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSensitiveStyles, decorators: [{
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiSensitiveStyles, decorators: [{
15
15
  type: Component,
16
16
  args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
17
17
  class: 'tui-sensitive-styles',
18
- }, styles: [".tui-sensitive{position:relative;line-height:1em;clip-path:inset(0 round .25rem)}.tui-sensitive:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block!important;background:currentColor;border-radius:inherit;-webkit-mask:url('data:image/svg+xml,<svg width=\"360\" height=\"72\" preserveAspectRatio=\"none\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"240\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"72\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"192\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.34\" x=\"216\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"24\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"168\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"264\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.31\" x=\"288\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"312\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.28\" x=\"144\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"336\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"120\" y=\"48\" width=\"24\" height=\"24\"/></svg>') var(--t-offset, 0) 0 / auto var(--t-mask-height);mask:url('data:image/svg+xml,<svg width=\"360\" height=\"72\" preserveAspectRatio=\"none\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"240\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"72\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"192\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.34\" x=\"216\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"24\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"168\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"264\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.31\" x=\"288\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"312\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.28\" x=\"144\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"336\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"120\" y=\"48\" width=\"24\" height=\"24\"/></svg>') var(--t-offset, 0) 0 / auto var(--t-mask-height);margin:0!important}.tui-sensitive.tui-sensitive{-webkit-text-fill-color:transparent}span.tui-sensitive,a.tui-sensitive{display:inline-block}\n"] }]
18
+ }, styles: [".tui-sensitive{position:relative;line-height:1em;clip-path:inset(0 round .25rem)}.tui-sensitive:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";display:block!important;background:currentColor;border-radius:inherit;mask:url('data:image/svg+xml,<svg width=\"360\" height=\"72\" preserveAspectRatio=\"none\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"240\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"72\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"192\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.34\" x=\"216\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"24\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"168\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"264\" y=\"48\" width=\"24\" height=\"24\"/> <rect opacity=\"0.31\" x=\"288\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"312\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.28\" x=\"144\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"336\" y=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"120\" y=\"48\" width=\"24\" height=\"24\"/></svg>') var(--t-offset, 0) 0 / auto var(--t-mask-height);margin:0!important}.tui-sensitive.tui-sensitive{-webkit-text-fill-color:transparent}span.tui-sensitive,a.tui-sensitive{display:inline-block}\n"] }]
19
19
  }] });
20
20
  class TuiSensitive {
21
21
  constructor() {
@@ -27,10 +27,10 @@ class TuiSensitive {
27
27
  }), map(([rows, height]) => height * (rowsInSvg / rows)), tuiZonefull(), tuiWatch()));
28
28
  this.tuiSensitive = false;
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSensitive, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
31
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiSensitive, isStandalone: true, selector: "[tuiSensitive]", inputs: { tuiSensitive: "tuiSensitive" }, host: { properties: { "style.--t-offset.px": "offset", "style.--t-mask-height.px": "height()", "class.tui-sensitive": "tuiSensitive" } }, providers: [ResizeObserverService], ngImport: i0 }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiSensitive, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
31
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiSensitive, isStandalone: true, selector: "[tuiSensitive]", inputs: { tuiSensitive: "tuiSensitive" }, host: { properties: { "style.--t-offset.px": "offset", "style.--t-mask-height.px": "height()", "class.tui-sensitive": "tuiSensitive" } }, providers: [ResizeObserverService], ngImport: i0 }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiSensitive, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiSensitive, decorators: [{
34
34
  type: Directive,
35
35
  args: [{
36
36
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-sensitive.mjs","sources":["../../../projects/kit/directives/sensitive/sensitive.directive.ts","../../../projects/kit/directives/sensitive/taiga-ui-kit-directives-sensitive.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiWatch, tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {map} from 'rxjs';\n\nconst rowsInSvg = 3;\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./sensitive.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-sensitive-styles',\n },\n})\nclass TuiSensitiveStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiSensitive]',\n providers: [ResizeObserverService],\n host: {\n '[style.--t-offset.px]': 'offset',\n '[style.--t-mask-height.px]': 'height()',\n '[class.tui-sensitive]': 'tuiSensitive',\n },\n})\nexport class TuiSensitive {\n protected readonly nothing = tuiWithStyles(TuiSensitiveStyles);\n protected readonly offset = Math.round(Math.random() * 10) * 10;\n\n protected readonly height = toSignal(\n inject(ResizeObserverService, {self: true}).pipe(\n map((entry): [number, number] => {\n const height = entry[0]?.contentRect.height ?? 0;\n\n return [Math.max(2, Math.floor(height / 16) + 1), height];\n }),\n map(([rows, height]) => height * (rowsInSvg / rows)),\n tuiZonefull(),\n tuiWatch(),\n ),\n );\n\n @Input()\n public tuiSensitive: boolean | null = false;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAcA,MAAM,SAAS,GAAG,CAAC,CAAC;AAEpB,MAUM,kBAAkB,CAAA;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,0HARV,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,6sNAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAQV,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAVvB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACF,wBAAA,KAAK,EAAE,sBAAsB;AAChC,qBAAA,EAAA,MAAA,EAAA,CAAA,6sNAAA,CAAA,EAAA,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AAA,EAPV,CAAC,qBAAqB,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAOzB,YAAY,EAAA,UAAA,EAAA,CAAA;kBAVxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,SAAS,EAAE,CAAC,qBAAqB,CAAC;AAClC,oBAAA,IAAI,EAAE;AACF,wBAAA,uBAAuB,EAAE,QAAQ;AACjC,wBAAA,4BAA4B,EAAE,UAAU;AACxC,wBAAA,uBAAuB,EAAE,cAAc;AAC1C,qBAAA;AACJ,iBAAA,CAAA;8BAmBU,YAAY,EAAA,CAAA;sBADlB,KAAK;;;ACvDV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-sensitive.mjs","sources":["../../../projects/kit/directives/sensitive/sensitive.directive.ts","../../../projects/kit/directives/sensitive/taiga-ui-kit-directives-sensitive.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {tuiWatch, tuiZonefull} from '@taiga-ui/cdk/observables';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {map} from 'rxjs';\n\nconst rowsInSvg = 3;\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./sensitive.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-sensitive-styles',\n },\n})\nclass TuiSensitiveStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiSensitive]',\n providers: [ResizeObserverService],\n host: {\n '[style.--t-offset.px]': 'offset',\n '[style.--t-mask-height.px]': 'height()',\n '[class.tui-sensitive]': 'tuiSensitive',\n },\n})\nexport class TuiSensitive {\n protected readonly nothing = tuiWithStyles(TuiSensitiveStyles);\n protected readonly offset = Math.round(Math.random() * 10) * 10;\n\n protected readonly height = toSignal(\n inject(ResizeObserverService, {self: true}).pipe(\n map((entry): [number, number] => {\n const height = entry[0]?.contentRect.height ?? 0;\n\n return [Math.max(2, Math.floor(height / 16) + 1), height];\n }),\n map(([rows, height]) => height * (rowsInSvg / rows)),\n tuiZonefull(),\n tuiWatch(),\n ),\n );\n\n @Input()\n public tuiSensitive: boolean | null = false;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAcA,MAAM,SAAS,GAAG,CAAC;AAEnB,MAUM,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,0HARV,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,uiHAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAQV,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAVvB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACF,wBAAA,KAAK,EAAE,sBAAsB;AAChC,qBAAA,EAAA,MAAA,EAAA,CAAA,uiHAAA,CAAA,EAAA;;MAcQ,YAAY,CAAA;AAVzB,IAAA,WAAA,GAAA;AAWuB,QAAA,IAAA,CAAA,OAAO,G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S;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,SAAS,EAAE,CAAC,qBAAqB,CAAC;AAClC,oBAAA,IAAI,EAAE;AACF,wBAAA,uBAAuB,EAAE,QAAQ;AACjC,wBAAA,4BAA4B,EAAE,UAAU;AACxC,wBAAA,uBAAuB,EAAE,cAAc;AAC1C,qBAAA;AACJ,iBAAA;8BAmBU,YAAY,EAAA,CAAA;sBADlB;;;ACvDL;;AAEG;;;;"}
@@ -1,18 +1,18 @@
1
1
  import { isPlatformBrowser } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, inject, PLATFORM_ID, Directive, Input } from '@angular/core';
3
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, inject, PLATFORM_ID, Input, Directive } from '@angular/core';
4
4
  import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
5
5
  import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
6
6
 
7
7
  class TuiShimmerStyles {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiShimmerStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiShimmerStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-shimmer-styles" }, ngImport: i0, template: '', isInline: true, styles: ["@keyframes tuiShimmer{0%{-webkit-mask-position:top left,-100rem;mask-position:top left,-100rem}to{-webkit-mask-position:top left,300rem;mask-position:top left,300rem}}[tuiShimmer]._shimmer{-webkit-mask-image:linear-gradient(black,black),linear-gradient(-70deg,transparent,rgba(0,0,0,.5),transparent);mask-image:linear-gradient(#000,#000),linear-gradient(-70deg,transparent,rgba(0,0,0,.5),transparent);-webkit-mask-size:100%,6rem 100%;mask-size:100%,6rem 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-out;mask-composite:subtract;animation:tuiShimmer 8s infinite linear;pointer-events:none;-webkit-user-select:none;user-select:none}[tuiShimmer]._disabled{animation:none;-webkit-mask:none;mask:none;opacity:var(--tui-disabled-opacity)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiShimmerStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiShimmerStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-shimmer-styles" }, ngImport: i0, template: '', isInline: true, styles: ["@keyframes tuiShimmer{0%{-webkit-mask-position:top left,-100rem;mask-position:top left,-100rem}to{-webkit-mask-position:top left,300rem;mask-position:top left,300rem}}[tuiShimmer]._shimmer{-webkit-mask-image:linear-gradient(#000,#000),linear-gradient(-70deg,transparent,rgba(0,0,0,.5),transparent);mask-image:linear-gradient(#000,#000),linear-gradient(-70deg,transparent,rgba(0,0,0,.5),transparent);-webkit-mask-size:100%,6rem 100%;mask-size:100%,6rem 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-out;mask-composite:subtract;animation:tuiShimmer 8s infinite linear;pointer-events:none;-webkit-user-select:none;user-select:none}[tuiShimmer]._disabled{animation:none;mask:none;opacity:var(--tui-disabled-opacity)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiShimmerStyles, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiShimmerStyles, decorators: [{
12
12
  type: Component,
13
13
  args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
14
14
  class: 'tui-shimmer-styles',
15
- }, styles: ["@keyframes tuiShimmer{0%{-webkit-mask-position:top left,-100rem;mask-position:top left,-100rem}to{-webkit-mask-position:top left,300rem;mask-position:top left,300rem}}[tuiShimmer]._shimmer{-webkit-mask-image:linear-gradient(black,black),linear-gradient(-70deg,transparent,rgba(0,0,0,.5),transparent);mask-image:linear-gradient(#000,#000),linear-gradient(-70deg,transparent,rgba(0,0,0,.5),transparent);-webkit-mask-size:100%,6rem 100%;mask-size:100%,6rem 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-out;mask-composite:subtract;animation:tuiShimmer 8s infinite linear;pointer-events:none;-webkit-user-select:none;user-select:none}[tuiShimmer]._disabled{animation:none;-webkit-mask:none;mask:none;opacity:var(--tui-disabled-opacity)}\n"] }]
15
+ }, styles: ["@keyframes tuiShimmer{0%{-webkit-mask-position:top left,-100rem;mask-position:top left,-100rem}to{-webkit-mask-position:top left,300rem;mask-position:top left,300rem}}[tuiShimmer]._shimmer{-webkit-mask-image:linear-gradient(#000,#000),linear-gradient(-70deg,transparent,rgba(0,0,0,.5),transparent);mask-image:linear-gradient(#000,#000),linear-gradient(-70deg,transparent,rgba(0,0,0,.5),transparent);-webkit-mask-size:100%,6rem 100%;mask-size:100%,6rem 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-out;mask-composite:subtract;animation:tuiShimmer 8s infinite linear;pointer-events:none;-webkit-user-select:none;user-select:none}[tuiShimmer]._disabled{animation:none;mask:none;opacity:var(--tui-disabled-opacity)}\n"] }]
16
16
  }] });
17
17
  class TuiShimmer {
18
18
  constructor() {
@@ -46,10 +46,10 @@ class TuiShimmer {
46
46
  .catch(() => { });
47
47
  }
48
48
  }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiShimmer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
50
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiShimmer, isStandalone: true, selector: "[tuiShimmer]", inputs: { shimmer: ["tuiShimmer", "shimmer"] }, host: { attributes: { "tuiShimmer": "" }, properties: { "class._shimmer": "shimmer", "class._disabled": "shimmer && disabled", "attr.inert": "shimmer || null" } }, usesOnChanges: true, ngImport: i0 }); }
49
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiShimmer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
50
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiShimmer, isStandalone: true, selector: "[tuiShimmer]", inputs: { shimmer: ["tuiShimmer", "shimmer"] }, host: { attributes: { "tuiShimmer": "" }, properties: { "class._shimmer": "shimmer", "class._disabled": "shimmer && disabled", "attr.inert": "shimmer || null" } }, usesOnChanges: true, ngImport: i0 }); }
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiShimmer, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiShimmer, decorators: [{
53
53
  type: Directive,
54
54
  args: [{
55
55
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-shimmer.mjs","sources":["../../../projects/kit/directives/shimmer/shimmer.directive.ts","../../../projects/kit/directives/shimmer/taiga-ui-kit-directives-shimmer.ts"],"sourcesContent":["import {isPlatformBrowser} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n type OnChanges,\n PLATFORM_ID,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./shimmer.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-shimmer-styles',\n },\n})\nclass TuiShimmerStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiShimmer]',\n host: {\n tuiShimmer: '',\n '[class._shimmer]': 'shimmer',\n '[class._disabled]': 'shimmer && disabled',\n '[attr.inert]': 'shimmer || null',\n },\n})\nexport class TuiShimmer implements OnChanges {\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n private readonly el = tuiInjectElement();\n private animation?: Animation;\n\n protected disabled = false;\n\n protected readonly nothing = tuiWithStyles(TuiShimmerStyles);\n\n @Input('tuiShimmer')\n public shimmer = false;\n\n public ngOnChanges(): void {\n if (!this.isBrowser) {\n return;\n }\n\n this.disabled = !parseFloat(\n getComputedStyle(this.el).getPropertyValue('--tui-duration'),\n );\n\n if (this.disabled) {\n return;\n }\n\n this.animation?.commitStyles();\n this.animation?.cancel();\n\n if (this.shimmer) {\n this.animation = this.el.animate(\n {opacity: [0.5, 0.25, 0.5, 0.5]},\n {duration: 1500, iterations: Infinity},\n );\n } else {\n this.animation = this.el.animate([{opacity: 0, offset: 0.5}, {opacity: 1}], {\n duration: 800,\n });\n\n this.animation.finished\n .then(() => {\n this.el.style.opacity = '';\n })\n .catch(() => {});\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAcA,MAUM,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAA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A,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAVtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,IAAI,EAAE;AACF,wBAAA,UAAU,EAAE,EAAE;AACd,wBAAA,kBAAkB,EAAE,SAAS;AAC7B,wBAAA,mBAAmB,EAAE,qBAAqB;AAC1C,wBAAA,cAAc,EAAE,iBAAiB;AACpC,qBAAA;AACJ,iBAAA,CAAA;8BAWU,OAAO,EAAA,CAAA;sBADb,KAAK;uBAAC,YAAY,CAAA;;;AC7CvB;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-shimmer.mjs","sources":["../../../projects/kit/directives/shimmer/shimmer.directive.ts","../../../projects/kit/directives/shimmer/taiga-ui-kit-directives-shimmer.ts"],"sourcesContent":["import {isPlatformBrowser} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n type OnChanges,\n PLATFORM_ID,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./shimmer.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-shimmer-styles',\n },\n})\nclass TuiShimmerStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiShimmer]',\n host: {\n tuiShimmer: '',\n '[class._shimmer]': 'shimmer',\n '[class._disabled]': 'shimmer && disabled',\n '[attr.inert]': 'shimmer || null',\n },\n})\nexport class TuiShimmer implements OnChanges {\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n private readonly el = tuiInjectElement();\n private animation?: Animation;\n\n protected disabled = false;\n\n protected readonly nothing = tuiWithStyles(TuiShimmerStyles);\n\n @Input('tuiShimmer')\n public shimmer = false;\n\n public ngOnChanges(): void {\n if (!this.isBrowser) {\n return;\n }\n\n this.disabled = !parseFloat(\n getComputedStyle(this.el).getPropertyValue('--tui-duration'),\n );\n\n if (this.disabled) {\n return;\n }\n\n this.animation?.commitStyles();\n this.animation?.cancel();\n\n if (this.shimmer) {\n this.animation = this.el.animate(\n {opacity: [0.5, 0.25, 0.5, 0.5]},\n {duration: 1500, iterations: Infinity},\n );\n } else {\n this.animation = this.el.animate([{opacity: 0, offset: 0.5}, {opacity: 1}], {\n duration: 800,\n });\n\n this.animation.finished\n .then(() => {\n this.el.style.opacity = '';\n })\n .catch(() => {});\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAcA,MAUM,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,wHARR,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,qvBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAQV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAVrB,SAAS;iCACM,IAAI,EAAA,QAAA,EACN,EAAE,EAAA,aAAA,EAEG,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACF,wBAAA,KAAK,EAAE,oBAAoB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