@taiga-ui/legacy 4.51.0 → 4.52.0-canary.05c3268

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 (539) hide show
  1. package/classes/abstract-textfield-host.d.ts +1 -1
  2. package/classes/controller.d.ts +1 -1
  3. package/classes/multiple-control.d.ts +1 -1
  4. package/classes/nullable-control.d.ts +1 -1
  5. package/components/combo-box/combo-box.module.d.ts +1 -1
  6. package/components/dialog/dialog.component.d.ts +20 -0
  7. package/components/dialog/dialog.directive.d.ts +7 -0
  8. package/components/dialog/dialog.factory.d.ts +16 -0
  9. package/components/dialog/dialog.interfaces.d.ts +31 -0
  10. package/components/dialog/dialog.service.d.ts +7 -0
  11. package/components/dialog/dialog.tokens.d.ts +8 -0
  12. package/components/dialog/index.d.ts +6 -0
  13. package/components/index.d.ts +2 -15
  14. package/components/input/input.module.d.ts +1 -1
  15. package/components/input-date-range/input-date-range.module.d.ts +1 -1
  16. package/components/input-date-time/input-date-time.module.d.ts +1 -1
  17. package/components/input-month-range/input-month-range.module.d.ts +1 -1
  18. package/components/input-range/input-range.component.d.ts +1 -1
  19. package/components/input-tag/input-tag.module.d.ts +1 -1
  20. package/components/multi-select/multi-select.module.d.ts +1 -1
  21. package/components/multi-select/native-multi-select/native-multi-select.d.ts +1 -1
  22. package/components/pdf-viewer/index.d.ts +4 -0
  23. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  24. package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
  25. package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
  26. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  27. package/components/select/select.module.d.ts +1 -1
  28. package/fesm2022/taiga-ui-legacy-classes.mjs +23 -24
  29. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +6 -6
  31. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +26 -28
  33. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
  35. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  36. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +27 -27
  37. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +28 -28
  39. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +14 -14
  41. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +23 -23
  43. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +26 -26
  45. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +20 -21
  47. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +24 -24
  49. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-components-input.mjs +17 -18
  51. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +8 -8
  53. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +50 -50
  55. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +83 -0
  57. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  58. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +30 -30
  59. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +9 -9
  61. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-legacy-components-select.mjs +36 -37
  63. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-legacy-components-tag.mjs +14 -15
  65. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +24 -24
  67. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
  69. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-legacy-components.mjs +2 -15
  71. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
  73. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +35 -35
  75. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +4 -4
  77. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
  79. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +9 -9
  81. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  83. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  86. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  87. package/index.d.ts +0 -2
  88. package/package.json +10 -180
  89. package/styles/mixins/textfield.less +3 -1
  90. package/utils/icons-path-factory.d.ts +1 -1
  91. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  92. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  93. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  94. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  95. package/components/color-selector/color-selector.component.d.ts +0 -47
  96. package/components/color-selector/color-selector.module.d.ts +0 -24
  97. package/components/color-selector/color-selector.options.d.ts +0 -25
  98. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  99. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  100. package/components/color-selector/index.d.ts +0 -16
  101. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  102. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  103. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  104. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  105. package/components/color-selector/palette/palette.component.d.ts +0 -10
  106. package/components/color-selector/palette/palette.module.d.ts +0 -13
  107. package/components/color-selector/services/picker.service.d.ts +0 -15
  108. package/components/input-color/index.d.ts +0 -2
  109. package/components/input-color/input-color.component.d.ts +0 -30
  110. package/components/input-color/input-color.module.d.ts +0 -17
  111. package/components/input-copy/index.d.ts +0 -4
  112. package/components/input-copy/input-copy.component.d.ts +0 -33
  113. package/components/input-copy/input-copy.directive.d.ts +0 -11
  114. package/components/input-copy/input-copy.module.d.ts +0 -18
  115. package/components/input-copy/input-copy.options.d.ts +0 -26
  116. package/components/input-date/index.d.ts +0 -3
  117. package/components/input-date/input-date.component.d.ts +0 -62
  118. package/components/input-date/input-date.directive.d.ts +0 -19
  119. package/components/input-date/input-date.module.d.ts +0 -24
  120. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  121. package/components/input-date-multi/index.d.ts +0 -2
  122. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  123. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  124. package/components/input-month/index.d.ts +0 -3
  125. package/components/input-month/input-month.component.d.ts +0 -44
  126. package/components/input-month/input-month.directive.d.ts +0 -19
  127. package/components/input-month/input-month.module.d.ts +0 -19
  128. package/components/input-password/index.d.ts +0 -4
  129. package/components/input-password/input-password.component.d.ts +0 -33
  130. package/components/input-password/input-password.directive.d.ts +0 -15
  131. package/components/input-password/input-password.module.d.ts +0 -19
  132. package/components/input-password/input-password.options.d.ts +0 -25
  133. package/components/input-phone/index.d.ts +0 -4
  134. package/components/input-phone/input-phone.component.d.ts +0 -49
  135. package/components/input-phone/input-phone.directive.d.ts +0 -13
  136. package/components/input-phone/input-phone.module.d.ts +0 -12
  137. package/components/input-phone/input-phone.options.d.ts +0 -13
  138. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  139. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  140. package/components/input-phone/utils/index.d.ts +0 -2
  141. package/components/input-phone-international/index.d.ts +0 -3
  142. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  143. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  144. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  145. package/components/input-time/index.d.ts +0 -4
  146. package/components/input-time/input-time.component.d.ts +0 -62
  147. package/components/input-time/input-time.directive.d.ts +0 -17
  148. package/components/input-time/input-time.module.d.ts +0 -23
  149. package/components/input-time/input-time.options.d.ts +0 -42
  150. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  151. package/components/input-year/index.d.ts +0 -3
  152. package/components/input-year/input-year.component.d.ts +0 -36
  153. package/components/input-year/input-year.directive.d.ts +0 -14
  154. package/components/input-year/input-year.module.d.ts +0 -18
  155. package/components/island/index.d.ts +0 -1
  156. package/components/island/island.directive.d.ts +0 -20
  157. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  158. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  159. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  160. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  161. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  162. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  163. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  164. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  165. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  166. package/components/sheet/index.d.ts +0 -14
  167. package/components/sheet/sheet-options.d.ts +0 -27
  168. package/components/sheet/sheet-tokens.d.ts +0 -18
  169. package/components/sheet/sheet.d.ts +0 -21
  170. package/components/sheet/sheet.directive.d.ts +0 -17
  171. package/components/sheet/sheet.module.d.ts +0 -24
  172. package/components/sheet/sheet.service.d.ts +0 -17
  173. package/components/svg/content-processor.d.ts +0 -19
  174. package/components/svg/deprecated-icons.d.ts +0 -5
  175. package/components/svg/index.d.ts +0 -5
  176. package/components/svg/svg-options.d.ts +0 -50
  177. package/components/svg/svg.component.d.ts +0 -50
  178. package/components/svg/svg.service.d.ts +0 -21
  179. package/components/table-bar/index.d.ts +0 -4
  180. package/components/table-bar/table-bar.component.d.ts +0 -17
  181. package/components/table-bar/table-bar.directive.d.ts +0 -11
  182. package/components/table-bar/table-bar.options.d.ts +0 -31
  183. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  184. package/components/table-bar/table-bars.service.d.ts +0 -11
  185. package/esm2022/classes/abstract-native-select.mjs +0 -49
  186. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  187. package/esm2022/classes/control.mjs +0 -181
  188. package/esm2022/classes/controller.mjs +0 -18
  189. package/esm2022/classes/index.mjs +0 -10
  190. package/esm2022/classes/interactive.mjs +0 -82
  191. package/esm2022/classes/multiple-control.mjs +0 -21
  192. package/esm2022/classes/named-day.mjs +0 -14
  193. package/esm2022/classes/nullable-control.mjs +0 -18
  194. package/esm2022/classes/stringifiable-item.mjs +0 -14
  195. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  196. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  197. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  198. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  199. package/esm2022/components/arrow/index.mjs +0 -4
  200. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  201. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  202. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  203. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  204. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  205. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  206. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  207. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  208. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  209. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  210. package/esm2022/components/color-selector/index.mjs +0 -17
  211. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  212. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  213. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  214. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  215. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  216. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  217. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  218. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  219. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  220. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  221. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  222. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  223. package/esm2022/components/combo-box/index.mjs +0 -5
  224. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  225. package/esm2022/components/index.mjs +0 -34
  226. package/esm2022/components/input/index.mjs +0 -4
  227. package/esm2022/components/input/input.component.mjs +0 -97
  228. package/esm2022/components/input/input.directive.mjs +0 -25
  229. package/esm2022/components/input/input.module.mjs +0 -42
  230. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  231. package/esm2022/components/input-color/index.mjs +0 -3
  232. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  233. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  234. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  235. package/esm2022/components/input-copy/index.mjs +0 -5
  236. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  237. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  238. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  239. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  240. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  241. package/esm2022/components/input-date/index.mjs +0 -4
  242. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  243. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  244. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  245. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  246. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  247. package/esm2022/components/input-date-multi/index.mjs +0 -3
  248. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  249. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  250. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  251. package/esm2022/components/input-date-range/index.mjs +0 -4
  252. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  253. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  254. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  255. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  256. package/esm2022/components/input-date-time/index.mjs +0 -4
  257. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  258. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  259. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  260. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  261. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  262. package/esm2022/components/input-month/index.mjs +0 -4
  263. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  264. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  265. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  266. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  267. package/esm2022/components/input-month-range/index.mjs +0 -4
  268. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  269. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  270. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  271. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  272. package/esm2022/components/input-number/index.mjs +0 -5
  273. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  274. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  275. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  276. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  277. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  278. package/esm2022/components/input-password/index.mjs +0 -5
  279. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  280. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  281. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  282. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  283. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  284. package/esm2022/components/input-phone/index.mjs +0 -5
  285. package/esm2022/components/input-phone/input-phone.component.mjs +0 -216
  286. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -34
  287. package/esm2022/components/input-phone/input-phone.module.mjs +0 -44
  288. package/esm2022/components/input-phone/input-phone.options.mjs +0 -18
  289. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  290. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  291. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  292. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  293. package/esm2022/components/input-phone-international/index.mjs +0 -4
  294. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  295. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  296. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  297. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  298. package/esm2022/components/input-range/index.mjs +0 -3
  299. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  300. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  301. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  302. package/esm2022/components/input-slider/index.mjs +0 -3
  303. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  304. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  305. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  306. package/esm2022/components/input-tag/index.mjs +0 -4
  307. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  308. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  309. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  310. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  311. package/esm2022/components/input-time/index.mjs +0 -5
  312. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  313. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  314. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  315. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  316. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  317. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  318. package/esm2022/components/input-year/index.mjs +0 -4
  319. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  320. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  321. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  322. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  323. package/esm2022/components/island/index.mjs +0 -2
  324. package/esm2022/components/island/island.directive.mjs +0 -62
  325. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  326. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  327. package/esm2022/components/multi-select/index.mjs +0 -11
  328. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  329. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  330. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  331. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  332. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  333. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  334. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  335. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  336. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  337. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  338. package/esm2022/components/multi-select-option/index.mjs +0 -3
  339. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  340. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  341. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  342. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  343. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  344. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  345. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  346. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  347. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  348. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  349. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  350. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  351. package/esm2022/components/select/index.mjs +0 -7
  352. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  353. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  354. package/esm2022/components/select/select.component.mjs +0 -119
  355. package/esm2022/components/select/select.directive.mjs +0 -34
  356. package/esm2022/components/select/select.module.mjs +0 -87
  357. package/esm2022/components/select/select.options.mjs +0 -24
  358. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  359. package/esm2022/components/select-option/index.mjs +0 -3
  360. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  361. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  362. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  363. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  364. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  365. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  366. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  367. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  368. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  369. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  370. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  371. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  372. package/esm2022/components/sheet/index.mjs +0 -14
  373. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  374. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  375. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  376. package/esm2022/components/sheet/sheet.mjs +0 -2
  377. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  378. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  379. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  380. package/esm2022/components/svg/content-processor.mjs +0 -41
  381. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  382. package/esm2022/components/svg/index.mjs +0 -6
  383. package/esm2022/components/svg/svg-options.mjs +0 -83
  384. package/esm2022/components/svg/svg.component.mjs +0 -150
  385. package/esm2022/components/svg/svg.service.mjs +0 -64
  386. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  387. package/esm2022/components/table-bar/index.mjs +0 -5
  388. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  389. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  390. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  391. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  392. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  393. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  394. package/esm2022/components/tag/index.mjs +0 -4
  395. package/esm2022/components/tag/tag.component.mjs +0 -158
  396. package/esm2022/components/tag/tag.module.mjs +0 -42
  397. package/esm2022/components/tag/tag.options.mjs +0 -26
  398. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  399. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  400. package/esm2022/components/textarea/index.mjs +0 -4
  401. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  402. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  403. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  404. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  405. package/esm2022/components/tooltip/index.mjs +0 -3
  406. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  407. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  408. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  409. package/esm2022/directives/index.mjs +0 -6
  410. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  411. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  412. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  413. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  414. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  415. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  416. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  417. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  418. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  419. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  420. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  421. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  422. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  423. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  424. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  425. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  426. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  427. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  428. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  429. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  430. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  431. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  432. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  433. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  434. package/esm2022/directives/value-accessor/index.mjs +0 -4
  435. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  436. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  437. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  438. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  439. package/esm2022/directives/wrapper/index.mjs +0 -3
  440. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  441. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  442. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  443. package/esm2022/index.mjs +0 -8
  444. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  445. package/esm2022/pipes/format-phone/index.mjs +0 -2
  446. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  447. package/esm2022/pipes/index.mjs +0 -4
  448. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  449. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  450. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  451. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  452. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  453. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  454. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  455. package/esm2022/services/index.mjs +0 -2
  456. package/esm2022/services/static-request.service.mjs +0 -36
  457. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  458. package/esm2022/taiga-ui-legacy.mjs +0 -5
  459. package/esm2022/tokens/countries-masks.mjs +0 -257
  460. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  461. package/esm2022/tokens/fonts-ready.mjs +0 -10
  462. package/esm2022/tokens/icons.mjs +0 -9
  463. package/esm2022/tokens/index.mjs +0 -15
  464. package/esm2022/tokens/is-apple.mjs +0 -11
  465. package/esm2022/tokens/is-chromium.mjs +0 -10
  466. package/esm2022/tokens/is-firefox.mjs +0 -11
  467. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  468. package/esm2022/tokens/month-formatter.mjs +0 -18
  469. package/esm2022/tokens/sanitizer.mjs +0 -7
  470. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  471. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  472. package/esm2022/tokens/textfield-host.mjs +0 -14
  473. package/esm2022/tokens/touch-supported.mjs +0 -9
  474. package/esm2022/tokens/value-accessor.mjs +0 -7
  475. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  476. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  477. package/esm2022/utils/format-phone.mjs +0 -60
  478. package/esm2022/utils/get-border.mjs +0 -23
  479. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  480. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  481. package/esm2022/utils/icons-path-factory.mjs +0 -22
  482. package/esm2022/utils/index.mjs +0 -14
  483. package/esm2022/utils/is-apple.mjs +0 -6
  484. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  485. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  486. package/esm2022/utils/not-kz-region.mjs +0 -24
  487. package/esm2022/utils/process-icon.mjs +0 -34
  488. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  489. package/esm2022/utils/status.mjs +0 -2
  490. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  491. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  492. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  493. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  494. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  495. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  496. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  497. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  498. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  499. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  500. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  501. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  502. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  503. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  504. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  505. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  506. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  507. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  508. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  509. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
  510. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  511. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  512. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  513. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  514. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  515. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  516. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  517. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -389
  518. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  519. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  520. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  521. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -60
  522. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  523. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  524. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  525. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  526. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  527. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  528. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  529. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  530. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  531. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  532. package/pipes/format-phone/index.d.ts +0 -1
  533. package/pipes/index.d.ts +0 -3
  534. package/pipes/iso-to-country-code/index.d.ts +0 -1
  535. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  536. package/pipes/to-country-code/index.d.ts +0 -1
  537. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  538. package/services/index.d.ts +0 -1
  539. package/services/static-request.service.d.ts +0 -11
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-color-selector.mjs","sources":["../../../projects/legacy/components/color-selector/color-edit/color-edit.component.ts","../../../projects/legacy/components/color-selector/color-edit/color-edit.template.html","../../../projects/legacy/components/color-selector/color-edit/color-edit.module.ts","../../../projects/legacy/components/color-selector/services/picker.service.ts","../../../projects/legacy/components/color-selector/flat-picker/flat-picker.component.ts","../../../projects/legacy/components/color-selector/flat-picker/flat-picker.template.html","../../../projects/legacy/components/color-selector/linear-picker/linear-picker.component.ts","../../../projects/legacy/components/color-selector/linear-picker/linear-picker.template.html","../../../projects/legacy/components/color-selector/color-picker/color-picker.component.ts","../../../projects/legacy/components/color-selector/color-picker/color-picker.template.html","../../../projects/legacy/components/color-selector/flat-picker/flat-picker.module.ts","../../../projects/legacy/components/color-selector/linear-picker/linear-picker.module.ts","../../../projects/legacy/components/color-selector/color-picker/color-picker.module.ts","../../../projects/legacy/components/color-selector/color-selector.options.ts","../../../projects/legacy/components/color-selector/linear-multi-picker/linear-multi-picker.component.ts","../../../projects/legacy/components/color-selector/linear-multi-picker/linear-multi-picker.template.html","../../../projects/legacy/components/color-selector/palette/palette.component.ts","../../../projects/legacy/components/color-selector/palette/palette.template.html","../../../projects/legacy/components/color-selector/color-selector.component.ts","../../../projects/legacy/components/color-selector/color-selector.template.html","../../../projects/legacy/components/color-selector/linear-multi-picker/linear-multi-picker.module.ts","../../../projects/legacy/components/color-selector/palette/palette.module.ts","../../../projects/legacy/components/color-selector/color-selector.module.ts","../../../projects/legacy/components/color-selector/taiga-ui-legacy-components-color-selector.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n Output,\n} from '@angular/core';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiHexToRgb, tuiRgbToHex} from '@taiga-ui/cdk/utils/color';\n\nconst HEX_MODE_LENGTH = 6;\n\n@Component({\n standalone: false,\n selector: 'tui-color-edit',\n templateUrl: './color-edit.template.html',\n styleUrls: ['./color-edit.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiColorEditComponent {\n @Input()\n public color: [number, number, number, number] = [0, 0, 0, 1];\n\n @Output()\n public readonly colorChange = new EventEmitter<[number, number, number, number]>();\n\n public readonly hexMask: MaskitoOptions = {\n mask: new RegExp(`^[A-F\\\\d]{0,${HEX_MODE_LENGTH}}$`, 'gi'),\n };\n\n public readonly modes = ['HEX', 'RGB'];\n\n public mode = this.modes[0];\n\n public get isHex(): boolean {\n return this.mode === this.modes[0];\n }\n\n public get hex(): string {\n return tuiRgbToHex(this.color[0], this.color[1], this.color[2]).replace('#', '');\n }\n\n public get opacity(): number {\n return Math.round(this.color[3] * 100);\n }\n\n public onHexChange(hex: string): void {\n if (hex.length !== HEX_MODE_LENGTH) {\n return;\n }\n\n const rgb = tuiHexToRgb(hex);\n\n this.updateColor([rgb[0], rgb[1], rgb[2], this.color[3]]);\n }\n\n public onRgbChange(...rgba: [number, number, number, number]): void {\n this.updateColor(rgba);\n }\n\n private updateColor(color: [number, number, number, number]): void {\n this.color = color;\n this.colorChange.emit(color);\n }\n}\n","<tui-select\n tuiDropdownAlign=\"left\"\n tuiDropdownLimitWidth=\"min\"\n tuiTextfieldSize=\"m\"\n class=\"t-select\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n [(ngModel)]=\"mode\"\n>\n <tui-data-list\n *tuiDataList\n size=\"s\"\n >\n <button\n *ngFor=\"let item of modes\"\n tuiOption\n type=\"button\"\n [value]=\"item\"\n >\n {{ item }}\n </button>\n </tui-data-list>\n</tui-select>\n<tui-primitive-textfield\n *ngIf=\"isHex; else rgb\"\n tuiTextfieldSize=\"m\"\n [maskito]=\"hexMask\"\n [tuiTextfieldLabelOutside]=\"true\"\n [value]=\"hex\"\n (valueChange)=\"onHexChange($event)\"\n/>\n<ng-template #rgb>\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[0]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange($event, color[1], color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[1]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], $event, color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[2]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], $event, color[3])\"\n />\n</ng-template>\n<tui-input-number\n tuiTextfieldPostfix=\"%\"\n tuiTextfieldSize=\"m\"\n class=\"t-opacity\"\n [max]=\"100\"\n [min]=\"0\"\n [ngModel]=\"opacity\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], color[2], $event / 100)\"\n/>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {TuiDataList} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiInputNumberModule} from '@taiga-ui/legacy/components/input-number';\nimport {TuiPrimitiveTextfieldModule} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiSelectModule} from '@taiga-ui/legacy/components/select';\nimport {TuiTextfieldControllerModule} from '@taiga-ui/legacy/directives/textfield-controller';\n\nimport {TuiColorEditComponent} from './color-edit.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n MaskitoDirective,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiInputNumberModule,\n TuiSelectModule,\n ...TuiDropdown,\n ...TuiDataList,\n TuiButton,\n ],\n declarations: [TuiColorEditComponent],\n exports: [TuiColorEditComponent, ...TuiDropdown, ...TuiDataList],\n})\nexport class TuiColorEditModule {}\n","import {DOCUMENT} from '@angular/common';\nimport {inject, Injectable} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiPreventDefault, tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {tuiGetElementPoint, tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {type TuiPoint} from '@taiga-ui/core/types';\nimport {map, Observable, startWith, switchMap, takeUntil} from 'rxjs';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@Injectable()\nexport class TuiPickerService extends Observable<TuiPoint> {\n private readonly el = tuiInjectElement();\n private readonly doc = inject(DOCUMENT);\n private readonly point$ = tuiTypedFromEvent(this.el, 'mousedown').pipe(\n tuiPreventDefault(),\n switchMap((event) => {\n const mouseMove$ = tuiTypedFromEvent(this.doc, 'mousemove').pipe(\n map(({clientX, clientY}) =>\n tuiGetElementPoint(clientX, clientY, this.el),\n ),\n takeUntil(tuiTypedFromEvent(this.doc, 'mouseup')),\n );\n\n return event.target === this.el\n ? mouseMove$.pipe(\n startWith(\n tuiGetElementPoint(event.clientX, event.clientY, this.el),\n ),\n )\n : mouseMove$;\n }),\n takeUntilDestroyed(),\n );\n\n constructor() {\n super((subscriber) => this.point$.subscribe(subscriber));\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {type TuiPoint} from '@taiga-ui/core/types';\n\nimport {TuiPickerService} from '../services/picker.service';\n\n@Component({\n standalone: false,\n selector: 'tui-flat-picker',\n templateUrl: './flat-picker.template.html',\n styleUrls: ['./flat-picker.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiPickerService],\n})\nexport class TuiFlatPickerComponent {\n protected readonly $ = inject(TuiPickerService)\n .pipe(takeUntilDestroyed())\n .subscribe((point) => {\n this.value = point;\n this.valueChange.emit([point[0], point[1]]);\n });\n\n @Input()\n public value: TuiPoint = [0, 0];\n\n @Output()\n public readonly valueChange = new EventEmitter<[number, number]>();\n\n public get left(): number {\n return this.value[0] * 100;\n }\n\n public get top(): number {\n return this.value[1] * 100;\n }\n}\n","<div\n class=\"t-circle\"\n [style.left.%]=\"left\"\n [style.top.%]=\"top\"\n></div>\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\n\nimport {TuiPickerService} from '../services/picker.service';\n\n@Component({\n standalone: false,\n selector: 'tui-linear-picker',\n templateUrl: './linear-picker.template.html',\n styleUrls: ['./linear-picker.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiPickerService],\n})\nexport class TuiLinearPickerComponent {\n protected readonly $ = inject(TuiPickerService)\n .pipe(takeUntilDestroyed())\n .subscribe(([x]) => {\n this.value = x;\n this.valueChange.emit(x);\n });\n\n @Input()\n public value = 0;\n\n @Output()\n public readonly valueChange = new EventEmitter<number>();\n\n public get left(): number {\n return this.value * 100;\n }\n}\n","<div\n class=\"t-circle\"\n [style.left.%]=\"left\"\n></div>\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport {DomSanitizer, type SafeStyle} from '@angular/platform-browser';\nimport {tuiHsvToRgb, tuiRgbToHsv} from '@taiga-ui/cdk/utils/color';\nimport {tuiRound} from '@taiga-ui/cdk/utils/math';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiPoint} from '@taiga-ui/core/types';\n\n@Component({\n standalone: false,\n selector: 'tui-color-picker',\n templateUrl: './color-picker.template.html',\n styleUrls: ['./color-picker.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiColorPickerComponent {\n private readonly sanitizer = inject(DomSanitizer);\n\n protected point: TuiPoint = [0, 1];\n protected hue = 0;\n protected opacity = 1;\n\n @Output()\n public readonly colorChange = new EventEmitter<\n [h: number, s: number, v: number, opacity: number]\n >();\n\n @Input()\n public set color(color: [h: number, s: number, v: number, opacity: number]) {\n if (\n this.currentColor.every((item, index) => item === color[index]) &&\n color[3] === this.opacity\n ) {\n return;\n }\n\n const [h, s, v] = tuiRgbToHsv(color[0], color[1], color[2]);\n\n this.opacity = color[3];\n this.hue = h / 360;\n this.point = [s, 1 - v / 255];\n }\n\n public get currentColor(): [h: number, s: number, v: number] {\n return this.getCurrentColor(this.hue, this.point);\n }\n\n public get base(): string {\n return `rgb(${tuiHsvToRgb(this.hue * 360, 1, 255)})`;\n }\n\n public get gradient(): SafeStyle {\n return this.sanitizer.bypassSecurityTrustStyle(\n `linear-gradient(to right, rgba(${this.currentColor.join(\n ',',\n )}, 0), rgb(${this.currentColor.join(',')}))`,\n );\n }\n\n public onPointChange(point: TuiPoint): void {\n this.point = point;\n this.updateColor();\n }\n\n public onHueChange(hue: number): void {\n this.hue = hue;\n this.updateColor();\n }\n\n public onOpacityChange(opacity: number): void {\n this.opacity = tuiRound(opacity, 2);\n this.updateColor();\n }\n\n @tuiPure\n private getCurrentColor(\n hue: number,\n point: TuiPoint,\n ): [h: number, s: number, v: number] {\n return tuiHsvToRgb(hue * 360, point[0], (1 - point[1]) * 255);\n }\n\n private updateColor(): void {\n this.colorChange.emit([...this.currentColor, this.opacity]);\n }\n}\n","<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {TuiFlatPickerComponent} from './flat-picker.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [TuiFlatPickerComponent],\n exports: [TuiFlatPickerComponent],\n})\nexport class TuiFlatPickerModule {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {TuiLinearPickerComponent} from './linear-picker.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [TuiLinearPickerComponent],\n exports: [TuiLinearPickerComponent],\n})\nexport class TuiLinearPickerModule {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {TuiFlatPickerModule} from '../flat-picker/flat-picker.module';\nimport {TuiLinearPickerModule} from '../linear-picker/linear-picker.module';\nimport {TuiColorPickerComponent} from './color-picker.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [CommonModule, TuiFlatPickerModule, TuiLinearPickerModule],\n declarations: [TuiColorPickerComponent],\n exports: [TuiColorPickerComponent],\n})\nexport class TuiColorPickerModule {}\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiGradientDirection} from '@taiga-ui/cdk/utils/color';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\n\nexport const TUI_COLOR_SELECTOR_MODE_NAMES = new InjectionToken<[string, string]>(\n ngDevMode ? 'TUI_COLOR_SELECTOR_MODE_NAMES' : '',\n {\n factory: () => ['Solid color', 'Gradient'],\n },\n);\n\nexport const TUI_DEFAULT_INPUT_COLORS = new Map([\n ['color-black-100', '#909090'],\n ['color-black-200', '#666666'],\n ['color-black-300', '#333333'],\n ['color-blue-100', '#1771e6'],\n ['color-blue-200', '#1464cc'],\n ['color-blue-300', '#0953b3'],\n ['color-gray-100', '#f5f5f6'],\n ['color-gray-200', '#e7e8ea'],\n ['color-gray-300', '#cbcfd3'],\n ['color-gray-400', '#959ba4'],\n ['color-gray-500', '#79818c'],\n ['color-gray-600', '#616871'],\n ['color-green-100', '#39b54a'],\n ['color-green-200', '#2ca53a'],\n ['color-green-300', '#168a21'],\n ['color-light-blue-100', '#ecf1f7'],\n ['color-light-blue-200', '#e4ebf3'],\n ['color-light-blue-300', '#dde4ed'],\n ['color-red-100', '#e01f19'],\n ['color-red-200', '#d3120e'],\n ['color-red-300', '#c40b08'],\n ['color-yellow-100', '#FFDD2C'],\n ['color-yellow-200', '#FCC521'],\n ['color-yellow-300', '#FAB618'],\n ['transparent', 'transparent'],\n]);\n\nexport const TuiColorSelectorMode = {\n SolidColor: 0,\n Gradient: 1,\n} as const;\n\nexport interface TuiColorSelectorOptions {\n readonly mode: (typeof TuiColorSelectorMode)[keyof typeof TuiColorSelectorMode];\n readonly selectorMode: boolean;\n readonly color: [number, number, number, number];\n readonly colors: ReadonlyMap<string, string>;\n readonly gradient: {\n readonly icons: Record<TuiGradientDirection, string>;\n readonly steps: ReadonlyArray<[number, [number, number, number, number]]>;\n readonly stop: number;\n readonly direction: TuiGradientDirection;\n readonly emptyStop: [number, number, number, number];\n readonly buttons: readonly TuiGradientDirection[];\n };\n}\n\nexport const TUI_COLOR_SELECTOR_DEFAULT_OPTIONS: TuiColorSelectorOptions = {\n selectorMode: true,\n mode: TuiColorSelectorMode.SolidColor,\n color: [0, 0, 0, 1],\n colors: new Map<string, string>(),\n gradient: {\n icons: {\n 'to top right': '@tui.move-up-right',\n 'to right': '@tui.move-right',\n 'to bottom right': '@tui.move-down-right',\n 'to bottom': '@tui.move-down',\n 'to bottom left': '@tui.move-down-left',\n 'to left': '@tui.move-left',\n 'to top left': '@tui.move-up-left',\n 'to top': '@tui.move-up',\n },\n steps: [\n [0, [0, 0, 0, 1]],\n [1, [255, 255, 255, 1]],\n ],\n stop: 0,\n direction: 'to bottom',\n emptyStop: [0, 0, 0, 0],\n buttons: [\n 'to top right',\n 'to right',\n 'to bottom right',\n 'to bottom',\n 'to bottom left',\n 'to left',\n 'to top left',\n 'to top',\n ],\n },\n};\n\nexport const TUI_COLOR_SELECTOR_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_COLOR_SELECTOR_OPTIONS' : '',\n {\n factory: () => TUI_COLOR_SELECTOR_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiColorSelectorOptionsProvider(\n options: Partial<TuiColorSelectorOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_COLOR_SELECTOR_OPTIONS,\n options,\n TUI_COLOR_SELECTOR_DEFAULT_OPTIONS,\n );\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\n\nimport {TuiPickerService} from '../services/picker.service';\n\n@Component({\n standalone: false,\n selector: 'tui-linear-multi-picker',\n templateUrl: './linear-multi-picker.template.html',\n styleUrls: ['./linear-multi-picker.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiPickerService],\n host: {\n '(document:mouseup)': 'onMouseUp()',\n },\n})\nexport class TuiLinearMultiPickerComponent {\n protected readonly $ = inject(TuiPickerService)\n .pipe(takeUntilDestroyed())\n .subscribe(([x]) => this.onPicker(x));\n\n @Input()\n public value = [0, 1];\n\n @Output()\n public readonly valueChange = new EventEmitter<number[]>();\n\n @Output()\n public readonly indexChange = new EventEmitter<number>();\n\n public index = NaN;\n\n public onMouseUp(): void {\n this.index = NaN;\n }\n\n public onMouseDown(index: number): void {\n this.updateIndex(index);\n }\n\n public onClick(index: number): void {\n if (this.value.length > 2) {\n this.updateValue(this.value.filter((_, i) => i !== index));\n }\n }\n\n private onPicker(x: number): void {\n if (Number.isNaN(this.index)) {\n this.updateIndex(this.value.length);\n this.value = [...this.value, 0];\n }\n\n if (this.value.some((item, index) => item === x && index !== this.index)) {\n return;\n }\n\n this.updateValue(\n this.value.map((item, index) => (index === this.index ? x : item)),\n );\n }\n\n private updateIndex(index: number): void {\n this.index = index;\n this.indexChange.emit(index);\n }\n\n private updateValue(value: number[]): void {\n this.value = value;\n this.valueChange.emit(value);\n }\n}\n","<div\n *ngFor=\"let item of value; let index = index\"\n class=\"t-circle\"\n [style.left.%]=\"item * 100\"\n (dblclick)=\"onClick(index)\"\n (mousedown)=\"onMouseDown(index)\"\n></div>\n","import {type KeyValue} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n Output,\n} from '@angular/core';\n\n@Component({\n standalone: false,\n selector: 'tui-palette',\n templateUrl: './palette.template.html',\n styleUrls: ['./palette.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPaletteComponent {\n @Input()\n public colors: ReadonlyMap<string, string> = new Map<string, string>();\n\n @Output()\n public readonly selectedColor = new EventEmitter<string>();\n\n public originalOrder = (\n _a: KeyValue<string, string>,\n _b: KeyValue<string, string>,\n ): number => 0;\n}\n","<button\n *ngFor=\"let color of colors | keyvalue: originalOrder\"\n type=\"button\"\n class=\"t-button\"\n [id]=\"color.key\"\n [style.background]=\"color.value\"\n [tuiHint]=\"color.key\"\n [tuiHintDescribe]=\"color.key\"\n (click)=\"selectedColor.emit(color.value)\"\n></button>\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n} from '@angular/core';\nimport {DomSanitizer, type SafeStyle} from '@angular/platform-browser';\nimport {\n tuiGetGradientData,\n type TuiGradientDirection,\n tuiParseColor,\n tuiParseGradient,\n} from '@taiga-ui/cdk/utils/color';\nimport {tuiDefaultSort, tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_COMMON_ICONS} from '@taiga-ui/core/tokens';\n\nimport {\n TUI_COLOR_SELECTOR_MODE_NAMES,\n TUI_COLOR_SELECTOR_OPTIONS,\n TuiColorSelectorMode,\n} from './color-selector.options';\n\n@Component({\n standalone: false,\n selector: 'tui-color-selector',\n templateUrl: './color-selector.template.html',\n styleUrls: ['./color-selector.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiColorSelectorComponent {\n private readonly selectorOptions = inject(TUI_COLOR_SELECTOR_OPTIONS);\n private stops = new Map(this.selectorOptions.gradient.steps);\n private currentStop = this.selectorOptions.gradient.stop;\n private direction = this.selectorOptions.gradient.direction;\n\n private readonly sanitizer = inject(DomSanitizer);\n protected readonly icons = inject(TUI_COMMON_ICONS);\n protected open = false;\n\n @Input()\n public colors = this.selectorOptions.colors;\n\n @Output()\n public readonly colorChange = new EventEmitter<string>();\n\n public color = this.selectorOptions.color;\n\n public readonly modes = inject(TUI_COLOR_SELECTOR_MODE_NAMES);\n\n public currentMode = this.modes[this.selectorOptions.mode];\n\n public readonly buttons = this.selectorOptions.gradient.buttons;\n\n @Input('color')\n public set colorSetter(color: string) {\n if (color.startsWith('linear-gradient')) {\n this.parseGradient(color);\n } else {\n this.parseColor(color);\n }\n }\n\n public get selectorMode(): boolean {\n return this.selectorOptions.selectorMode;\n }\n\n public get palette(): Map<string, string> {\n return this.filterPalette(this.colors, this.isGradient);\n }\n\n public get stopsKeys(): number[] {\n return this.getStopsKeys(this.stops);\n }\n\n public get currentColor(): [number, number, number, number] {\n return this.isGradient ? this.getStop(this.currentStop) : this.color;\n }\n\n public get gradient(): SafeStyle {\n return this.sanitizer.bypassSecurityTrustStyle(this.getGradient('to right'));\n }\n\n public get isGradient(): boolean {\n return this.currentMode === this.modes[TuiColorSelectorMode.Gradient];\n }\n\n public getIcon(direction: TuiGradientDirection): string {\n return this.selectorOptions.gradient.icons[direction];\n }\n\n public isModeActive(mode: string): boolean {\n return this.currentMode === mode;\n }\n\n public isDirectionActive(direction: TuiGradientDirection): boolean {\n return this.direction === direction;\n }\n\n public onPalettePick(color: string): void {\n this.updateColor(color);\n }\n\n public onDirectionChange(direction: TuiGradientDirection): void {\n this.direction = direction;\n this.updateColor(this.getGradient(direction));\n }\n\n public onModeSelect(mode: string): void {\n this.currentMode = mode;\n this.open = false;\n\n this.updateColor(\n mode === this.modes[TuiColorSelectorMode.SolidColor]\n ? `rgba(${this.color.join(', ')})`\n : this.getGradient(this.direction),\n );\n }\n\n public onIndexChange(index: number): void {\n this.currentStop = this.stopsKeys[index] ?? 0;\n }\n\n public onColorChange(color: [number, number, number, number]): void {\n if (!this.isGradient) {\n this.updateColor(`rgba(${color.join(', ')})`);\n\n return;\n }\n\n this.stops.set(this.currentStop, color);\n this.updateColor(this.getGradient(this.direction));\n }\n\n public onStopsChange(stopsKeys: readonly number[]): void {\n const removed = this.stopsKeys.find((item) => !stopsKeys.includes(item));\n const added = stopsKeys.find((item) => !this.stopsKeys.includes(item));\n\n if (removed === undefined && added !== undefined) {\n this.addStop(added);\n }\n\n if (removed !== undefined && added === undefined) {\n this.removeStop(removed);\n }\n\n if (removed !== undefined && added !== undefined) {\n this.replaceStop(removed, added);\n }\n\n this.updateColor(this.getGradient(this.direction));\n }\n\n @tuiPure\n private getStopsKeys(stops: Map<number, unknown>): number[] {\n return Array.from(stops.keys());\n }\n\n @tuiPure\n private filterPalette(\n colors: ReadonlyMap<string, string>,\n isGradient: boolean,\n ): Map<string, string> {\n const map = new Map(colors);\n\n map.forEach((value, key) => {\n if (\n (value.startsWith('linear-gradient') && !isGradient) ||\n (!value.startsWith('linear-gradient') && isGradient)\n ) {\n map.delete(key);\n }\n });\n\n return map;\n }\n\n private updateColor(color: string): void {\n this.colorChange.emit(color);\n }\n\n private getGradient(direction: TuiGradientDirection): string {\n return `linear-gradient(${direction}, ${[...this.stopsKeys]\n .sort(tuiDefaultSort)\n .map((key) => `rgba(${this.getStop(key).join(', ')}) ${key * 100}%`)\n .join(', ')})`;\n }\n\n private getStop(stop: number): [number, number, number, number] {\n return this.stops.get(stop) || this.selectorOptions.gradient.emptyStop;\n }\n\n private addStop(stop: number): void {\n const closest = this.stopsKeys.reduce(\n (prev, curr) => (Math.abs(curr - stop) < Math.abs(prev - stop) ? curr : prev),\n this.stopsKeys[0] ?? 0,\n );\n\n this.stops.set(stop, this.getStop(closest));\n this.stops = new Map(this.stops);\n this.currentStop = stop;\n }\n\n private removeStop(stop: number): void {\n this.stops.delete(stop);\n this.stops = new Map(this.stops);\n this.currentStop = this.stopsKeys[0] ?? 0;\n }\n\n private replaceStop(removed: number, added: number): void {\n const value = this.getStop(removed);\n\n this.currentStop = added;\n this.stops = new Map(\n this.stopsKeys.map<[number, [number, number, number, number]]>((key) =>\n key === removed ? [added, value] : [key, this.getStop(key)],\n ),\n );\n }\n\n private parseGradient(color: string): void {\n if (color === this.getGradient(this.direction)) {\n return;\n }\n\n const gradient = tuiParseGradient(tuiGetGradientData(color));\n\n this.direction = gradient.side;\n this.currentStop = this.selectorOptions.gradient.stop;\n this.stops = new Map(\n gradient.stops.length\n ? gradient.stops.map<[number, [number, number, number, number]]>(\n ({color, position}) => [\n parseFloat(position) / 100,\n tuiParseColor(color),\n ],\n )\n : this.selectorOptions.gradient.steps,\n );\n }\n\n private parseColor(color: string): void {\n this.currentStop = this.selectorOptions.gradient.stop;\n this.color = tuiParseColor(color);\n }\n}\n","<ng-container *ngIf=\"selectorMode\">\n <div\n class=\"t-select\"\n [tuiDropdown]=\"menu\"\n [(tuiDropdownOpen)]=\"open\"\n >\n <button\n appearance=\"\"\n size=\"s\"\n tuiButton\n tuiChevron\n type=\"button\"\n >\n {{ currentMode }}\n </button>\n\n <ng-template #menu>\n <tui-data-list\n role=\"menu\"\n size=\"s\"\n class=\"t-menu\"\n >\n <button\n *ngFor=\"let mode of modes\"\n role=\"menuitemradio\"\n tuiOption\n type=\"button\"\n [attr.aria-checked]=\"isModeActive(mode)\"\n (click)=\"onModeSelect(mode)\"\n (keydown.enter.prevent)=\"onModeSelect(mode)\"\n (keydown.space.prevent)=\"onModeSelect(mode)\"\n >\n {{ mode }}\n <tui-icon\n *ngIf=\"isModeActive(mode)\"\n class=\"t-checkmark\"\n [icon]=\"icons.check\"\n />\n </button>\n </tui-data-list>\n </ng-template>\n </div>\n <hr class=\"t-hr\" />\n</ng-container>\n\n<ng-container *ngIf=\"isGradient\">\n <div\n class=\"t-wrapper\"\n [style.background]=\"gradient\"\n >\n <tui-linear-multi-picker\n class=\"t-gradient\"\n [value]=\"stopsKeys\"\n (indexChange)=\"onIndexChange($event)\"\n (valueChange)=\"onStopsChange($event)\"\n />\n </div>\n <div class=\"t-buttons\">\n <!-- TODO: Change to `tuiHintDescribe` when figure tuiDriver order issue -->\n <button\n *ngFor=\"let button of buttons\"\n appearance=\"\"\n size=\"xs\"\n tuiHintDescribe\n tuiIconButton\n type=\"button\"\n class=\"t-direction\"\n [class.t-direction_active]=\"isDirectionActive(button)\"\n [iconStart]=\"getIcon(button)\"\n [tuiHint]=\"button\"\n (click)=\"onDirectionChange(button)\"\n ></button>\n </div>\n</ng-container>\n<tui-color-picker\n [color]=\"currentColor\"\n (colorChange)=\"onColorChange($event)\"\n/>\n<tui-color-edit\n *ngIf=\"!isGradient\"\n orientation=\"horizontal\"\n tuiGroup\n class=\"t-edit\"\n [color]=\"color\"\n (colorChange)=\"onColorChange($event)\"\n/>\n<tui-palette\n *ngIf=\"palette.size\"\n class=\"t-palette\"\n [colors]=\"palette\"\n (selectedColor)=\"onPalettePick($event)\"\n/>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {TuiLinearMultiPickerComponent} from './linear-multi-picker.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [TuiLinearMultiPickerComponent],\n exports: [TuiLinearMultiPickerComponent],\n})\nexport class TuiLinearMultiPickerModule {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiHint} from '@taiga-ui/core/directives/hint';\n\nimport {TuiPaletteComponent} from './palette.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [CommonModule, ...TuiHint],\n declarations: [TuiPaletteComponent],\n exports: [TuiPaletteComponent, ...TuiHint],\n})\nexport class TuiPaletteModule {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {TuiButton} from '@taiga-ui/core/components/button';\nimport {TuiDataList} from '@taiga-ui/core/components/data-list';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiGroup} from '@taiga-ui/core/directives/group';\nimport {TuiHint} from '@taiga-ui/core/directives/hint';\nimport {TuiChevron} from '@taiga-ui/kit/directives/chevron';\nimport {TuiSvgComponent} from '@taiga-ui/legacy/components/svg';\n\nimport {TuiColorEditModule} from './color-edit/color-edit.module';\nimport {TuiColorPickerModule} from './color-picker/color-picker.module';\nimport {TuiColorSelectorComponent} from './color-selector.component';\nimport {TuiLinearMultiPickerModule} from './linear-multi-picker/linear-multi-picker.module';\nimport {TuiPaletteModule} from './palette/palette.module';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n TuiButton,\n TuiSvgComponent,\n TuiColorPickerModule,\n TuiLinearMultiPickerModule,\n TuiActiveZone,\n TuiColorEditModule,\n TuiGroup,\n TuiPaletteModule,\n TuiChevron,\n TuiIcon,\n ...TuiHint,\n ...TuiDataList,\n ],\n declarations: [TuiColorSelectorComponent],\n exports: [TuiColorSelectorComponent, ...TuiHint, ...TuiDataList],\n})\nexport class TuiColorSelectorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i8","i9","i1","i2","i1.TuiFlatPickerComponent","i2.TuiLinearPickerComponent","i3.TuiColorPickerComponent","i4.TuiLinearMultiPickerComponent","i5.TuiColorEditComponent","i6","i7","i9.TuiPaletteComponent","i10"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,MAAM,eAAe,GAAG,CAAC,CAAC;AAE1B,MAOa,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;QASW,IAAK,CAAA,KAAA,GAAqC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAG9C,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAoC,CAAC;AAEnE,QAAA,IAAA,CAAA,OAAO,GAAmB;YACtC,IAAI,EAAE,IAAI,MAAM,CAAC,eAAe,eAAe,CAAA,EAAA,CAAI,EAAE,IAAI,CAAC;SAC7D,CAAC;AAEc,QAAA,IAAA,CAAA,KAAK,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAEhC,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAgC/B,KAAA;AA9BG,IAAA,IAAW,KAAK,GAAA;QACZ,OAAO,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACtC;AAED,IAAA,IAAW,GAAG,GAAA;AAC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 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { inject, Component, ChangeDetectionStrategy, ViewChild, Input, NgModule } from '@angular/core';
4
- import { DomSanitizer } from '@angular/platform-browser';
5
- import { tuiToGradient, tuiParseGradient, tuiGetGradientData } from '@taiga-ui/cdk/utils/color';
6
- import { tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
7
- import * as i1$1 from '@taiga-ui/core/directives/dropdown';
8
- import { tuiDropdownOptionsProvider, TuiDropdown } from '@taiga-ui/core/directives/dropdown';
9
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
10
- import * as i1 from '@taiga-ui/legacy/components/primitive-textfield';
11
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
12
- import * as i2 from '@taiga-ui/legacy/directives/textfield-controller';
13
- import { TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives/textfield-controller';
14
- import * as i3 from '@taiga-ui/legacy/components/color-selector';
15
- import { TuiColorSelectorModule } from '@taiga-ui/legacy/components/color-selector';
16
- import * as i4 from '@maskito/angular';
17
- import { MaskitoDirective } from '@maskito/angular';
18
- import { CommonModule } from '@angular/common';
19
-
20
- /**
21
- * TODO(v5): delete it
22
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
23
- */
24
- class TuiInputColorComponent extends AbstractTuiControl {
25
- constructor() {
26
- super(...arguments);
27
- this.domSanitizer = inject(DomSanitizer);
28
- this.colors = new Map();
29
- this.open = false;
30
- }
31
- get focused() {
32
- return !!this.textfield?.focused;
33
- }
34
- get nativeFocusableElement() {
35
- return this.computedDisabled || !this.textfield
36
- ? null
37
- : this.textfield.nativeFocusableElement;
38
- }
39
- get background() {
40
- return this.sanitize(this.value, this.domSanitizer);
41
- }
42
- get mode() {
43
- if (this.value.startsWith('#')) {
44
- return 'hex';
45
- }
46
- return this.value.startsWith('rgb') ? 'rgb' : 'gradient';
47
- }
48
- maskitoOptions(mode) {
49
- return mode === 'hex' ? { mask: ['#', ...new Array(6).fill(/[0-9a-f]/i)] } : null;
50
- }
51
- onClick() {
52
- this.open = !this.open;
53
- }
54
- /** deprecated use 'value' setter */
55
- onValueChange(textValue) {
56
- this.value = textValue;
57
- }
58
- onFocused(focused) {
59
- this.updateFocused(focused);
60
- }
61
- getFallbackValue() {
62
- return '#000000';
63
- }
64
- sanitize(value, domSanitizer) {
65
- return value.startsWith('linear-gradient(')
66
- ? domSanitizer.bypassSecurityTrustStyle(tuiToGradient(tuiParseGradient(tuiGetGradientData(value))))
67
- : value;
68
- }
69
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
70
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputColorComponent, selector: "tui-input-color", inputs: { colors: "colors" }, host: { listeners: { "click": "onClick()" } }, viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"t-wrapper\"\n [tuiDropdown]=\"picker\"\n [(tuiDropdownOpen)]=\"open\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskitoOptions(mode)\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIconLeft]=\"color\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n >\n <ng-content />\n </tui-primitive-textfield>\n</div>\n\n<ng-template #color>\n <div\n class=\"t-color\"\n [style.background]=\"background\"\n ></div>\n</ng-template>\n\n<ng-template #picker>\n <tui-color-selector\n [colors]=\"colors\"\n [(color)]=\"value\"\n />\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-wrapper{display:flex;border-radius:inherit;inline-size:100%}.t-textfield{border-radius:inherit;text-align:inherit;inline-size:inherit}.t-textfield ::ng-deep .t-input{text-transform:lowercase!important}.t-color{inline-size:1.5rem;block-size:1.5rem;box-shadow:inset 0 0 0 1px var(--tui-base-03-dark);border-radius:.125rem;pointer-events:auto!important}\n"], dependencies: [{ kind: "component", type: i1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i2.TuiTextfieldIconLeftDirective, selector: "[tuiTextfieldIconLeft]", inputs: ["tuiTextfieldIconLeft"] }, { kind: "component", type: i3.TuiColorSelectorComponent, selector: "tui-color-selector", inputs: ["colors", "color"], outputs: ["colorChange"] }, { kind: "directive", type: i4.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i1$1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1$1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }], viewProviders: [tuiDropdownOptionsProvider({ maxHeight: 600 })], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
71
- }
72
- __decorate([
73
- tuiPure
74
- ], TuiInputColorComponent.prototype, "maskitoOptions", null);
75
- __decorate([
76
- tuiPure
77
- ], TuiInputColorComponent.prototype, "sanitize", null);
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorComponent, decorators: [{
79
- type: Component,
80
- args: [{ standalone: false, selector: 'tui-input-color', changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [tuiDropdownOptionsProvider({ maxHeight: 600 })], host: {
81
- '(click)': 'onClick()',
82
- }, template: "<div\n class=\"t-wrapper\"\n [tuiDropdown]=\"picker\"\n [(tuiDropdownOpen)]=\"open\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskitoOptions(mode)\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIconLeft]=\"color\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n >\n <ng-content />\n </tui-primitive-textfield>\n</div>\n\n<ng-template #color>\n <div\n class=\"t-color\"\n [style.background]=\"background\"\n ></div>\n</ng-template>\n\n<ng-template #picker>\n <tui-color-selector\n [colors]=\"colors\"\n [(color)]=\"value\"\n />\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-wrapper{display:flex;border-radius:inherit;inline-size:100%}.t-textfield{border-radius:inherit;text-align:inherit;inline-size:inherit}.t-textfield ::ng-deep .t-input{text-transform:lowercase!important}.t-color{inline-size:1.5rem;block-size:1.5rem;box-shadow:inset 0 0 0 1px var(--tui-base-03-dark);border-radius:.125rem;pointer-events:auto!important}\n"] }]
83
- }], propDecorators: { textfield: [{
84
- type: ViewChild,
85
- args: [TuiPrimitiveTextfieldComponent]
86
- }], colors: [{
87
- type: Input
88
- }], maskitoOptions: [], sanitize: [] } });
89
-
90
- /**
91
- * TODO(v5): delete it
92
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
93
- */
94
- class TuiInputColorModule {
95
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
96
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorModule, declarations: [TuiInputColorComponent], imports: [CommonModule,
97
- TuiPrimitiveTextfieldModule,
98
- TuiTextfieldControllerModule,
99
- TuiColorSelectorModule,
100
- MaskitoDirective, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection], exports: [TuiInputColorComponent, i1$1.TuiDropdownOptionsDirective, i1$1.TuiDropdownDriverDirective, i1$1.TuiDropdownDirective, i1$1.TuiDropdownComponent, i1$1.TuiDropdownOpen, i1$1.TuiDropdownOpenLegacy, i1$1.TuiDropdownPortal, i1$1.TuiDropdownManual, i1$1.TuiDropdownHover, i1$1.TuiDropdownContext, i1$1.TuiDropdownPosition, i1$1.TuiDropdownPositionSided, i1$1.TuiDropdownSelection] }); }
101
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorModule, imports: [CommonModule,
102
- TuiPrimitiveTextfieldModule,
103
- TuiTextfieldControllerModule,
104
- TuiColorSelectorModule, i1$1.TuiDropdownComponent] }); }
105
- }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputColorModule, decorators: [{
107
- type: NgModule,
108
- args: [{
109
- imports: [
110
- CommonModule,
111
- TuiPrimitiveTextfieldModule,
112
- TuiTextfieldControllerModule,
113
- TuiColorSelectorModule,
114
- MaskitoDirective,
115
- ...TuiDropdown,
116
- ],
117
- declarations: [TuiInputColorComponent],
118
- exports: [TuiInputColorComponent, ...TuiDropdown],
119
- }]
120
- }] });
121
-
122
- /**
123
- * Generated bundle index. Do not edit.
124
- */
125
-
126
- export { TuiInputColorComponent, TuiInputColorModule };
127
- //# sourceMappingURL=taiga-ui-legacy-components-input-color.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-color.mjs","sources":["../../../projects/legacy/components/input-color/input-color.component.ts","../../../projects/legacy/components/input-color/input-color.template.html","../../../projects/legacy/components/input-color/input-color.module.ts","../../../projects/legacy/components/input-color/taiga-ui-legacy-components-input-color.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {DomSanitizer, type SafeStyle} from '@angular/platform-browser';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {\n tuiGetGradientData,\n tuiParseGradient,\n tuiToGradient,\n} from '@taiga-ui/cdk/utils/color';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiDropdownOptionsProvider} from '@taiga-ui/core/directives/dropdown';\nimport {AbstractTuiControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n type TuiFocusableElementAccessor,\n type TuiNativeFocusableElement,\n} from '@taiga-ui/legacy/tokens';\n\ntype MaskMode = 'gradient' | 'hex' | 'rgb';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-input-color',\n templateUrl: './input-color.template.html',\n styleUrls: ['./input-color.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [tuiDropdownOptionsProvider({maxHeight: 600})],\n host: {\n '(click)': 'onClick()',\n },\n})\nexport class TuiInputColorComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly domSanitizer = inject(DomSanitizer);\n\n @Input()\n public colors: ReadonlyMap<string, string> = new Map<string, string>();\n\n public open = false;\n\n public get focused(): boolean {\n return !!this.textfield?.focused;\n }\n\n public get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n public get background(): SafeStyle {\n return this.sanitize(this.value, this.domSanitizer);\n }\n\n public get mode(): MaskMode {\n if (this.value.startsWith('#')) {\n return 'hex';\n }\n\n return this.value.startsWith('rgb') ? 'rgb' : 'gradient';\n }\n\n @tuiPure\n public maskitoOptions(mode: MaskMode): MaskitoOptions | null {\n return mode === 'hex' ? {mask: ['#', ...new Array(6).fill(/[0-9a-f]/i)]} : null;\n }\n\n public onClick(): void {\n this.open = !this.open;\n }\n\n /** deprecated use 'value' setter */\n public onValueChange(textValue: string): void {\n this.value = textValue;\n }\n\n public onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected getFallbackValue(): string {\n return '#000000';\n }\n\n @tuiPure\n private sanitize(value: string, domSanitizer: DomSanitizer): SafeStyle | string {\n return value.startsWith('linear-gradient(')\n ? domSanitizer.bypassSecurityTrustStyle(\n tuiToGradient(tuiParseGradient(tuiGetGradientData(value))),\n )\n : value;\n }\n}\n","<div\n class=\"t-wrapper\"\n [tuiDropdown]=\"picker\"\n [(tuiDropdownOpen)]=\"open\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskitoOptions(mode)\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIconLeft]=\"color\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n >\n <ng-content />\n </tui-primitive-textfield>\n</div>\n\n<ng-template #color>\n <div\n class=\"t-color\"\n [style.background]=\"background\"\n ></div>\n</ng-template>\n\n<ng-template #picker>\n <tui-color-selector\n [colors]=\"colors\"\n [(color)]=\"value\"\n />\n</ng-template>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiColorSelectorModule} from '@taiga-ui/legacy/components/color-selector';\nimport {TuiPrimitiveTextfieldModule} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiTextfieldControllerModule} from '@taiga-ui/legacy/directives/textfield-controller';\n\nimport {TuiInputColorComponent} from './input-color.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiColorSelectorModule,\n MaskitoDirective,\n ...TuiDropdown,\n ],\n declarations: [TuiInputColorComponent],\n exports: [TuiInputColorComponent, ...TuiDropdown],\n})\nexport class TuiInputColorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;AAyBA;;;AAGG;AACH,MAWa,sBACT,SAAQ,kBAA0B,CAAA;AAZtC,IAAA,WAAA,GAAA;;AAkBqB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AAG9C,QAAA,IAAA,CAAA,MAAM,GAAgC,IAAI,GAAG,EAAkB,CAAC;QAEhE,IAAI,CAAA,IAAA,GAAG,KAAK,CAAC;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IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAVxB,YAAY;YACZ,2BAA2B;YAC3B,4BAA4B;YAC5B,sBAAsB,EAAAA,IAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAOjB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAZ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,2BAA2B;wBAC3B,4BAA4B;wBAC5B,sBAAsB;wBACtB,gBAAgB;AAChB,wBAAA,GAAG,WAAW;AACjB,qBAAA;oBACD,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,GAAG,WAAW,CAAC;AACpD,iBAAA,CAAA;;;ACzBD;;AAEG;;;;"}
@@ -1,197 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i7 from '@angular/common';
3
- import { DOCUMENT, CommonModule } from '@angular/common';
4
- import * as i0 from '@angular/core';
5
- import { InjectionToken, inject, Component, ChangeDetectionStrategy, ViewChild, Input, Directive, NgModule } from '@angular/core';
6
- import { tuiProvideOptions, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
7
- import { TUI_COPY_TEXTS } from '@taiga-ui/kit/tokens';
8
- import { AbstractTuiControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
9
- import * as i2 from '@taiga-ui/legacy/components/primitive-textfield';
10
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
11
- import * as i3 from '@taiga-ui/legacy/directives';
12
- import { TUI_TEXTFIELD_SIZE, TUI_VALUE_ACCESSOR_PROVIDER, TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives';
13
- import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
14
- import { BehaviorSubject, switchMap, of, merge, timer, map } from 'rxjs';
15
- import * as i1 from '@taiga-ui/polymorpheus';
16
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
17
- import * as i4 from '@taiga-ui/core/directives/appearance';
18
- import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
19
- import * as i5 from '@taiga-ui/core/components/icon';
20
- import { TuiIcon } from '@taiga-ui/core/components/icon';
21
- import * as i1$1 from '@taiga-ui/core/directives/hint';
22
- import { TuiHint } from '@taiga-ui/core/directives/hint';
23
-
24
- /**
25
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
26
- */
27
- const TUI_INPUT_COPY_DEFAULT_OPTIONS = {
28
- successMessage: '',
29
- messageDirection: 'bottom-left',
30
- messageAppearance: '',
31
- icon: () => '@tui.copy',
32
- };
33
- /**
34
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
35
- */
36
- const TUI_INPUT_COPY_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_COPY_OPTIONS' : '', {
37
- factory: () => TUI_INPUT_COPY_DEFAULT_OPTIONS,
38
- });
39
- /**
40
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
41
- */
42
- function tuiInputCopyOptionsProvider(options) {
43
- return tuiProvideOptions(TUI_INPUT_COPY_OPTIONS, options, TUI_INPUT_COPY_DEFAULT_OPTIONS);
44
- }
45
-
46
- /**
47
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
48
- */
49
- class TuiInputCopyComponent extends AbstractTuiControl {
50
- constructor() {
51
- super(...arguments);
52
- this.copied$ = new BehaviorSubject(false);
53
- this.doc = inject(DOCUMENT);
54
- this.copyTexts$ = inject(TUI_COPY_TEXTS);
55
- this.options = inject(TUI_INPUT_COPY_OPTIONS);
56
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
57
- this.successMessage = this.options.successMessage;
58
- this.messageDirection = this.options.messageDirection;
59
- this.messageAppearance = this.options.messageAppearance;
60
- }
61
- get nativeFocusableElement() {
62
- return this.computedDisabled || !this.textfield
63
- ? null
64
- : this.textfield.nativeFocusableElement;
65
- }
66
- get focused() {
67
- return !!this.textfield?.focused;
68
- }
69
- onValueChange(value) {
70
- this.value = value;
71
- }
72
- get hintText$() {
73
- return this.copyTexts$.pipe(switchMap((texts) => this.copied$.pipe(switchMap((copied) => {
74
- if (!copied) {
75
- return of(texts[0]);
76
- }
77
- this.copied$.next(false);
78
- return merge(of(this.successMessage || texts[1]), timer(3000).pipe(map(() => texts[0])));
79
- }))));
80
- }
81
- get size() {
82
- return this.textfieldSize.size;
83
- }
84
- get icon() {
85
- return this.options.icon;
86
- }
87
- onFocused(focused) {
88
- this.updateFocused(focused);
89
- }
90
- copy() {
91
- if (!this.textfield?.nativeFocusableElement) {
92
- return;
93
- }
94
- this.textfield.nativeFocusableElement.select();
95
- this.doc.execCommand('copy');
96
- this.copied$.next(true);
97
- }
98
- getFallbackValue() {
99
- return '';
100
- }
101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
102
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputCopyComponent, selector: "tui-input-copy", inputs: { successMessage: "successMessage", messageDirection: "messageDirection", messageAppearance: "messageAppearance" }, host: { properties: { "attr.data-size": "size" } }, providers: [
103
- TUI_VALUE_ACCESSOR_PROVIDER,
104
- tuiAsFocusableItemAccessor(TuiInputCopyComponent),
105
- tuiAsControl(TuiInputCopyComponent),
106
- ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"!disabled ? iconContent : ''\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-copy__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiAppearanceState]=\"!value ? 'disabled' : null\"\n [tuiHint]=\"hint\"\n [tuiHintAppearance]=\"messageAppearance\"\n [tuiHintDirection]=\"messageDirection\"\n (click)=\"copy()\"\n />\n</ng-template>\n\n<ng-template #hint>\n <ng-container *polymorpheusOutlet=\"hintText$ | async as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-icon{position:relative;cursor:pointer;pointer-events:auto}.t-icon_small{border-width:.25rem}.t-textfield{border-radius:inherit;text-align:inherit}\n"], dependencies: [{ kind: "directive", type: i1.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i2.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i2.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i3.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i4.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i5.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: i1$1.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"], outputs: ["tuiHintVisible"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
107
- }
108
- __decorate([
109
- tuiPure
110
- ], TuiInputCopyComponent.prototype, "hintText$", null);
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyComponent, decorators: [{
112
- type: Component,
113
- args: [{ standalone: false, selector: 'tui-input-copy', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
114
- TUI_VALUE_ACCESSOR_PROVIDER,
115
- tuiAsFocusableItemAccessor(TuiInputCopyComponent),
116
- tuiAsControl(TuiInputCopyComponent),
117
- ], host: {
118
- '[attr.data-size]': 'size',
119
- }, template: "<tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"!disabled ? iconContent : ''\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-copy__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiAppearanceState]=\"!value ? 'disabled' : null\"\n [tuiHint]=\"hint\"\n [tuiHintAppearance]=\"messageAppearance\"\n [tuiHintDirection]=\"messageDirection\"\n (click)=\"copy()\"\n />\n</ng-template>\n\n<ng-template #hint>\n <ng-container *polymorpheusOutlet=\"hintText$ | async as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:start}:host :host-context(*:disabled){pointer-events:none}.t-icon{position:relative;cursor:pointer;pointer-events:auto}.t-icon_small{border-width:.25rem}.t-textfield{border-radius:inherit;text-align:inherit}\n"] }]
120
- }], propDecorators: { textfield: [{
121
- type: ViewChild,
122
- args: [TuiPrimitiveTextfieldComponent]
123
- }], successMessage: [{
124
- type: Input
125
- }], messageDirection: [{
126
- type: Input
127
- }], messageAppearance: [{
128
- type: Input
129
- }], hintText$: [] } });
130
-
131
- /**
132
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
133
- */
134
- class TuiInputCopyDirective extends AbstractTuiTextfieldHost {
135
- onValueChange(value) {
136
- this.host.onValueChange(value);
137
- }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
139
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputCopyDirective, selector: "tui-input-copy", providers: [tuiAsTextfieldHost(TuiInputCopyDirective)], usesInheritance: true, ngImport: i0 }); }
140
- }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyDirective, decorators: [{
142
- type: Directive,
143
- args: [{
144
- standalone: false,
145
- selector: 'tui-input-copy',
146
- providers: [tuiAsTextfieldHost(TuiInputCopyDirective)],
147
- }]
148
- }] });
149
-
150
- /**
151
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
152
- */
153
- class TuiInputCopyModule {
154
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
155
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyModule, declarations: [TuiInputCopyComponent, TuiInputCopyDirective], imports: [CommonModule,
156
- PolymorpheusOutlet,
157
- PolymorpheusTemplate,
158
- TuiPrimitiveTextfieldModule,
159
- TuiTextfieldControllerModule,
160
- TuiAppearance,
161
- TuiIcon, i1$1.TuiHintComponent, i1$1.TuiHintDirective, i1$1.TuiHintOptionsDirective, i1$1.TuiHintUnstyled, i1$1.TuiHintDriver, i1$1.TuiHintPosition, i1$1.TuiHintHover, i1$1.TuiHintOverflow, i1$1.TuiHintDescribe, i1$1.TuiHintHost, i1$1.TuiHintManual, i1$1.TuiHintPointer], exports: [TuiInputCopyComponent,
162
- TuiInputCopyDirective,
163
- TuiTextfieldComponent, i1$1.TuiHintComponent, i1$1.TuiHintDirective, i1$1.TuiHintOptionsDirective, i1$1.TuiHintUnstyled, i1$1.TuiHintDriver, i1$1.TuiHintPosition, i1$1.TuiHintHover, i1$1.TuiHintOverflow, i1$1.TuiHintDescribe, i1$1.TuiHintHost, i1$1.TuiHintManual, i1$1.TuiHintPointer] }); }
164
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyModule, imports: [CommonModule,
165
- TuiPrimitiveTextfieldModule,
166
- TuiTextfieldControllerModule,
167
- TuiIcon, i1$1.TuiHintComponent] }); }
168
- }
169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputCopyModule, decorators: [{
170
- type: NgModule,
171
- args: [{
172
- imports: [
173
- CommonModule,
174
- PolymorpheusOutlet,
175
- PolymorpheusTemplate,
176
- TuiPrimitiveTextfieldModule,
177
- TuiTextfieldControllerModule,
178
- TuiAppearance,
179
- TuiIcon,
180
- ...TuiHint,
181
- ],
182
- declarations: [TuiInputCopyComponent, TuiInputCopyDirective],
183
- exports: [
184
- TuiInputCopyComponent,
185
- TuiInputCopyDirective,
186
- TuiTextfieldComponent,
187
- ...TuiHint,
188
- ],
189
- }]
190
- }] });
191
-
192
- /**
193
- * Generated bundle index. Do not edit.
194
- */
195
-
196
- export { TUI_INPUT_COPY_DEFAULT_OPTIONS, TUI_INPUT_COPY_OPTIONS, TuiInputCopyComponent, TuiInputCopyDirective, TuiInputCopyModule, tuiInputCopyOptionsProvider };
197
- //# sourceMappingURL=taiga-ui-legacy-components-input-copy.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-copy.mjs","sources":["../../../projects/legacy/components/input-copy/input-copy.options.ts","../../../projects/legacy/components/input-copy/input-copy.component.ts","../../../projects/legacy/components/input-copy/input-copy.template.html","../../../projects/legacy/components/input-copy/input-copy.directive.ts","../../../projects/legacy/components/input-copy/input-copy.module.ts","../../../projects/legacy/components/input-copy/taiga-ui-legacy-components-input-copy.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiHintDirection} from '@taiga-ui/core/directives/hint';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\nexport interface TuiInputCopyOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly messageAppearance: string;\n readonly messageDirection: TuiHintDirection;\n readonly successMessage: PolymorpheusContent;\n}\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\nexport const TUI_INPUT_COPY_DEFAULT_OPTIONS: TuiInputCopyOptions = {\n successMessage: '',\n messageDirection: 'bottom-left',\n messageAppearance: '',\n icon: () => '@tui.copy',\n};\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\nexport const TUI_INPUT_COPY_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_COPY_OPTIONS' : '',\n {\n factory: () => TUI_INPUT_COPY_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\nexport function tuiInputCopyOptionsProvider(\n options: Partial<TuiInputCopyOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_COPY_OPTIONS,\n options,\n TUI_INPUT_COPY_DEFAULT_OPTIONS,\n );\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiHintDirection} from '@taiga-ui/core/directives/hint';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_COPY_TEXTS} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TUI_TEXTFIELD_SIZE,\n TUI_VALUE_ACCESSOR_PROVIDER,\n} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n type TuiNativeFocusableElement,\n} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\nimport {BehaviorSubject, map, merge, type Observable, of, switchMap, timer} from 'rxjs';\n\nimport {TUI_INPUT_COPY_OPTIONS, type TuiInputCopyOptions} from './input-copy.options';\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\n@Component({\n standalone: false,\n selector: 'tui-input-copy',\n templateUrl: './input-copy.template.html',\n styleUrls: ['./input-copy.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TUI_VALUE_ACCESSOR_PROVIDER,\n tuiAsFocusableItemAccessor(TuiInputCopyComponent),\n tuiAsControl(TuiInputCopyComponent),\n ],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputCopyComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly copied$ = new BehaviorSubject<boolean>(false);\n private readonly doc = inject(DOCUMENT);\n private readonly copyTexts$ = inject(TUI_COPY_TEXTS);\n private readonly options = inject(TUI_INPUT_COPY_OPTIONS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n @Input()\n public successMessage = this.options.successMessage;\n\n @Input()\n public messageDirection: TuiHintDirection = this.options.messageDirection;\n\n @Input()\n public messageAppearance = this.options.messageAppearance;\n\n public get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n public get focused(): boolean {\n return !!this.textfield?.focused;\n }\n\n public onValueChange(value: string): void {\n this.value = value;\n }\n\n @tuiPure\n protected get hintText$(): Observable<PolymorpheusContent> {\n return this.copyTexts$.pipe(\n switchMap((texts) =>\n this.copied$.pipe(\n switchMap((copied) => {\n if (!copied) {\n return of(texts[0]);\n }\n\n this.copied$.next(false);\n\n return merge(\n of(this.successMessage || texts[1]),\n timer(3000).pipe(map(() => texts[0])),\n );\n }),\n ),\n ),\n );\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get icon(): TuiInputCopyOptions['icon'] {\n return this.options.icon;\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected copy(): void {\n if (!this.textfield?.nativeFocusableElement) {\n return;\n }\n\n this.textfield.nativeFocusableElement.select();\n this.doc.execCommand('copy');\n this.copied$.next(true);\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n}\n","<tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"focusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"!disabled ? iconContent : ''\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-copy__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiAppearanceState]=\"!value ? 'disabled' : null\"\n [tuiHint]=\"hint\"\n [tuiHintAppearance]=\"messageAppearance\"\n [tuiHintDirection]=\"messageDirection\"\n (click)=\"copy()\"\n />\n</ng-template>\n\n<ng-template #hint>\n <ng-container *polymorpheusOutlet=\"hintText$ | async as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputCopyComponent} from './input-copy.component';\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-copy',\n providers: [tuiAsTextfieldHost(TuiInputCopyDirective)],\n})\nexport class TuiInputCopyDirective extends AbstractTuiTextfieldHost<TuiInputCopyComponent> {\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiHint} from '@taiga-ui/core/directives/hint';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiTextfieldControllerModule} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiInputCopyComponent} from './input-copy.component';\nimport {TuiInputCopyDirective} from './input-copy.directive';\n\n/**\n * @deprecated use {@link TuiCopy} with {@link TuiTextfield}\n */\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiAppearance,\n TuiIcon,\n ...TuiHint,\n ],\n declarations: [TuiInputCopyComponent, TuiInputCopyDirective],\n exports: [\n TuiInputCopyComponent,\n TuiInputCopyDirective,\n TuiTextfieldComponent,\n ...TuiHint,\n ],\n})\nexport class TuiInputCopyModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i6","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAiBA;;AAEG;AACU,MAAA,8BAA8B,GAAwB;AAC/D,IAAA,cAAc,EAAE,EAAE;AAClB,IAAA,gBAAgB,EAAE,aAAa;AAC/B,IAAA,iBAAiB,EAAE,EAAE;AACrB,IAAA,IAAI,EAAE,MAAM,WAAW;EACzB;AAEF;;AAEG;AACU,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,MAAM,8BAA8B;AAChD,CAAA,EACH;AAEF;;AAEG;AACG,SAAU,2BAA2B,CACvC,OAAqC,EAAA;IAErC,OAAO,iBAAiB,CACpB,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