@rpcbase/ui 0.195.0 → 0.197.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 (553) hide show
  1. package/dist/components/HourPickerField/index.d.ts.map +1 -1
  2. package/dist/index100.js +5 -6
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +4 -24
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +8 -6
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +5 -4
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +4 -6
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +4 -5
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +6 -4
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +145 -5
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +39 -4
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +4 -8
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index110.js +7 -5
  23. package/dist/index110.js.map +1 -1
  24. package/dist/index111.js +13 -4
  25. package/dist/index111.js.map +1 -1
  26. package/dist/index112.js +13 -4
  27. package/dist/index112.js.map +1 -1
  28. package/dist/index113.js +7 -6
  29. package/dist/index113.js.map +1 -1
  30. package/dist/index114.js +31 -145
  31. package/dist/index114.js.map +1 -1
  32. package/dist/index115.js +10 -39
  33. package/dist/index115.js.map +1 -1
  34. package/dist/index116.js +10 -4
  35. package/dist/index116.js.map +1 -1
  36. package/dist/index117.js +8 -7
  37. package/dist/index117.js.map +1 -1
  38. package/dist/index118.js +13 -13
  39. package/dist/index118.js.map +1 -1
  40. package/dist/index119.js +101 -13
  41. package/dist/index119.js.map +1 -1
  42. package/dist/index120.js +20 -8
  43. package/dist/index120.js.map +1 -1
  44. package/dist/index121.js +53 -31
  45. package/dist/index121.js.map +1 -1
  46. package/dist/index122.js +72 -10
  47. package/dist/index122.js.map +1 -1
  48. package/dist/index123.js +9 -10
  49. package/dist/index123.js.map +1 -1
  50. package/dist/index124.js +20 -8
  51. package/dist/index124.js.map +1 -1
  52. package/dist/index125.js +16 -13
  53. package/dist/index125.js.map +1 -1
  54. package/dist/index126.js +23 -101
  55. package/dist/index126.js.map +1 -1
  56. package/dist/index127.js +7 -20
  57. package/dist/index127.js.map +1 -1
  58. package/dist/index128.js +5 -53
  59. package/dist/index128.js.map +1 -1
  60. package/dist/index129.js +23 -72
  61. package/dist/index129.js.map +1 -1
  62. package/dist/index130.js +35 -10
  63. package/dist/index130.js.map +1 -1
  64. package/dist/index131.js +16 -21
  65. package/dist/index131.js.map +1 -1
  66. package/dist/index132.js +6 -16
  67. package/dist/index132.js.map +1 -1
  68. package/dist/index133.js +4 -23
  69. package/dist/index133.js.map +1 -1
  70. package/dist/index134.js +4 -6
  71. package/dist/index134.js.map +1 -1
  72. package/dist/index135.js +4 -5
  73. package/dist/index135.js.map +1 -1
  74. package/dist/index136.js +4 -23
  75. package/dist/index136.js.map +1 -1
  76. package/dist/index137.js +4 -35
  77. package/dist/index137.js.map +1 -1
  78. package/dist/index138.js +7 -16
  79. package/dist/index138.js.map +1 -1
  80. package/dist/index139.js +24 -7
  81. package/dist/index139.js.map +1 -1
  82. package/dist/index140.js +7 -4
  83. package/dist/index140.js.map +1 -1
  84. package/dist/index141.js +6 -4
  85. package/dist/index141.js.map +1 -1
  86. package/dist/index142.js +5 -4
  87. package/dist/index142.js.map +1 -1
  88. package/dist/index143.js +3 -4
  89. package/dist/index143.js.map +1 -1
  90. package/dist/index144.js +1 -1
  91. package/dist/index144.js.map +1 -1
  92. package/dist/index145.js +4 -6
  93. package/dist/index145.js.map +1 -1
  94. package/dist/index146.js +4 -24
  95. package/dist/index146.js.map +1 -1
  96. package/dist/index147.js +4 -7
  97. package/dist/index147.js.map +1 -1
  98. package/dist/index148.js +3 -6
  99. package/dist/index148.js.map +1 -1
  100. package/dist/index149.js +3 -5
  101. package/dist/index149.js.map +1 -1
  102. package/dist/index150.js +3 -3
  103. package/dist/index150.js.map +1 -1
  104. package/dist/index151.js +46 -3
  105. package/dist/index151.js.map +1 -1
  106. package/dist/index152.js +5 -4
  107. package/dist/index152.js.map +1 -1
  108. package/dist/index153.js +68 -3
  109. package/dist/index153.js.map +1 -1
  110. package/dist/index154.js +2 -5
  111. package/dist/index154.js.map +1 -1
  112. package/dist/index155.js +363 -3
  113. package/dist/index155.js.map +1 -1
  114. package/dist/index156.js +261 -3
  115. package/dist/index156.js.map +1 -1
  116. package/dist/index157.js +60 -3
  117. package/dist/index157.js.map +1 -1
  118. package/dist/index158.js +46 -5
  119. package/dist/index158.js.map +1 -1
  120. package/dist/index159.js +157 -56
  121. package/dist/index159.js.map +1 -1
  122. package/dist/index160.js +110 -2
  123. package/dist/index160.js.map +1 -1
  124. package/dist/index161.js +24 -363
  125. package/dist/index161.js.map +1 -1
  126. package/dist/index162.js +8 -262
  127. package/dist/index162.js.map +1 -1
  128. package/dist/index163.js +4 -60
  129. package/dist/index163.js.map +1 -1
  130. package/dist/index164.js +5 -46
  131. package/dist/index164.js.map +1 -1
  132. package/dist/index165.js +4 -169
  133. package/dist/index165.js.map +1 -1
  134. package/dist/index166.js +459 -102
  135. package/dist/index166.js.map +1 -1
  136. package/dist/index167.js +185 -24
  137. package/dist/index167.js.map +1 -1
  138. package/dist/index168.js +108 -8
  139. package/dist/index168.js.map +1 -1
  140. package/dist/index169.js +262 -4
  141. package/dist/index169.js.map +1 -1
  142. package/dist/index170.js +9 -5
  143. package/dist/index170.js.map +1 -1
  144. package/dist/index171.js +42 -4
  145. package/dist/index171.js.map +1 -1
  146. package/dist/index172.js +4 -466
  147. package/dist/index172.js.map +1 -1
  148. package/dist/index173.js +44 -183
  149. package/dist/index173.js.map +1 -1
  150. package/dist/index174.js +198 -100
  151. package/dist/index174.js.map +1 -1
  152. package/dist/index175.js +22 -263
  153. package/dist/index175.js.map +1 -1
  154. package/dist/index176.js +24 -9
  155. package/dist/index176.js.map +1 -1
  156. package/dist/index177.js +391 -34
  157. package/dist/index177.js.map +1 -1
  158. package/dist/index178.js +605 -4
  159. package/dist/index178.js.map +1 -1
  160. package/dist/index179.js +58 -67
  161. package/dist/index179.js.map +1 -1
  162. package/dist/index180.js +8 -180
  163. package/dist/index180.js.map +1 -1
  164. package/dist/index181.js +62 -42
  165. package/dist/index181.js.map +1 -1
  166. package/dist/index182.js +18 -23
  167. package/dist/index182.js.map +1 -1
  168. package/dist/index183.js +17 -29
  169. package/dist/index183.js.map +1 -1
  170. package/dist/index184.js +6 -5
  171. package/dist/index184.js.map +1 -1
  172. package/dist/index185.js +4 -15
  173. package/dist/index185.js.map +1 -1
  174. package/dist/index186.js +6 -5
  175. package/dist/index186.js.map +1 -1
  176. package/dist/index187.js +4 -5
  177. package/dist/index187.js.map +1 -1
  178. package/dist/index188.js +7 -58
  179. package/dist/index188.js.map +1 -1
  180. package/dist/index189.js +17 -66
  181. package/dist/index189.js.map +1 -1
  182. package/dist/index19.js +390 -378
  183. package/dist/index19.js.map +1 -1
  184. package/dist/index190.js +5 -6
  185. package/dist/index190.js.map +1 -1
  186. package/dist/index191.js +5 -4
  187. package/dist/index191.js.map +1 -1
  188. package/dist/index192.js +13 -7
  189. package/dist/index192.js.map +1 -1
  190. package/dist/index193.js +9 -16
  191. package/dist/index193.js.map +1 -1
  192. package/dist/index194.js +14 -5
  193. package/dist/index194.js.map +1 -1
  194. package/dist/index195.js +14 -5
  195. package/dist/index195.js.map +1 -1
  196. package/dist/index196.js +5 -13
  197. package/dist/index196.js.map +1 -1
  198. package/dist/index197.js +5 -9
  199. package/dist/index197.js.map +1 -1
  200. package/dist/index198.js +7 -14
  201. package/dist/index198.js.map +1 -1
  202. package/dist/index199.js +6 -14
  203. package/dist/index199.js.map +1 -1
  204. package/dist/index200.js +9 -5
  205. package/dist/index200.js.map +1 -1
  206. package/dist/index201.js +5 -6
  207. package/dist/index201.js.map +1 -1
  208. package/dist/index202.js +5 -7
  209. package/dist/index202.js.map +1 -1
  210. package/dist/index203.js +9 -6
  211. package/dist/index203.js.map +1 -1
  212. package/dist/index204.js +5 -9
  213. package/dist/index204.js.map +1 -1
  214. package/dist/index205.js +5 -5
  215. package/dist/index205.js.map +1 -1
  216. package/dist/index206.js +4 -5
  217. package/dist/index206.js.map +1 -1
  218. package/dist/index207.js +11 -9
  219. package/dist/index207.js.map +1 -1
  220. package/dist/index208.js +10 -5
  221. package/dist/index208.js.map +1 -1
  222. package/dist/index209.js +10 -5
  223. package/dist/index209.js.map +1 -1
  224. package/dist/index210.js +11 -4
  225. package/dist/index210.js.map +1 -1
  226. package/dist/index211.js +11 -11
  227. package/dist/index211.js.map +1 -1
  228. package/dist/index212.js +10 -10
  229. package/dist/index212.js.map +1 -1
  230. package/dist/index213.js +7 -10
  231. package/dist/index213.js.map +1 -1
  232. package/dist/index214.js +6 -11
  233. package/dist/index214.js.map +1 -1
  234. package/dist/index215.js +5 -11
  235. package/dist/index215.js.map +1 -1
  236. package/dist/index216.js +6 -10
  237. package/dist/index216.js.map +1 -1
  238. package/dist/index217.js +7 -7
  239. package/dist/index217.js.map +1 -1
  240. package/dist/index218.js +6 -6
  241. package/dist/index218.js.map +1 -1
  242. package/dist/index219.js +55 -5
  243. package/dist/index219.js.map +1 -1
  244. package/dist/index220.js +16 -6
  245. package/dist/index220.js.map +1 -1
  246. package/dist/index221.js +7 -7
  247. package/dist/index221.js.map +1 -1
  248. package/dist/index222.js +10 -6
  249. package/dist/index222.js.map +1 -1
  250. package/dist/index223.js +10 -55
  251. package/dist/index223.js.map +1 -1
  252. package/dist/index224.js +21 -8
  253. package/dist/index224.js.map +1 -1
  254. package/dist/index225.js +10 -19
  255. package/dist/index225.js.map +1 -1
  256. package/dist/index226.js +9 -16
  257. package/dist/index226.js.map +1 -1
  258. package/dist/index227.js +9 -7
  259. package/dist/index227.js.map +1 -1
  260. package/dist/index228.js +4 -10
  261. package/dist/index228.js.map +1 -1
  262. package/dist/index229.js +5 -10
  263. package/dist/index229.js.map +1 -1
  264. package/dist/index230.js +16 -21
  265. package/dist/index230.js.map +1 -1
  266. package/dist/index231.js +9 -10
  267. package/dist/index231.js.map +1 -1
  268. package/dist/index232.js +18 -9
  269. package/dist/index232.js.map +1 -1
  270. package/dist/index233.js +15 -9
  271. package/dist/index233.js.map +1 -1
  272. package/dist/index234.js +12 -4
  273. package/dist/index234.js.map +1 -1
  274. package/dist/index235.js +29 -5
  275. package/dist/index235.js.map +1 -1
  276. package/dist/index236.js +11 -15
  277. package/dist/index236.js.map +1 -1
  278. package/dist/index237.js +25 -9
  279. package/dist/index237.js.map +1 -1
  280. package/dist/index238.js +5 -18
  281. package/dist/index238.js.map +1 -1
  282. package/dist/index239.js +13 -15
  283. package/dist/index239.js.map +1 -1
  284. package/dist/index24.js +1 -1
  285. package/dist/index240.js +154 -12
  286. package/dist/index240.js.map +1 -1
  287. package/dist/index241.js +29 -28
  288. package/dist/index241.js.map +1 -1
  289. package/dist/index242.js +9 -12
  290. package/dist/index242.js.map +1 -1
  291. package/dist/index243.js +46 -23
  292. package/dist/index243.js.map +1 -1
  293. package/dist/index244.js +11 -5
  294. package/dist/index244.js.map +1 -1
  295. package/dist/index245.js +44 -13
  296. package/dist/index245.js.map +1 -1
  297. package/dist/index246.js +86 -145
  298. package/dist/index246.js.map +1 -1
  299. package/dist/index247.js +83 -27
  300. package/dist/index247.js.map +1 -1
  301. package/dist/index248.js +105 -9
  302. package/dist/index248.js.map +1 -1
  303. package/dist/index249.js +45 -40
  304. package/dist/index249.js.map +1 -1
  305. package/dist/index250.js +11 -11
  306. package/dist/index250.js.map +1 -1
  307. package/dist/index251.js +35 -42
  308. package/dist/index251.js.map +1 -1
  309. package/dist/index252.js +8 -95
  310. package/dist/index252.js.map +1 -1
  311. package/dist/index253.js +110 -80
  312. package/dist/index253.js.map +1 -1
  313. package/dist/index254.js +17 -105
  314. package/dist/index254.js.map +1 -1
  315. package/dist/index255.js +14 -51
  316. package/dist/index255.js.map +1 -1
  317. package/dist/index256.js +3 -11
  318. package/dist/index256.js.map +1 -1
  319. package/dist/index257.js +32 -33
  320. package/dist/index257.js.map +1 -1
  321. package/dist/index258.js +20 -8
  322. package/dist/index258.js.map +1 -1
  323. package/dist/index259.js +9 -116
  324. package/dist/index259.js.map +1 -1
  325. package/dist/index260.js +8 -17
  326. package/dist/index260.js.map +1 -1
  327. package/dist/index261.js +24 -15
  328. package/dist/index261.js.map +1 -1
  329. package/dist/index262.js +29 -4
  330. package/dist/index262.js.map +1 -1
  331. package/dist/index263.js +5 -37
  332. package/dist/index263.js.map +1 -1
  333. package/dist/index264.js +18 -19
  334. package/dist/index264.js.map +1 -1
  335. package/dist/index265.js +28 -9
  336. package/dist/index265.js.map +1 -1
  337. package/dist/index266.js +15 -7
  338. package/dist/index266.js.map +1 -1
  339. package/dist/index267.js +65 -17
  340. package/dist/index267.js.map +1 -1
  341. package/dist/index268.js +178 -26
  342. package/dist/index268.js.map +1 -1
  343. package/dist/index269.js +44 -14
  344. package/dist/index269.js.map +1 -1
  345. package/dist/index27.js +493 -334
  346. package/dist/index27.js.map +1 -1
  347. package/dist/index270.js +5 -5
  348. package/dist/index270.js.map +1 -1
  349. package/dist/index271.js +19 -3
  350. package/dist/index271.js.map +1 -1
  351. package/dist/index272.js +12 -23
  352. package/dist/index272.js.map +1 -1
  353. package/dist/index273.js +19 -111
  354. package/dist/index273.js.map +1 -1
  355. package/dist/index274.js +5 -16
  356. package/dist/index274.js.map +1 -1
  357. package/dist/index275.js +3 -525
  358. package/dist/index275.js.map +1 -1
  359. package/dist/index276.js +23 -127
  360. package/dist/index276.js.map +1 -1
  361. package/dist/index277.js +108 -129
  362. package/dist/index277.js.map +1 -1
  363. package/dist/index278.js +15 -4
  364. package/dist/index278.js.map +1 -1
  365. package/dist/index279.js +523 -17
  366. package/dist/index279.js.map +1 -1
  367. package/dist/index280.js +127 -12
  368. package/dist/index280.js.map +1 -1
  369. package/dist/index281.js +133 -20
  370. package/dist/index281.js.map +1 -1
  371. package/dist/index282.js +6 -69
  372. package/dist/index282.js.map +1 -1
  373. package/dist/index283.js +6 -9
  374. package/dist/index283.js.map +1 -1
  375. package/dist/index284.js +4 -14
  376. package/dist/index284.js.map +1 -1
  377. package/dist/index285.js +15 -65
  378. package/dist/index285.js.map +1 -1
  379. package/dist/index286.js +8 -64
  380. package/dist/index286.js.map +1 -1
  381. package/dist/index287.js +5 -5
  382. package/dist/index287.js.map +1 -1
  383. package/dist/index288.js +4 -5
  384. package/dist/index288.js.map +1 -1
  385. package/dist/index289.js +546 -4
  386. package/dist/index289.js.map +1 -1
  387. package/dist/index290.js +47 -16
  388. package/dist/index290.js.map +1 -1
  389. package/dist/index291.js +17 -8
  390. package/dist/index291.js.map +1 -1
  391. package/dist/index292.js +6 -5
  392. package/dist/index292.js.map +1 -1
  393. package/dist/index293.js +8 -4
  394. package/dist/index293.js.map +1 -1
  395. package/dist/index294.js +7 -545
  396. package/dist/index294.js.map +1 -1
  397. package/dist/index295.js +9 -47
  398. package/dist/index295.js.map +1 -1
  399. package/dist/index296.js +12 -17
  400. package/dist/index296.js.map +1 -1
  401. package/dist/index297.js +9 -6
  402. package/dist/index297.js.map +1 -1
  403. package/dist/index298.js +13 -8
  404. package/dist/index298.js.map +1 -1
  405. package/dist/index299.js +64 -7
  406. package/dist/index299.js.map +1 -1
  407. package/dist/index300.js +69 -9
  408. package/dist/index300.js.map +1 -1
  409. package/dist/index301.js +9 -13
  410. package/dist/index301.js.map +1 -1
  411. package/dist/index302.js +14 -10
  412. package/dist/index302.js.map +1 -1
  413. package/dist/index303.js +66 -14
  414. package/dist/index303.js.map +1 -1
  415. package/dist/index304.js +4 -3
  416. package/dist/index304.js.map +1 -1
  417. package/dist/index305.js +56 -23
  418. package/dist/index305.js.map +1 -1
  419. package/dist/index306.js +68 -5
  420. package/dist/index306.js.map +1 -1
  421. package/dist/index307.js +30 -55
  422. package/dist/index307.js.map +1 -1
  423. package/dist/index308.js +9 -68
  424. package/dist/index308.js.map +1 -1
  425. package/dist/index309.js +148 -26
  426. package/dist/index309.js.map +1 -1
  427. package/dist/index31.js +5 -5
  428. package/dist/index310.js +108 -9
  429. package/dist/index310.js.map +1 -1
  430. package/dist/index311.js +4 -153
  431. package/dist/index311.js.map +1 -1
  432. package/dist/index312.js +23 -108
  433. package/dist/index312.js.map +1 -1
  434. package/dist/index313.js +15 -22
  435. package/dist/index313.js.map +1 -1
  436. package/dist/index314.js +28 -12
  437. package/dist/index314.js.map +1 -1
  438. package/dist/index315.js +12 -27
  439. package/dist/index315.js.map +1 -1
  440. package/dist/index316.js +7 -5
  441. package/dist/index316.js.map +1 -1
  442. package/dist/index317.js +22 -15
  443. package/dist/index317.js.map +1 -1
  444. package/dist/index318.js +12 -28
  445. package/dist/index318.js.map +1 -1
  446. package/dist/index319.js +27 -12
  447. package/dist/index319.js.map +1 -1
  448. package/dist/index32.js +24 -24
  449. package/dist/index320.js +5 -7
  450. package/dist/index320.js.map +1 -1
  451. package/dist/index33.js +3 -3
  452. package/dist/index40.js +2 -2
  453. package/dist/index41.js +20 -20
  454. package/dist/index45.js +1 -1
  455. package/dist/index46.js +1 -1
  456. package/dist/index49.js +1 -1
  457. package/dist/index50.js +1 -1
  458. package/dist/index51.js +2 -205
  459. package/dist/index51.js.map +1 -1
  460. package/dist/index52.js +2 -7
  461. package/dist/index52.js.map +1 -1
  462. package/dist/index53.js +2 -34
  463. package/dist/index53.js.map +1 -1
  464. package/dist/index54.js +2 -27
  465. package/dist/index54.js.map +1 -1
  466. package/dist/index55.js +6 -7
  467. package/dist/index55.js.map +1 -1
  468. package/dist/index56.js +33 -11
  469. package/dist/index56.js.map +1 -1
  470. package/dist/index57.js +26 -3
  471. package/dist/index57.js.map +1 -1
  472. package/dist/index58.js +7 -47
  473. package/dist/index58.js.map +1 -1
  474. package/dist/index59.js +10 -49
  475. package/dist/index59.js.map +1 -1
  476. package/dist/index60.js +205 -8
  477. package/dist/index60.js.map +1 -1
  478. package/dist/index61.js +3 -14
  479. package/dist/index61.js.map +1 -1
  480. package/dist/index62.js +43 -129
  481. package/dist/index62.js.map +1 -1
  482. package/dist/index63.js +50 -10
  483. package/dist/index63.js.map +1 -1
  484. package/dist/index64.js +7 -216
  485. package/dist/index64.js.map +1 -1
  486. package/dist/index65.js +15 -13
  487. package/dist/index65.js.map +1 -1
  488. package/dist/index66.js +128 -41
  489. package/dist/index66.js.map +1 -1
  490. package/dist/index67.js +9 -48
  491. package/dist/index67.js.map +1 -1
  492. package/dist/index68.js +216 -3
  493. package/dist/index68.js.map +1 -1
  494. package/dist/index69.js +13 -6
  495. package/dist/index69.js.map +1 -1
  496. package/dist/index70.js +46 -27
  497. package/dist/index70.js.map +1 -1
  498. package/dist/index71.js +50 -50
  499. package/dist/index71.js.map +1 -1
  500. package/dist/index72.js +4 -9
  501. package/dist/index72.js.map +1 -1
  502. package/dist/index73.js +6 -2
  503. package/dist/index73.js.map +1 -1
  504. package/dist/index74.js +28 -2
  505. package/dist/index74.js.map +1 -1
  506. package/dist/index75.js +50 -2
  507. package/dist/index75.js.map +1 -1
  508. package/dist/index76.js +9 -2
  509. package/dist/index76.js.map +1 -1
  510. package/dist/index77.js +1 -1
  511. package/dist/index78.js +2 -2
  512. package/dist/index79.js +2 -2
  513. package/dist/index80.js +52 -606
  514. package/dist/index80.js.map +1 -1
  515. package/dist/index81.js +4 -46
  516. package/dist/index81.js.map +1 -1
  517. package/dist/index82.js +4 -46
  518. package/dist/index82.js.map +1 -1
  519. package/dist/index83.js +15 -205
  520. package/dist/index83.js.map +1 -1
  521. package/dist/index84.js +6 -22
  522. package/dist/index84.js.map +1 -1
  523. package/dist/index85.js +7 -24
  524. package/dist/index85.js.map +1 -1
  525. package/dist/index86.js +16 -399
  526. package/dist/index86.js.map +1 -1
  527. package/dist/index87.js +5 -52
  528. package/dist/index87.js.map +1 -1
  529. package/dist/index88.js +4 -4
  530. package/dist/index88.js.map +1 -1
  531. package/dist/index89.js +5 -4
  532. package/dist/index89.js.map +1 -1
  533. package/dist/index90.js +5 -15
  534. package/dist/index90.js.map +1 -1
  535. package/dist/index91.js +3 -4
  536. package/dist/index91.js.map +1 -1
  537. package/dist/index92.js +3 -6
  538. package/dist/index92.js.map +1 -1
  539. package/dist/index93.js +5 -15
  540. package/dist/index93.js.map +1 -1
  541. package/dist/index94.js +24 -4
  542. package/dist/index94.js.map +1 -1
  543. package/dist/index95.js +6 -4
  544. package/dist/index95.js.map +1 -1
  545. package/dist/index96.js +4 -5
  546. package/dist/index96.js.map +1 -1
  547. package/dist/index97.js +6 -5
  548. package/dist/index97.js.map +1 -1
  549. package/dist/index98.js +4 -3
  550. package/dist/index98.js.map +1 -1
  551. package/dist/index99.js +4 -4
  552. package/dist/index99.js.map +1 -1
  553. package/package.json +6 -6
