@taiga-ui/legacy 4.65.0 → 5.0.0-rc.0

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 (693) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +20 -0
  3. package/components/dialog/dialog.directive.d.ts +8 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +30 -0
  6. package/components/dialog/dialog.service.d.ts +10 -0
  7. package/components/dialog/dialog.tokens.d.ts +6 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +3 -33
  10. package/components/mobile-dialog/index.d.ts +3 -0
  11. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  12. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  13. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  14. package/components/pdf-viewer/index.d.ts +4 -0
  15. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  16. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  17. package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
  18. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  19. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
  20. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  21. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  22. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  23. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
  24. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  25. package/fesm2022/taiga-ui-legacy-components.mjs +3 -33
  26. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy.mjs +85 -6
  28. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  29. package/index.d.ts +1 -6
  30. package/package.json +22 -291
  31. package/pure.d.ts +23 -0
  32. package/classes/abstract-native-select.d.ts +0 -22
  33. package/classes/abstract-textfield-host.d.ts +0 -19
  34. package/classes/control.d.ts +0 -60
  35. package/classes/controller.d.ts +0 -9
  36. package/classes/index.d.ts +0 -9
  37. package/classes/interactive.d.ts +0 -34
  38. package/classes/multiple-control.d.ts +0 -11
  39. package/classes/named-day.d.ts +0 -11
  40. package/classes/nullable-control.d.ts +0 -10
  41. package/classes/stringifiable-item.d.ts +0 -11
  42. package/components/arrow/arrow.component.d.ts +0 -17
  43. package/components/arrow/arrow.options.d.ts +0 -19
  44. package/components/arrow/arrow.providers.d.ts +0 -23
  45. package/components/arrow/index.d.ts +0 -3
  46. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  47. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  48. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  49. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  50. package/components/color-selector/color-selector.component.d.ts +0 -47
  51. package/components/color-selector/color-selector.module.d.ts +0 -24
  52. package/components/color-selector/color-selector.options.d.ts +0 -25
  53. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  54. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  55. package/components/color-selector/index.d.ts +0 -16
  56. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  57. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  58. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  59. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  60. package/components/color-selector/palette/palette.component.d.ts +0 -10
  61. package/components/color-selector/palette/palette.module.d.ts +0 -13
  62. package/components/color-selector/services/picker.service.d.ts +0 -15
  63. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  64. package/components/combo-box/combo-box.component.d.ts +0 -52
  65. package/components/combo-box/combo-box.directive.d.ts +0 -13
  66. package/components/combo-box/combo-box.module.d.ts +0 -20
  67. package/components/combo-box/index.d.ts +0 -4
  68. package/components/input/index.d.ts +0 -3
  69. package/components/input/input.component.d.ts +0 -32
  70. package/components/input/input.directive.d.ts +0 -12
  71. package/components/input/input.module.d.ts +0 -16
  72. package/components/input-color/index.d.ts +0 -2
  73. package/components/input-color/input-color.component.d.ts +0 -30
  74. package/components/input-color/input-color.module.d.ts +0 -17
  75. package/components/input-copy/index.d.ts +0 -4
  76. package/components/input-copy/input-copy.component.d.ts +0 -33
  77. package/components/input-copy/input-copy.directive.d.ts +0 -11
  78. package/components/input-copy/input-copy.module.d.ts +0 -18
  79. package/components/input-copy/input-copy.options.d.ts +0 -26
  80. package/components/input-date/index.d.ts +0 -3
  81. package/components/input-date/input-date.component.d.ts +0 -62
  82. package/components/input-date/input-date.directive.d.ts +0 -19
  83. package/components/input-date/input-date.module.d.ts +0 -24
  84. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  85. package/components/input-date-multi/index.d.ts +0 -2
  86. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  87. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  88. package/components/input-date-range/index.d.ts +0 -3
  89. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  90. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  91. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  92. package/components/input-date-time/index.d.ts +0 -3
  93. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  94. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  95. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  96. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  97. package/components/input-month/index.d.ts +0 -3
  98. package/components/input-month/input-month.component.d.ts +0 -44
  99. package/components/input-month/input-month.directive.d.ts +0 -19
  100. package/components/input-month/input-month.module.d.ts +0 -19
  101. package/components/input-month-range/index.d.ts +0 -3
  102. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  103. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  104. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  105. package/components/input-number/index.d.ts +0 -4
  106. package/components/input-number/input-number.component.d.ts +0 -63
  107. package/components/input-number/input-number.directive.d.ts +0 -16
  108. package/components/input-number/input-number.module.d.ts +0 -18
  109. package/components/input-number/input-number.options.d.ts +0 -29
  110. package/components/input-password/index.d.ts +0 -4
  111. package/components/input-password/input-password.component.d.ts +0 -33
  112. package/components/input-password/input-password.directive.d.ts +0 -15
  113. package/components/input-password/input-password.module.d.ts +0 -19
  114. package/components/input-password/input-password.options.d.ts +0 -25
  115. package/components/input-phone/index.d.ts +0 -4
  116. package/components/input-phone/input-phone.component.d.ts +0 -52
  117. package/components/input-phone/input-phone.directive.d.ts +0 -16
  118. package/components/input-phone/input-phone.module.d.ts +0 -15
  119. package/components/input-phone/input-phone.options.d.ts +0 -22
  120. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  121. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  122. package/components/input-phone/utils/index.d.ts +0 -2
  123. package/components/input-phone-international/index.d.ts +0 -3
  124. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  125. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  126. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  127. package/components/input-range/index.d.ts +0 -2
  128. package/components/input-range/input-range.component.d.ts +0 -56
  129. package/components/input-range/input-range.module.d.ts +0 -19
  130. package/components/input-slider/index.d.ts +0 -2
  131. package/components/input-slider/input-slider.component.d.ts +0 -42
  132. package/components/input-slider/input-slider.module.d.ts +0 -18
  133. package/components/input-tag/index.d.ts +0 -3
  134. package/components/input-tag/input-tag.component.d.ts +0 -103
  135. package/components/input-tag/input-tag.module.d.ts +0 -22
  136. package/components/input-tag/input-tag.options.d.ts +0 -27
  137. package/components/input-time/index.d.ts +0 -4
  138. package/components/input-time/input-time.component.d.ts +0 -62
  139. package/components/input-time/input-time.directive.d.ts +0 -17
  140. package/components/input-time/input-time.module.d.ts +0 -23
  141. package/components/input-time/input-time.options.d.ts +0 -42
  142. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  143. package/components/input-year/index.d.ts +0 -3
  144. package/components/input-year/input-year.component.d.ts +0 -36
  145. package/components/input-year/input-year.directive.d.ts +0 -14
  146. package/components/input-year/input-year.module.d.ts +0 -18
  147. package/components/island/index.d.ts +0 -1
  148. package/components/island/island.directive.d.ts +0 -20
  149. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  150. package/components/multi-select/index.d.ts +0 -10
  151. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  152. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  153. package/components/multi-select/multi-select.component.d.ts +0 -71
  154. package/components/multi-select/multi-select.directive.d.ts +0 -14
  155. package/components/multi-select/multi-select.module.d.ts +0 -31
  156. package/components/multi-select/multi-select.options.d.ts +0 -14
  157. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  158. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  159. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  160. package/components/multi-select-option/index.d.ts +0 -2
  161. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  162. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  163. package/components/primitive-textfield/index.d.ts +0 -7
  164. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  165. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  166. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  167. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  168. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  169. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  170. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  171. package/components/select/index.d.ts +0 -6
  172. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  173. package/components/select/native-select/native-select.component.d.ts +0 -16
  174. package/components/select/select.component.d.ts +0 -45
  175. package/components/select/select.directive.d.ts +0 -16
  176. package/components/select/select.module.d.ts +0 -24
  177. package/components/select/select.options.d.ts +0 -25
  178. package/components/select-option/index.d.ts +0 -2
  179. package/components/select-option/select-option.component.d.ts +0 -27
  180. package/components/select-option/select-option.module.d.ts +0 -10
  181. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  182. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  183. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  184. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  185. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  186. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  187. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  188. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  189. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  190. package/components/sheet/index.d.ts +0 -14
  191. package/components/sheet/sheet-options.d.ts +0 -27
  192. package/components/sheet/sheet-tokens.d.ts +0 -18
  193. package/components/sheet/sheet.d.ts +0 -21
  194. package/components/sheet/sheet.directive.d.ts +0 -17
  195. package/components/sheet/sheet.module.d.ts +0 -24
  196. package/components/sheet/sheet.service.d.ts +0 -17
  197. package/components/svg/content-processor.d.ts +0 -19
  198. package/components/svg/deprecated-icons.d.ts +0 -5
  199. package/components/svg/index.d.ts +0 -5
  200. package/components/svg/svg-options.d.ts +0 -50
  201. package/components/svg/svg.component.d.ts +0 -50
  202. package/components/svg/svg.service.d.ts +0 -21
  203. package/components/table-bar/index.d.ts +0 -4
  204. package/components/table-bar/table-bar.component.d.ts +0 -17
  205. package/components/table-bar/table-bar.directive.d.ts +0 -11
  206. package/components/table-bar/table-bar.options.d.ts +0 -31
  207. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  208. package/components/table-bar/table-bars.service.d.ts +0 -11
  209. package/components/tag/index.d.ts +0 -3
  210. package/components/tag/tag.component.d.ts +0 -44
  211. package/components/tag/tag.module.d.ts +0 -16
  212. package/components/tag/tag.options.d.ts +0 -27
  213. package/components/textarea/index.d.ts +0 -3
  214. package/components/textarea/textarea.component.d.ts +0 -54
  215. package/components/textarea/textarea.directive.d.ts +0 -12
  216. package/components/textarea/textarea.module.d.ts +0 -21
  217. package/components/tooltip/index.d.ts +0 -2
  218. package/components/tooltip/tooltip.component.d.ts +0 -12
  219. package/components/tooltip/tooltip.module.d.ts +0 -13
  220. package/directives/index.d.ts +0 -5
  221. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  222. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  223. package/directives/textfield-controller/index.d.ts +0 -14
  224. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  225. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  226. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  227. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  228. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  229. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  230. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  231. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  232. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  233. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  234. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  235. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  236. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  237. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  238. package/directives/unfinished-validator/index.d.ts +0 -2
  239. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  240. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  241. package/directives/value-accessor/index.d.ts +0 -3
  242. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  243. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  244. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  245. package/directives/wrapper/README.md +0 -19
  246. package/directives/wrapper/index.d.ts +0 -2
  247. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  248. package/directives/wrapper/wrapper.module.d.ts +0 -10
  249. package/esm2022/classes/abstract-native-select.mjs +0 -49
  250. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  251. package/esm2022/classes/control.mjs +0 -181
  252. package/esm2022/classes/controller.mjs +0 -18
  253. package/esm2022/classes/index.mjs +0 -10
  254. package/esm2022/classes/interactive.mjs +0 -82
  255. package/esm2022/classes/multiple-control.mjs +0 -21
  256. package/esm2022/classes/named-day.mjs +0 -14
  257. package/esm2022/classes/nullable-control.mjs +0 -18
  258. package/esm2022/classes/stringifiable-item.mjs +0 -14
  259. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  260. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  261. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  262. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  263. package/esm2022/components/arrow/index.mjs +0 -4
  264. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  265. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  266. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  267. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  268. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  269. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  270. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  271. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  272. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  273. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  274. package/esm2022/components/color-selector/index.mjs +0 -17
  275. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  276. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  277. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  278. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  279. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  280. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  281. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  282. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  283. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  284. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  285. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  286. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  287. package/esm2022/components/combo-box/index.mjs +0 -5
  288. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  289. package/esm2022/components/index.mjs +0 -34
  290. package/esm2022/components/input/index.mjs +0 -4
  291. package/esm2022/components/input/input.component.mjs +0 -97
  292. package/esm2022/components/input/input.directive.mjs +0 -25
  293. package/esm2022/components/input/input.module.mjs +0 -42
  294. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  295. package/esm2022/components/input-color/index.mjs +0 -3
  296. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  297. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  298. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  299. package/esm2022/components/input-copy/index.mjs +0 -5
  300. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  301. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  302. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  303. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  304. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  305. package/esm2022/components/input-date/index.mjs +0 -4
  306. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  307. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  308. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  309. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  310. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  311. package/esm2022/components/input-date-multi/index.mjs +0 -3
  312. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  313. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  314. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  315. package/esm2022/components/input-date-range/index.mjs +0 -4
  316. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  317. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  318. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  319. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  320. package/esm2022/components/input-date-time/index.mjs +0 -4
  321. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  322. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  323. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  324. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  325. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  326. package/esm2022/components/input-month/index.mjs +0 -4
  327. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  328. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  329. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  330. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  331. package/esm2022/components/input-month-range/index.mjs +0 -4
  332. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  333. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  334. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  335. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  336. package/esm2022/components/input-number/index.mjs +0 -5
  337. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  338. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  339. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  340. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  341. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  342. package/esm2022/components/input-password/index.mjs +0 -5
  343. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  344. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  345. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  346. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  347. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  348. package/esm2022/components/input-phone/index.mjs +0 -5
  349. package/esm2022/components/input-phone/input-phone.component.mjs +0 -219
  350. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -37
  351. package/esm2022/components/input-phone/input-phone.module.mjs +0 -47
  352. package/esm2022/components/input-phone/input-phone.options.mjs +0 -24
  353. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  354. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  355. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  356. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  357. package/esm2022/components/input-phone-international/index.mjs +0 -4
  358. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  359. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  360. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  361. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  362. package/esm2022/components/input-range/index.mjs +0 -3
  363. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  364. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  365. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  366. package/esm2022/components/input-slider/index.mjs +0 -3
  367. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  368. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  369. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  370. package/esm2022/components/input-tag/index.mjs +0 -4
  371. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  372. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  373. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  374. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  375. package/esm2022/components/input-time/index.mjs +0 -5
  376. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  377. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  378. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  379. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  380. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  381. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  382. package/esm2022/components/input-year/index.mjs +0 -4
  383. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  384. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  385. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  386. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  387. package/esm2022/components/island/index.mjs +0 -2
  388. package/esm2022/components/island/island.directive.mjs +0 -62
  389. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  390. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  391. package/esm2022/components/multi-select/index.mjs +0 -11
  392. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  393. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  394. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  395. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  396. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  397. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  398. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  399. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  400. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  401. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  402. package/esm2022/components/multi-select-option/index.mjs +0 -3
  403. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  404. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  405. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  406. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  407. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  408. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  409. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  410. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  411. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  412. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  413. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  414. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  415. package/esm2022/components/select/index.mjs +0 -7
  416. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  417. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  418. package/esm2022/components/select/select.component.mjs +0 -119
  419. package/esm2022/components/select/select.directive.mjs +0 -34
  420. package/esm2022/components/select/select.module.mjs +0 -87
  421. package/esm2022/components/select/select.options.mjs +0 -24
  422. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  423. package/esm2022/components/select-option/index.mjs +0 -3
  424. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  425. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  426. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  427. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  428. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  429. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  430. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  431. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  432. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  433. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  434. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  435. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  436. package/esm2022/components/sheet/index.mjs +0 -14
  437. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  438. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  439. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  440. package/esm2022/components/sheet/sheet.mjs +0 -2
  441. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  442. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  443. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  444. package/esm2022/components/svg/content-processor.mjs +0 -41
  445. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  446. package/esm2022/components/svg/index.mjs +0 -6
  447. package/esm2022/components/svg/svg-options.mjs +0 -83
  448. package/esm2022/components/svg/svg.component.mjs +0 -150
  449. package/esm2022/components/svg/svg.service.mjs +0 -64
  450. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  451. package/esm2022/components/table-bar/index.mjs +0 -5
  452. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  453. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  454. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  455. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  456. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  457. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  458. package/esm2022/components/tag/index.mjs +0 -4
  459. package/esm2022/components/tag/tag.component.mjs +0 -158
  460. package/esm2022/components/tag/tag.module.mjs +0 -42
  461. package/esm2022/components/tag/tag.options.mjs +0 -26
  462. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  463. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  464. package/esm2022/components/textarea/index.mjs +0 -4
  465. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  466. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  467. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  468. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  469. package/esm2022/components/tooltip/index.mjs +0 -3
  470. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  471. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  472. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  473. package/esm2022/directives/index.mjs +0 -6
  474. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  475. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  476. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  477. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  478. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  479. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  480. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  481. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  482. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  483. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  484. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  485. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  486. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  487. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  488. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  489. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  490. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  491. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  492. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  493. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  494. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  495. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  496. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  497. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  498. package/esm2022/directives/value-accessor/index.mjs +0 -4
  499. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  500. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  501. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  502. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  503. package/esm2022/directives/wrapper/index.mjs +0 -3
  504. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  505. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  506. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  507. package/esm2022/index.mjs +0 -8
  508. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  509. package/esm2022/pipes/format-phone/index.mjs +0 -2
  510. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  511. package/esm2022/pipes/index.mjs +0 -4
  512. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  513. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  514. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  515. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  516. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  517. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  518. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  519. package/esm2022/services/index.mjs +0 -2
  520. package/esm2022/services/static-request.service.mjs +0 -36
  521. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  522. package/esm2022/taiga-ui-legacy.mjs +0 -5
  523. package/esm2022/tokens/countries-masks.mjs +0 -257
  524. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  525. package/esm2022/tokens/fonts-ready.mjs +0 -10
  526. package/esm2022/tokens/icons.mjs +0 -9
  527. package/esm2022/tokens/index.mjs +0 -15
  528. package/esm2022/tokens/is-apple.mjs +0 -11
  529. package/esm2022/tokens/is-chromium.mjs +0 -10
  530. package/esm2022/tokens/is-firefox.mjs +0 -11
  531. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  532. package/esm2022/tokens/month-formatter.mjs +0 -18
  533. package/esm2022/tokens/sanitizer.mjs +0 -7
  534. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  535. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  536. package/esm2022/tokens/textfield-host.mjs +0 -14
  537. package/esm2022/tokens/touch-supported.mjs +0 -9
  538. package/esm2022/tokens/value-accessor.mjs +0 -7
  539. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  540. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  541. package/esm2022/utils/format-phone.mjs +0 -60
  542. package/esm2022/utils/get-border.mjs +0 -23
  543. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  544. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  545. package/esm2022/utils/icons-path-factory.mjs +0 -22
  546. package/esm2022/utils/index.mjs +0 -14
  547. package/esm2022/utils/is-apple.mjs +0 -6
  548. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  549. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  550. package/esm2022/utils/not-kz-region.mjs +0 -24
  551. package/esm2022/utils/process-icon.mjs +0 -34
  552. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  553. package/esm2022/utils/status.mjs +0 -2
  554. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  555. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -416
  556. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  557. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  558. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  559. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  560. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  561. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -301
  562. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  563. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  564. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  565. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  566. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  567. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  568. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  569. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  570. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  571. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  572. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  573. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  574. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  575. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  576. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  577. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  578. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  579. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  580. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  581. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  582. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  583. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  584. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  585. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -373
  586. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  587. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  588. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  589. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -200
  590. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  591. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  592. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  593. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
  594. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  595. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  596. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  597. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -156
  598. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  599. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  600. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  601. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  602. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  603. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  604. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  605. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  606. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  607. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  608. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  609. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -354
  610. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  611. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  612. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  613. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -389
  614. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  615. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  616. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  617. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -226
  618. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  619. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  620. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  621. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  622. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  623. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  624. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  625. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  626. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  627. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  628. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  629. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  630. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  631. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  632. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  633. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  634. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  635. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -60
  636. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  637. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  638. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  639. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  640. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  641. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  642. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  643. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  644. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  645. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  646. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  647. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  648. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  649. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  650. package/pipes/format-phone/index.d.ts +0 -1
  651. package/pipes/index.d.ts +0 -3
  652. package/pipes/iso-to-country-code/index.d.ts +0 -1
  653. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  654. package/pipes/to-country-code/index.d.ts +0 -1
  655. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  656. package/services/index.d.ts +0 -1
  657. package/services/static-request.service.d.ts +0 -11
  658. package/styles/mixins/mixins.less +0 -239
  659. package/styles/mixins/mixins.scss +0 -224
  660. package/styles/mixins/textfield.less +0 -322
  661. package/styles/mixins/textfield.scss +0 -308
  662. package/styles/taiga-ui-local.less +0 -3
  663. package/styles/taiga-ui-local.scss +0 -3
  664. package/tokens/countries-masks.d.ts +0 -9
  665. package/tokens/focusable-item-accessor.d.ts +0 -25
  666. package/tokens/fonts-ready.d.ts +0 -6
  667. package/tokens/icons.d.ts +0 -6
  668. package/tokens/index.d.ts +0 -14
  669. package/tokens/is-apple.d.ts +0 -6
  670. package/tokens/is-chromium.d.ts +0 -6
  671. package/tokens/is-firefox.d.ts +0 -6
  672. package/tokens/is-stackblitz.d.ts +0 -5
  673. package/tokens/month-formatter.d.ts +0 -10
  674. package/tokens/sanitizer.d.ts +0 -6
  675. package/tokens/textfield-appearance.d.ts +0 -7
  676. package/tokens/textfield-host.d.ts +0 -23
  677. package/tokens/touch-supported.d.ts +0 -5
  678. package/tokens/value-accessor.d.ts +0 -7
  679. package/utils/capitalize-first-letter.d.ts +0 -4
  680. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  681. package/utils/format-phone.d.ts +0 -30
  682. package/utils/get-border.d.ts +0 -5
  683. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  684. package/utils/get-safe-area-size.d.ts +0 -7
  685. package/utils/icons-path-factory.d.ts +0 -13
  686. package/utils/index.d.ts +0 -14
  687. package/utils/is-apple.d.ts +0 -5
  688. package/utils/is-presumed-html-string.d.ts +0 -4
  689. package/utils/iso-to-country-code.d.ts +0 -13
  690. package/utils/not-kz-region.d.ts +0 -20
  691. package/utils/process-icon.d.ts +0 -4
  692. package/utils/specific-dropdown-controllers.d.ts +0 -4
  693. package/utils/status.d.ts +0 -4
