@rpcbase/ui 0.244.0 → 0.245.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 (694) 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 +14 -5
  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 +38 -2
  21. package/dist/index151.js.map +1 -1
  22. package/dist/index152.js +13 -385
  23. package/dist/index152.js.map +1 -1
  24. package/dist/index153.js +23 -261
  25. package/dist/index153.js.map +1 -1
  26. package/dist/index154.js +109 -58
  27. package/dist/index154.js.map +1 -1
  28. package/dist/index155.js +13 -47
  29. package/dist/index155.js.map +1 -1
  30. package/dist/index156.js +4 -169
  31. package/dist/index156.js.map +1 -1
  32. package/dist/index157.js +4 -110
  33. package/dist/index157.js.map +1 -1
  34. package/dist/index158.js +5 -25
  35. package/dist/index158.js.map +1 -1
  36. package/dist/index159.js +12 -8
  37. package/dist/index159.js.map +1 -1
  38. package/dist/index16.js +8 -8
  39. package/dist/index160.js +19 -4
  40. package/dist/index160.js.map +1 -1
  41. package/dist/index161.js +11 -6
  42. package/dist/index161.js.map +1 -1
  43. package/dist/index162.js +176 -4
  44. package/dist/index162.js.map +1 -1
  45. package/dist/index163.js +268 -476
  46. package/dist/index163.js.map +1 -1
  47. package/dist/index164.js +4 -189
  48. package/dist/index164.js.map +1 -1
  49. package/dist/index165.js +28 -14
  50. package/dist/index165.js.map +1 -1
  51. package/dist/index166.js +124 -105
  52. package/dist/index166.js.map +1 -1
  53. package/dist/index167.js +63 -262
  54. package/dist/index167.js.map +1 -1
  55. package/dist/index168.js +8 -6
  56. package/dist/index168.js.map +1 -1
  57. package/dist/index169.js +15 -40
  58. package/dist/index169.js.map +1 -1
  59. package/dist/index17.js +1 -1
  60. package/dist/index170.js +30 -4
  61. package/dist/index170.js.map +1 -1
  62. package/dist/index171.js +69 -58
  63. package/dist/index171.js.map +1 -1
  64. package/dist/index172.js +5 -8
  65. package/dist/index172.js.map +1 -1
  66. package/dist/index173.js +61 -80
  67. package/dist/index173.js.map +1 -1
  68. package/dist/index174.js +2 -20
  69. package/dist/index174.js.map +1 -1
  70. package/dist/index175.js +383 -14
  71. package/dist/index175.js.map +1 -1
  72. package/dist/index176.js +260 -4
  73. package/dist/index176.js.map +1 -1
  74. package/dist/index177.js +59 -4
  75. package/dist/index177.js.map +1 -1
  76. package/dist/index178.js +46 -6
  77. package/dist/index178.js.map +1 -1
  78. package/dist/index179.js +169 -4
  79. package/dist/index179.js.map +1 -1
  80. package/dist/index18.js +7 -7
  81. package/dist/index180.js +109 -6
  82. package/dist/index180.js.map +1 -1
  83. package/dist/index181.js +24 -16
  84. package/dist/index181.js.map +1 -1
  85. package/dist/index182.js +8 -5
  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 +5 -12
  90. package/dist/index184.js.map +1 -1
  91. package/dist/index185.js +4 -9
  92. package/dist/index185.js.map +1 -1
  93. package/dist/index186.js +487 -13
  94. package/dist/index186.js.map +1 -1
  95. package/dist/index187.js +189 -13
  96. package/dist/index187.js.map +1 -1
  97. package/dist/index188.js +13 -4
  98. package/dist/index188.js.map +1 -1
  99. package/dist/index189.js +107 -5
  100. package/dist/index189.js.map +1 -1
  101. package/dist/index19.js +16 -16
  102. package/dist/index190.js +262 -6
  103. package/dist/index190.js.map +1 -1
  104. package/dist/index191.js +6 -5
  105. package/dist/index191.js.map +1 -1
  106. package/dist/index192.js +39 -53
  107. package/dist/index192.js.map +1 -1
  108. package/dist/index193.js +4 -8
  109. package/dist/index193.js.map +1 -1
  110. package/dist/index194.js +58 -4
  111. package/dist/index194.js.map +1 -1
  112. package/dist/index195.js +8 -4
  113. package/dist/index195.js.map +1 -1
  114. package/dist/index196.js +87 -8
  115. package/dist/index196.js.map +1 -1
  116. package/dist/index197.js +19 -4
  117. package/dist/index197.js.map +1 -1
  118. package/dist/index198.js +16 -4
  119. package/dist/index198.js.map +1 -1
  120. package/dist/index199.js +5 -3
  121. package/dist/index199.js.map +1 -1
  122. package/dist/index200.js +5 -10
  123. package/dist/index200.js.map +1 -1
  124. package/dist/index201.js +6 -9
  125. package/dist/index201.js.map +1 -1
  126. package/dist/index202.js +4 -9
  127. package/dist/index202.js.map +1 -1
  128. package/dist/index203.js +6 -10
  129. package/dist/index203.js.map +1 -1
  130. package/dist/index204.js +16 -10
  131. package/dist/index204.js.map +1 -1
  132. package/dist/index205.js +4 -9
  133. package/dist/index205.js.map +1 -1
  134. package/dist/index206.js +4 -6
  135. package/dist/index206.js.map +1 -1
  136. package/dist/index207.js +12 -5
  137. package/dist/index207.js.map +1 -1
  138. package/dist/index208.js +9 -4
  139. package/dist/index208.js.map +1 -1
  140. package/dist/index209.js +13 -5
  141. package/dist/index209.js.map +1 -1
  142. package/dist/index21.js +1 -1
  143. package/dist/index210.js +13 -6
  144. package/dist/index210.js.map +1 -1
  145. package/dist/index211.js +4 -5
  146. package/dist/index211.js.map +1 -1
  147. package/dist/index212.js +5 -16
  148. package/dist/index212.js.map +1 -1
  149. package/dist/index213.js +6 -7
  150. package/dist/index213.js.map +1 -1
  151. package/dist/index214.js +5 -10
  152. package/dist/index214.js.map +1 -1
  153. package/dist/index215.js +54 -10
  154. package/dist/index215.js.map +1 -1
  155. package/dist/index216.js +8 -21
  156. package/dist/index216.js.map +1 -1
  157. package/dist/index217.js +4 -8
  158. package/dist/index217.js.map +1 -1
  159. package/dist/index218.js +4 -9
  160. package/dist/index218.js.map +1 -1
  161. package/dist/index219.js +8 -9
  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 +4 -5
  167. package/dist/index221.js.map +1 -1
  168. package/dist/index222.js +3 -16
  169. package/dist/index222.js.map +1 -1
  170. package/dist/index223.js +10 -9
  171. package/dist/index223.js.map +1 -1
  172. package/dist/index224.js +9 -18
  173. package/dist/index224.js.map +1 -1
  174. package/dist/index225.js +9 -20
  175. package/dist/index225.js.map +1 -1
  176. package/dist/index226.js +10 -12
  177. package/dist/index226.js.map +1 -1
  178. package/dist/index227.js +10 -29
  179. package/dist/index227.js.map +1 -1
  180. package/dist/index228.js +9 -12
  181. package/dist/index228.js.map +1 -1
  182. package/dist/index229.js +6 -25
  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 +5 -20
  188. package/dist/index231.js.map +1 -1
  189. package/dist/index232.js +5 -66
  190. package/dist/index232.js.map +1 -1
  191. package/dist/index233.js +6 -6
  192. package/dist/index233.js.map +1 -1
  193. package/dist/index234.js +5 -5
  194. package/dist/index234.js.map +1 -1
  195. package/dist/index235.js +16 -11
  196. package/dist/index235.js.map +1 -1
  197. package/dist/index236.js +7 -3
  198. package/dist/index236.js.map +1 -1
  199. package/dist/index237.js +9 -49
  200. package/dist/index237.js.map +1 -1
  201. package/dist/index238.js +11 -4
  202. package/dist/index238.js.map +1 -1
  203. package/dist/index239.js +20 -28
  204. package/dist/index239.js.map +1 -1
  205. package/dist/index24.js +1 -1
  206. package/dist/index240.js +8 -16
  207. package/dist/index240.js.map +1 -1
  208. package/dist/index241.js +9 -5
  209. package/dist/index241.js.map +1 -1
  210. package/dist/index242.js +9 -21
  211. package/dist/index242.js.map +1 -1
  212. package/dist/index243.js +4 -53
  213. package/dist/index243.js.map +1 -1
  214. package/dist/index244.js +5 -20
  215. package/dist/index244.js.map +1 -1
  216. package/dist/index245.js +16 -41
  217. package/dist/index245.js.map +1 -1
  218. package/dist/index246.js +9 -39
  219. package/dist/index246.js.map +1 -1
  220. package/dist/index247.js +19 -46
  221. package/dist/index247.js.map +1 -1
  222. package/dist/index248.js +17 -20
  223. package/dist/index248.js.map +1 -1
  224. package/dist/index249.js +12 -19
  225. package/dist/index249.js.map +1 -1
  226. package/dist/index25.js +1 -1
  227. package/dist/index250.js +28 -19
  228. package/dist/index250.js.map +1 -1
  229. package/dist/index251.js +10 -68
  230. package/dist/index251.js.map +1 -1
  231. package/dist/index252.js +25 -17
  232. package/dist/index252.js.map +1 -1
  233. package/dist/index253.js +5 -3
  234. package/dist/index253.js.map +1 -1
  235. package/dist/index254.js +66 -11
  236. package/dist/index254.js.map +1 -1
  237. package/dist/index255.js +8 -30
  238. package/dist/index255.js.map +1 -1
  239. package/dist/index256.js +11 -13
  240. package/dist/index256.js.map +1 -1
  241. package/dist/index257.js +8 -18
  242. package/dist/index257.js.map +1 -1
  243. package/dist/index258.js +5 -36
  244. package/dist/index258.js.map +1 -1
  245. package/dist/index259.js +12 -68
  246. package/dist/index259.js.map +1 -1
  247. package/dist/index260.js +3 -239
  248. package/dist/index260.js.map +1 -1
  249. package/dist/index261.js +3 -252
  250. package/dist/index261.js.map +1 -1
  251. package/dist/index262.js +96 -65
  252. package/dist/index262.js.map +1 -1
  253. package/dist/index263.js +16 -98
  254. package/dist/index263.js.map +1 -1
  255. package/dist/index264.js +26 -173
  256. package/dist/index264.js.map +1 -1
  257. package/dist/index265.js +47 -79
  258. package/dist/index265.js.map +1 -1
  259. package/dist/index266.js +6 -13
  260. package/dist/index266.js.map +1 -1
  261. package/dist/index267.js +5 -3
  262. package/dist/index267.js.map +1 -1
  263. package/dist/index268.js +60 -28
  264. package/dist/index268.js.map +1 -1
  265. package/dist/index269.js +66 -16
  266. package/dist/index269.js.map +1 -1
  267. package/dist/index270.js +131 -35
  268. package/dist/index270.js.map +1 -1
  269. package/dist/index271.js +8 -34
  270. package/dist/index271.js.map +1 -1
  271. package/dist/index272.js +5 -69
  272. package/dist/index272.js.map +1 -1
  273. package/dist/index273.js +4 -18
  274. package/dist/index273.js.map +1 -1
  275. package/dist/index274.js +11 -3
  276. package/dist/index274.js.map +1 -1
  277. package/dist/index275.js +17 -107
  278. package/dist/index275.js.map +1 -1
  279. package/dist/index276.js +16 -26
  280. package/dist/index276.js.map +1 -1
  281. package/dist/index277.js +11 -28
  282. package/dist/index277.js.map +1 -1
  283. package/dist/index278.js +8 -4
  284. package/dist/index278.js.map +1 -1
  285. package/dist/index279.js +142 -124
  286. package/dist/index279.js.map +1 -1
  287. package/dist/index28.js +1 -1
  288. package/dist/index280.js +79 -4
  289. package/dist/index280.js.map +1 -1
  290. package/dist/index281.js +61 -78
  291. package/dist/index281.js.map +1 -1
  292. package/dist/index282.js +15 -273
  293. package/dist/index282.js.map +1 -1
  294. package/dist/index283.js +20 -12
  295. package/dist/index283.js.map +1 -1
  296. package/dist/index284.js +7 -28
  297. package/dist/index284.js.map +1 -1
  298. package/dist/index285.js +12 -16
  299. package/dist/index285.js.map +1 -1
  300. package/dist/index286.js +3 -10
  301. package/dist/index286.js.map +1 -1
  302. package/dist/index287.js +49 -24
  303. package/dist/index287.js.map +1 -1
  304. package/dist/index288.js +15 -15
  305. package/dist/index288.js.map +1 -1
  306. package/dist/index289.js +21 -125
  307. package/dist/index289.js.map +1 -1
  308. package/dist/index29.js +3 -56
  309. package/dist/index29.js.map +1 -1
  310. package/dist/index290.js +53 -5
  311. package/dist/index290.js.map +1 -1
  312. package/dist/index291.js +19 -64
  313. package/dist/index291.js.map +1 -1
  314. package/dist/index292.js +42 -14
  315. package/dist/index292.js.map +1 -1
  316. package/dist/index293.js +40 -14
  317. package/dist/index293.js.map +1 -1
  318. package/dist/index294.js +46 -8
  319. package/dist/index294.js.map +1 -1
  320. package/dist/index295.js +21 -11
  321. package/dist/index295.js.map +1 -1
  322. package/dist/index296.js +70 -5
  323. package/dist/index296.js.map +1 -1
  324. package/dist/index297.js +17 -3
  325. package/dist/index297.js.map +1 -1
  326. package/dist/index298.js +3 -10
  327. package/dist/index298.js.map +1 -1
  328. package/dist/index299.js +13 -7
  329. package/dist/index299.js.map +1 -1
  330. package/dist/index3.js +2 -2
  331. package/dist/index30.js +242 -3
  332. package/dist/index30.js.map +1 -1
  333. package/dist/index300.js +15 -130
  334. package/dist/index300.js.map +1 -1
  335. package/dist/index301.js +34 -277
  336. package/dist/index301.js.map +1 -1
  337. package/dist/index302.js +229 -389
  338. package/dist/index302.js.map +1 -1
  339. package/dist/index303.js +253 -5
  340. package/dist/index303.js.map +1 -1
  341. package/dist/index304.js +64 -48
  342. package/dist/index304.js.map +1 -1
  343. package/dist/index305.js +83 -11
  344. package/dist/index305.js.map +1 -1
  345. package/dist/index306.js +3 -27
  346. package/dist/index306.js.map +1 -1
  347. package/dist/index307.js +29 -11
  348. package/dist/index307.js.map +1 -1
  349. package/dist/index308.js +16 -4
  350. package/dist/index308.js.map +1 -1
  351. package/dist/index309.js +35 -15
  352. package/dist/index309.js.map +1 -1
  353. package/dist/index31.js +21 -239
  354. package/dist/index31.js.map +1 -1
  355. package/dist/index310.js +18 -4
  356. package/dist/index310.js.map +1 -1
  357. package/dist/index311.js +4 -5
  358. package/dist/index311.js.map +1 -1
  359. package/dist/index312.js +26 -11
  360. package/dist/index312.js.map +1 -1
  361. package/dist/index313.js +28 -63
  362. package/dist/index313.js.map +1 -1
  363. package/dist/index314.js +4 -9
  364. package/dist/index314.js.map +1 -1
  365. package/dist/index315.js +75 -151
  366. package/dist/index315.js.map +1 -1
  367. package/dist/index316.js +270 -30
  368. package/dist/index316.js.map +1 -1
  369. package/dist/index317.js +11 -11
  370. package/dist/index317.js.map +1 -1
  371. package/dist/index318.js +11 -50
  372. package/dist/index318.js.map +1 -1
  373. package/dist/index319.js +24 -8
  374. package/dist/index319.js.map +1 -1
  375. package/dist/index32.js +4 -23
  376. package/dist/index32.js.map +1 -1
  377. package/dist/index320.js +16 -11
  378. package/dist/index320.js.map +1 -1
  379. package/dist/index321.js +124 -42
  380. package/dist/index321.js.map +1 -1
  381. package/dist/index322.js +5 -97
  382. package/dist/index322.js.map +1 -1
  383. package/dist/index323.js +61 -82
  384. package/dist/index323.js.map +1 -1
  385. package/dist/index324.js +12 -104
  386. package/dist/index324.js.map +1 -1
  387. package/dist/index325.js +7 -52
  388. package/dist/index325.js.map +1 -1
  389. package/dist/index326.js +5 -11
  390. package/dist/index326.js.map +1 -1
  391. package/dist/index327.js +3 -4
  392. package/dist/index327.js.map +1 -1
  393. package/dist/index328.js +10 -37
  394. package/dist/index328.js.map +1 -1
  395. package/dist/index329.js +7 -8
  396. package/dist/index329.js.map +1 -1
  397. package/dist/index33.js +6 -3
  398. package/dist/index33.js.map +1 -1
  399. package/dist/index330.js +385 -121
  400. package/dist/index330.js.map +1 -1
  401. package/dist/index331.js +5 -18
  402. package/dist/index331.js.map +1 -1
  403. package/dist/index332.js +51 -14
  404. package/dist/index332.js.map +1 -1
  405. package/dist/index333.js +11 -3
  406. package/dist/index333.js.map +1 -1
  407. package/dist/index334.js +25 -34
  408. package/dist/index334.js.map +1 -1
  409. package/dist/index335.js +11 -20
  410. package/dist/index335.js.map +1 -1
  411. package/dist/index336.js +154 -9
  412. package/dist/index336.js.map +1 -1
  413. package/dist/index337.js +32 -8
  414. package/dist/index337.js.map +1 -1
  415. package/dist/index338.js +11 -24
  416. package/dist/index338.js.map +1 -1
  417. package/dist/index339.js +46 -25
  418. package/dist/index339.js.map +1 -1
  419. package/dist/index34.js +38 -8
  420. package/dist/index34.js.map +1 -1
  421. package/dist/index340.js +9 -16
  422. package/dist/index340.js.map +1 -1
  423. package/dist/index341.js +11 -4
  424. package/dist/index341.js.map +1 -1
  425. package/dist/index342.js +43 -17
  426. package/dist/index342.js.map +1 -1
  427. package/dist/index343.js +97 -12
  428. package/dist/index343.js.map +1 -1
  429. package/dist/index344.js +86 -8
  430. package/dist/index344.js.map +1 -1
  431. package/dist/index345.js +105 -11
  432. package/dist/index345.js.map +1 -1
  433. package/dist/index346.js +51 -7
  434. package/dist/index346.js.map +1 -1
  435. package/dist/index347.js +10 -12
  436. package/dist/index347.js.map +1 -1
  437. package/dist/index348.js +4 -3
  438. package/dist/index348.js.map +1 -1
  439. package/dist/index349.js +37 -3
  440. package/dist/index349.js.map +1 -1
  441. package/dist/index35.js +74 -35
  442. package/dist/index35.js.map +1 -1
  443. package/dist/index350.js +9 -4
  444. package/dist/index350.js.map +1 -1
  445. package/dist/index351.js +136 -15
  446. package/dist/index351.js.map +1 -1
  447. package/dist/index352.js +17 -11
  448. package/dist/index352.js.map +1 -1
  449. package/dist/index353.js +15 -5
  450. package/dist/index353.js.map +1 -1
  451. package/dist/index354.js +4 -5
  452. package/dist/index354.js.map +1 -1
  453. package/dist/index355.js +37 -3
  454. package/dist/index355.js.map +1 -1
  455. package/dist/index356.js +19 -7
  456. package/dist/index356.js.map +1 -1
  457. package/dist/index357.js +9 -51
  458. package/dist/index357.js.map +1 -1
  459. package/dist/index358.js +8 -16
  460. package/dist/index358.js.map +1 -1
  461. package/dist/index359.js +25 -8
  462. package/dist/index359.js.map +1 -1
  463. package/dist/index36.js +20 -74
  464. package/dist/index36.js.map +1 -1
  465. package/dist/index360.js +28 -5
  466. package/dist/index360.js.map +1 -1
  467. package/dist/index361.js +15 -19
  468. package/dist/index361.js.map +1 -1
  469. package/dist/index362.js +5 -45
  470. package/dist/index362.js.map +1 -1
  471. package/dist/index363.js +16 -16
  472. package/dist/index363.js.map +1 -1
  473. package/dist/index364.js +13 -5
  474. package/dist/index364.js.map +1 -1
  475. package/dist/index365.js +7 -199
  476. package/dist/index365.js.map +1 -1
  477. package/dist/index366.js +27 -74
  478. package/dist/index366.js.map +1 -1
  479. package/dist/index367.js +131 -117
  480. package/dist/index367.js.map +1 -1
  481. package/dist/index368.js +10 -15
  482. package/dist/index368.js.map +1 -1
  483. package/dist/index369.js +44 -59
  484. package/dist/index369.js.map +1 -1
  485. package/dist/index37.js +33 -18
  486. package/dist/index37.js.map +1 -1
  487. package/dist/index370.js +3 -66
  488. package/dist/index370.js.map +1 -1
  489. package/dist/index371.js +21 -11
  490. package/dist/index371.js.map +1 -1
  491. package/dist/index372.js +74 -20
  492. package/dist/index372.js.map +1 -1
  493. package/dist/index373.js +12 -145
  494. package/dist/index373.js.map +1 -1
  495. package/dist/index374.js +3 -79
  496. package/dist/index374.js.map +1 -1
  497. package/dist/index375.js +73 -61
  498. package/dist/index375.js.map +1 -1
  499. package/dist/index376.js +200 -4
  500. package/dist/index376.js.map +1 -1
  501. package/dist/index377.js +71 -20
  502. package/dist/index377.js.map +1 -1
  503. package/dist/index378.js +35 -4
  504. package/dist/index378.js.map +1 -1
  505. package/dist/index379.js +7 -5
  506. package/dist/index379.js.map +1 -1
  507. package/dist/index38.js +26 -36
  508. package/dist/index38.js.map +1 -1
  509. package/dist/index380.js +16 -4
  510. package/dist/index380.js.map +1 -1
  511. package/dist/index381.js +123 -15
  512. package/dist/index381.js.map +1 -1
  513. package/dist/index382.js +4 -9
  514. package/dist/index382.js.map +1 -1
  515. package/dist/index383.js +11 -5
  516. package/dist/index383.js.map +1 -1
  517. package/dist/index384.js +5 -4
  518. package/dist/index384.js.map +1 -1
  519. package/dist/index385.js +3 -546
  520. package/dist/index385.js.map +1 -1
  521. package/dist/index386.js +20 -46
  522. package/dist/index386.js.map +1 -1
  523. package/dist/index387.js +45 -18
  524. package/dist/index387.js.map +1 -1
  525. package/dist/index388.js +18 -6
  526. package/dist/index388.js.map +1 -1
  527. package/dist/index389.js +5 -8
  528. package/dist/index389.js.map +1 -1
  529. package/dist/index39.js +21 -26
  530. package/dist/index39.js.map +1 -1
  531. package/dist/index390.js +4 -6
  532. package/dist/index390.js.map +1 -1
  533. package/dist/index391.js +20 -7
  534. package/dist/index391.js.map +1 -1
  535. package/dist/index392.js +4 -11
  536. package/dist/index392.js.map +1 -1
  537. package/dist/index393.js +4 -8
  538. package/dist/index393.js.map +1 -1
  539. package/dist/index394.js +4 -13
  540. package/dist/index394.js.map +1 -1
  541. package/dist/index395.js +16 -3
  542. package/dist/index395.js.map +1 -1
  543. package/dist/index396.js +9 -3
  544. package/dist/index396.js.map +1 -1
  545. package/dist/index397.js +6 -7
  546. package/dist/index397.js.map +1 -1
  547. package/dist/index398.js +4 -12
  548. package/dist/index398.js.map +1 -1
  549. package/dist/index399.js +543 -44
  550. package/dist/index399.js.map +1 -1
  551. package/dist/index4.js +2 -2
  552. package/dist/index40.js +56 -20
  553. package/dist/index40.js.map +1 -1
  554. package/dist/index400.js +44 -135
  555. package/dist/index400.js.map +1 -1
  556. package/dist/index401.js +17 -8
  557. package/dist/index401.js.map +1 -1
  558. package/dist/index402.js +6 -27
  559. package/dist/index402.js.map +1 -1
  560. package/dist/index403.js +7 -3
  561. package/dist/index403.js.map +1 -1
  562. package/dist/index404.js +6 -21
  563. package/dist/index404.js.map +1 -1
  564. package/dist/index405.js +7 -75
  565. package/dist/index405.js.map +1 -1
  566. package/dist/index406.js +12 -12
  567. package/dist/index406.js.map +1 -1
  568. package/dist/index407.js +8 -3
  569. package/dist/index407.js.map +1 -1
  570. package/dist/index408.js +12 -71
  571. package/dist/index408.js.map +1 -1
  572. package/dist/index409.js +3 -36
  573. package/dist/index409.js.map +1 -1
  574. package/dist/index41.js +51 -59
  575. package/dist/index41.js.map +1 -1
  576. package/dist/index410.js +14 -15
  577. package/dist/index410.js.map +1 -1
  578. package/dist/index411.js +491 -4
  579. package/dist/index411.js.map +1 -1
  580. package/dist/index412.js +3 -56
  581. package/dist/index412.js.map +1 -1
  582. package/dist/index413.js +3 -68
  583. package/dist/index413.js.map +1 -1
  584. package/dist/index414.js +5 -31
  585. package/dist/index414.js.map +1 -1
  586. package/dist/index415.js +56 -9
  587. package/dist/index415.js.map +1 -1
  588. package/dist/index416.js +61 -146
  589. package/dist/index416.js.map +1 -1
  590. package/dist/index417.js +26 -103
  591. package/dist/index417.js.map +1 -1
  592. package/dist/index418.js +9 -8
  593. package/dist/index418.js.map +1 -1
  594. package/dist/index419.js +153 -2
  595. package/dist/index419.js.map +1 -1
  596. package/dist/index42.js +21 -50
  597. package/dist/index42.js.map +1 -1
  598. package/dist/index420.js +107 -43
  599. package/dist/index420.js.map +1 -1
  600. package/dist/index421.js +32 -55
  601. package/dist/index421.js.map +1 -1
  602. package/dist/index422.js +6 -6
  603. package/dist/index422.js.map +1 -1
  604. package/dist/index424.js +38 -49
  605. package/dist/index424.js.map +1 -1
  606. package/dist/index425.js +50 -50
  607. package/dist/index425.js.map +1 -1
  608. package/dist/index426.js +8 -3
  609. package/dist/index426.js.map +1 -1
  610. package/dist/index427.js +2 -15
  611. package/dist/index427.js.map +1 -1
  612. package/dist/index428.js +50 -487
  613. package/dist/index428.js.map +1 -1
  614. package/dist/index429.js +55 -32
  615. package/dist/index429.js.map +1 -1
  616. package/dist/index43.js +127 -18
  617. package/dist/index43.js.map +1 -1
  618. package/dist/index430.js +16 -2
  619. package/dist/index430.js.map +1 -1
  620. package/dist/index431.js +29 -2
  621. package/dist/index431.js.map +1 -1
  622. package/dist/index432.js +13 -2
  623. package/dist/index432.js.map +1 -1
  624. package/dist/index433.js +7 -2
  625. package/dist/index433.js.map +1 -1
  626. package/dist/index434.js +2 -16
  627. package/dist/index434.js.map +1 -1
  628. package/dist/index435.js +2 -29
  629. package/dist/index435.js.map +1 -1
  630. package/dist/index436.js +2 -13
  631. package/dist/index436.js.map +1 -1
  632. package/dist/index437.js +2 -7
  633. package/dist/index437.js.map +1 -1
  634. package/dist/index44.js +39 -122
  635. package/dist/index44.js.map +1 -1
  636. package/dist/index45.js +85 -42
  637. package/dist/index45.js.map +1 -1
  638. package/dist/index46.js +123 -87
  639. package/dist/index46.js.map +1 -1
  640. package/dist/index47.js +5 -126
  641. package/dist/index47.js.map +1 -1
  642. package/dist/index48.js +332 -5
  643. package/dist/index48.js.map +1 -1
  644. package/dist/index49.js +246 -321
  645. package/dist/index49.js.map +1 -1
  646. package/dist/index5.js +2 -2
  647. package/dist/index50.js +23 -254
  648. package/dist/index50.js.map +1 -1
  649. package/dist/index51.js +129 -25
  650. package/dist/index51.js.map +1 -1
  651. package/dist/index52.js +24 -129
  652. package/dist/index52.js.map +1 -1
  653. package/dist/index53.js +19 -22
  654. package/dist/index53.js.map +1 -1
  655. package/dist/index54.js +134 -19
  656. package/dist/index54.js.map +1 -1
  657. package/dist/index55.js +30 -133
  658. package/dist/index55.js.map +1 -1
  659. package/dist/index56.js +24 -30
  660. package/dist/index56.js.map +1 -1
  661. package/dist/index57.js +38 -26
  662. package/dist/index57.js.map +1 -1
  663. package/dist/index58.js +19 -39
  664. package/dist/index58.js.map +1 -1
  665. package/dist/index59.js +133 -18
  666. package/dist/index59.js.map +1 -1
  667. package/dist/index6.js +4 -4
  668. package/dist/index60.js +49 -134
  669. package/dist/index60.js.map +1 -1
  670. package/dist/index61.js +25 -48
  671. package/dist/index61.js.map +1 -1
  672. package/dist/index62.js +57 -28
  673. package/dist/index62.js.map +1 -1
  674. package/dist/index63.js +56 -57
  675. package/dist/index63.js.map +1 -1
  676. package/dist/index64.js +5 -5
  677. package/dist/index64.js.map +1 -1
  678. package/dist/index66.js +22 -10
  679. package/dist/index66.js.map +1 -1
  680. package/dist/index67.js +232 -17
  681. package/dist/index67.js.map +1 -1
  682. package/dist/index68.js +5 -5
  683. package/dist/index68.js.map +1 -1
  684. package/dist/index7.js +11 -11
  685. package/dist/index70.js +10 -22
  686. package/dist/index70.js.map +1 -1
  687. package/dist/index71.js +17 -232
  688. package/dist/index71.js.map +1 -1
  689. package/dist/index76.js +1 -1
  690. package/dist/index77.js +2 -2
  691. package/dist/index78.js +2 -2
  692. package/dist/index8.js +2 -2
  693. package/dist/index9.js +1 -1
  694. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index316.js","sources":["../../../node_modules/libphonenumber-js/es6/isPossible.js"],"sourcesContent":["import Metadata from './metadata.js';\nimport checkNumberLength from './helpers/checkNumberLength.js';\n\n/**\r\n * Checks if a phone number is \"possible\" (basically just checks its length).\r\n *\r\n * isPossible(phoneNumberInstance, { ..., v2: true }, metadata)\r\n *\r\n * isPossible({ phone: '8005553535', country: 'RU' }, { ... }, metadata)\r\n * isPossible({ phone: '8005553535', country: 'RU' }, undefined, metadata)\r\n *\r\n * @param {object|PhoneNumber} input — If `options.v2: true` flag is passed, the `input` should be a `PhoneNumber` instance. Otherwise, it should be an object of shape `{ phone: '...', country: '...' }`.\r\n * @param {object} [options]\r\n * @param {object} metadataJson\r\n * @return {string}\r\n */\nexport default function isPossiblePhoneNumber(input, options, metadataJson) {\n /* istanbul ignore if */\n if (options === undefined) {\n options = {};\n }\n var metadata = new Metadata(metadataJson);\n if (options.v2) {\n if (!input.countryCallingCode) {\n throw new Error('Invalid phone number object passed');\n }\n metadata.selectNumberingPlan(input.country || input.countryCallingCode);\n } else {\n if (!input.phone) {\n return false;\n }\n if (input.country) {\n if (!metadata.hasCountry(input.country)) {\n throw new Error(\"Unknown country: \".concat(input.country));\n }\n metadata.selectNumberingPlan(input.country);\n } else {\n if (!input.countryCallingCode) {\n throw new Error('Invalid phone number object passed');\n }\n metadata.selectNumberingPlan(input.countryCallingCode);\n }\n }\n\n // Old (legacy) metadata (< 1.0.18) had no \"possible length\" data.\n // So `isPossibleNumber()` function is supported only for non-legacy metadata.\n if (metadata.possibleLengths()) {\n return isPossibleNumber(input.phone || input.nationalNumber, metadata);\n }\n\n // There was a bug in versions from `1.7.35` to `1.7.37` of `libphonenumber-js`\n // where \"possible_lengths\" property was missing from \"non-geographical\" numbering plans' metadata.\n // After that, the bug was noticed and fixed.\n // So for versions from `1.7.35` to `1.7.37`, just assume that all \"non=geotraphical\" numbers are possible.\n // The reason is that the bug was noticed relatively quickly (within a day or so)\n // and it's unlikely that anyone generated their custom metadata in that short time span.\n // And if they didn't generate any custom metadata then a follow-up package update would've silently fixed the bug.\n if (input.countryCallingCode && metadata.isNonGeographicCallingCode(input.countryCallingCode)) {\n return true;\n }\n\n // `isPossibleNumber()` function is not supported.\n throw new Error('Missing \"possibleLengths\" in metadata. Perhaps the metadata has been generated before v1.0.18.');\n}\n\n/**\r\n * Tells if a given national (significant) number is possible\r\n * @param {string} nationalNumber\r\n * @param {Metadata} metadata = Metadata instance with a pre-selected telephone numbering plan.\r\n * @returns {boolean}\r\n */\nexport function isPossibleNumber(nationalNumber, metadata) {\n switch (checkNumberLength(nationalNumber, undefined, metadata)) {\n case 'IS_POSSIBLE':\n return true;\n // This library ignores \"local-only\" phone numbers (for simplicity).\n // See the readme for more info on what are \"local-only\" phone numbers.\n // case 'IS_POSSIBLE_LOCAL_ONLY':\n // \treturn !isInternational\n default:\n return false;\n }\n}\n//# sourceMappingURL=isPossible.js.map"],"names":["isPossiblePhoneNumber","input","options","metadataJson","metadata","Metadata","isPossibleNumber","nationalNumber","checkNumberLength"],"mappings":";;AAgBe,SAASA,EAAsBC,GAAOC,GAASC,GAAc;AAE1E,EAAID,MAAY,WACdA,IAAU,CAAA;AAEZ,MAAIE,IAAW,IAAIC,EAASF,CAAY;AACxC,MAAID,EAAQ,IAAI;AACd,QAAI,CAACD,EAAM;AACT,YAAM,IAAI,MAAM,oCAAoC;AAEtD,IAAAG,EAAS,oBAAoBH,EAAM,WAAWA,EAAM,kBAAkB;AAAA,EACxE,OAAO;AACL,QAAI,CAACA,EAAM;AACT,aAAO;AAET,QAAIA,EAAM,SAAS;AACjB,UAAI,CAACG,EAAS,WAAWH,EAAM,OAAO;AACpC,cAAM,IAAI,MAAM,oBAAoB,OAAOA,EAAM,OAAO,CAAC;AAE3D,MAAAG,EAAS,oBAAoBH,EAAM,OAAO;AAAA,IAC5C,OAAO;AACL,UAAI,CAACA,EAAM;AACT,cAAM,IAAI,MAAM,oCAAoC;AAEtD,MAAAG,EAAS,oBAAoBH,EAAM,kBAAkB;AAAA,IACvD;AAAA,EACF;AAIA,MAAIG,EAAS;AACX,WAAOE,EAAiBL,EAAM,SAASA,EAAM,gBAAgBG,CAAQ;AAUvE,MAAIH,EAAM,sBAAsBG,EAAS,2BAA2BH,EAAM,kBAAkB;AAC1F,WAAO;AAIT,QAAM,IAAI,MAAM,gGAAgG;AAClH;AAQO,SAASK,EAAiBC,GAAgBH,GAAU;AACzD,SAAQI,EAAkBD,GAAgB,QAAWH,CAAQ,MACtD;AAST;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index316.js","sources":["../../../node_modules/@base-ui/react/utils/useAnchorPositioning.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { getSide, getAlignment, getSideAxis } from '@floating-ui/utils';\nimport { ownerDocument, ownerWindow } from '@base-ui/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useValueAsRef } from '@base-ui/utils/useValueAsRef';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { autoUpdate, flip, limitShift, offset, shift, useFloating, size } from \"../floating-ui-react/index.mjs\";\nimport { useDirection } from \"../internals/direction-context/DirectionContext.mjs\";\nimport { arrow } from \"../floating-ui-react/middleware/arrow.mjs\";\nimport { hide } from \"./hideMiddleware.mjs\";\nimport { DEFAULT_SIDES } from \"./adaptiveOriginMiddleware.mjs\";\nfunction getLogicalSide(sideParam, renderedSide, isRtl) {\n const isLogicalSideParam = sideParam === 'inline-start' || sideParam === 'inline-end';\n const logicalRight = isRtl ? 'inline-start' : 'inline-end';\n const logicalLeft = isRtl ? 'inline-end' : 'inline-start';\n return {\n top: 'top',\n right: isLogicalSideParam ? logicalRight : 'right',\n bottom: 'bottom',\n left: isLogicalSideParam ? logicalLeft : 'left'\n }[renderedSide];\n}\nfunction getOffsetData(state, sideParam, isRtl) {\n const {\n rects,\n placement\n } = state;\n const data = {\n side: getLogicalSide(sideParam, getSide(placement), isRtl),\n align: getAlignment(placement) || 'center',\n anchor: {\n width: rects.reference.width,\n height: rects.reference.height\n },\n positioner: {\n width: rects.floating.width,\n height: rects.floating.height\n }\n };\n return data;\n}\n/**\n * Provides standardized anchor positioning behavior for floating elements. Wraps Floating UI's\n * `useFloating` hook.\n */\nexport function useAnchorPositioning(params) {\n const {\n // Public parameters\n anchor,\n positionMethod = 'absolute',\n side: sideParam = 'bottom',\n sideOffset = 0,\n align = 'center',\n alignOffset = 0,\n collisionBoundary,\n collisionPadding: collisionPaddingParam = 5,\n sticky = false,\n arrowPadding = 5,\n disableAnchorTracking = false,\n inline: inlineMiddleware,\n // Private parameters\n keepMounted = false,\n floatingRootContext,\n mounted,\n collisionAvoidance,\n shiftCrossAxis = false,\n nodeId,\n adaptiveOrigin,\n lazyFlip = false,\n externalTree\n } = params;\n const [mountSide, setMountSide] = React.useState(null);\n if (!mounted && mountSide !== null) {\n setMountSide(null);\n }\n const collisionAvoidanceSide = collisionAvoidance.side || 'flip';\n const collisionAvoidanceAlign = collisionAvoidance.align || 'flip';\n const collisionAvoidanceFallbackAxisSide = collisionAvoidance.fallbackAxisSide || 'end';\n const anchorFn = typeof anchor === 'function' ? anchor : undefined;\n const anchorFnCallback = useStableCallback(anchorFn);\n const anchorDep = anchorFn ? anchorFnCallback : anchor;\n const anchorValueRef = useValueAsRef(anchor);\n const mountedRef = useValueAsRef(mounted);\n const direction = useDirection();\n const isRtl = direction === 'rtl';\n const side = mountSide || {\n top: 'top',\n right: 'right',\n bottom: 'bottom',\n left: 'left',\n 'inline-end': isRtl ? 'left' : 'right',\n 'inline-start': isRtl ? 'right' : 'left'\n }[sideParam];\n const placement = align === 'center' ? side : `${side}-${align}`;\n let collisionPadding = collisionPaddingParam;\n\n // Create a bias to the preferred side.\n // On iOS, when the mobile software keyboard opens, the input is exactly centered\n // in the viewport, but this can cause it to flip to the top undesirably.\n const bias = 1;\n const biasTop = sideParam === 'bottom' ? bias : 0;\n const biasBottom = sideParam === 'top' ? bias : 0;\n const biasLeft = sideParam === 'right' ? bias : 0;\n const biasRight = sideParam === 'left' ? bias : 0;\n if (typeof collisionPadding === 'number') {\n collisionPadding = {\n top: collisionPadding + biasTop,\n right: collisionPadding + biasRight,\n bottom: collisionPadding + biasBottom,\n left: collisionPadding + biasLeft\n };\n } else if (collisionPadding) {\n collisionPadding = {\n top: (collisionPadding.top || 0) + biasTop,\n right: (collisionPadding.right || 0) + biasRight,\n bottom: (collisionPadding.bottom || 0) + biasBottom,\n left: (collisionPadding.left || 0) + biasLeft\n };\n }\n const commonCollisionProps = {\n boundary: collisionBoundary === 'clipping-ancestors' ? 'clippingAncestors' : collisionBoundary,\n padding: collisionPadding\n };\n\n // Using a ref assumes that the arrow element is always present in the DOM for the lifetime of the\n // popup. If this assumption ends up being false, we can switch to state to manage the arrow's\n // presence.\n const arrowRef = React.useRef(null);\n\n // Keep these reactive if they're not functions\n const sideOffsetRef = useValueAsRef(sideOffset);\n const alignOffsetRef = useValueAsRef(alignOffset);\n const sideOffsetDep = typeof sideOffset !== 'function' ? sideOffset : 0;\n const alignOffsetDep = typeof alignOffset !== 'function' ? alignOffset : 0;\n const middleware = [];\n if (inlineMiddleware) {\n middleware.push(inlineMiddleware);\n }\n middleware.push(offset(state => {\n const data = getOffsetData(state, sideParam, isRtl);\n const sideAxis = typeof sideOffsetRef.current === 'function' ? sideOffsetRef.current(data) : sideOffsetRef.current;\n const alignAxis = typeof alignOffsetRef.current === 'function' ? alignOffsetRef.current(data) : alignOffsetRef.current;\n return {\n mainAxis: sideAxis,\n crossAxis: alignAxis,\n alignmentAxis: alignAxis\n };\n }, [sideOffsetDep, alignOffsetDep, isRtl, sideParam]));\n const shiftDisabled = collisionAvoidanceAlign === 'none' && collisionAvoidanceSide !== 'shift';\n const crossAxisShiftEnabled = !shiftDisabled && (sticky || shiftCrossAxis || collisionAvoidanceSide === 'shift');\n const flipMiddleware = collisionAvoidanceSide === 'none' ? null : flip({\n ...commonCollisionProps,\n // Ensure the popup flips if it's been limited by its --available-height and it resizes.\n // Since the size() padding is smaller than the flip() padding, flip() will take precedence.\n padding: {\n top: collisionPadding.top + bias,\n right: collisionPadding.right + bias,\n bottom: collisionPadding.bottom + bias,\n left: collisionPadding.left + bias\n },\n mainAxis: !shiftCrossAxis && collisionAvoidanceSide === 'flip',\n crossAxis: collisionAvoidanceAlign === 'flip' ? 'alignment' : false,\n fallbackAxisSideDirection: collisionAvoidanceFallbackAxisSide\n });\n const shiftMiddleware = shiftDisabled ? null : shift(data => {\n const html = ownerDocument(data.elements.floating).documentElement;\n return {\n ...commonCollisionProps,\n // Use the Layout Viewport to avoid shifting around when pinch-zooming\n // for context menus.\n rootBoundary: shiftCrossAxis ? {\n x: 0,\n y: 0,\n width: html.clientWidth,\n height: html.clientHeight\n } : undefined,\n mainAxis: collisionAvoidanceAlign !== 'none',\n crossAxis: crossAxisShiftEnabled,\n limiter: sticky || shiftCrossAxis ? undefined : limitShift(limitData => {\n if (!arrowRef.current) {\n return {};\n }\n const {\n width,\n height\n } = arrowRef.current.getBoundingClientRect();\n const sideAxis = getSideAxis(getSide(limitData.placement));\n const arrowSize = sideAxis === 'y' ? width : height;\n const offsetAmount = sideAxis === 'y' ? collisionPadding.left + collisionPadding.right : collisionPadding.top + collisionPadding.bottom;\n return {\n offset: arrowSize / 2 + offsetAmount / 2\n };\n })\n };\n }, [commonCollisionProps, sticky, shiftCrossAxis, collisionPadding, collisionAvoidanceAlign]);\n\n // https://floating-ui.com/docs/flip#combining-with-shift\n if (collisionAvoidanceSide === 'shift' || collisionAvoidanceAlign === 'shift' || align === 'center') {\n middleware.push(shiftMiddleware, flipMiddleware);\n } else {\n middleware.push(flipMiddleware, shiftMiddleware);\n }\n middleware.push(size({\n ...commonCollisionProps,\n apply({\n elements: {\n floating\n },\n availableWidth,\n availableHeight,\n rects\n }) {\n if (!mountedRef.current) {\n return;\n }\n const floatingStyle = floating.style;\n floatingStyle.setProperty('--available-width', `${availableWidth}px`);\n floatingStyle.setProperty('--available-height', `${availableHeight}px`);\n\n // Snap anchor dimensions to device pixels to ensure the popup's visual width matches the anchor's one.\n const dpr = ownerWindow(floating).devicePixelRatio || 1;\n const {\n x,\n y,\n width,\n height\n } = rects.reference;\n const anchorWidth = (Math.round((x + width) * dpr) - Math.round(x * dpr)) / dpr;\n const anchorHeight = (Math.round((y + height) * dpr) - Math.round(y * dpr)) / dpr;\n floatingStyle.setProperty('--anchor-width', `${anchorWidth}px`);\n floatingStyle.setProperty('--anchor-height', `${anchorHeight}px`);\n }\n }), arrow(state => ({\n // `transform-origin` calculations rely on an element existing. If the arrow hasn't been set,\n // we'll create a fake element.\n element: arrowRef.current || ownerDocument(state.elements.floating).createElement('div'),\n padding: arrowPadding,\n offsetParent: 'floating'\n }), [arrowPadding]), {\n name: 'transformOrigin',\n fn(state) {\n const {\n elements,\n middlewareData,\n placement: renderedPlacement,\n rects,\n y\n } = state;\n const currentRenderedSide = getSide(renderedPlacement);\n const currentRenderedAxis = getSideAxis(currentRenderedSide);\n const arrowEl = arrowRef.current;\n const arrowX = middlewareData.arrow?.x || 0;\n const arrowY = middlewareData.arrow?.y || 0;\n const arrowWidth = arrowEl?.clientWidth || 0;\n const arrowHeight = arrowEl?.clientHeight || 0;\n const transformX = arrowX + arrowWidth / 2;\n const transformY = arrowY + arrowHeight / 2;\n const shiftY = Math.abs(middlewareData.shift?.y || 0);\n const halfAnchorHeight = rects.reference.height / 2;\n const sideOffsetValue = typeof sideOffset === 'function' ? sideOffset(getOffsetData(state, sideParam, isRtl)) : sideOffset;\n const isOverlappingAnchor = shiftY > sideOffsetValue;\n const adjacentTransformOrigin = {\n top: `${transformX}px calc(100% + ${sideOffsetValue}px)`,\n bottom: `${transformX}px ${-sideOffsetValue}px`,\n left: `calc(100% + ${sideOffsetValue}px) ${transformY}px`,\n right: `${-sideOffsetValue}px ${transformY}px`\n }[currentRenderedSide];\n const overlapTransformOrigin = `${transformX}px ${rects.reference.y + halfAnchorHeight - y}px`;\n elements.floating.style.setProperty('--transform-origin', crossAxisShiftEnabled && currentRenderedAxis === 'y' && isOverlappingAnchor ? overlapTransformOrigin : adjacentTransformOrigin);\n return {};\n }\n }, hide, adaptiveOrigin);\n useIsoLayoutEffect(() => {\n // Ensure positioning doesn't run initially for `keepMounted` elements that\n // aren't initially open.\n if (!mounted && floatingRootContext) {\n floatingRootContext.update({\n referenceElement: null,\n floatingElement: null,\n domReferenceElement: null,\n positionReference: null\n });\n }\n }, [mounted, floatingRootContext]);\n const autoUpdateOptions = React.useMemo(() => ({\n elementResize: !disableAnchorTracking && typeof ResizeObserver !== 'undefined',\n layoutShift: !disableAnchorTracking && typeof IntersectionObserver !== 'undefined'\n }), [disableAnchorTracking]);\n const {\n refs,\n elements,\n x,\n y,\n middlewareData,\n update,\n placement: renderedPlacement,\n context,\n isPositioned,\n floatingStyles: originalFloatingStyles\n } = useFloating({\n rootContext: floatingRootContext,\n open: keepMounted ? mounted : undefined,\n placement,\n middleware,\n strategy: positionMethod,\n whileElementsMounted: keepMounted ? undefined : (...args) => autoUpdate(...args, autoUpdateOptions),\n nodeId,\n externalTree\n });\n const {\n sideX,\n sideY\n } = middlewareData.adaptiveOrigin || DEFAULT_SIDES;\n\n // Default to `fixed` when not positioned to prevent `autoFocus` scroll jumps.\n // This ensures the popup is inside the viewport initially before it gets positioned.\n const resolvedPosition = isPositioned ? positionMethod : 'fixed';\n const floatingStyles = React.useMemo(() => {\n const base = adaptiveOrigin ? {\n position: resolvedPosition,\n [sideX]: x,\n [sideY]: y\n } : {\n position: resolvedPosition,\n ...originalFloatingStyles\n };\n if (!isPositioned) {\n base.opacity = 0;\n }\n return base;\n }, [adaptiveOrigin, resolvedPosition, sideX, x, sideY, y, originalFloatingStyles, isPositioned]);\n const registeredPositionReferenceRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n const resolvedAnchor = typeof anchorValue === 'function' ? anchorValue() : anchorValue;\n const unwrappedElement = (isRef(resolvedAnchor) ? resolvedAnchor.current : resolvedAnchor) || null;\n const finalAnchor = unwrappedElement || null;\n if (finalAnchor !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(finalAnchor);\n registeredPositionReferenceRef.current = finalAnchor;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n\n // Refs from parent components are set after useLayoutEffect runs and are available in useEffect.\n // Therefore, if the anchor is a ref, we need to update the position reference in useEffect.\n if (typeof anchorValue === 'function') {\n return;\n }\n if (isRef(anchorValue) && anchorValue.current !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(anchorValue.current);\n registeredPositionReferenceRef.current = anchorValue.current;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (keepMounted && mounted && elements.reference && elements.floating) {\n return autoUpdate(elements.reference, elements.floating, update, autoUpdateOptions);\n }\n return undefined;\n }, [keepMounted, mounted, elements, update, autoUpdateOptions]);\n const renderedSide = getSide(renderedPlacement);\n const logicalRenderedSide = getLogicalSide(sideParam, renderedSide, isRtl);\n const renderedAlign = getAlignment(renderedPlacement) || 'center';\n const anchorHidden = Boolean(middlewareData.hide?.referenceHidden);\n\n // Locks the flip (makes it \"sticky\") so it doesn't prefer a given placement\n // and flips back lazily, not eagerly. Ideal for filtered lists that change\n // the size of the popup dynamically to avoid unwanted flipping when typing.\n useIsoLayoutEffect(() => {\n if (lazyFlip && mounted && isPositioned) {\n setMountSide(renderedSide);\n }\n }, [lazyFlip, mounted, isPositioned, renderedSide]);\n const arrowStyles = React.useMemo(() => ({\n position: 'absolute',\n top: middlewareData.arrow?.y,\n left: middlewareData.arrow?.x\n }), [middlewareData.arrow]);\n const arrowUncentered = middlewareData.arrow?.centerOffset !== 0;\n return React.useMemo(() => ({\n positionerStyles: floatingStyles,\n arrowStyles,\n arrowRef,\n arrowUncentered,\n side: logicalRenderedSide,\n align: renderedAlign,\n physicalSide: renderedSide,\n anchorHidden,\n refs,\n context,\n isPositioned,\n update\n }), [floatingStyles, arrowStyles, arrowRef, arrowUncentered, logicalRenderedSide, renderedAlign, renderedSide, anchorHidden, refs, context, isPositioned, update]);\n}\nfunction isRef(param) {\n return param != null && 'current' in param;\n}"],"names":["getLogicalSide","sideParam","renderedSide","isRtl","isLogicalSideParam","getOffsetData","state","rects","placement","getSide","getAlignment","useAnchorPositioning","params","anchor","positionMethod","sideOffset","align","alignOffset","collisionBoundary","collisionPaddingParam","sticky","arrowPadding","disableAnchorTracking","inlineMiddleware","keepMounted","floatingRootContext","mounted","collisionAvoidance","shiftCrossAxis","nodeId","adaptiveOrigin","lazyFlip","externalTree","mountSide","setMountSide","React","collisionAvoidanceSide","collisionAvoidanceAlign","collisionAvoidanceFallbackAxisSide","anchorFn","anchorFnCallback","useStableCallback","anchorDep","anchorValueRef","useValueAsRef","mountedRef","useDirection","side","collisionPadding","bias","biasTop","biasBottom","biasLeft","biasRight","commonCollisionProps","arrowRef","sideOffsetRef","alignOffsetRef","sideOffsetDep","alignOffsetDep","middleware","offset","data","sideAxis","alignAxis","shiftDisabled","crossAxisShiftEnabled","flipMiddleware","flip","shiftMiddleware","shift","html","ownerDocument","limitShift","limitData","width","height","getSideAxis","arrowSize","offsetAmount","size","floating","availableWidth","availableHeight","floatingStyle","dpr","ownerWindow","x","y","anchorWidth","anchorHeight","arrow","elements","middlewareData","renderedPlacement","currentRenderedSide","currentRenderedAxis","arrowEl","arrowX","arrowY","arrowWidth","arrowHeight","transformX","transformY","shiftY","halfAnchorHeight","sideOffsetValue","isOverlappingAnchor","adjacentTransformOrigin","overlapTransformOrigin","hide","useIsoLayoutEffect","autoUpdateOptions","refs","update","context","isPositioned","originalFloatingStyles","useFloating","args","autoUpdate","sideX","sideY","DEFAULT_SIDES","resolvedPosition","floatingStyles","base","registeredPositionReferenceRef","anchorValue","resolvedAnchor","finalAnchor","isRef","logicalRenderedSide","renderedAlign","anchorHidden","arrowStyles","arrowUncentered","param"],"mappings":";;;;;;;;;;;;;;AAaA,SAASA,GAAeC,GAAWC,GAAcC,GAAO;AACtD,QAAM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";
2
- import l from "./index333.js";
3
- import o from "./index318.js";
4
- function i(e, a, t) {
5
- a = a || {};
6
- var r = new n(t);
7
- if (r.selectNumberingPlan(e.country || e.countryCallingCode), r.hasTypes())
8
- return o(e, a, r.metadata) !== void 0;
9
- var m = a.v2 ? e.nationalNumber : e.phone;
10
- return l(m, r.nationalNumberPattern());
1
+ import n from "./index168.js";
2
+ import * as t from "react";
3
+ const o = /* @__PURE__ */ t.createContext(void 0);
4
+ process.env.NODE_ENV !== "production" && (o.displayName = "SelectPositionerContext");
5
+ function i() {
6
+ const e = t.useContext(o);
7
+ if (!e)
8
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>." : n(59));
9
+ return e;
11
10
  }
12
11
  export {
13
- i as default
12
+ o as SelectPositionerContext,
13
+ i as useSelectPositionerContext
14
14
  };
15
15
  //# sourceMappingURL=index317.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index317.js","sources":["../../../node_modules/libphonenumber-js/es6/isValid.js"],"sourcesContent":["import Metadata from './metadata.js';\nimport matchesEntirely from './helpers/matchesEntirely.js';\nimport getNumberType from './helpers/getNumberType.js';\n\n/**\r\n * Checks if a given phone number is valid.\r\n *\r\n * isValid(phoneNumberInstance, { ..., v2: true }, metadata)\r\n *\r\n * isPossible({ phone: '8005553535', country: 'RU' }, { ... }, metadata)\r\n * isPossible({ phone: '8005553535', country: 'RU' }, undefined, metadata)\r\n *\r\n * If the `number` is a string, it will be parsed to an object,\r\n * but only if it contains only valid phone number characters (including punctuation).\r\n * If the `number` is an object, it is used as is.\r\n *\r\n * The optional `defaultCountry` argument is the default country.\r\n * I.e. it does not restrict to just that country,\r\n * e.g. in those cases where several countries share\r\n * the same phone numbering rules (NANPA, Britain, etc).\r\n * For example, even though the number `07624 369230`\r\n * belongs to the Isle of Man (\"IM\" country code)\r\n * calling `isValidNumber('07624369230', 'GB', metadata)`\r\n * still returns `true` because the country is not restricted to `GB`,\r\n * it's just that `GB` is the default one for the phone numbering rules.\r\n * For restricting the country see `isValidNumberForRegion()`\r\n * though restricting a country might not be a good idea.\r\n * https://github.com/googlei18n/libphonenumber/blob/master/FAQ.md#when-should-i-use-isvalidnumberforregion\r\n *\r\n * Examples:\r\n *\r\n * ```js\r\n * isValidNumber('+78005553535', metadata)\r\n * isValidNumber('8005553535', 'RU', metadata)\r\n * isValidNumber('88005553535', 'RU', metadata)\r\n * isValidNumber({ phone: '8005553535', country: 'RU' }, metadata)\r\n * ```\r\n */\nexport default function isValidNumber(input, options, metadataJson) {\n // If assigning the `{}` default value is moved to the arguments above,\n // code coverage would decrease for some weird reason.\n options = options || {};\n var metadata = new Metadata(metadataJson);\n metadata.selectNumberingPlan(input.country || input.countryCallingCode);\n\n // By default, countries only have type regexps when it's required for\n // distinguishing different countries having the same `countryCallingCode`.\n if (metadata.hasTypes()) {\n return getNumberType(input, options, metadata.metadata) !== undefined;\n }\n\n // If there are no type regexps for this country in metadata then use\n // `nationalNumberPattern` as a \"better than nothing\" replacement.\n var nationalNumber = options.v2 ? input.nationalNumber : input.phone;\n return matchesEntirely(nationalNumber, metadata.nationalNumberPattern());\n}\n//# sourceMappingURL=isValid.js.map"],"names":["isValidNumber","input","options","metadataJson","metadata","Metadata","getNumberType","nationalNumber","matchesEntirely"],"mappings":";;;AAsCe,SAASA,EAAcC,GAAOC,GAASC,GAAc;AAGlE,EAAAD,IAAUA,KAAW,CAAA;AACrB,MAAIE,IAAW,IAAIC,EAASF,CAAY;AAKxC,MAJAC,EAAS,oBAAoBH,EAAM,WAAWA,EAAM,kBAAkB,GAIlEG,EAAS;AACX,WAAOE,EAAcL,GAAOC,GAASE,EAAS,QAAQ,MAAM;AAK9D,MAAIG,IAAiBL,EAAQ,KAAKD,EAAM,iBAAiBA,EAAM;AAC/D,SAAOO,EAAgBD,GAAgBH,EAAS,sBAAqB,CAAE;AACzE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index317.js","sources":["../../../node_modules/@base-ui/react/select/positioner/SelectPositionerContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") SelectPositionerContext.displayName = \"SelectPositionerContext\";\nexport function useSelectPositionerContext() {\n const context = React.useContext(SelectPositionerContext);\n if (!context) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.' : _formatErrorMessage(59));\n }\n return context;\n}"],"names":["SelectPositionerContext","React","useSelectPositionerContext","context","_formatErrorMessage"],"mappings":";;AAIY,MAACA,IAAuC,gBAAAC,EAAM,cAAc,MAAS;AAC7E,QAAQ,IAAI,aAAa,iBAAcD,EAAwB,cAAc;AAC1E,SAASE,IAA6B;AAC3C,QAAMC,IAAUF,EAAM,WAAWD,CAAuB;AACxD,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,mHAAmHC,EAAoB,EAAE,CAAC;AAEpM,SAAOD;AACT;","x_google_ignoreList":[0]}
package/dist/index318.js CHANGED
@@ -1,53 +1,14 @@
1
- import I from "./index163.js";
2
- import f from "./index333.js";
3
- function y(e, n) {
4
- var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
5
- if (r) return (r = r.call(e)).next.bind(r);
6
- if (Array.isArray(e) || (r = c(e)) || n) {
7
- r && (e = r);
8
- var t = 0;
9
- return function() {
10
- return t >= e.length ? { done: !0 } : { done: !1, value: e[t++] };
11
- };
12
- }
13
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
15
- }
16
- function c(e, n) {
17
- if (e) {
18
- if (typeof e == "string") return l(e, n);
19
- var r = {}.toString.call(e).slice(8, -1);
20
- 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) ? l(e, n) : void 0;
21
- }
22
- }
23
- function l(e, n) {
24
- (n == null || n > e.length) && (n = e.length);
25
- for (var r = 0, t = Array(n); r < n; r++) t[r] = e[r];
26
- return t;
27
- }
28
- var s = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
29
- function O(e, n, r) {
30
- if (n = n || {}, !(!e.country && !e.countryCallingCode)) {
31
- var t = new I(r);
32
- t.selectNumberingPlan(e.country || e.countryCallingCode);
33
- var a = n.v2 ? e.nationalNumber : e.phone;
34
- if (f(a, t.nationalNumberPattern())) {
35
- if (o(a, "FIXED_LINE", t))
36
- return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || o(a, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
37
- for (var E = y(s), i; !(i = E()).done; ) {
38
- var u = i.value;
39
- if (o(a, u, t))
40
- return u;
41
- }
42
- }
43
- }
44
- }
45
- function o(e, n, r) {
46
- var t = r.type(n);
47
- return !t || !t.pattern() || t.possibleLengths() && t.possibleLengths().indexOf(e.length) < 0 ? !1 : f(e, t.pattern());
48
- }
1
+ function e(o, t) {
2
+ o && Object.assign(o.style, t);
3
+ }
4
+ const i = {
5
+ position: "relative",
6
+ maxHeight: "100%",
7
+ overflowX: "hidden",
8
+ overflowY: "auto"
9
+ };
49
10
  export {
50
- O as default,
51
- o as isNumberTypeEqualTo
11
+ i as LIST_FUNCTIONAL_STYLES,
12
+ e as clearStyles
52
13
  };
53
14
  //# sourceMappingURL=index318.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index318.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/getNumberType.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 Metadata from '../metadata.js';\nimport matchesEntirely from './matchesEntirely.js';\nvar NON_FIXED_LINE_PHONE_TYPES = ['MOBILE', 'PREMIUM_RATE', 'TOLL_FREE', 'SHARED_COST', 'VOIP', 'PERSONAL_NUMBER', 'PAGER', 'UAN', 'VOICEMAIL'];\n\n// Finds out national phone number type (fixed line, mobile, etc)\nexport default function getNumberType(input, options, metadataJson) {\n // If assigning the `{}` default value is moved to the arguments above,\n // code coverage would decrease for some weird reason.\n options = options || {};\n\n // When `parse()` returns an empty object — `{}` —\n // that means that the phone number is malformed,\n // so it can't possibly be valid.\n if (!input.country && !input.countryCallingCode) {\n return;\n }\n var metadata = new Metadata(metadataJson);\n metadata.selectNumberingPlan(input.country || input.countryCallingCode);\n var nationalNumber = options.v2 ? input.nationalNumber : input.phone;\n\n // The following is copy-pasted from the original function:\n // https://github.com/googlei18n/libphonenumber/blob/3ea547d4fbaa2d0b67588904dfa5d3f2557c27ff/javascript/i18n/phonenumbers/phonenumberutil.js#L2835\n\n // Is this national number even valid for this country\n if (!matchesEntirely(nationalNumber, metadata.nationalNumberPattern())) {\n return;\n }\n\n // Is it fixed line number\n if (isNumberTypeEqualTo(nationalNumber, 'FIXED_LINE', metadata)) {\n // Because duplicate regular expressions are removed\n // to reduce metadata size, if \"mobile\" pattern is \"\"\n // then it means it was removed due to being a duplicate of the fixed-line pattern.\n //\n if (metadata.type('MOBILE') && metadata.type('MOBILE').pattern() === '') {\n return 'FIXED_LINE_OR_MOBILE';\n }\n\n // `MOBILE` type pattern isn't included if it matched `FIXED_LINE` one.\n // For example, for \"US\" country.\n // Old metadata (< `1.0.18`) had a specific \"types\" data structure\n // that happened to be `undefined` for `MOBILE` in that case.\n // Newer metadata (>= `1.0.18`) has another data structure that is\n // not `undefined` for `MOBILE` in that case (it's just an empty array).\n // So this `if` is just for backwards compatibility with old metadata.\n if (!metadata.type('MOBILE')) {\n return 'FIXED_LINE_OR_MOBILE';\n }\n\n // Check if the number happens to qualify as both fixed line and mobile.\n // (no such country in the minimal metadata set)\n /* istanbul ignore if */\n if (isNumberTypeEqualTo(nationalNumber, 'MOBILE', metadata)) {\n return 'FIXED_LINE_OR_MOBILE';\n }\n return 'FIXED_LINE';\n }\n for (var _iterator = _createForOfIteratorHelperLoose(NON_FIXED_LINE_PHONE_TYPES), _step; !(_step = _iterator()).done;) {\n var type = _step.value;\n if (isNumberTypeEqualTo(nationalNumber, type, metadata)) {\n return type;\n }\n }\n}\nexport function isNumberTypeEqualTo(nationalNumber, type, metadata) {\n var typeDefinition = metadata.type(type);\n if (!typeDefinition || !typeDefinition.pattern()) {\n return false;\n }\n\n // Check if any possible number lengths are present;\n // if so, we use them to avoid checking\n // the validation pattern if they don't match.\n // If they are absent, this means they match\n // the general description, which we have\n // already checked before a specific number type.\n if (typeDefinition.possibleLengths() && typeDefinition.possibleLengths().indexOf(nationalNumber.length) < 0) {\n return false;\n }\n return matchesEntirely(nationalNumber, typeDefinition.pattern());\n}\n//# sourceMappingURL=getNumberType.js.map"],"names":["_createForOfIteratorHelperLoose","r","e","t","_unsupportedIterableToArray","o","a","_arrayLikeToArray","n","NON_FIXED_LINE_PHONE_TYPES","getNumberType","input","options","metadataJson","metadata","Metadata","nationalNumber","matchesEntirely","isNumberTypeEqualTo","_iterator","_step","type","typeDefinition"],"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,GAAGM,IAAI,MAAMF,CAAC,GAAGJ,IAAII,GA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ent":["export function clearStyles(element, originalStyles) {\n if (element) {\n Object.assign(element.style, originalStyles);\n }\n}\nexport const LIST_FUNCTIONAL_STYLES = {\n position: 'relative',\n maxHeight: '100%',\n overflowX: 'hidden',\n overflowY: 'auto'\n};"],"names":["clearStyles","element","originalStyles","LIST_FUNCTIONAL_STYLES"],"mappings":"AAAO,SAASA,EAAYC,GAASC,GAAgB;AACnD,EAAID,KACF,OAAO,OAAOA,EAAQ,OAAOC,CAAc;AAE/C;AACY,MAACC,IAAyB;AAAA,EACpC,UAAU;AAAA,EACV,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AACb;","x_google_ignoreList":[0]}
package/dist/index319.js CHANGED
@@ -1,13 +1,29 @@
1
- import r from "./index163.js";
2
- import i from "./index376.js";
3
- function d(e, o) {
4
- var t, a, n = new r(o);
5
- return i(e) ? (t = e, n.selectNumberingPlan(t), a = n.countryCallingCode()) : a = e, {
6
- country: t,
7
- callingCode: a
1
+ import { popupStateMapping as f } from "./index151.js";
2
+ import { useRenderElement as m } from "./index150.js";
3
+ import { getDisabledMountTransitionStyles as u } from "./index326.js";
4
+ function M(e, o, {
5
+ styles: n,
6
+ transitionStatus: r,
7
+ props: i,
8
+ refs: p,
9
+ hidden: s,
10
+ inert: a = !1
11
+ }) {
12
+ const t = {
13
+ ...n
8
14
  };
15
+ return a && (t.pointerEvents = "none"), m("div", e, {
16
+ state: o,
17
+ ref: p,
18
+ props: [{
19
+ role: "presentation",
20
+ hidden: s,
21
+ style: t
22
+ }, u(r), i],
23
+ stateAttributesMapping: f
24
+ });
9
25
  }
10
26
  export {
11
- d as default
27
+ M as usePositioner
12
28
  };
13
29
  //# sourceMappingURL=index319.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index319.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/getCountryAndCallingCodeFromOneOfThem.js"],"sourcesContent":["import Metadata from '../metadata.js';\nimport isCountryCode from './isCountryCode.js';\nvar USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;\nexport default function getCountryAndCallingCodeFromOneOfThem(countryOrCallingCode, metadataJson) {\n var country;\n var callingCode;\n var metadata = new Metadata(metadataJson);\n // If country code is passed then derive `countryCallingCode` from it.\n // Also store the country code as `.country`.\n if (isCountryCode(countryOrCallingCode)) {\n country = countryOrCallingCode;\n metadata.selectNumberingPlan(country);\n callingCode = metadata.countryCallingCode();\n } else {\n callingCode = countryOrCallingCode;\n /* istanbul ignore if */\n if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\n if (metadata.isNonGeographicCallingCode(callingCode)) {\n country = '001';\n }\n }\n }\n return {\n country: country,\n callingCode: callingCode\n };\n}\n//# sourceMappingURL=getCountryAndCallingCodeFromOneOfThem.js.map"],"names":["getCountryAndCallingCodeFromOneOfThem","countryOrCallingCode","metadataJson","country","callingCode","metadata","Metadata","isCountryCode"],"mappings":";;AAGe,SAASA,EAAsCC,GAAsBC,GAAc;AAChG,MAAIC,GACAC,GACAC,IAAW,IAAIC,EAASJ,CAAY;AAGxC,SAAIK,EAAcN,CAAoB,KACpCE,IAAUF,GACVI,EAAS,oBAAoBF,CAAO,GACpCC,IAAcC,EAAS,mBAAkB,KAEzCD,IAAcH,GAQT;AAAA,IACL,SAASE;AAAA,IACT,aAAaC;AAAA,EACjB;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index319.js","sources":["../../../node_modules/@base-ui/react/utils/usePositioner.mjs"],"sourcesContent":["'use client';\n\nimport { popupStateMapping } from \"./popupStateMapping.mjs\";\nimport { useRenderElement } from \"../internals/useRenderElement.mjs\";\nimport { getDisabledMountTransitionStyles } from \"./getDisabledMountTransitionStyles.mjs\";\n/**\n * Renders the shared outer Positioner element used by popup components.\n * Applies the common role, hidden state, transition styles, state attributes, and optional inert styling.\n */\nexport function usePositioner(componentProps, state, {\n styles,\n transitionStatus,\n props,\n refs,\n hidden,\n inert = false\n}) {\n const style = {\n ...styles\n };\n if (inert) {\n style.pointerEvents = 'none';\n }\n return useRenderElement('div', componentProps, {\n state,\n ref: refs,\n props: [{\n role: 'presentation',\n hidden,\n style\n }, getDisabledMountTransitionStyles(transitionStatus), props],\n stateAttributesMapping: popupStateMapping\n });\n}"],"names":["usePositioner","componentProps","state","styles","transitionStatus","props","refs","hidden","inert","style","useRenderElement","getDisabledMountTransitionStyles","popupStateMapping"],"mappings":";;;AASO,SAASA,EAAcC,GAAgBC,GAAO;AAAA,EACnD,QAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC,IAAQ;AACV,GAAG;AACD,QAAMC,IAAQ;AAAA,IACZ,GAAGN;AAAA,EACP;AACE,SAAIK,MACFC,EAAM,gBAAgB,SAEjBC,EAAiB,OAAOT,GAAgB;AAAA,IAC7C,OAAAC;AAAA,IACA,KAAKI;AAAA,IACL,OAAO,CAAC;AAAA,MACN,MAAM;AAAA,MACN,QAAAC;AAAA,MACA,OAAAE;AAAA,IACN,GAAOE,EAAiCP,CAAgB,GAAGC,CAAK;AAAA,IAC5D,wBAAwBO;AAAA,EAC5B,CAAG;AACH;","x_google_ignoreList":[0]}
package/dist/index32.js CHANGED
@@ -1,27 +1,8 @@
1
- import { defaultDateLib as A } from "./index105.js";
2
- import { rangeIncludesDate as p } from "./index125.js";
3
- import { isDatesArray as a, isDateRange as I, isDayOfWeekType as g, isDateInterval as k, isDateAfterType as O, isDateBeforeType as W } from "./index127.js";
4
- function b(f, n, r = A) {
5
- const t = Array.isArray(n) ? n : [n], { isSameDay: o, differenceInCalendarDays: i, isAfter: D } = r;
6
- return t.some((e) => {
7
- if (typeof e == "boolean")
8
- return e;
9
- if (r.isDate(e))
10
- return o(f, e);
11
- if (a(e, r))
12
- return e.some((s) => o(f, s));
13
- if (I(e))
14
- return p(e, f, !1, r);
15
- if (g(e))
16
- return Array.isArray(e.dayOfWeek) ? e.dayOfWeek.includes(f.getDay()) : e.dayOfWeek === f.getDay();
17
- if (k(e)) {
18
- const s = i(e.before, f), l = i(e.after, f), y = s > 0, u = l < 0;
19
- return D(e.before, e.after) ? u && y : y || u;
20
- }
21
- return O(e) ? i(f, e.after) > 0 : W(e) ? i(e.before, f) > 0 : typeof e == "function" ? e(f) : !1;
22
- });
1
+ import * as t from "react";
2
+ function i(r, e, n) {
3
+ return r ? t.Children.only(n) : e;
23
4
  }
24
5
  export {
25
- b as dateMatchModifiers
6
+ i as renderAsChild
26
7
  };
27
8
  //# sourceMappingURL=index32.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index32.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, isDatesArray, isDayOfWeekType, } from \"./typeguards.js\";\n/**\n * Checks if a given date matches at least one of the specified {@link Matcher}.\n *\n * @param date - The date to check.\n * @param matchers - The matchers to check against.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date matches any of the matchers, otherwise `false`.\n * @group Utilities\n */\nexport function dateMatchModifiers(date, matchers, dateLib = defaultDateLib) {\n const matchersArr = !Array.isArray(matchers) ? [matchers] : matchers;\n const { isSameDay, differenceInCalendarDays, isAfter } = dateLib;\n return matchersArr.some((matcher) => {\n if (typeof matcher === \"boolean\") {\n return matcher;\n }\n if (dateLib.isDate(matcher)) {\n return isSameDay(date, matcher);\n }\n if (isDatesArray(matcher, dateLib)) {\n return matcher.some((matcherDate) => isSameDay(date, matcherDate));\n }\n if (isDateRange(matcher)) {\n return rangeIncludesDate(matcher, date, false, dateLib);\n }\n if (isDayOfWeekType(matcher)) {\n if (!Array.isArray(matcher.dayOfWeek)) {\n return matcher.dayOfWeek === date.getDay();\n }\n return matcher.dayOfWeek.includes(date.getDay());\n }\n if (isDateInterval(matcher)) {\n const diffBefore = differenceInCalendarDays(matcher.before, date);\n const diffAfter = differenceInCalendarDays(matcher.after, date);\n const isDayBefore = diffBefore > 0;\n const isDayAfter = diffAfter < 0;\n const isClosedInterval = isAfter(matcher.before, matcher.after);\n if (isClosedInterval) {\n return isDayAfter && isDayBefore;\n }\n else {\n return isDayBefore || isDayAfter;\n }\n }\n if (isDateAfterType(matcher)) {\n return differenceInCalendarDays(date, matcher.after) > 0;\n }\n if (isDateBeforeType(matcher)) {\n return differenceInCalendarDays(matcher.before, date) > 0;\n }\n if (typeof matcher === \"function\") {\n return matcher(date);\n }\n return false;\n });\n}\n"],"names":["dateMatchModifiers","date","matchers","dateLib","defaultDateLib","matchersArr","isSameDay","differenceInCalendarDays","isAfter","matcher","isDatesArray","matcherDate","isDateRange","rangeIncludesDate","isDayOfWeekType","isDateInterval","diffBefore","diffAfter","isDayBefore","isDayAfter","isDateAfterType","isDateBeforeType"],"mappings":";;;AAYO,SAASA,EAAmBC,GAAMC,GAAUC,IAAUC,GAAgB;AACzE,QAAMC,IAAe,MAAM,QAAQH,CAAQ,IAAiBA,IAAb,CAACA,CAAQ,GAClD,EAAE,WAAAI,GAAW,0BAAAC,GAA0B,SAAAC,EAAO,IAAKL;AACzD,SAAOE,EAAY,KAAK,CAACI,MAAY;AACjC,QAAI,OAAOA,KAAY;AACnB,aAAOA;AAEX,QAAIN,EAAQ,OAAOM,CAAO;AACtB,aAAOH,EAAUL,GAAMQ,CAAO;AAElC,QAAIC,EAAaD,GAASN,CAAO;AAC7B,aAAOM,EAAQ,KAAK,CAACE,MAAgBL,EAAUL,GAAMU,CAAW,CAAC;AAErE,QAAIC,EAAYH,CAAO;AACnB,aAAOI,EAAkBJ,GAASR,GAAM,IAAOE,CAAO;AAE1D,QAAIW,EAAgBL,CAAO;AACvB,aAAK,MAAM,QAAQA,EAAQ,SAAS,IAG7BA,EAAQ,UAAU,SAASR,EAAK,OAAM,CAAE,IAFpCQ,EAAQ,cAAcR,EAAK,OAAM;AAIhD,QAAIc,EAAeN,CAAO,GAAG;AACzB,YAAMO,IAAaT,EAAyBE,EAAQ,QAAQR,CAAI,GAC1DgB,IAAYV,EAAyBE,EAAQ,OAAOR,CAAI,GACxDiB,IAAcF,IAAa,GAC3BG,IAAaF,IAAY;AAE/B,aADyBT,EAAQC,EAAQ,QAAQA,EAAQ,KAAK,IAEnDU,KAAcD,IAGdA,KAAeC;AAAA,IAE9B;AACA,WAAIC,EAAgBX,CAAO,IAChBF,EAAyBN,GAAMQ,EAAQ,KAAK,IAAI,IAEvDY,EAAiBZ,CAAO,IACjBF,EAAyBE,EAAQ,QAAQR,CAAI,IAAI,IAExD,OAAOQ,KAAY,aACZA,EAAQR,CAAI,IAEhB;AAAA,EACX,CAAC;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index32.js","sources":["../src/lib/render-as-child.ts"],"sourcesContent":["import * as React from \"react\"\n\n\ntype RenderProp = React.ReactElement | ((props: any, state: any) => React.ReactElement)\n\nexport function renderAsChild(\n asChild: boolean | undefined,\n render: RenderProp | undefined,\n children: React.ReactNode,\n) {\n if (!asChild) return render\n return React.Children.only(children) as React.ReactElement\n}\n"],"names":["renderAsChild","asChild","render","children","React","Children","only"],"mappings":";AAKO,SAASA,EACdC,GACAC,GACAC,GACA;AACA,SAAKF,IACEG,EAAMC,SAASC,KAAKH,CAAQ,IADdD;AAEvB;"}
package/dist/index320.js CHANGED
@@ -1,15 +1,20 @@
1
- import u from "./index163.js";
2
- function s(r, t, e) {
3
- var n = new u(e), o = n.getCountryCodesForCallingCode(r);
4
- return o ? o.filter(function(a) {
5
- return i(t, a, e);
6
- }) : [];
7
- }
8
- function i(r, t, e) {
9
- var n = new u(e);
10
- return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(r.length) >= 0;
1
+ import * as e from "react";
2
+ import { ownerDocument as m } from "./index306.js";
3
+ import { useScrollLock as p } from "./index381.js";
4
+ import { useIsoLayoutEffect as h } from "./index273.js";
5
+ const S = 20;
6
+ function L(t, c, o, l) {
7
+ const [s, r] = e.useState(!1);
8
+ h(() => {
9
+ if (!t || !c || o == null) {
10
+ r(!1);
11
+ return;
12
+ }
13
+ const u = m(o).documentElement.clientWidth, f = o.offsetWidth;
14
+ r(u > 0 && f > 0 && f >= u - S);
15
+ }, [t, c, o]), p(t && (!c || s), l);
11
16
  }
12
17
  export {
13
- s as default
18
+ L as useAnchoredPopupScrollLock
14
19
  };
15
20
  //# sourceMappingURL=index320.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index320.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js"],"sourcesContent":["import Metadata from '../metadata.js';\n\n/**\r\n * Returns a list of countries that the phone number could potentially belong to.\r\n * @param {string} callingCode — Calling code.\r\n * @param {string} nationalNumber — National (significant) number.\r\n * @param {object} metadata — Metadata.\r\n * @return {string[]} A list of possible countries.\r\n */\nexport default function getPossibleCountriesForNumber(callingCode, nationalNumber, metadata) {\n var _metadata = new Metadata(metadata);\n var possibleCountries = _metadata.getCountryCodesForCallingCode(callingCode);\n if (!possibleCountries) {\n return [];\n }\n return possibleCountries.filter(function (country) {\n return couldNationalNumberBelongToCountry(nationalNumber, country, metadata);\n });\n}\nfunction couldNationalNumberBelongToCountry(nationalNumber, country, metadataJson) {\n var metadata = new Metadata(metadataJson);\n metadata.selectNumberingPlan(country);\n return metadata.numberingPlan.possibleLengths().indexOf(nationalNumber.length) >= 0;\n}\n//# sourceMappingURL=getPossibleCountriesForNumber.js.map"],"names":["getPossibleCountriesForNumber","callingCode","nationalNumber","metadata","_metadata","Metadata","possibleCountries","country","couldNationalNumberBelongToCountry","metadataJson"],"mappings":";AASe,SAASA,EAA8BC,GAAaC,GAAgBC,GAAU;AAC3F,MAAIC,IAAY,IAAIC,EAASF,CAAQ,GACjCG,IAAoBF,EAAU,8BAA8BH,CAAW;AAC3E,SAAKK,IAGEA,EAAkB,OAAO,SAAUC,GAAS;AACjD,WAAOC,EAAmCN,GAAgBK,GAASJ,CAAQ;AAAA,EAC7E,CAAC,IAJQ,CAAA;AAKX;AACA,SAASK,EAAmCN,GAAgBK,GAASE,GAAc;AACjF,MAAIN,IAAW,IAAIE,EAASI,CAAY;AACxC,SAAAN,EAAS,oBAAoBI,CAAO,GAC7BJ,EAAS,cAAc,gBAAe,EAAG,QAAQD,EAAe,MAAM,KAAK;AACpF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index320.js","sources":["../../../node_modules/@base-ui/react/utils/useAnchoredPopupScrollLock.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { ownerDocument } from '@base-ui/utils/owner';\nimport { useScrollLock } from '@base-ui/utils/useScrollLock';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\n\n// Touch-opened popups normally avoid scroll locking so users can still swipe outside to dismiss.\n// This hook re-enables scroll lock only when the popup is effectively full-width.\n// Treat popups with up to 20px of total horizontal gutter as full-width so common ~10px side\n// padding still locks scroll, since that leaves too little outside space for a reliable swipe.\nconst VIEWPORT_WIDTH_TOLERANCE_PX = 20;\n\n/**\n * Manages scroll lock for anchored popups. For non-touch opens, scroll lock is applied when\n * enabled. For touch opens, scroll lock is applied only when the positioner width is effectively\n * viewport-sized.\n */\nexport function useAnchoredPopupScrollLock(enabled, touchOpen, positionerElement, referenceElement) {\n const [touchOpenShouldLockScroll, setTouchOpenShouldLockScroll] = React.useState(false);\n useIsoLayoutEffect(() => {\n if (!enabled || !touchOpen || positionerElement == null) {\n setTouchOpenShouldLockScroll(false);\n return;\n }\n const viewportWidth = ownerDocument(positionerElement).documentElement.clientWidth;\n const popupWidth = positionerElement.offsetWidth;\n setTouchOpenShouldLockScroll(viewportWidth > 0 && popupWidth > 0 && popupWidth >= viewportWidth - VIEWPORT_WIDTH_TOLERANCE_PX);\n }, [enabled, touchOpen, positionerElement]);\n useScrollLock(enabled && (!touchOpen || touchOpenShouldLockScroll), referenceElement);\n}"],"names":["VIEWPORT_WIDTH_TOLERANCE_PX","useAnchoredPopupScrollLock","enabled","touchOpen","positionerElement","referenceElement","touchOpenShouldLockScroll","setTouchOpenShouldLockScroll","React","useIsoLayoutEffect","viewportWidth","ownerDocument","popupWidth","useScrollLock"],"mappings":";;;;AAWA,MAAMA,IAA8B;AAO7B,SAASC,EAA2BC,GAASC,GAAWC,GAAmBC,GAAkB;AAClG,QAAM,CAACC,GAA2BC,CAA4B,IAAIC,EAAM,SAAS,EAAK;AACtF,EAAAC,EAAmB,MAAM;AACvB,QAAI,CAACP,KAAW,CAACC,KAAaC,KAAqB,MAAM;AACvD,MAAAG,EAA6B,EAAK;AAClC;AAAA,IACF;AACA,UAAMG,IAAgBC,EAAcP,CAAiB,EAAE,gBAAgB,aACjEQ,IAAaR,EAAkB;AACrC,IAAAG,EAA6BG,IAAgB,KAAKE,IAAa,KAAKA,KAAcF,IAAgBV,CAA2B;AAAA,EAC/H,GAAG,CAACE,GAASC,GAAWC,CAAiB,CAAC,GAC1CS,EAAcX,MAAY,CAACC,KAAaG,IAA4BD,CAAgB;AACtF;","x_google_ignoreList":[0]}
package/dist/index321.js CHANGED
@@ -1,47 +1,129 @@
1
- import s from "./index340.js";
2
- import I from "./index338.js";
3
- import R from "./index163.js";
4
- import { MAX_LENGTH_COUNTRY_CODE as S } from "./index159.js";
5
- function C(r, e, t, o, a) {
6
- if (!r)
7
- return {};
8
- var l;
9
- if (r[0] !== "+") {
10
- var f = s(r, e || t, o, a);
11
- if (f && f !== r)
12
- l = !0, r = "+" + f;
13
- else {
14
- if (e || t || o) {
15
- var N = I(r, e, t, o, a), M = N.countryCallingCode, n = N.number;
16
- if (M)
17
- return {
18
- countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
19
- countryCallingCode: M,
20
- number: n
21
- };
22
- }
23
- return {
24
- // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
25
- // countryCallingCodeSource: 'UNSPECIFIED',
26
- number: r
27
- };
28
- }
29
- }
30
- if (r[1] === "0")
31
- return {};
32
- for (var c = new R(a), i = 2; i - 1 <= S && i <= r.length; ) {
33
- var _ = r.slice(1, i);
34
- if (c.hasCallingCode(_))
35
- return c.selectNumberingPlan(_), {
36
- countryCallingCodeSource: l ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
37
- countryCallingCode: _,
38
- number: r.slice(i)
39
- };
40
- i++;
1
+ const S = ["top", "right", "bottom", "left"], m = Math.min, h = Math.max, w = Math.round, C = Math.floor, j = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), p = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ };
10
+ function L(t, n, e) {
11
+ return h(t, m(n, e));
12
+ }
13
+ function E(t, n) {
14
+ return typeof t == "function" ? t(n) : t;
15
+ }
16
+ function g(t) {
17
+ return t.split("-")[0];
18
+ }
19
+ function a(t) {
20
+ return t.split("-")[1];
21
+ }
22
+ function x(t) {
23
+ return t === "x" ? "y" : "x";
24
+ }
25
+ function b(t) {
26
+ return t === "y" ? "height" : "width";
27
+ }
28
+ function d(t) {
29
+ const n = t[0];
30
+ return n === "t" || n === "b" ? "y" : "x";
31
+ }
32
+ function A(t) {
33
+ return x(d(t));
34
+ }
35
+ function R(t, n, e) {
36
+ e === void 0 && (e = !1);
37
+ const r = a(t), i = A(t), o = b(i);
38
+ let c = i === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
39
+ return n.reference[o] > n.floating[o] && (c = f(c)), [c, f(c)];
40
+ }
41
+ function T(t) {
42
+ const n = f(t);
43
+ return [s(t), n, s(n)];
44
+ }
45
+ function s(t) {
46
+ return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
47
+ }
48
+ const u = ["left", "right"], l = ["right", "left"], P = ["top", "bottom"], y = ["bottom", "top"];
49
+ function O(t, n, e) {
50
+ switch (t) {
51
+ case "top":
52
+ case "bottom":
53
+ return e ? n ? l : u : n ? u : l;
54
+ case "left":
55
+ case "right":
56
+ return n ? P : y;
57
+ default:
58
+ return [];
41
59
  }
42
- return {};
60
+ }
61
+ function k(t, n, e, r) {
62
+ const i = a(t);
63
+ let o = O(g(t), e === "start", r);
64
+ return i && (o = o.map((c) => c + "-" + i), n && (o = o.concat(o.map(s)))), o;
65
+ }
66
+ function f(t) {
67
+ const n = g(t);
68
+ return p[n] + t.slice(n.length);
69
+ }
70
+ function M(t) {
71
+ return {
72
+ top: 0,
73
+ right: 0,
74
+ bottom: 0,
75
+ left: 0,
76
+ ...t
77
+ };
78
+ }
79
+ function q(t) {
80
+ return typeof t != "number" ? M(t) : {
81
+ top: t,
82
+ right: t,
83
+ bottom: t,
84
+ left: t
85
+ };
86
+ }
87
+ function z(t) {
88
+ const {
89
+ x: n,
90
+ y: e,
91
+ width: r,
92
+ height: i
93
+ } = t;
94
+ return {
95
+ width: r,
96
+ height: i,
97
+ top: e,
98
+ left: n,
99
+ right: n + r,
100
+ bottom: e + i,
101
+ x: n,
102
+ y: e
103
+ };
43
104
  }
44
105
  export {
45
- C as default
106
+ L as clamp,
107
+ j as createCoords,
108
+ E as evaluate,
109
+ M as expandPaddingObject,
110
+ C as floor,
111
+ a as getAlignment,
112
+ A as getAlignmentAxis,
113
+ R as getAlignmentSides,
114
+ b as getAxisLength,
115
+ T as getExpandedPlacements,
116
+ s as getOppositeAlignmentPlacement,
117
+ x as getOppositeAxis,
118
+ k as getOppositeAxisPlacements,
119
+ f as getOppositePlacement,
120
+ q as getPaddingObject,
121
+ g as getSide,
122
+ d as getSideAxis,
123
+ h as max,
124
+ m as min,
125
+ z as rectToClientRect,
126
+ w as round,
127
+ S as sides
46
128
  };
47
129
  //# sourceMappingURL=index321.js.map