@taiga-ui/legacy 4.52.0-canary.932d3ef → 4.52.0-canary.9c7b1f0

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 (364) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +20 -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 -31
  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 -31
  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 -185
  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 -24
  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-copy/index.d.ts +0 -4
  75. package/components/input-copy/input-copy.component.d.ts +0 -33
  76. package/components/input-copy/input-copy.directive.d.ts +0 -11
  77. package/components/input-copy/input-copy.module.d.ts +0 -18
  78. package/components/input-copy/input-copy.options.d.ts +0 -26
  79. package/components/input-date/index.d.ts +0 -3
  80. package/components/input-date/input-date.component.d.ts +0 -62
  81. package/components/input-date/input-date.directive.d.ts +0 -19
  82. package/components/input-date/input-date.module.d.ts +0 -24
  83. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  84. package/components/input-date-multi/index.d.ts +0 -2
  85. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  86. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  87. package/components/input-date-range/index.d.ts +0 -3
  88. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  89. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  90. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  91. package/components/input-date-time/index.d.ts +0 -3
  92. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  93. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  94. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  95. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  96. package/components/input-month/index.d.ts +0 -3
  97. package/components/input-month/input-month.component.d.ts +0 -44
  98. package/components/input-month/input-month.directive.d.ts +0 -19
  99. package/components/input-month/input-month.module.d.ts +0 -19
  100. package/components/input-month-range/index.d.ts +0 -3
  101. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  102. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  103. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  104. package/components/input-number/index.d.ts +0 -4
  105. package/components/input-number/input-number.component.d.ts +0 -63
  106. package/components/input-number/input-number.directive.d.ts +0 -16
  107. package/components/input-number/input-number.module.d.ts +0 -18
  108. package/components/input-number/input-number.options.d.ts +0 -29
  109. package/components/input-password/index.d.ts +0 -4
  110. package/components/input-password/input-password.component.d.ts +0 -33
  111. package/components/input-password/input-password.directive.d.ts +0 -15
  112. package/components/input-password/input-password.module.d.ts +0 -19
  113. package/components/input-password/input-password.options.d.ts +0 -25
  114. package/components/input-phone/index.d.ts +0 -4
  115. package/components/input-phone/input-phone.component.d.ts +0 -49
  116. package/components/input-phone/input-phone.directive.d.ts +0 -13
  117. package/components/input-phone/input-phone.module.d.ts +0 -12
  118. package/components/input-phone/input-phone.options.d.ts +0 -13
  119. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  120. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  121. package/components/input-phone/utils/index.d.ts +0 -2
  122. package/components/input-phone-international/index.d.ts +0 -3
  123. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  124. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  125. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  126. package/components/input-range/index.d.ts +0 -2
  127. package/components/input-range/input-range.component.d.ts +0 -56
  128. package/components/input-range/input-range.module.d.ts +0 -19
  129. package/components/input-slider/index.d.ts +0 -2
  130. package/components/input-slider/input-slider.component.d.ts +0 -42
  131. package/components/input-slider/input-slider.module.d.ts +0 -18
  132. package/components/input-tag/index.d.ts +0 -3
  133. package/components/input-tag/input-tag.component.d.ts +0 -103
  134. package/components/input-tag/input-tag.module.d.ts +0 -22
  135. package/components/input-tag/input-tag.options.d.ts +0 -27
  136. package/components/input-time/index.d.ts +0 -4
  137. package/components/input-time/input-time.component.d.ts +0 -62
  138. package/components/input-time/input-time.directive.d.ts +0 -17
  139. package/components/input-time/input-time.module.d.ts +0 -23
  140. package/components/input-time/input-time.options.d.ts +0 -42
  141. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  142. package/components/input-year/index.d.ts +0 -3
  143. package/components/input-year/input-year.component.d.ts +0 -36
  144. package/components/input-year/input-year.directive.d.ts +0 -14
  145. package/components/input-year/input-year.module.d.ts +0 -18
  146. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  147. package/components/multi-select/index.d.ts +0 -10
  148. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  149. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  150. package/components/multi-select/multi-select.component.d.ts +0 -71
  151. package/components/multi-select/multi-select.directive.d.ts +0 -14
  152. package/components/multi-select/multi-select.module.d.ts +0 -31
  153. package/components/multi-select/multi-select.options.d.ts +0 -14
  154. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  155. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  156. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  157. package/components/multi-select-option/index.d.ts +0 -2
  158. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  159. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  160. package/components/primitive-textfield/index.d.ts +0 -7
  161. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  162. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  163. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  164. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  165. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  166. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  167. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  168. package/components/select/index.d.ts +0 -6
  169. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  170. package/components/select/native-select/native-select.component.d.ts +0 -16
  171. package/components/select/select.component.d.ts +0 -45
  172. package/components/select/select.directive.d.ts +0 -16
  173. package/components/select/select.module.d.ts +0 -24
  174. package/components/select/select.options.d.ts +0 -25
  175. package/components/select-option/index.d.ts +0 -2
  176. package/components/select-option/select-option.component.d.ts +0 -27
  177. package/components/select-option/select-option.module.d.ts +0 -10
  178. package/components/svg/content-processor.d.ts +0 -19
  179. package/components/svg/deprecated-icons.d.ts +0 -5
  180. package/components/svg/index.d.ts +0 -5
  181. package/components/svg/svg-options.d.ts +0 -50
  182. package/components/svg/svg.component.d.ts +0 -50
  183. package/components/svg/svg.service.d.ts +0 -21
  184. package/components/table-bar/index.d.ts +0 -4
  185. package/components/table-bar/table-bar.component.d.ts +0 -17
  186. package/components/table-bar/table-bar.directive.d.ts +0 -11
  187. package/components/table-bar/table-bar.options.d.ts +0 -31
  188. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  189. package/components/table-bar/table-bars.service.d.ts +0 -11
  190. package/components/tag/index.d.ts +0 -3
  191. package/components/tag/tag.component.d.ts +0 -44
  192. package/components/tag/tag.module.d.ts +0 -16
  193. package/components/tag/tag.options.d.ts +0 -27
  194. package/components/textarea/index.d.ts +0 -3
  195. package/components/textarea/textarea.component.d.ts +0 -54
  196. package/components/textarea/textarea.directive.d.ts +0 -12
  197. package/components/textarea/textarea.module.d.ts +0 -21
  198. package/components/tooltip/index.d.ts +0 -2
  199. package/components/tooltip/tooltip.component.d.ts +0 -12
  200. package/components/tooltip/tooltip.module.d.ts +0 -13
  201. package/directives/index.d.ts +0 -5
  202. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  203. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  204. package/directives/textfield-controller/index.d.ts +0 -14
  205. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  206. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  207. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  208. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  209. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  210. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  211. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  212. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  213. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  214. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  215. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  216. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  217. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  218. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  219. package/directives/unfinished-validator/index.d.ts +0 -2
  220. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  221. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  222. package/directives/value-accessor/index.d.ts +0 -3
  223. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  224. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  225. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  226. package/directives/wrapper/README.md +0 -19
  227. package/directives/wrapper/index.d.ts +0 -2
  228. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  229. package/directives/wrapper/wrapper.module.d.ts +0 -10
  230. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  231. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  232. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  233. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  234. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  235. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  236. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  237. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  238. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  239. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  240. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  241. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  242. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  243. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  244. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  245. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  246. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  247. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  248. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  249. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  250. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  251. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  252. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  253. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  254. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  255. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  256. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  257. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  258. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  259. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  260. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  261. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  262. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  263. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  264. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  265. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  266. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  267. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  268. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  269. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  270. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  271. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  272. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  273. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  274. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  275. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  276. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  277. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  278. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  279. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  280. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  281. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  282. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
  283. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  284. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  285. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  286. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -147
  287. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  288. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  289. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  290. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  291. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  292. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  293. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  294. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  295. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  296. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  297. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  298. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  299. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  300. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  301. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  302. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  303. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  304. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  305. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  306. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  307. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  308. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  309. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  310. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  311. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  312. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  313. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  314. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  315. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  316. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  317. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  318. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  319. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  320. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  321. package/pipes/format-phone/index.d.ts +0 -1
  322. package/pipes/index.d.ts +0 -3
  323. package/pipes/iso-to-country-code/index.d.ts +0 -1
  324. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  325. package/pipes/to-country-code/index.d.ts +0 -1
  326. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  327. package/services/index.d.ts +0 -1
  328. package/services/static-request.service.d.ts +0 -11
  329. package/styles/mixins/mixins.less +0 -239
  330. package/styles/mixins/mixins.scss +0 -224
  331. package/styles/mixins/textfield.less +0 -324
  332. package/styles/mixins/textfield.scss +0 -308
  333. package/styles/taiga-ui-local.less +0 -3
  334. package/styles/taiga-ui-local.scss +0 -3
  335. package/tokens/countries-masks.d.ts +0 -9
  336. package/tokens/focusable-item-accessor.d.ts +0 -25
  337. package/tokens/fonts-ready.d.ts +0 -6
  338. package/tokens/icons.d.ts +0 -6
  339. package/tokens/index.d.ts +0 -14
  340. package/tokens/is-apple.d.ts +0 -6
  341. package/tokens/is-chromium.d.ts +0 -6
  342. package/tokens/is-firefox.d.ts +0 -6
  343. package/tokens/is-stackblitz.d.ts +0 -5
  344. package/tokens/month-formatter.d.ts +0 -10
  345. package/tokens/sanitizer.d.ts +0 -6
  346. package/tokens/textfield-appearance.d.ts +0 -7
  347. package/tokens/textfield-host.d.ts +0 -23
  348. package/tokens/touch-supported.d.ts +0 -5
  349. package/tokens/value-accessor.d.ts +0 -7
  350. package/utils/capitalize-first-letter.d.ts +0 -4
  351. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  352. package/utils/format-phone.d.ts +0 -30
  353. package/utils/get-border.d.ts +0 -5
  354. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  355. package/utils/get-safe-area-size.d.ts +0 -7
  356. package/utils/icons-path-factory.d.ts +0 -13
  357. package/utils/index.d.ts +0 -14
  358. package/utils/is-apple.d.ts +0 -5
  359. package/utils/is-presumed-html-string.d.ts +0 -4
  360. package/utils/iso-to-country-code.d.ts +0 -13
  361. package/utils/not-kz-region.d.ts +0 -20
  362. package/utils/process-icon.d.ts +0 -4
  363. package/utils/specific-dropdown-controllers.d.ts +0 -4
  364. 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,S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A,GAAA,EAAA,KAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC5D5B,8EAIA,EAAA,MAAA,EAAA,CAAA,yUAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EDmDc,SAAS,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;AA8HX,UAAA,CAAA;IADP;AAGA,CAAA,EAAA,eAAA,CAAA,SAAA,EAAA,aAAA,EAAA,IAAA,CAAA;4FA3HQ,eAAe,EAAA,UAAA,EAAA,CAAA;kBAP3B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,SAAS,WACV,CAAC,SAAS,CAAC,EAGH,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8EAAA,EAAA,MAAA,EAAA,CAAA,yUAAA,CAAA,EAAA;8BAgCpC,GAAG,EAAA,CAAA;sBADb;gBA4FO,WAAW,EAAA,EAAA,EAAA,EAAA,CAAA;;AErLvB;;AAEG;;;;"}
