@rpcbase/ui 0.287.0 → 0.289.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 (738) hide show
  1. package/dist/assets/sha256.worker-DNtOSCbM.js.map +1 -0
  2. package/dist/components/FilesUploadField/index.d.ts.map +1 -1
  3. package/dist/index.js +12 -12
  4. package/dist/index10.js.map +1 -1
  5. package/dist/index100.js.map +1 -1
  6. package/dist/index101.js.map +1 -1
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js.map +1 -1
  10. package/dist/index105.js.map +1 -1
  11. package/dist/index106.js.map +1 -1
  12. package/dist/index107.js.map +1 -1
  13. package/dist/index108.js.map +1 -1
  14. package/dist/index109.js.map +1 -1
  15. package/dist/index11.js +96 -17
  16. package/dist/index11.js.map +1 -1
  17. package/dist/index110.js.map +1 -1
  18. package/dist/index111.js.map +1 -1
  19. package/dist/index112.js.map +1 -1
  20. package/dist/index113.js.map +1 -1
  21. package/dist/index114.js.map +1 -1
  22. package/dist/index115.js.map +1 -1
  23. package/dist/index116.js.map +1 -1
  24. package/dist/index117.js.map +1 -1
  25. package/dist/index118.js.map +1 -1
  26. package/dist/index119.js.map +1 -1
  27. package/dist/index12.js.map +1 -1
  28. package/dist/index120.js.map +1 -1
  29. package/dist/index121.js.map +1 -1
  30. package/dist/index122.js.map +1 -1
  31. package/dist/index123.js +1 -1
  32. package/dist/index123.js.map +1 -1
  33. package/dist/index124.js.map +1 -1
  34. package/dist/index125.js.map +1 -1
  35. package/dist/index126.js.map +1 -1
  36. package/dist/index127.js.map +1 -1
  37. package/dist/index128.js.map +1 -1
  38. package/dist/index129.js.map +1 -1
  39. package/dist/index13.js.map +1 -1
  40. package/dist/index130.js.map +1 -1
  41. package/dist/index131.js.map +1 -1
  42. package/dist/index132.js.map +1 -1
  43. package/dist/index133.js.map +1 -1
  44. package/dist/index134.js.map +1 -1
  45. package/dist/index135.js.map +1 -1
  46. package/dist/index136.js.map +1 -1
  47. package/dist/index137.js.map +1 -1
  48. package/dist/index138.js.map +1 -1
  49. package/dist/index139.js.map +1 -1
  50. package/dist/index14.js.map +1 -1
  51. package/dist/index140.js.map +1 -1
  52. package/dist/index141.js.map +1 -1
  53. package/dist/index142.js.map +1 -1
  54. package/dist/index143.js.map +1 -1
  55. package/dist/index144.js.map +1 -1
  56. package/dist/index145.js.map +1 -1
  57. package/dist/index146.js.map +1 -1
  58. package/dist/index147.js.map +1 -1
  59. package/dist/index148.js.map +1 -1
  60. package/dist/index149.js.map +1 -1
  61. package/dist/index15.js.map +1 -1
  62. package/dist/index150.js.map +1 -1
  63. package/dist/index151.js.map +1 -1
  64. package/dist/index152.js.map +1 -1
  65. package/dist/index153.js.map +1 -1
  66. package/dist/index154.js +4 -4
  67. package/dist/index154.js.map +1 -1
  68. package/dist/index155.js.map +1 -1
  69. package/dist/index156.js.map +1 -1
  70. package/dist/index157.js.map +1 -1
  71. package/dist/index158.js.map +1 -1
  72. package/dist/index159.js.map +1 -1
  73. package/dist/index16.js.map +1 -1
  74. package/dist/index160.js.map +1 -1
  75. package/dist/index161.js.map +1 -1
  76. package/dist/index162.js.map +1 -1
  77. package/dist/index163.js.map +1 -1
  78. package/dist/index164.js.map +1 -1
  79. package/dist/index165.js.map +1 -1
  80. package/dist/index166.js.map +1 -1
  81. package/dist/index167.js.map +1 -1
  82. package/dist/index168.js.map +1 -1
  83. package/dist/index169.js.map +1 -1
  84. package/dist/index17.js.map +1 -1
  85. package/dist/index170.js +18 -12
  86. package/dist/index170.js.map +1 -1
  87. package/dist/index171.js.map +1 -1
  88. package/dist/index172.js.map +1 -1
  89. package/dist/index173.js.map +1 -1
  90. package/dist/index174.js.map +1 -1
  91. package/dist/index175.js.map +1 -1
  92. package/dist/index176.js.map +1 -1
  93. package/dist/index177.js.map +1 -1
  94. package/dist/index178.js.map +1 -1
  95. package/dist/index179.js.map +1 -1
  96. package/dist/index18.js.map +1 -1
  97. package/dist/index180.js.map +1 -1
  98. package/dist/index181.js +1 -1
  99. package/dist/index181.js.map +1 -1
  100. package/dist/index182.js +3 -3
  101. package/dist/index182.js.map +1 -1
  102. package/dist/index183.js.map +1 -1
  103. package/dist/index184.js.map +1 -1
  104. package/dist/index185.js.map +1 -1
  105. package/dist/index186.js.map +1 -1
  106. package/dist/index187.js.map +1 -1
  107. package/dist/index188.js.map +1 -1
  108. package/dist/index189.js.map +1 -1
  109. package/dist/index19.js.map +1 -1
  110. package/dist/index190.js +9 -7
  111. package/dist/index190.js.map +1 -1
  112. package/dist/index191.js +4 -4
  113. package/dist/index191.js.map +1 -1
  114. package/dist/index192.js +4 -15
  115. package/dist/index192.js.map +1 -1
  116. package/dist/index193.js +13 -3
  117. package/dist/index193.js.map +1 -1
  118. package/dist/index194.js +2 -2
  119. package/dist/index194.js.map +1 -1
  120. package/dist/index195.js +4 -85
  121. package/dist/index195.js.map +1 -1
  122. package/dist/index196.js +79 -54
  123. package/dist/index196.js.map +1 -1
  124. package/dist/index197.js +68 -7
  125. package/dist/index197.js.map +1 -1
  126. package/dist/index198.js +3 -23
  127. package/dist/index198.js.map +1 -1
  128. package/dist/index199.js +6 -28
  129. package/dist/index199.js.map +1 -1
  130. package/dist/index20.js.map +1 -1
  131. package/dist/index200.js +4 -97
  132. package/dist/index200.js.map +1 -1
  133. package/dist/index201.js +3 -4
  134. package/dist/index201.js.map +1 -1
  135. package/dist/index202.js +23 -24
  136. package/dist/index202.js.map +1 -1
  137. package/dist/index203.js +28 -10
  138. package/dist/index203.js.map +1 -1
  139. package/dist/index204.js +97 -4
  140. package/dist/index204.js.map +1 -1
  141. package/dist/index205.js +4 -12
  142. package/dist/index205.js.map +1 -1
  143. package/dist/index206.js +22 -19
  144. package/dist/index206.js.map +1 -1
  145. package/dist/index207.js +4 -6
  146. package/dist/index207.js.map +1 -1
  147. package/dist/index208.js +4 -15
  148. package/dist/index208.js.map +1 -1
  149. package/dist/index209.js +10 -102
  150. package/dist/index209.js.map +1 -1
  151. package/dist/index210.js +21 -3
  152. package/dist/index210.js.map +1 -1
  153. package/dist/index211.js +5 -23
  154. package/dist/index211.js.map +1 -1
  155. package/dist/index212.js +15 -28
  156. package/dist/index212.js.map +1 -1
  157. package/dist/index213.js +101 -17
  158. package/dist/index213.js.map +1 -1
  159. package/dist/index214.js +3 -7
  160. package/dist/index214.js.map +1 -1
  161. package/dist/index215.js +24 -15
  162. package/dist/index215.js.map +1 -1
  163. package/dist/index216.js +27 -7
  164. package/dist/index216.js.map +1 -1
  165. package/dist/index217.js +17 -24
  166. package/dist/index217.js.map +1 -1
  167. package/dist/index218.js +6 -22
  168. package/dist/index218.js.map +1 -1
  169. package/dist/index219.js +15 -6
  170. package/dist/index219.js.map +1 -1
  171. package/dist/index220.js +8 -5
  172. package/dist/index220.js.map +1 -1
  173. package/dist/index221.js +27 -4
  174. package/dist/index221.js.map +1 -1
  175. package/dist/index222.js +23 -4
  176. package/dist/index222.js.map +1 -1
  177. package/dist/index223.js +6 -24
  178. package/dist/index223.js.map +1 -1
  179. package/dist/index224.js +5 -3
  180. package/dist/index224.js.map +1 -1
  181. package/dist/index225.js +4 -24
  182. package/dist/index225.js.map +1 -1
  183. package/dist/index226.js +4 -23
  184. package/dist/index226.js.map +1 -1
  185. package/dist/index227.js +23 -6
  186. package/dist/index227.js.map +1 -1
  187. package/dist/index228.js +22 -8
  188. package/dist/index228.js.map +1 -1
  189. package/dist/index229.js +3 -19
  190. package/dist/index229.js.map +1 -1
  191. package/dist/index23.js.map +1 -1
  192. package/dist/index230.js +22 -50
  193. package/dist/index230.js.map +1 -1
  194. package/dist/index231.js +7 -20
  195. package/dist/index231.js.map +1 -1
  196. package/dist/index232.js +9 -27
  197. package/dist/index232.js.map +1 -1
  198. package/dist/index233.js +17 -97
  199. package/dist/index233.js.map +1 -1
  200. package/dist/index234.js +50 -33
  201. package/dist/index234.js.map +1 -1
  202. package/dist/index235.js +20 -119
  203. package/dist/index235.js.map +1 -1
  204. package/dist/index236.js +28 -13
  205. package/dist/index236.js.map +1 -1
  206. package/dist/index237.js +98 -4
  207. package/dist/index237.js.map +1 -1
  208. package/dist/index238.js +33 -15
  209. package/dist/index238.js.map +1 -1
  210. package/dist/index239.js +116 -62
  211. package/dist/index239.js.map +1 -1
  212. package/dist/index24.js.map +1 -1
  213. package/dist/index240.js +13 -10
  214. package/dist/index240.js.map +1 -1
  215. package/dist/index241.js +4 -109
  216. package/dist/index241.js.map +1 -1
  217. package/dist/index242.js +14 -14
  218. package/dist/index242.js.map +1 -1
  219. package/dist/index243.js +64 -12
  220. package/dist/index243.js.map +1 -1
  221. package/dist/index244.js +10 -5
  222. package/dist/index244.js.map +1 -1
  223. package/dist/index245.js +104 -318
  224. package/dist/index245.js.map +1 -1
  225. package/dist/index246.js +14 -66
  226. package/dist/index246.js.map +1 -1
  227. package/dist/index247.js +12 -232
  228. package/dist/index247.js.map +1 -1
  229. package/dist/index248.js +4 -270
  230. package/dist/index248.js.map +1 -1
  231. package/dist/index249.js +313 -309
  232. package/dist/index249.js.map +1 -1
  233. package/dist/index25.js.map +1 -1
  234. package/dist/index250.js +60 -171
  235. package/dist/index250.js.map +1 -1
  236. package/dist/index251.js +252 -8
  237. package/dist/index251.js.map +1 -1
  238. package/dist/index252.js +268 -41
  239. package/dist/index252.js.map +1 -1
  240. package/dist/index253.js +316 -47
  241. package/dist/index253.js.map +1 -1
  242. package/dist/index254.js +179 -9
  243. package/dist/index254.js.map +1 -1
  244. package/dist/index255.js +6 -50
  245. package/dist/index255.js.map +1 -1
  246. package/dist/index256.js +41 -51
  247. package/dist/index256.js.map +1 -1
  248. package/dist/index257.js +50 -7
  249. package/dist/index257.js.map +1 -1
  250. package/dist/index258.js +9 -10
  251. package/dist/index258.js.map +1 -1
  252. package/dist/index259.js +51 -61
  253. package/dist/index259.js.map +1 -1
  254. package/dist/index26.js.map +1 -1
  255. package/dist/index260.js +53 -42
  256. package/dist/index260.js.map +1 -1
  257. package/dist/index261.js +9 -97
  258. package/dist/index261.js.map +1 -1
  259. package/dist/index262.js +31 -47
  260. package/dist/index262.js.map +1 -1
  261. package/dist/index263.js +61 -36
  262. package/dist/index263.js.map +1 -1
  263. package/dist/index264.js +43 -47
  264. package/dist/index264.js.map +1 -1
  265. package/dist/index265.js +92 -46
  266. package/dist/index265.js.map +1 -1
  267. package/dist/index266.js +48 -20
  268. package/dist/index266.js.map +1 -1
  269. package/dist/index267.js +33 -176
  270. package/dist/index267.js.map +1 -1
  271. package/dist/index268.js +49 -48
  272. package/dist/index268.js.map +1 -1
  273. package/dist/index269.js +68 -15
  274. package/dist/index269.js.map +1 -1
  275. package/dist/index27.js.map +1 -1
  276. package/dist/index270.js +20 -65
  277. package/dist/index270.js.map +1 -1
  278. package/dist/index271.js +202 -9
  279. package/dist/index271.js.map +1 -1
  280. package/dist/index272.js +48 -40
  281. package/dist/index272.js.map +1 -1
  282. package/dist/index273.js +60 -91
  283. package/dist/index273.js.map +1 -1
  284. package/dist/index274.js +9 -278
  285. package/dist/index274.js.map +1 -1
  286. package/dist/index275.js +38 -55
  287. package/dist/index275.js.map +1 -1
  288. package/dist/index276.js +91 -10
  289. package/dist/index276.js.map +1 -1
  290. package/dist/index277.js +278 -12
  291. package/dist/index277.js.map +1 -1
  292. package/dist/index278.js +58 -11
  293. package/dist/index278.js.map +1 -1
  294. package/dist/index279.js +11 -64
  295. package/dist/index279.js.map +1 -1
  296. package/dist/index28.js +5 -5
  297. package/dist/index28.js.map +1 -1
  298. package/dist/index280.js +12 -6
  299. package/dist/index280.js.map +1 -1
  300. package/dist/index281.js +3 -25
  301. package/dist/index281.js.map +1 -1
  302. package/dist/index282.js +3 -25
  303. package/dist/index282.js.map +1 -1
  304. package/dist/index283.js +12 -126
  305. package/dist/index283.js.map +1 -1
  306. package/dist/index284.js +63 -51
  307. package/dist/index284.js.map +1 -1
  308. package/dist/index285.js +5 -60
  309. package/dist/index285.js.map +1 -1
  310. package/dist/index286.js +24 -48
  311. package/dist/index286.js.map +1 -1
  312. package/dist/index287.js +24 -6
  313. package/dist/index287.js.map +1 -1
  314. package/dist/index288.js +125 -14
  315. package/dist/index288.js.map +1 -1
  316. package/dist/index289.js +51 -16
  317. package/dist/index289.js.map +1 -1
  318. package/dist/index29.js +5 -7
  319. package/dist/index29.js.map +1 -1
  320. package/dist/index290.js +56 -11
  321. package/dist/index290.js.map +1 -1
  322. package/dist/index291.js +47 -24
  323. package/dist/index291.js.map +1 -1
  324. package/dist/index292.js +7 -51
  325. package/dist/index292.js.map +1 -1
  326. package/dist/index293.js +15 -6
  327. package/dist/index293.js.map +1 -1
  328. package/dist/index294.js +18 -148
  329. package/dist/index294.js.map +1 -1
  330. package/dist/index295.js +12 -59
  331. package/dist/index295.js.map +1 -1
  332. package/dist/index296.js +25 -120
  333. package/dist/index296.js.map +1 -1
  334. package/dist/index297.js +54 -15
  335. package/dist/index297.js.map +1 -1
  336. package/dist/index298.js +5 -866
  337. package/dist/index298.js.map +1 -1
  338. package/dist/index299.js +148 -28
  339. package/dist/index299.js.map +1 -1
  340. package/dist/index3.js.map +1 -1
  341. package/dist/index30.js +6 -8
  342. package/dist/index30.js.map +1 -1
  343. package/dist/index300.js +55 -512
  344. package/dist/index300.js.map +1 -1
  345. package/dist/index301.js +111 -794
  346. package/dist/index301.js.map +1 -1
  347. package/dist/index302.js +14 -7436
  348. package/dist/index302.js.map +1 -1
  349. package/dist/index303.js +862 -6
  350. package/dist/index303.js.map +1 -1
  351. package/dist/index304.js +28 -12
  352. package/dist/index304.js.map +1 -1
  353. package/dist/index305.js +515 -5
  354. package/dist/index305.js.map +1 -1
  355. package/dist/index306.js +803 -5
  356. package/dist/index306.js.map +1 -1
  357. package/dist/index307.js +7426 -468
  358. package/dist/index307.js.map +1 -1
  359. package/dist/index308.js +6 -37
  360. package/dist/index308.js.map +1 -1
  361. package/dist/index309.js +12 -19
  362. package/dist/index309.js.map +1 -1
  363. package/dist/index31.js +5 -11
  364. package/dist/index31.js.map +1 -1
  365. package/dist/index310.js +5 -30
  366. package/dist/index310.js.map +1 -1
  367. package/dist/index311.js +5 -4
  368. package/dist/index311.js.map +1 -1
  369. package/dist/index312.js +461 -51
  370. package/dist/index312.js.map +1 -1
  371. package/dist/index313.js +36 -10
  372. package/dist/index313.js.map +1 -1
  373. package/dist/index314.js +19 -5
  374. package/dist/index314.js.map +1 -1
  375. package/dist/index315.js +29 -8
  376. package/dist/index315.js.map +1 -1
  377. package/dist/index316.js +4 -12
  378. package/dist/index316.js.map +1 -1
  379. package/dist/index317.js +60 -3
  380. package/dist/index317.js.map +1 -1
  381. package/dist/index318.js +10 -15
  382. package/dist/index318.js.map +1 -1
  383. package/dist/index319.js +5 -25
  384. package/dist/index319.js.map +1 -1
  385. package/dist/index32.js +5 -5
  386. package/dist/index32.js.map +1 -1
  387. package/dist/index320.js +9 -41
  388. package/dist/index320.js.map +1 -1
  389. package/dist/index321.js +11 -4
  390. package/dist/index321.js.map +1 -1
  391. package/dist/index322.js +3 -26
  392. package/dist/index322.js.map +1 -1
  393. package/dist/index323.js +15 -18
  394. package/dist/index323.js.map +1 -1
  395. package/dist/index324.js +22 -31
  396. package/dist/index324.js.map +1 -1
  397. package/dist/index325.js +41 -5
  398. package/dist/index325.js.map +1 -1
  399. package/dist/index326.js +4 -8
  400. package/dist/index326.js.map +1 -1
  401. package/dist/index327.js +25 -8
  402. package/dist/index327.js.map +1 -1
  403. package/dist/index328.js +19 -9
  404. package/dist/index328.js.map +1 -1
  405. package/dist/index329.js +34 -10
  406. package/dist/index329.js.map +1 -1
  407. package/dist/index33.js +9 -6
  408. package/dist/index33.js.map +1 -1
  409. package/dist/index330.js +5 -7
  410. package/dist/index330.js.map +1 -1
  411. package/dist/index331.js +9 -75
  412. package/dist/index331.js.map +1 -1
  413. package/dist/index332.js +8 -162
  414. package/dist/index332.js.map +1 -1
  415. package/dist/index333.js +9 -114
  416. package/dist/index333.js.map +1 -1
  417. package/dist/index334.js +10 -14
  418. package/dist/index334.js.map +1 -1
  419. package/dist/index335.js +7 -80
  420. package/dist/index335.js.map +1 -1
  421. package/dist/index336.js +68 -39
  422. package/dist/index336.js.map +1 -1
  423. package/dist/index337.js +160 -11
  424. package/dist/index337.js.map +1 -1
  425. package/dist/index338.js +113 -15
  426. package/dist/index338.js.map +1 -1
  427. package/dist/index339.js +13 -100
  428. package/dist/index339.js.map +1 -1
  429. package/dist/index34.js +6 -6
  430. package/dist/index34.js.map +1 -1
  431. package/dist/index340.js +73 -49
  432. package/dist/index340.js.map +1 -1
  433. package/dist/index341.js +34 -96
  434. package/dist/index341.js.map +1 -1
  435. package/dist/index342.js +12 -70
  436. package/dist/index342.js.map +1 -1
  437. package/dist/index343.js +14 -111
  438. package/dist/index343.js.map +1 -1
  439. package/dist/index344.js +94 -48
  440. package/dist/index344.js.map +1 -1
  441. package/dist/index345.js +50 -37
  442. package/dist/index345.js.map +1 -1
  443. package/dist/index346.js +89 -125
  444. package/dist/index346.js.map +1 -1
  445. package/dist/index347.js +52 -123
  446. package/dist/index347.js.map +1 -1
  447. package/dist/index348.js +54 -197
  448. package/dist/index348.js.map +1 -1
  449. package/dist/index349.js +44 -229
  450. package/dist/index349.js.map +1 -1
  451. package/dist/index35.js +9 -9
  452. package/dist/index35.js.map +1 -1
  453. package/dist/index350.js +42 -308
  454. package/dist/index350.js.map +1 -1
  455. package/dist/index351.js +144 -5
  456. package/dist/index351.js.map +1 -1
  457. package/dist/index352.js +142 -6
  458. package/dist/index352.js.map +1 -1
  459. package/dist/index353.js +257 -7
  460. package/dist/index353.js.map +1 -1
  461. package/dist/index354.js +241 -6
  462. package/dist/index354.js.map +1 -1
  463. package/dist/index355.js +309 -6
  464. package/dist/index355.js.map +1 -1
  465. package/dist/index356.js +5 -21
  466. package/dist/index356.js.map +1 -1
  467. package/dist/index357.js +6 -10
  468. package/dist/index357.js.map +1 -1
  469. package/dist/index358.js +7 -128
  470. package/dist/index358.js.map +1 -1
  471. package/dist/index359.js +6 -42
  472. package/dist/index359.js.map +1 -1
  473. package/dist/index36.js +12 -7
  474. package/dist/index36.js.map +1 -1
  475. package/dist/index360.js +6 -68
  476. package/dist/index360.js.map +1 -1
  477. package/dist/index361.js +20 -116
  478. package/dist/index361.js.map +1 -1
  479. package/dist/index362.js +10 -490
  480. package/dist/index362.js.map +1 -1
  481. package/dist/index363.js +128 -7
  482. package/dist/index363.js.map +1 -1
  483. package/dist/index364.js +42 -13
  484. package/dist/index364.js.map +1 -1
  485. package/dist/index365.js +67 -3
  486. package/dist/index365.js.map +1 -1
  487. package/dist/index366.js +115 -45
  488. package/dist/index366.js.map +1 -1
  489. package/dist/index367.js +490 -11
  490. package/dist/index367.js.map +1 -1
  491. package/dist/index368.js +8 -26
  492. package/dist/index368.js.map +1 -1
  493. package/dist/index369.js +12 -41
  494. package/dist/index369.js.map +1 -1
  495. package/dist/index37.js +13 -5
  496. package/dist/index37.js.map +1 -1
  497. package/dist/index370.js +4 -36
  498. package/dist/index370.js.map +1 -1
  499. package/dist/index371.js +45 -15
  500. package/dist/index371.js.map +1 -1
  501. package/dist/index372.js +24 -41
  502. package/dist/index372.js.map +1 -1
  503. package/dist/index373.js +3 -12
  504. package/dist/index373.js.map +1 -1
  505. package/dist/index374.js +27 -11
  506. package/dist/index374.js.map +1 -1
  507. package/dist/index375.js +40 -50
  508. package/dist/index375.js.map +1 -1
  509. package/dist/index376.js +37 -40
  510. package/dist/index376.js.map +1 -1
  511. package/dist/index377.js +12 -10
  512. package/dist/index377.js.map +1 -1
  513. package/dist/index378.js +40 -4
  514. package/dist/index378.js.map +1 -1
  515. package/dist/index379.js +7 -4
  516. package/dist/index379.js.map +1 -1
  517. package/dist/index38.js +5 -5
  518. package/dist/index38.js.map +1 -1
  519. package/dist/index380.js +29 -8
  520. package/dist/index380.js.map +1 -1
  521. package/dist/index381.js +9 -303
  522. package/dist/index381.js.map +1 -1
  523. package/dist/index382.js +57 -4
  524. package/dist/index382.js.map +1 -1
  525. package/dist/index383.js +40 -22
  526. package/dist/index383.js.map +1 -1
  527. package/dist/index384.js +15 -105
  528. package/dist/index384.js.map +1 -1
  529. package/dist/index385.js +5 -22
  530. package/dist/index385.js.map +1 -1
  531. package/dist/index386.js +10 -22
  532. package/dist/index386.js.map +1 -1
  533. package/dist/index387.js +289 -16
  534. package/dist/index387.js.map +1 -1
  535. package/dist/index388.js +4 -12
  536. package/dist/index388.js.map +1 -1
  537. package/dist/index389.js +20 -112
  538. package/dist/index389.js.map +1 -1
  539. package/dist/index39.js +6 -10
  540. package/dist/index39.js.map +1 -1
  541. package/dist/index390.js +3 -9
  542. package/dist/index390.js.map +1 -1
  543. package/dist/index391.js +104 -27
  544. package/dist/index391.js.map +1 -1
  545. package/dist/index392.js +20 -9
  546. package/dist/index392.js.map +1 -1
  547. package/dist/index393.js +20 -6
  548. package/dist/index393.js.map +1 -1
  549. package/dist/index394.js +14 -253
  550. package/dist/index394.js.map +1 -1
  551. package/dist/index395.js +12 -10
  552. package/dist/index395.js.map +1 -1
  553. package/dist/index396.js +117 -11
  554. package/dist/index396.js.map +1 -1
  555. package/dist/index397.js +8 -6
  556. package/dist/index397.js.map +1 -1
  557. package/dist/index398.js +32 -22
  558. package/dist/index398.js.map +1 -1
  559. package/dist/index399.js +9 -23
  560. package/dist/index399.js.map +1 -1
  561. package/dist/index4.js.map +1 -1
  562. package/dist/index40.js +8 -11
  563. package/dist/index40.js.map +1 -1
  564. package/dist/index400.js +6 -105
  565. package/dist/index400.js.map +1 -1
  566. package/dist/index401.js +3 -15
  567. package/dist/index401.js.map +1 -1
  568. package/dist/index402.js +251 -10
  569. package/dist/index402.js.map +1 -1
  570. package/dist/index403.js +9 -7
  571. package/dist/index403.js.map +1 -1
  572. package/dist/index404.js +11 -239
  573. package/dist/index404.js.map +1 -1
  574. package/dist/index405.js +7 -28
  575. package/dist/index405.js.map +1 -1
  576. package/dist/index406.js +21 -37
  577. package/dist/index406.js.map +1 -1
  578. package/dist/index407.js +21 -10
  579. package/dist/index407.js.map +1 -1
  580. package/dist/index408.js +97 -117
  581. package/dist/index408.js.map +1 -1
  582. package/dist/index409.js +15 -40
  583. package/dist/index409.js.map +1 -1
  584. package/dist/index41.js +6 -7
  585. package/dist/index41.js.map +1 -1
  586. package/dist/index410.js +11 -25
  587. package/dist/index410.js.map +1 -1
  588. package/dist/index411.js +7 -9
  589. package/dist/index411.js.map +1 -1
  590. package/dist/index412.js +3 -24
  591. package/dist/index412.js.map +1 -1
  592. package/dist/index413.js +226 -15
  593. package/dist/index413.js.map +1 -1
  594. package/dist/index414.js +24 -11
  595. package/dist/index414.js.map +1 -1
  596. package/dist/index415.js +38 -4
  597. package/dist/index415.js.map +1 -1
  598. package/dist/index416.js +11 -324
  599. package/dist/index416.js.map +1 -1
  600. package/dist/index417.js +119 -62
  601. package/dist/index417.js.map +1 -1
  602. package/dist/index418.js +42 -4
  603. package/dist/index418.js.map +1 -1
  604. package/dist/index419.js +25 -28
  605. package/dist/index419.js.map +1 -1
  606. package/dist/index42.js +6 -4
  607. package/dist/index42.js.map +1 -1
  608. package/dist/index420.js +11 -470
  609. package/dist/index420.js.map +1 -1
  610. package/dist/index421.js +23 -268
  611. package/dist/index421.js.map +1 -1
  612. package/dist/index422.js +24 -0
  613. package/dist/index422.js.map +1 -0
  614. package/dist/index423.js +17 -0
  615. package/dist/index423.js.map +1 -0
  616. package/dist/index424.js +8 -0
  617. package/dist/index424.js.map +1 -0
  618. package/dist/index425.js +328 -0
  619. package/dist/index425.js.map +1 -0
  620. package/dist/index426.js +66 -0
  621. package/dist/index426.js.map +1 -0
  622. package/dist/index427.js +7 -0
  623. package/dist/index427.js.map +1 -0
  624. package/dist/index428.js +31 -0
  625. package/dist/index428.js.map +1 -0
  626. package/dist/index429.js +474 -0
  627. package/dist/index429.js.map +1 -0
  628. package/dist/index43.js +68 -7
  629. package/dist/index43.js.map +1 -1
  630. package/dist/index430.js +272 -0
  631. package/dist/index430.js.map +1 -0
  632. package/dist/index44.js +7 -6
  633. package/dist/index44.js.map +1 -1
  634. package/dist/index45.js +31 -7
  635. package/dist/index45.js.map +1 -1
  636. package/dist/index46.js +10 -10
  637. package/dist/index46.js.map +1 -1
  638. package/dist/index47.js +15 -13
  639. package/dist/index47.js.map +1 -1
  640. package/dist/index48.js +201 -7
  641. package/dist/index48.js.map +1 -1
  642. package/dist/index49.js +20 -6
  643. package/dist/index49.js.map +1 -1
  644. package/dist/index5.js.map +1 -1
  645. package/dist/index50.js +16 -6
  646. package/dist/index50.js.map +1 -1
  647. package/dist/index51.js +123 -14
  648. package/dist/index51.js.map +1 -1
  649. package/dist/index52.js +19 -8
  650. package/dist/index52.js.map +1 -1
  651. package/dist/index53.js +5 -7
  652. package/dist/index53.js.map +1 -1
  653. package/dist/index54.js +9 -68
  654. package/dist/index54.js.map +1 -1
  655. package/dist/index55.js +7 -7
  656. package/dist/index55.js.map +1 -1
  657. package/dist/index56.js +9 -31
  658. package/dist/index56.js.map +1 -1
  659. package/dist/index57.js +13 -10
  660. package/dist/index57.js.map +1 -1
  661. package/dist/index58.js +8 -15
  662. package/dist/index58.js.map +1 -1
  663. package/dist/index59.js +10 -201
  664. package/dist/index59.js.map +1 -1
  665. package/dist/index6.js.map +1 -1
  666. package/dist/index60.js +13 -20
  667. package/dist/index60.js.map +1 -1
  668. package/dist/index61.js +9 -16
  669. package/dist/index61.js.map +1 -1
  670. package/dist/index62.js +10 -123
  671. package/dist/index62.js.map +1 -1
  672. package/dist/index63.js +5 -19
  673. package/dist/index63.js.map +1 -1
  674. package/dist/index64.js +42 -9
  675. package/dist/index64.js.map +1 -1
  676. package/dist/index65.js +387 -9
  677. package/dist/index65.js.map +1 -1
  678. package/dist/index66.js +37 -14
  679. package/dist/index66.js.map +1 -1
  680. package/dist/index67.js +21 -9
  681. package/dist/index67.js.map +1 -1
  682. package/dist/index68.js +4 -9
  683. package/dist/index68.js.map +1 -1
  684. package/dist/index69.js +6 -4
  685. package/dist/index69.js.map +1 -1
  686. package/dist/index7.js +3 -3
  687. package/dist/index7.js.map +1 -1
  688. package/dist/index70.js +57 -41
  689. package/dist/index70.js.map +1 -1
  690. package/dist/index71.js +5 -387
  691. package/dist/index71.js.map +1 -1
  692. package/dist/index72.js +6 -37
  693. package/dist/index72.js.map +1 -1
  694. package/dist/index73.js +5 -21
  695. package/dist/index73.js.map +1 -1
  696. package/dist/index74.js +4 -56
  697. package/dist/index74.js.map +1 -1
  698. package/dist/index75.js +7 -7
  699. package/dist/index75.js.map +1 -1
  700. package/dist/index76.js +6 -5
  701. package/dist/index76.js.map +1 -1
  702. package/dist/index77.js +6 -5
  703. package/dist/index77.js.map +1 -1
  704. package/dist/index78.js +11 -5
  705. package/dist/index78.js.map +1 -1
  706. package/dist/index79.js +11 -5
  707. package/dist/index79.js.map +1 -1
  708. package/dist/index8.js.map +1 -1
  709. package/dist/index80.js +7 -6
  710. package/dist/index80.js.map +1 -1
  711. package/dist/index81.js +10 -6
  712. package/dist/index81.js.map +1 -1
  713. package/dist/index82.js +5 -8
  714. package/dist/index82.js.map +1 -1
  715. package/dist/index83.js +6 -7
  716. package/dist/index83.js.map +1 -1
  717. package/dist/index84.js.map +1 -1
  718. package/dist/index85.js.map +1 -1
  719. package/dist/index86.js.map +1 -1
  720. package/dist/index87.js +2 -2
  721. package/dist/index87.js.map +1 -1
  722. package/dist/index88.js +31 -31
  723. package/dist/index88.js.map +1 -1
  724. package/dist/index89.js +1 -1
  725. package/dist/index89.js.map +1 -1
  726. package/dist/index9.js.map +1 -1
  727. package/dist/index90.js.map +1 -1
  728. package/dist/index91.js.map +1 -1
  729. package/dist/index92.js.map +1 -1
  730. package/dist/index93.js.map +1 -1
  731. package/dist/index94.js.map +1 -1
  732. package/dist/index95.js.map +1 -1
  733. package/dist/index96.js.map +1 -1
  734. package/dist/index97.js.map +1 -1
  735. package/dist/index98.js.map +1 -1
  736. package/dist/index99.js.map +1 -1
  737. package/package.json +13 -13
  738. package/dist/assets/sha256.worker-BEf4_Y9w.js.map +0 -1
