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

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 (269) hide show
  1. package/README.md +1 -1
  2. package/components/badge/badge.options.d.ts +1 -3
  3. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  4. package/components/block/block.options.d.ts +1 -3
  5. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  6. package/components/chip/chip.options.d.ts +1 -3
  7. package/components/combo-box/combo-box.d.ts +2 -0
  8. package/components/combo-box/combo-box.directive.d.ts +5 -5
  9. package/components/combo-box/index.d.ts +1 -0
  10. package/components/confirm/confirm.component.d.ts +4 -3
  11. package/components/confirm/confirm.service.d.ts +1 -1
  12. package/components/copy/copy.component.d.ts +1 -1
  13. package/components/copy/copy.directive.d.ts +2 -4
  14. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -2
  15. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  16. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  17. package/components/data-list-wrapper/index.d.ts +1 -1
  18. package/components/files/file/file.options.d.ts +1 -1
  19. package/components/files/input-files/input-files.options.d.ts +1 -3
  20. package/components/input-chip/input-chip.component.d.ts +9 -8
  21. package/components/input-chip/input-chip.d.ts +1 -1
  22. package/components/input-chip/input-chip.directive.d.ts +7 -12
  23. package/components/input-color/index.d.ts +1 -0
  24. package/components/input-color/input-color.component.d.ts +4 -4
  25. package/components/input-color/input-color.d.ts +2 -0
  26. package/components/input-date/input-date.d.ts +1 -1
  27. package/components/input-date/input-date.directive.d.ts +9 -11
  28. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  29. package/components/input-date-multi/input-date-multi.directive.d.ts +9 -13
  30. package/components/input-date-range/input-date-range.d.ts +1 -1
  31. package/components/input-date-range/input-date-range.directive.d.ts +3 -3
  32. package/components/input-date-time/input-date-time.d.ts +1 -1
  33. package/components/input-date-time/input-date-time.directive.d.ts +3 -3
  34. package/components/input-month/input-month.d.ts +1 -1
  35. package/components/input-month/input-month.directive.d.ts +5 -4
  36. package/components/input-month-range/input-month-range.d.ts +1 -1
  37. package/components/input-month-range/input-month-range.directive.d.ts +5 -4
  38. package/components/input-number/input-number.d.ts +1 -1
  39. package/components/input-number/input-number.directive.d.ts +3 -3
  40. package/components/input-phone/index.d.ts +1 -0
  41. package/components/input-phone/input-phone.d.ts +2 -0
  42. package/components/input-phone/input-phone.directive.d.ts +7 -7
  43. package/components/input-phone-international/index.d.ts +1 -0
  44. package/components/input-phone-international/input-phone-international.component.d.ts +5 -10
  45. package/components/input-phone-international/input-phone-international.d.ts +2 -0
  46. package/components/input-phone-international/input-phone-international.options.d.ts +1 -3
  47. package/components/input-pin/index.d.ts +1 -0
  48. package/components/input-pin/input-pin.component.d.ts +3 -3
  49. package/components/input-pin/input-pin.d.ts +2 -0
  50. package/components/input-range/input-range.component.d.ts +9 -41
  51. package/components/input-slider/input-slider.d.ts +1 -1
  52. package/components/input-slider/input-slider.directive.d.ts +1 -1
  53. package/components/input-time/input-time.component.d.ts +1 -3
  54. package/components/input-time/input-time.d.ts +1 -1
  55. package/components/input-time/input-time.directive.d.ts +4 -4
  56. package/components/input-year/input-year.d.ts +1 -1
  57. package/components/input-year/input-year.directive.d.ts +5 -5
  58. package/components/line-clamp/line-clamp-box.component.d.ts +1 -1
  59. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  60. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +4 -6
  61. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  62. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  63. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  64. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  65. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  66. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  67. package/components/preview/preview.d.ts +2 -1
  68. package/components/progress/progress.options.d.ts +1 -3
  69. package/components/push/push-alert.component.d.ts +2 -2
  70. package/components/push/push.options.d.ts +4 -3
  71. package/components/push/push.service.d.ts +2 -2
  72. package/components/radio-list/radio-list.component.d.ts +5 -3
  73. package/components/rating/rating.component.d.ts +1 -1
  74. package/components/rating/rating.options.d.ts +1 -3
  75. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  76. package/components/segmented/segmented.component.d.ts +4 -6
  77. package/components/segmented/segmented.directive.d.ts +6 -7
  78. package/components/select/native-select/native-select.component.d.ts +4 -4
  79. package/components/select/select.d.ts +1 -1
  80. package/components/select/select.directive.d.ts +4 -3
  81. package/components/slider/slider.options.d.ts +1 -6
  82. package/components/stepper/step.component.d.ts +6 -8
  83. package/components/stepper/stepper.component.d.ts +6 -11
  84. package/components/tabs/tabs.options.d.ts +1 -6
  85. package/components/textarea/index.d.ts +2 -1
  86. package/components/textarea/textarea.component.d.ts +4 -4
  87. package/components/textarea/textarea.d.ts +3 -0
  88. package/components/textarea/textarea.directive.d.ts +13 -0
  89. package/components/toast/toast.component.d.ts +4 -4
  90. package/components/toast/toast.options.d.ts +4 -3
  91. package/components/toast/toast.service.d.ts +2 -2
  92. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +7 -0
  93. package/components/tree/misc/tree.constants.d.ts +0 -3
  94. package/components/tree/misc/tree.tokens.d.ts +1 -6
  95. package/directives/button-select/button-select.directive.d.ts +3 -2
  96. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  97. package/directives/fade/fade.directive.d.ts +1 -2
  98. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  99. package/directives/index.d.ts +0 -1
  100. package/directives/password/password.directive.d.ts +1 -1
  101. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  102. package/fesm2022/taiga-ui-kit-components-avatar.mjs +2 -2
  103. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +3 -8
  105. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-badge.mjs +4 -8
  107. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-block.mjs +4 -8
  109. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +8 -13
  111. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +3 -11
  113. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +2 -2
  115. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +1 -2
  117. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-chip.mjs +6 -10
  119. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +27 -24
  121. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-compass.mjs +2 -2
  123. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-kit-components-confirm.mjs +5 -7
  125. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-copy.mjs +9 -15
  127. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +17 -80
  129. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-files.mjs +10 -15
  131. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-filter.mjs +1 -1
  133. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +2 -2
  135. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +58 -68
  137. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-input-color.mjs +16 -13
  139. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +28 -41
  141. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +15 -10
  143. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +17 -14
  145. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-input-date.mjs +23 -23
  147. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +13 -10
  149. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-input-month.mjs +14 -11
  151. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-input-number.mjs +16 -14
  153. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +81 -78
  155. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +21 -18
  157. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +10 -9
  159. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-input-range.mjs +52 -49
  161. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +5 -5
  163. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-input-time.mjs +27 -29
  165. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-input-year.mjs +17 -12
  167. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +8 -12
  169. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +17 -27
  171. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +30 -18
  173. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-pager.mjs +4 -6
  175. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-pagination.mjs +2 -3
  177. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-pin.mjs +2 -2
  179. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-components-preview.mjs +28 -18
  181. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-progress.mjs +4 -8
  183. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-push.mjs +12 -13
  185. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +4 -4
  187. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-radio.mjs +2 -2
  189. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-range.mjs +2 -2
  191. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-rating.mjs +4 -9
  193. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +1 -1
  195. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-segmented.mjs +27 -53
  197. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-select.mjs +36 -20
  199. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-slider.mjs +7 -14
  201. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-stepper.mjs +41 -75
  203. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-switch.mjs +1 -2
  205. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-tabs.mjs +9 -14
  207. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-textarea.mjs +45 -48
  209. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-toast.mjs +15 -15
  211. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-tree.mjs +34 -33
  213. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +15 -6
  215. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +3 -2
  217. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +23 -50
  219. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-directives-fade.mjs +7 -6
  221. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -8
  223. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-directives-password.mjs +7 -5
  225. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +4 -4
  227. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +1 -1
  229. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +1 -1
  231. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  233. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +43 -0
  235. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  236. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +31 -0
  237. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  238. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +1 -1
  239. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +28 -0
  241. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  242. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -0
  244. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-tokens.mjs +3 -18
  246. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-utils.mjs +2 -8
  248. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  249. package/package.json +30 -26
  250. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  251. package/pipes/auto-color/index.d.ts +1 -0
  252. package/pipes/flag/flag.pipe.d.ts +14 -0
  253. package/pipes/flag/index.d.ts +1 -0
  254. package/pipes/index.d.ts +3 -0
  255. package/pipes/initials/index.d.ts +1 -0
  256. package/pipes/initials/initials.pipe.d.ts +7 -0
  257. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  258. package/tokens/items-handlers.d.ts +1 -7
  259. package/tokens/preview-icons.d.ts +1 -3
  260. package/utils/index.d.ts +0 -1
  261. package/components/textarea/textarea-limit.directive.d.ts +0 -26
  262. package/directives/lazy-loading/index.d.ts +0 -2
  263. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  264. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  265. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -63
  266. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  267. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -80
  268. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  269. package/utils/phone.d.ts +0 -3
