@rpcbase/ui 0.226.0 → 0.228.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 (758) hide show
  1. package/dist/components/PhoneNumberInput/index.d.ts +1 -1
  2. package/dist/components/PhoneNumberInput/index.d.ts.map +1 -1
  3. package/dist/components/PhoneNumberInput/normalization.d.ts +0 -28
  4. package/dist/components/PhoneNumberInput/normalization.d.ts.map +1 -1
  5. package/dist/components/PhoneNumberInput/types.d.ts +4 -4
  6. package/dist/components/PhoneNumberInput/types.d.ts.map +1 -1
  7. package/dist/index100.js +4 -11
  8. package/dist/index100.js.map +1 -1
  9. package/dist/index101.js +8 -68
  10. package/dist/index101.js.map +1 -1
  11. package/dist/index102.js +6 -38
  12. package/dist/index102.js.map +1 -1
  13. package/dist/index103.js +5 -14
  14. package/dist/index103.js.map +1 -1
  15. package/dist/index104.js +4 -23
  16. package/dist/index104.js.map +1 -1
  17. package/dist/index105.js +6 -110
  18. package/dist/index105.js.map +1 -1
  19. package/dist/index106.js +146 -13
  20. package/dist/index106.js.map +1 -1
  21. package/dist/index107.js +39 -4
  22. package/dist/index107.js.map +1 -1
  23. package/dist/index108.js +5 -4
  24. package/dist/index108.js.map +1 -1
  25. package/dist/index109.js +8 -5
  26. package/dist/index109.js.map +1 -1
  27. package/dist/index110.js +13 -11
  28. package/dist/index110.js.map +1 -1
  29. package/dist/index111.js +13 -19
  30. package/dist/index111.js.map +1 -1
  31. package/dist/index112.js +8 -13
  32. package/dist/index112.js.map +1 -1
  33. package/dist/index113.js +31 -261
  34. package/dist/index113.js.map +1 -1
  35. package/dist/index114.js +10 -4
  36. package/dist/index114.js.map +1 -1
  37. package/dist/index115.js +11 -28
  38. package/dist/index115.js.map +1 -1
  39. package/dist/index116.js +8 -126
  40. package/dist/index116.js.map +1 -1
  41. package/dist/index117.js +13 -5
  42. package/dist/index117.js.map +1 -1
  43. package/dist/index118.js +101 -78
  44. package/dist/index118.js.map +1 -1
  45. package/dist/index119.js +20 -67
  46. package/dist/index119.js.map +1 -1
  47. package/dist/index120.js +53 -8
  48. package/dist/index120.js.map +1 -1
  49. package/dist/index121.js +73 -16
  50. package/dist/index121.js.map +1 -1
  51. package/dist/index122.js +9 -92
  52. package/dist/index122.js.map +1 -1
  53. package/dist/index123.js +17 -62
  54. package/dist/index123.js.map +1 -1
  55. package/dist/index124.js +15 -44
  56. package/dist/index124.js.map +1 -1
  57. package/dist/index125.js +24 -52
  58. package/dist/index125.js.map +1 -1
  59. package/dist/index126.js +6 -4
  60. package/dist/index126.js.map +1 -1
  61. package/dist/index127.js +5 -4
  62. package/dist/index127.js.map +1 -1
  63. package/dist/index128.js +23 -15
  64. package/dist/index128.js.map +1 -1
  65. package/dist/index129.js +35 -6
  66. package/dist/index129.js.map +1 -1
  67. package/dist/index130.js +16 -8
  68. package/dist/index130.js.map +1 -1
  69. package/dist/index131.js +6 -16
  70. package/dist/index131.js.map +1 -1
  71. package/dist/index132.js +4 -4
  72. package/dist/index132.js.map +1 -1
  73. package/dist/index133.js +4 -4
  74. package/dist/index133.js.map +1 -1
  75. package/dist/index134.js +4 -5
  76. package/dist/index134.js.map +1 -1
  77. package/dist/index135.js +4 -5
  78. package/dist/index135.js.map +1 -1
  79. package/dist/index136.js +3 -4
  80. package/dist/index136.js.map +1 -1
  81. package/dist/index137.js +6 -4
  82. package/dist/index137.js.map +1 -1
  83. package/dist/index138.js +24 -7
  84. package/dist/index138.js.map +1 -1
  85. package/dist/index139.js +7 -24
  86. package/dist/index139.js.map +1 -1
  87. package/dist/index140.js +6 -6
  88. package/dist/index140.js.map +1 -1
  89. package/dist/index141.js +5 -4
  90. package/dist/index141.js.map +1 -1
  91. package/dist/index142.js +3 -6
  92. package/dist/index142.js.map +1 -1
  93. package/dist/index143.js +3 -5
  94. package/dist/index143.js.map +1 -1
  95. package/dist/index144.js +4 -4
  96. package/dist/index144.js.map +1 -1
  97. package/dist/index145.js +3 -5
  98. package/dist/index145.js.map +1 -1
  99. package/dist/index146.js +4 -4
  100. package/dist/index146.js.map +1 -1
  101. package/dist/index147.js +3 -8
  102. package/dist/index147.js.map +1 -1
  103. package/dist/index148.js +3 -5
  104. package/dist/index148.js.map +1 -1
  105. package/dist/index149.js +3 -4
  106. package/dist/index149.js.map +1 -1
  107. package/dist/index150.js +5 -4
  108. package/dist/index150.js.map +1 -1
  109. package/dist/index151.js +68 -6
  110. package/dist/index151.js.map +1 -1
  111. package/dist/index152.js +2 -146
  112. package/dist/index152.js.map +1 -1
  113. package/dist/index153.js +362 -38
  114. package/dist/index153.js.map +1 -1
  115. package/dist/index154.js +261 -4
  116. package/dist/index154.js.map +1 -1
  117. package/dist/index155.js +60 -7
  118. package/dist/index155.js.map +1 -1
  119. package/dist/index156.js +46 -13
  120. package/dist/index156.js.map +1 -1
  121. package/dist/index157.js +169 -13
  122. package/dist/index157.js.map +1 -1
  123. package/dist/index158.js +109 -7
  124. package/dist/index158.js.map +1 -1
  125. package/dist/index159.js +24 -31
  126. package/dist/index159.js.map +1 -1
  127. package/dist/index160.js +8 -11
  128. package/dist/index160.js.map +1 -1
  129. package/dist/index161.js +4 -10
  130. package/dist/index161.js.map +1 -1
  131. package/dist/index162.js +5 -8
  132. package/dist/index162.js.map +1 -1
  133. package/dist/index163.js +4 -13
  134. package/dist/index163.js.map +1 -1
  135. package/dist/index164.js +465 -100
  136. package/dist/index164.js.map +1 -1
  137. package/dist/index165.js +186 -20
  138. package/dist/index165.js.map +1 -1
  139. package/dist/index166.js +107 -53
  140. package/dist/index166.js.map +1 -1
  141. package/dist/index167.js +261 -71
  142. package/dist/index167.js.map +1 -1
  143. package/dist/index168.js +9 -9
  144. package/dist/index168.js.map +1 -1
  145. package/dist/index169.js +42 -20
  146. package/dist/index169.js.map +1 -1
  147. package/dist/index170.js +4 -16
  148. package/dist/index170.js.map +1 -1
  149. package/dist/index171.js +11 -23
  150. package/dist/index171.js.map +1 -1
  151. package/dist/index172.js +68 -6
  152. package/dist/index172.js.map +1 -1
  153. package/dist/index173.js +38 -6
  154. package/dist/index173.js.map +1 -1
  155. package/dist/index174.js +14 -24
  156. package/dist/index174.js.map +1 -1
  157. package/dist/index175.js +21 -32
  158. package/dist/index175.js.map +1 -1
  159. package/dist/index176.js +111 -16
  160. package/dist/index176.js.map +1 -1
  161. package/dist/index177.js +13 -7
  162. package/dist/index177.js.map +1 -1
  163. package/dist/index178.js +4 -4
  164. package/dist/index178.js.map +1 -1
  165. package/dist/index179.js +4 -5
  166. package/dist/index179.js.map +1 -1
  167. package/dist/index18.js +377 -414
  168. package/dist/index18.js.map +1 -1
  169. package/dist/index180.js +5 -5
  170. package/dist/index180.js.map +1 -1
  171. package/dist/index181.js +11 -4
  172. package/dist/index181.js.map +1 -1
  173. package/dist/index182.js +19 -3
  174. package/dist/index182.js.map +1 -1
  175. package/dist/index183.js +13 -7
  176. package/dist/index183.js.map +1 -1
  177. package/dist/index184.js +262 -24
  178. package/dist/index184.js.map +1 -1
  179. package/dist/index185.js +4 -7
  180. package/dist/index185.js.map +1 -1
  181. package/dist/index186.js +28 -7
  182. package/dist/index186.js.map +1 -1
  183. package/dist/index187.js +126 -5
  184. package/dist/index187.js.map +1 -1
  185. package/dist/index188.js +5 -3
  186. package/dist/index188.js.map +1 -1
  187. package/dist/index189.js +78 -3
  188. package/dist/index189.js.map +1 -1
  189. package/dist/index190.js +66 -4
  190. package/dist/index190.js.map +1 -1
  191. package/dist/index191.js +8 -3
  192. package/dist/index191.js.map +1 -1
  193. package/dist/index192.js +16 -5
  194. package/dist/index192.js.map +1 -1
  195. package/dist/index193.js +92 -3
  196. package/dist/index193.js.map +1 -1
  197. package/dist/index194.js +65 -3
  198. package/dist/index194.js.map +1 -1
  199. package/dist/index195.js +45 -3
  200. package/dist/index195.js.map +1 -1
  201. package/dist/index196.js +16 -13
  202. package/dist/index196.js.map +1 -1
  203. package/dist/index197.js +4 -153
  204. package/dist/index197.js.map +1 -1
  205. package/dist/index198.js +4 -29
  206. package/dist/index198.js.map +1 -1
  207. package/dist/index199.js +58 -9
  208. package/dist/index199.js.map +1 -1
  209. package/dist/index200.js +61 -43
  210. package/dist/index200.js.map +1 -1
  211. package/dist/index201.js +6 -11
  212. package/dist/index201.js.map +1 -1
  213. package/dist/index202.js +4 -44
  214. package/dist/index202.js.map +1 -1
  215. package/dist/index203.js +6 -95
  216. package/dist/index203.js.map +1 -1
  217. package/dist/index204.js +16 -86
  218. package/dist/index204.js.map +1 -1
  219. package/dist/index205.js +4 -105
  220. package/dist/index205.js.map +1 -1
  221. package/dist/index206.js +4 -52
  222. package/dist/index206.js.map +1 -1
  223. package/dist/index207.js +12 -11
  224. package/dist/index207.js.map +1 -1
  225. package/dist/index208.js +9 -37
  226. package/dist/index208.js.map +1 -1
  227. package/dist/index209.js +13 -8
  228. package/dist/index209.js.map +1 -1
  229. package/dist/index210.js +13 -116
  230. package/dist/index210.js.map +1 -1
  231. package/dist/index211.js +4 -17
  232. package/dist/index211.js.map +1 -1
  233. package/dist/index212.js +5 -15
  234. package/dist/index212.js.map +1 -1
  235. package/dist/index213.js +6 -3
  236. package/dist/index213.js.map +1 -1
  237. package/dist/index214.js +5 -36
  238. package/dist/index214.js.map +1 -1
  239. package/dist/index215.js +53 -19
  240. package/dist/index215.js.map +1 -1
  241. package/dist/index216.js +8 -9
  242. package/dist/index216.js.map +1 -1
  243. package/dist/index217.js +4 -8
  244. package/dist/index217.js.map +1 -1
  245. package/dist/index218.js +4 -19
  246. package/dist/index218.js.map +1 -1
  247. package/dist/index219.js +8 -28
  248. package/dist/index219.js.map +1 -1
  249. package/dist/index220.js +4 -16
  250. package/dist/index220.js.map +1 -1
  251. package/dist/index221.js +4 -66
  252. package/dist/index221.js.map +1 -1
  253. package/dist/index222.js +3 -8
  254. package/dist/index222.js.map +1 -1
  255. package/dist/index223.js +10 -11
  256. package/dist/index223.js.map +1 -1
  257. package/dist/index224.js +9 -8
  258. package/dist/index224.js.map +1 -1
  259. package/dist/index225.js +9 -5
  260. package/dist/index225.js.map +1 -1
  261. package/dist/index226.js +10 -13
  262. package/dist/index226.js.map +1 -1
  263. package/dist/index227.js +10 -3
  264. package/dist/index227.js.map +1 -1
  265. package/dist/index228.js +9 -3
  266. package/dist/index228.js.map +1 -1
  267. package/dist/index229.js +6 -99
  268. package/dist/index229.js.map +1 -1
  269. package/dist/index230.js +5 -29
  270. package/dist/index230.js.map +1 -1
  271. package/dist/index231.js +4 -51
  272. package/dist/index231.js.map +1 -1
  273. package/dist/index232.js +5 -17
  274. package/dist/index232.js.map +1 -1
  275. package/dist/index233.js +6 -5
  276. package/dist/index233.js.map +1 -1
  277. package/dist/index234.js +5 -122
  278. package/dist/index234.js.map +1 -1
  279. package/dist/index235.js +8 -27
  280. package/dist/index235.js.map +1 -1
  281. package/dist/index236.js +19 -32
  282. package/dist/index236.js.map +1 -1
  283. package/dist/index237.js +15 -72
  284. package/dist/index237.js.map +1 -1
  285. package/dist/index238.js +7 -262
  286. package/dist/index238.js.map +1 -1
  287. package/dist/index239.js +9 -27
  288. package/dist/index239.js.map +1 -1
  289. package/dist/index240.js +10 -6
  290. package/dist/index240.js.map +1 -1
  291. package/dist/index241.js +19 -140
  292. package/dist/index241.js.map +1 -1
  293. package/dist/index242.js +10 -61
  294. package/dist/index242.js.map +1 -1
  295. package/dist/index243.js +9 -49
  296. package/dist/index243.js.map +1 -1
  297. package/dist/index244.js +10 -15
  298. package/dist/index244.js.map +1 -1
  299. package/dist/index245.js +4 -133
  300. package/dist/index245.js.map +1 -1
  301. package/dist/index246.js +5 -8
  302. package/dist/index246.js.map +1 -1
  303. package/dist/index247.js +17 -5
  304. package/dist/index247.js.map +1 -1
  305. package/dist/index248.js +10 -4
  306. package/dist/index248.js.map +1 -1
  307. package/dist/index249.js +18 -11
  308. package/dist/index249.js.map +1 -1
  309. package/dist/index250.js +13 -19
  310. package/dist/index250.js.map +1 -1
  311. package/dist/index251.js +13 -20
  312. package/dist/index251.js.map +1 -1
  313. package/dist/index252.js +29 -11
  314. package/dist/index252.js.map +1 -1
  315. package/dist/index253.js +11 -49
  316. package/dist/index253.js.map +1 -1
  317. package/dist/index254.js +24 -15
  318. package/dist/index254.js.map +1 -1
  319. package/dist/index255.js +5 -21
  320. package/dist/index255.js.map +1 -1
  321. package/dist/index256.js +20 -52
  322. package/dist/index256.js.map +1 -1
  323. package/dist/index257.js +65 -24
  324. package/dist/index257.js.map +1 -1
  325. package/dist/index258.js +6 -41
  326. package/dist/index258.js.map +1 -1
  327. package/dist/index259.js +11 -39
  328. package/dist/index259.js.map +1 -1
  329. package/dist/index260.js +50 -44
  330. package/dist/index260.js.map +1 -1
  331. package/dist/index261.js +4 -21
  332. package/dist/index261.js.map +1 -1
  333. package/dist/index262.js +26 -67
  334. package/dist/index262.js.map +1 -1
  335. package/dist/index263.js +15 -16
  336. package/dist/index263.js.map +1 -1
  337. package/dist/index264.js +5 -11
  338. package/dist/index264.js.map +1 -1
  339. package/dist/index265.js +20 -12
  340. package/dist/index265.js.map +1 -1
  341. package/dist/index266.js +51 -18
  342. package/dist/index266.js.map +1 -1
  343. package/dist/index267.js +24 -35
  344. package/dist/index267.js.map +1 -1
  345. package/dist/index268.js +35 -272
  346. package/dist/index268.js.map +1 -1
  347. package/dist/index269.js +36 -65
  348. package/dist/index269.js.map +1 -1
  349. package/dist/index270.js +45 -84
  350. package/dist/index270.js.map +1 -1
  351. package/dist/index271.js +20 -3
  352. package/dist/index271.js.map +1 -1
  353. package/dist/index272.js +66 -25
  354. package/dist/index272.js.map +1 -1
  355. package/dist/index273.js +17 -16
  356. package/dist/index273.js.map +1 -1
  357. package/dist/index274.js +12 -35
  358. package/dist/index274.js.map +1 -1
  359. package/dist/index275.js +27 -16
  360. package/dist/index275.js.map +1 -1
  361. package/dist/index276.js +13 -3
  362. package/dist/index276.js.map +1 -1
  363. package/dist/index277.js +15 -23
  364. package/dist/index277.js.map +1 -1
  365. package/dist/index278.js +37 -4
  366. package/dist/index278.js.map +1 -1
  367. package/dist/index279.js +258 -74
  368. package/dist/index279.js.map +1 -1
  369. package/dist/index280.js +269 -260
  370. package/dist/index280.js.map +1 -1
  371. package/dist/index281.js +68 -11
  372. package/dist/index281.js.map +1 -1
  373. package/dist/index282.js +100 -11
  374. package/dist/index282.js.map +1 -1
  375. package/dist/index283.js +82 -24
  376. package/dist/index283.js.map +1 -1
  377. package/dist/index284.js +3 -16
  378. package/dist/index284.js.map +1 -1
  379. package/dist/index285.js +26 -122
  380. package/dist/index285.js.map +1 -1
  381. package/dist/index286.js +16 -5
  382. package/dist/index286.js.map +1 -1
  383. package/dist/index287.js +34 -40
  384. package/dist/index287.js.map +1 -1
  385. package/dist/index288.js +15 -64
  386. package/dist/index288.js.map +1 -1
  387. package/dist/index289.js +4 -14
  388. package/dist/index289.js.map +1 -1
  389. package/dist/index290.js +26 -7
  390. package/dist/index290.js.map +1 -1
  391. package/dist/index291.js +28 -5
  392. package/dist/index291.js.map +1 -1
  393. package/dist/index292.js +4 -4
  394. package/dist/index292.js.map +1 -1
  395. package/dist/index293.js +78 -10
  396. package/dist/index293.js.map +1 -1
  397. package/dist/index294.js +269 -7
  398. package/dist/index294.js.map +1 -1
  399. package/dist/index295.js +11 -399
  400. package/dist/index295.js.map +1 -1
  401. package/dist/index296.js +10 -52
  402. package/dist/index296.js.map +1 -1
  403. package/dist/index297.js +25 -11
  404. package/dist/index297.js.map +1 -1
  405. package/dist/index298.js +16 -11
  406. package/dist/index298.js.map +1 -1
  407. package/dist/index299.js +124 -57
  408. package/dist/index299.js.map +1 -1
  409. package/dist/index300.js +5 -8
  410. package/dist/index300.js.map +1 -1
  411. package/dist/index301.js +38 -64
  412. package/dist/index301.js.map +1 -1
  413. package/dist/index302.js +63 -17
  414. package/dist/index302.js.map +1 -1
  415. package/dist/index303.js +13 -16
  416. package/dist/index303.js.map +1 -1
  417. package/dist/index304.js +7 -5
  418. package/dist/index304.js.map +1 -1
  419. package/dist/index305.js +5 -5
  420. package/dist/index305.js.map +1 -1
  421. package/dist/index306.js +3 -6
  422. package/dist/index306.js.map +1 -1
  423. package/dist/index307.js +10 -4
  424. package/dist/index307.js.map +1 -1
  425. package/dist/index308.js +7 -6
  426. package/dist/index308.js.map +1 -1
  427. package/dist/index309.js +132 -15
  428. package/dist/index309.js.map +1 -1
  429. package/dist/index31.js +24 -24
  430. package/dist/index310.js +399 -4
  431. package/dist/index310.js.map +1 -1
  432. package/dist/index311.js +52 -4
  433. package/dist/index311.js.map +1 -1
  434. package/dist/index312.js +11 -12
  435. package/dist/index312.js.map +1 -1
  436. package/dist/index313.js +11 -9
  437. package/dist/index313.js.map +1 -1
  438. package/dist/index314.js +13 -13
  439. package/dist/index314.js.map +1 -1
  440. package/dist/index315.js +154 -13
  441. package/dist/index315.js.map +1 -1
  442. package/dist/index316.js +30 -4
  443. package/dist/index316.js.map +1 -1
  444. package/dist/index317.js +9 -5
  445. package/dist/index317.js.map +1 -1
  446. package/dist/index318.js +48 -6
  447. package/dist/index318.js.map +1 -1
  448. package/dist/index319.js +11 -5
  449. package/dist/index319.js.map +1 -1
  450. package/dist/index32.js +3 -3
  451. package/dist/index320.js +43 -53
  452. package/dist/index320.js.map +1 -1
  453. package/dist/index321.js +95 -8
  454. package/dist/index321.js.map +1 -1
  455. package/dist/index322.js +86 -4
  456. package/dist/index322.js.map +1 -1
  457. package/dist/index323.js +105 -4
  458. package/dist/index323.js.map +1 -1
  459. package/dist/index324.js +52 -8
  460. package/dist/index324.js.map +1 -1
  461. package/dist/index325.js +11 -4
  462. package/dist/index325.js.map +1 -1
  463. package/dist/index326.js +37 -4
  464. package/dist/index326.js.map +1 -1
  465. package/dist/index327.js +8 -3
  466. package/dist/index327.js.map +1 -1
  467. package/dist/index328.js +116 -10
  468. package/dist/index328.js.map +1 -1
  469. package/dist/index329.js +17 -9
  470. package/dist/index329.js.map +1 -1
  471. package/dist/index330.js +15 -9
  472. package/dist/index330.js.map +1 -1
  473. package/dist/index331.js +3 -10
  474. package/dist/index331.js.map +1 -1
  475. package/dist/index332.js +36 -10
  476. package/dist/index332.js.map +1 -1
  477. package/dist/index333.js +20 -9
  478. package/dist/index333.js.map +1 -1
  479. package/dist/index334.js +9 -6
  480. package/dist/index334.js.map +1 -1
  481. package/dist/index335.js +8 -5
  482. package/dist/index335.js.map +1 -1
  483. package/dist/index336.js +8 -4
  484. package/dist/index336.js.map +1 -1
  485. package/dist/index337.js +11 -5
  486. package/dist/index337.js.map +1 -1
  487. package/dist/index338.js +8 -6
  488. package/dist/index338.js.map +1 -1
  489. package/dist/index339.js +13 -5
  490. package/dist/index339.js.map +1 -1
  491. package/dist/index34.js +4 -4
  492. package/dist/index340.js +3 -16
  493. package/dist/index340.js.map +1 -1
  494. package/dist/index341.js +3 -7
  495. package/dist/index341.js.map +1 -1
  496. package/dist/index342.js +18 -9
  497. package/dist/index342.js.map +1 -1
  498. package/dist/index343.js +27 -9
  499. package/dist/index343.js.map +1 -1
  500. package/dist/index344.js +15 -20
  501. package/dist/index344.js.map +1 -1
  502. package/dist/index345.js +17 -10
  503. package/dist/index345.js.map +1 -1
  504. package/dist/index346.js +51 -9
  505. package/dist/index346.js.map +1 -1
  506. package/dist/index347.js +5 -9
  507. package/dist/index347.js.map +1 -1
  508. package/dist/index348.js +122 -4
  509. package/dist/index348.js.map +1 -1
  510. package/dist/index349.js +32 -5
  511. package/dist/index349.js.map +1 -1
  512. package/dist/index35.js +5 -5
  513. package/dist/index350.js +73 -16
  514. package/dist/index350.js.map +1 -1
  515. package/dist/index351.js +142 -9
  516. package/dist/index351.js.map +1 -1
  517. package/dist/index352.js +61 -18
  518. package/dist/index352.js.map +1 -1
  519. package/dist/index353.js +47 -13
  520. package/dist/index353.js.map +1 -1
  521. package/dist/index354.js +15 -13
  522. package/dist/index354.js.map +1 -1
  523. package/dist/index355.js +7 -28
  524. package/dist/index355.js.map +1 -1
  525. package/dist/index356.js +5 -13
  526. package/dist/index356.js.map +1 -1
  527. package/dist/index357.js +11 -25
  528. package/dist/index357.js.map +1 -1
  529. package/dist/index358.js +21 -5
  530. package/dist/index358.js.map +1 -1
  531. package/dist/index359.js +4 -20
  532. package/dist/index359.js.map +1 -1
  533. package/dist/index36.js +10 -10
  534. package/dist/index360.js +18 -9
  535. package/dist/index360.js.map +1 -1
  536. package/dist/index361.js +13 -26
  537. package/dist/index361.js.map +1 -1
  538. package/dist/index362.js +4 -27
  539. package/dist/index362.js.map +1 -1
  540. package/dist/index363.js +10 -136
  541. package/dist/index363.js.map +1 -1
  542. package/dist/index364.js +16 -12
  543. package/dist/index364.js.map +1 -1
  544. package/dist/index365.js +5 -226
  545. package/dist/index365.js.map +1 -1
  546. package/dist/index366.js +20 -3
  547. package/dist/index366.js.map +1 -1
  548. package/dist/index367.js +45 -20
  549. package/dist/index367.js.map +1 -1
  550. package/dist/index368.js +17 -77
  551. package/dist/index368.js.map +1 -1
  552. package/dist/index369.js +4 -11
  553. package/dist/index369.js.map +1 -1
  554. package/dist/index37.js +3 -3
  555. package/dist/index370.js +200 -3
  556. package/dist/index370.js.map +1 -1
  557. package/dist/index371.js +5 -5
  558. package/dist/index372.js +19 -199
  559. package/dist/index372.js.map +1 -1
  560. package/dist/index373.js +6 -69
  561. package/dist/index373.js.map +1 -1
  562. package/dist/index374.js +26 -9
  563. package/dist/index374.js.map +1 -1
  564. package/dist/index375.js +26 -16
  565. package/dist/index375.js.map +1 -1
  566. package/dist/index376.js +136 -14
  567. package/dist/index376.js.map +1 -1
  568. package/dist/index377.js +13 -4
  569. package/dist/index377.js.map +1 -1
  570. package/dist/index378.js +225 -10
  571. package/dist/index378.js.map +1 -1
  572. package/dist/index379.js +3 -5
  573. package/dist/index379.js.map +1 -1
  574. package/dist/index38.js +4 -4
  575. package/dist/index380.js +19 -20
  576. package/dist/index380.js.map +1 -1
  577. package/dist/index381.js +77 -44
  578. package/dist/index381.js.map +1 -1
  579. package/dist/index382.js +11 -17
  580. package/dist/index382.js.map +1 -1
  581. package/dist/index383.js +4 -5
  582. package/dist/index383.js.map +1 -1
  583. package/dist/index384.js +71 -4
  584. package/dist/index384.js.map +1 -1
  585. package/dist/index385.js +9 -18
  586. package/dist/index385.js.map +1 -1
  587. package/dist/index386.js +15 -12
  588. package/dist/index386.js.map +1 -1
  589. package/dist/index387.js +4 -14
  590. package/dist/index387.js.map +1 -1
  591. package/dist/index388.js +4 -491
  592. package/dist/index388.js.map +1 -1
  593. package/dist/index389.js +4 -3
  594. package/dist/index389.js.map +1 -1
  595. package/dist/index39.js +5 -5
  596. package/dist/index390.js +16 -3
  597. package/dist/index390.js.map +1 -1
  598. package/dist/index391.js +8 -4
  599. package/dist/index391.js.map +1 -1
  600. package/dist/index392.js +5 -4
  601. package/dist/index392.js.map +1 -1
  602. package/dist/index393.js +5 -4
  603. package/dist/index393.js.map +1 -1
  604. package/dist/index394.js +545 -15
  605. package/dist/index394.js.map +1 -1
  606. package/dist/index395.js +47 -9
  607. package/dist/index395.js.map +1 -1
  608. package/dist/index396.js +17 -5
  609. package/dist/index396.js.map +1 -1
  610. package/dist/index397.js +5 -4
  611. package/dist/index397.js.map +1 -1
  612. package/dist/index398.js +7 -545
  613. package/dist/index398.js.map +1 -1
  614. package/dist/index399.js +7 -47
  615. package/dist/index399.js.map +1 -1
  616. package/dist/index40.js +3 -3
  617. package/dist/index400.js +7 -17
  618. package/dist/index400.js.map +1 -1
  619. package/dist/index401.js +11 -5
  620. package/dist/index401.js.map +1 -1
  621. package/dist/index402.js +8 -7
  622. package/dist/index402.js.map +1 -1
  623. package/dist/index403.js +12 -6
  624. package/dist/index403.js.map +1 -1
  625. package/dist/index404.js +3 -8
  626. package/dist/index404.js.map +1 -1
  627. package/dist/index405.js +3 -12
  628. package/dist/index405.js.map +1 -1
  629. package/dist/index406.js +14 -8
  630. package/dist/index406.js.map +1 -1
  631. package/dist/index407.js +491 -12
  632. package/dist/index407.js.map +1 -1
  633. package/dist/index408.js +4 -7
  634. package/dist/index408.js.map +1 -1
  635. package/dist/index409.js +56 -2
  636. package/dist/index409.js.map +1 -1
  637. package/dist/index41.js +10 -10
  638. package/dist/index410.js +67 -43
  639. package/dist/index410.js.map +1 -1
  640. package/dist/index411.js +31 -56
  641. package/dist/index411.js.map +1 -1
  642. package/dist/index412.js +9 -8
  643. package/dist/index412.js.map +1 -1
  644. package/dist/index413.js +153 -2
  645. package/dist/index413.js.map +1 -1
  646. package/dist/index414.js +107 -54
  647. package/dist/index414.js.map +1 -1
  648. package/dist/index415.js +7 -55
  649. package/dist/index415.js.map +1 -1
  650. package/dist/index416.js +2 -5
  651. package/dist/index416.js.map +1 -1
  652. package/dist/index417.js +42 -54
  653. package/dist/index417.js.map +1 -1
  654. package/dist/index418.js +56 -68
  655. package/dist/index418.js.map +1 -1
  656. package/dist/index419.js +8 -31
  657. package/dist/index419.js.map +1 -1
  658. package/dist/index420.js +2 -9
  659. package/dist/index420.js.map +1 -1
  660. package/dist/index421.js +54 -152
  661. package/dist/index421.js.map +1 -1
  662. package/dist/index422.js +56 -108
  663. package/dist/index422.js.map +1 -1
  664. package/dist/index423.js +16 -2
  665. package/dist/index423.js.map +1 -1
  666. package/dist/index424.js +29 -2
  667. package/dist/index424.js.map +1 -1
  668. package/dist/index425.js +13 -2
  669. package/dist/index425.js.map +1 -1
  670. package/dist/index426.js +7 -2
  671. package/dist/index426.js.map +1 -1
  672. package/dist/index427.js +2 -16
  673. package/dist/index427.js.map +1 -1
  674. package/dist/index428.js +2 -29
  675. package/dist/index428.js.map +1 -1
  676. package/dist/index429.js +2 -13
  677. package/dist/index429.js.map +1 -1
  678. package/dist/index430.js +2 -7
  679. package/dist/index430.js.map +1 -1
  680. package/dist/index44.js +23 -22
  681. package/dist/index44.js.map +1 -1
  682. package/dist/index45.js +22 -196
  683. package/dist/index45.js.map +1 -1
  684. package/dist/index48.js +2 -2
  685. package/dist/index49.js +34 -34
  686. package/dist/index50.js +29 -29
  687. package/dist/index51.js +2 -2
  688. package/dist/index52.js +12 -12
  689. package/dist/index53.js +4 -4
  690. package/dist/index54.js +1 -1
  691. package/dist/index55.js +22 -22
  692. package/dist/index56.js +5 -5
  693. package/dist/index57.js +5 -5
  694. package/dist/index58.js +8 -8
  695. package/dist/index59.js +5 -5
  696. package/dist/index60.js +17 -17
  697. package/dist/index61.js +5 -5
  698. package/dist/index62.js +3 -3
  699. package/dist/index66.js +1 -1
  700. package/dist/index67.js +1 -1
  701. package/dist/index70.js +1 -1
  702. package/dist/index71.js +1 -1
  703. package/dist/index72.js +2 -6
  704. package/dist/index72.js.map +1 -1
  705. package/dist/index73.js +2 -8
  706. package/dist/index73.js.map +1 -1
  707. package/dist/index74.js +2 -6
  708. package/dist/index74.js.map +1 -1
  709. package/dist/index75.js +2 -2
  710. package/dist/index76.js +6 -2
  711. package/dist/index76.js.map +1 -1
  712. package/dist/index77.js +8 -2
  713. package/dist/index77.js.map +1 -1
  714. package/dist/index78.js +6 -2
  715. package/dist/index78.js.map +1 -1
  716. package/dist/index79.js +52 -6
  717. package/dist/index79.js.map +1 -1
  718. package/dist/index80.js +4 -68
  719. package/dist/index80.js.map +1 -1
  720. package/dist/index81.js +5 -2
  721. package/dist/index81.js.map +1 -1
  722. package/dist/index82.js +15 -363
  723. package/dist/index82.js.map +1 -1
  724. package/dist/index83.js +5 -261
  725. package/dist/index83.js.map +1 -1
  726. package/dist/index84.js +7 -60
  727. package/dist/index84.js.map +1 -1
  728. package/dist/index85.js +16 -46
  729. package/dist/index85.js.map +1 -1
  730. package/dist/index86.js +4 -169
  731. package/dist/index86.js.map +1 -1
  732. package/dist/index87.js +4 -109
  733. package/dist/index87.js.map +1 -1
  734. package/dist/index88.js +5 -24
  735. package/dist/index88.js.map +1 -1
  736. package/dist/index89.js +6 -8
  737. package/dist/index89.js.map +1 -1
  738. package/dist/index90.js +4 -4
  739. package/dist/index90.js.map +1 -1
  740. package/dist/index91.js +4 -5
  741. package/dist/index91.js.map +1 -1
  742. package/dist/index92.js +6 -4
  743. package/dist/index92.js.map +1 -1
  744. package/dist/index93.js +24 -466
  745. package/dist/index93.js.map +1 -1
  746. package/dist/index94.js +6 -185
  747. package/dist/index94.js.map +1 -1
  748. package/dist/index95.js +4 -107
  749. package/dist/index95.js.map +1 -1
  750. package/dist/index96.js +6 -262
  751. package/dist/index96.js.map +1 -1
  752. package/dist/index97.js +5 -9
  753. package/dist/index97.js.map +1 -1
  754. package/dist/index98.js +4 -42
  755. package/dist/index98.js.map +1 -1
  756. package/dist/index99.js +5 -4
  757. package/dist/index99.js.map +1 -1
  758. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index45.js","sources":["../src/components/PhoneNumberInput/normalization.ts"],"sourcesContent":["import type { CountryCode } from \"libphonenumber-js\"\nimport { AsYouType, getCountryCallingCode, validatePhoneNumberLength } from \"libphonenumber-js\"\n\nimport {\n COMMON_IDD_PREFIXES,\n COUNTRY_DIAL_CODES,\n DEFAULT_COUNTRY,\n MAX_DIAL_CODE_LENGTH,\n} from \"./country-options\"\n\n\nexport type LengthIssue = \"TOO_LONG\"\n\nexport function sanitizeDigits(value: string) {\n return value.replace(/\\D/g, \"\")\n}\n\nfunction isDialCodeProgress(digits: string) {\n if (!digits) {\n return true\n }\n\n if (digits.length > MAX_DIAL_CODE_LENGTH) {\n return false\n }\n\n return COUNTRY_DIAL_CODES.some((dial) => dial.startsWith(digits))\n}\n\nconst INVISIBLE_FORMATTING_CHARACTERS =\n /[\\u061C\\u200B-\\u200F\\u202A-\\u202E\\u2066-\\u2069\\uFEFF]/g\n\nfunction stripInvisibleFormatting(value: string) {\n return value.replace(INVISIBLE_FORMATTING_CHARACTERS, \"\")\n}\n\nexport function injectNationalPrefixDisplay(\n international: string,\n dialCode: string,\n options: { force?: boolean } = {}\n) {\n // Preserve a user-typed national trunk (e.g. the French \"0\") purely for display\n // so validation can continue to use the canonical E.164 representation internally.\n const { force = false } = options\n const prefix = `+${dialCode}`\n\n if (!international.startsWith(prefix)) {\n return international\n }\n\n if (!force) {\n return international\n }\n\n const remainder = international.slice(prefix.length).trimStart()\n const alreadyHasTrunk = remainder.startsWith(\"0\")\n\n if (alreadyHasTrunk) {\n return international\n }\n\n if (!remainder) {\n return `${prefix} 0`\n }\n\n const [firstGroup, ...restGroups] = remainder.split(\" \")\n const rebuiltFirstGroup = `0${firstGroup ?? \"\"}`\n const rebuiltRemainder = restGroups.length > 0 ? ` ${restGroups.join(\" \")}` : \"\"\n\n return `${prefix} ${rebuiltFirstGroup}${rebuiltRemainder}`.replace(/\\s\\s+/g, \" \").trimEnd()\n}\n\nconst DETECTED_COUNTRY_OVERRIDES: Partial<Record<CountryCode, CountryCode>> = {\n GG: \"GB\",\n JE: \"GB\",\n IM: \"GB\",\n}\n\nfunction canonicalizeDetectedCountry(candidate: CountryCode | undefined): CountryCode | undefined {\n if (!candidate) {\n return undefined\n }\n return DETECTED_COUNTRY_OVERRIDES[candidate] ?? candidate\n}\n\ntype AsYouTypeNumber = ReturnType<AsYouType[\"getNumber\"]>\n\nfunction inferCountryFromDialCode(\n phoneNumber: AsYouTypeNumber,\n baseCountry: CountryCode | undefined,\n normalizedDigits: string\n): CountryCode | undefined {\n if (!phoneNumber) {\n return undefined\n }\n\n if (!normalizedDigits) {\n return undefined\n }\n\n const nationalDigits = phoneNumber.nationalNumber ?? \"\"\n if (nationalDigits.length < 4) {\n return undefined\n }\n\n const dial = phoneNumber.countryCallingCode\n if (!dial) {\n return undefined\n }\n\n const metadataGetter = (phoneNumber as unknown as { getMetadata?: () => unknown }).getMetadata\n const metadata =\n typeof metadataGetter === \"function\"\n ? (metadataGetter() as {\n country_calling_codes?: Record<string, string[]>\n } | null)\n : null\n\n const candidates = metadata?.country_calling_codes?.[dial]\n if (!candidates || candidates.length === 0) {\n return undefined\n }\n\n const canonicalCandidates: CountryCode[] = []\n for (const candidate of candidates) {\n const canonical = canonicalizeDetectedCountry(candidate as CountryCode)\n if (canonical && !canonicalCandidates.includes(canonical)) {\n canonicalCandidates.push(canonical)\n }\n }\n\n if (canonicalCandidates.length === 0) {\n return undefined\n }\n\n if (baseCountry && canonicalCandidates.includes(baseCountry)) {\n return baseCountry\n }\n\n if (canonicalCandidates.includes(DEFAULT_COUNTRY)) {\n return DEFAULT_COUNTRY\n }\n\n return canonicalCandidates[0]\n}\n\nexport function detectNationalPrefixForDisplay(\n rawDigits: string,\n internationalDigits: string,\n dialCode: string,\n hasExplicitInternationalPrefix: boolean\n) {\n if (!rawDigits) {\n return false\n }\n\n if (!hasExplicitInternationalPrefix) {\n return rawDigits.startsWith(\"0\")\n }\n\n if (!dialCode) {\n return false\n }\n\n if (!rawDigits.startsWith(dialCode)) {\n return false\n }\n\n if (!rawDigits.slice(dialCode.length).startsWith(\"0\")) {\n return false\n }\n\n const rawAfterTrunk = rawDigits.slice(dialCode.length + 1)\n const internationalAfterDial = internationalDigits.startsWith(dialCode)\n ? internationalDigits.slice(dialCode.length)\n : internationalDigits\n\n return rawAfterTrunk === internationalAfterDial\n}\n\nfunction stripIddPrefix(digits: string) {\n for (const prefix of COMMON_IDD_PREFIXES) {\n if (digits.startsWith(prefix)) {\n return digits.slice(prefix.length)\n }\n }\n return digits\n}\n\nexport function normalizeInputValue(\n rawValue: string,\n country: CountryCode | undefined,\n options: {\n allowJustPlus?: boolean\n removeNationalPrefix?: boolean\n previousValue?: string\n } = {}\n) {\n const { allowJustPlus = false, removeNationalPrefix = true, previousValue } = options\n const cleaned = stripInvisibleFormatting(rawValue)\n const trimmed = cleaned.trim()\n\n if (!trimmed) {\n return \"\"\n }\n\n if (trimmed === \"+\") {\n return allowJustPlus ? \"+\" : \"\"\n }\n\n if (trimmed.startsWith(\"+\")) {\n const digits = sanitizeDigits(trimmed)\n if (!digits) {\n return allowJustPlus ? \"+\" : \"\"\n }\n const digitsWithoutIdd = stripIddPrefix(digits)\n if (digitsWithoutIdd !== digits) {\n return digitsWithoutIdd ? `+${digitsWithoutIdd}` : allowJustPlus ? \"+\" : \"\"\n }\n if (removeNationalPrefix && country) {\n const dial = getCountryCallingCode(country)\n if (digits.startsWith(dial) && digits.slice(dial.length).startsWith(\"0\")) {\n const withoutPrefix = digits.slice(dial.length + 1)\n return withoutPrefix ? `+${dial}${withoutPrefix}` : `+${dial}`\n }\n }\n return `+${digits}`\n }\n\n const digitsOnly = sanitizeDigits(trimmed)\n if (!digitsOnly) {\n return \"\"\n }\n\n const digitsWithoutIdd = stripIddPrefix(digitsOnly)\n if (digitsWithoutIdd !== digitsOnly) {\n return digitsWithoutIdd ? `+${digitsWithoutIdd}` : allowJustPlus ? \"+\" : \"\"\n }\n\n const previousNormalized = typeof previousValue === \"string\" ? previousValue : \"\"\n const previousDigits =\n previousNormalized && previousNormalized.startsWith(\"+\")\n ? sanitizeDigits(previousNormalized)\n : \"\"\n\n if (previousDigits && previousDigits.length > digitsOnly.length) {\n if (previousDigits.endsWith(digitsOnly)) {\n const removedPrefixLength = previousDigits.length - digitsOnly.length\n if (removedPrefixLength <= MAX_DIAL_CODE_LENGTH) {\n return `+${digitsOnly}`\n }\n }\n }\n\n if (digitsOnly === \"0\") {\n return \"0\"\n }\n\n if (\n removeNationalPrefix &&\n country &&\n digitsOnly.length > 1 &&\n digitsOnly.startsWith(\"0\") &&\n !digitsOnly.startsWith(\"00\")\n ) {\n const dial = getCountryCallingCode(country)\n const withoutPrefix = digitsOnly.slice(1)\n return withoutPrefix ? `+${dial}${withoutPrefix}` : `+${dial}`\n }\n\n if (!country) {\n return digitsOnly\n }\n\n if (digitsOnly.length <= 4) {\n return `+${digitsOnly}`\n }\n\n const dial = getCountryCallingCode(country)\n return `+${dial}${digitsOnly}`\n}\n\nexport function formatWithAsYouType(value: string, baseCountry?: CountryCode) {\n if (value === \"+\") {\n return {\n international: \"+\",\n national: \"\",\n formatted: \"+\",\n phoneNumber: null,\n detectedCountry: undefined,\n inferredCountry: undefined,\n hasExplicitInternationalPrefix: true,\n }\n }\n\n const hasExplicitInternationalPrefix = /^\\s*\\+/.test(value)\n const formatter = baseCountry ? new AsYouType(baseCountry) : new AsYouType()\n const formatted = formatter.input(value)\n const phoneNumber = formatter.getNumber()\n const digits = sanitizeDigits(value)\n const detectedCountry = canonicalizeDetectedCountry(\n (phoneNumber?.country ?? formatter.country ?? undefined) as CountryCode | undefined\n )\n const inferredCountry =\n detectedCountry ?? !phoneNumber\n ? undefined\n : canonicalizeDetectedCountry(\n inferCountryFromDialCode(phoneNumber, baseCountry, digits)\n )\n\n const international = phoneNumber?.formatInternational() ?? formatted\n const national = phoneNumber?.formatNational() ?? sanitizeDigits(international)\n\n return {\n international,\n national,\n formatted,\n phoneNumber,\n detectedCountry,\n inferredCountry,\n hasExplicitInternationalPrefix,\n }\n}\n\nexport function stripPrefix(value: string, prefix: string) {\n return value.startsWith(prefix) ? value.slice(prefix.length) : value\n}\n\nexport function getLengthIssue(value: string, country: CountryCode | undefined): LengthIssue | null {\n if (!country || !value) {\n return null\n }\n\n try {\n const result = validatePhoneNumberLength(value, country)\n return result === \"TOO_LONG\" ? \"TOO_LONG\" : null\n } catch {\n return null\n }\n}\n\ntype SuggestionState = {\n shouldSuggest: boolean\n query: string\n}\n\nexport function getSuggestionState(\n normalized: string,\n baseCountry: CountryCode | undefined,\n phoneNumber: ReturnType<AsYouType[\"getNumber\"]>,\n options: {\n hasRemovedNationalPrefix?: boolean\n detectedCountry?: CountryCode\n hasExplicitInternationalPrefix?: boolean\n } = {}\n): SuggestionState {\n const {\n hasRemovedNationalPrefix = false,\n detectedCountry,\n hasExplicitInternationalPrefix = false,\n } = options\n\n if (!normalized) {\n return { shouldSuggest: false, query: \"\" }\n }\n\n if (normalized === \"+\") {\n return { shouldSuggest: true, query: \"\" }\n }\n\n const digits = sanitizeDigits(normalized)\n if (!digits) {\n return { shouldSuggest: true, query: \"\" }\n }\n\n if (hasRemovedNationalPrefix) {\n return { shouldSuggest: false, query: \"\" }\n }\n\n if (hasExplicitInternationalPrefix && !detectedCountry) {\n if (!isDialCodeProgress(digits)) {\n return { shouldSuggest: false, query: \"\" }\n }\n return { shouldSuggest: true, query: digits }\n }\n\n let dial = phoneNumber?.countryCallingCode ?? null\n if (!dial) {\n if (baseCountry) {\n const baseDial = getCountryCallingCode(baseCountry)\n if (digits.startsWith(baseDial)) {\n dial = baseDial\n }\n } else if (!hasExplicitInternationalPrefix) {\n return { shouldSuggest: false, query: \"\" }\n }\n }\n\n if (!dial) {\n return { shouldSuggest: true, query: digits }\n }\n\n const nationalDigits = stripPrefix(digits, dial)\n if (nationalDigits.length === 0) {\n return { shouldSuggest: true, query: digits }\n }\n\n return { shouldSuggest: false, query: \"\" }\n}\n\nexport function shouldDisplayExplicitCountrySelection(\n suggestion: SuggestionState,\n options: { detectedCountry?: CountryCode; hasExplicitInternationalPrefix?: boolean }\n) {\n if (suggestion.shouldSuggest) {\n return false\n }\n\n const { hasExplicitInternationalPrefix = false, detectedCountry } = options\n\n if (!hasExplicitInternationalPrefix) {\n return true\n }\n\n return Boolean(detectedCountry)\n}\n"],"names":["sanitizeDigits","value","replace","isDialCodeProgress","digits","length","MAX_DIAL_CODE_LENGTH","COUNTRY_DIAL_CODES","some","dial","startsWith","INVISIBLE_FORMATTING_CHARACTERS","stripInvisibleFormatting","injectNationalPrefixDisplay","international","dialCode","options","force","prefix","remainder","slice","trimStart","firstGroup","restGroups","split","rebuiltFirstGroup","rebuiltRemainder","join","trimEnd","DETECTED_COUNTRY_OVERRIDES","GG","JE","IM","canonicalizeDetectedCountry","candidate","inferCountryFromDialCode","phoneNumber","baseCountry","normalizedDigits","nationalNumber","countryCallingCode","metadataGetter","getMetadata","candidates","country_calling_codes","canonicalCandidates","canonical","includes","push","DEFAULT_COUNTRY","detectNationalPrefixForDisplay","rawDigits","internationalDigits","hasExplicitInternationalPrefix","rawAfterTrunk","internationalAfterDial","stripIddPrefix","COMMON_IDD_PREFIXES","normalizeInputValue","rawValue","country","allowJustPlus","removeNationalPrefix","previousValue","trimmed","trim","digitsWithoutIdd","getCountryCallingCode","withoutPrefix","digitsOnly","previousNormalized","previousDigits","endsWith","formatWithAsYouType","national","formatted","detectedCountry","undefined","inferredCountry","test","formatter","AsYouType","input","getNumber","formatInternational","formatNational","stripPrefix","getLengthIssue","validatePhoneNumberLength","getSuggestionState","normalized","hasRemovedNationalPrefix","shouldSuggest","query","baseDial","shouldDisplayExplicitCountrySelection","suggestion","Boolean"],"mappings":"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"}