@@ -1,147 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ChangeDetectionStrategy, Component, InjectionToken, Injectable, Directive } from '@angular/core';
3
- import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
4
- import { TuiPopoverService, tuiAsPopover } from '@taiga-ui/cdk/services';
5
- import { AsyncPipe } from '@angular/common';
6
- import { tuiSlideInTop, tuiParentAnimation } from '@taiga-ui/core/animations';
7
- import { TuiButton } from '@taiga-ui/core/components/button';
8
- import { TUI_COMMON_ICONS, TUI_CLOSE_WORD, TUI_ANIMATIONS_SPEED } from '@taiga-ui/core/tokens';
9
- import { tuiToAnimationOptions } from '@taiga-ui/core/utils/miscellaneous';
10
- import { injectContext, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
11
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
12
- import { BehaviorSubject } from 'rxjs';
13
-
14
- /**
15
- * @deprecated drop in v5.0 use {@link TuiActionBar}
16
- * https://taiga-ui.dev/components/actions-bar
17
- */
18
- class TuiTableBarComponent {
19
- constructor() {
20
- this.icons = inject(TUI_COMMON_ICONS);
21
- this.closeWord$ = inject(TUI_CLOSE_WORD);
22
- this.context = injectContext();
23
- this.animation = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));
24
- }
25
- getTheme(appearance) {
26
- return appearance === 'onDark' ? 'dark' : null;
27
- }
28
- close() {
29
- this.context.$implicit.complete();
30
- }
31
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiTableBarComponent, isStandalone: true, selector: "tui-table-bar", host: { properties: { "@tuiSlideInTop": "animation", "attr.data-appearance": "context.mode" } }, ngImport: i0, template: "<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n @if (context.hasCloseButton) {\n <button\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n }\n </div>\n</div>\n", styles: [":host{display:block;inline-size:100%;box-shadow:var(--tui-shadow-small);flex:0 0 100%}:host[data-appearance=onLight]{background:var(--tui-background-base);color:var(--tui-text-primary)}:host[data-appearance=onDark]{background:var(--tui-background-accent-opposite-pressed);color:var(--tui-background-base)}.t-wrapper{display:flex;inline-size:100%}.t-container{position:relative;margin:0 auto}@media screen and (min-width: 80em){.t-container.t-container_adaptive{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container.t-container_adaptive{inline-size:51.5rem}}@media screen and (max-width: 47.9625em){.t-container.t-container_adaptive{inline-size:100%;padding:0 1rem;box-sizing:border-box}}@media screen and (min-width: 80em){.t-container{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container{inline-size:51.5rem;padding:0 3rem}}.t-inner{display:flex;align-items:center;block-size:4.5rem;inline-size:100%;overflow:hidden}:host-context(tui-root._mobile) .t-inner{block-size:5.75rem}.t-close-button{margin-inline-start:1.5rem}.t-content{inline-size:100%;flex:1 1 0}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], animations: [tuiSlideInTop, tuiParentAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
- }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarComponent, decorators: [{
35
- type: Component,
36
- args: [{ selector: 'tui-table-bar', imports: [AsyncPipe, PolymorpheusOutlet, TuiButton], changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiSlideInTop, tuiParentAnimation], host: {
37
- '[@tuiSlideInTop]': 'animation',
38
- '[attr.data-appearance]': 'context.mode',
39
- }, template: "<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n @if (context.hasCloseButton) {\n <button\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n }\n </div>\n</div>\n", styles: [":host{display:block;inline-size:100%;box-shadow:var(--tui-shadow-small);flex:0 0 100%}:host[data-appearance=onLight]{background:var(--tui-background-base);color:var(--tui-text-primary)}:host[data-appearance=onDark]{background:var(--tui-background-accent-opposite-pressed);color:var(--tui-background-base)}.t-wrapper{display:flex;inline-size:100%}.t-container{position:relative;margin:0 auto}@media screen and (min-width: 80em){.t-container.t-container_adaptive{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container.t-container_adaptive{inline-size:51.5rem}}@media screen and (max-width: 47.9625em){.t-container.t-container_adaptive{inline-size:100%;padding:0 1rem;box-sizing:border-box}}@media screen and (min-width: 80em){.t-container{inline-size:69rem}}@media screen and (max-width: 79.9625em){.t-container{inline-size:51.5rem;padding:0 3rem}}.t-inner{display:flex;align-items:center;block-size:4.5rem;inline-size:100%;overflow:hidden}:host-context(tui-root._mobile) .t-inner{block-size:5.75rem}.t-close-button{margin-inline-start:1.5rem}.t-content{inline-size:100%;flex:1 1 0}\n"] }]
40
- }] });
41
-
42
- /**
43
- * @deprecated drop in v5.0 use {@link TuiActionBar}
44
- * https://taiga-ui.dev/components/actions-bar
45
- */
46
- const TUI_TABLE_BARS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BARS' : '', {
47
- factory: () => new BehaviorSubject([]),
48
- });
49
- /**
50
- * @deprecated drop in v5.0 use {@link TuiActionBar}
51
- * https://taiga-ui.dev/components/actions-bar
52
- */
53
- const TUI_TABLE_BAR_DEFAULT_OPTIONS = {
54
- adaptive: true,
55
- hasCloseButton: true,
56
- mode: 'onDark',
57
- };
58
- /**
59
- * @deprecated drop in v5.0 use {@link TuiActionBar}
60
- * https://taiga-ui.dev/components/actions-bar
61
- */
62
- const TUI_TABLE_BAR_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BAR_OPTIONS' : '', {
63
- factory: () => TUI_TABLE_BAR_DEFAULT_OPTIONS,
64
- });
65
- /**
66
- * @deprecated drop in v5.0 use {@link TuiActionBar}
67
- * https://taiga-ui.dev/components/actions-bar
68
- */
69
- function tuiTableBarOptionsProvider(options) {
70
- return tuiProvideOptions(TUI_TABLE_BAR_OPTIONS, options, TUI_TABLE_BAR_DEFAULT_OPTIONS);
71
- }
72
-
73
- /**
74
- * @deprecated drop in v5.0 use {@link TuiActionBar}
75
- * https://taiga-ui.dev/components/actions-bar
76
- */
77
- class TuiTableBarsService extends TuiPopoverService {
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
79
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarsService, providedIn: 'root', useFactory: () => new TuiTableBarsService(TUI_TABLE_BARS, TuiTableBarComponent, inject(TUI_TABLE_BAR_OPTIONS)) }); }
80
- }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarsService, decorators: [{
82
- type: Injectable,
83
- args: [{
84
- providedIn: 'root',
85
- useFactory: () => new TuiTableBarsService(TUI_TABLE_BARS, TuiTableBarComponent, inject(TUI_TABLE_BAR_OPTIONS)),
86
- }]
87
- }] });
88
-
89
- /**
90
- * @deprecated drop in v5.0 use {@link TuiActionBar}
91
- * https://taiga-ui.dev/components/actions-bar
92
- */
93
- class TuiTableBarDirective extends TuiPopoverDirective {
94
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
95
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTableBarDirective, isStandalone: true, selector: "ng-template[tuiTableBar]", inputs: { open: ["tuiTableBar", "open"], options: ["tuiTableBarOptions", "options"] }, outputs: { openChange: "tuiTableBarChange" }, providers: [tuiAsPopover(TuiTableBarsService)], usesInheritance: true, ngImport: i0 }); }
96
- }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarDirective, decorators: [{
98
- type: Directive,
99
- args: [{
100
- standalone: true,
101
- selector: 'ng-template[tuiTableBar]',
102
- inputs: ['open: tuiTableBar', 'options: tuiTableBarOptions'],
103
- outputs: ['openChange: tuiTableBarChange'],
104
- providers: [tuiAsPopover(TuiTableBarsService)],
105
- }]
106
- }] });
107
-
108
- /**
109
- * @deprecated drop in v5.0 use {@link TuiActionBar}
110
- * https://taiga-ui.dev/components/actions-bar
111
- */
112
- class TuiTableBarsHostComponent {
113
- constructor() {
114
- this.bars$ = inject(TUI_TABLE_BARS);
115
- }
116
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarsHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
117
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiTableBarsHostComponent, isStandalone: true, selector: "tui-table-bars-host", ngImport: i0, template: `
118
- @for (item of bars$ | async; track item) {
119
- <div
120
- class="t-wrapper"
121
- @tuiParentAnimation
122
- >
123
- <ng-container *polymorpheusOutlet="item.component; context: item" />
124
- </div>
125
- }
126
- `, isInline: true, styles: [".t-wrapper{position:fixed;top:0;left:0;bottom:0;right:0;top:unset}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiParentAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
127
- }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTableBarsHostComponent, decorators: [{
129
- type: Component,
130
- args: [{ selector: 'tui-table-bars-host', imports: [AsyncPipe, PolymorpheusOutlet], template: `
131
- @for (item of bars$ | async; track item) {
132
- <div
133
- class="t-wrapper"
134
- @tuiParentAnimation
135
- >
136
- <ng-container *polymorpheusOutlet="item.component; context: item" />
137
- </div>
138
- }
139
- `, changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiParentAnimation], styles: [".t-wrapper{position:fixed;top:0;left:0;bottom:0;right:0;top:unset}\n"] }]
140
- }] });
141
-
142
- /**
143
- * Generated bundle index. Do not edit.
144
- */
145
-
146
- export { TUI_TABLE_BARS, TUI_TABLE_BAR_DEFAULT_OPTIONS, TUI_TABLE_BAR_OPTIONS, TuiTableBarDirective, TuiTableBarsHostComponent, TuiTableBarsService, tuiTableBarOptionsProvider };
147
- //# sourceMappingURL=taiga-ui-legacy-components-table-bar.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-table-bar.mjs","sources":["../../../projects/legacy/components/table-bar/table-bar.component.ts","../../../projects/legacy/components/table-bar/table-bar.template.html","../../../projects/legacy/components/table-bar/table-bar.options.ts","../../../projects/legacy/components/table-bar/table-bars.service.ts","../../../projects/legacy/components/table-bar/table-bar.directive.ts","../../../projects/legacy/components/table-bar/table-bars-host.component.ts","../../../projects/legacy/components/table-bar/taiga-ui-legacy-components-table-bar.ts"],"sourcesContent":["import {AsyncPipe} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {tuiParentAnimation, tuiSlideInTop} from '@taiga-ui/core/animations';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {\n TUI_ANIMATIONS_SPEED,\n TUI_CLOSE_WORD,\n TUI_COMMON_ICONS,\n} from '@taiga-ui/core/tokens';\nimport {tuiToAnimationOptions} from '@taiga-ui/core/utils/miscellaneous';\nimport {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {type TuiTableBarOptions} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Component({\n selector: 'tui-table-bar',\n imports: [AsyncPipe, PolymorpheusOutlet, TuiButton],\n templateUrl: './table-bar.template.html',\n styleUrls: ['./table-bar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideInTop, tuiParentAnimation],\n host: {\n '[@tuiSlideInTop]': 'animation',\n '[attr.data-appearance]': 'context.mode',\n },\n})\nexport class TuiTableBarComponent {\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected readonly closeWord$ = inject(TUI_CLOSE_WORD);\n protected readonly context = injectContext<TuiPopover<TuiTableBarOptions, void>>();\n\n protected readonly animation = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));\n\n protected getTheme(appearance: string): string | null {\n return appearance === 'onDark' ? 'dark' : null;\n }\n\n protected close(): void {\n this.context.$implicit.complete();\n }\n}\n","<div\n automation-id=\"tui-table-bar__bar\"\n class=\"t-container\"\n [attr.tuiTheme]=\"getTheme(context.mode || 'onDark')\"\n [class.t-container_adaptive]=\"context.adaptive\"\n>\n <div class=\"t-inner\">\n <div class=\"t-content\">\n <ng-container *polymorpheusOutlet=\"context.content as text; context: context\">\n {{ text }}\n </ng-container>\n </div>\n\n @if (context.hasCloseButton) {\n <button\n appearance=\"icon\"\n automation-id=\"tui-table-bar__close-button\"\n size=\"xs\"\n tuiIconButton\n type=\"button\"\n class=\"t-close-button\"\n [iconStart]=\"icons.close\"\n (click)=\"close()\"\n >\n {{ closeWord$ | async }}\n </button>\n }\n </div>\n</div>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiPopover} from '@taiga-ui/cdk/services';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {BehaviorSubject} from 'rxjs';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport interface TuiTableBarOptions {\n readonly adaptive?: boolean;\n readonly hasCloseButton?: boolean;\n readonly mode?: 'onDark' | 'onLight';\n}\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BARS = new InjectionToken(ngDevMode ? 'TUI_TABLE_BARS' : '', {\n factory: () => new BehaviorSubject<ReadonlyArray<TuiPopover<any, any>>>([]),\n});\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BAR_DEFAULT_OPTIONS: TuiTableBarOptions = {\n adaptive: true,\n hasCloseButton: true,\n mode: 'onDark',\n};\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport const TUI_TABLE_BAR_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_TABLE_BAR_OPTIONS' : '',\n {\n factory: () => TUI_TABLE_BAR_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\nexport function tuiTableBarOptionsProvider(\n options: Partial<TuiTableBarOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_TABLE_BAR_OPTIONS,\n options,\n TUI_TABLE_BAR_DEFAULT_OPTIONS,\n );\n}\n","import {inject, Injectable} from '@angular/core';\nimport {TuiPopoverService} from '@taiga-ui/cdk/services';\n\nimport {TuiTableBarComponent} from './table-bar.component';\nimport {\n TUI_TABLE_BAR_OPTIONS,\n TUI_TABLE_BARS,\n type TuiTableBarOptions,\n} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Injectable({\n providedIn: 'root',\n useFactory: () =>\n new TuiTableBarsService(\n TUI_TABLE_BARS,\n TuiTableBarComponent,\n inject(TUI_TABLE_BAR_OPTIONS),\n ),\n})\nexport class TuiTableBarsService extends TuiPopoverService<TuiTableBarOptions> {}\n","import {Directive} from '@angular/core';\nimport {TuiPopoverDirective} from '@taiga-ui/cdk/directives/popover';\nimport {tuiAsPopover} from '@taiga-ui/cdk/services';\n\nimport {type TuiTableBarOptions} from './table-bar.options';\nimport {TuiTableBarsService} from './table-bars.service';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiTableBar]',\n inputs: ['open: tuiTableBar', 'options: tuiTableBarOptions'],\n outputs: ['openChange: tuiTableBarChange'],\n providers: [tuiAsPopover(TuiTableBarsService)],\n})\nexport class TuiTableBarDirective extends TuiPopoverDirective<TuiTableBarOptions> {}\n","import {AsyncPipe} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {tuiParentAnimation} from '@taiga-ui/core/animations';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TUI_TABLE_BARS} from './table-bar.options';\n\n/**\n * @deprecated drop in v5.0 use {@link TuiActionBar}\n * https://taiga-ui.dev/components/actions-bar\n */\n@Component({\n selector: 'tui-table-bars-host',\n imports: [AsyncPipe, PolymorpheusOutlet],\n template: `\n @for (item of bars$ | async; track item) {\n <div\n class=\"t-wrapper\"\n @tuiParentAnimation\n >\n <ng-container *polymorpheusOutlet=\"item.component; context: item\" />\n </div>\n }\n `,\n styleUrls: ['./table-bars-host.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiParentAnimation],\n})\nexport class TuiTableBarsHostComponent {\n protected bars$ = inject(TUI_TABLE_BARS);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\n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