@taiga-ui/legacy 4.52.0-canary.56739a2 → 4.52.0-canary.65c65f9

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 (440) 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/color-selector/color-selector.module.d.ts +11 -12
  6. package/components/index.d.ts +0 -4
  7. package/components/input-phone/input-phone.component.d.ts +3 -0
  8. package/components/input-phone/input-phone.directive.d.ts +3 -0
  9. package/components/input-phone/input-phone.module.d.ts +3 -0
  10. package/components/input-phone/input-phone.options.d.ts +10 -1
  11. package/components/multi-select/native-multi-select/native-multi-select.d.ts +1 -1
  12. package/fesm2022/taiga-ui-legacy-classes.mjs +23 -24
  13. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +6 -6
  15. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +70 -74
  17. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +22 -23
  19. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +8 -8
  21. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +14 -14
  23. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +10 -10
  25. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +25 -25
  27. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +26 -26
  29. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +29 -29
  31. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +12 -12
  33. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +20 -20
  35. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +21 -21
  37. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +10 -10
  39. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +30 -15
  41. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +19 -19
  43. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +17 -18
  45. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +21 -21
  47. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +40 -44
  49. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +13 -13
  51. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-components-input.mjs +13 -13
  53. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +8 -8
  55. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +48 -48
  57. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +28 -28
  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 +34 -34
  63. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-legacy-components-svg.mjs +10 -12
  65. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-legacy-components-tag.mjs +14 -15
  67. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +22 -22
  69. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
  71. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-legacy-components.mjs +0 -4
  73. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
  75. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +35 -35
  77. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +4 -4
  79. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
  81. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +9 -9
  83. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +3 -4
  85. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +3 -3
  87. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +3 -3
  89. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-legacy-services.mjs +3 -3
  91. package/fesm2022/taiga-ui-legacy-services.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  93. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  95. package/package.json +6 -120
  96. package/styles/mixins/textfield.less +3 -1
  97. package/utils/icons-path-factory.d.ts +1 -1
  98. package/components/input-password/index.d.ts +0 -4
  99. package/components/input-password/input-password.component.d.ts +0 -33
  100. package/components/input-password/input-password.directive.d.ts +0 -15
  101. package/components/input-password/input-password.module.d.ts +0 -19
  102. package/components/input-password/input-password.options.d.ts +0 -25
  103. package/components/island/index.d.ts +0 -1
  104. package/components/island/island.directive.d.ts +0 -20
  105. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  106. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  107. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  108. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  109. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  110. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  111. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  112. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  113. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  114. package/components/sheet/index.d.ts +0 -14
  115. package/components/sheet/sheet-options.d.ts +0 -27
  116. package/components/sheet/sheet-tokens.d.ts +0 -18
  117. package/components/sheet/sheet.d.ts +0 -21
  118. package/components/sheet/sheet.directive.d.ts +0 -17
  119. package/components/sheet/sheet.module.d.ts +0 -24
  120. package/components/sheet/sheet.service.d.ts +0 -17
  121. package/components/table-bar/index.d.ts +0 -4
  122. package/components/table-bar/table-bar.component.d.ts +0 -17
  123. package/components/table-bar/table-bar.directive.d.ts +0 -11
  124. package/components/table-bar/table-bar.options.d.ts +0 -31
  125. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  126. package/components/table-bar/table-bars.service.d.ts +0 -11
  127. package/esm2022/classes/abstract-native-select.mjs +0 -49
  128. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  129. package/esm2022/classes/control.mjs +0 -181
  130. package/esm2022/classes/controller.mjs +0 -18
  131. package/esm2022/classes/index.mjs +0 -10
  132. package/esm2022/classes/interactive.mjs +0 -82
  133. package/esm2022/classes/multiple-control.mjs +0 -21
  134. package/esm2022/classes/named-day.mjs +0 -14
  135. package/esm2022/classes/nullable-control.mjs +0 -18
  136. package/esm2022/classes/stringifiable-item.mjs +0 -14
  137. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  138. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  139. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  140. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  141. package/esm2022/components/arrow/index.mjs +0 -4
  142. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  143. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  144. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  145. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  146. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  147. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  148. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  149. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  150. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  151. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  152. package/esm2022/components/color-selector/index.mjs +0 -17
  153. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  154. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  155. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  156. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  157. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  158. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  159. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  160. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  161. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  162. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  163. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  164. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  165. package/esm2022/components/combo-box/index.mjs +0 -5
  166. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  167. package/esm2022/components/index.mjs +0 -34
  168. package/esm2022/components/input/index.mjs +0 -4
  169. package/esm2022/components/input/input.component.mjs +0 -97
  170. package/esm2022/components/input/input.directive.mjs +0 -25
  171. package/esm2022/components/input/input.module.mjs +0 -42
  172. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  173. package/esm2022/components/input-color/index.mjs +0 -3
  174. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  175. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  176. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  177. package/esm2022/components/input-copy/index.mjs +0 -5
  178. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  179. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  180. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  181. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  182. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  183. package/esm2022/components/input-date/index.mjs +0 -4
  184. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  185. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  186. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  187. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  188. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  189. package/esm2022/components/input-date-multi/index.mjs +0 -3
  190. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  191. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  192. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  193. package/esm2022/components/input-date-range/index.mjs +0 -4
  194. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  195. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  196. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  197. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  198. package/esm2022/components/input-date-time/index.mjs +0 -4
  199. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  200. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  201. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  202. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  203. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  204. package/esm2022/components/input-month/index.mjs +0 -4
  205. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  206. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  207. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  208. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  209. package/esm2022/components/input-month-range/index.mjs +0 -4
  210. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  211. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  212. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  213. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  214. package/esm2022/components/input-number/index.mjs +0 -5
  215. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  216. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  217. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  218. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  219. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  220. package/esm2022/components/input-password/index.mjs +0 -5
  221. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  222. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  223. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  224. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  225. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  226. package/esm2022/components/input-phone/index.mjs +0 -5
  227. package/esm2022/components/input-phone/input-phone.component.mjs +0 -216
  228. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -34
  229. package/esm2022/components/input-phone/input-phone.module.mjs +0 -44
  230. package/esm2022/components/input-phone/input-phone.options.mjs +0 -18
  231. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  232. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  233. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  234. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  235. package/esm2022/components/input-phone-international/index.mjs +0 -4
  236. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  237. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  238. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  239. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  240. package/esm2022/components/input-range/index.mjs +0 -3
  241. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  242. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  243. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  244. package/esm2022/components/input-slider/index.mjs +0 -3
  245. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  246. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  247. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  248. package/esm2022/components/input-tag/index.mjs +0 -4
  249. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  250. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  251. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  252. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  253. package/esm2022/components/input-time/index.mjs +0 -5
  254. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  255. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  256. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  257. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  258. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  259. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  260. package/esm2022/components/input-year/index.mjs +0 -4
  261. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  262. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  263. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  264. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  265. package/esm2022/components/island/index.mjs +0 -2
  266. package/esm2022/components/island/island.directive.mjs +0 -62
  267. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  268. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  269. package/esm2022/components/multi-select/index.mjs +0 -11
  270. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  271. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  272. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  273. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  274. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  275. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  276. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  277. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  278. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  279. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  280. package/esm2022/components/multi-select-option/index.mjs +0 -3
  281. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  282. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  283. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  284. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  285. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  286. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  287. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  288. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  289. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  290. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  291. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  292. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  293. package/esm2022/components/select/index.mjs +0 -7
  294. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  295. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  296. package/esm2022/components/select/select.component.mjs +0 -119
  297. package/esm2022/components/select/select.directive.mjs +0 -34
  298. package/esm2022/components/select/select.module.mjs +0 -87
  299. package/esm2022/components/select/select.options.mjs +0 -24
  300. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  301. package/esm2022/components/select-option/index.mjs +0 -3
  302. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  303. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  304. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  305. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  306. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  307. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  308. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  309. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  310. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  311. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  312. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  313. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  314. package/esm2022/components/sheet/index.mjs +0 -14
  315. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  316. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  317. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  318. package/esm2022/components/sheet/sheet.mjs +0 -2
  319. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  320. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  321. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  322. package/esm2022/components/svg/content-processor.mjs +0 -41
  323. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  324. package/esm2022/components/svg/index.mjs +0 -6
  325. package/esm2022/components/svg/svg-options.mjs +0 -83
  326. package/esm2022/components/svg/svg.component.mjs +0 -150
  327. package/esm2022/components/svg/svg.service.mjs +0 -64
  328. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  329. package/esm2022/components/table-bar/index.mjs +0 -5
  330. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  331. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  332. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  333. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  334. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  335. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  336. package/esm2022/components/tag/index.mjs +0 -4
  337. package/esm2022/components/tag/tag.component.mjs +0 -158
  338. package/esm2022/components/tag/tag.module.mjs +0 -42
  339. package/esm2022/components/tag/tag.options.mjs +0 -26
  340. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  341. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  342. package/esm2022/components/textarea/index.mjs +0 -4
  343. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  344. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  345. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  346. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  347. package/esm2022/components/tooltip/index.mjs +0 -3
  348. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  349. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  350. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  351. package/esm2022/directives/index.mjs +0 -6
  352. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  353. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  354. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  355. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  356. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  357. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  358. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  359. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  360. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  361. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  362. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  363. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  364. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  365. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  366. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  367. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  368. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  369. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  370. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  371. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  372. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  373. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  374. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  375. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  376. package/esm2022/directives/value-accessor/index.mjs +0 -4
  377. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  378. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  379. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  380. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  381. package/esm2022/directives/wrapper/index.mjs +0 -3
  382. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  383. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  384. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  385. package/esm2022/index.mjs +0 -8
  386. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  387. package/esm2022/pipes/format-phone/index.mjs +0 -2
  388. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  389. package/esm2022/pipes/index.mjs +0 -4
  390. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  391. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  392. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  393. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  394. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  395. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  396. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  397. package/esm2022/services/index.mjs +0 -2
  398. package/esm2022/services/static-request.service.mjs +0 -36
  399. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  400. package/esm2022/taiga-ui-legacy.mjs +0 -5
  401. package/esm2022/tokens/countries-masks.mjs +0 -257
  402. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  403. package/esm2022/tokens/fonts-ready.mjs +0 -10
  404. package/esm2022/tokens/icons.mjs +0 -9
  405. package/esm2022/tokens/index.mjs +0 -15
  406. package/esm2022/tokens/is-apple.mjs +0 -11
  407. package/esm2022/tokens/is-chromium.mjs +0 -10
  408. package/esm2022/tokens/is-firefox.mjs +0 -11
  409. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  410. package/esm2022/tokens/month-formatter.mjs +0 -18
  411. package/esm2022/tokens/sanitizer.mjs +0 -7
  412. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  413. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  414. package/esm2022/tokens/textfield-host.mjs +0 -14
  415. package/esm2022/tokens/touch-supported.mjs +0 -9
  416. package/esm2022/tokens/value-accessor.mjs +0 -7
  417. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  418. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  419. package/esm2022/utils/format-phone.mjs +0 -60
  420. package/esm2022/utils/get-border.mjs +0 -23
  421. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  422. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  423. package/esm2022/utils/icons-path-factory.mjs +0 -22
  424. package/esm2022/utils/index.mjs +0 -14
  425. package/esm2022/utils/is-apple.mjs +0 -6
  426. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  427. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  428. package/esm2022/utils/not-kz-region.mjs +0 -24
  429. package/esm2022/utils/process-icon.mjs +0 -34
  430. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  431. package/esm2022/utils/status.mjs +0 -2
  432. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  433. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  434. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  435. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  436. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  437. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  438. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  439. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  440. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