package/dist/index235.js CHANGED
@@ -1,122 +1,23 @@
1
- import { getComputedStyle as e, getNodeName as t, isHTMLElement as n, isShadowRoot as r } from "./index200.js";
2
- import { ownerDocument as i } from "./index207.js";
3
- import { activeElement as a, contains as o } from "./index225.js";
4
- import { isElementVisible as s } from "./index234.js";
5
- //#region ../../node_modules/@base-ui/react/floating-ui-react/utils/tabbable.mjs
6
- var c = "a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable=\"false\"]),audio[controls],video[controls]";
7
- function l(e) {
8
- let t = e.assignedSlot;
9
- if (t) return t;
10
- if (e.parentElement) return e.parentElement;
11
- let n = e.getRootNode();
12
- return r(n) ? n.host : null;
13
- }
14
- function u(e) {
15
- for (let n of Array.from(e.children)) if (t(n) === "summary") return n;
16
- return null;
17
- }
18
- function d(e, t) {
19
- let n = u(t);
20
- return !!n && (e === n || o(n, e));
21
- }
22
- function f(e) {
23
- let n = e ? t(e) : "";
24
- return e != null && e.matches(c) && (n !== "summary" || e.parentElement != null && t(e.parentElement) === "details" && u(e.parentElement) === e) && (n !== "details" || u(e) == null) && (n !== "input" || e.type !== "hidden");
25
- }
26
- function p(e) {
27
- if (!f(e) || !e.isConnected || e.matches(":disabled")) return !1;
28
- for (let n = e; n; n = l(n)) {
29
- let r = n !== e, i = t(n) === "slot";
30
- if (n.hasAttribute("inert") || r && t(n) === "details" && !n.open && !d(e, n) || n.hasAttribute("hidden") || !i && !m(n, r)) return !1;
31
- }
32
- return !0;
33
- }
34
- function m(t, n) {
35
- let r = e(t);
36
- return n ? r.display !== "none" : s(t, r);
37
- }
38
- function h(e) {
39
- let r = e.tabIndex;
40
- if (r < 0) {
41
- let r = t(e);
42
- if (r === "details" || r === "audio" || r === "video" || n(e) && e.isContentEditable) return 0;
43
- }
44
- return r;
45
- }
46
- function g(e) {
47
- if (t(e) !== "input") return null;
48
- let n = e;
49
- return n.type === "radio" && n.name !== "" ? n : null;
50
- }
51
- function _(e, t) {
52
- let n = g(e);
53
- if (!n) return !0;
54
- let r = t.find((e) => {
55
- let t = g(e);
56
- return t?.name === n.name && t.form === n.form && t.checked;
57
- });
58
- return r ? r === n : t.find((e) => {
59
- let t = g(e);
60
- return t?.name === n.name && t.form === n.form;
61
- }) === n;
62
- }
63
- function v(e) {
64
- if (n(e) && t(e) === "slot") {
65
- let t = e.assignedElements({ flatten: !0 });
66
- if (t.length > 0) return t;
67
- }
68
- return n(e) && e.shadowRoot ? Array.from(e.shadowRoot.children) : Array.from(e.children);
69
- }
70
- function y(e, t) {
71
- v(e).forEach((e) => {
72
- f(e) && t.push(e), y(e, t);
73
- });
74
- }
75
- function b(e, t, r) {
76
- v(e).forEach((e) => {
77
- n(e) && e.matches(t) && r.push(e), b(e, t, r);
78
- });
79
- }
80
- function x(e) {
81
- return p(e) && h(e) >= 0;
82
- }
83
- function S(e) {
84
- let t = [];
85
- return y(e, t), t.filter(p);
86
- }
87
- function C(e) {
88
- let t = S(e);
89
- return t.filter((e) => h(e) >= 0 && _(e, t));
90
- }
91
- function w(e, t) {
92
- let n = C(e), r = n.length;
93
- if (r === 0) return;
94
- let o = a(i(e)), s = n.indexOf(o);
95
- return n[s === -1 ? t === 1 ? 0 : r - 1 : s + t];
96
- }
97
- function T(e) {
98
- return w(i(e).body, 1) || e;
99
- }
100
- function E(e) {
101
- return w(i(e).body, -1) || e;
102
- }
103
- function D(e, t) {
104
- let n = t || e.currentTarget, r = e.relatedTarget;
105
- return !r || !o(n, r);
106
- }
107
- function O(e) {
108
- C(e).forEach((e) => {
109
- e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
110
- });
111
- }
112
- function k(e) {
113
- let t = [];
114
- b(e, "[data-tabindex]", t), t.forEach((e) => {
115
- let t = e.dataset.tabindex;
116
- delete e.dataset.tabindex, t ? e.setAttribute("tabindex", t) : e.removeAttribute("tabindex");
117
- });
118
- }
1
+ //#region ../../node_modules/@base-ui/utils/visuallyHidden.mjs
2
+ var e = {
3
+ clipPath: "inset(50%)",
4
+ overflow: "hidden",
5
+ whiteSpace: "nowrap",
6
+ border: 0,
7
+ padding: 0,
8
+ width: 1,
9
+ height: 1,
10
+ margin: -1
11
+ }, t = {
12
+ ...e,
13
+ position: "fixed",
14
+ top: 0,
15
+ left: 0
16
+ }, n = {
17
+ ...e,
18
+ position: "absolute"
19
+ };
119
20
  //#endregion