@@ -1,18 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: Drop in v5.0
5
- */
6
- export declare class TuiImgLazyLoading {
7
- private readonly isServer;
8
- private readonly loading$;
9
- protected readonly supported: boolean;
10
- protected src: import("@angular/core").WritableSignal<string | SafeResourceUrl | null>;
11
- protected background: import("@angular/core").WritableSignal<string>;
12
- protected animation: import("@angular/core").WritableSignal<string>;
13
- protected readonly $: false | import("rxjs").Subscription;
14
- set srcSetter(src: SafeResourceUrl | string);
15
- protected unset(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiImgLazyLoading, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiImgLazyLoading, "img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]", never, { "srcSetter": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
18
- }
@@ -1,12 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiLazyLoadingService extends Observable<SafeResourceUrl | string> {
5
- private readonly src$;
6
- private readonly intersections$;
7
- private readonly stream$;
8
- constructor();
9
- next(src: SafeResourceUrl | string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLazyLoadingService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiLazyLoadingService>;
12
- }
@@ -1,63 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, ViewEncapsulation, Component, Injectable, Directive } from '@angular/core';
3
- import * as i1 from '@taiga-ui/cdk/directives/animated';
4
- import { TuiAnimated } from '@taiga-ui/cdk/directives/animated';
5
- import { injectContext, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
6
- import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
7
- import { TuiPopoverService, tuiAsPopover } from '@taiga-ui/cdk/services';
8
- import { TUI_DIALOGS } from '@taiga-ui/core/components/dialog';
9
-
10
- class TuiPreviewDialog {
11
- constructor() {
12
- this.context = injectContext();
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialog, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiPreviewDialog, isStandalone: true, selector: "tui-preview-dialog", host: { listeners: { "document:keydown.esc.prevent": "context.$implicit.complete()" } }, hostDirectives: [{ directive: i1.TuiAnimated }], ngImport: i0, template: `
16
- <ng-container *polymorpheusOutlet="context.content as text; context: context">
17
- {{ text }}
18
- </ng-container>
19
- `, isInline: true, styles: ["tui-preview-dialog{inline-size:100%;block-size:100%;overflow:hidden}tui-preview-dialog.tui-enter,tui-preview-dialog.tui-leave{animation-name:tuiFade,tuiSlide}[tuiAppearance][data-appearance=preview-action]{background:#686868f5;color:#fff}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:#9f9f9fdb}}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:#9f9f9fdb}}[tuiAppearance][data-appearance=preview-action][data-state=hover]{background:#9f9f9fdb}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action][tuiWrapper]:hover:not(._no-hover),[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=hover]{background:#9f9f9fdb}}[tuiAppearance][data-appearance=preview-action]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action][data-state=active]{background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action][tuiWrapper]:active:not(._no-active),[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=active],[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=active]:hover{background:#9f9f9fbf}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialog, decorators: [{
22
- type: Component,
23
- args: [{ selector: 'tui-preview-dialog', imports: [PolymorpheusOutlet], template: `
24
- <ng-container *polymorpheusOutlet="context.content as text; context: context">
25
- {{ text }}
26
- </ng-container>
27
- `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [TuiAnimated], host: {
28
- '(document:keydown.esc.prevent)': 'context.$implicit.complete()',
29
- }, styles: ["tui-preview-dialog{inline-size:100%;block-size:100%;overflow:hidden}tui-preview-dialog.tui-enter,tui-preview-dialog.tui-leave{animation-name:tuiFade,tuiSlide}[tuiAppearance][data-appearance=preview-action]{background:#686868f5;color:#fff}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:#9f9f9fdb}}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):hover:not(:disabled):not([data-state]){background:#9f9f9fdb}}[tuiAppearance][data-appearance=preview-action][data-state=hover]{background:#9f9f9fdb}@media (hover: hover) and (pointer: fine){[tuiAppearance][data-appearance=preview-action][tuiWrapper]:hover:not(._no-hover),[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=hover]{background:#9f9f9fdb}}[tuiAppearance][data-appearance=preview-action]:matches(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action]:is(a,button,select,textarea,input,label,.tui-interactive):not(:disabled):active:not(:disabled):not([data-state]){background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action][data-state=active]{background:#9f9f9fbf}[tuiAppearance][data-appearance=preview-action][tuiWrapper]:active:not(._no-active),[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=active],[tuiAppearance][data-appearance=preview-action][tuiWrapper][data-state=active]:hover{background:#9f9f9fbf}\n"] }]
30
- }] });
31
-
32
- class TuiPreviewDialogService extends TuiPopoverService {
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
34
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogService, providedIn: 'root', useFactory: () => new TuiPreviewDialogService(TUI_DIALOGS, TuiPreviewDialog) }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogService, decorators: [{
37
- type: Injectable,
38
- args: [{
39
- providedIn: 'root',
40
- useFactory: () => new TuiPreviewDialogService(TUI_DIALOGS, TuiPreviewDialog),
41
- }]
42
- }] });
43
-
44
- class TuiPreviewDialogDirective extends TuiPopoverDirective {
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
46
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiPreviewDialogDirective, isStandalone: true, selector: "ng-template[tuiPreviewDialog]", inputs: { open: ["tuiPreviewDialog", "open"] }, outputs: { openChange: "tuiPreviewDialogChange" }, providers: [tuiAsPopover(TuiPreviewDialogService)], usesInheritance: true, ngImport: i0 }); }
47
- }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPreviewDialogDirective, decorators: [{
49
- type: Directive,
50
- args: [{
51
- selector: 'ng-template[tuiPreviewDialog]',
52
- inputs: ['open: tuiPreviewDialog'],
53
- outputs: ['openChange: tuiPreviewDialogChange'],
54
- providers: [tuiAsPopover(TuiPreviewDialogService)],
55
- }]
56
- }] });
57
-
58
- /**
59
- * Generated bundle index. Do not edit.
60
- */
61
-
62
- export { TuiPreviewDialog, TuiPreviewDialogDirective, TuiPreviewDialogService };
63
- //# sourceMappingURL=taiga-ui-kit-components-preview-dialog.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-preview-dialog.mjs","sources":["../../../projects/kit/components/preview/dialog/preview-dialog.component.ts","../../../projects/kit/components/preview/dialog/preview-dialog.service.ts","../../../projects/kit/components/preview/dialog/preview-dialog.directive.ts","../../../projects/kit/components/preview/dialog/taiga-ui-kit-components-preview-dialog.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\n@Component({\n selector: 'tui-preview-dialog',\n imports: [PolymorpheusOutlet],\n template: `\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n `,\n styleUrl: './preview-dialog.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiAnimated],\n host: {\n '(document:keydown.esc.prevent)': 'context.$implicit.complete()',\n },\n})\nexport class TuiPreviewDialog {\n protected readonly context = injectContext<TuiPopover<void, void>>();\n}\n","import {Injectable} from '@angular/core';\nimport {TuiPopoverService} from '@taiga-ui/cdk/services';\nimport {TUI_DIALOGS} from '@taiga-ui/core/components/dialog';\n\nimport {TuiPreviewDialog} from './preview-dialog.component';\n\n@Injectable({\n providedIn: 'root',\n useFactory: () => new TuiPreviewDialogService(TUI_DIALOGS, TuiPreviewDialog),\n})\nexport class TuiPreviewDialogService extends TuiPopoverService<unknown> {}\n","import {Directive} from '@angular/core';\nimport {TuiPopoverDirective} from '@taiga-ui/cdk/directives/popover';\nimport {tuiAsPopover} from '@taiga-ui/cdk/services';\n\nimport {TuiPreviewDialogService} from './preview-dialog.service';\n\n@Directive({\n selector: 'ng-template[tuiPreviewDialog]',\n inputs: ['open: tuiPreviewDialog'],\n outputs: ['openChange: tuiPreviewDialogChange'],\n providers: [tuiAsPopover(TuiPreviewDialogService)],\n})\nexport class TuiPreviewDialogDirective extends TuiPopoverDirective<unknown> {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAqBa,gBAAgB,CAAA;AAhB7B,IAAA,WAAA,GAAA;QAiBuB,IAAO,CAAA,OAAA,GAAG,aAAa,EAA0B;AACvE;+GAFY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAbf,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,8BAAA,EAAA,8BAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;AAIT,IAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,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AAU,EAAE,MAAM;oBAClB,UAAU,EAAE,MAAM,4BAA4B,WAAW,EAAE,gBAAgB,CAAC;AAC/E,iBAAA;;;ACGK,MAAO,yBAA0B,SAAQ,mBAA4B,CAAA;+GAA9D,yBAAyB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,yBAAyB,+KAFvB,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAEzC,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,+BAA+B;oBACzC,MAAM,EAAE,CAAC,wBAAwB,CAAC;oBAClC,OAAO,EAAE,CAAC,oCAAoC,CAAC;AAC/C,oBAAA,SAAS,EAAE,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC;AACrD,iBAAA;;;ACXD;;AAEG;;;;"}
@@ -1,80 +0,0 @@
1
- import { isPlatformServer } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, Injectable, PLATFORM_ID, signal, Input, Directive } from '@angular/core';
4
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
- import { IntersectionObserverService } from '@ng-web-apis/intersection-observer';
6
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
7
- import { tuiWatch } from '@taiga-ui/cdk/observables';
8
- import { Observable, Subject, switchMap, filter, map, take } from 'rxjs';
9
-
10
- class TuiLazyLoadingService extends Observable {
11
- constructor() {
12
- super((subscriber) => this.stream$.subscribe(subscriber));
13
- this.src$ = new Subject();
14
- this.intersections$ = inject(IntersectionObserverService);
15
- this.stream$ = this.src$.pipe(switchMap((src) => this.intersections$.pipe(filter((entry) => !!entry[0]?.isIntersecting), map(() => src), take(1))), tuiWatch());
16
- }
17
- next(src) {
18
- this.src$.next(src);
19
- }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLazyLoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
21
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLazyLoadingService }); }
22
- }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLazyLoadingService, decorators: [{
24
- type: Injectable
25
- }], ctorParameters: () => [] });
26
-
27
- /**
28
- * @deprecated: Drop in v5.0
29
- */
30
- class TuiImgLazyLoading {
31
- constructor() {
32
- this.isServer = isPlatformServer(inject(PLATFORM_ID));
33
- this.loading$ = inject(TuiLazyLoadingService);
34
- this.supported = 'loading' in tuiInjectElement();
35
- this.src = signal(null);
36
- this.background = signal(this.isServer ? '' : 'var(--tui-background-neutral-2)');
37
- this.animation = signal(this.isServer ? '' : 'tuiSkeletonVibe ease-in-out 1s infinite alternate');
38
- this.$ = !this.supported &&
39
- this.loading$.pipe(takeUntilDestroyed()).subscribe((src) => this.src.set(src));
40
- }
41
- set srcSetter(src) {
42
- if (this.supported) {
43
- this.src.set(src);
44
- }
45
- else {
46
- this.loading$.next(src);
47
- }
48
- }
49
- unset() {
50
- this.background.set('');
51
- this.animation.set('');
52
- }
53
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiImgLazyLoading, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiImgLazyLoading, isStandalone: true, selector: "img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]", inputs: { srcSetter: ["src", "srcSetter"] }, host: { listeners: { "load": "unset()", "error": "unset()" }, properties: { "style.animation": "animation()", "style.background": "background()", "attr.loading": "supported ? \"lazy\" : null", "attr.src": "src()" } }, providers: [TuiLazyLoadingService, IntersectionObserverService], ngImport: i0 }); }
55
- }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiImgLazyLoading, decorators: [{
57
- type: Directive,
58
- args: [{
59
- selector: 'img[loading="lazy"],img[tuiLoading="lazy"]',
60
- providers: [TuiLazyLoadingService, IntersectionObserverService],
61
- host: {
62
- '[style.animation]': 'animation()',
63
- '[style.background]': 'background()',
64
- '[attr.loading]': 'supported ? "lazy" : null',
65
- '[attr.src]': 'src()',
66
- '(load)': 'unset()',
67
- '(error)': 'unset()',
68
- },
69
- }]
70
- }], propDecorators: { srcSetter: [{
71
- type: Input,
72
- args: ['src']
73
- }] } });
74
-
75
- /**
76
- * Generated bundle index. Do not edit.
77
- */
78
-
79
- export { TuiImgLazyLoading, TuiLazyLoadingService };
80
- //# sourceMappingURL=taiga-ui-kit-directives-lazy-loading.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-lazy-loading.mjs","sources":["../../../projects/kit/directives/lazy-loading/lazy-loading.service.ts","../../../projects/kit/directives/lazy-loading/lazy-loading.directive.ts","../../../projects/kit/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.ts"],"sourcesContent":["import {inject, Injectable} from '@angular/core';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {filter, map, Observable, Subject, switchMap, take} from 'rxjs';\n\n@Injectable()\nexport class TuiLazyLoadingService extends Observable<SafeResourceUrl | string> {\n private readonly src$ = new Subject<SafeResourceUrl | string>();\n private readonly intersections$ = inject(IntersectionObserverService);\n private readonly stream$ = this.src$.pipe(\n switchMap((src) =>\n this.intersections$.pipe(\n filter((entry) => !!entry[0]?.isIntersecting),\n map(() => src),\n take(1),\n ),\n ),\n tuiWatch(),\n );\n\n constructor() {\n super((subscriber) => this.stream$.subscribe(subscriber));\n }\n\n public next(src: SafeResourceUrl | string): void {\n this.src$.next(src);\n }\n}\n","import {isPlatformServer} from '@angular/common';\nimport {Directive, inject, Input, PLATFORM_ID, signal} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type SafeResourceUrl} from '@angular/platform-browser';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\n\nimport {TuiLazyLoadingService} from './lazy-loading.service';\n\n/**\n * @deprecated: Drop in v5.0\n */\n@Directive({\n selector: 'img[loading=\"lazy\"],img[tuiLoading=\"lazy\"]',\n providers: [TuiLazyLoadingService, IntersectionObserverService],\n host: {\n '[style.animation]': 'animation()',\n '[style.background]': 'background()',\n '[attr.loading]': 'supported ? \"lazy\" : null',\n '[attr.src]': 'src()',\n '(load)': 'unset()',\n '(error)': 'unset()',\n },\n})\nexport class TuiImgLazyLoading {\n private readonly isServer = isPlatformServer(inject(PLATFORM_ID));\n private readonly loading$ = inject(TuiLazyLoadingService);\n protected readonly supported = 'loading' in tuiInjectElement<HTMLImageElement>();\n protected src = signal<SafeResourceUrl | string | null>(null);\n protected background = signal(this.isServer ? '' : 'var(--tui-background-neutral-2)');\n protected animation = signal(\n this.isServer ? '' : 'tuiSkeletonVibe ease-in-out 1s infinite alternate',\n );\n\n protected readonly $ =\n !this.supported &&\n this.loading$.pipe(takeUntilDestroyed()).subscribe((src) => this.src.set(src));\n\n @Input('src')\n public set srcSetter(src: SafeResourceUrl | string) {\n if (this.supported) {\n this.src.set(src);\n } else {\n this.loading$.next(src);\n }\n }\n\n protected unset(): void {\n this.background.set('');\n this.animation.set('');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nex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EAAA,SAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,kBAAA,EAAA,cAAA,EAAA,cAAA,EAAA,6BAAA,EAAA,UAAA,EAAA,OAAA,EAAA,EAAA,EAAA,SAAA,EAAA,CAAC,qBAAqB,EAAE,2BAA2B,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAUtD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAZ7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,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;8BAgBc,SAAS,EAAA,CAAA;sBADnB,KAAK;uBAAC,KAAK;;;ACtChB;;AAEG;;;;"}
package/utils/phone.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
2
- import { type MetadataJson } from 'libphonenumber-js/core';
3
- export declare function tuiGetCallingCode(iso: TuiCountryIsoCode, metadata?: MetadataJson | null): string;