@taiga-ui/legacy 4.52.0-canary.e10b718 → 4.52.0-canary.e53e79e

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 (331) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +19 -0
  3. package/components/dialog/dialog.directive.d.ts +8 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +30 -0
  6. package/components/dialog/dialog.service.d.ts +10 -0
  7. package/components/dialog/dialog.tokens.d.ts +6 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +3 -26
  10. package/components/mobile-dialog/index.d.ts +3 -0
  11. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  12. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  13. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  14. package/components/pdf-viewer/index.d.ts +4 -0
  15. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  16. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  17. package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
  18. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  19. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
  20. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  21. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  22. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  23. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
  24. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  25. package/fesm2022/taiga-ui-legacy-components.mjs +3 -26
  26. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy.mjs +0 -6
  28. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  29. package/index.d.ts +0 -6
  30. package/package.json +22 -165
  31. package/classes/abstract-native-select.d.ts +0 -22
  32. package/classes/abstract-textfield-host.d.ts +0 -19
  33. package/classes/control.d.ts +0 -60
  34. package/classes/controller.d.ts +0 -9
  35. package/classes/index.d.ts +0 -9
  36. package/classes/interactive.d.ts +0 -34
  37. package/classes/multiple-control.d.ts +0 -11
  38. package/classes/named-day.d.ts +0 -11
  39. package/classes/nullable-control.d.ts +0 -10
  40. package/classes/stringifiable-item.d.ts +0 -11
  41. package/components/arrow/arrow.component.d.ts +0 -17
  42. package/components/arrow/arrow.options.d.ts +0 -19
  43. package/components/arrow/arrow.providers.d.ts +0 -23
  44. package/components/arrow/index.d.ts +0 -3
  45. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  46. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  47. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  48. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  49. package/components/color-selector/color-selector.component.d.ts +0 -47
  50. package/components/color-selector/color-selector.module.d.ts +0 -23
  51. package/components/color-selector/color-selector.options.d.ts +0 -25
  52. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  53. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  54. package/components/color-selector/index.d.ts +0 -16
  55. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  56. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  57. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  58. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  59. package/components/color-selector/palette/palette.component.d.ts +0 -10
  60. package/components/color-selector/palette/palette.module.d.ts +0 -13
  61. package/components/color-selector/services/picker.service.d.ts +0 -15
  62. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  63. package/components/combo-box/combo-box.component.d.ts +0 -52
  64. package/components/combo-box/combo-box.directive.d.ts +0 -13
  65. package/components/combo-box/combo-box.module.d.ts +0 -20
  66. package/components/combo-box/index.d.ts +0 -4
  67. package/components/input/index.d.ts +0 -3
  68. package/components/input/input.component.d.ts +0 -32
  69. package/components/input/input.directive.d.ts +0 -12
  70. package/components/input/input.module.d.ts +0 -16
  71. package/components/input-color/index.d.ts +0 -2
  72. package/components/input-color/input-color.component.d.ts +0 -30
  73. package/components/input-color/input-color.module.d.ts +0 -17
  74. package/components/input-date/index.d.ts +0 -3
  75. package/components/input-date/input-date.component.d.ts +0 -62
  76. package/components/input-date/input-date.directive.d.ts +0 -19
  77. package/components/input-date/input-date.module.d.ts +0 -24
  78. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  79. package/components/input-date-range/index.d.ts +0 -3
  80. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  81. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  82. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  83. package/components/input-date-time/index.d.ts +0 -3
  84. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  85. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  86. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  87. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  88. package/components/input-month-range/index.d.ts +0 -3
  89. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  90. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  91. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  92. package/components/input-number/index.d.ts +0 -4
  93. package/components/input-number/input-number.component.d.ts +0 -63
  94. package/components/input-number/input-number.directive.d.ts +0 -16
  95. package/components/input-number/input-number.module.d.ts +0 -18
  96. package/components/input-number/input-number.options.d.ts +0 -29
  97. package/components/input-phone/index.d.ts +0 -4
  98. package/components/input-phone/input-phone.component.d.ts +0 -52
  99. package/components/input-phone/input-phone.directive.d.ts +0 -16
  100. package/components/input-phone/input-phone.module.d.ts +0 -15
  101. package/components/input-phone/input-phone.options.d.ts +0 -22
  102. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  103. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  104. package/components/input-phone/utils/index.d.ts +0 -2
  105. package/components/input-phone-international/index.d.ts +0 -3
  106. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  107. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  108. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  109. package/components/input-range/index.d.ts +0 -2
  110. package/components/input-range/input-range.component.d.ts +0 -56
  111. package/components/input-range/input-range.module.d.ts +0 -19
  112. package/components/input-slider/index.d.ts +0 -2
  113. package/components/input-slider/input-slider.component.d.ts +0 -42
  114. package/components/input-slider/input-slider.module.d.ts +0 -18
  115. package/components/input-tag/index.d.ts +0 -3
  116. package/components/input-tag/input-tag.component.d.ts +0 -103
  117. package/components/input-tag/input-tag.module.d.ts +0 -22
  118. package/components/input-tag/input-tag.options.d.ts +0 -27
  119. package/components/input-time/index.d.ts +0 -4
  120. package/components/input-time/input-time.component.d.ts +0 -62
  121. package/components/input-time/input-time.directive.d.ts +0 -17
  122. package/components/input-time/input-time.module.d.ts +0 -23
  123. package/components/input-time/input-time.options.d.ts +0 -42
  124. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  125. package/components/input-year/index.d.ts +0 -3
  126. package/components/input-year/input-year.component.d.ts +0 -36
  127. package/components/input-year/input-year.directive.d.ts +0 -14
  128. package/components/input-year/input-year.module.d.ts +0 -18
  129. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  130. package/components/multi-select/index.d.ts +0 -10
  131. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  132. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  133. package/components/multi-select/multi-select.component.d.ts +0 -71
  134. package/components/multi-select/multi-select.directive.d.ts +0 -14
  135. package/components/multi-select/multi-select.module.d.ts +0 -31
  136. package/components/multi-select/multi-select.options.d.ts +0 -14
  137. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  138. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  139. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  140. package/components/multi-select-option/index.d.ts +0 -2
  141. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  142. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  143. package/components/primitive-textfield/index.d.ts +0 -7
  144. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  145. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  146. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  147. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  148. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  149. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  150. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  151. package/components/select/index.d.ts +0 -6
  152. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  153. package/components/select/native-select/native-select.component.d.ts +0 -16
  154. package/components/select/select.component.d.ts +0 -45
  155. package/components/select/select.directive.d.ts +0 -16
  156. package/components/select/select.module.d.ts +0 -24
  157. package/components/select/select.options.d.ts +0 -25
  158. package/components/select-option/index.d.ts +0 -2
  159. package/components/select-option/select-option.component.d.ts +0 -27
  160. package/components/select-option/select-option.module.d.ts +0 -10
  161. package/components/svg/content-processor.d.ts +0 -19
  162. package/components/svg/deprecated-icons.d.ts +0 -5
  163. package/components/svg/index.d.ts +0 -5
  164. package/components/svg/svg-options.d.ts +0 -50
  165. package/components/svg/svg.component.d.ts +0 -50
  166. package/components/svg/svg.service.d.ts +0 -21
  167. package/components/tag/index.d.ts +0 -3
  168. package/components/tag/tag.component.d.ts +0 -44
  169. package/components/tag/tag.module.d.ts +0 -16
  170. package/components/tag/tag.options.d.ts +0 -27
  171. package/components/textarea/index.d.ts +0 -3
  172. package/components/textarea/textarea.component.d.ts +0 -54
  173. package/components/textarea/textarea.directive.d.ts +0 -12
  174. package/components/textarea/textarea.module.d.ts +0 -21
  175. package/components/tooltip/index.d.ts +0 -2
  176. package/components/tooltip/tooltip.component.d.ts +0 -12
  177. package/components/tooltip/tooltip.module.d.ts +0 -13
  178. package/directives/index.d.ts +0 -5
  179. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  180. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  181. package/directives/textfield-controller/index.d.ts +0 -14
  182. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  183. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  184. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  185. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  186. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  187. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  188. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  189. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  190. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  191. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  192. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  193. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  194. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  195. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  196. package/directives/unfinished-validator/index.d.ts +0 -2
  197. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  198. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  199. package/directives/value-accessor/index.d.ts +0 -3
  200. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  201. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  202. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  203. package/directives/wrapper/README.md +0 -19
  204. package/directives/wrapper/index.d.ts +0 -2
  205. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  206. package/directives/wrapper/wrapper.module.d.ts +0 -10
  207. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  208. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  209. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  210. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  211. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
  212. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  213. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  214. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  215. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  216. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  217. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  218. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  219. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  220. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  221. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  222. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  223. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  224. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  225. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  226. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  227. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  228. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  229. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -373
  230. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  231. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  232. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  234. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  235. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  236. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  237. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  238. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  239. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  240. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  241. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  242. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  243. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  244. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  245. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  246. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  248. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  249. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  250. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
  252. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  254. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  256. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  258. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  260. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  262. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  264. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  265. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  266. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  267. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  268. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  269. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  270. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  271. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  272. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  273. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  274. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  275. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  276. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  277. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  278. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  279. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  280. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  281. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  282. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  283. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  284. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  285. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  286. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  287. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  288. package/pipes/format-phone/index.d.ts +0 -1
  289. package/pipes/index.d.ts +0 -3
  290. package/pipes/iso-to-country-code/index.d.ts +0 -1
  291. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  292. package/pipes/to-country-code/index.d.ts +0 -1
  293. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  294. package/services/index.d.ts +0 -1
  295. package/services/static-request.service.d.ts +0 -11
  296. package/styles/mixins/mixins.less +0 -239
  297. package/styles/mixins/mixins.scss +0 -224
  298. package/styles/mixins/textfield.less +0 -324
  299. package/styles/mixins/textfield.scss +0 -308
  300. package/styles/taiga-ui-local.less +0 -3
  301. package/styles/taiga-ui-local.scss +0 -3
  302. package/tokens/countries-masks.d.ts +0 -9
  303. package/tokens/focusable-item-accessor.d.ts +0 -25
  304. package/tokens/fonts-ready.d.ts +0 -6
  305. package/tokens/icons.d.ts +0 -6
  306. package/tokens/index.d.ts +0 -14
  307. package/tokens/is-apple.d.ts +0 -6
  308. package/tokens/is-chromium.d.ts +0 -6
  309. package/tokens/is-firefox.d.ts +0 -6
  310. package/tokens/is-stackblitz.d.ts +0 -5
  311. package/tokens/month-formatter.d.ts +0 -10
  312. package/tokens/sanitizer.d.ts +0 -6
  313. package/tokens/textfield-appearance.d.ts +0 -7
  314. package/tokens/textfield-host.d.ts +0 -23
  315. package/tokens/touch-supported.d.ts +0 -5
  316. package/tokens/value-accessor.d.ts +0 -7
  317. package/utils/capitalize-first-letter.d.ts +0 -4
  318. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  319. package/utils/format-phone.d.ts +0 -30
  320. package/utils/get-border.d.ts +0 -5
  321. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  322. package/utils/get-safe-area-size.d.ts +0 -7
  323. package/utils/icons-path-factory.d.ts +0 -13
  324. package/utils/index.d.ts +0 -14
  325. package/utils/is-apple.d.ts +0 -5
  326. package/utils/is-presumed-html-string.d.ts +0 -4
  327. package/utils/iso-to-country-code.d.ts +0 -13
  328. package/utils/not-kz-region.d.ts +0 -20
  329. package/utils/process-icon.d.ts +0 -4
  330. package/utils/specific-dropdown-controllers.d.ts +0 -4
  331. package/utils/status.d.ts +0 -4