120
- export { O as disableFocusInside, k as enableFocusInside, S as focusable, T as getNextTabbable, E as getPreviousTabbable, D as isOutsideEvent, x as isTabbable, C as tabbable };
21
+ export { t as visuallyHidden, n as visuallyHiddenInput };
121
22
 
122
23
  //# sourceMappingURL=index235.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index235.js","names":[],"sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/tabbable.mjs"],"sourcesContent":["import { getComputedStyle, getNodeName, isHTMLElement, isShadowRoot } from '@floating-ui/utils/dom';\nimport { ownerDocument } from '@base-ui/utils/owner';\nimport { activeElement, contains } from \"./element.mjs\";\nimport { isElementVisible } from \"./composite.mjs\";\nconst CANDIDATE_SELECTOR = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable=\"false\"]),audio[controls],video[controls]';\nfunction getParentElement(element) {\n const assignedSlot = element.assignedSlot;\n if (assignedSlot) {\n return assignedSlot;\n }\n if (element.parentElement) {\n return element.parentElement;\n }\n const rootNode = element.getRootNode();\n return isShadowRoot(rootNode) ? rootNode.host : null;\n}\nfunction getDetailsSummary(details) {\n for (const child of Array.from(details.children)) {\n if (getNodeName(child) === 'summary') {\n return child;\n }\n }\n return null;\n}\nfunction isWithinOpenDetailsSummary(element, details) {\n const summary = getDetailsSummary(details);\n return !!summary && (element === summary || contains(summary, element));\n}\nfunction isFocusableCandidate(element) {\n const nodeName = element ? getNodeName(element) : '';\n return element != null && element.matches(CANDIDATE_SELECTOR) && (nodeName !== 'summary' || element.parentElement != null && getNodeName(element.parentElement) === 'details' && getDetailsSummary(element.parentElement) === element) && (nodeName !== 'details' || getDetailsSummary(element) == null) && (nodeName !== 'input' || element.type !== 'hidden');\n}\nfunction isFocusableElement(element) {\n if (!isFocusableCandidate(element) || !element.isConnected || element.matches(':disabled')) {\n return false;\n }\n for (let current = element; current; current = getParentElement(current)) {\n const isAncestor = current !== element;\n const isSlot = getNodeName(current) === 'slot';\n if (current.hasAttribute('inert')) {\n return false;\n }\n if (isAncestor && getNodeName(current) === 'details' && !current.open && !isWithinOpenDetailsSummary(element, current) || current.hasAttribute('hidden') || !isSlot && !isVisibleInTabbableTree(current, isAncestor)) {\n return false;\n }\n }\n return true;\n}\nfunction isVisibleInTabbableTree(element, isAncestor) {\n const styles = getComputedStyle(element);\n if (!isAncestor) {\n return isElementVisible(element, styles);\n }\n return styles.display !== 'none';\n}\nfunction getTabIndex(element) {\n const tabIndex = element.tabIndex;\n if (tabIndex < 0) {\n const nodeName = getNodeName(element);\n if (nodeName === 'details' || nodeName === 'audio' || nodeName === 'video' || isHTMLElement(element) && element.isContentEditable) {\n return 0;\n }\n }\n return tabIndex;\n}\nfunction getNamedRadioInput(element) {\n if (getNodeName(element) !== 'input') {\n return null;\n }\n const input = element;\n return input.type === 'radio' && input.name !== '' ? input : null;\n}\nfunction isTabbableRadio(element, candidates) {\n const input = getNamedRadioInput(element);\n if (!input) {\n return true;\n }\n const checkedRadio = candidates.find(candidate => {\n const radio = getNamedRadioInput(candidate);\n return radio?.name === input.name && radio.form === input.form && radio.checked;\n });\n if (checkedRadio) {\n return checkedRadio === input;\n }\n return candidates.find(candidate => {\n const radio = getNamedRadioInput(candidate);\n return radio?.name === input.name && radio.form === input.form;\n }) === input;\n}\nfunction getComposedChildren(container) {\n if (isHTMLElement(container) && getNodeName(container) === 'slot') {\n const assignedElements = container.assignedElements({\n flatten: true\n });\n if (assignedElements.length > 0) {\n return assignedElements;\n }\n }\n if (isHTMLElement(container) && container.shadowRoot) {\n return Array.from(container.shadowRoot.children);\n }\n return Array.from(container.children);\n}\nfunction appendCandidates(container, list) {\n getComposedChildren(container).forEach(child => {\n if (isFocusableCandidate(child)) {\n list.push(child);\n }\n appendCandidates(child, list);\n });\n}\nfunction appendMatchingElements(container, selector, list) {\n getComposedChildren(container).forEach(child => {\n if (isHTMLElement(child) && child.matches(selector)) {\n list.push(child);\n }\n appendMatchingElements(child, selector, list);\n });\n}\nexport function isTabbable(element) {\n return isFocusableElement(element) && getTabIndex(element) >= 0;\n}\nexport function focusable(container) {\n const candidates = [];\n appendCandidates(container, candidates);\n return candidates.filter(isFocusableElement);\n}\nexport function tabbable(container) {\n const candidates = focusable(container);\n return candidates.filter(element => getTabIndex(element) >= 0 && isTabbableRadio(element, candidates));\n}\nfunction getTabbableIn(container, dir) {\n const list = tabbable(container);\n const len = list.length;\n if (len === 0) {\n return undefined;\n }\n const active = activeElement(ownerDocument(container));\n const index = list.indexOf(active);\n // eslint-disable-next-line no-nested-ternary\n const nextIndex = index === -1 ? dir === 1 ? 0 : len - 1 : index + dir;\n return list[nextIndex];\n}\nexport function getNextTabbable(referenceElement) {\n return getTabbableIn(ownerDocument(referenceElement).body, 1) || referenceElement;\n}\nexport function getPreviousTabbable(referenceElement) {\n return getTabbableIn(ownerDocument(referenceElement).body, -1) || referenceElement;\n}\nfunction getTabbableNearElement(referenceElement, dir) {\n if (!referenceElement) {\n return null;\n }\n const list = tabbable(ownerDocument(referenceElement).body);\n const elementCount = list.length;\n if (elementCount === 0) {\n return null;\n }\n const index = list.indexOf(referenceElement);\n if (index === -1) {\n return null;\n }\n const nextIndex = (index + dir + elementCount) % elementCount;\n return list[nextIndex];\n}\nexport function getTabbableAfterElement(referenceElement) {\n return getTabbableNearElement(referenceElement, 1);\n}\nexport function getTabbableBeforeElement(referenceElement) {\n return getTabbableNearElement(referenceElement, -1);\n}\nexport function isOutsideEvent(event, container) {\n const containerElement = container || event.currentTarget;\n const relatedTarget = event.relatedTarget;\n return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nexport function disableFocusInside(container) {\n const tabbableElements = tabbable(container);\n tabbableElements.forEach(element => {\n element.dataset.tabindex = element.getAttribute('tabindex') || '';\n element.setAttribute('tabindex', '-1');\n });\n}\nexport function enableFocusInside(container) {\n const elements = [];\n appendMatchingElements(container, '[data-tabindex]', elements);\n elements.forEach(element => {\n const tabindex = element.dataset.tabindex;\n delete element.dataset.tabindex;\n if (tabindex) {\n element.setAttribute('tabindex', tabindex);\n } else {\n element.removeAttribute('tabindex');\n }\n });\n}"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"index235.js","names":["visuallyHiddenBase","visuallyHidden","visuallyHiddenInput"],"sources":["../../../node_modules/@base-ui/utils/visuallyHidden.mjs"],"sourcesContent":["const visuallyHiddenBase = {\n clipPath: 'inset(50%)',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n border: 0,\n padding: 0,\n width: 1,\n height: 1,\n margin: -1\n};\nexport const visuallyHidden = {\n ...visuallyHiddenBase,\n position: 'fixed',\n top: 0,\n left: 0\n};\nexport const visuallyHiddenInput = {\n ...visuallyHiddenBase,\n position: 'absolute'\n};"],"ignoreList":[0],"mappings":";AAAA,IAAMA,IAAqB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,QAAQ;CACR,SAAS;CACT,OAAO;CACP,QAAQ;CACR,QAAQ;AACV,GACaC,IAAiB;CAC5B,GAAGD;CACH,UAAU;CACV,KAAK;CACL,MAAM;AACR,GACaE,IAAsB;CACjC,GAAGF;CACH,UAAU;AACZ"}