1
+ {"version":3,"file":"index45.js","sources":["../src/components/PhoneNumberInput/normalization.ts"],"sourcesContent":["import type { CountryCode } from \"libphonenumber-js\"\nimport { AsYouType, validatePhoneNumberLength } from \"libphonenumber-js\"\n\n\nexport type LengthIssue = \"TOO_LONG\"\n\nexport function sanitizeDigits(value: string) {\n return value.replace(/\\D/g, \"\")\n}\n\nconst DETECTED_COUNTRY_OVERRIDES: Partial<Record<CountryCode, CountryCode>> = {\n GG: \"GB\",\n JE: \"GB\",\n IM: \"GB\",\n}\n\nfunction canonicalizeDetectedCountry(candidate: CountryCode | undefined): CountryCode | undefined {\n if (!candidate) {\n return undefined\n }\n return DETECTED_COUNTRY_OVERRIDES[candidate] ?? candidate\n}\n\nexport function formatWithAsYouType(value: string, baseCountry?: CountryCode) {\n if (value === \"+\") {\n return {\n international: \"+\",\n national: \"\",\n formatted: \"+\",\n phoneNumber: null,\n detectedCountry: undefined,\n }\n }\n\n const formatter = baseCountry ? new AsYouType(baseCountry) : new AsYouType()\n const formatted = formatter.input(value)\n const phoneNumber = formatter.getNumber()\n const detectedCountry = canonicalizeDetectedCountry(\n (phoneNumber?.country ?? formatter.country ?? undefined) as CountryCode | undefined\n )\n const international = phoneNumber?.formatInternational() ?? formatted\n const national = phoneNumber?.formatNational() ?? sanitizeDigits(international)\n\n return {\n international,\n national,\n formatted,\n phoneNumber,\n detectedCountry,\n }\n}\n\nexport function stripPrefix(value: string, prefix: string) {\n return value.startsWith(prefix) ? value.slice(prefix.length) : value\n}\n\nexport function getLengthIssue(value: string, country: CountryCode | undefined): LengthIssue | null {\n if (!country || !value) {\n return null\n }\n\n try {\n const result = validatePhoneNumberLength(value, country)\n return result === \"TOO_LONG\" ? \"TOO_LONG\" : null\n } catch {\n return null\n }\n}\n"],"names":["sanitizeDigits","value","replace","DETECTED_COUNTRY_OVERRIDES","GG","JE","IM","canonicalizeDetectedCountry","candidate","formatWithAsYouType","baseCountry","international","national","formatted","phoneNumber","detectedCountry","undefined","formatter","AsYouType","input","getNumber","country","formatInternational","formatNational","stripPrefix","prefix","startsWith","slice","length","getLengthIssue","validatePhoneNumberLength"],"mappings":";;AAMO,SAASA,EAAeC,GAAe;AAC5C,SAAOA,EAAMC,QAAQ,OAAO,EAAE;AAChC;AAEA,MAAMC,IAAwE;AAAA,EAC5EC,IAAI;AAAA,EACJC,IAAI;AAAA,EACJC,IAAI;AACN;AAEA,SAASC,EAA4BC,GAA6D;AAChG,MAAKA;AAGL,WAAOL,EAA2BK,CAAS,KAAKA;AAClD;AAEO,SAASC,EAAoBR,GAAeS,GAA2B;AAC5E,MAAIT,MAAU;AACZ,WAAO;AAAA,MACLU,eAAe;AAAA,MACfC,UAAU;AAAA,MACVC,WAAW;AAAA,MACXC,aAAa;AAAA,MACbC,iBAAiBC;AAAAA,IAAAA;AAIrB,QAAMC,IAAYP,IAAc,IAAIQ,EAAUR,CAAW,IAAI,IAAIQ,EAAAA,GAC3DL,IAAYI,EAAUE,MAAMlB,CAAK,GACjCa,IAAcG,EAAUG,UAAAA,GACxBL,IAAkBR,EACrBO,GAAaO,WAAWJ,EAAUI,WAAWL,MAChD,GACML,IAAgBG,GAAaQ,oBAAAA,KAAyBT,GACtDD,IAAWE,GAAaS,eAAAA,KAAoBvB,EAAeW,CAAa;AAE9E,SAAO;AAAA,IACLA,eAAAA;AAAAA,IACAC,UAAAA;AAAAA,IACAC,WAAAA;AAAAA,IACAC,aAAAA;AAAAA,IACAC,iBAAAA;AAAAA,EAAAA;AAEJ;AAEO,SAASS,EAAYvB,GAAewB,GAAgB;AACzD,SAAOxB,EAAMyB,WAAWD,CAAM,IAAIxB,EAAM0B,MAAMF,EAAOG,MAAM,IAAI3B;AACjE;AAEO,SAAS4B,EAAe5B,GAAeoB,GAAsD;AAClG,MAAI,CAACA,KAAW,CAACpB;AACf,WAAO;AAGT,MAAI;AAEF,WADe6B,EAA0B7B,GAAOoB,CAAO,MACrC,aAAa,aAAa;AAAA,EAC9C,QAAQ;AACN,WAAO;AAAA,EACT;AACF;"}
package/dist/index48.js CHANGED
@@ -1,5 +1,5 @@
1
- import t from "./index79.js";
2
- import { getCountryCallingCode as o } from "./index93.js";
1
+ import t from "./index150.js";
2
+ import { getCountryCallingCode as o } from "./index164.js";
3
3
  function n() {
4
4
  return t(o, arguments);
5
5
  }