package/dist/index267.js CHANGED
@@ -1,23 +1,71 @@
1
- import c, { getCountryCallingCode as b } from "./index172.js";
2
- import g from "./index262.js";
3
- import C from "./index263.js";
4
- import h from "./index245.js";
5
- function P(i, r, l, N, n) {
6
- var e = r || l ? b(r || l, n) : N;
7
- if (i.indexOf(e) === 0) {
8
- n = new c(n), n.selectNumberingPlan(r || l, e);
9
- var o = i.slice(e.length), f = C(o, r, n), m = f.nationalNumber, u = C(i, r, n), t = u.nationalNumber;
10
- if (!g(t, n.nationalNumberPattern()) && g(m, n.nationalNumberPattern()) || h(t, r, n) === "TOO_LONG")
11
- return {
12
- countryCallingCode: e,
13
- number: o
1
+ import * as i from "react";
2
+ import { useComposedRefs as O } from "./index57.js";
3
+ import { useLayoutEffect as A } from "./index72.js";
4
+ function E(n, e) {
5
+ return i.useReducer((t, r) => e[t][r] ?? t, n);
6
+ }
7
+ var T = (n) => {
8
+ const { present: e, children: t } = n, r = R(e), a = typeof t == "function" ? t({ present: r.isPresent }) : i.Children.only(t), c = O(r.ref, v(a));
9
+ return typeof t == "function" || r.isPresent ? i.cloneElement(a, { ref: c }) : null;
10
+ };
11
+ T.displayName = "Presence";
12
+ function R(n) {
13
+ const [e, t] = i.useState(), r = i.useRef(null), a = i.useRef(n), c = i.useRef("none"), p = n ? "mounted" : "unmounted", [N, s] = E(p, {
14
+ mounted: {
15
+ UNMOUNT: "unmounted",
16
+ ANIMATION_OUT: "unmountSuspended"
17
+ },
18
+ unmountSuspended: {
19
+ MOUNT: "mounted",
20
+ ANIMATION_END: "unmounted"
21
+ },
22
+ unmounted: {
23
+ MOUNT: "mounted"
24
+ }
25
+ });
26
+ return i.useEffect(() => {
27
+ const o = l(r.current);
28
+ c.current = N === "mounted" ? o : "none";
29
+ }, [N]), A(() => {
30
+ const o = r.current, m = a.current;
31
+ if (m !== n) {
32
+ const f = c.current, u = l(o);
33
+ n ? s("MOUNT") : u === "none" || o?.display === "none" ? s("UNMOUNT") : s(m && f !== u ? "ANIMATION_OUT" : "UNMOUNT"), a.current = n;
34
+ }
35
+ }, [n, s]), A(() => {
36
+ if (e) {
37
+ let o;
38
+ const m = e.ownerDocument.defaultView ?? window, d = (u) => {
39
+ const g = l(r.current).includes(CSS.escape(u.animationName));
40
+ if (u.target === e && g && (s("ANIMATION_END"), !a.current)) {
41
+ const y = e.style.animationFillMode;
42
+ e.style.animationFillMode = "forwards", o = m.setTimeout(() => {
43
+ e.style.animationFillMode === "forwards" && (e.style.animationFillMode = y);
44
+ });
45
+ }
46
+ }, f = (u) => {
47
+ u.target === e && (c.current = l(r.current));
48
+ };
49
+ return e.addEventListener("animationstart", f), e.addEventListener("animationcancel", d), e.addEventListener("animationend", d), () => {
50
+ m.clearTimeout(o), e.removeEventListener("animationstart", f), e.removeEventListener("animationcancel", d), e.removeEventListener("animationend", d);
14
51
  };
15
- }
16
- return {
17
- number: i
52
+ } else
53
+ s("ANIMATION_END");
54
+ }, [e, s]), {
55
+ isPresent: ["mounted", "unmountSuspended"].includes(N),
56
+ ref: i.useCallback((o) => {
57
+ r.current = o ? getComputedStyle(o) : null, t(o);
58
+ }, [])
18
59
  };
19
60
  }
61
+ function l(n) {
62
+ return n?.animationName || "none";
63
+ }
64
+ function v(n) {
65
+ let e = Object.getOwnPropertyDescriptor(n.props, "ref")?.get, t = e && "isReactWarning" in e && e.isReactWarning;
66
+ return t ? n.ref : (e = Object.getOwnPropertyDescriptor(n, "ref")?.get, t = e && "isReactWarning" in e && e.isReactWarning, t ? n.props.ref : n.props.ref || n.ref);
67
+ }
20
68
  export {
21
- P as default
69
+ T as Presence
22
70
  };
23
71
  //# sourceMappingURL=index267.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index267.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js"],"sourcesContent":["import Metadata from '../metadata.js';\nimport matchesEntirely from './matchesEntirely.js';\nimport extractNationalNumber from './extractNationalNumber.js';\nimport checkNumberLength from './checkNumberLength.js';\nimport getCountryCallingCode from '../getCountryCallingCode.js';\n\n/**\r\n * Sometimes some people incorrectly input international phone numbers\r\n * without the leading `+`. This function corrects such input.\r\n * @param {string} number Phone number digits.\r\n * @param {string} [country] — Exact country of the phone number.\r\n * @param {string} [defaultCountry]\r\n * @param {string} [defaultCallingCode]\r\n * @param {object} metadata\r\n * @return {object} `{ countryCallingCode: string?, number: string }`.\r\n */\nexport default function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number, country, defaultCountry, defaultCallingCode, metadata) {\n var countryCallingCode = country || defaultCountry ? getCountryCallingCode(country || defaultCountry, metadata) : defaultCallingCode;\n if (number.indexOf(countryCallingCode) === 0) {\n metadata = new Metadata(metadata);\n metadata.selectNumberingPlan(country || defaultCountry, countryCallingCode);\n var possibleShorterNumber = number.slice(countryCallingCode.length);\n var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, country, metadata),\n possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;\n var _extractNationalNumbe2 = extractNationalNumber(number, country, metadata),\n nationalNumber = _extractNationalNumbe2.nationalNumber;\n\n // If the number was not valid before but is valid now,\n // or if it was too long before, we consider the number\n // with the country calling code stripped to be a better result\n // and keep that instead.\n // For example, in Germany (+49), `49` is a valid area code,\n // so if a number starts with `49`, it could be both a valid\n // national German number or an international number without\n // a leading `+`.\n if (!matchesEntirely(nationalNumber, metadata.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata.nationalNumberPattern()) || checkNumberLength(nationalNumber, country, metadata) === 'TOO_LONG') {\n return {\n countryCallingCode: countryCallingCode,\n number: possibleShorterNumber\n };\n }\n }\n return {\n number: number\n };\n}\n//# sourceMappingURL=extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js.map"],"names":["extractCountryCallingCodeFromInternationalNumberWithoutPlusSign","number","country","defaultCountry","defaultCallingCode","metadata","countryCallingCode","getCountryCallingCode","Metadata","possibleShorterNumber","_extractNationalNumbe","extractNationalNumber","possibleShorterNationalNumber","_extractNationalNumbe2","nationalNumber","matchesEntirely","checkNumberLength"],"mappings":";;;;AAgBe,SAASA,EAAgEC,GAAQC,GAASC,GAAgBC,GAAoBC,GAAU;AACrJ,MAAIC,IAAqBJ,KAAWC,IAAiBI,EAAsBL,KAAWC,GAAgBE,CAAQ,IAAID;AAClH,MAAIH,EAAO,QAAQK,CAAkB,MAAM,GAAG;AAC5C,IAAAD,IAAW,IAAIG,EAASH,CAAQ,GAChCA,EAAS,oBAAoBH,KAAWC,GAAgBG,CAAkB;AAC1E,QAAIG,IAAwBR,EAAO,MAAMK,EAAmB,MAAM,GAC9DI,IAAwBC,EAAsBF,GAAuBP,GAASG,CAAQ,GACxFO,IAAgCF,EAAsB,gBACpDG,IAAyBF,EAAsBV,GAAQC,GAASG,CAAQ,GAC1ES,IAAiBD,EAAuB;AAU1C,QAAI,CAACE,EAAgBD,GAAgBT,EAAS,sBAAqB,CAAE,KAAKU,EAAgBH,GAA+BP,EAAS,sBAAqB,CAAE,KAAKW,EAAkBF,GAAgBZ,GAASG,CAAQ,MAAM;AACrN,aAAO;AAAA,QACL,oBAAoBC;AAAA,QACpB,QAAQG;AAAA,MAChB;AAAA,EAEE;AACA,SAAO;AAAA,IACL,QAAQR;AAAA,EACZ;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index267.js","sources":["../../../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef(null);\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n stylesRef.current = node2 ? getComputedStyle(node2) : null;\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","mayWarn"],"mappings":";;;AASA,SAASA,EAAgBC,GAAcC,GAAS;AAC9C,SAAOC,EAAM,WAAW,CAACC,GAAOC,MACZH,EAAQE,CAAK,EAAEC,CAAK,KAClBD,GACnBH,CAAY;AACjB;AAGG,IAACK,IAAW,CAACC,MAAU;AACxB,QAAM,EAAE,SAAAC,GAAS,UAAAC,EAAQ,IAAKF,GACxBG,IAAWC,EAAYH,CAAO,GAC9BI,IAAQ,OAAOH,KAAa,aAAaA,EAAS,EAAE,SAASC,EAAS,UAAS,CAAE,IAAIG,EAAO,SAAS,KAAKJ,CAAQ,GAClHK,IAAMC,EAAgBL,EAAS,KAAKM,EAAcJ,CAAK,CAAC;AAE9D,SADmB,OAAOH,KAAa,cAClBC,EAAS,YAAYG,EAAO,aAAaD,GAAO,EAAE,KAAAE,EAAG,CAAE,IAAI;AAClF;AACAR,EAAS,cAAc;AACvB,SAASK,EAAYH,GAAS;AAC5B,QAAM,CAACS,GAAMC,CAAO,IAAIL,EAAO,SAAQ,GACjCM,IAAYN,EAAO,OAAO,IAAI,GAC9BO,IAAiBP,EAAO,OAAOL,CAAO,GACtCa,IAAuBR,EAAO,OAAO,MAAM,GAC3CZ,IAAeO,IAAU,YAAY,aACrC,CAACJ,GAAOkB,CAAI,IAAItB,EAAgBC,GAAc;AAAA,IAClD,SAAS;AAAA,MACP,SAAS;AAAA,MACT,eAAe;AAAA,IACrB;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AiBL,EAAU,OAAO;AAAA,MAErE;AACA,aAAAF,EAAK,iBAAiB,kBAAkBiB,CAAoB,GAC5DjB,EAAK,iBAAiB,mBAAmBc,CAAkB,GAC3Dd,EAAK,iBAAiB,gBAAgBc,CAAkB,GACjD,MAAM;AACX,QAAAD,EAAY,aAAaD,CAAS,GAClCZ,EAAK,oBAAoB,kBAAkBiB,CAAoB,GAC/DjB,EAAK,oBAAoB,mBAAmBc,CAAkB,GAC9Dd,EAAK,oBAAoB,gBAAgBc,CAAkB;AAAA,MAC7D;AAAA,IACF;AACE,MAAAT,EAAK,eAAe;AAAA,EAExB,GAAG,CAACL,GAAMK,CAAI,CAAC,GACR;AAAA,IACL,WAAW,CAAC,WAAW,kBAAkB,EAAE,SAASlB,CAAK;AAAA,IACzD,KAAKS,EAAO,YAAY,CAACsB,MAAU;AACjC,MAAAhB,EAAU,UAAUgB,IAAQ,iBAAiBA,CAAK,IAAI,MACtDjB,EAAQiB,CAAK;AAAA,IACf,GAAG,CAAA,CAAE;AAAA,EACT;AACA;AACA,SAASX,EAAiBE,GAAQ;AAChC,SAAOA,GAAQ,iBAAiB;AAClC;AACA,SAASV,EAAcoB,GAAS;AAC9B,MAAIC,IAAS,OAAO,yBAAyBD,EAAQ,OAAO,KAAK,GAAG,KAChEE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIC,IACKF,EAAQ,OAEjBC,IAAS,OAAO,yBAAyBD,GAAS,KAAK,GAAG,KAC1DE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDC,IACKF,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
package/dist/index268.js CHANGED
@@ -1,32 +1,184 @@
1
- function F(l, i) {
2
- if (l && i.numberingPlan.nationalPrefixForParsing()) {
3
- var g = new RegExp("^(?:" + i.numberingPlan.nationalPrefixForParsing() + ")"), n = g.exec(l);
4
- if (n) {
5
- var r, P, v = n.length - 1, e = v > 0 && n[v];
6
- if (i.nationalPrefixTransformRule() && e)
7
- r = l.replace(g, i.nationalPrefixTransformRule()), v > 1 && (P = n[1]);
8
- else {
9
- var o = n[0];
10
- r = l.slice(o.length), e && (P = n[1]);
11
- }
12
- var f;
13
- if (e) {
14
- var s = l.indexOf(n[1]), a = l.slice(0, s);
15
- a === i.numberingPlan.nationalPrefix() && (f = i.numberingPlan.nationalPrefix());
16
- } else
17
- f = n[0];
18
- return {
19
- nationalNumber: r,
20
- nationalPrefix: f,
21
- carrierCode: P
22
- };
1
+ import * as s from "react";
2
+ import { composeEventHandlers as p } from "./index55.js";
3
+ import { createCollection as H } from "./index62.js";
4
+ import { useComposedRefs as V } from "./index57.js";
5
+ import { createContextScope as z } from "./index63.js";
6
+ import { useId as q } from "./index67.js";
7
+ import { Primitive as G } from "./index56.js";
8
+ import { useCallbackRef as J } from "./index58.js";
9
+ import { useControllableState as Q } from "./index71.js";
10
+ import { useDirection as W } from "./index64.js";
11
+ import { j as d } from "./index30.js";
12
+ var _ = "rovingFocusGroup.onEntryFocus", X = { bubbles: !1, cancelable: !0 }, I = "RovingFocusGroup", [y, N, Z] = H(I), [$, Fe] = z(
13
+ I,
14
+ [Z]
15
+ ), [ee, oe] = $(I), O = s.forwardRef(
16
+ (e, r) => /* @__PURE__ */ d.jsx(y.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(y.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(te, { ...e, ref: r }) }) })
17
+ );
18
+ O.displayName = I;
19
+ var te = s.forwardRef((e, r) => {
20
+ const {
21
+ __scopeRovingFocusGroup: c,
22
+ orientation: o,
23
+ loop: T = !1,
24
+ dir: w,
25
+ currentTabStopId: v,
26
+ defaultCurrentTabStopId: C,
27
+ onCurrentTabStopIdChange: S,
28
+ onEntryFocus: m,
29
+ preventScrollOnEntryFocus: u = !1,
30
+ ...b
31
+ } = e, F = s.useRef(null), g = V(r, F), R = W(w), [E, t] = Q({
32
+ prop: v,
33
+ defaultProp: C ?? null,
34
+ onChange: S,
35
+ caller: I
36
+ }), [i, h] = s.useState(!1), a = J(m), l = N(c), x = s.useRef(!1), [k, D] = s.useState(0);
37
+ return s.useEffect(() => {
38
+ const n = F.current;
39
+ if (n)
40
+ return n.addEventListener(_, a), () => n.removeEventListener(_, a);
41
+ }, [a]), /* @__PURE__ */ d.jsx(
42
+ ee,
43
+ {
44
+ scope: c,
45
+ orientation: o,
46
+ dir: R,
47
+ loop: T,
48
+ currentTabStopId: E,
49
+ onItemFocus: s.useCallback(
50
+ (n) => t(n),
51
+ [t]
52
+ ),
53
+ onItemShiftTab: s.useCallback(() => h(!0), []),
54
+ onFocusableItemAdd: s.useCallback(
55
+ () => D((n) => n + 1),
56
+ []
57
+ ),
58
+ onFocusableItemRemove: s.useCallback(
59
+ () => D((n) => n - 1),
60
+ []
61
+ ),
62
+ children: /* @__PURE__ */ d.jsx(
63
+ G.div,
64
+ {
65
+ tabIndex: i || k === 0 ? -1 : 0,
66
+ "data-orientation": o,
67
+ ...b,
68
+ ref: g,
69
+ style: { outline: "none", ...e.style },
70
+ onMouseDown: p(e.onMouseDown, () => {
71
+ x.current = !0;
72
+ }),
73
+ onFocus: p(e.onFocus, (n) => {
74
+ const L = !x.current;
75
+ if (n.target === n.currentTarget && L && !i) {
76
+ const P = new CustomEvent(_, X);
77
+ if (n.currentTarget.dispatchEvent(P), !P.defaultPrevented) {
78
+ const A = l().filter((f) => f.focusable), U = A.find((f) => f.active), B = A.find((f) => f.id === E), Y = [U, B, ...A].filter(
79
+ Boolean
80
+ ).map((f) => f.ref.current);
81
+ M(Y, u);
82
+ }
83
+ }
84
+ x.current = !1;
85
+ }),
86
+ onBlur: p(e.onBlur, () => h(!1))
87
+ }
88
+ )
23
89
  }
90
+ );
91
+ }), K = "RovingFocusGroupItem", j = s.forwardRef(
92
+ (e, r) => {
93
+ const {
94
+ __scopeRovingFocusGroup: c,
95
+ focusable: o = !0,
96
+ active: T = !1,
97
+ tabStopId: w,
98
+ children: v,
99
+ ...C
100
+ } = e, S = q(), m = w || S, u = oe(K, c), b = u.currentTabStopId === m, F = N(c), { onFocusableItemAdd: g, onFocusableItemRemove: R, currentTabStopId: E } = u;
101
+ return s.useEffect(() => {
102
+ if (o)
103
+ return g(), () => R();
104
+ }, [o, g, R]), /* @__PURE__ */ d.jsx(
105
+ y.ItemSlot,
106
+ {
107
+ scope: c,
108
+ id: m,
109
+ focusable: o,
110
+ active: T,
111
+ children: /* @__PURE__ */ d.jsx(
112
+ G.span,
113
+ {
114
+ tabIndex: b ? 0 : -1,
115
+ "data-orientation": u.orientation,
116
+ ...C,
117
+ ref: r,
118
+ onMouseDown: p(e.onMouseDown, (t) => {
119
+ o ? u.onItemFocus(m) : t.preventDefault();
120
+ }),
121
+ onFocus: p(e.onFocus, () => u.onItemFocus(m)),
122
+ onKeyDown: p(e.onKeyDown, (t) => {
123
+ if (t.key === "Tab" && t.shiftKey) {
124
+ u.onItemShiftTab();
125
+ return;
126
+ }
127
+ if (t.target !== t.currentTarget) return;
128
+ const i = se(t, u.orientation, u.dir);
129
+ if (i !== void 0) {
130
+ if (t.metaKey || t.ctrlKey || t.altKey || t.shiftKey) return;
131
+ t.preventDefault();
132
+ let a = F().filter((l) => l.focusable).map((l) => l.ref.current);
133
+ if (i === "last") a.reverse();
134
+ else if (i === "prev" || i === "next") {
135
+ i === "prev" && a.reverse();
136
+ const l = a.indexOf(t.currentTarget);
137
+ a = u.loop ? ce(a, l + 1) : a.slice(l + 1);
138
+ }
139
+ setTimeout(() => M(a));
140
+ }
141
+ }),
142
+ children: typeof v == "function" ? v({ isCurrentTabStop: b, hasTabStop: E != null }) : v
143
+ }
144
+ )
145
+ }
146
+ );
24
147
  }
25
- return {
26
- nationalNumber: l
27
- };
148
+ );
149
+ j.displayName = K;
150
+ var re = {
151
+ ArrowLeft: "prev",
152
+ ArrowUp: "prev",
153
+ ArrowRight: "next",
154
+ ArrowDown: "next",
155
+ PageUp: "first",
156
+ Home: "first",
157
+ PageDown: "last",
158
+ End: "last"
159
+ };
160
+ function ne(e, r) {
161
+ return r !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
162
+ }
163
+ function se(e, r, c) {
164
+ const o = ne(e.key, c);
165
+ if (!(r === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(r === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o)))
166
+ return re[o];
167
+ }
168
+ function M(e, r = !1) {
169
+ const c = document.activeElement;
170
+ for (const o of e)
171
+ if (o === c || (o.focus({ preventScroll: r }), document.activeElement !== c)) return;
172
+ }
173
+ function ce(e, r) {
174
+ return e.map((c, o) => e[(r + o) % e.length]);
28
175
  }
176
+ var ge = O, Re = j;
29
177
  export {
30
- F as default
178
+ Re as Item,
179
+ ge as Root,
180
+ O as RovingFocusGroup,
181
+ j as RovingFocusGroupItem,
182
+ Fe as createRovingFocusGroupScope
31
183
  };
32
184
  //# sourceMappingURL=index268.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index268.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js"],"sourcesContent":["/**\r\n * Strips any national prefix (such as 0, 1) present in a\r\n * (possibly incomplete) number provided.\r\n * \"Carrier codes\" are only used in Colombia and Brazil,\r\n * and only when dialing within those countries from a mobile phone to a fixed line number.\r\n * Sometimes it won't actually strip national prefix\r\n * and will instead prepend some digits to the `number`:\r\n * for example, when number `2345678` is passed with `VI` country selected,\r\n * it will return `{ number: \"3402345678\" }`, because `340` area code is prepended.\r\n * @param {string} number — National number digits.\r\n * @param {object} metadata — Metadata with country selected.\r\n * @return {object} `{ nationalNumber: string, nationalPrefix: string? carrierCode: string? }`. Even if a national prefix was extracted, it's not necessarily present in the returned object, so don't rely on its presence in the returned object in order to find out whether a national prefix has been extracted or not.\r\n */\nexport default function extractNationalNumberFromPossiblyIncompleteNumber(number, metadata) {\n if (number && metadata.numberingPlan.nationalPrefixForParsing()) {\n // See METADATA.md for the description of\n // `national_prefix_for_parsing` and `national_prefix_transform_rule`.\n // Attempt to parse the first digits as a national prefix.\n var prefixPattern = new RegExp('^(?:' + metadata.numberingPlan.nationalPrefixForParsing() + ')');\n var prefixMatch = prefixPattern.exec(number);\n if (prefixMatch) {\n var nationalNumber;\n var carrierCode;\n // https://gitlab.com/catamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule\n // If a `national_prefix_for_parsing` has any \"capturing groups\"\n // then it means that the national (significant) number is equal to\n // those \"capturing groups\" transformed via `national_prefix_transform_rule`,\n // and nothing could be said about the actual national prefix:\n // what is it and was it even there.\n // If a `national_prefix_for_parsing` doesn't have any \"capturing groups\",\n // then everything it matches is a national prefix.\n // To determine whether `national_prefix_for_parsing` matched any\n // \"capturing groups\", the value of the result of calling `.exec()`\n // is looked at, and if it has non-undefined values where there're\n // \"capturing groups\" in the regular expression, then it means\n // that \"capturing groups\" have been matched.\n // It's not possible to tell whether there'll be any \"capturing gropus\"\n // before the matching process, because a `national_prefix_for_parsing`\n // could exhibit both behaviors.\n var capturedGroupsCount = prefixMatch.length - 1;\n var hasCapturedGroups = capturedGroupsCount > 0 && prefixMatch[capturedGroupsCount];\n if (metadata.nationalPrefixTransformRule() && hasCapturedGroups) {\n nationalNumber = number.replace(prefixPattern, metadata.nationalPrefixTransformRule());\n // If there's more than one captured group,\n // then carrier code is the second one.\n if (capturedGroupsCount > 1) {\n carrierCode = prefixMatch[1];\n }\n }\n // If there're no \"capturing groups\",\n // or if there're \"capturing groups\" but no\n // `national_prefix_transform_rule`,\n // then just strip the national prefix from the number,\n // and possibly a carrier code.\n // Seems like there could be more.\n else {\n // `prefixBeforeNationalNumber` is the whole substring matched by\n // the `national_prefix_for_parsing` regular expression.\n // There seem to be no guarantees that it's just a national prefix.\n // For example, if there's a carrier code, it's gonna be a\n // part of `prefixBeforeNationalNumber` too.\n var prefixBeforeNationalNumber = prefixMatch[0];\n nationalNumber = number.slice(prefixBeforeNationalNumber.length);\n // If there's at least one captured group,\n // then carrier code is the first one.\n if (hasCapturedGroups) {\n carrierCode = prefixMatch[1];\n }\n }\n // Tries to guess whether a national prefix was present in the input.\n // This is not something copy-pasted from Google's library:\n // they don't seem to have an equivalent for that.\n // So this isn't an \"officially approved\" way of doing something like that.\n // But since there seems no other existing method, this library uses it.\n var nationalPrefix;\n if (hasCapturedGroups) {\n var possiblePositionOfTheFirstCapturedGroup = number.indexOf(prefixMatch[1]);\n var possibleNationalPrefix = number.slice(0, possiblePositionOfTheFirstCapturedGroup);\n // Example: an Argentinian (AR) phone number `0111523456789`.\n // `prefixMatch[0]` is `01115`, and `$1` is `11`,\n // and the rest of the phone number is `23456789`.\n // The national number is transformed via `9$1` to `91123456789`.\n // National prefix `0` is detected being present at the start.\n // if (possibleNationalPrefix.indexOf(metadata.numberingPlan.nationalPrefix()) === 0) {\n if (possibleNationalPrefix === metadata.numberingPlan.nationalPrefix()) {\n nationalPrefix = metadata.numberingPlan.nationalPrefix();\n }\n } else {\n nationalPrefix = prefixMatch[0];\n }\n return {\n nationalNumber: nationalNumber,\n nationalPrefix: nationalPrefix,\n carrierCode: carrierCode\n };\n }\n }\n return {\n nationalNumber: number\n };\n}\n//# sourceMappingURL=extractNationalNumberFromPossiblyIncompleteNumber.js.map"],"names":["extractNationalNumberFromPossiblyIncompleteNumber","number","metadata","prefixPattern","prefixMatch","nationalNumber","carrierCode","capturedGroupsCount","hasCapturedGroups","prefixBeforeNationalNumber","nationalPrefix","possiblePositionOfTheFirstCapturedGroup","possibleNationalPrefix"],"mappings":"AAae,SAASA,EAAkDC,GAAQC,GAAU;AAC1F,MAAID,KAAUC,EAAS,cAAc,yBAAwB,GAAI;AAI/D,QAAIC,IAAgB,IAAI,OAAO,SAASD,EAAS,cAAc,yBAAwB,IAAK,GAAG,GAC3FE,IAAcD,EAAc,KAAKF,CAAM;AAC3C,QAAIG,GAAa;AACf,UAAIC,GACAC,GAiBAC,IAAsBH,EAAY,SAAS,GAC3CI,IAAoBD,IAAsB,KAAKH,EAAYG,CAAmB;AAClF,UAAIL,EAAS,4BAA2B,KAAMM;AAC5C,QAAAH,IAAiBJ,EAAO,QAAQE,GAAeD,EAAS,4BAA2B,CAAE,GAGjFK,IAAsB,MACxBD,IAAcF,EAAY,CAAC;AAAA,WAS1B;AAMH,YAAIK,IAA6BL,EAAY,CAAC;AAC9C,QAAAC,IAAiBJ,EAAO,MAAMQ,EAA2B,MAAM,GAG3DD,MACFF,IAAcF,EAAY,CAAC;AAAA,MAE/B;AAMA,UAAIM;AACJ,UAAIF,GAAmB;AACrB,YAAIG,IAA0CV,EAAO,QAAQG,EAAY,CAAC,CAAC,GACvEQ,IAAyBX,EAAO,MAAM,GAAGU,CAAuC;AAOpF,QAAIC,MAA2BV,EAAS,cAAc,eAAc,MAClEQ,IAAiBR,EAAS,cAAc,eAAc;AAAA,MAE1D;AACE,QAAAQ,IAAiBN,EAAY,CAAC;AAEhC,aAAO;AAAA,QACL,gBAAgBC;AAAA,QAChB,gBAAgBK;AAAA,QAChB,aAAaJ;AAAA,MACrB;AAAA,IACI;AAAA,EACF;AACA,SAAO;AAAA,IACL,gBAAgBL;AAAA,EACpB;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index268.js","sources":["../../../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n children,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n }),\n children: typeof children === \"function\" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","children","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":";;;;;;;;;;;AAcA,IAAIA,IAAc,iCACdC,IAAgB,EAAE,SAAS,IAAO,YAAY,GAAI,GAClDC,IAAa,oBACb,CAACC,GAAYC,GAAeC,CAAqB,IAAIC,EAAiBJ,CAAU,GAChF,CAACK,GAA+BC,EAA2B,IAAIC;AAAA,EACjEP;AAAA,EACA,CAACG,CAAqB;AACxB,GACI,CAACK,IAAqBC,EAAqB,IAAIJ,EAA8BL,CAAU,GACvFU,IAAmBC,EAAM;AAAA,EAC3B,CAACC,GAAOC,MACiBC,gBAAAA,MAAIb,EAAW,UAAU,EAAE,OAAOW,EAAM,yBAAyB,UAA0BE,gBAAAA,MAAIb,EAAW,MAAM,EAAE,OAAOW,EAAM,yBAAyB,UAA0BE,gBAAAA,EAAAA,IAAIC,IAAsB,EAAE,GAAGH,GAAO,KAAKC,GAAc,EAAC,CAAE,EAAC,CAAE;AAE5Q;AACAH,EAAiB,cAAcV;AAC/B,IAAIe,KAAuBJ,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnE,QAAM;AAAA,IACJ,yBAAAG;AAAA,IACA,aAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,KAAAC;AAAA,IACA,kBAAkBC;AAAA,IAClB,yBAAAC;AAAA,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AAc,CAAC,aAAa,YAAY,EAAE,SAAS0D,CAAG,MACtE,EAAA1D,MAAgB,gBAAgB,CAAC,WAAW,WAAW,EAAE,SAAS0D,CAAG;AACzE,WAAOF,GAAwBE,CAAG;AACpC;AACA,SAASpB,EAAWqB,GAAYC,IAAgB,IAAO;AACrD,QAAMC,IAA6B,SAAS;AAC5C,aAAWC,KAAaH;AAGtB,QAFIG,MAAcD,MAClBC,EAAU,MAAM,EAAE,eAAAF,GAAe,GAC7B,SAAS,kBAAkBC,GAA4B;AAE/D;AACA,SAASN,GAAUQ,GAAOC,GAAY;AACpC,SAAOD,EAAM,IAAI,CAACE,GAAGC,MAAUH,GAAOC,IAAaE,KAASH,EAAM,MAAM,CAAC;AAC3E;AACG,IAACI,KAAO1E,GACP2E,KAAO5B;","x_google_ignoreList":[0]}
package/dist/index269.js CHANGED
@@ -1,20 +1,50 @@
1
- import I from "./index172.js";
2
- import { VALID_DIGITS as l } from "./index168.js";
3
- var c = new RegExp("([" + l + "])");
4
- function D(t, r, f, n) {
5
- if (r) {
6
- var a = new I(n);
7
- a.selectNumberingPlan(r, f);
8
- var i = new RegExp(a.IDDPrefix());
9
- if (t.search(i) === 0) {
10
- t = t.slice(t.match(i)[0].length);
11
- var e = t.match(c);
12
- if (!(e && e[1] != null && e[1].length > 0 && e[1] === "0"))
13
- return t;
1
+ import * as l from "react";
2
+ import { composeRefs as m } from "./index57.js";
3
+ import { j as u } from "./index30.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function x(e) {
6
+ const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
7
+ const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
8
+ if (a) {
9
+ const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
10
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
14
11
  }
12
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
13
+ });
14
+ return t.displayName = `${e}.Slot`, t;
15
+ }
16
+ // @__NO_SIDE_EFFECTS__
17
+ function y(e) {
18
+ const r = l.forwardRef((t, o) => {
19
+ const { children: n, ...i } = t;
20
+ if (l.isValidElement(n)) {
21
+ const c = R(n), s = C(i, n.props);
22
+ return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
23
+ }
24
+ return l.Children.count(n) > 1 ? l.Children.only(null) : null;
25
+ });
26
+ return r.displayName = `${e}.SlotClone`, r;
27
+ }
28
+ var E = /* @__PURE__ */ Symbol("radix.slottable");
29
+ function g(e) {
30
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
31
+ }
32
+ function C(e, r) {
33
+ const t = { ...r };
34
+ for (const o in r) {
35
+ const n = e[o], i = r[o];
36
+ /^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
37
+ const a = i(...s);
38
+ return n(...s), a;
39
+ } : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
15
40
  }
41
+ return { ...e, ...t };
42
+ }
43
+ function R(e) {
44
+ let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
45
+ return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
16
46
  }
17
47
  export {
18
- D as default
48
+ x as createSlot
19
49
  };
20
50
  //# sourceMappingURL=index269.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index269.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js"],"sourcesContent":["import Metadata from '../metadata.js';\nimport { VALID_DIGITS } from '../constants.js';\nvar CAPTURING_DIGIT_PATTERN = new RegExp('([' + VALID_DIGITS + '])');\nexport default function stripIddPrefix(number, country, callingCode, metadata) {\n if (!country) {\n return;\n }\n // Check if the number is IDD-prefixed.\n var countryMetadata = new Metadata(metadata);\n countryMetadata.selectNumberingPlan(country, callingCode);\n var IDDPrefixPattern = new RegExp(countryMetadata.IDDPrefix());\n if (number.search(IDDPrefixPattern) !== 0) {\n return;\n }\n // Strip IDD prefix.\n number = number.slice(number.match(IDDPrefixPattern)[0].length);\n // If there're any digits after an IDD prefix,\n // then those digits are a country calling code.\n // Since no country code starts with a `0`,\n // the code below validates that the next digit (if present) is not `0`.\n var matchedGroups = number.match(CAPTURING_DIGIT_PATTERN);\n if (matchedGroups && matchedGroups[1] != null && matchedGroups[1].length > 0) {\n if (matchedGroups[1] === '0') {\n return;\n }\n }\n return number;\n}\n//# sourceMappingURL=stripIddPrefix.js.map"],"names":["CAPTURING_DIGIT_PATTERN","VALID_DIGITS","stripIddPrefix","number","country","callingCode","metadata","countryMetadata","Metadata","IDDPrefixPattern","matchedGroups"],"mappings":";;AAEA,IAAIA,IAA0B,IAAI,OAAO,OAAOC,IAAe,IAAI;AACpD,SAASC,EAAeC,GAAQC,GAASC,GAAaC,GAAU;AAC7E,MAAKF,GAIL;AAAA,QAAIG,IAAkB,IAAIC,EAASF,CAAQ;AAC3C,IAAAC,EAAgB,oBAAoBH,GAASC,CAAW;AACxD,QAAII,IAAmB,IAAI,OAAOF,EAAgB,UAAS,CAAE;AAC7D,QAAIJ,EAAO,OAAOM,CAAgB,MAAM,GAIxC;AAAA,MAAAN,IAASA,EAAO,MAAMA,EAAO,MAAMM,CAAgB,EAAE,CAAC,EAAE,MAAM;AAK9D,UAAIC,IAAgBP,EAAO,MAAMH,CAAuB;AACxD,UAAI,EAAAU,KAAiBA,EAAc,CAAC,KAAK,QAAQA,EAAc,CAAC,EAAE,SAAS,KACrEA,EAAc,CAAC,MAAM;AAI3B,eAAOP;AAAA;AAAA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index269.js","sources":["../../../node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAM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