@@ -1,187 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, Component, ChangeDetectionStrategy, ViewChild, Directive, NgModule } from '@angular/core';
3
- import * as i1 from '@taiga-ui/core/directives/hint';
4
- import { TuiHintOptionsDirective, TuiHint } from '@taiga-ui/core/directives/hint';
5
- import { TUI_PASSWORD_TEXTS } from '@taiga-ui/kit/tokens';
6
- import { AbstractTuiControl, tuiAsControl, AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
7
- import * as i4 from '@taiga-ui/legacy/components/primitive-textfield';
8
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldComponent } from '@taiga-ui/legacy/components/primitive-textfield';
9
- import * as i5 from '@taiga-ui/legacy/directives';
10
- import { TUI_TEXTFIELD_SIZE, TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives';
11
- import { tuiAsFocusableItemAccessor, tuiAsTextfieldHost } from '@taiga-ui/legacy/tokens';
12
- import { EMPTY, startWith, map } from 'rxjs';
13
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
14
- import * as i2 from '@angular/common';
15
- import { CommonModule } from '@angular/common';
16
- import * as i3 from '@taiga-ui/polymorpheus';
17
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
18
- import * as i6 from '@taiga-ui/core/directives/appearance';
19
- import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
20
- import * as i7 from '@taiga-ui/core/components/icon';
21
- import { TuiIcon } from '@taiga-ui/core/components/icon';
22
- import { tuiIsInput } from '@taiga-ui/cdk/utils/dom';
23
- import { FormsModule } from '@angular/forms';
24
-
25
- /**
26
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
27
- */
28
- const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS = {
29
- icons: {
30
- hide: () => '@tui.eye',
31
- show: () => '@tui.eye-off',
32
- },
33
- };
34
- /**
35
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
36
- */
37
- const TUI_INPUT_PASSWORD_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_PASSWORD_OPTIONS' : '', {
38
- factory: () => TUI_INPUT_PASSWORD_DEFAULT_OPTIONS,
39
- });
40
- /**
41
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
42
- */
43
- function tuiInputPasswordOptionsProvider(options) {
44
- return tuiProvideOptions(TUI_INPUT_PASSWORD_OPTIONS, options, TUI_INPUT_PASSWORD_DEFAULT_OPTIONS);
45
- }
46
-
47
- /**
48
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
49
- */
50
- class TuiInputPasswordComponent extends AbstractTuiControl {
51
- constructor() {
52
- super(...arguments);
53
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
54
- this.hintOptions = inject(TuiHintOptionsDirective, { optional: true });
55
- this.directive$ = this.hintOptions?.change$ || EMPTY;
56
- this.isPasswordHidden = true;
57
- this.computedAppearance$ = this.directive$.pipe(startWith(null), map(() => this.hintOptions?.appearance || ''), startWith(''));
58
- this.passwordTexts$ = inject(TUI_PASSWORD_TEXTS);
59
- this.options = inject(TUI_INPUT_PASSWORD_OPTIONS);
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
- get inputType() {
70
- return this.isPasswordHidden || this.computedDisabled ? 'password' : 'text';
71
- }
72
- onValueChange(textValue) {
73
- this.value = textValue;
74
- }
75
- get size() {
76
- return this.textfieldSize.size;
77
- }
78
- get icon() {
79
- return this.isPasswordHidden ? this.options.icons.show : this.options.icons.hide;
80
- }
81
- onFocused(focused) {
82
- this.updateFocused(focused);
83
- }
84
- togglePasswordVisibility() {
85
- this.isPasswordHidden = !this.isPasswordHidden;
86
- }
87
- getFallbackValue() {
88
- return '';
89
- }
90
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPasswordComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
91
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputPasswordComponent, selector: "tui-input-password", host: { properties: { "attr.data-size": "size" } }, providers: [
92
- tuiAsFocusableItemAccessor(TuiInputPasswordComponent),
93
- tuiAsControl(TuiInputPasswordComponent),
94
- ], 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]=\"!computedDisabled ? 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\n #iconContent=\"polymorpheus\"\n [polymorpheus]=\"type\"\n>\n <ng-container *ngIf=\"passwordTexts$ | async as texts\">\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-password__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiHint]=\"texts[0] && texts[1] && hintContent\"\n [tuiHintAppearance]=\"(computedAppearance$ | async) || ''\"\n [tuiHintDirection]=\"hintOptions?.direction || 'bottom-left'\"\n (click)=\"togglePasswordVisibility()\"\n (mousedown.zoneless.prevent)=\"(0)\"\n (mouseup.zoneless.prevent)=\"(0)\"\n />\n\n <ng-template\n #hintContent=\"polymorpheus\"\n polymorpheus\n >\n {{ isPasswordHidden ? texts[0] : texts[1] }}\n </ng-template>\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{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.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"], outputs: ["tuiHintVisible"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i3.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { kind: "component", type: i4.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i4.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i5.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i6.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i7.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
95
- }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPasswordComponent, decorators: [{
97
- type: Component,
98
- args: [{ standalone: false, selector: 'tui-input-password', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
99
- tuiAsFocusableItemAccessor(TuiInputPasswordComponent),
100
- tuiAsControl(TuiInputPasswordComponent),
101
- ], host: {
102
- '[attr.data-size]': 'size',
103
- }, 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]=\"!computedDisabled ? 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\n #iconContent=\"polymorpheus\"\n [polymorpheus]=\"type\"\n>\n <ng-container *ngIf=\"passwordTexts$ | async as texts\">\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-password__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiHint]=\"texts[0] && texts[1] && hintContent\"\n [tuiHintAppearance]=\"(computedAppearance$ | async) || ''\"\n [tuiHintDirection]=\"hintOptions?.direction || 'bottom-left'\"\n (click)=\"togglePasswordVisibility()\"\n (mousedown.zoneless.prevent)=\"(0)\"\n (mouseup.zoneless.prevent)=\"(0)\"\n />\n\n <ng-template\n #hintContent=\"polymorpheus\"\n polymorpheus\n >\n {{ isPasswordHidden ? texts[0] : texts[1] }}\n </ng-template>\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{cursor:pointer;pointer-events:auto}.t-icon_small{border-width:.25rem}.t-textfield{border-radius:inherit;text-align:inherit}\n"] }]
104
- }], propDecorators: { textfield: [{
105
- type: ViewChild,
106
- args: [TuiPrimitiveTextfieldComponent]
107
- }] } });
108
-
109
- /**
110
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
111
- */
112
- class TuiInputPasswordDirective extends AbstractTuiTextfieldHost {
113
- onValueChange(value) {
114
- this.host.onValueChange(value);
115
- }
116
- process(input) {
117
- this.input = input;
118
- }
119
- ngDoCheck() {
120
- if (this.host.nativeFocusableElement &&
121
- tuiIsInput(this.host.nativeFocusableElement)) {
122
- this.host.nativeFocusableElement.type = this.host.inputType;
123
- }
124
- }
125
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPasswordDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
126
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputPasswordDirective, selector: "tui-input-password", providers: [tuiAsTextfieldHost(TuiInputPasswordDirective)], usesInheritance: true, ngImport: i0 }); }
127
- }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPasswordDirective, decorators: [{
129
- type: Directive,
130
- args: [{
131
- standalone: false,
132
- selector: 'tui-input-password',
133
- providers: [tuiAsTextfieldHost(TuiInputPasswordDirective)],
134
- }]
135
- }] });
136
-
137
- /**
138
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
139
- */
140
- class TuiInputPasswordModule {
141
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
142
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPasswordModule, declarations: [TuiInputPasswordComponent, TuiInputPasswordDirective], imports: [i1.TuiHintComponent, i1.TuiHintDirective, i1.TuiHintOptionsDirective, i1.TuiHintUnstyled, i1.TuiHintDriver, i1.TuiHintPosition, i1.TuiHintHover, i1.TuiHintOverflow, i1.TuiHintDescribe, i1.TuiHintHost, i1.TuiHintManual, i1.TuiHintPointer, CommonModule,
143
- FormsModule,
144
- PolymorpheusOutlet,
145
- PolymorpheusTemplate,
146
- TuiPrimitiveTextfieldModule,
147
- TuiTextfieldControllerModule,
148
- TuiAppearance,
149
- TuiIcon], exports: [TuiInputPasswordComponent,
150
- TuiInputPasswordDirective,
151
- TuiTextfieldComponent, i1.TuiHintComponent, i1.TuiHintDirective, i1.TuiHintOptionsDirective, i1.TuiHintUnstyled, i1.TuiHintDriver, i1.TuiHintPosition, i1.TuiHintHover, i1.TuiHintOverflow, i1.TuiHintDescribe, i1.TuiHintHost, i1.TuiHintManual, i1.TuiHintPointer] }); }
152
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPasswordModule, imports: [i1.TuiHintComponent, CommonModule,
153
- FormsModule,
154
- TuiPrimitiveTextfieldModule,
155
- TuiTextfieldControllerModule,
156
- TuiIcon] }); }
157
- }
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPasswordModule, decorators: [{
159
- type: NgModule,
160
- args: [{
161
- imports: [
162
- ...TuiHint,
163
- CommonModule,
164
- FormsModule,
165
- PolymorpheusOutlet,
166
- PolymorpheusTemplate,
167
- TuiPrimitiveTextfieldModule,
168
- TuiTextfieldControllerModule,
169
- TuiAppearance,
170
- TuiIcon,
171
- ],
172
- declarations: [TuiInputPasswordComponent, TuiInputPasswordDirective],
173
- exports: [
174
- TuiInputPasswordComponent,
175
- TuiInputPasswordDirective,
176
- TuiTextfieldComponent,
177
- ...TuiHint,
178
- ],
179
- }]
180
- }] });
181
-
182
- /**
183
- * Generated bundle index. Do not edit.
184
- */
185
-
186
- export { TUI_INPUT_PASSWORD_DEFAULT_OPTIONS, TUI_INPUT_PASSWORD_OPTIONS, TuiInputPasswordComponent, TuiInputPasswordDirective, TuiInputPasswordModule, tuiInputPasswordOptionsProvider };
187
- //# sourceMappingURL=taiga-ui-legacy-components-input-password.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-password.mjs","sources":["../../../projects/legacy/components/input-password/input-password.options.ts","../../../projects/legacy/components/input-password/input-password.component.ts","../../../projects/legacy/components/input-password/input-password.template.html","../../../projects/legacy/components/input-password/input-password.directive.ts","../../../projects/legacy/components/input-password/input-password.module.ts","../../../projects/legacy/components/input-password/taiga-ui-legacy-components-input-password.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 TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\nexport interface TuiInputPasswordOptions {\n readonly icons: Readonly<{\n hide: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n show: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n }>;\n}\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\nexport const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions = {\n icons: {\n hide: () => '@tui.eye',\n show: () => '@tui.eye-off',\n },\n};\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\nexport const TUI_INPUT_PASSWORD_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_PASSWORD_OPTIONS' : '',\n {\n factory: () => TUI_INPUT_PASSWORD_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\nexport function tuiInputPasswordOptionsProvider(\n options: Partial<TuiInputPasswordOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_PASSWORD_OPTIONS,\n options,\n TUI_INPUT_PASSWORD_DEFAULT_OPTIONS,\n );\n}\n","import {ChangeDetectionStrategy, Component, inject, ViewChild} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {TuiHintOptionsDirective} from '@taiga-ui/core/directives/hint';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {TUI_PASSWORD_TEXTS} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_TEXTFIELD_SIZE} 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 {EMPTY, map, type Observable, startWith} from 'rxjs';\n\nimport {TUI_INPUT_PASSWORD_OPTIONS} from './input-password.options';\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\n@Component({\n standalone: false,\n selector: 'tui-input-password',\n templateUrl: './input-password.template.html',\n styleUrls: ['./input-password.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputPasswordComponent),\n tuiAsControl(TuiInputPasswordComponent),\n ],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiInputPasswordComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n protected readonly hintOptions = inject(TuiHintOptionsDirective, {optional: true});\n protected readonly directive$: Observable<any> = this.hintOptions?.change$ || EMPTY;\n\n protected isPasswordHidden = true;\n\n protected readonly computedAppearance$: Observable<string> = this.directive$.pipe(\n startWith(null),\n map(() => this.hintOptions?.appearance || ''),\n startWith(''),\n );\n\n protected readonly passwordTexts$ = inject(TUI_PASSWORD_TEXTS);\n protected readonly options = inject(TUI_INPUT_PASSWORD_OPTIONS);\n protected readonly type!: TuiContext<TuiSizeL | TuiSizeS>;\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 get inputType(): string {\n return this.isPasswordHidden || this.computedDisabled ? 'password' : 'text';\n }\n\n public onValueChange(textValue: string): void {\n this.value = textValue;\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>> {\n return this.isPasswordHidden ? this.options.icons.show : this.options.icons.hide;\n }\n\n protected onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected togglePasswordVisibility(): void {\n this.isPasswordHidden = !this.isPasswordHidden;\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]=\"!computedDisabled ? 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\n #iconContent=\"polymorpheus\"\n [polymorpheus]=\"type\"\n>\n <ng-container *ngIf=\"passwordTexts$ | async as texts\">\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n automation-id=\"tui-password__icon\"\n tuiAppearance=\"icon\"\n class=\"t-icon\"\n [class.t-icon_small]=\"size === 's'\"\n [icon]=\"src.toString()\"\n [tuiHint]=\"texts[0] && texts[1] && hintContent\"\n [tuiHintAppearance]=\"(computedAppearance$ | async) || ''\"\n [tuiHintDirection]=\"hintOptions?.direction || 'bottom-left'\"\n (click)=\"togglePasswordVisibility()\"\n (mousedown.zoneless.prevent)=\"(0)\"\n (mouseup.zoneless.prevent)=\"(0)\"\n />\n\n <ng-template\n #hintContent=\"polymorpheus\"\n polymorpheus\n >\n {{ isPasswordHidden ? texts[0] : texts[1] }}\n </ng-template>\n </ng-container>\n</ng-template>\n","import {Directive, type DoCheck} from '@angular/core';\nimport {tuiIsInput} from '@taiga-ui/cdk/utils/dom';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiInputPasswordComponent} from './input-password.component';\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\n@Directive({\n standalone: false,\n selector: 'tui-input-password',\n providers: [tuiAsTextfieldHost(TuiInputPasswordDirective)],\n})\nexport class TuiInputPasswordDirective\n extends AbstractTuiTextfieldHost<TuiInputPasswordComponent>\n implements DoCheck\n{\n protected input?: HTMLInputElement;\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n public override process(input: HTMLInputElement): void {\n this.input = input;\n }\n\n public ngDoCheck(): void {\n if (\n this.host.nativeFocusableElement &&\n tuiIsInput(this.host.nativeFocusableElement)\n ) {\n this.host.nativeFocusableElement.type = this.host.inputType;\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\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 {TuiInputPasswordComponent} from './input-password.component';\nimport {TuiInputPasswordDirective} from './input-password.directive';\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\n@NgModule({\n imports: [\n ...TuiHint,\n CommonModule,\n FormsModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiAppearance,\n TuiIcon,\n ],\n declarations: [TuiInputPasswordComponent, TuiInputPasswordDirective],\n exports: [\n TuiInputPasswordComponent,\n TuiInputPasswordDirective,\n TuiTextfieldComponent,\n ...TuiHint,\n ],\n})\nexport class TuiInputPasswordModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAgBA;;AAEG;AACU,MAAA,kCAAkC,GAA4B;AACvE,IAAA,KAAK,EAAE;AACH,QAAA,IAAI,EAAE,MAAM,UAAU;AACtB,QAAA,IAAI,EAAE,MAAM,cAAc;AAC7B,KAAA;EACH;AAEF;;AAEG;AACU,MAAA,0BAA0B,GAAG,IAAI,cAAc,CACxD,SAAS,GAAG,4BAA4B,GAAG,EAAE,EAC7C;AACI,IAAA,OAAO,EAAE,MAAM,kCAAkC;AACpD,CAAA,EACH;AAEF;;AAEG;AACG,SAAU,+BAA+B,CAC3C,OAAyC,EAAA;IAEzC,OAAO,iBAAiB,CACpB,0BAA0B,EAC1B,OAAO,EACP,kCAAkC,CACrC,CAAC;AACN;;AC7BA;;AAEG;AACH,MAca,yBACT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,uBAAA,EAAA,EAAA,CAAA,eAAA,EAAA,EAAA,CAAA,aAAA,EAAA,EAAA,CAAA,eAAA,EAAA,EAAA,CAAA,YAAA,EAAA,EAAA,CAAA,eAAA,EAAA,EAAA,CAAA,eAAA,EAAA,EAAA,CAAA,WAAA,EAAA,EAAA,CAAA,aAAA,EAAA,EAAA,CAAA,cAAA,CAAA,EAAA,CAAA,CAAA,EAAA;AAIhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,iCAjB3B,YAAY;YACZ,WAAW;YAGX,2BAA2B;YAC3B,4BAA4B;YAE5B,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAUF,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBApBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;AACL,wBAAA,GAAG,OAAO;wBACV,YAAY;wBACZ,WAAW;wBACX,kBAAkB;wBAClB,oBAAoB;wBACpB,2BAA2B;wBAC3B,4BAA4B;wBAC5B,aAAa;wBACb,OAAO;AACV,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;AACpE,oBAAA,OAAO,EAAE;wBACL,yBAAyB;wBACzB,yBAAyB;wBACzB,qBAAqB;AACrB,wBAAA,GAAG,OAAO;AACb,qBAAA;AACJ,iBAAA,CAAA;;;ACtCD;;AAEG;;;;"}
@@ -1,68 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Directive, Input } from '@angular/core';
3
-
4
- /**
5
- * @deprecated: drop in v5.0 use {@link TuiCardLarge}
6
- * https://taiga-ui.dev/layout/card-large
7
- */
8
- class TuiIslandDirective {
9
- constructor() {
10
- this.size = 'm';
11
- this.textAlign = 'left';
12
- this.hoverable = false;
13
- this.transparent = false;
14
- }
15
- get sizeS() {
16
- return this.size === 's';
17
- }
18
- get sizeM() {
19
- return this.size === 'm';
20
- }
21
- get sizeL() {
22
- return this.size === 'l';
23
- }
24
- get textAlignLeft() {
25
- return this.textAlign === 'left';
26
- }
27
- get textAlignCenter() {
28
- return this.textAlign === 'center';
29
- }
30
- get textAlignRight() {
31
- return this.textAlign === 'right';
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIslandDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiIslandDirective, isStandalone: true, selector: "tui-island, a[tuiIsland]", inputs: { size: "size", textAlign: "textAlign", hoverable: "hoverable", transparent: "transparent" }, host: { properties: { "class.tui-island_hoverable": "hoverable", "class.tui-island_transparent": "transparent", "class.tui-island_size_s": "sizeS", "class.tui-island_size_m": "sizeM", "class.tui-island_size_l": "sizeL", "class.tui-island_text-align_left": "textAlignLeft", "class.tui-island_text-align_center": "textAlignCenter", "class.tui-island_text-align_right": "textAlignRight" }, classAttribute: "tui-island" }, ngImport: i0 }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiIslandDirective, decorators: [{
37
- type: Directive,
38
- args: [{
39
- standalone: true,
40
- selector: 'tui-island, a[tuiIsland]',
41
- host: {
42
- class: 'tui-island',
43
- '[class.tui-island_hoverable]': 'hoverable',
44
- '[class.tui-island_transparent]': 'transparent',
45
- '[class.tui-island_size_s]': 'sizeS',
46
- '[class.tui-island_size_m]': 'sizeM',
47
- '[class.tui-island_size_l]': 'sizeL',
48
- '[class.tui-island_text-align_left]': 'textAlignLeft',
49
- '[class.tui-island_text-align_center]': 'textAlignCenter',
50
- '[class.tui-island_text-align_right]': 'textAlignRight',
51
- },
52
- }]
53
- }], propDecorators: { size: [{
54
- type: Input
55
- }], textAlign: [{
56
- type: Input
57
- }], hoverable: [{
58
- type: Input
59
- }], transparent: [{
60
- type: Input
61
- }] } });
62
-
63
- /**
64
- * Generated bundle index. Do not edit.
65
- */
66
-
67
- export { TuiIslandDirective };
68
- //# sourceMappingURL=taiga-ui-legacy-components-island.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-island.mjs","sources":["../../../projects/legacy/components/island/island.directive.ts","../../../projects/legacy/components/island/taiga-ui-legacy-components-island.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiCardLarge}\n * https://taiga-ui.dev/layout/card-large\n */\n@Directive({\n standalone: true,\n selector: 'tui-island, a[tuiIsland]',\n host: {\n class: 'tui-island',\n '[class.tui-island_hoverable]': 'hoverable',\n '[class.tui-island_transparent]': 'transparent',\n '[class.tui-island_size_s]': 'sizeS',\n '[class.tui-island_size_m]': 'sizeM',\n '[class.tui-island_size_l]': 'sizeL',\n '[class.tui-island_text-align_left]': 'textAlignLeft',\n '[class.tui-island_text-align_center]': 'textAlignCenter',\n '[class.tui-island_text-align_right]': 'textAlignRight',\n },\n})\nexport class TuiIslandDirective {\n @Input()\n public size: TuiSizeL | TuiSizeS = 'm';\n\n @Input()\n public textAlign: 'center' | 'left' | 'right' = 'left';\n\n @Input()\n public hoverable = false;\n\n @Input()\n public transparent = false;\n\n protected get sizeS(): boolean {\n return this.size === 's';\n }\n\n protected get sizeM(): boolean {\n return this.size === 'm';\n }\n\n protected get sizeL(): boolean {\n return this.size === 'l';\n }\n\n protected get textAlignLeft(): boolean {\n return this.textAlign === 'left';\n }\n\n protected get textAlignCenter(): boolean {\n return this.textAlign === 'center';\n }\n\n protected get textAlignRight(): boolean {\n return this.textAlign === 'right';\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAG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