package/dist/index49.js CHANGED
@@ -1,39 +1,39 @@
1
1
  import * as s from "react";
2
- import { visuallyHiddenInput as Ze, visuallyHidden as et } from "./index251.js";
3
- import { useMergedRefs as tt } from "./index221.js";
4
- import { useRefWithInit as ot } from "./index240.js";
5
- import { useOnFirstRender as nt } from "./index117.js";
6
- import { usePreviousValue as rt } from "./index252.js";
7
- import { useControlled as le } from "./index253.js";
8
- import { useIsoLayoutEffect as x } from "./index248.js";
9
- import { useStableCallback as b } from "./index230.js";
10
- import { useValueAsRef as st } from "./index254.js";
11
- import { EMPTY_ARRAY as ie, EMPTY_OBJECT as lt } from "./index225.js";
12
- import { SelectRootContext as it, SelectFloatingContext as at } from "./index255.js";
13
- import { useFieldRootContext as ut } from "./index256.js";
14
- import { useRegisterFieldControl as ct } from "./index257.js";
15
- import { useLabelableId as dt } from "./index258.js";
16
- import { useTransitionStatus as ft } from "./index259.js";
17
- import { selectors as A } from "./index260.js";
18
- import { createChangeEventDetails as ae } from "./index104.js";
19
- import { useOpenChangeComplete as mt } from "./index111.js";
20
- import { useFormContext as pt } from "./index261.js";
21
- import { stringifyAsValue as y, stringifyAsLabel as gt } from "./index262.js";
22
- import { defaultItemEquality as ht, findItemIndex as ue } from "./index263.js";
23
- import { useValueChanged as Rt } from "./index264.js";
24
- import { useOpenInteractionType as vt } from "./index235.js";
25
- import { getMaxScrollOffset as It, normalizeScrollOffset as bt } from "./index265.js";
2
+ import { visuallyHiddenInput as Ze, visuallyHidden as et } from "./index256.js";
3
+ import { useMergedRefs as tt } from "./index257.js";
4
+ import { useRefWithInit as ot } from "./index258.js";
5
+ import { useOnFirstRender as nt } from "./index188.js";
6
+ import { usePreviousValue as rt } from "./index259.js";
7
+ import { useControlled as le } from "./index260.js";
8
+ import { useIsoLayoutEffect as x } from "./index261.js";
9
+ import { useStableCallback as b } from "./index262.js";
10
+ import { useValueAsRef as st } from "./index263.js";
11
+ import { EMPTY_ARRAY as ie, EMPTY_OBJECT as lt } from "./index264.js";
12
+ import { SelectRootContext as it, SelectFloatingContext as at } from "./index265.js";
13
+ import { useFieldRootContext as ut } from "./index266.js";
14
+ import { useRegisterFieldControl as ct } from "./index267.js";
15
+ import { useLabelableId as dt } from "./index268.js";
16
+ import { useTransitionStatus as ft } from "./index269.js";
17
+ import { selectors as A } from "./index270.js";
18
+ import { createChangeEventDetails as ae } from "./index175.js";
19
+ import { useOpenChangeComplete as mt } from "./index182.js";
20
+ import { useFormContext as pt } from "./index271.js";
21
+ import { stringifyAsValue as y, stringifyAsLabel as gt } from "./index272.js";
22
+ import { defaultItemEquality as ht, findItemIndex as ue } from "./index273.js";
23
+ import { useValueChanged as Rt } from "./index274.js";
24
+ import { useOpenInteractionType as vt } from "./index275.js";
25
+ import { getMaxScrollOffset as It, normalizeScrollOffset as bt } from "./index276.js";
26
26
  import { j as M } from "./index30.js";