package/dist/index236.js CHANGED
@@ -1,16 +1,31 @@
1
- //#region ../../node_modules/@base-ui/react/floating-ui-react/utils/nodes.mjs
2
- function e(t, n, r = !0) {
3
- return t.filter((e) => e.parentId === n).flatMap((n) => [...!r || n.context?.open ? [n] : [], ...e(t, n.id, r)]);
4
- }
5
- function t(e, t) {
6
- let n = [], r = e.find((e) => e.id === t)?.parentId;
7
- for (; r;) {
8
- let t = e.find((e) => e.id === r);
9
- r = t?.parentId, t && (n = n.concat(t));
10
- }
11
- return n;
12
- }
1
+ "use client";
2
+ import { useIsoLayoutEffect as e } from "./index208.js";
3
+ import { webkit as t } from "./index224.js";
4
+ import { voiceOver as n } from "./index225.js";
5
+ import { visuallyHidden as r } from "./index235.js";
6
+ import * as i from "react";
7
+ import { jsx as a } from "react/jsx-runtime";
8
+ //#region ../../node_modules/@base-ui/react/utils/FocusGuard.mjs
9
+ var o = /*#__PURE__*/ i.forwardRef(function(o, s) {
10
+ let [c, l] = i.useState();
11
+ e(() => {
12
+ n && t && l("button");
13
+ }, []);
14
+ let u = {
15
+ tabIndex: 0,
16
+ role: c
17
+ };
18
+ return /*#__PURE__*/ a("span", {
19
+ ...o,
20
+ ref: s,
21
+ style: r,
22
+ "aria-hidden": !c || void 0,
23
+ ...u,
24
+ "data-base-ui-focus-guard": ""
25
+ });
26
+ });
27
+ process.env.NODE_ENV !== "production" && (o.displayName = "FocusGuard");
13
28
  //#endregion