@@ -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,IAA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ate } from 'tslib';
2
- import * as i2 from '@angular/common';
3
- import { CommonModule } from '@angular/common';
4
- import * as i0 from '@angular/core';
5
- import { InjectionToken, inject, EventEmitter, Component, ChangeDetectionStrategy, ViewChild, Input, Output } from '@angular/core';
6
- import * as i3 from '@angular/forms';
7
- import { FormsModule } from '@angular/forms';
8
- import { TUI_NON_DIGITS_REGEXP, CHAR_PLUS } from '@taiga-ui/cdk/constants';
9
- import { tuiProvideOptions, tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
10
- import * as i4 from '@taiga-ui/core/components/data-list';
11
- import { TuiDataList } from '@taiga-ui/core/components/data-list';
12
- import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
13
- import * as i1 from '@taiga-ui/core/directives/dropdown';
14
- import { TuiDropdown, TuiDropdownFixed } from '@taiga-ui/core/directives/dropdown';
15
- import { TuiGroup } from '@taiga-ui/core/directives/group';
16
- import * as i5 from '@taiga-ui/core/directives/hint';
17
- import { TuiHint } from '@taiga-ui/core/directives/hint';
18
- import { TuiFlagPipe } from '@taiga-ui/core/pipes/flag';
19
- import { TUI_COUNTRIES } from '@taiga-ui/kit/tokens';
20
- import { AbstractTuiControl, tuiAsControl } from '@taiga-ui/legacy/classes';
21
- import { TUI_ARROW } from '@taiga-ui/legacy/components/arrow';
22
- import * as i6 from '@taiga-ui/legacy/components/input-phone';
23
- import { TuiInputPhoneComponent, TuiInputPhoneModule } from '@taiga-ui/legacy/components/input-phone';
24
- import * as i7 from '@taiga-ui/legacy/components/primitive-textfield';
25
- import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule } from '@taiga-ui/legacy/components/primitive-textfield';
26
- import * as i8 from '@taiga-ui/legacy/directives';
27
- import { TUI_TEXTFIELD_SIZE, TuiLegacyDropdownOpenMonitorDirective, TuiTextfieldControllerModule } from '@taiga-ui/legacy/directives';
28
- import { TuiToCountryCodePipe, TuiIsoToCountryCodePipe } from '@taiga-ui/legacy/pipes';
29
- import { TUI_COUNTRIES_MASKS, tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
30
- import { tuiIsoToCountryCode, tuiGetMaxAllowedPhoneLength } from '@taiga-ui/legacy/utils';
31
- import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
32
- import { tuiGetClipboardDataText } from '@taiga-ui/cdk/utils/dom';
33
-
34
- /**
35
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
36
- * https://taiga-ui.dev/components/input-phone-international
37
- */
38
- const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS = {
39
- countries: [],
40
- countryIsoCode: 'RU',
41
- };
42
- /**
43
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
44
- * https://taiga-ui.dev/components/input-phone-international
45
- */
46
- const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS' : '', {
47
- factory: () => TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS,
48
- });
49
- /**
50
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
51
- * https://taiga-ui.dev/components/input-phone-international
52
- */
53
- function tuiInputPhoneInternationalOptionsProvider(options) {
54
- return tuiProvideOptions(TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS, options, TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS);
55
- }
56
-
57
- /**
58
- * @deprecated: drop in v5.0
59
- */
60
- function tuiExtractValueFromEvent(event) {
61
- return 'dataTransfer' in event
62
- ? event.dataTransfer?.getData('text/plain') || ''
63
- : tuiGetClipboardDataText(event);
64
- }
65
-
66
- const MASK_SYMBOLS = /[ \-_()]/g;
67
- /**
68
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
69
- * https://taiga-ui.dev/components/input-phone-international
70
- */
71
- class TuiInputPhoneInternationalComponent extends AbstractTuiControl {
72
- constructor() {
73
- super(...arguments);
74
- this.options = inject(TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS);
75
- this.extractCountryCodePipe = inject(TuiToCountryCodePipe);
76
- this.textfieldSize = inject(TUI_TEXTFIELD_SIZE);
77
- this.open = false;
78
- this.countriesNames$ = inject(TUI_COUNTRIES);
79
- this.countriesMasks = inject(TUI_COUNTRIES_MASKS);
80
- this.arrow = TUI_ARROW;
81
- this.countries = this.options.countries;
82
- this.countryIsoCodeChange = new EventEmitter();
83
- this.countryIsoCode = this.options.countryIsoCode;
84
- }
85
- set isoCode(code) {
86
- if (this.countryIsoCode === code) {
87
- return;
88
- }
89
- this.inputPhoneComponent?.writeValue(this.value);
90
- this.countryIsoCode = code;
91
- }
92
- get nativeFocusableElement() {
93
- return this.inputPhoneComponent && !this.computedDisabled
94
- ? this.inputPhoneComponent.nativeFocusableElement
95
- : null;
96
- }
97
- get focused() {
98
- return ((!!this.primitiveTextfield && this.primitiveTextfield.focused) ||
99
- (!!this.inputPhoneComponent && this.inputPhoneComponent.focused));
100
- }
101
- get inputPhoneCountryCode() {
102
- return tuiIsoToCountryCode(this.countriesMasks, this.countryIsoCode);
103
- }
104
- get phoneMaskAfterCountryCode() {
105
- const countryCode = this.inputPhoneCountryCode;
106
- return this.calculateMaskAfterCountryCode(this.countriesMasks[this.countryIsoCode], countryCode);
107
- }
108
- onPaste(event) {
109
- let value = tuiExtractValueFromEvent(event).replace(TUI_NON_DIGITS_REGEXP, '');
110
- const countryIsoCode = this.extractCountryCodePipe.transform(value, this.countries);
111
- if (!countryIsoCode) {
112
- this.value = `${this.inputPhoneCountryCode}${value}`
113
- .replaceAll(MASK_SYMBOLS, '')
114
- .slice(0, tuiGetMaxAllowedPhoneLength(this.countriesMasks, this.countryIsoCode));
115
- return;
116
- }
117
- if (countryIsoCode === 'RU') {
118
- value = value.replace(/^8/, '7');
119
- }
120
- this.updateCountryIsoCode(countryIsoCode);
121
- this.value = `${CHAR_PLUS}${value}`;
122
- }
123
- onItemClick(isoCode) {
124
- this.open = false;
125
- this.updateCountryIsoCode(isoCode);
126
- // recalculates mask inside inputPhone to prevent isoCode conflict
127
- this.cdr.detectChanges();
128
- const maxLength = tuiGetMaxAllowedPhoneLength(this.countriesMasks, isoCode);
129
- if (this.value.length > maxLength) {
130
- this.value = this.value.slice(0, maxLength);
131
- }
132
- if (this.nativeFocusableElement) {
133
- this.nativeFocusableElement.focus();
134
- }
135
- }
136
- setDisabledState() {
137
- super.setDisabledState();
138
- this.close();
139
- }
140
- get size() {
141
- return this.textfieldSize.size;
142
- }
143
- onActiveZone(active) {
144
- this.updateFocused(active);
145
- }
146
- getFallbackValue() {
147
- return '';
148
- }
149
- calculateMaskAfterCountryCode(mask, countryCode) {
150
- return mask.replace(countryCode, '').trim();
151
- }
152
- close() {
153
- this.open = false;
154
- }
155
- updateCountryIsoCode(code) {
156
- this.countryIsoCode = code;
157
- this.countryIsoCodeChange.emit(code);
158
- }
159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPhoneInternationalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
160
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputPhoneInternationalComponent, isStandalone: true, selector: "tui-input-phone-international", inputs: { countries: "countries", isoCode: ["countryIsoCode", "isoCode"] }, outputs: { countryIsoCodeChange: "countryIsoCodeChange" }, host: { listeners: { "paste.capture.prevent.stop": "onPaste($event)", "drop.capture.prevent.stop": "onPaste($event)" }, properties: { "attr.data-size": "size" } }, providers: [
161
- tuiAsFocusableItemAccessor(TuiInputPhoneInternationalComponent),
162
- tuiAsControl(TuiInputPhoneInternationalComponent),
163
- TuiToCountryCodePipe,
164
- ], viewQueries: [{ propertyName: "inputPhoneComponent", first: true, predicate: TuiInputPhoneComponent, descendants: true }, { propertyName: "primitiveTextfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.TuiDropdownFixed }], ngImport: i0, template: "<div\n *ngIf=\"countriesNames$ | async as countriesNames\"\n tuiDropdownOpenMonitor\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"!readOnly\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <div tuiGroup>\n <tui-primitive-textfield\n tuiHintContent=\"\"\n tuiTextfieldPostfix=\"\"\n tuiTextfieldPrefix=\"\"\n class=\"t-country-select\"\n [disabled]=\"disabled\"\n [editable]=\"false\"\n [focusable]=\"focusable\"\n [pseudoFocus]=\"open || null\"\n [readOnly]=\"readOnly\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldCustomContent]=\"countryValueContent\"\n [tuiTextfieldIcon]=\"icon\"\n [tuiTextfieldLabelOutside]=\"true\"\n />\n <tui-input-phone\n class=\"t-input-phone\"\n [countryCode]=\"inputPhoneCountryCode\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [ngModelOptions]=\"{standalone: true}\"\n [phoneMaskAfterCountryCode]=\"phoneMaskAfterCountryCode\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [style.flex]=\"'0 0 auto'\"\n [(ngModel)]=\"value\"\n >\n <ng-content />\n <input\n autocomplete=\"new-password\"\n tuiTextfieldLegacy\n />\n </tui-input-phone>\n </div>\n\n <ng-template #dropdown>\n <tui-data-list>\n <button\n *ngFor=\"let item of countries\"\n tuiOption\n type=\"button\"\n (click)=\"onItemClick(item)\"\n >\n <img\n alt=\"\"\n class=\"t-flag\"\n [src]=\"item | tuiFlag\"\n />\n <span class=\"t-country-item-name\">\n {{ countriesNames[item] }}\n </span>\n <span class=\"t-country-item-code\">\n {{ item | tuiIsoToCountryCode }}\n </span>\n </button>\n </tui-data-list>\n </ng-template>\n\n <ng-template #countryValueContent>\n <img\n class=\"t-flag t-flag_select\"\n [alt]=\"countriesNames[countryIsoCode]\"\n [src]=\"countryIsoCode | tuiFlag\"\n />\n </ng-template>\n\n <ng-template #icon>\n <div tuiAppearance=\"icon\">\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-country-select{inline-size:5.625rem}.t-country-select:not(._readonly) ::ng-deep input:not(:disabled){cursor:pointer}.t-country-select._readonly ::ng-deep input{cursor:default}.t-country-select[data-size=m]{inline-size:5.5rem}.t-country-select[data-size=s]{inline-size:2rem}.t-country-select[data-size=s] .t-flag{margin-inline-start:-1rem}.t-input-phone{flex:1}.t-flag{inline-size:1.75rem;block-size:1.75rem;border-radius:50%}.t-flag_select{margin-inline-start:-.5rem}.t-country-item-name{margin-inline-start:.75rem;margin-inline-end:auto}.t-country-item-code{color:var(--tui-text-secondary);margin-inline-end:.25rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i4.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "component", type: i4.TuiOption, selector: "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", inputs: ["disabled", "value"] }, { kind: "directive", type: i1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "pipe", type: TuiFlagPipe, name: "tuiFlag" }, { kind: "directive", type: TuiGroup, selector: "[tuiGroup]:not(ng-container)", inputs: ["orientation", "collapsed", "rounded", "size"] }, { kind: "directive", type: i5.TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: ["tuiHintContent", "tuiHintDirection", "tuiHintAppearance", "tuiHintShowDelay", "tuiHintHideDelay"] }, { kind: "ngmodule", type: TuiInputPhoneModule }, { kind: "component", type: i6.TuiInputPhoneComponent, selector: "tui-input-phone", inputs: ["phoneMaskAfterCountryCode", "allowText", "search", "countryCode"], outputs: ["searchChange"] }, { kind: "directive", type: i6.TuiInputPhoneDirective, selector: "tui-input-phone" }, { kind: "component", type: i7.TuiTextfieldComponent, selector: "input[tuiTextfieldLegacy], textarea[tuiTextfieldLegacy]" }, { kind: "pipe", type: TuiIsoToCountryCodePipe, name: "tuiIsoToCountryCode" }, { kind: "directive", type: TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "ngmodule", type: TuiPrimitiveTextfieldModule }, { kind: "component", type: i7.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i7.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "ngmodule", type: TuiTextfieldControllerModule }, { kind: "directive", type: i8.TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: ["tuiTextfieldCustomContent"] }, { kind: "directive", type: i8.TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: ["tuiTextfieldLabelOutside"] }, { kind: "directive", type: i8.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { kind: "directive", type: i8.TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: ["tuiTextfieldPrefix"] }, { kind: "directive", type: i8.TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: ["tuiTextfieldPostfix"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
165
- }
166
- __decorate([
167
- tuiPure
168
- ], TuiInputPhoneInternationalComponent.prototype, "calculateMaskAfterCountryCode", null);
169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputPhoneInternationalComponent, decorators: [{
170
- type: Component,
171
- args: [{ standalone: true, selector: 'tui-input-phone-international', imports: [
172
- CommonModule,
173
- FormsModule,
174
- PolymorpheusOutlet,
175
- TuiAppearance,
176
- TuiDataList,
177
- TuiDropdown,
178
- TuiFlagPipe,
179
- TuiGroup,
180
- TuiHint,
181
- TuiInputPhoneModule,
182
- TuiIsoToCountryCodePipe,
183
- TuiLegacyDropdownOpenMonitorDirective,
184
- TuiPrimitiveTextfieldModule,
185
- TuiTextfieldControllerModule,
186
- ], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
187
- tuiAsFocusableItemAccessor(TuiInputPhoneInternationalComponent),
188
- tuiAsControl(TuiInputPhoneInternationalComponent),
189
- TuiToCountryCodePipe,
190
- ], hostDirectives: [TuiDropdownFixed], host: {
191
- '[attr.data-size]': 'size',
192
- '(paste.capture.prevent.stop)': 'onPaste($event)',
193
- '(drop.capture.prevent.stop)': 'onPaste($event)',
194
- }, template: "<div\n *ngIf=\"countriesNames$ | async as countriesNames\"\n tuiDropdownOpenMonitor\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"!readOnly\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <div tuiGroup>\n <tui-primitive-textfield\n tuiHintContent=\"\"\n tuiTextfieldPostfix=\"\"\n tuiTextfieldPrefix=\"\"\n class=\"t-country-select\"\n [disabled]=\"disabled\"\n [editable]=\"false\"\n [focusable]=\"focusable\"\n [pseudoFocus]=\"open || null\"\n [readOnly]=\"readOnly\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldCustomContent]=\"countryValueContent\"\n [tuiTextfieldIcon]=\"icon\"\n [tuiTextfieldLabelOutside]=\"true\"\n />\n <tui-input-phone\n class=\"t-input-phone\"\n [countryCode]=\"inputPhoneCountryCode\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [ngModelOptions]=\"{standalone: true}\"\n [phoneMaskAfterCountryCode]=\"phoneMaskAfterCountryCode\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [style.flex]=\"'0 0 auto'\"\n [(ngModel)]=\"value\"\n >\n <ng-content />\n <input\n autocomplete=\"new-password\"\n tuiTextfieldLegacy\n />\n </tui-input-phone>\n </div>\n\n <ng-template #dropdown>\n <tui-data-list>\n <button\n *ngFor=\"let item of countries\"\n tuiOption\n type=\"button\"\n (click)=\"onItemClick(item)\"\n >\n <img\n alt=\"\"\n class=\"t-flag\"\n [src]=\"item | tuiFlag\"\n />\n <span class=\"t-country-item-name\">\n {{ countriesNames[item] }}\n </span>\n <span class=\"t-country-item-code\">\n {{ item | tuiIsoToCountryCode }}\n </span>\n </button>\n </tui-data-list>\n </ng-template>\n\n <ng-template #countryValueContent>\n <img\n class=\"t-flag t-flag_select\"\n [alt]=\"countriesNames[countryIsoCode]\"\n [src]=\"countryIsoCode | tuiFlag\"\n />\n </ng-template>\n\n <ng-template #icon>\n <div tuiAppearance=\"icon\">\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n", styles: [":host{display:block}:host._disabled,:host :host-context(*:disabled){pointer-events:none}.t-country-select{inline-size:5.625rem}.t-country-select:not(._readonly) ::ng-deep input:not(:disabled){cursor:pointer}.t-country-select._readonly ::ng-deep input{cursor:default}.t-country-select[data-size=m]{inline-size:5.5rem}.t-country-select[data-size=s]{inline-size:2rem}.t-country-select[data-size=s] .t-flag{margin-inline-start:-1rem}.t-input-phone{flex:1}.t-flag{inline-size:1.75rem;block-size:1.75rem;border-radius:50%}.t-flag_select{margin-inline-start:-.5rem}.t-country-item-name{margin-inline-start:.75rem;margin-inline-end:auto}.t-country-item-code{color:var(--tui-text-secondary);margin-inline-end:.25rem}\n"] }]
195
- }], propDecorators: { inputPhoneComponent: [{
196
- type: ViewChild,
197
- args: [TuiInputPhoneComponent]
198
- }], primitiveTextfield: [{
199
- type: ViewChild,
200
- args: [TuiPrimitiveTextfieldComponent]
201
- }], countries: [{
202
- type: Input
203
- }], countryIsoCodeChange: [{
204
- type: Output
205
- }], isoCode: [{
206
- type: Input,
207
- args: ['countryIsoCode']
208
- }], calculateMaskAfterCountryCode: [] } });
209
-
210
- /**
211
- * Generated bundle index. Do not edit.
212
- */
213
-
214
- export { TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS, TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS, TuiInputPhoneInternationalComponent, tuiExtractValueFromEvent, tuiInputPhoneInternationalOptionsProvider };
215
- //# sourceMappingURL=taiga-ui-legacy-components-input-phone-international.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-input-phone-international.mjs","sources":["../../../projects/legacy/components/input-phone-international/input-phone-international.options.ts","../../../projects/legacy/components/input-phone-international/utils/extract-value-from-event.ts","../../../projects/legacy/components/input-phone-international/input-phone-international.component.ts","../../../projects/legacy/components/input-phone-international/input-phone-international.template.html","../../../projects/legacy/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}\n * https://taiga-ui.dev/components/input-phone-international\n */\nexport interface TuiInputPhoneInternationalOptions {\n readonly countries: readonly TuiCountryIsoCode[];\n readonly countryIsoCode: TuiCountryIsoCode;\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}\n * https://taiga-ui.dev/components/input-phone-international\n */\nexport const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS: TuiInputPhoneInternationalOptions =\n {\n countries: [],\n countryIsoCode: 'RU',\n };\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}\n * https://taiga-ui.dev/components/input-phone-international\n */\nexport const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS' : '',\n {\n factory: () => TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}\n * https://taiga-ui.dev/components/input-phone-international\n */\nexport function tuiInputPhoneInternationalOptionsProvider(\n options: Partial<TuiInputPhoneInternationalOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS,\n options,\n TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS,\n );\n}\n","import {tuiGetClipboardDataText} from '@taiga-ui/cdk/utils/dom';\n\n/**\n * @deprecated: drop in v5.0\n */\nexport function tuiExtractValueFromEvent(event: ClipboardEvent | DragEvent): string {\n return 'dataTransfer' in event\n ? event.dataTransfer?.getData('text/plain') || ''\n : tuiGetClipboardDataText(event);\n}\n","import {CommonModule} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n inject,\n Input,\n Output,\n ViewChild,\n} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {CHAR_PLUS, TUI_NON_DIGITS_REGEXP} from '@taiga-ui/cdk/constants';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiPure} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiDataList} from '@taiga-ui/core/components/data-list';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiDropdown, TuiDropdownFixed} from '@taiga-ui/core/directives/dropdown';\nimport {TuiGroup} from '@taiga-ui/core/directives/group';\nimport {TuiHint} from '@taiga-ui/core/directives/hint';\nimport {TuiFlagPipe} from '@taiga-ui/core/pipes/flag';\nimport {type TuiSizeL, type TuiSizeM, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {TUI_COUNTRIES} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TUI_ARROW} from '@taiga-ui/legacy/components/arrow';\nimport {\n TuiInputPhoneComponent,\n TuiInputPhoneModule,\n} from '@taiga-ui/legacy/components/input-phone';\nimport {\n TuiPrimitiveTextfieldComponent,\n TuiPrimitiveTextfieldModule,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {\n TUI_TEXTFIELD_SIZE,\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/legacy/directives';\nimport {TuiIsoToCountryCodePipe, TuiToCountryCodePipe} from '@taiga-ui/legacy/pipes';\nimport {\n TUI_COUNTRIES_MASKS,\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {tuiGetMaxAllowedPhoneLength, tuiIsoToCountryCode} from '@taiga-ui/legacy/utils';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS} from './input-phone-international.options';\nimport {tuiExtractValueFromEvent} from './utils/extract-value-from-event';\n\nconst MASK_SYMBOLS = /[ \\-_()]/g;\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}\n * https://taiga-ui.dev/components/input-phone-international\n */\n@Component({\n standalone: true,\n selector: 'tui-input-phone-international',\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusOutlet,\n TuiAppearance,\n TuiDataList,\n TuiDropdown,\n TuiFlagPipe,\n TuiGroup,\n TuiHint,\n TuiInputPhoneModule,\n TuiIsoToCountryCodePipe,\n TuiLegacyDropdownOpenMonitorDirective,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n ],\n templateUrl: './input-phone-international.template.html',\n styleUrls: ['./input-phone-international.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputPhoneInternationalComponent),\n tuiAsControl(TuiInputPhoneInternationalComponent),\n TuiToCountryCodePipe,\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '[attr.data-size]': 'size',\n '(paste.capture.prevent.stop)': 'onPaste($event)',\n '(drop.capture.prevent.stop)': 'onPaste($event)',\n },\n})\nexport class TuiInputPhoneInternationalComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiInputPhoneComponent)\n private readonly inputPhoneComponent?: TuiInputPhoneComponent;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly primitiveTextfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly options = inject(TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS);\n private readonly extractCountryCodePipe = inject(TuiToCountryCodePipe);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n protected open = false;\n protected readonly countriesNames$ = inject(TUI_COUNTRIES);\n protected readonly countriesMasks = inject(TUI_COUNTRIES_MASKS);\n protected readonly arrow: PolymorpheusContent<\n TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>\n > = TUI_ARROW;\n\n @Input()\n public countries = this.options.countries;\n\n @Output()\n public readonly countryIsoCodeChange = new EventEmitter<TuiCountryIsoCode>();\n\n public countryIsoCode = this.options.countryIsoCode;\n\n @Input('countryIsoCode')\n public set isoCode(code: TuiCountryIsoCode) {\n if (this.countryIsoCode === code) {\n return;\n }\n\n this.inputPhoneComponent?.writeValue(this.value);\n this.countryIsoCode = code;\n }\n\n public get nativeFocusableElement(): HTMLElement | null {\n return this.inputPhoneComponent && !this.computedDisabled\n ? this.inputPhoneComponent.nativeFocusableElement\n : null;\n }\n\n public get focused(): boolean {\n return (\n (!!this.primitiveTextfield && this.primitiveTextfield.focused) ||\n (!!this.inputPhoneComponent && this.inputPhoneComponent.focused)\n );\n }\n\n public get inputPhoneCountryCode(): string {\n return tuiIsoToCountryCode(this.countriesMasks, this.countryIsoCode);\n }\n\n public get phoneMaskAfterCountryCode(): string {\n const countryCode = this.inputPhoneCountryCode;\n\n return this.calculateMaskAfterCountryCode(\n this.countriesMasks[this.countryIsoCode],\n countryCode,\n );\n }\n\n public onPaste(event: ClipboardEvent | DragEvent): void {\n let value = tuiExtractValueFromEvent(event).replace(TUI_NON_DIGITS_REGEXP, '');\n const countryIsoCode = this.extractCountryCodePipe.transform(\n value,\n this.countries,\n );\n\n if (!countryIsoCode) {\n this.value = `${this.inputPhoneCountryCode}${value}`\n .replaceAll(MASK_SYMBOLS, '')\n .slice(\n 0,\n tuiGetMaxAllowedPhoneLength(this.countriesMasks, this.countryIsoCode),\n );\n\n return;\n }\n\n if (countryIsoCode === 'RU') {\n value = value.replace(/^8/, '7');\n }\n\n this.updateCountryIsoCode(countryIsoCode);\n this.value = `${CHAR_PLUS}${value}`;\n }\n\n public onItemClick(isoCode: TuiCountryIsoCode): void {\n this.open = false;\n this.updateCountryIsoCode(isoCode);\n // recalculates mask inside inputPhone to prevent isoCode conflict\n this.cdr.detectChanges();\n\n const maxLength = tuiGetMaxAllowedPhoneLength(this.countriesMasks, isoCode);\n\n if (this.value.length > maxLength) {\n this.value = this.value.slice(0, maxLength);\n }\n\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus();\n }\n }\n\n public override setDisabledState(): void {\n super.setDisabledState();\n this.close();\n }\n\n protected get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n protected onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n\n @tuiPure\n private calculateMaskAfterCountryCode(mask: string, countryCode: string): string {\n return mask.replace(countryCode, '').trim();\n }\n\n private close(): void {\n this.open = false;\n }\n\n private updateCountryIsoCode(code: TuiCountryIsoCode): void {\n this.countryIsoCode = code;\n this.countryIsoCodeChange.emit(code);\n }\n}\n","<div\n *ngIf=\"countriesNames$ | async as countriesNames\"\n tuiDropdownOpenMonitor\n [tuiDropdown]=\"dropdown\"\n [tuiDropdownEnabled]=\"!readOnly\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <div tuiGroup>\n <tui-primitive-textfield\n tuiHintContent=\"\"\n tuiTextfieldPostfix=\"\"\n tuiTextfieldPrefix=\"\"\n class=\"t-country-select\"\n [disabled]=\"disabled\"\n [editable]=\"false\"\n [focusable]=\"focusable\"\n [pseudoFocus]=\"open || null\"\n [readOnly]=\"readOnly\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldCustomContent]=\"countryValueContent\"\n [tuiTextfieldIcon]=\"icon\"\n [tuiTextfieldLabelOutside]=\"true\"\n />\n <tui-input-phone\n class=\"t-input-phone\"\n [countryCode]=\"inputPhoneCountryCode\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [ngModelOptions]=\"{standalone: true}\"\n [phoneMaskAfterCountryCode]=\"phoneMaskAfterCountryCode\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [style.flex]=\"'0 0 auto'\"\n [(ngModel)]=\"value\"\n >\n <ng-content />\n <input\n autocomplete=\"new-password\"\n tuiTextfieldLegacy\n />\n </tui-input-phone>\n </div>\n\n <ng-template #dropdown>\n <tui-data-list>\n <button\n *ngFor=\"let item of countries\"\n tuiOption\n type=\"button\"\n (click)=\"onItemClick(item)\"\n >\n <img\n alt=\"\"\n class=\"t-flag\"\n [src]=\"item | tuiFlag\"\n />\n <span class=\"t-country-item-name\">\n {{ countriesNames[item] }}\n </span>\n <span class=\"t-country-item-code\">\n {{ item | tuiIsoToCountryCode }}\n </span>\n </button>\n </tui-data-list>\n </ng-template>\n\n <ng-template #countryValueContent>\n <img\n class=\"t-flag t-flag_select\"\n [alt]=\"countriesNames[countryIsoCode]\"\n [src]=\"countryIsoCode | tuiFlag\"\n />\n </ng-template>\n\n <ng-template #icon>\n <div tuiAppearance=\"icon\">\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA;;;AAGG;AACU,MAAA,6CAA6C,GACtD;AACI,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,cAAc,EAAE,IAAI;EACtB;AAEN;;;AAGG;AACU,MAAA,qCAAqC,GAAG,IAAI,cAAc,CACnE,SAAS,GAAG,uCAAuC,GAAG,EAAE,EACxD;AACI,IAAA,OAAO,EAAE,MAAM,6CAA6C;AAC/D,CAAA,EACH;AAEF;;;AAGG;AACG,SAAU,yCAAyC,CACrD,OAAmD,EAAA;IAEnD,OAAO,iBAAiB,CACpB,qCAAqC,EACrC,OAAO,EACP,6CAA6C,CAChD,CAAC;AACN;;AC5CA;;AAEG;AACG,SA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