@boxcustodia/library 1.5.1-canary.1 → 1.6.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 (684) hide show
  1. package/dist/index.d.ts +6 -3
  2. package/dist/index.es100.js +1 -1
  3. package/dist/index.es105.js +39 -56
  4. package/dist/index.es106.js +57 -38
  5. package/dist/index.es107.js +18 -13
  6. package/dist/index.es108.js +41 -14
  7. package/dist/index.es109.js +3667 -303
  8. package/dist/index.es110.js +1087 -13
  9. package/dist/index.es111.js +4 -3674
  10. package/dist/index.es112.js +4 -1087
  11. package/dist/index.es113.js +22 -4
  12. package/dist/index.es114.js +259 -4
  13. package/dist/index.es115.js +13 -55
  14. package/dist/index.es116.js +304 -49
  15. package/dist/index.es117.js +13 -92
  16. package/dist/index.es118.js +27 -37
  17. package/dist/index.es119.js +10 -24
  18. package/dist/index.es120.js +55 -30
  19. package/dist/index.es121.js +53 -39
  20. package/dist/index.es122.js +92 -18
  21. package/dist/index.es123.js +35 -39
  22. package/dist/index.es124.js +22 -257
  23. package/dist/index.es125.js +30 -10
  24. package/dist/index.es126.js +1 -1
  25. package/dist/index.es127.js +4 -13
  26. package/dist/index.es128.js +15 -22
  27. package/dist/index.es129.js +5 -26
  28. package/dist/index.es130.js +56 -3
  29. package/dist/index.es131.js +7 -9
  30. package/dist/index.es132.js +26 -5
  31. package/dist/index.es133.js +37 -55
  32. package/dist/index.es134.js +14 -27
  33. package/dist/index.es135.js +4 -18
  34. package/dist/index.es136.js +20 -42
  35. package/dist/index.es137.js +10 -69
  36. package/dist/index.es138.js +844 -18
  37. package/dist/index.es139.js +4 -4
  38. package/dist/index.es140.js +10 -33
  39. package/dist/index.es141.js +17 -846
  40. package/dist/index.es142.js +21 -4
  41. package/dist/index.es143.js +21 -10
  42. package/dist/index.es144.js +7 -4
  43. package/dist/index.es145.js +4 -4
  44. package/dist/index.es146.js +10 -4
  45. package/dist/index.es147.js +13 -6
  46. package/dist/index.es148.js +238 -17
  47. package/dist/index.es149.js +17 -26
  48. package/dist/index.es150.js +41 -221
  49. package/dist/index.es151.js +69 -10
  50. package/dist/index.es152.js +222 -39
  51. package/dist/index.es153.js +10 -240
  52. package/dist/index.es154.js +39 -19
  53. package/dist/index.es155.js +6 -13
  54. package/dist/index.es156.js +33 -13
  55. package/dist/index.es158.js +215 -28
  56. package/dist/index.es159.js +29 -14
  57. package/dist/index.es16.js +1 -1
  58. package/dist/index.es160.js +5 -4
  59. package/dist/index.es161.js +6 -7
  60. package/dist/index.es162.js +14 -216
  61. package/dist/index.es163.js +41 -42
  62. package/dist/index.es164.js +54 -55
  63. package/dist/index.es165.js +140 -136
  64. package/dist/index.es167.js +2 -2
  65. package/dist/index.es173.js +5 -26
  66. package/dist/index.es174.js +2 -15
  67. package/dist/index.es175.js +26 -32
  68. package/dist/index.es176.js +205 -11
  69. package/dist/index.es177.js +2 -2
  70. package/dist/index.es178.js +7 -205
  71. package/dist/index.es179.js +66 -5
  72. package/dist/index.es18.js +1 -1
  73. package/dist/index.es180.js +10 -67
  74. package/dist/index.es181.js +4 -4
  75. package/dist/index.es182.js +2 -2
  76. package/dist/index.es183.js +2 -2
  77. package/dist/index.es184.js +32 -14
  78. package/dist/index.es185.js +14 -8
  79. package/dist/index.es186.js +9 -50
  80. package/dist/index.es187.js +50 -6
  81. package/dist/index.es188.js +21 -2
  82. package/dist/index.es189.js +33 -17
  83. package/dist/index.es190.js +7 -33
  84. package/dist/index.es191.js +14 -10
  85. package/dist/index.es192.js +217 -3
  86. package/dist/index.es193.js +3 -649
  87. package/dist/index.es195.js +3 -3
  88. package/dist/index.es197.js +5 -217
  89. package/dist/index.es198.js +28 -6
  90. package/dist/index.es199.js +646 -24
  91. package/dist/index.es2.js +1 -1
  92. package/dist/index.es203.js +1 -1
  93. package/dist/index.es206.js +1 -1
  94. package/dist/index.es211.js +12 -21
  95. package/dist/index.es212.js +15 -3
  96. package/dist/index.es213.js +3 -32
  97. package/dist/index.es214.js +32 -12
  98. package/dist/index.es215.js +18 -12
  99. package/dist/index.es22.js +1 -1
  100. package/dist/index.es235.js +1 -1
  101. package/dist/index.es236.js +5 -5
  102. package/dist/index.es24.js +1 -1
  103. package/dist/index.es268.js +203 -23
  104. package/dist/index.es269.js +19 -175
  105. package/dist/index.es270.js +25 -19
  106. package/dist/index.es271.js +390 -49
  107. package/dist/index.es272.js +18 -15
  108. package/dist/index.es273.js +50 -203
  109. package/dist/index.es274.js +16 -22
  110. package/dist/index.es275.js +25 -25
  111. package/dist/index.es276.js +170 -385
  112. package/dist/index.es28.js +2 -2
  113. package/dist/index.es283.js +2 -2
  114. package/dist/index.es284.js +2 -2
  115. package/dist/index.es286.js +1 -1
  116. package/dist/index.es290.js +14 -17
  117. package/dist/index.es291.js +3 -3
  118. package/dist/index.es292.js +1 -1
  119. package/dist/index.es294.js +2 -2
  120. package/dist/index.es295.js +3 -3
  121. package/dist/index.es296.js +3 -3
  122. package/dist/index.es30.js +1 -1
  123. package/dist/index.es301.js +27 -7
  124. package/dist/index.es302.js +17 -13
  125. package/dist/index.es303.js +7 -27
  126. package/dist/index.es304.js +9 -9
  127. package/dist/index.es305.js +1 -1
  128. package/dist/index.es306.js +5 -5
  129. package/dist/index.es308.js +2 -2
  130. package/dist/index.es309.js +2 -2
  131. package/dist/index.es310.js +24 -14
  132. package/dist/index.es311.js +29 -3
  133. package/dist/index.es312.js +5 -25
  134. package/dist/index.es313.js +14 -28
  135. package/dist/index.es314.js +3 -5
  136. package/dist/index.es317.js +1 -1
  137. package/dist/index.es318.js +2 -2
  138. package/dist/index.es319.js +2 -2
  139. package/dist/index.es32.js +10 -9
  140. package/dist/index.es320.js +2 -2
  141. package/dist/index.es321.js +2 -2
  142. package/dist/index.es322.js +2 -2
  143. package/dist/index.es323.js +2 -2
  144. package/dist/index.es324.js +3 -3
  145. package/dist/index.es325.js +3 -3
  146. package/dist/index.es326.js +3 -3
  147. package/dist/index.es327.js +3 -3
  148. package/dist/index.es328.js +3 -3
  149. package/dist/index.es329.js +3 -3
  150. package/dist/index.es33.js +17 -16
  151. package/dist/index.es330.js +1 -1
  152. package/dist/index.es331.js +2 -2
  153. package/dist/index.es332.js +2 -2
  154. package/dist/index.es333.js +2 -2
  155. package/dist/index.es334.js +2 -2
  156. package/dist/index.es335.js +2 -2
  157. package/dist/index.es336.js +2 -2
  158. package/dist/index.es337.js +3 -3
  159. package/dist/index.es338.js +3 -3
  160. package/dist/index.es339.js +3 -3
  161. package/dist/index.es34.js +6 -6
  162. package/dist/index.es340.js +3 -3
  163. package/dist/index.es341.js +3 -3
  164. package/dist/index.es342.js +3 -3
  165. package/dist/index.es343.js +2 -2
  166. package/dist/index.es344.js +3 -3
  167. package/dist/index.es345.js +3 -3
  168. package/dist/index.es346.js +2 -2
  169. package/dist/index.es347.js +2 -2
  170. package/dist/index.es350.js +1 -1
  171. package/dist/index.es351.js +5 -5
  172. package/dist/index.es352.js +1 -1
  173. package/dist/index.es364.js +3 -3
  174. package/dist/index.es367.js +1 -1
  175. package/dist/index.es370.js +1 -1
  176. package/dist/index.es372.js +2 -2
  177. package/dist/index.es374.js +3 -3
  178. package/dist/index.es375.js +2 -2
  179. package/dist/index.es38.js +1 -1
  180. package/dist/index.es385.js +2 -2
  181. package/dist/index.es386.js +2 -2
  182. package/dist/index.es387.js +7 -7
  183. package/dist/index.es388.js +4 -4
  184. package/dist/index.es389.js +2 -2
  185. package/dist/index.es39.js +1 -1
  186. package/dist/index.es396.js +2 -93
  187. package/dist/index.es397.js +7 -184
  188. package/dist/index.es398.js +2 -48
  189. package/dist/index.es399.js +131 -4
  190. package/dist/index.es40.js +5 -5
  191. package/dist/index.es400.js +193 -3
  192. package/dist/index.es401.js +30 -2
  193. package/dist/index.es402.js +47 -7
  194. package/dist/index.es403.js +4 -2
  195. package/dist/index.es404.js +3 -5
  196. package/dist/index.es405.js +5 -3
  197. package/dist/index.es406.js +3 -24
  198. package/dist/index.es407.js +22 -108
  199. package/dist/index.es408.js +108 -14
  200. package/dist/index.es409.js +15 -67
  201. package/dist/index.es41.js +2 -2
  202. package/dist/index.es410.js +67 -30
  203. package/dist/index.es411.js +31 -9
  204. package/dist/index.es412.js +9 -153
  205. package/dist/index.es413.js +142 -97
  206. package/dist/index.es414.js +107 -19
  207. package/dist/index.es415.js +17 -98
  208. package/dist/index.es416.js +101 -47
  209. package/dist/index.es417.js +47 -6
  210. package/dist/index.es418.js +68 -2
  211. package/dist/index.es419.js +31 -8
  212. package/dist/index.es420.js +16 -327
  213. package/dist/index.es421.js +139 -48
  214. package/dist/index.es422.js +114 -4
  215. package/dist/index.es423.js +523 -2
  216. package/dist/index.es424.js +126 -230
  217. package/dist/index.es425.js +128 -233
  218. package/dist/index.es426.js +6 -68
  219. package/dist/index.es427.js +2 -31
  220. package/dist/index.es428.js +8 -16
  221. package/dist/index.es429.js +326 -140
  222. package/dist/index.es430.js +48 -112
  223. package/dist/index.es431.js +4 -2
  224. package/dist/index.es432.js +2 -8
  225. package/dist/index.es433.js +230 -45
  226. package/dist/index.es434.js +234 -2
  227. package/dist/index.es435.js +24 -8
  228. package/dist/index.es436.js +4 -24
  229. package/dist/index.es437.js +35 -4
  230. package/dist/index.es438.js +174 -32
  231. package/dist/index.es439.js +81 -169
  232. package/dist/index.es44.js +3 -3
  233. package/dist/index.es440.js +14 -86
  234. package/dist/index.es441.js +4 -17
  235. package/dist/index.es445.js +24 -2
  236. package/dist/index.es446.js +2 -24
  237. package/dist/index.es447.js +2 -2
  238. package/dist/index.es448.js +7 -522
  239. package/dist/index.es449.js +45 -126
  240. package/dist/index.es45.js +1 -1
  241. package/dist/index.es450.js +2 -129
  242. package/dist/index.es451.js +6 -272
  243. package/dist/index.es452.js +255 -63
  244. package/dist/index.es453.js +77 -163
  245. package/dist/index.es454.js +164 -23
  246. package/dist/index.es455.js +24 -5
  247. package/dist/index.es456.js +5 -127
  248. package/dist/index.es457.js +126 -23
  249. package/dist/index.es458.js +23 -3
  250. package/dist/index.es459.js +4 -12
  251. package/dist/index.es460.js +11 -41
  252. package/dist/index.es461.js +37 -52
  253. package/dist/index.es462.js +55 -38
  254. package/dist/index.es463.js +39 -27
  255. package/dist/index.es464.js +27 -30
  256. package/dist/index.es465.js +31 -10
  257. package/dist/index.es466.js +14 -10
  258. package/dist/index.es467.js +10 -9
  259. package/dist/index.es468.js +10 -6
  260. package/dist/index.es469.js +9 -5
  261. package/dist/index.es470.js +6 -7
  262. package/dist/index.es471.js +5 -29
  263. package/dist/index.es472.js +7 -18
  264. package/dist/index.es473.js +28 -12
  265. package/dist/index.es474.js +18 -43
  266. package/dist/index.es475.js +13 -8
  267. package/dist/index.es476.js +44 -3
  268. package/dist/index.es477.js +8 -4
  269. package/dist/index.es478.js +3 -25
  270. package/dist/index.es479.js +4 -19
  271. package/dist/index.es480.js +24 -107
  272. package/dist/index.es481.js +27 -14
  273. package/dist/index.es482.js +91 -24
  274. package/dist/index.es483.js +107 -52
  275. package/dist/index.es484.js +50 -29
  276. package/dist/index.es485.js +9 -29
  277. package/dist/index.es486.js +23 -92
  278. package/dist/index.es487.js +379 -7
  279. package/dist/index.es488.js +33 -25
  280. package/dist/index.es489.js +6 -381
  281. package/dist/index.es49.js +5 -5
  282. package/dist/index.es490.js +6 -33
  283. package/dist/index.es491.js +5 -7
  284. package/dist/index.es492.js +6 -6
  285. package/dist/index.es493.js +50 -4
  286. package/dist/index.es494.js +14 -6
  287. package/dist/index.es495.js +52 -48
  288. package/dist/index.es496.js +5 -29
  289. package/dist/index.es497.js +281 -54
  290. package/dist/index.es498.js +36 -5
  291. package/dist/index.es499.js +2 -282
  292. package/dist/index.es50.js +1 -1
  293. package/dist/index.es500.js +52 -36
  294. package/dist/index.es501.js +64 -55
  295. package/dist/index.es502.js +20 -72
  296. package/dist/index.es503.js +27 -167
  297. package/dist/index.es504.js +27 -18
  298. package/dist/index.es505.js +8 -2
  299. package/dist/index.es506.js +32 -51
  300. package/dist/index.es507.js +20 -64
  301. package/dist/index.es508.js +44 -7
  302. package/dist/index.es509.js +28 -32
  303. package/dist/index.es51.js +3 -3
  304. package/dist/index.es510.js +8 -44
  305. package/dist/index.es511.js +55 -29
  306. package/dist/index.es512.js +12 -8
  307. package/dist/index.es513.js +20 -11
  308. package/dist/index.es514.js +56 -18
  309. package/dist/index.es515.js +32 -58
  310. package/dist/index.es516.js +168 -30
  311. package/dist/index.es517.js +6 -6
  312. package/dist/index.es518.js +2 -2
  313. package/dist/index.es519.js +12 -12
  314. package/dist/index.es52.js +1 -1
  315. package/dist/index.es520.js +1 -1
  316. package/dist/index.es522.js +1 -1
  317. package/dist/index.es524.js +72 -21
  318. package/dist/index.es525.js +20 -167
  319. package/dist/index.es526.js +161 -43
  320. package/dist/index.es527.js +42 -61
  321. package/dist/index.es528.js +64 -8
  322. package/dist/index.es529.js +68 -13
  323. package/dist/index.es53.js +5 -4
  324. package/dist/index.es530.js +8 -61
  325. package/dist/index.es531.js +13 -64
  326. package/dist/index.es532.js +62 -7
  327. package/dist/index.es533.js +5 -14
  328. package/dist/index.es534.js +14 -27
  329. package/dist/index.es535.js +27 -11
  330. package/dist/index.es536.js +13 -2
  331. package/dist/index.es537.js +2 -76
  332. package/dist/index.es538.js +65 -82
  333. package/dist/index.es539.js +90 -49
  334. package/dist/index.es54.js +1 -1
  335. package/dist/index.es540.js +51 -7
  336. package/dist/index.es541.js +7 -4
  337. package/dist/index.es542.js +4 -51
  338. package/dist/index.es543.js +52 -2
  339. package/dist/index.es544.js +2 -2
  340. package/dist/index.es545.js +4 -8
  341. package/dist/index.es546.js +27 -4
  342. package/dist/index.es547.js +2 -2
  343. package/dist/index.es548.js +21 -81
  344. package/dist/index.es549.js +24 -98
  345. package/dist/index.es550.js +25 -24
  346. package/dist/index.es551.js +21 -4
  347. package/dist/index.es552.js +8 -4
  348. package/dist/index.es553.js +33 -8
  349. package/dist/index.es554.js +15 -7
  350. package/dist/index.es555.js +2 -2
  351. package/dist/index.es556.js +4 -6
  352. package/dist/index.es557.js +6 -34
  353. package/dist/index.es558.js +2 -17
  354. package/dist/index.es559.js +7 -5
  355. package/dist/index.es56.js +2 -2
  356. package/dist/index.es560.js +4 -23
  357. package/dist/index.es561.js +4 -21
  358. package/dist/index.es562.js +4 -21
  359. package/dist/index.es563.js +4 -23
  360. package/dist/index.es564.js +2 -2
  361. package/dist/index.es565.js +2 -2
  362. package/dist/index.es567.js +2 -2
  363. package/dist/index.es569.js +2 -2
  364. package/dist/index.es57.js +4 -4
  365. package/dist/index.es571.js +2 -2
  366. package/dist/index.es572.js +29 -4
  367. package/dist/index.es573.js +26 -4
  368. package/dist/index.es574.js +32 -4
  369. package/dist/index.es575.js +29 -4
  370. package/dist/index.es576.js +5 -7
  371. package/dist/index.es577.js +7 -7
  372. package/dist/index.es578.js +51 -11
  373. package/dist/index.es579.js +9 -12
  374. package/dist/index.es58.js +1 -1
  375. package/dist/index.es580.js +14 -9
  376. package/dist/index.es581.js +28 -10
  377. package/dist/index.es582.js +10 -56
  378. package/dist/index.es583.js +31 -11
  379. package/dist/index.es584.js +106 -15
  380. package/dist/index.es585.js +25 -23
  381. package/dist/index.es586.js +7 -6
  382. package/dist/index.es587.js +10 -30
  383. package/dist/index.es588.js +10 -107
  384. package/dist/index.es589.js +5 -25
  385. package/dist/index.es59.js +5 -5
  386. package/dist/index.es590.js +5 -9
  387. package/dist/index.es591.js +6 -2
  388. package/dist/index.es592.js +3 -3
  389. package/dist/index.es593.js +6 -11
  390. package/dist/index.es594.js +5 -2
  391. package/dist/index.es595.js +25 -7
  392. package/dist/index.es596.js +97 -5
  393. package/dist/index.es597.js +7 -4
  394. package/dist/index.es598.js +18 -8
  395. package/dist/index.es599.js +16 -20
  396. package/dist/index.es60.js +3 -3
  397. package/dist/index.es600.js +18 -81
  398. package/dist/index.es601.js +31 -11
  399. package/dist/index.es602.js +9 -19
  400. package/dist/index.es603.js +19 -20
  401. package/dist/index.es604.js +12 -31
  402. package/dist/index.es605.js +32 -14
  403. package/dist/index.es606.js +19 -9
  404. package/dist/index.es607.js +7 -27
  405. package/dist/index.es608.js +6 -16
  406. package/dist/index.es609.js +10 -42
  407. package/dist/index.es61.js +5 -5
  408. package/dist/index.es610.js +8 -23
  409. package/dist/index.es611.js +7 -4
  410. package/dist/index.es612.js +25 -8
  411. package/dist/index.es613.js +8 -10
  412. package/dist/index.es614.js +30 -9
  413. package/dist/index.es615.js +11 -9
  414. package/dist/index.es616.js +15 -30
  415. package/dist/index.es617.js +14 -10
  416. package/dist/index.es618.js +11 -27
  417. package/dist/index.es619.js +10 -17
  418. package/dist/index.es62.js +2 -2
  419. package/dist/index.es620.js +8 -15
  420. package/dist/index.es621.js +21 -10
  421. package/dist/index.es622.js +4 -4
  422. package/dist/index.es623.js +15 -6
  423. package/dist/index.es624.js +17 -5
  424. package/dist/index.es625.js +10 -17
  425. package/dist/index.es626.js +15 -10
  426. package/dist/index.es627.js +23 -10
  427. package/dist/index.es628.js +17 -16
  428. package/dist/index.es629.js +19 -19
  429. package/dist/index.es63.js +16 -15
  430. package/dist/index.es630.js +23 -13
  431. package/dist/index.es631.js +18 -31
  432. package/dist/index.es632.js +9 -22
  433. package/dist/index.es633.js +18 -20
  434. package/dist/index.es634.js +16 -24
  435. package/dist/index.es635.js +20 -9
  436. package/dist/index.es636.js +20 -4
  437. package/dist/index.es637.js +7 -12
  438. package/dist/index.es638.js +9 -16
  439. package/dist/index.es639.js +11 -26
  440. package/dist/index.es640.js +6 -17
  441. package/dist/index.es641.js +10 -11
  442. package/dist/index.es642.js +17 -15
  443. package/dist/index.es643.js +11 -8
  444. package/dist/index.es644.js +15 -11
  445. package/dist/index.es645.js +8 -15
  446. package/dist/index.es646.js +19 -16
  447. package/dist/index.es647.js +85 -8
  448. package/dist/index.es648.js +9 -13
  449. package/dist/index.es649.js +2 -2
  450. package/dist/index.es650.js +8 -11
  451. package/dist/index.es651.js +6 -91
  452. package/dist/index.es652.js +11 -10
  453. package/dist/index.es653.js +3 -3
  454. package/dist/index.es654.js +13 -15
  455. package/dist/index.es655.js +4 -21
  456. package/dist/index.es656.js +4 -27
  457. package/dist/index.es657.js +4 -21
  458. package/dist/index.es658.js +4 -26
  459. package/dist/index.es66.js +4 -4
  460. package/dist/index.es660.js +2 -2
  461. package/dist/index.es661.js +2 -2
  462. package/dist/index.es662.js +2 -2
  463. package/dist/index.es664.js +2 -2
  464. package/dist/index.es665.js +2 -2
  465. package/dist/index.es666.js +2 -2
  466. package/dist/index.es667.js +2 -2
  467. package/dist/index.es669.js +2 -2
  468. package/dist/index.es67.js +2 -2
  469. package/dist/index.es671.js +2 -2
  470. package/dist/index.es672.js +2 -2
  471. package/dist/index.es673.js +2 -2
  472. package/dist/index.es676.js +2 -2
  473. package/dist/index.es677.js +2 -2
  474. package/dist/index.es678.js +2 -2
  475. package/dist/index.es680.js +2 -2
  476. package/dist/index.es684.js +2 -2
  477. package/dist/index.es686.js +2 -2
  478. package/dist/index.es688.js +2 -2
  479. package/dist/index.es690.js +2 -2
  480. package/dist/index.es691.js +2 -2
  481. package/dist/index.es692.js +2 -2
  482. package/dist/index.es694.js +2 -2
  483. package/dist/index.es695.js +2 -2
  484. package/dist/index.es696.js +2 -2
  485. package/dist/index.es698.js +2 -2
  486. package/dist/index.es70.js +1 -1
  487. package/dist/index.es701.js +2 -2
  488. package/dist/index.es704.js +2 -2
  489. package/dist/index.es707.js +2 -2
  490. package/dist/index.es709.js +2 -2
  491. package/dist/index.es711.js +2 -2
  492. package/dist/index.es713.js +2 -2
  493. package/dist/index.es714.js +2 -2
  494. package/dist/index.es715.js +2 -2
  495. package/dist/index.es716.js +2 -2
  496. package/dist/index.es717.js +2 -2
  497. package/dist/index.es718.js +2 -2
  498. package/dist/index.es719.js +2 -2
  499. package/dist/index.es72.js +1 -1
  500. package/dist/index.es720.js +2 -2
  501. package/dist/index.es721.js +2 -2
  502. package/dist/index.es722.js +2 -2
  503. package/dist/index.es723.js +2 -2
  504. package/dist/index.es724.js +2 -2
  505. package/dist/index.es725.js +2 -2
  506. package/dist/index.es726.js +2 -2
  507. package/dist/index.es727.js +2 -2
  508. package/dist/index.es728.js +2 -2
  509. package/dist/index.es729.js +2 -2
  510. package/dist/index.es731.js +2 -2
  511. package/dist/index.es732.js +2 -2
  512. package/dist/index.es733.js +2 -2
  513. package/dist/index.es734.js +2 -2
  514. package/dist/index.es737.js +2 -2
  515. package/dist/index.es738.js +32 -4
  516. package/dist/index.es739.js +32 -4
  517. package/dist/index.es74.js +2 -2
  518. package/dist/index.es740.js +32 -4
  519. package/dist/index.es741.js +32 -4
  520. package/dist/index.es742.js +4 -7
  521. package/dist/index.es743.js +8 -8
  522. package/dist/index.es744.js +2 -2
  523. package/dist/index.es745.js +7 -10
  524. package/dist/index.es746.js +7 -4
  525. package/dist/index.es747.js +7 -7
  526. package/dist/index.es748.js +2 -2
  527. package/dist/index.es749.js +9 -6
  528. package/dist/index.es750.js +2 -2
  529. package/dist/index.es751.js +4 -4
  530. package/dist/index.es752.js +5 -5
  531. package/dist/index.es753.js +4 -4
  532. package/dist/index.es754.js +3 -3
  533. package/dist/index.es755.js +2 -2
  534. package/dist/index.es756.js +5 -5
  535. package/dist/index.es757.js +4 -4
  536. package/dist/index.es758.js +3 -8
  537. package/dist/index.es759.js +3 -3
  538. package/dist/index.es760.js +1 -1
  539. package/dist/index.es761.js +2 -2
  540. package/dist/index.es762.js +11 -9
  541. package/dist/index.es763.js +5 -5
  542. package/dist/index.es764.js +1 -1
  543. package/dist/index.es765.js +7 -10
  544. package/dist/index.es766.js +9 -6
  545. package/dist/index.es767.js +7 -8
  546. package/dist/index.es768.js +5 -5
  547. package/dist/index.es769.js +8 -5
  548. package/dist/index.es77.js +1 -1
  549. package/dist/index.es770.js +2 -2
  550. package/dist/index.es771.js +5 -4
  551. package/dist/index.es772.js +5 -11
  552. package/dist/index.es773.js +6 -6
  553. package/dist/index.es774.js +2 -2
  554. package/dist/index.es775.js +2 -2
  555. package/dist/index.es776.js +11 -5
  556. package/dist/index.es777.js +4 -32
  557. package/dist/index.es778.js +4 -32
  558. package/dist/index.es779.js +4 -32
  559. package/dist/index.es78.js +1 -1
  560. package/dist/index.es780.js +4 -32
  561. package/dist/index.es782.js +2 -2
  562. package/dist/index.es784.js +2 -2
  563. package/dist/index.es785.js +2 -2
  564. package/dist/index.es790.js +2 -2
  565. package/dist/index.es793.js +2 -2
  566. package/dist/index.es794.js +2 -2
  567. package/dist/index.es796.js +2 -2
  568. package/dist/index.es797.js +2 -2
  569. package/dist/index.es80.js +1 -1
  570. package/dist/index.es800.js +2 -2
  571. package/dist/index.es801.js +2 -2
  572. package/dist/index.es802.js +2 -2
  573. package/dist/index.es804.js +2 -2
  574. package/dist/index.es807.js +2 -2
  575. package/dist/index.es808.js +2 -2
  576. package/dist/index.es809.js +2 -2
  577. package/dist/index.es810.js +2 -2
  578. package/dist/index.es811.js +2 -2
  579. package/dist/index.es816.js +42 -4
  580. package/dist/index.es817.js +46 -4
  581. package/dist/index.es818.js +27 -4
  582. package/dist/index.es819.js +2 -2
  583. package/dist/index.es82.js +1 -1
  584. package/dist/index.es820.js +4 -42
  585. package/dist/index.es821.js +4 -46
  586. package/dist/index.es822.js +5 -24
  587. package/dist/index.es824.js +2 -2
  588. package/dist/index.es825.js +79 -2
  589. package/dist/index.es826.js +95 -21
  590. package/dist/index.es827.js +18 -79
  591. package/dist/index.es828.js +82 -4
  592. package/dist/index.es829.js +3 -2
  593. package/dist/index.es83.js +1 -1
  594. package/dist/index.es830.js +3 -4
  595. package/dist/index.es831.js +4 -8
  596. package/dist/index.es832.js +9 -2
  597. package/dist/index.es833.js +2 -2
  598. package/dist/index.es834.js +2 -6
  599. package/dist/index.es835.js +42 -6
  600. package/dist/index.es836.js +71 -5
  601. package/dist/index.es837.js +2 -2
  602. package/dist/index.es838.js +5 -5
  603. package/dist/index.es839.js +5 -5
  604. package/dist/index.es840.js +2 -2
  605. package/dist/index.es841.js +2 -2
  606. package/dist/index.es842.js +5 -5
  607. package/dist/index.es843.js +5 -5
  608. package/dist/index.es844.js +2 -2
  609. package/dist/index.es845.js +5 -5
  610. package/dist/index.es846.js +5 -5
  611. package/dist/index.es847.js +2 -2
  612. package/dist/index.es848.js +5 -5
  613. package/dist/index.es849.js +5 -5
  614. package/dist/index.es85.js +4 -4
  615. package/dist/index.es850.js +2 -2
  616. package/dist/index.es851.js +5 -5
  617. package/dist/index.es852.js +5 -5
  618. package/dist/index.es853.js +5 -5
  619. package/dist/index.es854.js +5 -5
  620. package/dist/index.es855.js +2 -2
  621. package/dist/index.es856.js +5 -5
  622. package/dist/index.es857.js +2 -2
  623. package/dist/index.es858.js +5 -5
  624. package/dist/index.es859.js +5 -5
  625. package/dist/index.es86.js +2 -2
  626. package/dist/index.es860.js +2 -2
  627. package/dist/index.es861.js +5 -5
  628. package/dist/index.es862.js +5 -5
  629. package/dist/index.es863.js +5 -5
  630. package/dist/index.es864.js +2 -2
  631. package/dist/index.es865.js +5 -5
  632. package/dist/index.es866.js +5 -5
  633. package/dist/index.es867.js +5 -5
  634. package/dist/index.es868.js +6 -42
  635. package/dist/index.es869.js +5 -71
  636. package/dist/index.es870.js +6 -4
  637. package/dist/index.es871.js +3 -22
  638. package/dist/index.es872.js +23 -2
  639. package/dist/index.es873.js +2 -2
  640. package/dist/index.es874.js +2 -2
  641. package/dist/index.es875.js +2 -2
  642. package/dist/index.es876.js +2 -14
  643. package/dist/index.es877.js +11 -11
  644. package/dist/index.es878.js +12 -12
  645. package/dist/index.es879.js +12 -12
  646. package/dist/index.es88.js +74 -67
  647. package/dist/index.es880.js +12 -12
  648. package/dist/index.es881.js +12 -12
  649. package/dist/index.es882.js +12 -12
  650. package/dist/index.es883.js +9 -9
  651. package/dist/index.es884.js +12 -12
  652. package/dist/index.es885.js +12 -12
  653. package/dist/index.es886.js +9 -9
  654. package/dist/index.es887.js +12 -12
  655. package/dist/index.es888.js +12 -12
  656. package/dist/index.es889.js +12 -12
  657. package/dist/index.es89.js +6 -6
  658. package/dist/index.es890.js +11 -11
  659. package/dist/index.es891.js +13 -13
  660. package/dist/index.es892.js +13 -13
  661. package/dist/index.es893.js +12 -12
  662. package/dist/index.es894.js +12 -12
  663. package/dist/index.es895.js +12 -12
  664. package/dist/index.es896.js +12 -12
  665. package/dist/index.es897.js +12 -12
  666. package/dist/index.es898.js +12 -12
  667. package/dist/index.es899.js +1 -1
  668. package/dist/index.es900.js +12 -12
  669. package/dist/index.es901.js +12 -12
  670. package/dist/index.es902.js +12 -12
  671. package/dist/index.es903.js +12 -12
  672. package/dist/index.es904.js +12 -12
  673. package/dist/index.es905.js +12 -12
  674. package/dist/index.es906.js +12 -12
  675. package/dist/index.es907.js +12 -12
  676. package/dist/index.es908.js +12 -12
  677. package/dist/index.es909.js +11 -11
  678. package/dist/index.es910.js +13 -22
  679. package/dist/index.es911.js +21 -11
  680. package/dist/index.es912.js +11 -26
  681. package/dist/index.es913.js +27 -4
  682. package/dist/index.es914.js +7 -0
  683. package/dist/index.es99.js +1 -1
  684. package/package.json +3 -3