14
- export { t as getNodeAncestors, e as getNodeChildren };
29
+ export { o as FocusGuard };
15
30
 
16
31
  //# sourceMappingURL=index236.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index236.js","names":[],"sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/nodes.mjs"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-loop-func */\n\nexport function getNodeChildren(nodes, id, onlyOpenChildren = true) {\n const directChildren = nodes.filter(node => node.parentId === id);\n return directChildren.flatMap(child => [...(!onlyOpenChildren || child.context?.open ? [child] : []), ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);\n}\nexport function getDeepestNode(nodes, id) {\n let deepestNodeId;\n let maxDepth = -1;\n function findDeepest(nodeId, depth) {\n if (depth > maxDepth) {\n deepestNodeId = nodeId;\n maxDepth = depth;\n }\n const children = getNodeChildren(nodes, nodeId);\n children.forEach(child => {\n findDeepest(child.id, depth + 1);\n });\n }\n findDeepest(id, 0);\n return nodes.find(node => node.id === deepestNodeId);\n}\nexport function getNodeAncestors(nodes, id) {\n let allAncestors = [];\n let currentParentId = nodes.find(node => node.id === id)?.parentId;\n while (currentParentId) {\n const currentNode = nodes.find(node => node.id === currentParentId);\n currentParentId = currentNode?.parentId;\n if (currentNode) {\n allAncestors = allAncestors.concat(currentNode);\n }\n }\n return allAncestors;\n}"],"x_google_ignoreList":[0],"mappings":";AAEA,SAAgB,EAAgB,GAAO,GAAI,IAAmB,IAAM;CAElE,OADuB,EAAM,QAAO,MAAQ,EAAK,aAAa,CAC1C,CAAC,CAAC,SAAQ,MAAS,CAAC,GAAI,CAAC,KAAoB,EAAM,SAAS,OAAO,CAAC,CAAK,IAAI,CAAC,GAAI,GAAG,EAAgB,GAAO,EAAM,IAAI,CAAgB,CAAC,CAAC;AAC9J;AAiBA,SAAgB,EAAiB,GAAO,GAAI;CAC1C,IAAI,IAAe,CAAC,GAChB,IAAkB,EAAM,MAAK,MAAQ,EAAK,OAAO,CAAE,CAAC,EAAE;CAC1D,OAAO,IAAiB;EACtB,IAAM,IAAc,EAAM,MAAK,MAAQ,EAAK,OAAO,CAAe;EAElE,AADA,IAAkB,GAAa,UAC3B,MACF,IAAe,EAAa,OAAO,CAAW;CAElD;CACA,OAAO;AACT"}