27
- import { useStore as w } from "./index266.js";
28
- import { useFloatingRootContext as yt } from "./index267.js";
29
- import { useClick as Ct } from "./index123.js";
30
- import { useDismiss as Vt } from "./index238.js";
31
- import { useListNavigation as xt } from "./index268.js";
32
- import { useTypeahead as At } from "./index269.js";
33
- import { useInteractions as Mt } from "./index124.js";
34
- import { mergeProps as wt } from "./index229.js";
35
- import { Store as Pt } from "./index270.js";
36
- import { none as St, focusOut as Et, outsidePress as Tt } from "./index106.js";
27
+ import { useStore as w } from "./index277.js";
28
+ import { useFloatingRootContext as yt } from "./index278.js";
29
+ import { useClick as Ct } from "./index194.js";
30
+ import { useDismiss as Vt } from "./index279.js";
31
+ import { useListNavigation as xt } from "./index280.js";
32
+ import { useTypeahead as At } from "./index281.js";
33
+ import { useInteractions as Mt } from "./index195.js";
34
+ import { mergeProps as wt } from "./index282.js";
35
+ import { Store as Pt } from "./index283.js";
36
+ import { none as St, focusOut as Et, outsidePress as Tt } from "./index177.js";
37
37
  function ho(ce) {
38
38
  const {
39
39
  id: de,
package/dist/index50.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import * as b from "react";
2
- import { rectToClientRect as Qt } from "./index285.js";
3
- import { addEventListener as te } from "./index286.js";
4
- import { isWebKit as ee } from "./index287.js";
5
- import { useStableCallback as oe } from "./index230.js";
6
- import { ownerDocument as xt } from "./index271.js";
7
- import { useIsoLayoutEffect as ot } from "./index248.js";
8
- import { useAnimationFrame as ne } from "./index288.js";
9
- import { useSelectRootContext as re, useSelectFloatingContext as ie } from "./index255.js";
10
- import { popupStateMapping as se } from "./index102.js";
11
- import { useSelectPositionerContext as le } from "./index281.js";
12
- import { styleDisableScrollbar as St } from "./index289.js";
13
- import { transitionStatusMapping as ce } from "./index103.js";
14
- import { useOpenChangeComplete as ae } from "./index111.js";
15
- import { useRenderElement as pe } from "./index101.js";
16
- import { selectors as T } from "./index260.js";
17
- import { clearStyles as Tt, LIST_FUNCTIONAL_STYLES as me } from "./index282.js";
18
- import { createChangeEventDetails as ue } from "./index104.js";
19
- import { useToolbarRootContext as ge } from "./index290.js";
20
- import { COMPOSITE_KEYS as fe } from "./index112.js";
21
- import { getDisabledMountTransitionStyles as he } from "./index291.js";
22
- import { clamp as U } from "./index292.js";
23
- import { SCROLL_EDGE_TOLERANCE_PX as M, getMaxScrollOffset as de } from "./index265.js";
24
- import { useCSPContext as ye } from "./index293.js";
25
- import { useDirection as xe } from "./index294.js";
2
+ import { rectToClientRect as Qt } from "./index299.js";
3
+ import { addEventListener as te } from "./index300.js";
4
+ import { isWebKit as ee } from "./index301.js";
5
+ import { useStableCallback as oe } from "./index262.js";
6
+ import { ownerDocument as xt } from "./index284.js";
7
+ import { useIsoLayoutEffect as ot } from "./index261.js";
8
+ import { useAnimationFrame as ne } from "./index302.js";
9
+ import { useSelectRootContext as re, useSelectFloatingContext as ie } from "./index265.js";
10
+ import { popupStateMapping as se } from "./index173.js";
11
+ import { useSelectPositionerContext as le } from "./index295.js";
12
+ import { styleDisableScrollbar as St } from "./index303.js";
13
+ import { transitionStatusMapping as ce } from "./index174.js";
14
+ import { useOpenChangeComplete as ae } from "./index182.js";
15
+ import { useRenderElement as pe } from "./index172.js";
16
+ import { selectors as T } from "./index270.js";
17
+ import { clearStyles as Tt, LIST_FUNCTIONAL_STYLES as me } from "./index296.js";
18
+ import { createChangeEventDetails as ue } from "./index175.js";
19
+ import { useToolbarRootContext as ge } from "./index304.js";
20
+ import { COMPOSITE_KEYS as fe } from "./index183.js";
21
+ import { getDisabledMountTransitionStyles as he } from "./index305.js";
22
+ import { clamp as U } from "./index306.js";
23
+ import { SCROLL_EDGE_TOLERANCE_PX as M, getMaxScrollOffset as de } from "./index276.js";
24
+ import { useCSPContext as ye } from "./index307.js";
25
+ import { useDirection as xe } from "./index308.js";
26
26
  import { j as Rt } from "./index30.js";
27
- import { useStore as R } from "./index266.js";
28
- import { getWindow as Ct } from "./index245.js";
29
- import { FloatingFocusManager as Se } from "./index113.js";
30
- import { platform as Te } from "./index295.js";
31
- import { windowResize as Re } from "./index106.js";
27
+ import { useStore as R } from "./index277.js";
28
+ import { getWindow as Ct } from "./index309.js";
29
+ import { FloatingFocusManager as Se } from "./index184.js";
30
+ import { platform as Te } from "./index310.js";
31
+ import { windowResize as Re } from "./index177.js";
32
32
  const Ce = {
33
33
  ...se,
34
34
  ...ce
package/dist/index51.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as r from "react";
2
- import { SelectGroupContext as c } from "./index298.js";
3
- import { useRenderElement as p } from "./index101.js";
2
+ import { SelectGroupContext as c } from "./index313.js";
3
+ import { useRenderElement as p } from "./index172.js";
4
4
  import { j as m } from "./index30.js";
5
5
  const u = /* @__PURE__ */ r.forwardRef(function(t, s) {
6
6
  const {
package/dist/index52.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import * as u from "react";
2
- import { useIsoLayoutEffect as b } from "./index248.js";
3
- import { useValueAsRef as H } from "./index254.js";
4
- import { useSelectRootContext as J } from "./index255.js";
5
- import { useCompositeListItem as Q, IndexGuessBehavior as X } from "./index296.js";
6
- import { useRenderElement as Y } from "./index101.js";
7
- import { SelectItemContext as Z } from "./index297.js";
8
- import { selectors as R } from "./index260.js";
9
- import { createChangeEventDetails as h } from "./index104.js";
10
- import { compareItemEquality as $, removeItem as ee } from "./index263.js";
2
+ import { useIsoLayoutEffect as b } from "./index261.js";
3
+ import { useValueAsRef as H } from "./index263.js";
4
+ import { useSelectRootContext as J } from "./index265.js";
5
+ import { useCompositeListItem as Q, IndexGuessBehavior as X } from "./index311.js";
6
+ import { useRenderElement as Y } from "./index172.js";
7
+ import { SelectItemContext as Z } from "./index312.js";
8
+ import { selectors as R } from "./index270.js";
9
+ import { createChangeEventDetails as h } from "./index175.js";
10
+ import { compareItemEquality as $, removeItem as ee } from "./index273.js";
11
11
  import { j as te } from "./index30.js";
12
- import { useStore as y } from "./index266.js";
13
- import { useButton as re } from "./index105.js";
14
- import { itemPress as S } from "./index106.js";
12
+ import { useStore as y } from "./index277.js";
13
+ import { useButton as re } from "./index176.js";
14
+ import { itemPress as S } from "./index177.js";
15
15
  const oe = /* @__PURE__ */ u.memo(/* @__PURE__ */ u.forwardRef(function(w, k) {
16
16
  const {
17
17
  render: se,
package/dist/index53.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as m from "react";
2
- import { useIsoLayoutEffect as n } from "./index248.js";
3
- import { useBaseUiId as p } from "./index107.js";
4
- import { useSelectGroupContext as c } from "./index298.js";
5
- import { useRenderElement as i } from "./index101.js";
2
+ import { useIsoLayoutEffect as n } from "./index261.js";
3
+ import { useBaseUiId as p } from "./index178.js";
4
+ import { useSelectGroupContext as c } from "./index313.js";
5
+ import { useRenderElement as i } from "./index172.js";
6
6
  const a = /* @__PURE__ */ m.forwardRef(function(o, r) {
7
7
  const {
8
8
  className: u,
package/dist/index54.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as a from "react";
2
- import { useRenderElement as n } from "./index101.js";
2
+ import { useRenderElement as n } from "./index172.js";
3
3
  const s = /* @__PURE__ */ a.forwardRef(function(e, t) {
4
4
  const {
5
5
  className: p,
package/dist/index55.js CHANGED
@@ -1,26 +1,26 @@
1
1
  import * as m from "react";
2
- import { ownerDocument as ie } from "./index271.js";
3
- import { useTimeout as f } from "./index272.js";
4
- import { useStableCallback as ae } from "./index230.js";
5
- import { useMergedRefs as ce } from "./index221.js";
6
- import { useValueAsRef as ue } from "./index254.js";
7
- import { useSelectRootContext as de } from "./index255.js";
8
- import { useFieldRootContext as me } from "./index256.js";
9
- import { useLabelableContext as fe } from "./index273.js";
10
- import { pressableTriggerOpenStateMapping as pe } from "./index102.js";
11
- import { fieldValidityMapping as ge } from "./index274.js";
12
- import { useRenderElement as be } from "./index101.js";
13
- import { selectors as t } from "./index260.js";
14
- import { getPseudoElementBounds as Ee } from "./index275.js";
15
- import { createChangeEventDetails as N } from "./index104.js";
16
- import { useLabelableId as Me } from "./index258.js";
17
- import { resolveAriaLabelledBy as Le } from "./index276.js";
18
- import { useStore as o } from "./index266.js";
19
- import { useButton as Se } from "./index105.js";
20
- import { getFloatingFocusElement as he } from "./index277.js";
21
- import { mergeProps as De } from "./index229.js";
22
- import { contains as L } from "./index239.js";
23
- import { none as Ue, cancelOpen as Ie } from "./index106.js";
2
+ import { ownerDocument as ie } from "./index284.js";
3
+ import { useTimeout as f } from "./index285.js";
4
+ import { useStableCallback as ae } from "./index262.js";
5
+ import { useMergedRefs as ce } from "./index257.js";
6
+ import { useValueAsRef as ue } from "./index263.js";
7
+ import { useSelectRootContext as de } from "./index265.js";
8
+ import { useFieldRootContext as me } from "./index266.js";
9
+ import { useLabelableContext as fe } from "./index286.js";
10
+ import { pressableTriggerOpenStateMapping as pe } from "./index173.js";
11
+ import { fieldValidityMapping as ge } from "./index287.js";
12
+ import { useRenderElement as be } from "./index172.js";
13
+ import { selectors as t } from "./index270.js";
14
+ import { getPseudoElementBounds as Ee } from "./index288.js";
15
+ import { createChangeEventDetails as N } from "./index175.js";
16
+ import { useLabelableId as Me } from "./index268.js";
17
+ import { resolveAriaLabelledBy as Le } from "./index289.js";
18
+ import { useStore as o } from "./index277.js";
19
+ import { useButton as Se } from "./index176.js";
20
+ import { getFloatingFocusElement as he } from "./index290.js";
21
+ import { mergeProps as De } from "./index282.js";
22
+ import { contains as L } from "./index291.js";
23
+ import { none as Ue, cancelOpen as Ie } from "./index177.js";
24
24
  const p = 2, Te = 400, P = 200, Re = {
25
25
  ...pe,
26
26
  ...ge,
package/dist/index56.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as b from "react";
2
- import { useRenderElement as v } from "./index101.js";
3
- import { useSelectRootContext as L } from "./index255.js";
4
- import { resolveMultipleLabels as N, resolveSelectedLabel as V } from "./index262.js";
5
- import { selectors as s } from "./index260.js";
6
- import { useStore as r } from "./index266.js";
2
+ import { useRenderElement as v } from "./index172.js";
3
+ import { useSelectRootContext as L } from "./index265.js";
4
+ import { resolveMultipleLabels as N, resolveSelectedLabel as V } from "./index272.js";
5
+ import { selectors as s } from "./index270.js";
6
+ import { useStore as r } from "./index277.js";
7
7
  const y = {
8
8
  value: () => null
9
9
  }, R = /* @__PURE__ */ b.forwardRef(function(c, m) {
package/dist/index57.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as s from "react";
2
- import { useRenderElement as p } from "./index101.js";
3
- import { useSelectRootContext as c } from "./index255.js";
4
- import { triggerOpenStateMapping as i } from "./index102.js";
5
- import { selectors as m } from "./index260.js";
6
- import { useStore as a } from "./index266.js";
2
+ import { useRenderElement as p } from "./index172.js";
3
+ import { useSelectRootContext as c } from "./index265.js";
4
+ import { triggerOpenStateMapping as i } from "./index173.js";
5
+ import { selectors as m } from "./index270.js";
6
+ import { useStore as a } from "./index277.js";
7
7
  const l = /* @__PURE__ */ s.forwardRef(function(e, t) {
8
8
  const {
9
9
  className: d,
package/dist/index58.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as u from "react";
2
- import { useStableCallback as S } from "./index230.js";
3
- import { useSelectRootContext as N } from "./index255.js";
4
- import { useSelectPositionerContext as L } from "./index281.js";
5
- import { useRenderElement as b } from "./index101.js";
6
- import { styleDisableScrollbar as h } from "./index289.js";
7
- import { LIST_FUNCTIONAL_STYLES as E } from "./index282.js";
8
- import { selectors as t } from "./index260.js";
9
- import { useStore as o } from "./index266.js";
2
+ import { useStableCallback as S } from "./index262.js";
3
+ import { useSelectRootContext as N } from "./index265.js";
4
+ import { useSelectPositionerContext as L } from "./index295.js";
5
+ import { useRenderElement as b } from "./index172.js";
6
+ import { styleDisableScrollbar as h } from "./index303.js";
7
+ import { LIST_FUNCTIONAL_STYLES as E } from "./index296.js";
8
+ import { selectors as t } from "./index270.js";
9
+ import { useStore as o } from "./index277.js";
10
10
  const R = /* @__PURE__ */ u.forwardRef(function(s, l) {
11
11
  const {
12
12
  className: g,
package/dist/index59.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as m from "react";
2
- import { SelectPortalContext as i } from "./index278.js";
3
- import { useSelectRootContext as u } from "./index255.js";
4
- import { selectors as t } from "./index260.js";
2
+ import { SelectPortalContext as i } from "./index292.js";
3
+ import { useSelectRootContext as u } from "./index265.js";
4
+ import { selectors as t } from "./index270.js";
5
5
  import { j as r } from "./index30.js";
6
- import { useStore as e } from "./index266.js";
7
- import { FloatingPortal as f } from "./index116.js";
6
+ import { useStore as e } from "./index277.js";
7
+ import { FloatingPortal as f } from "./index187.js";
8
8
  const a = /* @__PURE__ */ m.forwardRef(function(n, s) {
9
9
  const {
10
10
  store: o
package/dist/index60.js CHANGED
@@ -1,22 +1,22 @@
1
1
  import * as s from "react";
2
- import { inertValue as ae } from "./index114.js";
3
- import { useIsoLayoutEffect as ue } from "./index248.js";
4
- import { useStableCallback as M } from "./index230.js";
5
- import { useSelectRootContext as fe, useSelectFloatingContext as me } from "./index255.js";
6
- import { CompositeList as de } from "./index279.js";
7
- import { useAnchorPositioning as pe } from "./index280.js";
8
- import { SelectPositionerContext as ge } from "./index281.js";
9
- import { InternalBackdrop as he } from "./index115.js";
10
- import { DROPDOWN_COLLISION_AVOIDANCE as Ie } from "./index121.js";
11
- import { clearStyles as O } from "./index282.js";
12
- import { selectors as t } from "./index260.js";
13
- import { createChangeEventDetails as Ae } from "./index104.js";
14
- import { findItemIndex as V, selectedValueIncludes as Re } from "./index263.js";
15
- import { usePositioner as Ve } from "./index283.js";
16
- import { useAnchoredPopupScrollLock as xe } from "./index284.js";
2
+ import { inertValue as ae } from "./index185.js";
3
+ import { useIsoLayoutEffect as ue } from "./index261.js";
4
+ import { useStableCallback as M } from "./index262.js";
5
+ import { useSelectRootContext as fe, useSelectFloatingContext as me } from "./index265.js";
6
+ import { CompositeList as de } from "./index293.js";
7
+ import { useAnchorPositioning as pe } from "./index294.js";
8
+ import { SelectPositionerContext as ge } from "./index295.js";
9
+ import { InternalBackdrop as he } from "./index186.js";
10
+ import { DROPDOWN_COLLISION_AVOIDANCE as Ie } from "./index192.js";
11
+ import { clearStyles as O } from "./index296.js";
12
+ import { selectors as t } from "./index270.js";
13
+ import { createChangeEventDetails as Ae } from "./index175.js";
14
+ import { findItemIndex as V, selectedValueIncludes as Re } from "./index273.js";
15
+ import { usePositioner as Ve } from "./index297.js";
16
+ import { useAnchoredPopupScrollLock as xe } from "./index298.js";
17
17
  import { j as x } from "./index30.js";
18
- import { useStore as o } from "./index266.js";
19
- import { none as Se } from "./index106.js";
18
+ import { useStore as o } from "./index277.js";
19
+ import { none as Se } from "./index177.js";
20
20
  const be = {
21
21
  position: "fixed"
22
22
  }, Ee = /* @__PURE__ */ s.forwardRef(function(S, k) {
package/dist/index61.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as n from "react";
2
- import { useSelectItemContext as c } from "./index297.js";
3
- import { useTransitionStatus as I } from "./index259.js";
4
- import { useOpenChangeComplete as R } from "./index111.js";
5
- import { useRenderElement as N } from "./index101.js";
6
- import { transitionStatusMapping as S } from "./index103.js";
2
+ import { useSelectItemContext as c } from "./index312.js";
3
+ import { useTransitionStatus as I } from "./index269.js";
4
+ import { useOpenChangeComplete as R } from "./index182.js";
5
+ import { useRenderElement as N } from "./index172.js";
6
+ import { transitionStatusMapping as S } from "./index174.js";
7
7
  import { j as E } from "./index30.js";
8
8
  const M = /* @__PURE__ */ n.forwardRef(function(e, r) {
9
9
  const s = e.keepMounted ?? !1, {
package/dist/index62.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as t from "react";
2
- import { useSelectRootContext as a } from "./index255.js";
3
- import { useSelectItemContext as d } from "./index297.js";
4
- import { useRenderElement as x } from "./index101.js";
2
+ import { useSelectRootContext as a } from "./index265.js";
3
+ import { useSelectItemContext as d } from "./index312.js";
4
+ import { useRenderElement as x } from "./index172.js";
5
5
  const p = /* @__PURE__ */ t.memo(/* @__PURE__ */ t.forwardRef(function(r, l) {
6
6
  const {
7
7
  indexRef: o,
package/dist/index66.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index75.js";
1
+ import { __exports as e } from "./index72.js";
2
2
  import o from "react";
3
3
  var r;
4
4
  function n() {
package/dist/index67.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index76.js";
1
+ import { __exports as e } from "./index73.js";
2
2
  import a from "react";
3
3
  var n;
4
4
  function l() {
package/dist/index70.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index77.js";
1
+ import { __exports as e } from "./index74.js";
2
2
  var s;
3
3
  function a() {
4
4
  if (s) return e;
package/dist/index71.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as s } from "./index78.js";
1
+ import { __exports as s } from "./index75.js";
2
2
  import J from "react";
3
3
  var j;
4
4
  function Z() {
package/dist/index72.js CHANGED
@@ -1,9 +1,5 @@
1
- import { getCountries as E } from "./index91.js";
2
- const n = ["IM", "GG", "JE"], o = new Set(n), e = E().filter((t) => !o.has(t));
3
- function s() {
4
- return e;
5
- }
1
+ var r = {};
6
2
  export {
7
- s as getCountryList
3
+ r as __exports
8
4
  };
9
5
  //# sourceMappingURL=index72.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index72.js","sources":["../src/components/PhoneNumberInput/countries.ts"],"sourcesContent":["import { getCountries } from \"libphonenumber-js\"\nimport type { CountryCode } from \"libphonenumber-js\"\n\n\nconst EXCLUDED_COUNTRIES: CountryCode[] = [\"IM\", \"GG\", \"JE\"]\nconst EXCLUDED_SET = new Set(EXCLUDED_COUNTRIES)\n\nconst FILTERED_COUNTRIES = getCountries().filter((code) => !EXCLUDED_SET.has(code))\n\nexport function getCountryList(): CountryCode[] {\n return FILTERED_COUNTRIES\n}\n"],"names":["EXCLUDED_COUNTRIES","EXCLUDED_SET","Set","FILTERED_COUNTRIES","getCountries","filter","code","has","getCountryList"],"mappings":";AAIA,MAAMA,IAAoC,CAAC,MAAM,MAAM,IAAI,GACrDC,IAAe,IAAIC,IAAIF,CAAkB,GAEzCG,IAAqBC,IAAeC,OAAQC,OAAS,CAACL,EAAaM,IAAID,CAAI,CAAC;AAE3E,SAASE,IAAgC;AAC9C,SAAOL;AACT;"}
1
+ {"version":3,"file":"index72.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index73.js CHANGED
@@ -1,11 +1,5 @@
1
- import e from "./index81.js";
2
- import o from "./index82.js";
3
- function t(r) {
4
- return o.call(this, r, e);
5
- }
6
- t.prototype = Object.create(o.prototype, {});
7
- t.prototype.constructor = t;
1
+ var e = {};
8
2
  export {
9
- t as AsYouType
3
+ e as __exports
10
4
  };
11
5
  //# sourceMappingURL=index73.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index73.js","sources":["../../../node_modules/libphonenumber-js/min/exports/AsYouType.js"],"sourcesContent":["// Importing from a \".js\" file is a workaround for Node.js \"ES Modules\"\r\n// importing system which is even uncapable of importing \"*.json\" files.\r\nimport metadata from '../../metadata.min.json.js'\r\n\r\nimport { AsYouType as _AsYouType } from '../../core/index.js'\r\n\r\nexport function AsYouType(country) {\r\n\treturn _AsYouType.call(this, country, metadata)\r\n}\r\n\r\nAsYouType.prototype = Object.create(_AsYouType.prototype, {})\r\nAsYouType.prototype.constructor = AsYouType"],"names":["AsYouType","country","_AsYouType","metadata"],"mappings":";;AAMO,SAASA,EAAUC,GAAS;AAClC,SAAOC,EAAW,KAAK,MAAMD,GAASE,CAAQ;AAC/C;AAEAH,EAAU,YAAY,OAAO,OAAOE,EAAW,WAAW,CAAA,CAAE;AAC5DF,EAAU,UAAU,cAAcA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index73.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index74.js CHANGED
@@ -1,9 +1,5 @@
1
- import t from "./index79.js";
2
- import e from "./index80.js";
3
- function a() {
4
- return t(e, arguments);
5
- }
1
+ var r = {};
6
2
  export {
7
- a as validatePhoneNumberLength
3
+ r as __exports
8
4
  };
9
5
  //# sourceMappingURL=index74.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index74.js","sources":["../../../node_modules/libphonenumber-js/min/exports/validatePhoneNumberLength.js"],"sourcesContent":["import withMetadataArgument from './withMetadataArgument.js'\r\nimport { validatePhoneNumberLength as _validatePhoneNumberLength } from '../../core/index.js'\r\n\r\nexport function validatePhoneNumberLength() {\r\n\treturn withMetadataArgument(_validatePhoneNumberLength, arguments)\r\n}"],"names":["validatePhoneNumberLength","withMetadataArgument","_validatePhoneNumberLength"],"mappings":";;AAGO,SAASA,IAA4B;AAC3C,SAAOC,EAAqBC,GAA4B,SAAS;AAClE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index74.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index75.js CHANGED
@@ -1,5 +1,5 @@
1
- var r = {};
1
+ var e = {};
2
2
  export {
3
- r as __exports
3
+ e as __exports
4
4
  };
5
5
  //# sourceMappingURL=index75.js.map
package/dist/index76.js CHANGED
@@ -1,5 +1,9 @@
1
- var e = {};
1
+ import { getCountries as E } from "./index162.js";
2
+ const n = ["IM", "GG", "JE"], o = new Set(n), e = E().filter((t) => !o.has(t));
3
+ function s() {
4
+ return e;
5
+ }
2
6
  export {
3
- e as __exports
7
+ s as getCountryList
4
8
  };
5
9
  //# sourceMappingURL=index76.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index76.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index76.js","sources":["../src/components/PhoneNumberInput/countries.ts"],"sourcesContent":["import { getCountries } from \"libphonenumber-js\"\nimport type { CountryCode } from \"libphonenumber-js\"\n\n\nconst EXCLUDED_COUNTRIES: CountryCode[] = [\"IM\", \"GG\", \"JE\"]\nconst EXCLUDED_SET = new Set(EXCLUDED_COUNTRIES)\n\nconst FILTERED_COUNTRIES = getCountries().filter((code) => !EXCLUDED_SET.has(code))\n\nexport function getCountryList(): CountryCode[] {\n return FILTERED_COUNTRIES\n}\n"],"names":["EXCLUDED_COUNTRIES","EXCLUDED_SET","Set","FILTERED_COUNTRIES","getCountries","filter","code","has","getCountryList"],"mappings":";AAIA,MAAMA,IAAoC,CAAC,MAAM,MAAM,IAAI,GACrDC,IAAe,IAAIC,IAAIF,CAAkB,GAEzCG,IAAqBC,IAAeC,OAAQC,OAAS,CAACL,EAAaM,IAAID,CAAI,CAAC;AAE3E,SAASE,IAAgC;AAC9C,SAAOL;AACT;"}
package/dist/index77.js CHANGED
@@ -1,5 +1,11 @@
1
- var r = {};
1
+ import e from "./index152.js";
2
+ import o from "./index153.js";
3
+ function t(r) {
4
+ return o.call(this, r, e);
5
+ }
6
+ t.prototype = Object.create(o.prototype, {});
7
+ t.prototype.constructor = t;
2
8
  export {
3
- r as __exports
9
+ t as AsYouType
4
10
  };
5
11
  //# sourceMappingURL=index77.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index77.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index77.js","sources":["../../../node_modules/libphonenumber-js/min/exports/AsYouType.js"],"sourcesContent":["// Importing from a \".js\" file is a workaround for Node.js \"ES Modules\"\r\n// importing system which is even uncapable of importing \"*.json\" files.\r\nimport metadata from '../../metadata.min.json.js'\r\n\r\nimport { AsYouType as _AsYouType } from '../../core/index.js'\r\n\r\nexport function AsYouType(country) {\r\n\treturn _AsYouType.call(this, country, metadata)\r\n}\r\n\r\nAsYouType.prototype = Object.create(_AsYouType.prototype, {})\r\nAsYouType.prototype.constructor = AsYouType"],"names":["AsYouType","country","_AsYouType","metadata"],"mappings":";;AAMO,SAASA,EAAUC,GAAS;AAClC,SAAOC,EAAW,KAAK,MAAMD,GAASE,CAAQ;AAC/C;AAEAH,EAAU,YAAY,OAAO,OAAOE,EAAW,WAAW,CAAA,CAAE;AAC5DF,EAAU,UAAU,cAAcA;","x_google_ignoreList":[0]}