@taiga-ui/legacy 4.51.0 → 4.52.0-canary.1acd1eb

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 (545) hide show
  1. package/classes/abstract-textfield-host.d.ts +1 -1
  2. package/classes/controller.d.ts +1 -1
  3. package/classes/multiple-control.d.ts +1 -1
  4. package/classes/nullable-control.d.ts +1 -1
  5. package/components/dialog/dialog.component.d.ts +20 -0
  6. package/components/dialog/dialog.directive.d.ts +7 -0
  7. package/components/dialog/dialog.factory.d.ts +16 -0
  8. package/components/dialog/dialog.interfaces.d.ts +31 -0
  9. package/components/dialog/dialog.service.d.ts +7 -0
  10. package/components/dialog/dialog.tokens.d.ts +8 -0
  11. package/components/dialog/index.d.ts +6 -0
  12. package/components/index.d.ts +2 -16
  13. package/components/input/input.module.d.ts +1 -1
  14. package/components/input-date-range/input-date-range.module.d.ts +1 -1
  15. package/components/input-date-time/input-date-time.component.d.ts +4 -3
  16. package/components/input-date-time/input-date-time.module.d.ts +1 -1
  17. package/components/input-month-range/input-month-range.module.d.ts +1 -1
  18. package/components/input-range/input-range.component.d.ts +1 -1
  19. package/components/input-tag/input-tag.module.d.ts +1 -1
  20. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  21. package/components/multi-select/multi-select.module.d.ts +1 -1
  22. package/components/multi-select/native-multi-select/native-multi-select.d.ts +1 -1
  23. package/components/pdf-viewer/index.d.ts +4 -0
  24. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  25. package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
  26. package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
  27. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  28. package/components/select/select.module.d.ts +1 -1
  29. package/fesm2022/taiga-ui-legacy-classes.mjs +23 -24
  30. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +6 -6
  32. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +129 -0
  34. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  35. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +29 -29
  36. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +31 -31
  38. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +14 -14
  40. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +23 -23
  42. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +26 -26
  44. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +20 -21
  46. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +24 -24
  48. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-legacy-components-input.mjs +17 -18
  50. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +8 -8
  52. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +51 -51
  54. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +82 -0
  56. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  57. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +30 -30
  58. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +9 -9
  60. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-legacy-components-select.mjs +36 -37
  62. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-legacy-components-tag.mjs +14 -15
  64. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +24 -24
  66. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +8 -8
  68. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-legacy-components.mjs +2 -16
  70. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
  72. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +35 -35
  74. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +5 -6
  76. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
  78. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +9 -9
  80. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-legacy-tokens.mjs +1 -1
  82. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  85. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  86. package/index.d.ts +0 -2
  87. package/package.json +9 -183
  88. package/styles/mixins/textfield.less +3 -1
  89. package/utils/icons-path-factory.d.ts +1 -1
  90. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  91. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  92. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  93. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  94. package/components/color-selector/color-selector.component.d.ts +0 -47
  95. package/components/color-selector/color-selector.module.d.ts +0 -24
  96. package/components/color-selector/color-selector.options.d.ts +0 -25
  97. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  98. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  99. package/components/color-selector/index.d.ts +0 -16
  100. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  101. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  102. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  103. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  104. package/components/color-selector/palette/palette.component.d.ts +0 -10
  105. package/components/color-selector/palette/palette.module.d.ts +0 -13
  106. package/components/color-selector/services/picker.service.d.ts +0 -15
  107. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  108. package/components/combo-box/combo-box.component.d.ts +0 -52
  109. package/components/combo-box/combo-box.directive.d.ts +0 -13
  110. package/components/combo-box/combo-box.module.d.ts +0 -20
  111. package/components/combo-box/index.d.ts +0 -4
  112. package/components/input-color/index.d.ts +0 -2
  113. package/components/input-color/input-color.component.d.ts +0 -30
  114. package/components/input-color/input-color.module.d.ts +0 -17
  115. package/components/input-copy/index.d.ts +0 -4
  116. package/components/input-copy/input-copy.component.d.ts +0 -33
  117. package/components/input-copy/input-copy.directive.d.ts +0 -11
  118. package/components/input-copy/input-copy.module.d.ts +0 -18
  119. package/components/input-copy/input-copy.options.d.ts +0 -26
  120. package/components/input-date/index.d.ts +0 -3
  121. package/components/input-date/input-date.component.d.ts +0 -62
  122. package/components/input-date/input-date.directive.d.ts +0 -19
  123. package/components/input-date/input-date.module.d.ts +0 -24
  124. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  125. package/components/input-date-multi/index.d.ts +0 -2
  126. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  127. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  128. package/components/input-month/index.d.ts +0 -3
  129. package/components/input-month/input-month.component.d.ts +0 -44
  130. package/components/input-month/input-month.directive.d.ts +0 -19
  131. package/components/input-month/input-month.module.d.ts +0 -19
  132. package/components/input-password/index.d.ts +0 -4
  133. package/components/input-password/input-password.component.d.ts +0 -33
  134. package/components/input-password/input-password.directive.d.ts +0 -15
  135. package/components/input-password/input-password.module.d.ts +0 -19
  136. package/components/input-password/input-password.options.d.ts +0 -25
  137. package/components/input-phone/index.d.ts +0 -4
  138. package/components/input-phone/input-phone.component.d.ts +0 -49
  139. package/components/input-phone/input-phone.directive.d.ts +0 -13
  140. package/components/input-phone/input-phone.module.d.ts +0 -12
  141. package/components/input-phone/input-phone.options.d.ts +0 -13
  142. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  143. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  144. package/components/input-phone/utils/index.d.ts +0 -2
  145. package/components/input-phone-international/index.d.ts +0 -3
  146. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  147. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  148. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  149. package/components/input-time/index.d.ts +0 -4
  150. package/components/input-time/input-time.component.d.ts +0 -62
  151. package/components/input-time/input-time.directive.d.ts +0 -17
  152. package/components/input-time/input-time.module.d.ts +0 -23
  153. package/components/input-time/input-time.options.d.ts +0 -42
  154. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  155. package/components/input-year/index.d.ts +0 -3
  156. package/components/input-year/input-year.component.d.ts +0 -36
  157. package/components/input-year/input-year.directive.d.ts +0 -14
  158. package/components/input-year/input-year.module.d.ts +0 -18
  159. package/components/island/index.d.ts +0 -1
  160. package/components/island/island.directive.d.ts +0 -20
  161. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  162. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  163. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -10
  164. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  165. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  166. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  167. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  168. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  169. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  170. package/components/sheet/index.d.ts +0 -14
  171. package/components/sheet/sheet-options.d.ts +0 -27
  172. package/components/sheet/sheet-tokens.d.ts +0 -18
  173. package/components/sheet/sheet.d.ts +0 -21
  174. package/components/sheet/sheet.directive.d.ts +0 -17
  175. package/components/sheet/sheet.module.d.ts +0 -24
  176. package/components/sheet/sheet.service.d.ts +0 -17
  177. package/components/svg/content-processor.d.ts +0 -19
  178. package/components/svg/deprecated-icons.d.ts +0 -5
  179. package/components/svg/index.d.ts +0 -5
  180. package/components/svg/svg-options.d.ts +0 -50
  181. package/components/svg/svg.component.d.ts +0 -50
  182. package/components/svg/svg.service.d.ts +0 -21
  183. package/components/table-bar/index.d.ts +0 -4
  184. package/components/table-bar/table-bar.component.d.ts +0 -17
  185. package/components/table-bar/table-bar.directive.d.ts +0 -11
  186. package/components/table-bar/table-bar.options.d.ts +0 -31
  187. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  188. package/components/table-bar/table-bars.service.d.ts +0 -11
  189. package/esm2022/classes/abstract-native-select.mjs +0 -49
  190. package/esm2022/classes/abstract-textfield-host.mjs +0 -37
  191. package/esm2022/classes/control.mjs +0 -181
  192. package/esm2022/classes/controller.mjs +0 -18
  193. package/esm2022/classes/index.mjs +0 -10
  194. package/esm2022/classes/interactive.mjs +0 -82
  195. package/esm2022/classes/multiple-control.mjs +0 -21
  196. package/esm2022/classes/named-day.mjs +0 -14
  197. package/esm2022/classes/nullable-control.mjs +0 -18
  198. package/esm2022/classes/stringifiable-item.mjs +0 -14
  199. package/esm2022/classes/taiga-ui-legacy-classes.mjs +0 -5
  200. package/esm2022/components/arrow/arrow.component.mjs +0 -41
  201. package/esm2022/components/arrow/arrow.options.mjs +0 -20
  202. package/esm2022/components/arrow/arrow.providers.mjs +0 -23
  203. package/esm2022/components/arrow/index.mjs +0 -4
  204. package/esm2022/components/arrow/taiga-ui-legacy-components-arrow.mjs +0 -5
  205. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +0 -59
  206. package/esm2022/components/color-selector/color-edit/color-edit.module.mjs +0 -56
  207. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +0 -70
  208. package/esm2022/components/color-selector/color-picker/color-picker.module.mjs +0 -25
  209. package/esm2022/components/color-selector/color-selector.component.mjs +0 -191
  210. package/esm2022/components/color-selector/color-selector.module.mjs +0 -67
  211. package/esm2022/components/color-selector/color-selector.options.mjs +0 -78
  212. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +0 -34
  213. package/esm2022/components/color-selector/flat-picker/flat-picker.module.mjs +0 -23
  214. package/esm2022/components/color-selector/index.mjs +0 -17
  215. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +0 -61
  216. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.module.mjs +0 -23
  217. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +0 -31
  218. package/esm2022/components/color-selector/linear-picker/linear-picker.module.mjs +0 -23
  219. package/esm2022/components/color-selector/palette/palette.component.mjs +0 -23
  220. package/esm2022/components/color-selector/palette/palette.module.mjs +0 -25
  221. package/esm2022/components/color-selector/services/picker.service.mjs +0 -31
  222. package/esm2022/components/color-selector/taiga-ui-legacy-components-color-selector.mjs +0 -5
  223. package/esm2022/components/combo-box/combo-box-strict.directive.mjs +0 -34
  224. package/esm2022/components/combo-box/combo-box.component.mjs +0 -183
  225. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -28
  226. package/esm2022/components/combo-box/combo-box.module.mjs +0 -71
  227. package/esm2022/components/combo-box/index.mjs +0 -5
  228. package/esm2022/components/combo-box/taiga-ui-legacy-components-combo-box.mjs +0 -5
  229. package/esm2022/components/index.mjs +0 -34
  230. package/esm2022/components/input/index.mjs +0 -4
  231. package/esm2022/components/input/input.component.mjs +0 -97
  232. package/esm2022/components/input/input.directive.mjs +0 -25
  233. package/esm2022/components/input/input.module.mjs +0 -42
  234. package/esm2022/components/input/taiga-ui-legacy-components-input.mjs +0 -5
  235. package/esm2022/components/input-color/index.mjs +0 -3
  236. package/esm2022/components/input-color/input-color.component.mjs +0 -85
  237. package/esm2022/components/input-color/input-color.module.mjs +0 -43
  238. package/esm2022/components/input-color/taiga-ui-legacy-components-input-color.mjs +0 -5
  239. package/esm2022/components/input-copy/index.mjs +0 -5
  240. package/esm2022/components/input-copy/input-copy.component.mjs +0 -105
  241. package/esm2022/components/input-copy/input-copy.directive.mjs +0 -24
  242. package/esm2022/components/input-copy/input-copy.module.mjs +0 -55
  243. package/esm2022/components/input-copy/input-copy.options.mjs +0 -24
  244. package/esm2022/components/input-copy/taiga-ui-legacy-components-input-copy.mjs +0 -5
  245. package/esm2022/components/input-date/index.mjs +0 -4
  246. package/esm2022/components/input-date/input-date.component.mjs +0 -220
  247. package/esm2022/components/input-date/input-date.directive.mjs +0 -40
  248. package/esm2022/components/input-date/input-date.module.mjs +0 -75
  249. package/esm2022/components/input-date/native-date/native-date.component.mjs +0 -53
  250. package/esm2022/components/input-date/taiga-ui-legacy-components-input-date.mjs +0 -5
  251. package/esm2022/components/input-date-multi/index.mjs +0 -3
  252. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +0 -207
  253. package/esm2022/components/input-date-multi/input-date-multi.module.mjs +0 -67
  254. package/esm2022/components/input-date-multi/taiga-ui-legacy-components-input-date-multi.mjs +0 -5
  255. package/esm2022/components/input-date-range/index.mjs +0 -4
  256. package/esm2022/components/input-date-range/input-date-range.component.mjs +0 -256
  257. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -36
  258. package/esm2022/components/input-date-range/input-date-range.module.mjs +0 -71
  259. package/esm2022/components/input-date-range/taiga-ui-legacy-components-input-date-range.mjs +0 -5
  260. package/esm2022/components/input-date-time/index.mjs +0 -4
  261. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -315
  262. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -37
  263. package/esm2022/components/input-date-time/input-date-time.module.mjs +0 -78
  264. package/esm2022/components/input-date-time/native-date-time/native-date-time.directive.mjs +0 -49
  265. package/esm2022/components/input-date-time/taiga-ui-legacy-components-input-date-time.mjs +0 -5
  266. package/esm2022/components/input-month/index.mjs +0 -4
  267. package/esm2022/components/input-month/input-month.component.mjs +0 -135
  268. package/esm2022/components/input-month/input-month.directive.mjs +0 -46
  269. package/esm2022/components/input-month/input-month.module.mjs +0 -57
  270. package/esm2022/components/input-month/taiga-ui-legacy-components-input-month.mjs +0 -5
  271. package/esm2022/components/input-month-range/index.mjs +0 -4
  272. package/esm2022/components/input-month-range/input-month-range.component.mjs +0 -123
  273. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -52
  274. package/esm2022/components/input-month-range/input-month-range.module.mjs +0 -53
  275. package/esm2022/components/input-month-range/taiga-ui-legacy-components-input-month-range.mjs +0 -5
  276. package/esm2022/components/input-number/index.mjs +0 -5
  277. package/esm2022/components/input-number/input-number.component.mjs +0 -284
  278. package/esm2022/components/input-number/input-number.directive.mjs +0 -38
  279. package/esm2022/components/input-number/input-number.module.mjs +0 -48
  280. package/esm2022/components/input-number/input-number.options.mjs +0 -30
  281. package/esm2022/components/input-number/taiga-ui-legacy-components-input-number.mjs +0 -5
  282. package/esm2022/components/input-password/index.mjs +0 -5
  283. package/esm2022/components/input-password/input-password.component.mjs +0 -80
  284. package/esm2022/components/input-password/input-password.directive.mjs +0 -34
  285. package/esm2022/components/input-password/input-password.module.mjs +0 -59
  286. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  287. package/esm2022/components/input-password/taiga-ui-legacy-components-input-password.mjs +0 -5
  288. package/esm2022/components/input-phone/index.mjs +0 -5
  289. package/esm2022/components/input-phone/input-phone.component.mjs +0 -216
  290. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -34
  291. package/esm2022/components/input-phone/input-phone.module.mjs +0 -44
  292. package/esm2022/components/input-phone/input-phone.options.mjs +0 -18
  293. package/esm2022/components/input-phone/taiga-ui-legacy-components-input-phone.mjs +0 -5
  294. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  295. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  296. package/esm2022/components/input-phone/utils/index.mjs +0 -3
  297. package/esm2022/components/input-phone-international/index.mjs +0 -4
  298. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -178
  299. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -25
  300. package/esm2022/components/input-phone-international/taiga-ui-legacy-components-input-phone-international.mjs +0 -5
  301. package/esm2022/components/input-phone-international/utils/extract-value-from-event.mjs +0 -10
  302. package/esm2022/components/input-range/index.mjs +0 -3
  303. package/esm2022/components/input-range/input-range.component.mjs +0 -207
  304. package/esm2022/components/input-range/input-range.module.mjs +0 -55
  305. package/esm2022/components/input-range/taiga-ui-legacy-components-input-range.mjs +0 -5
  306. package/esm2022/components/input-slider/index.mjs +0 -3
  307. package/esm2022/components/input-slider/input-slider.component.mjs +0 -154
  308. package/esm2022/components/input-slider/input-slider.module.mjs +0 -48
  309. package/esm2022/components/input-slider/taiga-ui-legacy-components-input-slider.mjs +0 -5
  310. package/esm2022/components/input-tag/index.mjs +0 -4
  311. package/esm2022/components/input-tag/input-tag.component.mjs +0 -436
  312. package/esm2022/components/input-tag/input-tag.module.mjs +0 -67
  313. package/esm2022/components/input-tag/input-tag.options.mjs +0 -27
  314. package/esm2022/components/input-tag/taiga-ui-legacy-components-input-tag.mjs +0 -5
  315. package/esm2022/components/input-time/index.mjs +0 -5
  316. package/esm2022/components/input-time/input-time.component.mjs +0 -238
  317. package/esm2022/components/input-time/input-time.directive.mjs +0 -40
  318. package/esm2022/components/input-time/input-time.module.mjs +0 -71
  319. package/esm2022/components/input-time/input-time.options.mjs +0 -39
  320. package/esm2022/components/input-time/native-time/native-time.component.mjs +0 -67
  321. package/esm2022/components/input-time/taiga-ui-legacy-components-input-time.mjs +0 -5
  322. package/esm2022/components/input-year/index.mjs +0 -4
  323. package/esm2022/components/input-year/input-year.component.mjs +0 -110
  324. package/esm2022/components/input-year/input-year.directive.mjs +0 -32
  325. package/esm2022/components/input-year/input-year.module.mjs +0 -53
  326. package/esm2022/components/input-year/taiga-ui-legacy-components-input-year.mjs +0 -5
  327. package/esm2022/components/island/index.mjs +0 -2
  328. package/esm2022/components/island/island.directive.mjs +0 -62
  329. package/esm2022/components/island/taiga-ui-legacy-components-island.mjs +0 -5
  330. package/esm2022/components/multi-select/hide-selected.pipe.mjs +0 -44
  331. package/esm2022/components/multi-select/index.mjs +0 -11
  332. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -98
  333. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -94
  334. package/esm2022/components/multi-select/multi-select.component.mjs +0 -233
  335. package/esm2022/components/multi-select/multi-select.directive.mjs +0 -32
  336. package/esm2022/components/multi-select/multi-select.module.mjs +0 -113
  337. package/esm2022/components/multi-select/multi-select.options.mjs +0 -17
  338. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +0 -60
  339. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +0 -56
  340. package/esm2022/components/multi-select/native-multi-select/native-multi-select.mjs +0 -19
  341. package/esm2022/components/multi-select/taiga-ui-legacy-components-multi-select.mjs +0 -5
  342. package/esm2022/components/multi-select-option/index.mjs +0 -3
  343. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +0 -25
  344. package/esm2022/components/multi-select-option/multi-select-option.module.mjs +0 -20
  345. package/esm2022/components/multi-select-option/taiga-ui-legacy-components-multi-select-option.mjs +0 -5
  346. package/esm2022/components/primitive-textfield/index.mjs +0 -7
  347. package/esm2022/components/primitive-textfield/primitive-textfield-options.mjs +0 -17
  348. package/esm2022/components/primitive-textfield/primitive-textfield-types.mjs +0 -2
  349. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +0 -254
  350. package/esm2022/components/primitive-textfield/primitive-textfield.directive.mjs +0 -33
  351. package/esm2022/components/primitive-textfield/primitive-textfield.module.mjs +0 -66
  352. package/esm2022/components/primitive-textfield/taiga-ui-legacy-components-primitive-textfield.mjs +0 -5
  353. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +0 -39
  354. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +0 -66
  355. package/esm2022/components/select/index.mjs +0 -7
  356. package/esm2022/components/select/native-select/native-select-group.component.mjs +0 -64
  357. package/esm2022/components/select/native-select/native-select.component.mjs +0 -60
  358. package/esm2022/components/select/select.component.mjs +0 -119
  359. package/esm2022/components/select/select.directive.mjs +0 -34
  360. package/esm2022/components/select/select.module.mjs +0 -87
  361. package/esm2022/components/select/select.options.mjs +0 -24
  362. package/esm2022/components/select/taiga-ui-legacy-components-select.mjs +0 -5
  363. package/esm2022/components/select-option/index.mjs +0 -3
  364. package/esm2022/components/select-option/select-option.component.mjs +0 -65
  365. package/esm2022/components/select-option/select-option.module.mjs +0 -21
  366. package/esm2022/components/select-option/taiga-ui-legacy-components-select-option.mjs +0 -5
  367. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +0 -117
  368. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +0 -42
  369. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +0 -27
  370. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +0 -31
  371. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +0 -46
  372. package/esm2022/components/sheet/directives/sheet-close/sheet-close.directive.mjs +0 -39
  373. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +0 -38
  374. package/esm2022/components/sheet/directives/sheet-top/sheet-top.directive.mjs +0 -52
  375. package/esm2022/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +0 -77
  376. package/esm2022/components/sheet/index.mjs +0 -14
  377. package/esm2022/components/sheet/sheet-options.mjs +0 -24
  378. package/esm2022/components/sheet/sheet-tokens.mjs +0 -17
  379. package/esm2022/components/sheet/sheet.directive.mjs +0 -40
  380. package/esm2022/components/sheet/sheet.mjs +0 -2
  381. package/esm2022/components/sheet/sheet.module.mjs +0 -75
  382. package/esm2022/components/sheet/sheet.service.mjs +0 -52
  383. package/esm2022/components/sheet/taiga-ui-legacy-components-sheet.mjs +0 -5
  384. package/esm2022/components/svg/content-processor.mjs +0 -41
  385. package/esm2022/components/svg/deprecated-icons.mjs +0 -63
  386. package/esm2022/components/svg/index.mjs +0 -6
  387. package/esm2022/components/svg/svg-options.mjs +0 -83
  388. package/esm2022/components/svg/svg.component.mjs +0 -150
  389. package/esm2022/components/svg/svg.service.mjs +0 -64
  390. package/esm2022/components/svg/taiga-ui-legacy-components-svg.mjs +0 -5
  391. package/esm2022/components/table-bar/index.mjs +0 -5
  392. package/esm2022/components/table-bar/table-bar.component.mjs +0 -37
  393. package/esm2022/components/table-bar/table-bar.directive.mjs +0 -25
  394. package/esm2022/components/table-bar/table-bar.options.mjs +0 -34
  395. package/esm2022/components/table-bar/table-bars-host.component.mjs +0 -39
  396. package/esm2022/components/table-bar/table-bars.service.mjs +0 -22
  397. package/esm2022/components/table-bar/taiga-ui-legacy-components-table-bar.mjs +0 -5
  398. package/esm2022/components/tag/index.mjs +0 -4
  399. package/esm2022/components/tag/tag.component.mjs +0 -158
  400. package/esm2022/components/tag/tag.module.mjs +0 -42
  401. package/esm2022/components/tag/tag.options.mjs +0 -26
  402. package/esm2022/components/tag/taiga-ui-legacy-components-tag.mjs +0 -5
  403. package/esm2022/components/taiga-ui-legacy-components.mjs +0 -5
  404. package/esm2022/components/textarea/index.mjs +0 -4
  405. package/esm2022/components/textarea/taiga-ui-legacy-components-textarea.mjs +0 -5
  406. package/esm2022/components/textarea/textarea.component.mjs +0 -175
  407. package/esm2022/components/textarea/textarea.directive.mjs +0 -25
  408. package/esm2022/components/textarea/textarea.module.mjs +0 -68
  409. package/esm2022/components/tooltip/index.mjs +0 -3
  410. package/esm2022/components/tooltip/taiga-ui-legacy-components-tooltip.mjs +0 -5
  411. package/esm2022/components/tooltip/tooltip.component.mjs +0 -27
  412. package/esm2022/components/tooltip/tooltip.module.mjs +0 -24
  413. package/esm2022/directives/index.mjs +0 -6
  414. package/esm2022/directives/legacy-dropdown-open-monitor/index.mjs +0 -2
  415. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +0 -44
  416. package/esm2022/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -5
  417. package/esm2022/directives/taiga-ui-legacy-directives.mjs +0 -5
  418. package/esm2022/directives/textfield-controller/index.mjs +0 -15
  419. package/esm2022/directives/textfield-controller/taiga-ui-legacy-directives-textfield-controller.mjs +0 -5
  420. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +0 -34
  421. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +0 -28
  422. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +0 -72
  423. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +0 -44
  424. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +0 -28
  425. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +0 -28
  426. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +0 -24
  427. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +0 -24
  428. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +0 -32
  429. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +0 -28
  430. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +0 -28
  431. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +0 -28
  432. package/esm2022/directives/textfield-controller/textfield.controller.mjs +0 -49
  433. package/esm2022/directives/textfield-controller/textfield.options.mjs +0 -21
  434. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  435. package/esm2022/directives/unfinished-validator/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -5
  436. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -30
  437. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -15
  438. package/esm2022/directives/value-accessor/index.mjs +0 -4
  439. package/esm2022/directives/value-accessor/taiga-ui-legacy-directives-value-accessor.mjs +0 -5
  440. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +0 -17
  441. package/esm2022/directives/value-accessor/value-accessor.module.mjs +0 -17
  442. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +0 -10
  443. package/esm2022/directives/wrapper/index.mjs +0 -3
  444. package/esm2022/directives/wrapper/taiga-ui-legacy-directives-wrapper.mjs +0 -5
  445. package/esm2022/directives/wrapper/wrapper.directive.mjs +0 -77
  446. package/esm2022/directives/wrapper/wrapper.module.mjs +0 -20
  447. package/esm2022/index.mjs +0 -8
  448. package/esm2022/pipes/format-phone/format-phone.pipe.mjs +0 -54
  449. package/esm2022/pipes/format-phone/index.mjs +0 -2
  450. package/esm2022/pipes/format-phone/taiga-ui-legacy-pipes-format-phone.mjs +0 -5
  451. package/esm2022/pipes/index.mjs +0 -4
  452. package/esm2022/pipes/iso-to-country-code/index.mjs +0 -2
  453. package/esm2022/pipes/iso-to-country-code/iso-to-country-code.pipe.mjs +0 -44
  454. package/esm2022/pipes/iso-to-country-code/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -5
  455. package/esm2022/pipes/taiga-ui-legacy-pipes.mjs +0 -5
  456. package/esm2022/pipes/to-country-code/index.mjs +0 -2
  457. package/esm2022/pipes/to-country-code/taiga-ui-legacy-pipes-to-country-code.mjs +0 -5
  458. package/esm2022/pipes/to-country-code/to-country-code.pipe.mjs +0 -74
  459. package/esm2022/services/index.mjs +0 -2
  460. package/esm2022/services/static-request.service.mjs +0 -36
  461. package/esm2022/services/taiga-ui-legacy-services.mjs +0 -5
  462. package/esm2022/taiga-ui-legacy.mjs +0 -5
  463. package/esm2022/tokens/countries-masks.mjs +0 -257
  464. package/esm2022/tokens/focusable-item-accessor.mjs +0 -14
  465. package/esm2022/tokens/fonts-ready.mjs +0 -10
  466. package/esm2022/tokens/icons.mjs +0 -9
  467. package/esm2022/tokens/index.mjs +0 -15
  468. package/esm2022/tokens/is-apple.mjs +0 -11
  469. package/esm2022/tokens/is-chromium.mjs +0 -10
  470. package/esm2022/tokens/is-firefox.mjs +0 -11
  471. package/esm2022/tokens/is-stackblitz.mjs +0 -9
  472. package/esm2022/tokens/month-formatter.mjs +0 -18
  473. package/esm2022/tokens/sanitizer.mjs +0 -7
  474. package/esm2022/tokens/taiga-ui-legacy-tokens.mjs +0 -5
  475. package/esm2022/tokens/textfield-appearance.mjs +0 -10
  476. package/esm2022/tokens/textfield-host.mjs +0 -14
  477. package/esm2022/tokens/touch-supported.mjs +0 -9
  478. package/esm2022/tokens/value-accessor.mjs +0 -7
  479. package/esm2022/utils/capitalize-first-letter.mjs +0 -7
  480. package/esm2022/utils/date-mode-maskito-adapter.mjs +0 -9
  481. package/esm2022/utils/format-phone.mjs +0 -60
  482. package/esm2022/utils/get-border.mjs +0 -23
  483. package/esm2022/utils/get-max-allowed-phone-length.mjs +0 -26
  484. package/esm2022/utils/get-safe-area-size.mjs +0 -18
  485. package/esm2022/utils/icons-path-factory.mjs +0 -22
  486. package/esm2022/utils/index.mjs +0 -14
  487. package/esm2022/utils/is-apple.mjs +0 -6
  488. package/esm2022/utils/is-presumed-html-string.mjs +0 -8
  489. package/esm2022/utils/iso-to-country-code.mjs +0 -16
  490. package/esm2022/utils/not-kz-region.mjs +0 -24
  491. package/esm2022/utils/process-icon.mjs +0 -34
  492. package/esm2022/utils/specific-dropdown-controllers.mjs +0 -9
  493. package/esm2022/utils/status.mjs +0 -2
  494. package/esm2022/utils/taiga-ui-legacy-utils.mjs +0 -5
  495. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  496. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  497. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -301
  498. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  499. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  500. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  501. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  502. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  503. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  504. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  505. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  506. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  507. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  508. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  509. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  510. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  511. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  512. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  513. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  514. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  515. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
  516. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  517. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  518. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  519. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  520. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  521. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -574
  522. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  523. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -389
  524. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  525. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  526. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  527. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -60
  528. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  529. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  530. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  531. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  532. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  533. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  534. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  535. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  536. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  537. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  538. package/pipes/format-phone/index.d.ts +0 -1
  539. package/pipes/index.d.ts +0 -3
  540. package/pipes/iso-to-country-code/index.d.ts +0 -1
  541. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  542. package/pipes/to-country-code/index.d.ts +0 -1
  543. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  544. package/services/index.d.ts +0 -1
  545. package/services/static-request.service.d.ts +0 -11
@@ -1,215 +0,0 @@
1
- import { __decorate } 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,GAA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