@rpcbase/ui 0.245.0 → 0.247.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 (680) hide show
  1. package/dist/index10.js +2 -2
  2. package/dist/index105.js +36 -36
  3. package/dist/index106.js +1 -1
  4. package/dist/index11.js +2 -2
  5. package/dist/index117.js +6 -6
  6. package/dist/index12.js +3 -3
  7. package/dist/index120.js +10 -10
  8. package/dist/index122.js +2 -2
  9. package/dist/index123.js +3 -3
  10. package/dist/index124.js +1 -1
  11. package/dist/index126.js +2 -2
  12. package/dist/index128.js +2 -2
  13. package/dist/index13.js +2 -2
  14. package/dist/index14.js +2 -2
  15. package/dist/index149.js +5 -14
  16. package/dist/index149.js.map +1 -1
  17. package/dist/index15.js +2 -2
  18. package/dist/index150.js +63 -63
  19. package/dist/index150.js.map +1 -1
  20. package/dist/index151.js +2 -38
  21. package/dist/index151.js.map +1 -1
  22. package/dist/index152.js +385 -13
  23. package/dist/index152.js.map +1 -1
  24. package/dist/index153.js +261 -23
  25. package/dist/index153.js.map +1 -1
  26. package/dist/index154.js +58 -109
  27. package/dist/index154.js.map +1 -1
  28. package/dist/index155.js +47 -13
  29. package/dist/index155.js.map +1 -1
  30. package/dist/index156.js +169 -4
  31. package/dist/index156.js.map +1 -1
  32. package/dist/index157.js +110 -4
  33. package/dist/index157.js.map +1 -1
  34. package/dist/index158.js +25 -5
  35. package/dist/index158.js.map +1 -1
  36. package/dist/index159.js +8 -12
  37. package/dist/index159.js.map +1 -1
  38. package/dist/index16.js +8 -8
  39. package/dist/index160.js +4 -19
  40. package/dist/index160.js.map +1 -1
  41. package/dist/index161.js +6 -11
  42. package/dist/index161.js.map +1 -1
  43. package/dist/index162.js +4 -176
  44. package/dist/index162.js.map +1 -1
  45. package/dist/index163.js +476 -268
  46. package/dist/index163.js.map +1 -1
  47. package/dist/index164.js +189 -4
  48. package/dist/index164.js.map +1 -1
  49. package/dist/index165.js +14 -28
  50. package/dist/index165.js.map +1 -1
  51. package/dist/index166.js +105 -124
  52. package/dist/index166.js.map +1 -1
  53. package/dist/index167.js +262 -63
  54. package/dist/index167.js.map +1 -1
  55. package/dist/index168.js +6 -8
  56. package/dist/index168.js.map +1 -1
  57. package/dist/index169.js +40 -15
  58. package/dist/index169.js.map +1 -1
  59. package/dist/index17.js +1 -1
  60. package/dist/index170.js +4 -30
  61. package/dist/index170.js.map +1 -1
  62. package/dist/index171.js +58 -69
  63. package/dist/index171.js.map +1 -1
  64. package/dist/index172.js +8 -5
  65. package/dist/index172.js.map +1 -1
  66. package/dist/index173.js +80 -61
  67. package/dist/index173.js.map +1 -1
  68. package/dist/index174.js +20 -2
  69. package/dist/index174.js.map +1 -1
  70. package/dist/index175.js +14 -383
  71. package/dist/index175.js.map +1 -1
  72. package/dist/index176.js +4 -260
  73. package/dist/index176.js.map +1 -1
  74. package/dist/index177.js +4 -59
  75. package/dist/index177.js.map +1 -1
  76. package/dist/index178.js +6 -46
  77. package/dist/index178.js.map +1 -1
  78. package/dist/index179.js +4 -169
  79. package/dist/index179.js.map +1 -1
  80. package/dist/index18.js +7 -7
  81. package/dist/index180.js +6 -109
  82. package/dist/index180.js.map +1 -1
  83. package/dist/index181.js +16 -24
  84. package/dist/index181.js.map +1 -1
  85. package/dist/index182.js +5 -8
  86. package/dist/index182.js.map +1 -1
  87. package/dist/index183.js +4 -4
  88. package/dist/index183.js.map +1 -1
  89. package/dist/index184.js +12 -5
  90. package/dist/index184.js.map +1 -1
  91. package/dist/index185.js +9 -4
  92. package/dist/index185.js.map +1 -1
  93. package/dist/index186.js +13 -487
  94. package/dist/index186.js.map +1 -1
  95. package/dist/index187.js +13 -189
  96. package/dist/index187.js.map +1 -1
  97. package/dist/index188.js +4 -13
  98. package/dist/index188.js.map +1 -1
  99. package/dist/index189.js +5 -107
  100. package/dist/index189.js.map +1 -1
  101. package/dist/index19.js +16 -16
  102. package/dist/index190.js +6 -262
  103. package/dist/index190.js.map +1 -1
  104. package/dist/index191.js +5 -6
  105. package/dist/index191.js.map +1 -1
  106. package/dist/index192.js +53 -39
  107. package/dist/index192.js.map +1 -1
  108. package/dist/index193.js +8 -4
  109. package/dist/index193.js.map +1 -1
  110. package/dist/index194.js +4 -58
  111. package/dist/index194.js.map +1 -1
  112. package/dist/index195.js +4 -8
  113. package/dist/index195.js.map +1 -1
  114. package/dist/index196.js +8 -87
  115. package/dist/index196.js.map +1 -1
  116. package/dist/index197.js +4 -19
  117. package/dist/index197.js.map +1 -1
  118. package/dist/index198.js +4 -16
  119. package/dist/index198.js.map +1 -1
  120. package/dist/index199.js +3 -5
  121. package/dist/index199.js.map +1 -1
  122. package/dist/index200.js +10 -5
  123. package/dist/index200.js.map +1 -1
  124. package/dist/index201.js +9 -6
  125. package/dist/index201.js.map +1 -1
  126. package/dist/index202.js +9 -4
  127. package/dist/index202.js.map +1 -1
  128. package/dist/index203.js +10 -6
  129. package/dist/index203.js.map +1 -1
  130. package/dist/index204.js +10 -16
  131. package/dist/index204.js.map +1 -1
  132. package/dist/index205.js +9 -4
  133. package/dist/index205.js.map +1 -1
  134. package/dist/index206.js +6 -4
  135. package/dist/index206.js.map +1 -1
  136. package/dist/index207.js +5 -12
  137. package/dist/index207.js.map +1 -1
  138. package/dist/index208.js +4 -9
  139. package/dist/index208.js.map +1 -1
  140. package/dist/index209.js +5 -13
  141. package/dist/index209.js.map +1 -1
  142. package/dist/index21.js +1 -1
  143. package/dist/index210.js +6 -13
  144. package/dist/index210.js.map +1 -1
  145. package/dist/index211.js +5 -4
  146. package/dist/index211.js.map +1 -1
  147. package/dist/index212.js +16 -5
  148. package/dist/index212.js.map +1 -1
  149. package/dist/index213.js +7 -6
  150. package/dist/index213.js.map +1 -1
  151. package/dist/index214.js +10 -5
  152. package/dist/index214.js.map +1 -1
  153. package/dist/index215.js +10 -54
  154. package/dist/index215.js.map +1 -1
  155. package/dist/index216.js +21 -8
  156. package/dist/index216.js.map +1 -1
  157. package/dist/index217.js +8 -4
  158. package/dist/index217.js.map +1 -1
  159. package/dist/index218.js +9 -4
  160. package/dist/index218.js.map +1 -1
  161. package/dist/index219.js +9 -8
  162. package/dist/index219.js.map +1 -1
  163. package/dist/index22.js +2 -2
  164. package/dist/index220.js +4 -4
  165. package/dist/index220.js.map +1 -1
  166. package/dist/index221.js +5 -4
  167. package/dist/index221.js.map +1 -1
  168. package/dist/index222.js +16 -3
  169. package/dist/index222.js.map +1 -1
  170. package/dist/index223.js +9 -10
  171. package/dist/index223.js.map +1 -1
  172. package/dist/index224.js +18 -9
  173. package/dist/index224.js.map +1 -1
  174. package/dist/index225.js +20 -9
  175. package/dist/index225.js.map +1 -1
  176. package/dist/index226.js +12 -10
  177. package/dist/index226.js.map +1 -1
  178. package/dist/index227.js +29 -10
  179. package/dist/index227.js.map +1 -1
  180. package/dist/index228.js +12 -9
  181. package/dist/index228.js.map +1 -1
  182. package/dist/index229.js +25 -6
  183. package/dist/index229.js.map +1 -1
  184. package/dist/index23.js +1 -1
  185. package/dist/index230.js +5 -5
  186. package/dist/index230.js.map +1 -1
  187. package/dist/index231.js +14 -4
  188. package/dist/index231.js.map +1 -1
  189. package/dist/index232.js +68 -5
  190. package/dist/index232.js.map +1 -1
  191. package/dist/index233.js +38 -7
  192. package/dist/index233.js.map +1 -1
  193. package/dist/index234.js +14 -6
  194. package/dist/index234.js.map +1 -1
  195. package/dist/index235.js +23 -16
  196. package/dist/index235.js.map +1 -1
  197. package/dist/index236.js +111 -7
  198. package/dist/index236.js.map +1 -1
  199. package/dist/index237.js +13 -11
  200. package/dist/index237.js.map +1 -1
  201. package/dist/index238.js +4 -10
  202. package/dist/index238.js.map +1 -1
  203. package/dist/index239.js +4 -22
  204. package/dist/index239.js.map +1 -1
  205. package/dist/index24.js +1 -1
  206. package/dist/index240.js +5 -9
  207. package/dist/index240.js.map +1 -1
  208. package/dist/index241.js +11 -9
  209. package/dist/index241.js.map +1 -1
  210. package/dist/index242.js +19 -9
  211. package/dist/index242.js.map +1 -1
  212. package/dist/index243.js +11 -5
  213. package/dist/index243.js.map +1 -1
  214. package/dist/index244.js +176 -5
  215. package/dist/index244.js.map +1 -1
  216. package/dist/index245.js +278 -15
  217. package/dist/index245.js.map +1 -1
  218. package/dist/index246.js +4 -9
  219. package/dist/index246.js.map +1 -1
  220. package/dist/index247.js +28 -19
  221. package/dist/index247.js.map +1 -1
  222. package/dist/index248.js +124 -18
  223. package/dist/index248.js.map +1 -1
  224. package/dist/index249.js +63 -12
  225. package/dist/index249.js.map +1 -1
  226. package/dist/index25.js +1 -1
  227. package/dist/index250.js +8 -29
  228. package/dist/index250.js.map +1 -1
  229. package/dist/index251.js +15 -12
  230. package/dist/index251.js.map +1 -1
  231. package/dist/index252.js +30 -25
  232. package/dist/index252.js.map +1 -1
  233. package/dist/index253.js +69 -5
  234. package/dist/index253.js.map +1 -1
  235. package/dist/index254.js +146 -58
  236. package/dist/index254.js.map +1 -1
  237. package/dist/index255.js +32 -8
  238. package/dist/index255.js.map +1 -1
  239. package/dist/index256.js +11 -11
  240. package/dist/index256.js.map +1 -1
  241. package/dist/index257.js +48 -7
  242. package/dist/index257.js.map +1 -1
  243. package/dist/index258.js +9 -5
  244. package/dist/index258.js.map +1 -1
  245. package/dist/index259.js +11 -13
  246. package/dist/index259.js.map +1 -1
  247. package/dist/index260.js +43 -3
  248. package/dist/index260.js.map +1 -1
  249. package/dist/index261.js +97 -3
  250. package/dist/index261.js.map +1 -1
  251. package/dist/index262.js +74 -87
  252. package/dist/index262.js.map +1 -1
  253. package/dist/index263.js +104 -16
  254. package/dist/index263.js.map +1 -1
  255. package/dist/index264.js +50 -27
  256. package/dist/index264.js.map +1 -1
  257. package/dist/index265.js +11 -51
  258. package/dist/index265.js.map +1 -1
  259. package/dist/index266.js +4 -5
  260. package/dist/index266.js.map +1 -1
  261. package/dist/index267.js +37 -5
  262. package/dist/index267.js.map +1 -1
  263. package/dist/index268.js +8 -61
  264. package/dist/index268.js.map +1 -1
  265. package/dist/index269.js +3 -66
  266. package/dist/index269.js.map +1 -1
  267. package/dist/index270.js +9 -133
  268. package/dist/index270.js.map +1 -1
  269. package/dist/index271.js +134 -7
  270. package/dist/index271.js.map +1 -1
  271. package/dist/index272.js +18 -5
  272. package/dist/index272.js.map +1 -1
  273. package/dist/index273.js +16 -4
  274. package/dist/index273.js.map +1 -1
  275. package/dist/index274.js +36 -11
  276. package/dist/index274.js.map +1 -1
  277. package/dist/index275.js +20 -21
  278. package/dist/index275.js.map +1 -1
  279. package/dist/index276.js +8 -16
  280. package/dist/index276.js.map +1 -1
  281. package/dist/index277.js +24 -11
  282. package/dist/index277.js.map +1 -1
  283. package/dist/index278.js +29 -8
  284. package/dist/index278.js.map +1 -1
  285. package/dist/index279.js +14 -142
  286. package/dist/index279.js.map +1 -1
  287. package/dist/index28.js +1 -1
  288. package/dist/index280.js +19 -79
  289. package/dist/index280.js.map +1 -1
  290. package/dist/index281.js +65 -60
  291. package/dist/index281.js.map +1 -1
  292. package/dist/index282.js +7 -15
  293. package/dist/index282.js.map +1 -1
  294. package/dist/index283.js +6 -20
  295. package/dist/index283.js.map +1 -1
  296. package/dist/index284.js +11 -6
  297. package/dist/index284.js.map +1 -1
  298. package/dist/index285.js +3 -11
  299. package/dist/index285.js.map +1 -1
  300. package/dist/index286.js +50 -3
  301. package/dist/index286.js.map +1 -1
  302. package/dist/index287.js +4 -51
  303. package/dist/index287.js.map +1 -1
  304. package/dist/index288.js +25 -12
  305. package/dist/index288.js.map +1 -1
  306. package/dist/index289.js +14 -19
  307. package/dist/index289.js.map +1 -1
  308. package/dist/index29.js +56 -3
  309. package/dist/index29.js.map +1 -1
  310. package/dist/index290.js +5 -53
  311. package/dist/index290.js.map +1 -1
  312. package/dist/index291.js +21 -20
  313. package/dist/index291.js.map +1 -1
  314. package/dist/index292.js +53 -41
  315. package/dist/index292.js.map +1 -1
  316. package/dist/index293.js +19 -38
  317. package/dist/index293.js.map +1 -1
  318. package/dist/index294.js +42 -46
  319. package/dist/index294.js.map +1 -1
  320. package/dist/index295.js +38 -19
  321. package/dist/index295.js.map +1 -1
  322. package/dist/index296.js +46 -71
  323. package/dist/index296.js.map +1 -1
  324. package/dist/index297.js +20 -17
  325. package/dist/index297.js.map +1 -1
  326. package/dist/index298.js +70 -3
  327. package/dist/index298.js.map +1 -1
  328. package/dist/index299.js +16 -12
  329. package/dist/index299.js.map +1 -1
  330. package/dist/index3.js +2 -2
  331. package/dist/index30.js +3 -242
  332. package/dist/index30.js.map +1 -1
  333. package/dist/index300.js +3 -18
  334. package/dist/index300.js.map +1 -1
  335. package/dist/index301.js +11 -36
  336. package/dist/index301.js.map +1 -1
  337. package/dist/index302.js +12 -238
  338. package/dist/index302.js.map +1 -1
  339. package/dist/index303.js +15 -249
  340. package/dist/index303.js.map +1 -1
  341. package/dist/index304.js +35 -67
  342. package/dist/index304.js.map +1 -1
  343. package/dist/index305.js +233 -77
  344. package/dist/index305.js.map +1 -1
  345. package/dist/index306.js +252 -3
  346. package/dist/index306.js.map +1 -1
  347. package/dist/index307.js +68 -29
  348. package/dist/index307.js.map +1 -1
  349. package/dist/index308.js +99 -16
  350. package/dist/index308.js.map +1 -1
  351. package/dist/index309.js +82 -33
  352. package/dist/index309.js.map +1 -1
  353. package/dist/index31.js +239 -21
  354. package/dist/index31.js.map +1 -1
  355. package/dist/index310.js +3 -17
  356. package/dist/index310.js.map +1 -1
  357. package/dist/index311.js +29 -3
  358. package/dist/index311.js.map +1 -1
  359. package/dist/index312.js +16 -26
  360. package/dist/index312.js.map +1 -1
  361. package/dist/index313.js +34 -28
  362. package/dist/index313.js.map +1 -1
  363. package/dist/index314.js +18 -4
  364. package/dist/index314.js.map +1 -1
  365. package/dist/index315.js +3 -78
  366. package/dist/index315.js.map +1 -1
  367. package/dist/index316.js +23 -269
  368. package/dist/index316.js.map +1 -1
  369. package/dist/index317.js +27 -10
  370. package/dist/index317.js.map +1 -1
  371. package/dist/index318.js +4 -11
  372. package/dist/index318.js.map +1 -1
  373. package/dist/index319.js +77 -24
  374. package/dist/index319.js.map +1 -1
  375. package/dist/index32.js +23 -4
  376. package/dist/index32.js.map +1 -1
  377. package/dist/index320.js +271 -15
  378. package/dist/index320.js.map +1 -1
  379. package/dist/index321.js +11 -125
  380. package/dist/index321.js.map +1 -1
  381. package/dist/index322.js +10 -5
  382. package/dist/index322.js.map +1 -1
  383. package/dist/index323.js +24 -64
  384. package/dist/index323.js.map +1 -1
  385. package/dist/index324.js +17 -14
  386. package/dist/index324.js.map +1 -1
  387. package/dist/index325.js +125 -7
  388. package/dist/index325.js.map +1 -1
  389. package/dist/index326.js +5 -5
  390. package/dist/index326.js.map +1 -1
  391. package/dist/index327.js +65 -3
  392. package/dist/index327.js.map +1 -1
  393. package/dist/index328.js +13 -10
  394. package/dist/index328.js.map +1 -1
  395. package/dist/index329.js +7 -7
  396. package/dist/index329.js.map +1 -1
  397. package/dist/index33.js +3 -6
  398. package/dist/index33.js.map +1 -1
  399. package/dist/index330.js +5 -399
  400. package/dist/index330.js.map +1 -1
  401. package/dist/index331.js +4 -5
  402. package/dist/index331.js.map +1 -1
  403. package/dist/index332.js +10 -52
  404. package/dist/index332.js.map +1 -1
  405. package/dist/index333.js +6 -10
  406. package/dist/index333.js.map +1 -1
  407. package/dist/index334.js +128 -22
  408. package/dist/index334.js.map +1 -1
  409. package/dist/index335.js +399 -11
  410. package/dist/index335.js.map +1 -1
  411. package/dist/index336.js +5 -155
  412. package/dist/index336.js.map +1 -1
  413. package/dist/index337.js +51 -31
  414. package/dist/index337.js.map +1 -1
  415. package/dist/index338.js +11 -11
  416. package/dist/index338.js.map +1 -1
  417. package/dist/index339.js +23 -45
  418. package/dist/index339.js.map +1 -1
  419. package/dist/index34.js +8 -38
  420. package/dist/index34.js.map +1 -1
  421. package/dist/index340.js +11 -9
  422. package/dist/index340.js.map +1 -1
  423. package/dist/index341.js +4 -11
  424. package/dist/index341.js.map +1 -1
  425. package/dist/index342.js +17 -43
  426. package/dist/index342.js.map +1 -1
  427. package/dist/index343.js +12 -97
  428. package/dist/index343.js.map +1 -1
  429. package/dist/index344.js +8 -86
  430. package/dist/index344.js.map +1 -1
  431. package/dist/index345.js +11 -105
  432. package/dist/index345.js.map +1 -1
  433. package/dist/index346.js +7 -51
  434. package/dist/index346.js.map +1 -1
  435. package/dist/index347.js +12 -10
  436. package/dist/index347.js.map +1 -1
  437. package/dist/index348.js +3 -4
  438. package/dist/index348.js.map +1 -1
  439. package/dist/index349.js +3 -37
  440. package/dist/index349.js.map +1 -1
  441. package/dist/index35.js +35 -74
  442. package/dist/index35.js.map +1 -1
  443. package/dist/index350.js +17 -8
  444. package/dist/index350.js.map +1 -1
  445. package/dist/index351.js +5 -135
  446. package/dist/index351.js.map +1 -1
  447. package/dist/index352.js +51 -17
  448. package/dist/index352.js.map +1 -1
  449. package/dist/index353.js +60 -14
  450. package/dist/index353.js.map +1 -1
  451. package/dist/index354.js +66 -3
  452. package/dist/index354.js.map +1 -1
  453. package/dist/index355.js +7 -35
  454. package/dist/index355.js.map +1 -1
  455. package/dist/index356.js +5 -21
  456. package/dist/index356.js.map +1 -1
  457. package/dist/index357.js +11 -9
  458. package/dist/index357.js.map +1 -1
  459. package/dist/index358.js +21 -8
  460. package/dist/index358.js.map +1 -1
  461. package/dist/index359.js +14 -22
  462. package/dist/index359.js.map +1 -1
  463. package/dist/index36.js +74 -20
  464. package/dist/index36.js.map +1 -1
  465. package/dist/index360.js +8 -29
  466. package/dist/index360.js.map +1 -1
  467. package/dist/index361.js +142 -14
  468. package/dist/index361.js.map +1 -1
  469. package/dist/index362.js +79 -4
  470. package/dist/index362.js.map +1 -1
  471. package/dist/index363.js +61 -17
  472. package/dist/index363.js.map +1 -1
  473. package/dist/index364.js +15 -13
  474. package/dist/index364.js.map +1 -1
  475. package/dist/index365.js +4 -8
  476. package/dist/index365.js.map +1 -1
  477. package/dist/index366.js +21 -27
  478. package/dist/index366.js.map +1 -1
  479. package/dist/index367.js +4 -138
  480. package/dist/index367.js.map +1 -1
  481. package/dist/index368.js +5 -12
  482. package/dist/index368.js.map +1 -1
  483. package/dist/index369.js +3 -47
  484. package/dist/index369.js.map +1 -1
  485. package/dist/index37.js +18 -33
  486. package/dist/index37.js.map +1 -1
  487. package/dist/index370.js +11 -3
  488. package/dist/index370.js.map +1 -1
  489. package/dist/index371.js +19 -20
  490. package/dist/index371.js.map +1 -1
  491. package/dist/index372.js +44 -75
  492. package/dist/index372.js.map +1 -1
  493. package/dist/index373.js +17 -11
  494. package/dist/index373.js.map +1 -1
  495. package/dist/index374.js +5 -4
  496. package/dist/index374.js.map +1 -1
  497. package/dist/index375.js +197 -70
  498. package/dist/index375.js.map +1 -1
  499. package/dist/index376.js +70 -197
  500. package/dist/index376.js.map +1 -1
  501. package/dist/index377.js +118 -66
  502. package/dist/index377.js.map +1 -1
  503. package/dist/index378.js +4 -35
  504. package/dist/index378.js.map +1 -1
  505. package/dist/index379.js +5 -7
  506. package/dist/index379.js.map +1 -1
  507. package/dist/index38.js +36 -26
  508. package/dist/index38.js.map +1 -1
  509. package/dist/index380.js +4 -16
  510. package/dist/index380.js.map +1 -1
  511. package/dist/index381.js +15 -123
  512. package/dist/index381.js.map +1 -1
  513. package/dist/index382.js +9 -4
  514. package/dist/index382.js.map +1 -1
  515. package/dist/index383.js +5 -11
  516. package/dist/index383.js.map +1 -1
  517. package/dist/index384.js +4 -5
  518. package/dist/index384.js.map +1 -1
  519. package/dist/index385.js +546 -3
  520. package/dist/index385.js.map +1 -1
  521. package/dist/index386.js +46 -20
  522. package/dist/index386.js.map +1 -1
  523. package/dist/index387.js +18 -45
  524. package/dist/index387.js.map +1 -1
  525. package/dist/index388.js +6 -18
  526. package/dist/index388.js.map +1 -1
  527. package/dist/index389.js +8 -5
  528. package/dist/index389.js.map +1 -1
  529. package/dist/index39.js +26 -21
  530. package/dist/index39.js.map +1 -1
  531. package/dist/index390.js +6 -4
  532. package/dist/index390.js.map +1 -1
  533. package/dist/index391.js +7 -20
  534. package/dist/index391.js.map +1 -1
  535. package/dist/index392.js +11 -4
  536. package/dist/index392.js.map +1 -1
  537. package/dist/index393.js +8 -4
  538. package/dist/index393.js.map +1 -1
  539. package/dist/index394.js +13 -4
  540. package/dist/index394.js.map +1 -1
  541. package/dist/index395.js +8 -15
  542. package/dist/index395.js.map +1 -1
  543. package/dist/index396.js +27 -9
  544. package/dist/index396.js.map +1 -1
  545. package/dist/index397.js +137 -5
  546. package/dist/index397.js.map +1 -1
  547. package/dist/index398.js +12 -4
  548. package/dist/index398.js.map +1 -1
  549. package/dist/index399.js +44 -543
  550. package/dist/index399.js.map +1 -1
  551. package/dist/index4.js +2 -2
  552. package/dist/index40.js +20 -56
  553. package/dist/index40.js.map +1 -1
  554. package/dist/index400.js +4 -47
  555. package/dist/index400.js.map +1 -1
  556. package/dist/index401.js +21 -17
  557. package/dist/index401.js.map +1 -1
  558. package/dist/index402.js +75 -5
  559. package/dist/index402.js.map +1 -1
  560. package/dist/index403.js +12 -8
  561. package/dist/index403.js.map +1 -1
  562. package/dist/index404.js +3 -6
  563. package/dist/index404.js.map +1 -1
  564. package/dist/index405.js +71 -7
  565. package/dist/index405.js.map +1 -1
  566. package/dist/index406.js +35 -11
  567. package/dist/index406.js.map +1 -1
  568. package/dist/index407.js +7 -9
  569. package/dist/index407.js.map +1 -1
  570. package/dist/index408.js +15 -12
  571. package/dist/index408.js.map +1 -1
  572. package/dist/index409.js +3 -3
  573. package/dist/index409.js.map +1 -1
  574. package/dist/index41.js +59 -51
  575. package/dist/index41.js.map +1 -1
  576. package/dist/index410.js +3 -15
  577. package/dist/index410.js.map +1 -1
  578. package/dist/index411.js +4 -491
  579. package/dist/index411.js.map +1 -1
  580. package/dist/index412.js +56 -3
  581. package/dist/index412.js.map +1 -1
  582. package/dist/index413.js +68 -3
  583. package/dist/index413.js.map +1 -1
  584. package/dist/index414.js +31 -5
  585. package/dist/index414.js.map +1 -1
  586. package/dist/index415.js +9 -56
  587. package/dist/index415.js.map +1 -1
  588. package/dist/index416.js +146 -61
  589. package/dist/index416.js.map +1 -1
  590. package/dist/index417.js +103 -26
  591. package/dist/index417.js.map +1 -1
  592. package/dist/index418.js +15 -9
  593. package/dist/index418.js.map +1 -1
  594. package/dist/index419.js +3 -153
  595. package/dist/index419.js.map +1 -1
  596. package/dist/index42.js +50 -21
  597. package/dist/index42.js.map +1 -1
  598. package/dist/index420.js +490 -106
  599. package/dist/index420.js.map +1 -1
  600. package/dist/index421.js +7 -32
  601. package/dist/index421.js.map +1 -1
  602. package/dist/index422.js +2 -8
  603. package/dist/index422.js.map +1 -1
  604. package/dist/index423.js +44 -2
  605. package/dist/index423.js.map +1 -1
  606. package/dist/index424.js +52 -40
  607. package/dist/index424.js.map +1 -1
  608. package/dist/index425.js +7 -55
  609. package/dist/index425.js.map +1 -1
  610. package/dist/index426.js +2 -8
  611. package/dist/index426.js.map +1 -1
  612. package/dist/index427.js +55 -2
  613. package/dist/index427.js.map +1 -1
  614. package/dist/index428.js +53 -52
  615. package/dist/index428.js.map +1 -1
  616. package/dist/index429.js +32 -55
  617. package/dist/index429.js.map +1 -1
  618. package/dist/index43.js +18 -127
  619. package/dist/index43.js.map +1 -1
  620. package/dist/index44.js +122 -39
  621. package/dist/index44.js.map +1 -1
  622. package/dist/index45.js +42 -85
  623. package/dist/index45.js.map +1 -1
  624. package/dist/index46.js +87 -123
  625. package/dist/index46.js.map +1 -1
  626. package/dist/index47.js +126 -5
  627. package/dist/index47.js.map +1 -1
  628. package/dist/index48.js +5 -332
  629. package/dist/index48.js.map +1 -1
  630. package/dist/index49.js +321 -246
  631. package/dist/index49.js.map +1 -1
  632. package/dist/index5.js +2 -2
  633. package/dist/index50.js +254 -23
  634. package/dist/index50.js.map +1 -1
  635. package/dist/index51.js +25 -129
  636. package/dist/index51.js.map +1 -1
  637. package/dist/index52.js +129 -24
  638. package/dist/index52.js.map +1 -1
  639. package/dist/index53.js +22 -19
  640. package/dist/index53.js.map +1 -1
  641. package/dist/index54.js +19 -134
  642. package/dist/index54.js.map +1 -1
  643. package/dist/index55.js +133 -30
  644. package/dist/index55.js.map +1 -1
  645. package/dist/index56.js +30 -24
  646. package/dist/index56.js.map +1 -1
  647. package/dist/index57.js +26 -38
  648. package/dist/index57.js.map +1 -1
  649. package/dist/index58.js +39 -19
  650. package/dist/index58.js.map +1 -1
  651. package/dist/index59.js +18 -133
  652. package/dist/index59.js.map +1 -1
  653. package/dist/index6.js +4 -4
  654. package/dist/index60.js +134 -49
  655. package/dist/index60.js.map +1 -1
  656. package/dist/index61.js +48 -25
  657. package/dist/index61.js.map +1 -1
  658. package/dist/index62.js +28 -57
  659. package/dist/index62.js.map +1 -1
  660. package/dist/index63.js +57 -56
  661. package/dist/index63.js.map +1 -1
  662. package/dist/index64.js +5 -5
  663. package/dist/index64.js.map +1 -1
  664. package/dist/index66.js +10 -22
  665. package/dist/index66.js.map +1 -1
  666. package/dist/index67.js +17 -232
  667. package/dist/index67.js.map +1 -1
  668. package/dist/index68.js +5 -5
  669. package/dist/index68.js.map +1 -1
  670. package/dist/index7.js +11 -11
  671. package/dist/index70.js +22 -10
  672. package/dist/index70.js.map +1 -1
  673. package/dist/index71.js +232 -17
  674. package/dist/index71.js.map +1 -1
  675. package/dist/index76.js +1 -1
  676. package/dist/index77.js +2 -2
  677. package/dist/index78.js +2 -2
  678. package/dist/index8.js +2 -2
  679. package/dist/index9.js +1 -1
  680. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index262.js","sources":["../../../node_modules/@base-ui/react/merge-props/mergeProps.mjs"],"sourcesContent":["import { mergeObjects } from '@base-ui/utils/mergeObjects';\nconst EMPTY_PROPS = {};\n\n/* eslint-disable id-denylist */\n/**\n * Merges multiple sets of React props. It follows the Object.assign pattern where the rightmost object's fields overwrite\n * the conflicting ones from others. This doesn't apply to event handlers, `className` and `style` props.\n *\n * Event handlers are merged and called in right-to-left order (rightmost handler executes first, leftmost last).\n * For React synthetic events, the rightmost handler can prevent prior (left-positioned) handlers from executing\n * by calling `event.preventBaseUIHandler()`. For non-synthetic events (custom events with primitive/object values),\n * all handlers always execute without prevention capability.\n *\n * The `className` prop is merged by concatenating classes in right-to-left order (rightmost class appears first in the string).\n * The `style` prop is merged with rightmost styles overwriting the prior ones.\n *\n * Props can either be provided as objects or as functions that take the previous props as an argument.\n * The function will receive the merged props up to that point (going from left to right):\n * so in the case of `(obj1, obj2, fn, obj3)`, `fn` will receive the merged props of `obj1` and `obj2`.\n * The function is responsible for chaining event handlers if needed (that is, we don't run the merge logic).\n *\n * Event handlers returned by the functions are not automatically prevented when `preventBaseUIHandler` is called.\n * They must check `event.baseUIHandlerPrevented` themselves and bail out if it's true.\n *\n * @important **`ref` is not merged.**\n * @param a Props object to merge.\n * @param b Props object to merge. The function will overwrite conflicting props from `a`.\n * @param c Props object to merge. The function will overwrite conflicting props from previous parameters.\n * @param d Props object to merge. The function will overwrite conflicting props from previous parameters.\n * @param e Props object to merge. The function will overwrite conflicting props from previous parameters.\n * @returns The merged props.\n * @public\n */\n\nexport function mergeProps(a, b, c, d, e) {\n if (!c && !d && !e && !a) {\n return createInitialMergedProps(b);\n }\n\n // We need to mutably own `merged`.\n let merged = createInitialMergedProps(a);\n if (b) {\n merged = mergeInto(merged, b);\n }\n if (c) {\n merged = mergeInto(merged, c);\n }\n if (d) {\n merged = mergeInto(merged, d);\n }\n if (e) {\n merged = mergeInto(merged, e);\n }\n return merged;\n}\n/* eslint-enable id-denylist */\n\n/**\n * Merges an arbitrary number of React props using the same logic as {@link mergeProps}.\n * This function accepts an array of props instead of individual arguments.\n *\n * This has slightly lower performance than {@link mergeProps} due to accepting an array\n * instead of a fixed number of arguments. Prefer {@link mergeProps} when merging 5 or\n * fewer prop sets for better performance.\n *\n * @param props Array of props to merge.\n * @returns The merged props.\n * @see mergeProps\n * @public\n */\nexport function mergePropsN(props) {\n if (props.length === 0) {\n return EMPTY_PROPS;\n }\n if (props.length === 1) {\n return createInitialMergedProps(props[0]);\n }\n\n // We need to mutably own `merged`.\n let merged = createInitialMergedProps(props[0]);\n for (let i = 1; i < props.length; i += 1) {\n merged = mergeInto(merged, props[i]);\n }\n return merged;\n}\nfunction createInitialMergedProps(inputProps) {\n if (isPropsGetter(inputProps)) {\n // Getter-returned handlers intentionally keep their existing semantics.\n return {\n ...resolvePropsGetter(inputProps, EMPTY_PROPS)\n };\n }\n return copyInitialProps(inputProps);\n}\nfunction mergeInto(merged, inputProps) {\n if (isPropsGetter(inputProps)) {\n return resolvePropsGetter(inputProps, merged);\n }\n return mutablyMergeInto(merged, inputProps);\n}\nfunction copyInitialProps(inputProps) {\n const copiedProps = {\n ...inputProps\n };\n\n // `copiedProps` is our fresh own-object copy, so iterating with `for...in` is safe here.\n // eslint-disable-next-line guard-for-in\n for (const propName in copiedProps) {\n const propValue = copiedProps[propName];\n if (isEventHandler(propName, propValue)) {\n copiedProps[propName] = wrapEventHandler(propValue);\n }\n }\n return copiedProps;\n}\n\n/**\n * Merges two sets of props. In case of conflicts, the external props take precedence.\n */\nfunction mutablyMergeInto(mergedProps, externalProps) {\n if (!externalProps) {\n return mergedProps;\n }\n\n // eslint-disable-next-line guard-for-in\n for (const propName in externalProps) {\n const externalPropValue = externalProps[propName];\n switch (propName) {\n case 'style':\n {\n mergedProps[propName] = mergeObjects(mergedProps.style, externalPropValue);\n break;\n }\n case 'className':\n {\n mergedProps[propName] = mergeClassNames(mergedProps.className, externalPropValue);\n break;\n }\n default:\n {\n if (isEventHandler(propName, externalPropValue)) {\n mergedProps[propName] = mergeEventHandlers(mergedProps[propName], externalPropValue);\n } else {\n mergedProps[propName] = externalPropValue;\n }\n }\n }\n }\n return mergedProps;\n}\nfunction isEventHandler(key, value) {\n // This approach is more efficient than using a regex.\n const code0 = key.charCodeAt(0);\n const code1 = key.charCodeAt(1);\n const code2 = key.charCodeAt(2);\n return code0 === 111 /* o */ && code1 === 110 /* n */ && code2 >= 65 /* A */ && code2 <= 90 /* Z */ && (typeof value === 'function' || typeof value === 'undefined');\n}\nfunction isPropsGetter(inputProps) {\n return typeof inputProps === 'function';\n}\nfunction resolvePropsGetter(inputProps, previousProps) {\n if (isPropsGetter(inputProps)) {\n return inputProps(previousProps);\n }\n return inputProps ?? EMPTY_PROPS;\n}\nfunction mergeEventHandlers(ourHandler, theirHandler) {\n if (!theirHandler) {\n return ourHandler;\n }\n if (!ourHandler) {\n return wrapEventHandler(theirHandler);\n }\n return (...args) => {\n const event = args[0];\n if (isSyntheticEvent(event)) {\n const baseUIEvent = event;\n makeEventPreventable(baseUIEvent);\n const result = theirHandler(...args);\n if (!baseUIEvent.baseUIHandlerPrevented) {\n ourHandler?.(...args);\n }\n return result;\n }\n const result = theirHandler(...args);\n ourHandler?.(...args);\n return result;\n };\n}\nfunction wrapEventHandler(handler) {\n if (!handler) {\n return handler;\n }\n return (...args) => {\n const event = args[0];\n if (isSyntheticEvent(event)) {\n makeEventPreventable(event);\n }\n return handler(...args);\n };\n}\nexport function makeEventPreventable(event) {\n event.preventBaseUIHandler = () => {\n event.baseUIHandlerPrevented = true;\n };\n return event;\n}\nexport function mergeClassNames(ourClassName, theirClassName) {\n if (theirClassName) {\n if (ourClassName) {\n // eslint-disable-next-line prefer-template\n return theirClassName + ' ' + ourClassName;\n }\n return theirClassName;\n }\n return ourClassName;\n}\nfunction isSyntheticEvent(event) {\n return event != null && typeof event === 'object' && 'nativeEvent' in event;\n}"],"names":["EMPTY_PROPS","mergeProps","a","b","c","d","e","createInitialMergedProps","merged","mergeInto","mergePropsN","props","i","inputProps","isPropsGetter","resolvePropsGetter","copyInitialProps","mutablyMergeInto","copiedProps","propName","propValue","isEventHandler","wrapEventHandler","mergedProps","externalProps","externalPropValue","mergeObjects","mergeClassNames","mergeEventHandlers","key","value","code0","code1","code2","previousProps","ourHandler","theirHandler","args","event","isSyntheticEvent","baseUIEvent","makeEventPreventable","result","handler","ourClassName","theirClassName"],"mappings":";AACA,MAAMA,IAAc,CAAA;AAiCb,SAASC,EAAWC,GAAGC,GAAGC,GAAGC,GAAGC,GAAG;AACxC,MAAI,CAACF,KAAK,CAACC,KAAK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S;AACjC,SAAKA,MAGE,IAAIN,MAAS;AAClB,UAAMC,IAAQD,EAAK,CAAC;AACpB,WAAIE,EAAiBD,CAAK,KACxBG,EAAqBH,CAAK,GAErBK,EAAQ,GAAGN,CAAI;AAAA,EACxB;AACF;AACO,SAASI,EAAqBH,GAAO;AAC1C,SAAAA,EAAM,uBAAuB,MAAM;AACjC,IAAAA,EAAM,yBAAyB;AAAA,EACjC,GACOA;AACT;AACO,SAASX,EAAgBiB,GAAcC,GAAgB;AAC5D,SAAIA,IACED,IAEKC,IAAiB,MAAMD,IAEzBC,IAEFD;AACT;AACA,SAASL,EAAiBD,GAAO;AAC/B,SAAOA,KAAS,QAAQ,OAAOA,KAAU,YAAY,iBAAiBA;AACxE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index262.js","sources":["../../../node_modules/libphonenumber-js/es6/ParseError.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(t, e) { if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e; if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\"); return _assertThisInitialized(t); }\nfunction _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); return e; }\nfunction _inherits(t, e) { if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, \"prototype\", { writable: !1 }), e && _setPrototypeOf(t, e); }\nfunction _wrapNativeSuper(t) { var r = \"function\" == typeof Map ? new Map() : void 0; return _wrapNativeSuper = function _wrapNativeSuper(t) { if (null === t || !_isNativeFunction(t)) return t; if (\"function\" != typeof t) throw new TypeError(\"Super expression must either be null or a function\"); if (void 0 !== r) { if (r.has(t)) return r.get(t); r.set(t, Wrapper); } function Wrapper() { return _construct(t, arguments, _getPrototypeOf(this).constructor); } return Wrapper.prototype = Object.create(t.prototype, { constructor: { value: Wrapper, enumerable: !1, writable: !0, configurable: !0 } }), _setPrototypeOf(Wrapper, t); }, _wrapNativeSuper(t); }\nfunction _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).indexOf(\"[native code]\"); } catch (n) { return \"function\" == typeof t; } }\nfunction _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }\nfunction _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }\n// https://stackoverflow.com/a/46971044/970769\n// \"Breaking changes in Typescript 2.1\"\n// \"Extending built-ins like Error, Array, and Map may no longer work.\"\n// \"As a recommendation, you can manually adjust the prototype immediately after any super(...) calls.\"\n// https://github.com/Microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work\nvar ParseError = /*#__PURE__*/function (_Error) {\n function ParseError(code) {\n var _this;\n _classCallCheck(this, ParseError);\n _this = _callSuper(this, ParseError, [code]);\n // Set the prototype explicitly.\n // Any subclass of FooError will have to manually set the prototype as well.\n Object.setPrototypeOf(_this, ParseError.prototype);\n _this.name = _this.constructor.name;\n return _this;\n }\n _inherits(ParseError, _Error);\n return _createClass(ParseError);\n}(/*#__PURE__*/_wrapNativeSuper(Error));\nexport { ParseError as default };\n//# sourceMappingURL=ParseError.js.map"],"names":["_typeof","o","_createClass","e","r","t","_classCallCheck","a","n","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","_assertThisInitialized","_inherits","_setPrototypeOf","_wrapNativeSuper","_isNativeFunction","Wrapper","_construct","p","ParseError","_Error","code","_this"],"mappings":"AAAA,SAASA,EAAQC,GAAG;AAAE;AAA2B,SAAOD,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAUC,GAAG;AAAE,WAAO,OAAOA;AAAA,EAAG,IAAI,SAAUA,GAAG;AAAE,WAAOA,KAAmB,OAAO,UAArB,cAA+BA,EAAE,gBAAgB,UAAUA,MAAM,OAAO,YAAY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AAE,WAAqB,OAAOA,KAArB;AAAA,EAAwB;AAAE;AACvJ,SAASU,EAAgBV,GAAGF,GAAG;AAAE,SAAOY,IAAkB,OAAO,iBAAiB,OAAO,eAAe,KAAI,IAAK,SAAUV,GAAG,GAAG;AAAE,WAAOA,EAAE,YAAY,GAAGA;AAAA,EAAG,GAAGU,EAAgBV,GAAGF,CAAC;AAAG;AACxL,SAASO,EAAgBL,GAAG;AAAE,SAAOK,IAAkB,OAAO,iBAAiB,OAAO,eAAe,KAAI,IAAK,SAAU,GAAG;AAAE,WAAO,EAAE,aAAa,OAAO,eAAe,CAAC;AAAA,EAAG,GAAGA,EAAgBL,CAAC;AAAG;AAMjM,IAACgB,IAA0B,0BAAUC,GAAQ;AAC9C,WAASD,EAAWE,GAAM;AACxB,QAAIC;AACJ,WAAAlB,EAAgB,MAAMe,CAAU,GAChCG,IAAQf,EAAW,MAAMY,GAAY,CAACE,CAAI,CAAC,GAG3C,OAAO,eAAeC,GAAOH,EAAW,SAAS,GACjDG,EAAM,OAAOA,EAAM,YAAY,MACxBA;AAAA,EACT;AACA,SAAAV,EAAUO,GAAYC,CAAM,GACrBpB,EAAamB,CAAU;AAChC,GAAe,gBAAAL,EAAiB,KAAK,CAAC;","x_google_ignoreList":[0]}
package/dist/index263.js CHANGED
@@ -1,21 +1,109 @@
1
- import * as n from "react";
2
- import { SafeReact as f } from "./index272.js";
3
- let o = 0;
4
- function l(u, t = "mui") {
5
- const [e, s] = n.useState(u), c = u || e;
6
- return n.useEffect(() => {
7
- e == null && (o += 1, s(`${t}-${o}`));
8
- }, [e, t]), c;
9
- }
10
- const a = f.useId;
11
- function I(u, t) {
12
- if (a !== void 0) {
13
- const e = a();
14
- return u ?? (t ? `${t}-${e}` : e);
1
+ import b from "./index170.js";
2
+ function f(r) {
3
+ "@babel/helpers - typeof";
4
+ return f = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
5
+ return typeof t;
6
+ } : function(t) {
7
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8
+ }, f(r);
9
+ }
10
+ function y(r, t) {
11
+ var e = Object.keys(r);
12
+ if (Object.getOwnPropertySymbols) {
13
+ var n = Object.getOwnPropertySymbols(r);
14
+ t && (n = n.filter(function(o) {
15
+ return Object.getOwnPropertyDescriptor(r, o).enumerable;
16
+ })), e.push.apply(e, n);
17
+ }
18
+ return e;
19
+ }
20
+ function m(r) {
21
+ for (var t = 1; t < arguments.length; t++) {
22
+ var e = arguments[t] != null ? arguments[t] : {};
23
+ t % 2 ? y(Object(e), !0).forEach(function(n) {
24
+ g(r, n, e[n]);
25
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : y(Object(e)).forEach(function(n) {
26
+ Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(e, n));
27
+ });
28
+ }
29
+ return r;
30
+ }
31
+ function g(r, t, e) {
32
+ return (t = v(t)) in r ? Object.defineProperty(r, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = e, r;
33
+ }
34
+ function v(r) {
35
+ var t = d(r, "string");
36
+ return f(t) == "symbol" ? t : t + "";
37
+ }
38
+ function d(r, t) {
39
+ if (f(r) != "object" || !r) return r;
40
+ var e = r[Symbol.toPrimitive];
41
+ if (e !== void 0) {
42
+ var n = e.call(r, t);
43
+ if (f(n) != "object") return n;
44
+ throw new TypeError("@@toPrimitive must return a primitive value.");
45
+ }
46
+ return (t === "string" ? String : Number)(r);
47
+ }
48
+ function O(r, t) {
49
+ return _(r) || w(r, t) || h(r, t) || j();
50
+ }
51
+ function j() {
52
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
53
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
54
+ }
55
+ function h(r, t) {
56
+ if (r) {
57
+ if (typeof r == "string") return s(r, t);
58
+ var e = {}.toString.call(r).slice(8, -1);
59
+ return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? s(r, t) : void 0;
60
+ }
61
+ }
62
+ function s(r, t) {
63
+ (t == null || t > r.length) && (t = r.length);
64
+ for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
65
+ return n;
66
+ }
67
+ function w(r, t) {
68
+ var e = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
69
+ if (e != null) {
70
+ var n, o, u, l, c = [], i = !0, a = !1;
71
+ try {
72
+ if (u = (e = e.call(r)).next, t !== 0) for (; !(i = (n = u.call(e)).done) && (c.push(n.value), c.length !== t); i = !0) ;
73
+ } catch (p) {
74
+ a = !0, o = p;
75
+ } finally {
76
+ try {
77
+ if (!i && e.return != null && (l = e.return(), Object(l) !== l)) return;
78
+ } finally {
79
+ if (a) throw o;
80
+ }
81
+ }
82
+ return c;
15
83
  }
16
- return l(u, t);
84
+ }
85
+ function _(r) {
86
+ if (Array.isArray(r)) return r;
87
+ }
88
+ function S(r) {
89
+ var t = Array.prototype.slice.call(r), e = O(t, 4), n = e[0], o = e[1], u = e[2], l = e[3], c, i, a;
90
+ if (typeof n == "string")
91
+ c = n;
92
+ else throw new TypeError("A text for parsing must be a string.");
93
+ if (!o || typeof o == "string")
94
+ l ? (i = u, a = l) : (i = void 0, a = u), o && (i = m({
95
+ defaultCountry: o
96
+ }, i));
97
+ else if (b(o))
98
+ u ? (i = o, a = u) : a = o;
99
+ else throw new Error("Invalid second argument: ".concat(o));
100
+ return {
101
+ text: c,
102
+ options: i,
103
+ metadata: a
104
+ };
17
105
  }
18
106
  export {
19
- I as useId
107
+ S as default
20
108
  };
21
109
  //# sourceMappingURL=index263.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index263.js","sources":["../../../node_modules/@base-ui/utils/useId.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { SafeReact } from \"./safeReact.mjs\";\nlet globalId = 0;\n\n// TODO React 17: Remove `useGlobalId` once React 17 support is removed\nfunction useGlobalId(idOverride, prefix = 'mui') {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`${prefix}-${globalId}`);\n }\n }, [defaultId, prefix]);\n return id;\n}\nconst maybeReactUseId = SafeReact.useId;\n\n/**\n *\n * @example <div id={useId()} />\n * @param idOverride\n * @returns {string}\n */\nexport function useId(idOverride, prefix) {\n // React.useId() is only available from React 17.0.0.\n if (maybeReactUseId !== undefined) {\n const reactId = maybeReactUseId();\n return idOverride ?? (prefix ? `${prefix}-${reactId}` : reactId);\n }\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n return useGlobalId(idOverride, prefix);\n}"],"names":["globalId","useGlobalId","idOverride","prefix","defaultId","setDefaultId","React","id","maybeReactUseId","SafeReact","useId","reactId"],"mappings":";;AAIA,IAAIA,IAAW;AAGf,SAASC,EAAYC,GAAYC,IAAS,OAAO;AAC/C,QAAM,CAACC,GAAWC,CAAY,IAAIC,EAAM,SAASJ,CAAU,GACrDK,IAAKL,KAAcE;AACzB,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAIF,KAAa,SAKfJ,KAAY,GACZK,EAAa,GAAGF,CAAM,IAAIH,CAAQ,EAAE;AAAA,EAExC,GAAG,CAACI,GAAWD,CAAM,CAAC,GACfI;AACT;AACA,MAAMC,IAAkBC,EAAU;AAQ3B,SAASC,EAAMR,GAAYC,GAAQ;AAExC,MAAIK,MAAoB,QAAW;AACjC,UAAMG,IAAUH,EAAe;AAC/B,WAAON,MAAeC,IAAS,GAAGA,CAAM,IAAIQ,CAAO,KAAKA;AAAA,EAC1D;AAIA,SAAOV,EAAYC,GAAYC,CAAM;AACvC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index263.js","sources":["../../../node_modules/libphonenumber-js/es6/normalizeArguments.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nimport isObject from './helpers/isObject.js';\n\n// Extracts the following properties from function arguments:\n// * input `text`\n// * `options` object\n// * `metadata` JSON\nexport default function normalizeArguments(args) {\n var _Array$prototype$slic = Array.prototype.slice.call(args),\n _Array$prototype$slic2 = _slicedToArray(_Array$prototype$slic, 4),\n arg_1 = _Array$prototype$slic2[0],\n arg_2 = _Array$prototype$slic2[1],\n arg_3 = _Array$prototype$slic2[2],\n arg_4 = _Array$prototype$slic2[3];\n var text;\n var options;\n var metadata;\n\n // If the phone number is passed as a string.\n // `parsePhoneNumber('88005553535', ...)`.\n if (typeof arg_1 === 'string') {\n text = arg_1;\n } else throw new TypeError('A text for parsing must be a string.');\n\n // If \"default country\" argument is being passed then move it to `options`.\n // `parsePhoneNumber('88005553535', 'RU', [options], metadata)`.\n if (!arg_2 || typeof arg_2 === 'string') {\n if (arg_4) {\n options = arg_3;\n metadata = arg_4;\n } else {\n options = undefined;\n metadata = arg_3;\n }\n if (arg_2) {\n options = _objectSpread({\n defaultCountry: arg_2\n }, options);\n }\n }\n // `defaultCountry` is not passed.\n // Example: `parsePhoneNumber('+78005553535', [options], metadata)`.\n else if (isObject(arg_2)) {\n if (arg_3) {\n options = arg_2;\n metadata = arg_3;\n } else {\n metadata = arg_2;\n }\n } else throw new Error(\"Invalid second argument: \".concat(arg_2));\n return {\n text: text,\n options: options,\n metadata: metadata\n };\n}\n//# sourceMappingURL=normalizeArguments.js.map"],"names":["_typeof","o","ownKeys","e","r","t","_objectSpread","_defineProperty","_toPropertyKey","i","_toPrimitive","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","a","_arrayLikeToArray","l","n","u","f","normalizeArguments","args","_Array$prototype$slic","_Array$prototype$slic2","arg_1","arg_2","arg_3","arg_4","text","options","metadata","isObject"],"mappings":";AAAA,SAASA,EAAQC,GAAG;AAAE;AAA2B,SAAOD,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAUC,GAAG;AAAE,WAAO,OAAOA;AAAA,EAAG,IAAI,SAAUA,GAAG;AAAE,WAAOA,KAAmB,OAAO,UAArB,cAA+BA,EAAE,gBAAgB,UAAUA,MAAM,OAAO,YAAY,WAAW,OAAOA;AAAA,EAAG,GAAGD,EAAQC,CAAC;AAAG;AAC7T,SAASC,EAAQC,GAAGC,GAAG;AAAE,MAAIC,IAAI,OAAO,KAAKF,CAAC;AAAG,MAAI,OAAO,uBAAuB;AAAE,QAAIF,IAAI,OAAO,sBAAsBE,CAAC;AAAG,IAAAC,MAAMH,IAAIA,EAAE,OAAO,SAAUG,GAAG;AAAE,aAAO,OAAO,yBAAyBD,GAAGC,CAAC,EAAE;AAAA,IAA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":[0]}
package/dist/index264.js CHANGED
@@ -1,33 +1,56 @@
1
- import { SafeReact as a } from "./index272.js";
2
- import { useRefWithInit as c } from "./index284.js";
3
- const n = a.useInsertionEffect, r = (
4
- // React 17 doesn't have useInsertionEffect.
5
- n && // Preact replaces useInsertionEffect with useLayoutEffect and fires too late.
6
- n !== a.useLayoutEffect ? n : (e) => e()
7
- );
8
- function i(e) {
9
- const t = c(o).current;
10
- return t.next = e, r(t.effect), t.trampoline;
1
+ import f from "./index271.js";
2
+ function o(r) {
3
+ "@babel/helpers - typeof";
4
+ return o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
5
+ return typeof e;
6
+ } : function(e) {
7
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
8
+ }, o(r);
11
9
  }
12
- function o() {
13
- const e = {
14
- next: void 0,
15
- callback: f,
16
- trampoline: (...t) => e.callback?.(...t),
17
- effect: () => {
18
- e.callback = e.next;
19
- }
20
- };
21
- return e;
10
+ function i(r, e) {
11
+ var t = Object.keys(r);
12
+ if (Object.getOwnPropertySymbols) {
13
+ var n = Object.getOwnPropertySymbols(r);
14
+ e && (n = n.filter(function(c) {
15
+ return Object.getOwnPropertyDescriptor(r, c).enumerable;
16
+ })), t.push.apply(t, n);
17
+ }
18
+ return t;
22
19
  }
23
- function f() {
24
- if (process.env.NODE_ENV !== "production")
25
- throw (
26
- /* minify-error-disabled */
27
- new Error("Base UI: Cannot call an event handler while rendering.")
28
- );
20
+ function u(r) {
21
+ for (var e = 1; e < arguments.length; e++) {
22
+ var t = arguments[e] != null ? arguments[e] : {};
23
+ e % 2 ? i(Object(t), !0).forEach(function(n) {
24
+ p(r, n, t[n]);
25
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : i(Object(t)).forEach(function(n) {
26
+ Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(t, n));
27
+ });
28
+ }
29
+ return r;
30
+ }
31
+ function p(r, e, t) {
32
+ return (e = b(e)) in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
33
+ }
34
+ function b(r) {
35
+ var e = y(r, "string");
36
+ return o(e) == "symbol" ? e : e + "";
37
+ }
38
+ function y(r, e) {
39
+ if (o(r) != "object" || !r) return r;
40
+ var t = r[Symbol.toPrimitive];
41
+ if (t !== void 0) {
42
+ var n = t.call(r, e);
43
+ if (o(n) != "object") return n;
44
+ throw new TypeError("@@toPrimitive must return a primitive value.");
45
+ }
46
+ return (e === "string" ? String : Number)(r);
47
+ }
48
+ function l(r, e, t) {
49
+ return f(r, u(u({}, e), {}, {
50
+ v2: !0
51
+ }), t);
29
52
  }
30
53
  export {
31
- i as useStableCallback
54
+ l as default
32
55
  };
33
56
  //# sourceMappingURL=index264.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index264.js","sources":["../../../node_modules/@base-ui/utils/useStableCallback.mjs"],"sourcesContent":["'use client';\n\nimport { SafeReact } from \"./safeReact.mjs\";\nimport { useRefWithInit } from \"./useRefWithInit.mjs\";\nconst useInsertionEffect = SafeReact.useInsertionEffect;\nconst useSafeInsertionEffect =\n// React 17 doesn't have useInsertionEffect.\nuseInsertionEffect &&\n// Preact replaces useInsertionEffect with useLayoutEffect and fires too late.\nuseInsertionEffect !== SafeReact.useLayoutEffect ? useInsertionEffect : fn => fn();\n/**\n * Stabilizes the function passed so it's always the same between renders.\n *\n * The function becomes non-reactive to any values it captures.\n * It can safely be passed as a dependency of `React.useMemo` and `React.useEffect` without re-triggering them if its captured values change.\n *\n * The function must only be called inside effects and event handlers, never during render (which throws an error).\n *\n * This hook is a more permissive version of React 19.2's `React.useEffectEvent` in that it can be passed through contexts and called in event handler props, not just effects.\n */\nexport function useStableCallback(callback) {\n const stable = useRefWithInit(createStableCallback).current;\n stable.next = callback;\n useSafeInsertionEffect(stable.effect);\n return stable.trampoline;\n}\nfunction createStableCallback() {\n const stable = {\n next: undefined,\n callback: assertNotCalled,\n trampoline: (...args) => stable.callback?.(...args),\n effect: () => {\n stable.callback = stable.next;\n }\n };\n return stable;\n}\nfunction assertNotCalled() {\n if (process.env.NODE_ENV !== 'production') {\n // TODO: fix mui/no-guarded-throw\n // eslint-disable-next-line mui/no-guarded-throw\n throw /* minify-error-disabled */new Error('Base UI: Cannot call an event handler while rendering.');\n }\n}"],"names":["useInsertionEffect","SafeReact","useSafeInsertionEffect","fn","useStableCallback","callback","stable","useRefWithInit","createStableCallback","assertNotCalled","args"],"mappings":";;AAIA,MAAMA,IAAqBC,EAAU,oBAC/BC;AAAA;AAAA,EAENF;AAAA,EAEAA,MAAuBC,EAAU,kBAAkBD,IAAqB,CAAAG,MAAMA,EAAE;AAAA;AAWzE,SAASC,EAAkBC,GAAU;AAC1C,QAAMC,IAASC,EAAeC,CAAoB,EAAE;AACpD,SAAAF,EAAO,OAAOD,GACdH,EAAuBI,EAAO,MAAM,GAC7BA,EAAO;AAChB;AACA,SAASE,IAAuB;AAC9B,QAAMF,IAAS;AAAA,IACb,MAAM;AAAA,IACN,UAAUG;AAAA,IACV,YAAY,IAAIC,MAASJ,EAAO,WAAW,GAAGI,CAAI;AAAA,IAClD,QAAQ,MAAM;AACZ,MAAAJ,EAAO,WAAWA,EAAO;AAAA,IAC3B;AAAA,EACJ;AACE,SAAOA;AACT;AACA,SAASG,IAAkB;AACzB,MAAI,QAAQ,IAAI,aAAa;AAG3B;AAAA;AAAA,MAAiC,IAAI,MAAM,wDAAwD;AAAA;AAEvG;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index264.js","sources":["../../../node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport parse from './parse.js';\nexport default function parsePhoneNumberWithError(text, options, metadata) {\n return parse(text, _objectSpread(_objectSpread({}, options), {}, {\n v2: true\n }), metadata);\n}\n//# sourceMappingURL=parsePhoneNumberWithError_.js.map"],"names":["_typeof","o","ownKeys","e","r","_objectSpread","_defineProperty","_toPropertyKey","t","i","_toPrimitive","parsePhoneNumberWithError","text","options","metadata","parse"],"mappings":";AAAA,SAASA,EAAQC,GAAG;AAAE;AAA2B,SAAOD,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAUC,GAAG;AAAE,WAAO,OAAOA;AAAA,EAAG,IAAI,SAAUA,GAAG;AAAE,WAAOA,KAAmB,OAAO,UAArB,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F,GAAG,QAAQ;AAAG,SAAmBR,EAAQS,CAAC,KAArB,WAAyBA,IAAIA,IAAI;AAAI;AAC5G,SAASC,EAAaF,GAAGJ,GAAG;AAAE,MAAgBJ,EAAQQ,CAAC,KAArB,YAA0B,CAACA,EAAG,QAAOA;AAAG,MAAIL,IAAIK,EAAE,OAAO,WAAW;AAAG,MAAeL,MAAX,QAAc;AAAE,QAAIM,IAAIN,EAAE,KAAKK,GAAGJ,CAAc;AAAG,QAAgBJ,EAAQS,CAAC,KAArB,SAAwB,QAAOA;AAAG,UAAM,IAAI,UAAU,8CAA8C;AAAA,EAAG;AAAE,UAAqBL,MAAb,WAAiB,SAAS,QAAQI,CAAC;AAAG;AAE5S,SAASG,EAA0BC,GAAMC,GAASC,GAAU;AACzE,SAAOC,EAAMH,GAAMP,EAAcA,EAAc,IAAIQ,CAAO,GAAG,IAAI;AAAA,IAC/D,IAAI;AAAA,EACR,CAAG,GAAGC,CAAQ;AACd;","x_google_ignoreList":[0]}
package/dist/index265.js CHANGED
@@ -1,55 +1,15 @@
1
- import * as l from "react-dom";
2
- import { useAnimationFrame as b } from "./index323.js";
3
- import { useStableCallback as A } from "./index264.js";
4
- import { resolveRef as d } from "./index374.js";
5
- import { TransitionStatusDataAttributes as h } from "./index152.js";
6
- function y(c, f = !1, m = !0) {
7
- const o = b();
8
- return A((s, n = null) => {
9
- o.cancel();
10
- const a = d(c);
11
- if (a == null)
12
- return;
13
- const e = a, u = () => {
14
- l.flushSync(s);
15
- };
16
- if (typeof e.getAnimations != "function" || globalThis.BASE_UI_ANIMATIONS_DISABLED) {
17
- s();
18
- return;
19
- }
20
- function i() {
21
- Promise.all(e.getAnimations().map((t) => t.finished)).then(() => {
22
- n?.aborted || u();
23
- }).catch(() => {
24
- if (m) {
25
- n?.aborted || u();
26
- return;
27
- }
28
- const t = e.getAnimations();
29
- !n?.aborted && t.length > 0 && t.some((r) => r.pending || r.playState !== "finished") && i();
30
- });
31
- }
32
- if (f) {
33
- const t = h.startingStyle;
34
- if (!e.hasAttribute(t)) {
35
- o.request(i);
36
- return;
37
- }
38
- const r = new MutationObserver(() => {
39
- e.hasAttribute(t) || (r.disconnect(), i());
40
- });
41
- r.observe(e, {
42
- attributes: !0,
43
- attributeFilter: [t]
44
- }), n?.addEventListener("abort", () => r.disconnect(), {
45
- once: !0
46
- });
47
- return;
48
- }
49
- o.request(i);
50
- });
1
+ function f(r, t) {
2
+ r = r.split("-"), t = t.split("-");
3
+ for (var N = r[0].split("."), s = t[0].split("."), e = 0; e < 3; e++) {
4
+ var i = Number(N[e]), u = Number(s[e]);
5
+ if (i > u) return 1;
6
+ if (u > i) return -1;
7
+ if (!isNaN(i) && isNaN(u)) return 1;
8
+ if (isNaN(i) && !isNaN(u)) return -1;
9
+ }
10
+ return r[1] && t[1] ? r[1] > t[1] ? 1 : r[1] < t[1] ? -1 : 0 : !r[1] && t[1] ? 1 : r[1] && !t[1] ? -1 : 0;
51
11
  }
52
12
  export {
53
- y as useAnimationsFinished
13
+ f as default
54
14
  };
55
15
  //# sourceMappingURL=index265.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index265.js","sources":["../../../node_modules/@base-ui/react/internals/useAnimationsFinished.mjs"],"sourcesContent":["'use client';\n\nimport * as ReactDOM from 'react-dom';\nimport { useAnimationFrame } from '@base-ui/utils/useAnimationFrame';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { resolveRef } from \"../utils/resolveRef.mjs\";\nimport { TransitionStatusDataAttributes } from \"./stateAttributesMapping.mjs\";\n\n/**\n * Executes a function once all animations have finished on the provided element.\n * @param elementOrRef - The element to watch for animations.\n * @param waitForStartingStyleRemoved - Whether to wait for [data-starting-style] to be removed before checking for animations.\n * @param treatAbortedAsFinished - Whether to treat aborted animations as finished. If `false`, and there are aborted animations,\n * the function will check again if any new animations have started and wait for them to finish.\n * @returns A function that takes a callback to execute once all animations have finished, and an optional AbortSignal to abort the callback\n */\nexport function useAnimationsFinished(elementOrRef, waitForStartingStyleRemoved = false, treatAbortedAsFinished = true) {\n const frame = useAnimationFrame();\n return useStableCallback((fnToExecute,\n /**\n * An optional [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) that\n * can be used to abort `fnToExecute` before all the animations have finished.\n * @default null\n */\n signal = null) => {\n frame.cancel();\n const element = resolveRef(elementOrRef);\n if (element == null) {\n return;\n }\n const resolvedElement = element;\n const done = () => {\n // Synchronously flush the unmounting of the component so that the browser doesn't\n // paint: https://github.com/mui/base-ui/issues/979\n ReactDOM.flushSync(fnToExecute);\n };\n if (typeof resolvedElement.getAnimations !== 'function' || globalThis.BASE_UI_ANIMATIONS_DISABLED) {\n fnToExecute();\n return;\n }\n function exec() {\n Promise.all(resolvedElement.getAnimations().map(animation => animation.finished)).then(() => {\n if (!signal?.aborted) {\n done();\n }\n }).catch(() => {\n if (treatAbortedAsFinished) {\n if (!signal?.aborted) {\n done();\n }\n return;\n }\n const currentAnimations = resolvedElement.getAnimations();\n if (!signal?.aborted && currentAnimations.length > 0 && currentAnimations.some(animation => animation.pending || animation.playState !== 'finished')) {\n // Sometimes animations can be aborted because a property they depend on changes while the animation plays.\n // In such cases, we need to re-check if any new animations have started.\n exec();\n }\n });\n }\n if (waitForStartingStyleRemoved) {\n const startingStyleAttribute = TransitionStatusDataAttributes.startingStyle;\n\n // If `[data-starting-style]` isn't present, fall back to waiting one more frame\n // to give \"open\" animations a chance to be registered.\n if (!resolvedElement.hasAttribute(startingStyleAttribute)) {\n frame.request(exec);\n return;\n }\n\n // Wait for `[data-starting-style]` to have been removed.\n const attributeObserver = new MutationObserver(() => {\n if (!resolvedElement.hasAttribute(startingStyleAttribute)) {\n attributeObserver.disconnect();\n exec();\n }\n });\n attributeObserver.observe(resolvedElement, {\n attributes: true,\n attributeFilter: [startingStyleAttribute]\n });\n signal?.addEventListener('abort', () => attributeObserver.disconnect(), {\n once: true\n });\n return;\n }\n frame.request(exec);\n });\n}"],"names":["useAnimationsFinished","elementOrRef","waitForStartingStyleRemoved","treatAbortedAsFinished","frame","useAnimationFrame","useStableCallback","fnToExecute","signal","element","resolveRef","resolvedElement","done","ReactDOM","exec","animation","currentAnimations","startingStyleAttribute","TransitionStatusDataAttributes","attributeObserver"],"mappings":";;;;;AAgBO,SAASA,EAAsBC,GAAcC,IAA8B,IAAOC,IAAyB,IAAM;AACtH,QAAMC,IAAQC,EAAiB;AAC/B,SAAOC,EAAkB,CAACC,GAM1BC,IAAS,SAAS;AAChB,IAAAJ,EAAM,OAAM;AACZ,UAAMK,IAAUC,EAAWT,CAAY;AACvC,QAAIQ,KAAW;AACb;AAEF,UAAME,IAAkBF,GAClBG,IAAO,MAAM;AAGjB,MAAAC,EAAS,UAAUN,CAAW;AAAA,IAChC;AACA,QAAI,OAAOI,EAAgB,iBAAkB,cAAc,WAAW,6BAA6B;AACjG,MAAAJ,EAAW;AACX;AAAA,IACF;AACA,aAASO,IAAO;AACd,cAAQ,IAAIH,EAAgB,gBAAgB,IAAI,CAAAI,MAAaA,EAAU,QAAQ,CAAC,EAAE,KAAK,MAAM;AAC3F,QAAKP,GAAQ,WACXI,EAAI;AAAA,MAER,CAAC,EAAE,MAAM,MAAM;AACb,YAAIT,GAAwB;AAC1B,UAAKK,GAAQ,WACXI,EAAI;AAEN;AAAA,QACF;AACA,cAAMI,IAAoBL,EAAgB,cAAa;AACvD,QAAI,CAACH,GAAQ,WAAWQ,EAAkB,SAAS,KAAKA,EAAkB,KAAK,CAAAD,MAAaA,EAAU,WAAWA,EAAU,cAAc,UAAU,KAGjJD,EAAI;AAAA,MAER,CAAC;AAAA,IACH;AACA,QAAIZ,GAA6B;AAC/B,YAAMe,IAAyBC,EAA+B;AAI9D,UAAI,CAACP,EAAgB,aAAaM,CAAsB,GAAG;AACzD,QAAAb,EAAM,QAAQU,CAAI;AAClB;AAAA,MACF;AAGA,YAAMK,IAAoB,IAAI,iBAAiB,MAAM;AACnD,QAAKR,EAAgB,aAAaM,CAAsB,MACtDE,EAAkB,WAAU,GAC5BL,EAAI;AAAA,MAER,CAAC;AACD,MAAAK,EAAkB,QAAQR,GAAiB;AAAA,QACzC,YAAY;AAAA,QACZ,iBAAiB,CAACM,CAAsB;AAAA,MAChD,CAAO,GACDT,GAAQ,iBAAiB,SAAS,MAAMW,EAAkB,WAAU,GAAI;AAAA,QACtE,MAAM;AAAA,MACd,CAAO;AACD;AAAA,IACF;AACA,IAAAf,EAAM,QAAQU,CAAI;AAAA,EACpB,CAAC;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index265.js","sources":["../../../node_modules/libphonenumber-js/es6/tools/semver-compare.js"],"sourcesContent":["// Copy-pasted from:\n// https://github.com/substack/semver-compare/blob/master/index.js\n//\n// Inlining this function because some users reported issues with\n// importing from `semver-compare` in a browser with ES6 \"native\" modules.\n//\n// Fixes `semver-compare` not being able to compare versions with alpha/beta/etc \"tags\".\n// https://github.com/catamphetamine/libphonenumber-js/issues/381\nexport default function (a, b) {\n a = a.split('-');\n b = b.split('-');\n var pa = a[0].split('.');\n var pb = b[0].split('.');\n for (var i = 0; i < 3; i++) {\n var na = Number(pa[i]);\n var nb = Number(pb[i]);\n if (na > nb) return 1;\n if (nb > na) return -1;\n if (!isNaN(na) && isNaN(nb)) return 1;\n if (isNaN(na) && !isNaN(nb)) return -1;\n }\n if (a[1] && b[1]) {\n return a[1] > b[1] ? 1 : a[1] < b[1] ? -1 : 0;\n }\n return !a[1] && b[1] ? 1 : a[1] && !b[1] ? -1 : 0;\n}\n//# sourceMappingURL=semver-compare.js.map"],"names":["compare","a","b","pa","pb","i","na","nb"],"mappings":"AAQe,SAAAA,EAAUC,GAAGC,GAAG;AAC7B,EAAAD,IAAIA,EAAE,MAAM,GAAG,GACfC,IAAIA,EAAE,MAAM,GAAG;AAGf,WAFIC,IAAKF,EAAE,CAAC,EAAE,MAAM,GAAG,GACnBG,IAAKF,EAAE,CAAC,EAAE,MAAM,GAAG,GACdG,IAAI,GAAGA,IAAI,GAAGA,KAAK;AAC1B,QAAIC,IAAK,OAAOH,EAAGE,CAAC,CAAC,GACjBE,IAAK,OAAOH,EAAGC,CAAC,CAAC;AACrB,QAAIC,IAAKC,EAAI,QAAO;AACpB,QAAIA,IAAKD,EAAI,QAAO;AACpB,QAAI,CAAC,MAAMA,CAAE,KAAK,MAAMC,CAAE,EAAG,QAAO;AACpC,QAAI,MAAMD,CAAE,KAAK,CAAC,MAAMC,CAAE,EAAG,QAAO;AAAA,EACtC;AACA,SAAIN,EAAE,CAAC,KAAKC,EAAE,CAAC,IACND,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAI,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAI,KAAK,IAEvC,CAACD,EAAE,CAAC,KAAKC,EAAE,CAAC,IAAI,IAAID,EAAE,CAAC,KAAK,CAACC,EAAE,CAAC,IAAI,KAAK;AAClD;","x_google_ignoreList":[0]}
package/dist/index266.js CHANGED
@@ -1,9 +1,8 @@
1
- import * as t from "react";
2
- const e = parseInt(t.version, 10);
3
- function o(r) {
4
- return e >= r;
1
+ var e = /^\d+$/;
2
+ function a(t) {
3
+ return e.test(t);
5
4
  }
6
5
  export {
7
- o as isReactVersionAtLeast
6
+ a as default
8
7
  };
9
8
  //# sourceMappingURL=index266.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index266.js","sources":["../../../node_modules/@base-ui/utils/reactVersion.mjs"],"sourcesContent":["import * as React from 'react';\nconst majorVersion = parseInt(React.version, 10);\nexport function isReactVersionAtLeast(reactVersionToCheck) {\n return majorVersion >= reactVersionToCheck;\n}"],"names":["majorVersion","React","isReactVersionAtLeast","reactVersionToCheck"],"mappings":";AACA,MAAMA,IAAe,SAASC,EAAM,SAAS,EAAE;AACxC,SAASC,EAAsBC,GAAqB;AACzD,SAAOH,KAAgBG;AACzB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index266.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/isCallingCode.js"],"sourcesContent":["var CALLING_CODE_REG_EXP = /^\\d+$/;\nexport default function isCallingCode(string) {\n return CALLING_CODE_REG_EXP.test(string);\n}\n//# sourceMappingURL=isCallingCode.js.map"],"names":["CALLING_CODE_REG_EXP","isCallingCode","string"],"mappings":"AAAA,IAAIA,IAAuB;AACZ,SAASC,EAAcC,GAAQ;AAC5C,SAAOF,EAAqB,KAAKE,CAAM;AACzC;","x_google_ignoreList":[0]}
package/dist/index267.js CHANGED
@@ -1,9 +1,41 @@
1
- import * as t from "react";
2
- function n(r) {
3
- const e = t.useRef(!0);
4
- e.current && (e.current = !1, r());
1
+ import { parseDigit as i } from "./index157.js";
2
+ function u(e, t) {
3
+ var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
4
+ if (r) return (r = r.call(e)).next.bind(r);
5
+ if (Array.isArray(e) || (r = l(e)) || t) {
6
+ r && (e = r);
7
+ var n = 0;
8
+ return function() {
9
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
10
+ };
11
+ }
12
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
14
+ }
15
+ function l(e, t) {
16
+ if (e) {
17
+ if (typeof e == "string") return o(e, t);
18
+ var r = {}.toString.call(e).slice(8, -1);
19
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? o(e, t) : void 0;
20
+ }
21
+ }
22
+ function o(e, t) {
23
+ (t == null || t > e.length) && (t = e.length);
24
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
25
+ return n;
26
+ }
27
+ function c(e) {
28
+ for (var t = "", r = u(e.split("")), n; !(n = r()).done; ) {
29
+ var a = n.value;
30
+ t += f(a, t) || "";
31
+ }
32
+ return t;
33
+ }
34
+ function f(e, t, r) {
35
+ return e === "+" ? t ? void 0 : "+" : i(e);
5
36
  }
6
37
  export {
7
- n as useOnFirstRender
38
+ c as default,
39
+ f as parsePhoneNumberCharacter
8
40
  };
9
41
  //# sourceMappingURL=index267.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index267.js","sources":["../../../node_modules/@base-ui/utils/useOnFirstRender.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nexport function useOnFirstRender(fn) {\n const ref = React.useRef(true);\n if (ref.current) {\n ref.current = false;\n fn();\n }\n}"],"names":["useOnFirstRender","fn","ref","React"],"mappings":";AAGO,SAASA,EAAiBC,GAAI;AACnC,QAAMC,IAAMC,EAAM,OAAO,EAAI;AAC7B,EAAID,EAAI,YACNA,EAAI,UAAU,IACdD,EAAE;AAEN;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index267.js","sources":["../../../node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js"],"sourcesContent":["function _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nimport { parseDigit } from './helpers/parseDigits.js';\n\n/**\r\n * Parses phone number characters from a string.\r\n * Drops all punctuation leaving only digits and the leading `+` sign (if any).\r\n * Also converts wide-ascii and arabic-indic numerals to conventional numerals.\r\n * E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n * @param {string} string\r\n * @return {string}\r\n * @example\r\n * ```js\r\n * // Outputs '8800555'.\r\n * parseIncompletePhoneNumber('8 (800) 555')\r\n * // Outputs '+7800555'.\r\n * parseIncompletePhoneNumber('+7 800 555')\r\n * ```\r\n */\nexport default function parseIncompletePhoneNumber(string) {\n var result = '';\n // Using `.split('')` here instead of normal `for ... of`\n // because the importing application doesn't neccessarily include an ES6 polyfill.\n // The `.split('')` approach discards \"exotic\" UTF-8 characters\n // (the ones consisting of four bytes) but digits\n // (including non-European ones) don't fall into that range\n // so such \"exotic\" characters would be discarded anyway.\n for (var _iterator = _createForOfIteratorHelperLoose(string.split('')), _step; !(_step = _iterator()).done;) {\n var character = _step.value;\n result += parsePhoneNumberCharacter(character, result) || '';\n }\n return result;\n}\n\n/**\r\n * Parses next character while parsing phone number digits (including a `+`)\r\n * from text: discards everything except `+` and digits, and `+` is only allowed\r\n * at the start of a phone number.\r\n * For example, is used in `react-phone-number-input` where it uses\r\n * [`input-format`](https://gitlab.com/catamphetamine/input-format).\r\n * @param {string} character - Yet another character from raw input string.\r\n * @param {string?} prevParsedCharacters - Previous parsed characters.\r\n * @param {function?} eventListener - An optional \"on event\" function.\r\n * @return {string?} The parsed character.\r\n */\nexport function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListener) {\n // Only allow a leading `+`.\n if (character === '+') {\n // If this `+` is not the first parsed character\n // then discard it.\n if (prevParsedCharacters) {\n // `eventListener` argument was added to this `export`ed function on Dec 26th, 2023.\n // Any 3rd-party code that used to `import` and call this function before that\n // won't be passing any `eventListener` argument.\n //\n // The addition of the `eventListener` argument was to fix the slightly-weird behavior\n // of parsing an input string when the user inputs something like `\"2+7\"\n // https://github.com/catamphetamine/react-phone-number-input/issues/437\n //\n // If the parser encounters an unexpected `+` in a string being parsed\n // then it simply discards that out-of-place `+` and any following characters.\n //\n if (typeof eventListener === 'function') {\n eventListener('end');\n }\n return;\n }\n return '+';\n }\n // Allow digits.\n return parseDigit(character);\n}\n//# sourceMappingURL=parseIncompletePhoneNumber.js.map"],"names":["_createForOfIteratorHelperLoose","r","e","t","_unsupportedIterableToArray","o","a","_arrayLikeToArray","parseIncompletePhoneNumber","string","result","_iterator","_step","character","parsePhoneNumberCharacter","prevParsedCharacters","eventListener","parseDigit"],"mappings":";AAAA,SAASA,EAAgCC,GAAGC,GAAG;AAAE,MAAIC,IAAmB,OAAO,SAAtB,OAAgCF,EAAE,OAAO,QAAQ,KAAKA,EAAE,YAAY;AAAG,MAAIE,EAAG,SAAQA,IAAIA,EAAE,KAAKF,CAAC,GAAG,KAAK,KAAKE,CAAC;AAAG,MAAI,MAAM,QAAQF,CAAC,MAAME,IAAIC,EAA4BH,CAAC,MAAMC,GAAuC;AAAE,IAAAC,MAAMF,IAAIE;AAAI,QAAIE,IAAI;AAAG,WAAO,WAAY;AAAE,aAAOA,KAAKJ,EAAE,SAAS,EAAE,MAAM,GAAE,IAAK,EAAE,MAAM,IAAI,OAAOA,EAAEI,GAAG,EAAC;AAAA,IAAI;AAAA,EAAG;AAAE,QAAM,IAAI,UAAU;AAAA,mFAAuI;AAAG;AACziB,SAASD,EAA4BH,GAAGK,GAAG;AAAE,MAAIL,GAAG;AAAE,QAAgB,OAAOA,KAAnB,SAAsB,QAAOM,EAAkBN,GAAGK,CAAC;AAAG,QAAIH,IAAI,CAAA,EAAG,SAAS,KAAKF,CAAC,EAAE,MAAM,GAAG,EAAE;AAAG,WAAoBE,MAAb,YAAkBF,EAAE,gBAAgBE,IAAIF,EAAE,YAAY,OAAiBE,MAAV,SAAyBA,MAAV,QAAc,MAAM,KAAKF,CAAC,IAAoBE,MAAhB,eAAqB,2CAA2C,KAAKA,CAAC,IAAII,EAAkBN,GAAGK,CAAC,IAAI;AAAA,EAAQ;AAAE;AACzX,SAASC,EAAkBN,GAAGK,GAAG;AAAE,GAASA,KAAR,QAAaA,IAAIL,EAAE,YAAYK,IAAIL,EAAE;AAAS,WAASC,IAAI,GAAG,IAAI,MAAMI,CAAC,GAAGJ,IAAII,GAAGJ,IAAK,GAAEA,CAAC,IAAID,EAAEC,CAAC;AAAG,SAAO;AAAG;AAkBpI,SAASM,EAA2BC,GAAQ;AAQzD,WAPIC,IAAS,IAOJC,IAAYX,EAAgCS,EAAO,MAAM,EAAE,CAAC,GAAGG,GAAO,EAAEA,IAAQD,EAAS,GAAI,QAAO;AAC3G,QAAIE,IAAYD,EAAM;AACtB,IAAAF,KAAUI,EAA0BD,GAAWH,CAAM,KAAK;AAAA,EAC5D;AACA,SAAOA;AACT;AAaO,SAASI,EAA0BD,GAAWE,GAAsBC,GAAe;AAExF,SAAIH,MAAc,MAGZE,IAeF,SAEK,MAGFE,EAAWJ,CAAS;AAC7B;","x_google_ignoreList":[0]}
package/dist/index268.js CHANGED
@@ -1,65 +1,12 @@
1
- import * as r from "react";
2
- import { useScrollLock as P } from "./index381.js";
3
- import { EMPTY_OBJECT as f } from "./index258.js";
4
- import { createChangeEventDetails as C } from "./index153.js";
5
- import { usePopupRootSync as S, useImplicitActiveTrigger as k, useOpenStateTransitions as E, usePopupInteractionProps as T } from "./index162.js";
6
- import { useDismiss as h } from "./index302.js";
7
- import { getTarget as w, contains as x } from "./index313.js";
8
- import { imperativeAction as I } from "./index155.js";
9
- function L(e) {
10
- const {
11
- store: t,
12
- actionsRef: a
13
- } = e, o = t.useState("open");
14
- S(t, o), k(t);
15
- const {
16
- forceUnmount: c
17
- } = E(o, t), s = r.useCallback(() => {
18
- t.setOpen(!1, C(I));
19
- }, [t]);
20
- r.useImperativeHandle(a, () => ({
21
- unmount: c,
22
- close: s
23
- }), [c, s]);
24
- }
25
- function M({
26
- store: e,
27
- parentContext: t,
28
- isDrawer: a
29
- }) {
30
- const o = e.useState("open"), c = e.useState("disablePointerDismissal"), s = e.useState("modal"), d = e.useState("popupElement"), O = e.useState("floatingRootContext"), [u, m] = r.useState(0), [l, g] = r.useState(0), D = u === 0, p = h(O, {
31
- outsidePressEvent() {
32
- return e.context.internalBackdropRef.current || e.context.backdropRef.current ? "intentional" : {
33
- mouse: s === "trap-focus" ? "sloppy" : "intentional",
34
- touch: "sloppy"
35
- };
36
- },
37
- outsidePress(n) {
38
- if (!e.context.outsidePressEnabledRef.current || "button" in n && n.button !== 0 || "touches" in n && n.touches.length !== 1)
39
- return !1;
40
- const i = w(n);
41
- return D && !c ? s && (e.context.internalBackdropRef.current || e.context.backdropRef.current) ? e.context.internalBackdropRef.current === i || e.context.backdropRef.current === i || x(i, d) && !i?.hasAttribute("data-base-ui-portal") : !0 : !1;
42
- },
43
- escapeKey: D
44
- });
45
- P(o && s === !0, d), e.useContextCallback("onNestedDialogOpen", (n, i) => {
46
- m(n), g(i);
47
- }), e.useContextCallback("onNestedDialogClose", () => {
48
- m(0), g(0);
49
- }), r.useEffect(() => (t?.onNestedDialogOpen && o && t.onNestedDialogOpen(u + 1, l + (a ? 1 : 0)), t?.onNestedDialogClose && !o && t.onNestedDialogClose(), () => {
50
- t?.onNestedDialogClose && o && t.onNestedDialogClose();
51
- }), [a, o, u, l, t]);
52
- const b = p.reference ?? f, R = p.trigger ?? f, N = p.floating ?? f;
53
- return T(e, {
54
- activeTriggerProps: b,
55
- inactiveTriggerProps: R,
56
- popupProps: N,
57
- nestedOpenDialogCount: u,
58
- nestedOpenDrawerCount: l
59
- }), null;
1
+ function n(r) {
2
+ var t = r.number, e = r.ext;
3
+ if (!t)
4
+ return "";
5
+ if (t[0] !== "+")
6
+ throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
7
+ return "tel:".concat(t).concat(e ? ";ext=" + e : "");
60
8
  }
61
9
  export {
62
- M as DialogInteractions,
63
- L as useDialogRoot
10
+ n as formatRFC3966
64
11
  };
65
12
  //# sourceMappingURL=index268.js.map