1
+ {"version":3,"file":"index236.js","names":["React","platform.screenReader.voiceOver","platform.engine.webkit","React$1","FocusGuard","role","setRole","voiceOver","webkit","restProps","props","visuallyHidden"],"sources":["../../../node_modules/@base-ui/react/utils/FocusGuard.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { platform } from '@base-ui/utils/platform';\nimport { visuallyHidden } from '@base-ui/utils/visuallyHidden';\n\n/**\n * @internal\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref) {\n const [role, setRole] = React.useState();\n useIsoLayoutEffect(() => {\n // Unlike NVDA and JAWS, VoiceOver's virtual cursor triggers `onFocus` as\n // it moves — but only on focusable/role-button elements through WebKit's\n // NSAccessibility path. Setting `role=\"button\"` lets the focus trap catch\n // the cursor.\n if (platform.screenReader.voiceOver && platform.engine.webkit) {\n setRole('button');\n }\n }, []);\n const restProps = {\n tabIndex: 0,\n // Role is only for VoiceOver\n role\n };\n return /*#__PURE__*/_jsx(\"span\", {\n ...props,\n ref: ref,\n style: visuallyHidden,\n \"aria-hidden\": role ? undefined : true,\n ...restProps,\n \"data-base-ui-focus-guard\": \"\"\n });\n});\nif (process.env.NODE_ENV !== \"production\") FocusGuard.displayName = \"FocusGuard\";"],"ignoreList":[0],"mappings":";;;;;;;;AAWA,IAAaI,IAA0B,gBAAM,WAAW,SAAoB,GAAO,GAAK;CACtF,IAAM,CAACC,GAAMC,KAAWN,EAAM,SAAS;CACvC,QAAyB;EAKvB,AAAIC,KAAmCC,KACrCI,EAAQ,QAAQ;CAEpB,GAAG,CAAC,CAAC;CACL,IAAMG,IAAY;EAChB,UAAU;EAEV;CACF;CACA,OAAoB,gBAAK,QAAQ;EAC/B,GAAGC;EACE;EACL,OAAOC;EACP,eAAe,MAAO,KAAA;EACtB,GAAGF;EACH,4BAA4B;CAC9B,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAW,cAAc"}
package/dist/index237.js CHANGED
@@ -1,8 +1,102 @@
1
- //#region ../../node_modules/@base-ui/react/floating-ui-react/utils/createAttribute.mjs
2
- function e(e) {
3
- return `data-base-ui-${e}`;
1
+ //#region ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
2
+ var e = Math.min, t = Math.max, n = Math.round, r = Math.floor, i = (e) => ({
3
+ x: e,
4
+ y: e
5
+ }), a = {
6
+ left: "right",
7
+ right: "left",
8
+ bottom: "top",
9
+ top: "bottom"
10
+ };
11
+ function o(n, r, i) {
12
+ return t(n, e(r, i));
13
+ }
14
+ function s(e, t) {
15
+ return typeof e == "function" ? e(t) : e;
16
+ }
17
+ function c(e) {
18
+ return e.split("-")[0];
19
+ }
20
+ function l(e) {
21
+ return e.split("-")[1];
22
+ }
23
+ function u(e) {
24
+ return e === "x" ? "y" : "x";
25
+ }
26
+ function d(e) {
27
+ return e === "y" ? "height" : "width";
28
+ }
29
+ function f(e) {
30
+ let t = e[0];
31
+ return t === "t" || t === "b" ? "y" : "x";
32
+ }
33
+ function p(e) {
34
+ return u(f(e));
35
+ }
36
+ function m(e, t, n) {
37
+ n === void 0 && (n = !1);
38
+ let r = l(e), i = p(e), a = d(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
39
+ return t.reference[a] > t.floating[a] && (o = C(o)), [o, C(o)];
40
+ }
41
+ function h(e) {
42
+ let t = C(e);
43
+ return [
44
+ g(e),
45
+ t,
46
+ g(t)
47
+ ];
48
+ }
49
+ function g(e) {
50
+ return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
51
+ }
52
+ var _ = ["left", "right"], v = ["right", "left"], y = ["top", "bottom"], b = ["bottom", "top"];
53
+ function x(e, t, n) {
54
+ switch (e) {
55
+ case "top":
56
+ case "bottom": return n ? t ? v : _ : t ? _ : v;
57
+ case "left":
58
+ case "right": return t ? y : b;
59
+ default: return [];
60
+ }
61
+ }
62
+ function S(e, t, n, r) {
63
+ let i = l(e), a = x(c(e), n === "start", r);
64
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(g)))), a;
65
+ }
66
+ function C(e) {
67
+ let t = c(e);
68
+ return a[t] + e.slice(t.length);
69
+ }
70
+ function w(e) {
71
+ return {
72
+ top: e.top ?? 0,
73
+ right: e.right ?? 0,
74
+ bottom: e.bottom ?? 0,
75
+ left: e.left ?? 0
76
+ };
77
+ }
78
+ function T(e) {
79
+ return typeof e == "number" ? {
80
+ top: e,
81
+ right: e,
82
+ bottom: e,
83
+ left: e
84
+ } : w(e);
85
+ }
86
+ function E(e) {
87
+ let { x: t, y: n, width: r, height: i } = e;
88
+ return {
89
+ width: r,
90
+ height: i,
91
+ top: n,
92
+ left: t,
93
+ right: t + r,
94
+ bottom: n + i,
95
+ x: t,
96
+ y: n
97
+ };
4
98
  }