@@ -1,187 +1,10 @@
1
- import { CollectionNode as p } from "./index.es396.js";
2
- class h {
3
- *[Symbol.iterator]() {
4
- let t = this.firstChild;
5
- for (; t; )
6
- yield t, t = t.nextSibling;
7
- }
8
- get firstChild() {
9
- return this._firstChild;
10
- }
11
- set firstChild(t) {
12
- this._firstChild = t, this.ownerDocument.markDirty(this);
13
- }
14
- get lastChild() {
15
- return this._lastChild;
16
- }
17
- set lastChild(t) {
18
- this._lastChild = t, this.ownerDocument.markDirty(this);
19
- }
20
- get previousSibling() {
21
- return this._previousSibling;
22
- }
23
- set previousSibling(t) {
24
- this._previousSibling = t, this.ownerDocument.markDirty(this);
25
- }
26
- get nextSibling() {
27
- return this._nextSibling;
28
- }
29
- set nextSibling(t) {
30
- this._nextSibling = t, this.ownerDocument.markDirty(this);
31
- }
32
- get parentNode() {
33
- return this._parentNode;
34
- }
35
- set parentNode(t) {
36
- this._parentNode = t, this.ownerDocument.markDirty(this);
37
- }
38
- get isConnected() {
39
- var t;
40
- return ((t = this.parentNode) === null || t === void 0 ? void 0 : t.isConnected) || !1;
41
- }
42
- appendChild(t) {
43
- this.ownerDocument.startTransaction(), t.parentNode && t.parentNode.removeChild(t), this.firstChild == null && (this.firstChild = t), this.lastChild ? (this.lastChild.nextSibling = t, t.index = this.lastChild.index + 1, t.previousSibling = this.lastChild) : (t.previousSibling = null, t.index = 0), t.parentNode = this, t.nextSibling = null, this.lastChild = t, this.ownerDocument.markDirty(this), t.hasSetProps && this.ownerDocument.addNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
44
- }
45
- insertBefore(t, i) {
46
- if (i == null) return this.appendChild(t);
47
- this.ownerDocument.startTransaction(), t.parentNode && t.parentNode.removeChild(t), t.nextSibling = i, t.previousSibling = i.previousSibling, t.index = i.index, this.firstChild === i ? this.firstChild = t : i.previousSibling && (i.previousSibling.nextSibling = t), i.previousSibling = t, t.parentNode = i.parentNode;
48
- let n = i;
49
- for (; n; )
50
- n.index++, n = n.nextSibling;
51
- t.hasSetProps && this.ownerDocument.addNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
52
- }
53
- removeChild(t) {
54
- if (t.parentNode !== this || !this.ownerDocument.isMounted) return;
55
- this.ownerDocument.startTransaction();
56
- let i = t.nextSibling;
57
- for (; i; )
58
- i.index--, i = i.nextSibling;
59
- t.nextSibling && (t.nextSibling.previousSibling = t.previousSibling), t.previousSibling && (t.previousSibling.nextSibling = t.nextSibling), this.firstChild === t && (this.firstChild = t.nextSibling), this.lastChild === t && (this.lastChild = t.previousSibling), t.parentNode = null, t.nextSibling = null, t.previousSibling = null, t.index = 0, this.ownerDocument.removeNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
60
- }
61
- addEventListener() {
62
- }
63
- removeEventListener() {
64
- }
65
- constructor(t) {
66
- this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this.ownerDocument = t;
67
- }
68
- }
69
- class a extends h {
70
- get index() {
71
- return this._index;
72
- }
73
- set index(t) {
74
- this._index = t, this.ownerDocument.markDirty(this);
75
- }
76
- get level() {
77
- return this.parentNode instanceof a ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
78
- }
79
- updateNode() {
80
- var t, i, n, s;
81
- let e = this.ownerDocument.getMutableNode(this);
82
- e.index = this.index, e.level = this.level, e.parentKey = this.parentNode instanceof a ? this.parentNode.node.key : null;
83
- var o;
84
- e.prevKey = (o = (t = this.previousSibling) === null || t === void 0 ? void 0 : t.node.key) !== null && o !== void 0 ? o : null;
85
- var d;
86
- e.nextKey = (d = (i = this.nextSibling) === null || i === void 0 ? void 0 : i.node.key) !== null && d !== void 0 ? d : null, e.hasChildNodes = !!this.firstChild;
87
- var r;
88
- e.firstChildKey = (r = (n = this.firstChild) === null || n === void 0 ? void 0 : n.node.key) !== null && r !== void 0 ? r : null;
89
- var l;
90
- e.lastChildKey = (l = (s = this.lastChild) === null || s === void 0 ? void 0 : s.node.key) !== null && l !== void 0 ? l : null;
91
- }
92
- setProps(t, i, n, s) {
93
- let e = this.ownerDocument.getMutableNode(this), { value: o, textValue: d, id: r, ...l } = t;
94
- if (l.ref = i, e.props = l, e.rendered = n, e.render = s, e.value = o, e.textValue = d || (typeof l.children == "string" ? l.children : "") || t["aria-label"] || "", r != null && r !== e.key) {
95
- if (this.hasSetProps) throw new Error("Cannot change the id of an item");
96
- e.key = r;
97
- }
98
- this.hasSetProps || (this.ownerDocument.addNode(this), this.ownerDocument.endTransaction(), this.hasSetProps = !0), this.ownerDocument.queueUpdate();
99
- }
100
- get style() {
101
- return {};
102
- }
103
- hasAttribute() {
104
- }
105
- setAttribute() {
106
- }
107
- setAttributeNS() {
108
- }
109
- removeAttribute() {
110
- }
111
- constructor(t, i) {
112
- super(i), this.nodeType = 8, this._index = 0, this.hasSetProps = !1, this.node = new p(t, `react-aria-${++i.nodeId}`), this.ownerDocument.startTransaction();
113
- }
114
- }
115
- class v extends h {
116
- get isConnected() {
117
- return this.isMounted;
118
- }
119
- createElement(t) {
120
- return new a(t, this);
121
- }
122
- /**
123
- * Lazily gets a mutable instance of a Node. If the node has already
124
- * been cloned during this update cycle, it just returns the existing one.
125
- */
126
- getMutableNode(t) {
127
- let i = t.node;
128
- return this.mutatedNodes.has(t) || (i = t.node.clone(), this.mutatedNodes.add(t), t.node = i), this.markDirty(t), i;
129
- }
130
- getMutableCollection() {
131
- return !this.isSSR && !this.collectionMutated && (this.collection = this.collection.clone(), this.collectionMutated = !0), this.collection;
132
- }
133
- markDirty(t) {
134
- this.dirtyNodes.add(t);
135
- }
136
- startTransaction() {
137
- this.transactionCount++;
138
- }
139
- endTransaction() {
140
- this.transactionCount--;
141
- }
142
- addNode(t) {
143
- let i = this.getMutableCollection();
144
- if (!i.getItem(t.node.key)) {
145
- i.addNode(t.node);
146
- for (let n of t) this.addNode(n);
147
- }
148
- this.markDirty(t);
149
- }
150
- removeNode(t) {
151
- for (let n of t) this.removeNode(n);
152
- this.getMutableCollection().removeNode(t.node.key), this.markDirty(t);
153
- }
154
- /** Finalizes the collection update, updating all nodes and freezing the collection. */
155
- getCollection() {
156
- return this.transactionCount > 0 ? this.collection : (this.updateCollection(), this.collection);
157
- }
158
- updateCollection() {
159
- for (let e of this.dirtyNodes) e instanceof a && e.isConnected && e.updateNode();
160
- if (this.dirtyNodes.clear(), this.mutatedNodes.size || this.collectionMutated) {
161
- var t, i;
162
- let e = this.getMutableCollection();
163
- for (let o of this.mutatedNodes) o.isConnected && e.addNode(o.node);
164
- var n, s;
165
- e.commit((n = (t = this.firstChild) === null || t === void 0 ? void 0 : t.node.key) !== null && n !== void 0 ? n : null, (s = (i = this.lastChild) === null || i === void 0 ? void 0 : i.node.key) !== null && s !== void 0 ? s : null, this.isSSR), this.mutatedNodes.clear();
166
- }
167
- this.collectionMutated = !1;
168
- }
169
- queueUpdate() {
170
- if (!(this.dirtyNodes.size === 0 || this.transactionCount > 0))
171
- for (let t of this.subscriptions) t();
172
- }
173
- subscribe(t) {
174
- return this.subscriptions.add(t), () => this.subscriptions.delete(t);
175
- }
176
- resetAfterSSR() {
177
- this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
178
- }
179
- constructor(t) {
180
- super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.mutatedNodes = /* @__PURE__ */ new Set(), this.subscriptions = /* @__PURE__ */ new Set(), this.transactionCount = 0, this.collection = t, this.collectionMutated = !0;
181
- }
1
+ import { __module as r } from "./index.es499.js";
2
+ import { __require as o } from "./index.es500.js";
3
+ import { __require as i } from "./index.es501.js";
4
+ var e;
5
+ function u() {
6
+ return e ? r.exports : (e = 1, process.env.NODE_ENV === "production" ? r.exports = o() : r.exports = i(), r.exports);
182
7
  }
183
8
  export {
184
- h as BaseNode,
185
- v as Document,
186
- a as ElementNode
9
+ u as __require
187
10
  };
@@ -1,50 +1,4 @@
1
- import a, { useState as f, useContext as s, useRef as l } from "react";
2
- const c = {
3
- prefix: String(Math.round(Math.random() * 1e10)),
4
- current: 0
5
- }, $ = /* @__PURE__ */ a.createContext(c), p = /* @__PURE__ */ a.createContext(!1);
6
- let v = !!(typeof window < "u" && window.document && window.document.createElement), d = /* @__PURE__ */ new WeakMap();
7
- function S(t = !1) {
8
- let e = s($), r = l(null);
9
- if (r.current === null && !t) {
10
- var n, u;
11
- let o = (u = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || u === void 0 || (n = u.ReactCurrentOwner) === null || n === void 0 ? void 0 : n.current;
12
- if (o) {
13
- let i = d.get(o);
14
- i == null ? d.set(o, {
15
- id: e.current,
16
- state: o.memoizedState
17
- }) : o.memoizedState !== i.state && (e.current = i.id, d.delete(o));
18
- }
19
- r.current = ++e.current;
20
- }
21
- return r.current;
22
- }
23
- function b(t) {
24
- let e = s($);
25
- e === c && !v && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
26
- let r = S(!!t), n = e === c && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${e.prefix}`;
27
- return t || `${n}-${r}`;
28
- }
29
- function x(t) {
30
- let e = a.useId(), [r] = f(y()), n = r || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${c.prefix}`;
31
- return t || `${n}-${e}`;
32
- }
33
- const C = typeof a.useId == "function" ? x : b;
34
- function m() {
35
- return !1;
36
- }
37
- function w() {
38
- return !0;
39
- }
40
- function g(t) {
41
- return () => {
42
- };
43
- }
44
- function y() {
45
- return typeof a.useSyncExternalStore == "function" ? a.useSyncExternalStore(g, m, w) : s(p);
46
- }
1
+ var e = {};
47
2
  export {
48
- y as useIsSSR,
49
- C as useSSRSafeId
3
+ e as __exports
50
4
  };
@@ -1,6 +1,133 @@
1
- import e from "react";
2
- const f = typeof document < "u" ? e.useLayoutEffect : () => {
3
- };
1
+ class a {
2
+ get childNodes() {
3
+ throw new Error("childNodes is not supported");
4
+ }
5
+ clone() {
6
+ let t = new a(this.type, this.key);
7
+ return t.value = this.value, t.level = this.level, t.hasChildNodes = this.hasChildNodes, t.rendered = this.rendered, t.textValue = this.textValue, t["aria-label"] = this["aria-label"], t.index = this.index, t.parentKey = this.parentKey, t.prevKey = this.prevKey, t.nextKey = this.nextKey, t.firstChildKey = this.firstChildKey, t.lastChildKey = this.lastChildKey, t.props = this.props, t.render = this.render, t.colSpan = this.colSpan, t.colIndex = this.colIndex, t;
8
+ }
9
+ constructor(t, e) {
10
+ this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = t, this.key = e;
11
+ }
12
+ }
13
+ class d {
14
+ get size() {
15
+ return this.keyMap.size;
16
+ }
17
+ getKeys() {
18
+ return this.keyMap.keys();
19
+ }
20
+ *[Symbol.iterator]() {
21
+ let t = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
22
+ for (; t; )
23
+ yield t, t = t.nextKey != null ? this.keyMap.get(t.nextKey) : void 0;
24
+ }
25
+ getChildren(t) {
26
+ let e = this.keyMap;
27
+ return {
28
+ *[Symbol.iterator]() {
29
+ let l = e.get(t), n = (l == null ? void 0 : l.firstChildKey) != null ? e.get(l.firstChildKey) : null;
30
+ for (; n; )
31
+ yield n, n = n.nextKey != null ? e.get(n.nextKey) : void 0;
32
+ }
33
+ };
34
+ }
35
+ getKeyBefore(t) {
36
+ let e = this.keyMap.get(t);
37
+ if (!e) return null;
38
+ if (e.prevKey != null) {
39
+ for (e = this.keyMap.get(e.prevKey); e && e.type !== "item" && e.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
40
+ var l;
41
+ return (l = e == null ? void 0 : e.key) !== null && l !== void 0 ? l : null;
42
+ }
43
+ return e.parentKey;
44
+ }
45
+ getKeyAfter(t) {
46
+ let e = this.keyMap.get(t);
47
+ if (!e) return null;
48
+ if (e.type !== "item" && e.firstChildKey != null) return e.firstChildKey;
49
+ for (; e; ) {
50
+ if (e.nextKey != null) return e.nextKey;
51
+ if (e.parentKey != null) e = this.keyMap.get(e.parentKey);
52
+ else return null;
53
+ }
54
+ return null;
55
+ }
56
+ getFirstKey() {
57
+ return this.firstKey;
58
+ }
59
+ getLastKey() {
60
+ let t = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
61
+ for (; (t == null ? void 0 : t.lastChildKey) != null; ) t = this.keyMap.get(t.lastChildKey);
62
+ var e;
63
+ return (e = t == null ? void 0 : t.key) !== null && e !== void 0 ? e : null;
64
+ }
65
+ getItem(t) {
66
+ var e;
67
+ return (e = this.keyMap.get(t)) !== null && e !== void 0 ? e : null;
68
+ }
69
+ at() {
70
+ throw new Error("Not implemented");
71
+ }
72
+ clone() {
73
+ let t = this.constructor, e = new t();
74
+ return e.keyMap = new Map(this.keyMap), e.firstKey = this.firstKey, e.lastKey = this.lastKey, e;
75
+ }
76
+ addNode(t) {
77
+ if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
78
+ this.keyMap.set(t.key, t);
79
+ }
80
+ removeNode(t) {
81
+ if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
82
+ this.keyMap.delete(t);
83
+ }
84
+ commit(t, e, l = !1) {
85
+ if (this.frozen) throw new Error("Cannot commit a frozen collection");
86
+ this.firstKey = t, this.lastKey = e, this.frozen = !l;
87
+ }
88
+ // TODO: this is pretty specific to menu, will need to check if it is generic enough
89
+ // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
90
+ // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
91
+ // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
92
+ UNSTABLE_filter(t) {
93
+ let e = new d(), l = null;
94
+ for (let n of this)
95
+ if (n.type === "section" && n.hasChildNodes) {
96
+ let i = n.clone(), r = null;
97
+ for (let o of this.getChildren(n.key)) if (h(o, t, this, e)) {
98
+ let s = o.clone();
99
+ r == null && (i.firstChildKey = s.key), e.firstKey == null && (e.firstKey = i.key), r && r.parentKey === s.parentKey ? (r.nextKey = s.key, s.prevKey = r.key) : s.prevKey = null, s.nextKey = null, e.addNode(s), r = s;
100
+ }
101
+ r && (r.type !== "header" ? (i.lastChildKey = r.key, l == null ? i.prevKey = null : (l.type === "section" || l.type === "separator") && (l.nextKey = i.key, i.prevKey = l.key), i.nextKey = null, l = i, e.addNode(i)) : (e.firstKey === i.key && (e.firstKey = null), e.removeNode(r.key)));
102
+ } else if (n.type === "separator") {
103
+ let i = n.clone();
104
+ i.nextKey = null, (l == null ? void 0 : l.type) === "section" && (l.nextKey = i.key, i.prevKey = l.key, l = i, e.addNode(i));
105
+ } else {
106
+ let i = n.clone();
107
+ h(i, t, this, e) && (e.firstKey == null && (e.firstKey = i.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === i.parentKey ? (l.nextKey = i.key, i.prevKey = l.key) : i.prevKey = null, i.nextKey = null, e.addNode(i), l = i);
108
+ }
109
+ if ((l == null ? void 0 : l.type) === "separator" && l.nextKey === null) {
110
+ let n;
111
+ l.prevKey != null && (n = e.getItem(l.prevKey), n.nextKey = null), e.removeNode(l.key), l = n;
112
+ }
113
+ return e.lastKey = (l == null ? void 0 : l.key) || null, e;
114
+ }
115
+ constructor() {
116
+ this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
117
+ }
118
+ }
119
+ function h(y, t, e, l) {
120
+ if (y.type === "subdialogtrigger" || y.type === "submenutrigger") {
121
+ let n = [
122
+ ...e.getChildren(y.key)
123
+ ][0];
124
+ if (n && t(n.textValue)) {
125
+ let i = n.clone();
126
+ return l.addNode(i), !0;
127
+ } else return !1;
128
+ } else return y.type === "header" ? !0 : t(y.textValue);
129
+ }
4
130
  export {
5
- f as useLayoutEffect
131
+ d as BaseCollection,
132
+ a as CollectionNode
6
133
  };
@@ -1,14 +1,14 @@
1
1
  import { j as r } from "./index.es104.js";
2
2
  import { useControllableState as M } from "./index.es90.js";
3
- import { l as H } from "./index.es111.js";
3
+ import { l as H } from "./index.es109.js";
4
4
  import { useMemo as T } from "react";
5
- import { isDateRange as f } from "./index.es130.js";
6
- import $ from "./index.es131.js";
5
+ import { isDateRange as f } from "./index.es127.js";
6
+ import $ from "./index.es128.js";
7
7
  import { Calendar as B } from "./index.es34.js";
8
- import { isDate as i } from "./index.es132.js";
8
+ import { isDate as i } from "./index.es129.js";
9
9
  import { PopoverRoot as S, PopoverTrigger as A, PopoverContent as O } from "./index.es63.js";
10
10
  import { cn as q } from "./index.es91.js";
11
- import { formatDate as z } from "./index.es133.js";
11
+ import { formatDate as z } from "./index.es130.js";
12
12
  import { Button as j } from "./index.es32.js";
13
13
  const ee = (m) => {
14
14
  const {
@@ -1,5 +1,195 @@
1
- import { __require as r } from "./index.es402.js";
2
- var i = r();
1
+ import { CollectionNode as v } from "./index.es399.js";
2
+ class p {
3
+ *[Symbol.iterator]() {
4
+ let t = this.firstChild;
5
+ for (; t; )
6
+ yield t, t = t.nextSibling;
7
+ }
8
+ get firstChild() {
9
+ return this._firstChild;
10
+ }
11
+ set firstChild(t) {
12
+ this._firstChild = t, this.ownerDocument.markDirty(this);
13
+ }
14
+ get lastChild() {
15
+ return this._lastChild;
16
+ }
17
+ set lastChild(t) {
18
+ this._lastChild = t, this.ownerDocument.markDirty(this);
19
+ }
20
+ get previousSibling() {
21
+ return this._previousSibling;
22
+ }
23
+ set previousSibling(t) {
24
+ this._previousSibling = t, this.ownerDocument.markDirty(this);
25
+ }
26
+ get nextSibling() {
27
+ return this._nextSibling;
28
+ }
29
+ set nextSibling(t) {
30
+ this._nextSibling = t, this.ownerDocument.markDirty(this);
31
+ }
32
+ get parentNode() {
33
+ return this._parentNode;
34
+ }
35
+ set parentNode(t) {
36
+ this._parentNode = t, this.ownerDocument.markDirty(this);
37
+ }
38
+ get isConnected() {
39
+ var t;
40
+ return ((t = this.parentNode) === null || t === void 0 ? void 0 : t.isConnected) || !1;
41
+ }
42
+ appendChild(t) {
43
+ this.ownerDocument.startTransaction(), t.parentNode && t.parentNode.removeChild(t), this.firstChild == null && (this.firstChild = t), this.lastChild ? (this.lastChild.nextSibling = t, t.index = this.lastChild.index + 1, t.previousSibling = this.lastChild) : (t.previousSibling = null, t.index = 0), t.parentNode = this, t.nextSibling = null, this.lastChild = t, this.ownerDocument.markDirty(this), t.hasSetProps && this.ownerDocument.addNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
44
+ }
45
+ insertBefore(t, i) {
46
+ if (i == null) return this.appendChild(t);
47
+ this.ownerDocument.startTransaction(), t.parentNode && t.parentNode.removeChild(t), t.nextSibling = i, t.previousSibling = i.previousSibling, t.index = i.index, this.firstChild === i ? this.firstChild = t : i.previousSibling && (i.previousSibling.nextSibling = t), i.previousSibling = t, t.parentNode = i.parentNode;
48
+ let n = i;
49
+ for (; n; )
50
+ n.index++, n = n.nextSibling;
51
+ t.hasSetProps && this.ownerDocument.addNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
52
+ }
53
+ removeChild(t) {
54
+ if (t.parentNode !== this || !this.ownerDocument.isMounted) return;
55
+ this.ownerDocument.startTransaction();
56
+ let i = t.nextSibling;
57
+ for (; i; )
58
+ i.index--, i = i.nextSibling;
59
+ t.nextSibling && (t.nextSibling.previousSibling = t.previousSibling), t.previousSibling && (t.previousSibling.nextSibling = t.nextSibling), this.firstChild === t && (this.firstChild = t.nextSibling), this.lastChild === t && (this.lastChild = t.previousSibling), t.parentNode = null, t.nextSibling = null, t.previousSibling = null, t.index = 0, this.ownerDocument.removeNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
60
+ }
61
+ addEventListener() {
62
+ }
63
+ removeEventListener() {
64
+ }
65
+ constructor(t) {
66
+ this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this.ownerDocument = t;
67
+ }
68
+ }
69
+ class a extends p {
70
+ get index() {
71
+ return this._index;
72
+ }
73
+ set index(t) {
74
+ this._index = t, this.ownerDocument.markDirty(this);
75
+ }
76
+ get level() {
77
+ return this.parentNode instanceof a ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
78
+ }
79
+ updateNode() {
80
+ var t, i, n, o;
81
+ let e = this.ownerDocument.getMutableNode(this);
82
+ e.index = this.index, e.level = this.level, e.parentKey = this.parentNode instanceof a ? this.parentNode.node.key : null;
83
+ var l;
84
+ e.prevKey = (l = (t = this.previousSibling) === null || t === void 0 ? void 0 : t.node.key) !== null && l !== void 0 ? l : null;
85
+ var d;
86
+ e.nextKey = (d = (i = this.nextSibling) === null || i === void 0 ? void 0 : i.node.key) !== null && d !== void 0 ? d : null, e.hasChildNodes = !!this.firstChild;
87
+ var r;
88
+ e.firstChildKey = (r = (n = this.firstChild) === null || n === void 0 ? void 0 : n.node.key) !== null && r !== void 0 ? r : null;
89
+ var s;
90
+ if (e.lastChildKey = (s = (o = this.lastChild) === null || o === void 0 ? void 0 : o.node.key) !== null && s !== void 0 ? s : null, (e.colSpan != null || e.colIndex != null) && this.nextSibling) {
91
+ var h, u;
92
+ let c = ((h = e.colIndex) !== null && h !== void 0 ? h : e.index) + ((u = e.colSpan) !== null && u !== void 0 ? u : 1);
93
+ if (c !== this.nextSibling.node.colIndex) {
94
+ let b = this.ownerDocument.getMutableNode(this.nextSibling);
95
+ b.colIndex = c;
96
+ }
97
+ }
98
+ }
99
+ setProps(t, i, n, o) {
100
+ let e = this.ownerDocument.getMutableNode(this), { value: l, textValue: d, id: r, ...s } = t;
101
+ if (s.ref = i, e.props = s, e.rendered = n, e.render = o, e.value = l, e.textValue = d || (typeof s.children == "string" ? s.children : "") || t["aria-label"] || "", r != null && r !== e.key) {
102
+ if (this.hasSetProps) throw new Error("Cannot change the id of an item");
103
+ e.key = r;
104
+ }
105
+ s.colSpan != null && (e.colSpan = s.colSpan), this.hasSetProps || (this.ownerDocument.addNode(this), this.ownerDocument.endTransaction(), this.hasSetProps = !0), this.ownerDocument.queueUpdate();
106
+ }
107
+ get style() {
108
+ return {};
109
+ }
110
+ hasAttribute() {
111
+ }
112
+ setAttribute() {
113
+ }
114
+ setAttributeNS() {
115
+ }
116
+ removeAttribute() {
117
+ }
118
+ constructor(t, i) {
119
+ super(i), this.nodeType = 8, this._index = 0, this.hasSetProps = !1, this.node = new v(t, `react-aria-${++i.nodeId}`), this.ownerDocument.startTransaction();
120
+ }
121
+ }
122
+ class f extends p {
123
+ get isConnected() {
124
+ return this.isMounted;
125
+ }
126
+ createElement(t) {
127
+ return new a(t, this);
128
+ }
129
+ /**
130
+ * Lazily gets a mutable instance of a Node. If the node has already
131
+ * been cloned during this update cycle, it just returns the existing one.
132
+ */
133
+ getMutableNode(t) {
134
+ let i = t.node;
135
+ return this.mutatedNodes.has(t) || (i = t.node.clone(), this.mutatedNodes.add(t), t.node = i), this.markDirty(t), i;
136
+ }
137
+ getMutableCollection() {
138
+ return !this.isSSR && !this.collectionMutated && (this.collection = this.collection.clone(), this.collectionMutated = !0), this.collection;
139
+ }
140
+ markDirty(t) {
141
+ this.dirtyNodes.add(t);
142
+ }
143
+ startTransaction() {
144
+ this.transactionCount++;
145
+ }
146
+ endTransaction() {
147
+ this.transactionCount--;
148
+ }
149
+ addNode(t) {
150
+ let i = this.getMutableCollection();
151
+ if (!i.getItem(t.node.key)) {
152
+ i.addNode(t.node);
153
+ for (let n of t) this.addNode(n);
154
+ }
155
+ this.markDirty(t);
156
+ }
157
+ removeNode(t) {
158
+ for (let n of t) this.removeNode(n);
159
+ this.getMutableCollection().removeNode(t.node.key), this.markDirty(t);
160
+ }
161
+ /** Finalizes the collection update, updating all nodes and freezing the collection. */
162
+ getCollection() {
163
+ return this.transactionCount > 0 ? this.collection : (this.updateCollection(), this.collection);
164
+ }
165
+ updateCollection() {
166
+ for (let e of this.dirtyNodes) e instanceof a && e.isConnected && e.updateNode();
167
+ if (this.dirtyNodes.clear(), this.mutatedNodes.size || this.collectionMutated) {
168
+ var t, i;
169
+ let e = this.getMutableCollection();
170
+ for (let l of this.mutatedNodes) l.isConnected && e.addNode(l.node);
171
+ this.mutatedNodes.clear();
172
+ var n, o;
173
+ e.commit((n = (t = this.firstChild) === null || t === void 0 ? void 0 : t.node.key) !== null && n !== void 0 ? n : null, (o = (i = this.lastChild) === null || i === void 0 ? void 0 : i.node.key) !== null && o !== void 0 ? o : null, this.isSSR);
174
+ }
175
+ this.collectionMutated = !1;
176
+ }
177
+ queueUpdate() {
178
+ if (!(this.dirtyNodes.size === 0 || this.transactionCount > 0))
179
+ for (let t of this.subscriptions) t();
180
+ }
181
+ subscribe(t) {
182
+ return this.subscriptions.add(t), () => this.subscriptions.delete(t);
183
+ }
184
+ resetAfterSSR() {
185
+ this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
186
+ }
187
+ constructor(t) {
188
+ super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.mutatedNodes = /* @__PURE__ */ new Set(), this.subscriptions = /* @__PURE__ */ new Set(), this.transactionCount = 0, this.collection = t, this.collectionMutated = !0;
189
+ }
190
+ }
3
191
  export {
4
- i as s
192
+ p as BaseNode,
193
+ f as Document,
194
+ a as ElementNode
5
195
  };
@@ -1,4 +1,32 @@
1
- var o = {};
1
+ import { focusSafely as d } from "./index.es494.js";
2
+ import { useFocus as n } from "./index.es481.js";
3
+ import { useKeyboard as $ } from "./index.es485.js";
4
+ import { mergeProps as c } from "./index.es292.js";
5
+ import { useSyncRef as l } from "./index.es469.js";
6
+ import i, { useRef as x, useEffect as p, useContext as m } from "react";
7
+ let P = /* @__PURE__ */ i.createContext(null);
8
+ function F(e) {
9
+ let t = m(P) || {};
10
+ l(t, e);
11
+ let { ref: o, ...r } = t;
12
+ return r;
13
+ }
14
+ function S(e, t) {
15
+ let { focusProps: o } = n(e), { keyboardProps: r } = $(e), s = c(o, r), u = F(t), b = e.isDisabled ? {} : u, f = x(e.autoFocus);
16
+ p(() => {
17
+ f.current && t.current && d(t.current), f.current = !1;
18
+ }, [
19
+ t
20
+ ]);
21
+ let a = e.excludeFromTabOrder ? -1 : 0;
22
+ return e.isDisabled && (a = void 0), {
23
+ focusableProps: c({
24
+ ...s,
25
+ tabIndex: a
26
+ }, b)
27
+ };
28
+ }
2
29
  export {
3
- o as __exports
30
+ P as FocusableContext,
31
+ S as useFocusable
4
32
  };