@@ -1,387 +0,0 @@
1
- import { tuiIsString, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
2
- import { __decorate } from 'tslib';
3
- import { DOCUMENT, AsyncPipe } from '@angular/common';
4
- import * as i0 from '@angular/core';
5
- import { inject, SecurityContext, Injectable, InjectionToken, SkipSelf, Optional, Input, ChangeDetectionStrategy, Component } from '@angular/core';
6
- import { DomSanitizer } from '@angular/platform-browser';
7
- import { WA_WINDOW } from '@ng-web-apis/common';
8
- import { TUI_BASE_HREF } from '@taiga-ui/cdk/tokens';
9
- import { tuiInjectElement, tuiGetDocumentOrShadowRoot } from '@taiga-ui/cdk/utils/dom';
10
- import { TuiStaticRequestService } from '@taiga-ui/legacy/services';
11
- import { TUI_SANITIZER, TUI_ICON_STARTS } from '@taiga-ui/legacy/tokens';
12
- import { tuiProcessIcon, tuiIconsPathFactory, TUI_CACHE_BUSTING_PAYLOAD, tuiIsPresumedHTMLString } from '@taiga-ui/legacy/utils';
13
- import { BehaviorSubject, identity, ReplaySubject, switchMap, of, startWith, catchError, map } from 'rxjs';
14
-
15
- function makeRandomSalt() {
16
- return Math.floor(Math.random() * Date.now());
17
- }
18
- function extractLinearGradientIdsFromSvg(svg) {
19
- const ids = (svg.match(/url\(("?)('*)#(.*?)('*)\)/g) ?? []).map((url) => url.slice(4, url.length - 1).replaceAll(/['"#]+/g, ''));
20
- return Array.from(new Set(ids));
21
- }
22
- /**
23
- * @deprecated: drop in v5.0 use {@link TuiIcon}
24
- * https://taiga-ui.dev/components/icon
25
- *
26
- * @description:
27
- * Any ‘linearGradient’ attributes which are defined on the referenced
28
- * element which are not defined on this element are inherited by this element.
29
- * If this element has no defined gradient stops, and the referenced element does
30
- * (possibly due to its own ‘xlink:href’ attribute), then this element inherits
31
- * the gradient stop from the referenced element. Inheritance can be indirect
32
- * to an arbitrary level; thus, if the referenced element inherits attribute
33
- * or gradient stops due to its own ‘xlink:href’ attribute, then the current
34
- * element can inherit those attributes or gradient stops.
35
- *
36
- * Documentation: https://www.w3.org/TR/SVG11/pservers.html
37
- *
38
- */
39
- function tuiSvgLinearGradientProcessor(svg, salt = makeRandomSalt()) {
40
- if (tuiIsString(svg)) {
41
- const uniqueIds = extractLinearGradientIdsFromSvg(svg);
42
- return uniqueIds.reduce((newSvg, previousId) => {
43
- const newId = `id_${salt}_${previousId}`;
44
- return newSvg
45
- .replaceAll(`"${previousId}"`, `"${newId}"`)
46
- .replaceAll(`'${previousId}'`, `'${newId}'`)
47
- .replaceAll(`url('#${previousId}')`, `url('#${newId}')`)
48
- .replaceAll(`url("#${previousId}")`, `url("#${newId}")`)
49
- .replaceAll(`url(#${previousId})`, `url(#${newId})`);
50
- }, svg);
51
- }
52
- return svg;
53
- }
54
-
55
- /**
56
- * @deprecated: drop in v5.0 use {@link TuiIcon}
57
- * https://taiga-ui.dev/components/icon
58
- */
59
- const TUI_DEPRECATED_ICONS = {
60
- tuiIconAttach: 'tuiIconPaperclip',
61
- tuiIconAttention: 'tuiIconAlertCircle',
62
- tuiIconBackCircle: 'tuiIconArrowLeftCircle',
63
- tuiIconCall: 'tuiIconPhone',
64
- tuiIconCallIn: 'tuiIconPhoneIncoming',
65
- tuiIconCallOut: 'tuiIconPhoneOutgoing',
66
- tuiIconCallTransfer: 'tuiIconPhoneForwarded',
67
- tuiIconCancel: 'tuiIconXCircle',
68
- tuiIconCancelCircle: 'tuiIconSlash',
69
- tuiIconCard: 'tuiIconCreditCard',
70
- tuiIconCards: 'tuiIconCreditCard',
71
- tuiIconChartBar: 'tuiIconBarChart',
72
- tuiIconChart: 'tuiIconBarChart',
73
- tuiIconCheckList: 'tuiIconClipboard',
74
- tuiIconCloseCircle: 'tuiIconXCircle',
75
- tuiIconCollapse: 'tuiIconMinimize',
76
- tuiIconComment: 'tuiIconMessageSquare',
77
- tuiIconCommentFw: 'tuiIconMessageForward',
78
- tuiIconCompany: 'tuiIconBriefcase',
79
- tuiIconDefaultDoc: 'tuiIconFile',
80
- tuiIconDesktop: 'tuiIconMonitor',
81
- tuiIconDesktopOff: 'tuiIconMonitorOff',
82
- tuiIconDislike: 'tuiIconThumbsDown',
83
- tuiIconDone: 'tuiIconCheckCircle',
84
- tuiIconDraft: 'tuiIconEdit2',
85
- tuiIconEyeOpen: 'tuiIconEye',
86
- tuiIconEyeClosed: 'tuiIconEyeOff',
87
- tuiIconExpand: 'tuiIconMaximize',
88
- tuiIconExternal: 'tuiIconExternalLink',
89
- tuiIconFrame: 'tuiIconLayout',
90
- tuiIconGeo: 'tuiIconMapPin',
91
- tuiIconHeartFilled: 'tuiIconHeart',
92
- tuiIconHide: 'tuiIconEyeOff',
93
- tuiIconImg: 'tuiIconImage',
94
- tuiIconInfoCircle: 'tuiIconInfo',
95
- tuiIconLike: 'tuiIconThumbsUp',
96
- tuiIconLockOpen: 'tuiIconUnlock',
97
- tuiIconMobile: 'tuiIconSmartphone',
98
- tuiIconMoreHor: 'tuiIconMoreHorizontal',
99
- tuiIconMoreVer: 'tuiIconMoreVertical',
100
- tuiIconMoreVert: 'tuiIconMoreVertical',
101
- tuiIconPicture: 'tuiIconImage',
102
- tuiIconPin: 'tuiIconMapPin',
103
- tuiIconPrint: 'tuiIconPrinter',
104
- tuiIconRefresh: 'tuiIconRefreshCw',
105
- tuiIconRemove: 'tuiIconX',
106
- tuiIconShow: 'tuiIconEye',
107
- tuiIconSound: 'tuiIconVolume',
108
- tuiIconSoundOff: 'tuiIconVolumeX',
109
- tuiIconStarFilled: 'tuiIconStar',
110
- tuiIconStop: 'tuiIconSquare',
111
- tuiIconStructure: 'tuiIconLayoutGrid',
112
- tuiIconTime: 'tuiIconClock',
113
- tuiIconTooltip: 'tuiIconHelpCircle',
114
- tuiIconViewList: 'tuiIconList',
115
- tuiIconWifiOn: 'tuiIconWifi',
116
- };
117
-
118
- /// <reference types="@taiga-ui/tsconfig/ng-dev-mode" />
119
- /**
120
- * @deprecated: drop in v5.0 use {@link TuiIcon}
121
- * Service for reusing SVGs without inlining each instance
122
- */
123
- class TuiSvgService {
124
- constructor() {
125
- this.tuiSanitizer = inject(TUI_SANITIZER, { optional: true });
126
- this.sanitizer = inject(DomSanitizer);
127
- this.originals = {};
128
- this.items$ = new BehaviorSubject(new Map());
129
- this.define(inject(TUI_ICON_STARTS));
130
- }
131
- define(icons) {
132
- const { value } = this.items$;
133
- Object.keys(icons).forEach((key) => {
134
- this.defineIcon(key, icons[key] ?? '', value);
135
- });
136
- this.items$.next(value);
137
- }
138
- getOriginal(name) {
139
- return this.originals[name] || null;
140
- }
141
- defineIcon(name, src, map) {
142
- if (map.has(name)) {
143
- return;
144
- }
145
- const parsed = this.parseSrc(name, src);
146
- if (!parsed) {
147
- ngDevMode && console.assert(false, 'Unable to parse given SVG src');
148
- return;
149
- }
150
- map.set(name, parsed);
151
- this.originals = {
152
- ...this.originals,
153
- [name]: src,
154
- };
155
- }
156
- parseSrc(name, src) {
157
- return this.sanitize(tuiProcessIcon(src, name));
158
- }
159
- sanitize(src) {
160
- return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer
161
- ? this.tuiSanitizer.sanitize(SecurityContext.HTML, src)
162
- : this.sanitizer.sanitize(SecurityContext.HTML, src)) || '');
163
- }
164
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSvgService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
165
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSvgService, providedIn: 'root' }); }
166
- }
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSvgService, decorators: [{
168
- type: Injectable,
169
- args: [{
170
- providedIn: 'root',
171
- }]
172
- }], ctorParameters: () => [] });
173
-
174
- /**
175
- * @deprecated: drop in v5.0 use {@link TuiIcon}
176
- * https://taiga-ui.dev/components/icon
177
- */
178
- const TUI_DEFAULT_ICONS_PLACE = 'assets/taiga-ui/icons';
179
- /**
180
- * @deprecated: drop in v5.0 use {@link TuiIcon}
181
- * https://taiga-ui.dev/components/icon
182
- */
183
- const TUI_SVG_DEFAULT_OPTIONS = {
184
- iconsPlace: TUI_DEFAULT_ICONS_PLACE,
185
- path: tuiIconsPathFactory(TUI_DEFAULT_ICONS_PLACE),
186
- srcProcessor: identity,
187
- contentProcessor: tuiSvgLinearGradientProcessor,
188
- deprecated: (src) => {
189
- const oldIcon = src.replace('Large', '').replace('Outline', '');
190
- const newIcon = TUI_DEPRECATED_ICONS[oldIcon];
191
- return newIcon
192
- ? `${oldIcon}/(Large|Outline) is deprecated, use ${newIcon}/(Large|Outline) instead`
193
- : '';
194
- },
195
- };
196
- /**
197
- * @deprecated: drop in v5.0 use {@link TuiIcon}
198
- * https://taiga-ui.dev/components/icon
199
- */
200
- const TUI_SVG_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_SVG_OPTIONS' : '', {
201
- factory: () => ({
202
- iconsPlace: TUI_DEFAULT_ICONS_PLACE,
203
- path: tuiIconsPathFactory(TUI_DEFAULT_ICONS_PLACE),
204
- deprecated: TUI_SVG_DEFAULT_OPTIONS.deprecated,
205
- srcProcessor: identity,
206
- contentProcessor: tuiSvgLinearGradientProcessor,
207
- }),
208
- });
209
- /**
210
- * @deprecated: drop in v5.0 use {@link TuiIcon}
211
- * https://taiga-ui.dev/components/icon
212
- */
213
- const TUI_SVG_SRC_INTERCEPTORS = new InjectionToken(ngDevMode ? 'TUI_SVG_SRC_INTERCEPTORS' : '');
214
- /**
215
- * @deprecated: drop in v5.0 use {@link TuiIcon}
216
- * https://taiga-ui.dev/components/icon
217
- */
218
- function tuiSvgSrcInterceptors(interceptor) {
219
- return {
220
- provide: TUI_SVG_SRC_INTERCEPTORS,
221
- useValue: interceptor,
222
- multi: true,
223
- };
224
- }
225
- /**
226
- * @deprecated: drop in v5.0 use {@link TuiIcon}
227
- * https://taiga-ui.dev/components/icon
228
- */
229
- const tuiSvgOptionsProvider = (options) => ({
230
- provide: TUI_SVG_OPTIONS,
231
- deps: [[new SkipSelf(), new Optional(), TUI_SVG_OPTIONS]],
232
- useFactory: (fallback) => ({
233
- iconsPlace: options.iconsPlace ??
234
- fallback?.iconsPlace ??
235
- TUI_SVG_DEFAULT_OPTIONS.iconsPlace,
236
- path: tuiIsString(options.path)
237
- ? tuiIconsPathFactory(options.path)
238
- : (options.path ?? fallback?.path ?? TUI_SVG_DEFAULT_OPTIONS.path),
239
- deprecated: options.deprecated ??
240
- fallback?.deprecated ??
241
- TUI_SVG_DEFAULT_OPTIONS.deprecated,
242
- srcProcessor: options.srcProcessor ??
243
- fallback?.srcProcessor ??
244
- TUI_SVG_DEFAULT_OPTIONS.srcProcessor,
245
- contentProcessor: options.contentProcessor ??
246
- fallback?.contentProcessor ??
247
- TUI_SVG_DEFAULT_OPTIONS.contentProcessor,
248
- }),
249
- });
250
-
251
- const UNDEFINED_NAMED_ICON = 'Attempted to use undefined named icon';
252
- const MISSING_EXTERNAL_ICON = 'External icon is missing on the given URL';
253
- const FAILED_EXTERNAL_ICON = 'Failed to load external SVG';
254
- /**
255
- * @deprecated: drop in v5.0 use {@link TuiIcon}
256
- * https://taiga-ui.dev/components/icon
257
- */
258
- class TuiSvgComponent {
259
- constructor() {
260
- this.icon = '';
261
- this.doc = inject(DOCUMENT);
262
- this.win = inject(WA_WINDOW);
263
- this.options = inject(TUI_SVG_OPTIONS);
264
- this.tuiSanitizer = inject(TUI_SANITIZER, { optional: true });
265
- this.svgService = inject(TuiSvgService);
266
- this.staticRequestService = inject(TuiStaticRequestService);
267
- this.sanitizer = inject(DomSanitizer);
268
- this.el = tuiInjectElement();
269
- this.baseHref = inject(TUI_BASE_HREF);
270
- this.src$ = new ReplaySubject(1);
271
- this.srcInterceptors = inject(TUI_SVG_SRC_INTERCEPTORS, {
272
- optional: true,
273
- });
274
- this.innerHTML$ = this.src$.pipe(switchMap(() => {
275
- if (tuiIsString(this.icon)) {
276
- return this.isExternal
277
- ? this.getExternalIcon(this.icon)
278
- : of(this.getSafeHtml(this.icon));
279
- }
280
- return of(this.icon);
281
- }), startWith(''));
282
- }
283
- set src(src) {
284
- const deprecated = this.options.deprecated(String(src));
285
- ngDevMode && console.assert(!deprecated, deprecated);
286
- this.icon = (this.srcInterceptors ?? []).reduce((newSrc, interceptor) => interceptor(newSrc, this.options), this.options.srcProcessor(src || ''));
287
- this.src$.next();
288
- }
289
- get src() {
290
- return this.icon;
291
- }
292
- get use() {
293
- if (tuiIsString(this.icon)) {
294
- return this.icon.includes('.svg#')
295
- ? this.icon
296
- : this.resolveName(this.icon, this.options.path);
297
- }
298
- return '';
299
- }
300
- get isInnerHTML() {
301
- return (!tuiIsString(this.icon) ||
302
- this.isSrc ||
303
- this.isExternal ||
304
- (this.isName && this.isShadowDOM));
305
- }
306
- onError(message = MISSING_EXTERNAL_ICON) {
307
- const { icon } = this;
308
- const event = new CustomEvent('tui-icon-error', {
309
- bubbles: true,
310
- detail: {
311
- message,
312
- icon: icon,
313
- },
314
- });
315
- ngDevMode && console.assert(false, message, icon);
316
- this.el.dispatchEvent(event);
317
- }
318
- get isShadowDOM() {
319
- return tuiGetDocumentOrShadowRoot(this.el) !== this.doc;
320
- }
321
- get isUse() {
322
- return this.use.replace(TUI_CACHE_BUSTING_PAYLOAD, '').includes('.svg#');
323
- }
324
- get isExternal() {
325
- return (this.isUrl ||
326
- this.isCrossDomain ||
327
- (!this.isSrc && !this.svgService.getOriginal(String(this.icon))));
328
- }
329
- get isUrl() {
330
- return (tuiIsString(this.icon) &&
331
- this.icon.replace(TUI_CACHE_BUSTING_PAYLOAD, '').endsWith('.svg'));
332
- }
333
- get isSrc() {
334
- return tuiIsString(this.icon) && tuiIsPresumedHTMLString(this.icon);
335
- }
336
- get isName() {
337
- return !this.isUrl && !this.isUse && !this.isSrc;
338
- }
339
- get isCrossDomain() {
340
- const { use, isUse, win } = this;
341
- return (isUse && use.startsWith('http') && !!win.origin && !use.startsWith(win.origin));
342
- }
343
- resolveName(name, iconsPath) {
344
- return iconsPath(name, this.baseHref);
345
- }
346
- getSafeHtml(src) {
347
- return this.isSrc ? this.sanitize(src) : this.process(src);
348
- }
349
- process(src) {
350
- const icon = this.svgService.getOriginal(src);
351
- if (this.isName && !icon && !!src) {
352
- this.onError(UNDEFINED_NAMED_ICON);
353
- }
354
- return this.sanitize(icon || '');
355
- }
356
- sanitize(src) {
357
- src = this.options.contentProcessor(src);
358
- return this.tuiSanitizer && tuiIsString(src)
359
- ? this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(SecurityContext.HTML, src) || '')
360
- : src;
361
- }
362
- getExternalIcon(src) {
363
- const url = src.includes('.svg') ? src : this.use;
364
- return this.staticRequestService.request(url).pipe(catchError(() => {
365
- this.onError(FAILED_EXTERNAL_ICON);
366
- return of('');
367
- }), map((response) => this.sanitize(response.replace('<svg', '<svg focusable="false"'))));
368
- }
369
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
370
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiSvgComponent, isStandalone: true, selector: "tui-svg", inputs: { src: "src" }, ngImport: i0, template: "<div\n class=\"t-src\"\n [innerHTML]=\"innerHTML$ | async\"\n></div>\n", styles: [":host{display:inline-flex;vertical-align:middle;flex-shrink:0;align-items:center;justify-content:center;line-height:0;block-size:1.5rem;inline-size:1.5rem;fill:transparent;stroke:transparent;font-size:1rem}.t-src{display:flex;inline-size:100%;block-size:100%;align-items:center;justify-content:center}.t-svg{overflow:visible}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
371
- }
372
- __decorate([
373
- tuiPure
374
- ], TuiSvgComponent.prototype, "resolveName", null);
375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSvgComponent, decorators: [{
376
- type: Component,
377
- args: [{ selector: 'tui-svg', imports: [AsyncPipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"t-src\"\n [innerHTML]=\"innerHTML$ | async\"\n></div>\n", styles: [":host{display:inline-flex;vertical-align:middle;flex-shrink:0;align-items:center;justify-content:center;line-height:0;block-size:1.5rem;inline-size:1.5rem;fill:transparent;stroke:transparent;font-size:1rem}.t-src{display:flex;inline-size:100%;block-size:100%;align-items:center;justify-content:center}.t-svg{overflow:visible}\n"] }]
378
- }], propDecorators: { src: [{
379
- type: Input
380
- }], resolveName: [] } });
381
-
382
- /**
383
- * Generated bundle index. Do not edit.
384
- */
385
-
386
- export { TUI_DEFAULT_ICONS_PLACE, TUI_DEPRECATED_ICONS, TUI_SVG_DEFAULT_OPTIONS, TUI_SVG_OPTIONS, TUI_SVG_SRC_INTERCEPTORS, TuiSvgComponent, TuiSvgService, tuiSvgLinearGradientProcessor, tuiSvgOptionsProvider, tuiSvgSrcInterceptors };
387
- //# sourceMappingURL=taiga-ui-legacy-components-svg.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-svg.mjs","sources":["../../../projects/legacy/components/svg/content-processor.ts","../../../projects/legacy/components/svg/deprecated-icons.ts","../../../projects/legacy/components/svg/svg.service.ts","../../../projects/legacy/components/svg/svg-options.ts","../../../projects/legacy/components/svg/svg.component.ts","../../../projects/legacy/components/svg/svg.template.html","../../../projects/legacy/components/svg/taiga-ui-legacy-components-svg.ts"],"sourcesContent":["import {type TuiSafeHtml} from '@taiga-ui/cdk/types';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\n\nfunction makeRandomSalt(): number {\n return Math.floor(Math.random() * Date.now());\n}\n\nfunction extractLinearGradientIdsFromSvg(svg: string): string[] {\n const ids = (svg.match(/url\\((\"?)('*)#(.*?)('*)\\)/g) ?? []).map((url) =>\n url.slice(4, url.length - 1).replaceAll(/['\"#]+/g, ''),\n );\n\n return Array.from(new Set(ids));\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n *\n * @description:\n * Any ‘linearGradient’ attributes which are defined on the referenced\n * element which are not defined on this element are inherited by this element.\n * If this element has no defined gradient stops, and the referenced element does\n * (possibly due to its own ‘xlink:href’ attribute), then this element inherits\n * the gradient stop from the referenced element. Inheritance can be indirect\n * to an arbitrary level; thus, if the referenced element inherits attribute\n * or gradient stops due to its own ‘xlink:href’ attribute, then the current\n * element can inherit those attributes or gradient stops.\n *\n * Documentation: https://www.w3.org/TR/SVG11/pservers.html\n *\n */\nexport function tuiSvgLinearGradientProcessor(\n svg: TuiSafeHtml,\n salt: number | string = makeRandomSalt(),\n): TuiSafeHtml {\n if (tuiIsString(svg)) {\n const uniqueIds = extractLinearGradientIdsFromSvg(svg);\n\n return uniqueIds.reduce((newSvg, previousId) => {\n const newId = `id_${salt}_${previousId}`;\n\n return newSvg\n .replaceAll(`\"${previousId}\"`, `\"${newId}\"`)\n .replaceAll(`'${previousId}'`, `'${newId}'`)\n .replaceAll(`url('#${previousId}')`, `url('#${newId}')`)\n .replaceAll(`url(\"#${previousId}\")`, `url(\"#${newId}\")`)\n .replaceAll(`url(#${previousId})`, `url(#${newId})`);\n }, svg);\n }\n\n return svg;\n}\n","/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport const TUI_DEPRECATED_ICONS: Record<string, string> = {\n tuiIconAttach: 'tuiIconPaperclip',\n tuiIconAttention: 'tuiIconAlertCircle',\n tuiIconBackCircle: 'tuiIconArrowLeftCircle',\n tuiIconCall: 'tuiIconPhone',\n tuiIconCallIn: 'tuiIconPhoneIncoming',\n tuiIconCallOut: 'tuiIconPhoneOutgoing',\n tuiIconCallTransfer: 'tuiIconPhoneForwarded',\n tuiIconCancel: 'tuiIconXCircle',\n tuiIconCancelCircle: 'tuiIconSlash',\n tuiIconCard: 'tuiIconCreditCard',\n tuiIconCards: 'tuiIconCreditCard',\n tuiIconChartBar: 'tuiIconBarChart',\n tuiIconChart: 'tuiIconBarChart',\n tuiIconCheckList: 'tuiIconClipboard',\n tuiIconCloseCircle: 'tuiIconXCircle',\n tuiIconCollapse: 'tuiIconMinimize',\n tuiIconComment: 'tuiIconMessageSquare',\n tuiIconCommentFw: 'tuiIconMessageForward',\n tuiIconCompany: 'tuiIconBriefcase',\n tuiIconDefaultDoc: 'tuiIconFile',\n tuiIconDesktop: 'tuiIconMonitor',\n tuiIconDesktopOff: 'tuiIconMonitorOff',\n tuiIconDislike: 'tuiIconThumbsDown',\n tuiIconDone: 'tuiIconCheckCircle',\n tuiIconDraft: 'tuiIconEdit2',\n tuiIconEyeOpen: 'tuiIconEye',\n tuiIconEyeClosed: 'tuiIconEyeOff',\n tuiIconExpand: 'tuiIconMaximize',\n tuiIconExternal: 'tuiIconExternalLink',\n tuiIconFrame: 'tuiIconLayout',\n tuiIconGeo: 'tuiIconMapPin',\n tuiIconHeartFilled: 'tuiIconHeart',\n tuiIconHide: 'tuiIconEyeOff',\n tuiIconImg: 'tuiIconImage',\n tuiIconInfoCircle: 'tuiIconInfo',\n tuiIconLike: 'tuiIconThumbsUp',\n tuiIconLockOpen: 'tuiIconUnlock',\n tuiIconMobile: 'tuiIconSmartphone',\n tuiIconMoreHor: 'tuiIconMoreHorizontal',\n tuiIconMoreVer: 'tuiIconMoreVertical',\n tuiIconMoreVert: 'tuiIconMoreVertical',\n tuiIconPicture: 'tuiIconImage',\n tuiIconPin: 'tuiIconMapPin',\n tuiIconPrint: 'tuiIconPrinter',\n tuiIconRefresh: 'tuiIconRefreshCw',\n tuiIconRemove: 'tuiIconX',\n tuiIconShow: 'tuiIconEye',\n tuiIconSound: 'tuiIconVolume',\n tuiIconSoundOff: 'tuiIconVolumeX',\n tuiIconStarFilled: 'tuiIconStar',\n tuiIconStop: 'tuiIconSquare',\n tuiIconStructure: 'tuiIconLayoutGrid',\n tuiIconTime: 'tuiIconClock',\n tuiIconTooltip: 'tuiIconHelpCircle',\n tuiIconViewList: 'tuiIconList',\n tuiIconWifiOn: 'tuiIconWifi',\n};\n","/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {inject, Injectable, SecurityContext} from '@angular/core';\nimport {DomSanitizer, type SafeHtml} from '@angular/platform-browser';\nimport {TUI_ICON_STARTS, TUI_SANITIZER} from '@taiga-ui/legacy/tokens';\nimport {tuiProcessIcon} from '@taiga-ui/legacy/utils';\nimport {BehaviorSubject} from 'rxjs';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * Service for reusing SVGs without inlining each instance\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiSvgService {\n private readonly tuiSanitizer = inject(TUI_SANITIZER, {optional: true});\n private readonly sanitizer = inject(DomSanitizer);\n private originals: Record<string, string> = {};\n\n public readonly items$ = new BehaviorSubject<Map<string, SafeHtml>>(new Map());\n\n constructor() {\n this.define(inject(TUI_ICON_STARTS));\n }\n\n public define(icons: Record<string, string>): void {\n const {value} = this.items$;\n\n Object.keys(icons).forEach((key) => {\n this.defineIcon(key, icons[key] ?? '', value);\n });\n\n this.items$.next(value);\n }\n\n public getOriginal(name: string): string | null {\n return this.originals[name] || null;\n }\n\n private defineIcon(name: string, src: string, map: Map<string, SafeHtml>): void {\n if (map.has(name)) {\n return;\n }\n\n const parsed = this.parseSrc(name, src);\n\n if (!parsed) {\n ngDevMode && console.assert(false, 'Unable to parse given SVG src');\n\n return;\n }\n\n map.set(name, parsed);\n this.originals = {\n ...this.originals,\n [name]: src,\n };\n }\n\n private parseSrc(name: string, src: string): SafeHtml {\n return this.sanitize(tuiProcessIcon(src, name));\n }\n\n private sanitize(src: string): SafeHtml {\n return this.sanitizer.bypassSecurityTrustHtml(\n (this.tuiSanitizer\n ? this.tuiSanitizer.sanitize(SecurityContext.HTML, src)\n : this.sanitizer.sanitize(SecurityContext.HTML, src)) || '',\n );\n }\n}\n","import {\n type FactoryProvider,\n InjectionToken,\n Optional,\n type Provider,\n SkipSelf,\n} from '@angular/core';\nimport {\n type TuiHandler,\n type TuiSafeHtml,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiIconsPathFactory} from '@taiga-ui/legacy/utils';\nimport {identity} from 'rxjs';\n\nimport {tuiSvgLinearGradientProcessor} from './content-processor';\nimport {TUI_DEPRECATED_ICONS} from './deprecated-icons';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport const TUI_DEFAULT_ICONS_PLACE = 'assets/taiga-ui/icons';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport interface TuiSvgOptions {\n readonly contentProcessor: TuiHandler<TuiSafeHtml, TuiSafeHtml>;\n readonly deprecated: TuiStringHandler<string>;\n readonly iconsPlace: string;\n readonly path: (name: string, baseHref?: string) => string;\n readonly srcProcessor: TuiHandler<TuiSafeHtml, TuiSafeHtml>;\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport type TuiSvgInterceptorHandler =\n | ((src: TuiSafeHtml, options: TuiSvgOptions) => TuiSafeHtml)\n | ((src: TuiSafeHtml) => TuiSafeHtml);\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport const TUI_SVG_DEFAULT_OPTIONS: TuiSvgOptions = {\n iconsPlace: TUI_DEFAULT_ICONS_PLACE,\n path: tuiIconsPathFactory(TUI_DEFAULT_ICONS_PLACE),\n srcProcessor: identity,\n contentProcessor: tuiSvgLinearGradientProcessor,\n deprecated: (src) => {\n const oldIcon = src.replace('Large', '').replace('Outline', '');\n const newIcon = TUI_DEPRECATED_ICONS[oldIcon];\n\n return newIcon\n ? `${oldIcon}/(Large|Outline) is deprecated, use ${newIcon}/(Large|Outline) instead`\n : '';\n },\n};\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport const TUI_SVG_OPTIONS = new InjectionToken<TuiSvgOptions>(\n ngDevMode ? 'TUI_SVG_OPTIONS' : '',\n {\n factory: () => ({\n iconsPlace: TUI_DEFAULT_ICONS_PLACE,\n path: tuiIconsPathFactory(TUI_DEFAULT_ICONS_PLACE),\n deprecated: TUI_SVG_DEFAULT_OPTIONS.deprecated,\n srcProcessor: identity,\n contentProcessor: tuiSvgLinearGradientProcessor,\n }),\n },\n);\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport const TUI_SVG_SRC_INTERCEPTORS = new InjectionToken<TuiSvgInterceptorHandler>(\n ngDevMode ? 'TUI_SVG_SRC_INTERCEPTORS' : '',\n);\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport function tuiSvgSrcInterceptors(interceptor: TuiSvgInterceptorHandler): Provider {\n return {\n provide: TUI_SVG_SRC_INTERCEPTORS,\n useValue: interceptor,\n multi: true,\n };\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport const tuiSvgOptionsProvider: (\n options: Partial<Omit<TuiSvgOptions, 'path'>> & {\n path?: TuiSvgOptions['path'] | string;\n },\n) => FactoryProvider = (options) => ({\n provide: TUI_SVG_OPTIONS,\n deps: [[new SkipSelf(), new Optional(), TUI_SVG_OPTIONS]],\n useFactory: (fallback: TuiSvgOptions | null): TuiSvgOptions => ({\n iconsPlace:\n options.iconsPlace ??\n fallback?.iconsPlace ??\n TUI_SVG_DEFAULT_OPTIONS.iconsPlace,\n path: tuiIsString(options.path)\n ? tuiIconsPathFactory(options.path)\n : (options.path ?? fallback?.path ?? TUI_SVG_DEFAULT_OPTIONS.path),\n deprecated:\n options.deprecated ??\n fallback?.deprecated ??\n TUI_SVG_DEFAULT_OPTIONS.deprecated,\n srcProcessor:\n options.srcProcessor ??\n fallback?.srcProcessor ??\n TUI_SVG_DEFAULT_OPTIONS.srcProcessor,\n contentProcessor:\n options.contentProcessor ??\n fallback?.contentProcessor ??\n TUI_SVG_DEFAULT_OPTIONS.contentProcessor,\n }),\n});\n","/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {AsyncPipe, DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n SecurityContext,\n} from '@angular/core';\nimport {DomSanitizer, type SafeHtml} from '@angular/platform-browser';\nimport {WA_WINDOW} from '@ng-web-apis/common';\nimport {TUI_BASE_HREF} from '@taiga-ui/cdk/tokens';\nimport {type TuiSafeHtml} from '@taiga-ui/cdk/types';\nimport {tuiGetDocumentOrShadowRoot, tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsString, tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiStaticRequestService} from '@taiga-ui/legacy/services';\nimport {TUI_SANITIZER} from '@taiga-ui/legacy/tokens';\nimport {TUI_CACHE_BUSTING_PAYLOAD, tuiIsPresumedHTMLString} from '@taiga-ui/legacy/utils';\nimport {\n catchError,\n map,\n type Observable,\n of,\n ReplaySubject,\n startWith,\n switchMap,\n} from 'rxjs';\n\nimport {TuiSvgService} from './svg.service';\nimport {\n TUI_SVG_OPTIONS,\n TUI_SVG_SRC_INTERCEPTORS,\n type TuiSvgInterceptorHandler,\n type TuiSvgOptions,\n} from './svg-options';\n\nconst UNDEFINED_NAMED_ICON = 'Attempted to use undefined named icon';\nconst MISSING_EXTERNAL_ICON = 'External icon is missing on the given URL';\nconst FAILED_EXTERNAL_ICON = 'Failed to load external SVG';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\nexport interface TuiIconError {\n readonly icon: string;\n readonly message: string;\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiIcon}\n * https://taiga-ui.dev/components/icon\n */\n@Component({\n selector: 'tui-svg',\n imports: [AsyncPipe],\n templateUrl: './svg.template.html',\n styleUrls: ['./svg.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSvgComponent {\n private icon: TuiSafeHtml = '';\n private readonly doc = inject(DOCUMENT);\n private readonly win = inject(WA_WINDOW);\n private readonly options = inject(TUI_SVG_OPTIONS);\n private readonly tuiSanitizer = inject(TUI_SANITIZER, {optional: true});\n private readonly svgService = inject(TuiSvgService);\n private readonly staticRequestService = inject(TuiStaticRequestService);\n private readonly sanitizer = inject(DomSanitizer);\n private readonly el = tuiInjectElement();\n private readonly baseHref = inject(TUI_BASE_HREF);\n private readonly src$ = new ReplaySubject<void>(1);\n private readonly srcInterceptors = inject(TUI_SVG_SRC_INTERCEPTORS, {\n optional: true,\n }) as readonly TuiSvgInterceptorHandler[] | null;\n\n protected readonly innerHTML$: Observable<SafeHtml> = this.src$.pipe(\n switchMap(() => {\n if (tuiIsString(this.icon)) {\n return this.isExternal\n ? this.getExternalIcon(this.icon)\n : of(this.getSafeHtml(this.icon));\n }\n\n return of(this.icon);\n }),\n startWith(''),\n );\n\n @Input()\n public set src(src: TuiSafeHtml | null | undefined) {\n const deprecated = this.options.deprecated(String(src));\n\n ngDevMode && console.assert(!deprecated, deprecated);\n\n this.icon = (this.srcInterceptors ?? []).reduce(\n (newSrc, interceptor: TuiSvgInterceptorHandler) =>\n interceptor(newSrc, this.options),\n this.options.srcProcessor(src || ''),\n );\n\n this.src$.next();\n }\n\n public get src(): TuiSafeHtml {\n return this.icon;\n }\n\n public get use(): string {\n if (tuiIsString(this.icon)) {\n return this.icon.includes('.svg#')\n ? this.icon\n : this.resolveName(this.icon, this.options.path);\n }\n\n return '';\n }\n\n public get isInnerHTML(): boolean {\n return (\n !tuiIsString(this.icon) ||\n this.isSrc ||\n this.isExternal ||\n (this.isName && this.isShadowDOM)\n );\n }\n\n protected onError(message: string = MISSING_EXTERNAL_ICON): void {\n const {icon} = this;\n const event = new CustomEvent<TuiIconError>('tui-icon-error', {\n bubbles: true,\n detail: {\n message,\n icon: icon as string,\n },\n });\n\n ngDevMode && console.assert(false, message, icon);\n this.el.dispatchEvent(event);\n }\n\n private get isShadowDOM(): boolean {\n return tuiGetDocumentOrShadowRoot(this.el) !== this.doc;\n }\n\n private get isUse(): boolean {\n return this.use.replace(TUI_CACHE_BUSTING_PAYLOAD, '').includes('.svg#');\n }\n\n private get isExternal(): boolean {\n return (\n this.isUrl ||\n this.isCrossDomain ||\n (!this.isSrc && !this.svgService.getOriginal(String(this.icon)))\n );\n }\n\n private get isUrl(): boolean {\n return (\n tuiIsString(this.icon) &&\n this.icon.replace(TUI_CACHE_BUSTING_PAYLOAD, '').endsWith('.svg')\n );\n }\n\n private get isSrc(): boolean {\n return tuiIsString(this.icon) && tuiIsPresumedHTMLString(this.icon);\n }\n\n private get isName(): boolean {\n return !this.isUrl && !this.isUse && !this.isSrc;\n }\n\n private get isCrossDomain(): boolean {\n const {use, isUse, win} = this;\n\n return (\n isUse && use.startsWith('http') && !!win.origin && !use.startsWith(win.origin)\n );\n }\n\n @tuiPure\n private resolveName(name: string, iconsPath: TuiSvgOptions['path']): string {\n return iconsPath(name, this.baseHref);\n }\n\n private getSafeHtml(src: string): SafeHtml {\n return this.isSrc ? this.sanitize(src) : this.process(src);\n }\n\n private process(src: string): SafeHtml {\n const icon = this.svgService.getOriginal(src);\n\n if (this.isName && !icon && !!src) {\n this.onError(UNDEFINED_NAMED_ICON);\n }\n\n return this.sanitize(icon || '');\n }\n\n private sanitize(src: TuiSafeHtml): TuiSafeHtml {\n src = this.options.contentProcessor(src);\n\n return this.tuiSanitizer && tuiIsString(src)\n ? this.sanitizer.bypassSecurityTrustHtml(\n this.tuiSanitizer.sanitize(SecurityContext.HTML, src) || '',\n )\n : src;\n }\n\n private getExternalIcon(src: string): Observable<SafeHtml> {\n const url = src.includes('.svg') ? src : this.use;\n\n return this.staticRequestService.request(url).pipe(\n catchError(() => {\n this.onError(FAILED_EXTERNAL_ICON);\n\n return of('');\n }),\n map((response) =>\n this.sanitize(response.replace('<svg', '<svg focusable=\"false\"')),\n ),\n );\n }\n}\n","<div\n class=\"t-src\"\n [innerHTML]=\"innerHTML$ | async\"\n></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAGA,SAAS,cAAc,GAAA;AACnB,IAAA,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;AACjD;AAEA,SAAS,+BAA+B,CAAC,GAAW,EAAA;AAChD,IAAA,MAAM,GAAG,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,4BAA4B,CAAC,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,GAAG,KAChE,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,SAAS,EAAE,EAAE,CAAC,CACzD;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;AACnC;AAEA;;;;;;;;;;;;;;;;AAgBG;SACa,6BAA6B,CACzC,GAAgB,EAChB,IAAA,GAAwB,cAAc,EAAE,EAAA;AAExC,IAAA,IAAI,WAAW,CAAC,GAAG,CAAC,EAAE;AAClB,QAAA,MAAM,SAAS,GAAG,+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