5
99
  //#endregion
6
- export { e as createAttribute };
100
+ export { o as clamp, i as createCoords, s as evaluate, w as expandPaddingObject, r as floor, l as getAlignment, p as getAlignmentAxis, m as getAlignmentSides, d as getAxisLength, h as getExpandedPlacements, g as getOppositeAlignmentPlacement, u as getOppositeAxis, S as getOppositeAxisPlacements, C as getOppositePlacement, T as getPaddingObject, c as getSide, f as getSideAxis, t as max, e as min, E as rectToClientRect, n as round };
7
101
 
8
102
  //# sourceMappingURL=index237.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index237.js","names":[],"sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/createAttribute.mjs"],"sourcesContent":["export function createAttribute(name) {\n return `data-base-ui-${name}`;\n}"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAgB,GAAM;CACpC,OAAO,gBAAgB;AACzB"}
1
+ {"version":3,"file":"index237.js","names":["min","max","round","floor","createCoords","v","oppositeSideMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","firstChar","getAlignmentAxis","getAlignmentSides","rtl","alignment","alignmentAxis","length","mainAlignmentSide","rects","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","lrPlacement","rlPlacement","tbPlacement","btPlacement","getSideList","side","isStart","getOppositeAxisPlacements","list","direction","flipAlignment","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","y","x","width","height"],"sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n const firstChar = placement[0];\n return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n const side = getSide(placement);\n return oppositeSideMap[side] + placement.slice(side.length);\n}\nfunction expandPaddingObject(padding) {\n var _padding$top, _padding$right, _padding$bottom, _padding$left;\n return {\n top: (_padding$top = padding.top) != null ? _padding$top : 0,\n right: (_padding$right = padding.right) != null ? _padding$right : 0,\n bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,\n left: (_padding$left = padding.left) != null ? _padding$left : 0\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"ignoreList":[0],"mappings":"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"}
package/dist/index238.js CHANGED
@@ -1,19 +1,37 @@
1
- import { NOOP as e } from "./index191.js";
2
- //#region ../../node_modules/@base-ui/react/floating-ui-react/utils/enqueueFocus.mjs
3
- var t = 0;
4
- function n(n, r = {}) {
5
- let { preventScroll: i = !1, sync: a = !1, shouldFocus: o } = r;
6
- cancelAnimationFrame(t);
7
- function s() {
8
- o && !o() || n?.focus({ preventScroll: i });
9
- }
10
- if (a) return s(), e;
11
- let c = requestAnimationFrame(s);
12
- return t = c, () => {
13
- t === c && (cancelAnimationFrame(c), t = 0);
14
- };
1
+ import { getComputedStyle as e } from "./index204.js";
2
+ //#region ../../node_modules/@base-ui/react/floating-ui-react/utils/composite.mjs
3
+ function t(e, t) {
4
+ return t < 0 || t >= e.length;
5
+ }
6
+ function n(e, t) {
7
+ return i(e.current, { disabledIndices: t });
8
+ }
9
+ function r(e, t) {
10
+ return i(e.current, {
11
+ decrement: !0,
12
+ startingIndex: e.current.length,
13
+ disabledIndices: t
14
+ });
15
+ }
16
+ function i(e, { startingIndex: t = -1, decrement: n = !1, disabledIndices: r, amount: i = 1 } = {}) {
17
+ let o = t;
18
+ do
19
+ o += n ? -i : i;
20
+ while (o >= 0 && o <= e.length - 1 && a(e, o, r));
21
+ return o;
22
+ }
23
+ function a(e, t, n) {
24
+ if (typeof n == "function" ? n(t) : n?.includes(t) ?? !1) return !0;
25
+ let r = e[t];
26
+ return r ? !s(r) || r.matches(":disabled") ? !0 : !n && (r.hasAttribute("disabled") || r.getAttribute("aria-disabled") === "true") : !1;
27
+ }
28
+ function o(e) {
29
+ return e.visibility === "hidden" || e.visibility === "collapse";
30
+ }
31
+ function s(t, n = t ? e(t) : null) {
32
+ return !t || !t.isConnected || !n || o(n) ? !1 : typeof t.checkVisibility == "function" ? t.checkVisibility() : n.display !== "none" && n.display !== "contents";
15
33
  }
16
34
  //#endregion
17
- export { n as enqueueFocus };
35
+ export { i as findNonDisabledListIndex, r as getMaxListIndex, n as getMinListIndex, s as isElementVisible, o as isHiddenByStyles, t as isIndexOutOfListBounds, a as isListIndexDisabled };
18
36
 
19
37
  //# sourceMappingURL=index238.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index238.js","names":[],"sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/enqueueFocus.mjs"],"sourcesContent":["import { NOOP } from '@base-ui/utils/empty';\nlet rafId = 0;\nexport function enqueueFocus(el, options = {}) {\n const {\n preventScroll = false,\n sync = false,\n shouldFocus\n } = options;\n cancelAnimationFrame(rafId);\n function exec() {\n if (shouldFocus && !shouldFocus()) {\n return;\n }\n el?.focus({\n preventScroll\n });\n }\n if (sync) {\n exec();\n return NOOP;\n }\n const currentRafId = requestAnimationFrame(exec);\n rafId = currentRafId;\n return () => {\n if (rafId === currentRafId) {\n cancelAnimationFrame(currentRafId);\n rafId = 0;\n }\n };\n}"],"x_google_ignoreList":[0],"mappings":";;AACA,IAAI,IAAQ;AACZ,SAAgB,EAAa,GAAI,IAAU,CAAC,GAAG;CAC7C,IAAM,EACJ,mBAAgB,IAChB,UAAO,IACP,mBACE;CACJ,qBAAqB,CAAK;CAC1B,SAAS,IAAO;EACV,KAAe,CAAC,EAAY,KAGhC,GAAI,MAAM,EACR,iBACF,CAAC;CACH;CACA,IAAI,GAEF,OADA,EAAK,GACE;CAET,IAAM,IAAe,sBAAsB,CAAI;CAE/C,OADA,IAAQ,SACK;EACX,AAAI,MAAU,MACZ,qBAAqB,CAAY,GACjC,IAAQ;CAEZ;AACF"}
1
+ {"version":3,"file":"index238.js","names":["isIndexOutOfListBounds","index","list","getMinListIndex","findNonDisabledListIndex","listRef","getMaxListIndex","startingIndex","decrement","amount","isListIndexDisabled","disabledIndices","element","isElementVisible","isHiddenByStyles","styles","getComputedStyle"],"sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/composite.mjs"],"sourcesContent":["import { floor } from '@floating-ui/utils';\nimport { getComputedStyle } from '@floating-ui/utils/dom';\nimport { stopEvent } from \"./event.mjs\";\nimport { ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP } from \"./constants.mjs\";\nexport function isDifferentGridRow(index, cols, prevRow) {\n return Math.floor(index / cols) !== prevRow;\n}\nexport function isIndexOutOfListBounds(list, index) {\n return index < 0 || index >= list.length;\n}\nexport function getMinListIndex(listRef, disabledIndices) {\n return findNonDisabledListIndex(listRef.current, {\n disabledIndices\n });\n}\nexport function getMaxListIndex(listRef, disabledIndices) {\n return findNonDisabledListIndex(listRef.current, {\n decrement: true,\n startingIndex: listRef.current.length,\n disabledIndices\n });\n}\nexport function findNonDisabledListIndex(list, {\n startingIndex = -1,\n decrement = false,\n disabledIndices,\n amount = 1\n} = {}) {\n let index = startingIndex;\n do {\n index += decrement ? -amount : amount;\n } while (index >= 0 && index <= list.length - 1 && isListIndexDisabled(list, index, disabledIndices));\n return index;\n}\nexport function getGridNavigatedIndex(list, {\n event,\n orientation,\n loopFocus,\n onLoop,\n rtl,\n cols,\n disabledIndices,\n minIndex,\n maxIndex,\n prevIndex,\n stopEvent: stop = false\n}) {\n let nextIndex = prevIndex;\n let verticalDirection;\n if (event.key === ARROW_UP) {\n verticalDirection = 'up';\n } else if (event.key === ARROW_DOWN) {\n verticalDirection = 'down';\n }\n if (verticalDirection) {\n // -------------------------------------------------------------------------\n // Detect row structure only when handling vertical navigation. This keeps\n // the non-vertical key paths free from row inference work.\n // -------------------------------------------------------------------------\n const rows = [];\n const rowIndexMap = [];\n let hasRoleRow = false;\n let visibleItemCount = 0;\n {\n let currentRowEl = null;\n let currentRowIndex = -1;\n list.forEach((el, idx) => {\n if (el == null) {\n return;\n }\n visibleItemCount += 1;\n const rowEl = el.closest('[role=\"row\"]');\n if (rowEl) {\n hasRoleRow = true;\n }\n if (rowEl !== currentRowEl || currentRowIndex === -1) {\n currentRowEl = rowEl;\n currentRowIndex += 1;\n rows[currentRowIndex] = [];\n }\n rows[currentRowIndex].push(idx);\n rowIndexMap[idx] = currentRowIndex;\n });\n }\n let hasDomRows = false;\n let inferredDomCols = 0;\n if (hasRoleRow) {\n for (const row of rows) {\n const rowLength = row.length;\n if (rowLength > inferredDomCols) {\n inferredDomCols = rowLength;\n }\n if (rowLength !== cols) {\n hasDomRows = true;\n }\n }\n }\n const hasVirtualizedGaps = hasDomRows && visibleItemCount < list.length;\n const verticalCols = inferredDomCols || cols;\n const navigateVertically = direction => {\n if (!hasDomRows || prevIndex === -1) {\n return undefined;\n }\n const currentRow = rowIndexMap[prevIndex];\n if (currentRow == null) {\n return undefined;\n }\n const colInRow = rows[currentRow].indexOf(prevIndex);\n const step = direction === 'up' ? -1 : 1;\n for (let nextRow = currentRow + step, i = 0; i < rows.length; i += 1, nextRow += step) {\n if (nextRow < 0 || nextRow >= rows.length) {\n if (!loopFocus || hasVirtualizedGaps) {\n return undefined;\n }\n nextRow = nextRow < 0 ? rows.length - 1 : 0;\n if (onLoop) {\n const clampedCol = Math.min(colInRow, rows[nextRow].length - 1);\n const targetItemIndex = rows[nextRow][clampedCol] ?? rows[nextRow][0];\n const returnedItemIndex = onLoop(event, prevIndex, targetItemIndex);\n nextRow = rowIndexMap[returnedItemIndex] ?? nextRow;\n }\n }\n const targetRow = rows[nextRow];\n for (let col = Math.min(colInRow, targetRow.length - 1); col >= 0; col -= 1) {\n const candidate = targetRow[col];\n if (!isListIndexDisabled(list, candidate, disabledIndices)) {\n return candidate;\n }\n }\n }\n return undefined;\n };\n const navigateVerticallyWithInferredRows = direction => {\n if (!hasVirtualizedGaps || prevIndex === -1) {\n return undefined;\n }\n const colInRow = prevIndex % verticalCols;\n const rowStep = direction === 'up' ? -verticalCols : verticalCols;\n const lastRowStart = maxIndex - maxIndex % verticalCols;\n const rowCount = floor(maxIndex / verticalCols) + 1;\n for (let rowStart = prevIndex - colInRow + rowStep, i = 0; i < rowCount; i += 1, rowStart += rowStep) {\n if (rowStart < 0 || rowStart > maxIndex) {\n if (!loopFocus) {\n return undefined;\n }\n rowStart = rowStart < 0 ? lastRowStart : 0;\n }\n const rowEnd = Math.min(rowStart + verticalCols - 1, maxIndex);\n for (let candidate = Math.min(rowStart + colInRow, rowEnd); candidate >= rowStart; candidate -= 1) {\n if (!isListIndexDisabled(list, candidate, disabledIndices)) {\n return candidate;\n }\n }\n }\n return undefined;\n };\n if (stop) {\n stopEvent(event);\n }\n const verticalCandidate = navigateVertically(verticalDirection) ?? navigateVerticallyWithInferredRows(verticalDirection);\n if (verticalCandidate !== undefined) {\n nextIndex = verticalCandidate;\n } else if (prevIndex === -1) {\n nextIndex = verticalDirection === 'up' ? maxIndex : minIndex;\n } else {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n amount: verticalCols,\n decrement: verticalDirection === 'up',\n disabledIndices\n });\n if (loopFocus) {\n if (verticalDirection === 'up' && (prevIndex - verticalCols < minIndex || nextIndex < 0)) {\n const col = prevIndex % verticalCols;\n const maxCol = maxIndex % verticalCols;\n const offset = maxIndex - (maxCol - col);\n if (maxCol === col) {\n nextIndex = maxIndex;\n } else {\n nextIndex = maxCol > col ? offset : offset - verticalCols;\n }\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (verticalDirection === 'down' && prevIndex + verticalCols > maxIndex) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex % verticalCols - verticalCols,\n amount: verticalCols,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n }\n }\n if (isIndexOutOfListBounds(list, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n\n // Remains on the same row/column.\n if (orientation === 'both') {\n const prevRow = floor(prevIndex / cols);\n if (event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT)) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex % cols !== cols - 1) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n disabledIndices\n });\n if (loopFocus && isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n } else if (loopFocus) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT)) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex % cols !== 0) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n decrement: true,\n disabledIndices\n });\n if (loopFocus && isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n } else if (loopFocus) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n const lastRow = floor(maxIndex / cols) === prevRow;\n if (isIndexOutOfListBounds(list, nextIndex)) {\n if (loopFocus && lastRow) {\n nextIndex = event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT) ? maxIndex : findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n } else {\n nextIndex = prevIndex;\n }\n }\n }\n return nextIndex;\n}\n\n/** For each cell index, gets the item index that occupies that cell */\nexport function createGridCellMap(sizes, cols, dense) {\n const cellMap = [];\n let startIndex = 0;\n sizes.forEach(({\n width,\n height\n }, index) => {\n if (width > cols) {\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 new Error(`[Floating UI]: Invalid grid - item width at index ${index} is greater than grid columns`);\n }\n }\n let itemPlaced = false;\n if (dense) {\n startIndex = 0;\n }\n while (!itemPlaced) {\n const targetCells = [];\n for (let i = 0; i < width; i += 1) {\n for (let j = 0; j < height; j += 1) {\n targetCells.push(startIndex + i + j * cols);\n }\n }\n if (startIndex % cols + width <= cols && targetCells.every(cell => cellMap[cell] == null)) {\n targetCells.forEach(cell => {\n cellMap[cell] = index;\n });\n itemPlaced = true;\n } else {\n startIndex += 1;\n }\n }\n });\n\n // convert into a non-sparse array\n return [...cellMap];\n}\n\n/** Gets cell index of an item's corner or -1 when index is -1. */\nexport function getGridCellIndexOfCorner(index, sizes, cellMap, cols, corner) {\n if (index === -1) {\n return -1;\n }\n const firstCellIndex = cellMap.indexOf(index);\n const sizeItem = sizes[index];\n switch (corner) {\n case 'tl':\n return firstCellIndex;\n case 'tr':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + sizeItem.width - 1;\n case 'bl':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + (sizeItem.height - 1) * cols;\n case 'br':\n return cellMap.lastIndexOf(index);\n default:\n return -1;\n }\n}\n\n/** Gets all cell indices that correspond to the specified indices */\nexport function getGridCellIndices(indices, cellMap) {\n return cellMap.flatMap((index, cellIndex) => indices.includes(index) ? [cellIndex] : []);\n}\nexport function isListIndexDisabled(list, index, disabledIndices) {\n const isExplicitlyDisabled = typeof disabledIndices === 'function' ? disabledIndices(index) : disabledIndices?.includes(index) ?? false;\n if (isExplicitlyDisabled) {\n return true;\n }\n const element = list[index];\n if (!element) {\n return false;\n }\n if (!isElementVisible(element)) {\n return true;\n }\n\n // A natively disabled element can never receive focus, so it must always be\n // skipped, even when `disabledIndices` marks it as enabled. Only\n // `aria-disabled` items can be focusable-while-disabled.\n if (element.matches(':disabled')) {\n return true;\n }\n return !disabledIndices && (element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true');\n}\nexport function isHiddenByStyles(styles) {\n return styles.visibility === 'hidden' || styles.visibility === 'collapse';\n}\nexport function isElementVisible(element, styles = element ? getComputedStyle(element) : null) {\n if (!element || !element.isConnected || !styles || isHiddenByStyles(styles)) {\n return false;\n }\n if (typeof element.checkVisibility === 'function') {\n return element.checkVisibility();\n }\n return styles.display !== 'none' && styles.display !== 'contents';\n}"],"ignoreList":[0],"mappings":";;AAOA,SAAgBA,EAAuB,GAAM,GAAO;CAClD,OAAOC,IAAQ,KAAKA,KAASC,EAAK;AACpC;AACA,SAAgBC,EAAgB,GAAS,GAAiB;CACxD,OAAOC,EAAyBC,EAAQ,SAAS,EAC/C,mBACF,CAAC;AACH;AACA,SAAgBC,EAAgB,GAAS,GAAiB;CACxD,OAAOF,EAAyBC,EAAQ,SAAS;EAC/C,WAAW;EACX,eAAeA,EAAQ,QAAQ;EAC/B;CACF,CAAC;AACH;AACA,SAAgBD,EAAyB,GAAM,EAC7C,mBAAgB,IAChB,eAAY,IACZ,oBACA,YAAS,MACP,CAAC,GAAG;CACN,IAAIH,IAAQM;CACZ;EACE,KAASC,IAAY,CAACC,IAASA;QACxBR,KAAS,KAAKA,KAASC,EAAK,SAAS,KAAKQ,EAAoBR,GAAMD,GAAOU,CAAe;CACnG,OAAOV;AACT;AAuUA,SAAgBS,EAAoB,GAAM,GAAO,GAAiB;CAEhE,IAD6B,OAAOC,KAAoB,aAAaA,EAAgBV,CAAK,IAAIU,GAAiB,SAASV,CAAK,KAAK,IAEhI,OAAO;CAET,IAAMW,IAAUV,EAAKD;CAcrB,OAbKW,IAGD,CAACC,EAAiBD,CAAO,KAOzBA,EAAQ,QAAQ,WAAW,IACtB,KAEF,CAACD,MAAoBC,EAAQ,aAAa,UAAU,KAAKA,EAAQ,aAAa,eAAe,MAAM,UAZjG;AAaX;AACA,SAAgBE,EAAiB,GAAQ;CACvC,OAAOC,EAAO,eAAe,YAAYA,EAAO,eAAe;AACjE;AACA,SAAgBF,EAAiB,GAAS,IAASD,IAAUI,EAAiBJ,CAAO,IAAI,MAAM;CAO7F,OANI,CAACA,KAAW,CAACA,EAAQ,eAAe,CAACG,KAAUD,EAAiBC,CAAM,IACjE,KAEL,OAAOH,EAAQ,mBAAoB,aAC9BA,EAAQ,gBAAgB,IAE1BG,EAAO,YAAY,UAAUA,EAAO,YAAY;AACzD"}