@boxcustodia/library 1.6.0 → 1.6.2

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 (678) hide show
  1. package/dist/index.es105.js +308 -39
  2. package/dist/index.es106.js +13 -58
  3. package/dist/index.es107.js +3674 -18
  4. package/dist/index.es108.js +4 -41
  5. package/dist/index.es109.js +13 -3672
  6. package/dist/index.es11.js +1 -1
  7. package/dist/index.es110.js +4 -1086
  8. package/dist/index.es111.js +57 -4
  9. package/dist/index.es112.js +41 -4
  10. package/dist/index.es113.js +56 -20
  11. package/dist/index.es114.js +16 -257
  12. package/dist/index.es115.js +41 -13
  13. package/dist/index.es116.js +10 -310
  14. package/dist/index.es117.js +39 -13
  15. package/dist/index.es118.js +13 -27
  16. package/dist/index.es119.js +7 -3
  17. package/dist/index.es120.js +26 -55
  18. package/dist/index.es121.js +25 -53
  19. package/dist/index.es122.js +20 -92
  20. package/dist/index.es123.js +1087 -37
  21. package/dist/index.es124.js +4 -24
  22. package/dist/index.es125.js +4 -30
  23. package/dist/index.es126.js +55 -20
  24. package/dist/index.es127.js +54 -3
  25. package/dist/index.es128.js +92 -15
  26. package/dist/index.es129.js +37 -5
  27. package/dist/index.es130.js +23 -56
  28. package/dist/index.es131.js +30 -13
  29. package/dist/index.es132.js +256 -23
  30. package/dist/index.es133.js +20 -37
  31. package/dist/index.es134.js +7 -8
  32. package/dist/index.es135.js +21 -4
  33. package/dist/index.es136.js +13 -22
  34. package/dist/index.es137.js +3 -3
  35. package/dist/index.es138.js +10 -848
  36. package/dist/index.es139.js +7 -4
  37. package/dist/index.es140.js +224 -10
  38. package/dist/index.es141.js +2 -11
  39. package/dist/index.es142.js +41 -27
  40. package/dist/index.es143.js +33 -21
  41. package/dist/index.es144.js +848 -13
  42. package/dist/index.es145.js +4 -4
  43. package/dist/index.es146.js +4 -4
  44. package/dist/index.es147.js +69 -13
  45. package/dist/index.es148.js +4 -240
  46. package/dist/index.es149.js +1 -1
  47. package/dist/index.es151.js +236 -65
  48. package/dist/index.es152.js +17 -222
  49. package/dist/index.es153.js +21 -4
  50. package/dist/index.es154.js +5 -40
  51. package/dist/index.es155.js +4 -6
  52. package/dist/index.es156.js +22 -33
  53. package/dist/index.es157.js +10 -4
  54. package/dist/index.es158.js +4 -4
  55. package/dist/index.es159.js +2 -2
  56. package/dist/index.es16.js +1 -1
  57. package/dist/index.es160.js +1 -1
  58. package/dist/index.es161.js +1 -1
  59. package/dist/index.es162.js +1 -1
  60. package/dist/index.es163.js +8 -78
  61. package/dist/index.es164.js +73 -87
  62. package/dist/index.es165.js +84 -342
  63. package/dist/index.es166.js +340 -114
  64. package/dist/index.es167.js +123 -7
  65. package/dist/index.es169.js +1 -1
  66. package/dist/index.es170.js +1 -1
  67. package/dist/index.es173.js +14 -5
  68. package/dist/index.es174.js +33 -2
  69. package/dist/index.es175.js +10 -26
  70. package/dist/index.es176.js +26 -204
  71. package/dist/index.es177.js +6 -44
  72. package/dist/index.es178.js +2 -7
  73. package/dist/index.es179.js +203 -66
  74. package/dist/index.es18.js +1 -1
  75. package/dist/index.es180.js +44 -11
  76. package/dist/index.es181.js +5 -123
  77. package/dist/index.es182.js +62 -129
  78. package/dist/index.es183.js +124 -13
  79. package/dist/index.es184.js +133 -31
  80. package/dist/index.es185.js +13 -14
  81. package/dist/index.es186.js +14 -8
  82. package/dist/index.es187.js +9 -50
  83. package/dist/index.es188.js +49 -20
  84. package/dist/index.es189.js +17 -33
  85. package/dist/index.es190.js +33 -7
  86. package/dist/index.es191.js +10 -14
  87. package/dist/index.es192.js +3 -217
  88. package/dist/index.es193.js +649 -3
  89. package/dist/index.es195.js +3 -3
  90. package/dist/index.es197.js +217 -5
  91. package/dist/index.es198.js +6 -28
  92. package/dist/index.es199.js +24 -646
  93. package/dist/index.es2.js +1 -1
  94. package/dist/index.es200.js +2 -6
  95. package/dist/index.es201.js +4 -14
  96. package/dist/index.es202.js +6 -2054
  97. package/dist/index.es203.js +12 -35
  98. package/dist/index.es204.js +2050 -114
  99. package/dist/index.es205.js +8 -16
  100. package/dist/index.es206.js +6 -8
  101. package/dist/index.es207.js +5 -2
  102. package/dist/index.es208.js +18 -2
  103. package/dist/index.es209.js +5 -25
  104. package/dist/index.es210.js +5 -2290
  105. package/dist/index.es211.js +8 -11
  106. package/dist/index.es212.js +6 -21
  107. package/dist/index.es213.js +7 -9
  108. package/dist/index.es214.js +16 -38
  109. package/dist/index.es215.js +14 -18
  110. package/dist/index.es216.js +13 -7
  111. package/dist/index.es217.js +6 -5
  112. package/dist/index.es218.js +6 -4
  113. package/dist/index.es219.js +6 -17
  114. package/dist/index.es22.js +1 -1
  115. package/dist/index.es220.js +4 -5
  116. package/dist/index.es221.js +513 -5
  117. package/dist/index.es222.js +50 -9
  118. package/dist/index.es223.js +18 -6
  119. package/dist/index.es224.js +9 -6
  120. package/dist/index.es225.js +19 -16
  121. package/dist/index.es226.js +8 -13
  122. package/dist/index.es227.js +7 -13
  123. package/dist/index.es228.js +7 -6
  124. package/dist/index.es229.js +4 -5
  125. package/dist/index.es230.js +5 -5
  126. package/dist/index.es231.js +9 -4
  127. package/dist/index.es232.js +5 -513
  128. package/dist/index.es233.js +9 -50
  129. package/dist/index.es234.js +12 -17
  130. package/dist/index.es235.js +9 -9
  131. package/dist/index.es236.js +9 -19
  132. package/dist/index.es237.js +10 -8
  133. package/dist/index.es238.js +14 -7
  134. package/dist/index.es239.js +6 -7
  135. package/dist/index.es24.js +1 -1
  136. package/dist/index.es240.js +6 -5
  137. package/dist/index.es241.js +6 -6
  138. package/dist/index.es242.js +6 -9
  139. package/dist/index.es243.js +6 -5
  140. package/dist/index.es244.js +9 -8
  141. package/dist/index.es245.js +84 -12
  142. package/dist/index.es246.js +65 -10
  143. package/dist/index.es247.js +37 -8
  144. package/dist/index.es248.js +9 -10
  145. package/dist/index.es249.js +8 -14
  146. package/dist/index.es250.js +7 -6
  147. package/dist/index.es251.js +10 -6
  148. package/dist/index.es252.js +7 -6
  149. package/dist/index.es253.js +7 -6
  150. package/dist/index.es254.js +6 -6
  151. package/dist/index.es255.js +5 -9
  152. package/dist/index.es256.js +15 -84
  153. package/dist/index.es257.js +35 -65
  154. package/dist/index.es258.js +116 -36
  155. package/dist/index.es259.js +16 -10
  156. package/dist/index.es260.js +8 -9
  157. package/dist/index.es261.js +25 -7
  158. package/dist/index.es262.js +2290 -10
  159. package/dist/index.es263.js +21 -8
  160. package/dist/index.es264.js +9 -8
  161. package/dist/index.es265.js +38 -7
  162. package/dist/index.es266.js +18 -6
  163. package/dist/index.es267.js +11 -15
  164. package/dist/index.es268.js +23 -203
  165. package/dist/index.es269.js +175 -19
  166. package/dist/index.es270.js +19 -25
  167. package/dist/index.es271.js +49 -390
  168. package/dist/index.es272.js +15 -18
  169. package/dist/index.es273.js +203 -50
  170. package/dist/index.es274.js +22 -16
  171. package/dist/index.es275.js +25 -25
  172. package/dist/index.es276.js +385 -170
  173. package/dist/index.es278.js +1 -1
  174. package/dist/index.es279.js +1 -1
  175. package/dist/index.es28.js +2 -2
  176. package/dist/index.es286.js +1 -1
  177. package/dist/index.es287.js +5 -8
  178. package/dist/index.es288.js +57 -3
  179. package/dist/index.es289.js +24 -41
  180. package/dist/index.es290.js +45 -27
  181. package/dist/index.es291.js +63 -53
  182. package/dist/index.es292.js +36 -18
  183. package/dist/index.es293.js +18 -21
  184. package/dist/index.es294.js +67 -62
  185. package/dist/index.es295.js +67 -31
  186. package/dist/index.es296.js +68 -83
  187. package/dist/index.es297.js +68 -6
  188. package/dist/index.es298.js +44 -13
  189. package/dist/index.es299.js +44 -41
  190. package/dist/index.es30.js +1 -1
  191. package/dist/index.es300.js +58 -33
  192. package/dist/index.es301.js +48 -27
  193. package/dist/index.es302.js +42 -25
  194. package/dist/index.es303.js +71 -7
  195. package/dist/index.es304.js +66 -415
  196. package/dist/index.es305.js +95 -11
  197. package/dist/index.es306.js +46 -34
  198. package/dist/index.es307.js +47 -2
  199. package/dist/index.es308.js +45 -62
  200. package/dist/index.es309.js +29 -63
  201. package/dist/index.es310.js +28 -23
  202. package/dist/index.es311.js +30 -29
  203. package/dist/index.es312.js +31 -5
  204. package/dist/index.es313.js +30 -15
  205. package/dist/index.es314.js +30 -3
  206. package/dist/index.es315.js +19 -4
  207. package/dist/index.es316.js +42 -53
  208. package/dist/index.es317.js +38 -20
  209. package/dist/index.es318.js +14 -41
  210. package/dist/index.es319.js +14 -61
  211. package/dist/index.es32.js +1 -1
  212. package/dist/index.es320.js +8 -38
  213. package/dist/index.es321.js +3 -19
  214. package/dist/index.es322.js +40 -63
  215. package/dist/index.es323.js +27 -66
  216. package/dist/index.es324.js +54 -66
  217. package/dist/index.es325.js +17 -66
  218. package/dist/index.es326.js +21 -45
  219. package/dist/index.es327.js +62 -46
  220. package/dist/index.es328.js +31 -58
  221. package/dist/index.es329.js +83 -48
  222. package/dist/index.es33.js +3 -3
  223. package/dist/index.es330.js +6 -42
  224. package/dist/index.es331.js +13 -70
  225. package/dist/index.es332.js +41 -69
  226. package/dist/index.es333.js +33 -96
  227. package/dist/index.es334.js +27 -46
  228. package/dist/index.es335.js +25 -46
  229. package/dist/index.es336.js +7 -46
  230. package/dist/index.es337.js +416 -26
  231. package/dist/index.es338.js +11 -28
  232. package/dist/index.es339.js +34 -29
  233. package/dist/index.es34.js +6 -6
  234. package/dist/index.es340.js +2 -31
  235. package/dist/index.es341.js +62 -28
  236. package/dist/index.es342.js +63 -28
  237. package/dist/index.es343.js +15 -20
  238. package/dist/index.es344.js +3 -46
  239. package/dist/index.es345.js +23 -44
  240. package/dist/index.es346.js +29 -20
  241. package/dist/index.es347.js +5 -20
  242. package/dist/index.es348.js +2 -10
  243. package/dist/index.es349.js +2 -10
  244. package/dist/index.es350.js +9 -4
  245. package/dist/index.es351.js +10 -13
  246. package/dist/index.es352.js +4 -4
  247. package/dist/index.es353.js +13 -7
  248. package/dist/index.es354.js +4 -333
  249. package/dist/index.es355.js +7 -19
  250. package/dist/index.es356.js +333 -3
  251. package/dist/index.es357.js +19 -5
  252. package/dist/index.es358.js +4 -3
  253. package/dist/index.es359.js +4 -71
  254. package/dist/index.es360.js +3 -4
  255. package/dist/index.es361.js +72 -2
  256. package/dist/index.es362.js +4 -2
  257. package/dist/index.es364.js +3 -3
  258. package/dist/index.es367.js +1 -1
  259. package/dist/index.es370.js +1 -1
  260. package/dist/index.es372.js +2 -2
  261. package/dist/index.es374.js +3 -3
  262. package/dist/index.es375.js +2 -2
  263. package/dist/index.es38.js +1 -1
  264. package/dist/index.es385.js +2 -2
  265. package/dist/index.es386.js +2 -2
  266. package/dist/index.es387.js +10 -10
  267. package/dist/index.es388.js +4 -4
  268. package/dist/index.es389.js +2 -2
  269. package/dist/index.es39.js +1 -1
  270. package/dist/index.es396.js +68 -2
  271. package/dist/index.es397.js +31 -8
  272. package/dist/index.es398.js +9 -2
  273. package/dist/index.es399.js +152 -130
  274. package/dist/index.es40.js +5 -5
  275. package/dist/index.es400.js +108 -193
  276. package/dist/index.es401.js +19 -29
  277. package/dist/index.es402.js +94 -41
  278. package/dist/index.es403.js +46 -3
  279. package/dist/index.es404.js +131 -3
  280. package/dist/index.es405.js +193 -5
  281. package/dist/index.es406.js +30 -3
  282. package/dist/index.es407.js +46 -22
  283. package/dist/index.es408.js +4 -110
  284. package/dist/index.es409.js +3 -16
  285. package/dist/index.es41.js +2 -2
  286. package/dist/index.es410.js +2 -68
  287. package/dist/index.es411.js +8 -31
  288. package/dist/index.es412.js +2 -9
  289. package/dist/index.es413.js +5 -153
  290. package/dist/index.es414.js +3 -108
  291. package/dist/index.es415.js +23 -19
  292. package/dist/index.es416.js +107 -98
  293. package/dist/index.es417.js +15 -46
  294. package/dist/index.es418.js +6 -68
  295. package/dist/index.es419.js +2 -31
  296. package/dist/index.es420.js +8 -16
  297. package/dist/index.es421.js +326 -140
  298. package/dist/index.es422.js +48 -112
  299. package/dist/index.es423.js +3 -522
  300. package/dist/index.es424.js +2 -127
  301. package/dist/index.es425.js +8 -129
  302. package/dist/index.es426.js +45 -5
  303. package/dist/index.es427.js +2 -2
  304. package/dist/index.es428.js +6 -8
  305. package/dist/index.es429.js +23 -328
  306. package/dist/index.es430.js +2 -50
  307. package/dist/index.es431.js +34 -5
  308. package/dist/index.es432.js +177 -4
  309. package/dist/index.es433.js +88 -232
  310. package/dist/index.es434.js +16 -235
  311. package/dist/index.es435.js +4 -24
  312. package/dist/index.es436.js +2 -2
  313. package/dist/index.es437.js +4 -35
  314. package/dist/index.es438.js +4 -177
  315. package/dist/index.es439.js +25 -88
  316. package/dist/index.es44.js +3 -3
  317. package/dist/index.es440.js +4 -17
  318. package/dist/index.es441.js +2 -2
  319. package/dist/index.es442.js +231 -2
  320. package/dist/index.es443.js +234 -2
  321. package/dist/index.es444.js +523 -2
  322. package/dist/index.es445.js +125 -22
  323. package/dist/index.es446.js +129 -2
  324. package/dist/index.es447.js +68 -2
  325. package/dist/index.es448.js +30 -7
  326. package/dist/index.es449.js +16 -46
  327. package/dist/index.es45.js +1 -1
  328. package/dist/index.es450.js +141 -2
  329. package/dist/index.es451.js +114 -6
  330. package/dist/index.es455.js +6 -24
  331. package/dist/index.es456.js +14 -4
  332. package/dist/index.es457.js +26 -125
  333. package/dist/index.es458.js +12 -24
  334. package/dist/index.es459.js +54 -4
  335. package/dist/index.es460.js +5 -12
  336. package/dist/index.es461.js +278 -39
  337. package/dist/index.es462.js +32 -53
  338. package/dist/index.es463.js +24 -40
  339. package/dist/index.es464.js +4 -27
  340. package/dist/index.es465.js +126 -30
  341. package/dist/index.es466.js +24 -14
  342. package/dist/index.es467.js +4 -10
  343. package/dist/index.es468.js +12 -10
  344. package/dist/index.es469.js +41 -8
  345. package/dist/index.es47.js +1 -1
  346. package/dist/index.es470.js +57 -6
  347. package/dist/index.es471.js +40 -5
  348. package/dist/index.es472.js +28 -7
  349. package/dist/index.es473.js +28 -26
  350. package/dist/index.es474.js +14 -18
  351. package/dist/index.es475.js +10 -13
  352. package/dist/index.es476.js +10 -43
  353. package/dist/index.es477.js +9 -8
  354. package/dist/index.es478.js +7 -3
  355. package/dist/index.es479.js +5 -4
  356. package/dist/index.es480.js +7 -24
  357. package/dist/index.es481.js +26 -24
  358. package/dist/index.es482.js +15 -91
  359. package/dist/index.es483.js +13 -107
  360. package/dist/index.es484.js +41 -50
  361. package/dist/index.es485.js +8 -9
  362. package/dist/index.es486.js +3 -26
  363. package/dist/index.es487.js +4 -381
  364. package/dist/index.es488.js +23 -32
  365. package/dist/index.es489.js +28 -7
  366. package/dist/index.es49.js +5 -5
  367. package/dist/index.es490.js +94 -6
  368. package/dist/index.es491.js +107 -4
  369. package/dist/index.es492.js +52 -6
  370. package/dist/index.es493.js +7 -48
  371. package/dist/index.es494.js +25 -14
  372. package/dist/index.es495.js +377 -50
  373. package/dist/index.es496.js +32 -4
  374. package/dist/index.es497.js +6 -281
  375. package/dist/index.es498.js +6 -36
  376. package/dist/index.es499.js +5 -2
  377. package/dist/index.es50.js +2 -2
  378. package/dist/index.es500.js +6 -52
  379. package/dist/index.es501.js +47 -61
  380. package/dist/index.es502.js +14 -19
  381. package/dist/index.es503.js +19 -31
  382. package/dist/index.es504.js +31 -29
  383. package/dist/index.es505.js +29 -7
  384. package/dist/index.es506.js +2 -34
  385. package/dist/index.es507.js +52 -20
  386. package/dist/index.es508.js +63 -43
  387. package/dist/index.es509.js +7 -29
  388. package/dist/index.es51.js +3 -3
  389. package/dist/index.es510.js +33 -8
  390. package/dist/index.es511.js +20 -55
  391. package/dist/index.es512.js +43 -11
  392. package/dist/index.es513.js +29 -21
  393. package/dist/index.es514.js +8 -59
  394. package/dist/index.es515.js +53 -31
  395. package/dist/index.es516.js +11 -170
  396. package/dist/index.es517.js +20 -118
  397. package/dist/index.es518.js +57 -17
  398. package/dist/index.es519.js +30 -228
  399. package/dist/index.es52.js +1 -1
  400. package/dist/index.es520.js +170 -20
  401. package/dist/index.es521.js +113 -23
  402. package/dist/index.es522.js +18 -117
  403. package/dist/index.es523.js +229 -35
  404. package/dist/index.es524.js +22 -72
  405. package/dist/index.es525.js +29 -20
  406. package/dist/index.es526.js +112 -161
  407. package/dist/index.es527.js +33 -45
  408. package/dist/index.es528.js +72 -65
  409. package/dist/index.es529.js +21 -69
  410. package/dist/index.es530.js +167 -8
  411. package/dist/index.es531.js +50 -14
  412. package/dist/index.es532.js +64 -61
  413. package/dist/index.es533.js +69 -7
  414. package/dist/index.es534.js +8 -15
  415. package/dist/index.es535.js +14 -29
  416. package/dist/index.es536.js +62 -13
  417. package/dist/index.es538.js +1 -1
  418. package/dist/index.es539.js +1 -1
  419. package/dist/index.es54.js +1 -1
  420. package/dist/index.es544.js +8 -4
  421. package/dist/index.es546.js +4 -27
  422. package/dist/index.es547.js +79 -2
  423. package/dist/index.es548.js +98 -21
  424. package/dist/index.es549.js +25 -22
  425. package/dist/index.es550.js +4 -28
  426. package/dist/index.es551.js +1 -1
  427. package/dist/index.es552.js +5 -6
  428. package/dist/index.es553.js +8 -29
  429. package/dist/index.es554.js +3 -18
  430. package/dist/index.es555.js +8 -4
  431. package/dist/index.es556.js +33 -7
  432. package/dist/index.es557.js +17 -2
  433. package/dist/index.es558.js +2 -2
  434. package/dist/index.es559.js +4 -4
  435. package/dist/index.es56.js +2 -2
  436. package/dist/index.es560.js +21 -4
  437. package/dist/index.es561.js +21 -4
  438. package/dist/index.es562.js +23 -4
  439. package/dist/index.es563.js +2 -2
  440. package/dist/index.es564.js +2 -2
  441. package/dist/index.es566.js +2 -2
  442. package/dist/index.es569.js +2 -2
  443. package/dist/index.es57.js +4 -4
  444. package/dist/index.es571.js +2 -2
  445. package/dist/index.es572.js +4 -29
  446. package/dist/index.es573.js +4 -26
  447. package/dist/index.es574.js +4 -32
  448. package/dist/index.es575.js +5 -5
  449. package/dist/index.es576.js +4 -5
  450. package/dist/index.es577.js +14 -8
  451. package/dist/index.es578.js +10 -53
  452. package/dist/index.es579.js +9 -8
  453. package/dist/index.es58.js +1 -1
  454. package/dist/index.es580.js +8 -14
  455. package/dist/index.es581.js +42 -14
  456. package/dist/index.es582.js +5 -5
  457. package/dist/index.es583.js +11 -25
  458. package/dist/index.es584.js +11 -90
  459. package/dist/index.es585.js +6 -26
  460. package/dist/index.es586.js +29 -10
  461. package/dist/index.es587.js +105 -8
  462. package/dist/index.es588.js +27 -7
  463. package/dist/index.es589.js +6 -5
  464. package/dist/index.es59.js +3 -3
  465. package/dist/index.es590.js +5 -2
  466. package/dist/index.es591.js +4 -8
  467. package/dist/index.es592.js +7 -7
  468. package/dist/index.es593.js +4 -2
  469. package/dist/index.es594.js +6 -2
  470. package/dist/index.es595.js +7 -29
  471. package/dist/index.es596.js +8 -105
  472. package/dist/index.es597.js +10 -8
  473. package/dist/index.es598.js +31 -19
  474. package/dist/index.es599.js +88 -14
  475. package/dist/index.es60.js +3 -3
  476. package/dist/index.es600.js +9 -40
  477. package/dist/index.es601.js +21 -29
  478. package/dist/index.es602.js +24 -6
  479. package/dist/index.es603.js +29 -17
  480. package/dist/index.es604.js +15 -7
  481. package/dist/index.es605.js +10 -46
  482. package/dist/index.es606.js +22 -15
  483. package/dist/index.es607.js +21 -8
  484. package/dist/index.es608.js +43 -7
  485. package/dist/index.es609.js +16 -10
  486. package/dist/index.es61.js +5 -5
  487. package/dist/index.es610.js +4 -2
  488. package/dist/index.es611.js +4 -4
  489. package/dist/index.es612.js +11 -24
  490. package/dist/index.es613.js +7 -14
  491. package/dist/index.es614.js +11 -27
  492. package/dist/index.es615.js +30 -15
  493. package/dist/index.es616.js +14 -14
  494. package/dist/index.es617.js +26 -16
  495. package/dist/index.es618.js +13 -11
  496. package/dist/index.es619.js +17 -10
  497. package/dist/index.es62.js +2 -2
  498. package/dist/index.es620.js +19 -8
  499. package/dist/index.es621.js +10 -27
  500. package/dist/index.es622.js +6 -11
  501. package/dist/index.es623.js +4 -13
  502. package/dist/index.es624.js +20 -10
  503. package/dist/index.es625.js +10 -20
  504. package/dist/index.es626.js +14 -15
  505. package/dist/index.es627.js +11 -21
  506. package/dist/index.es628.js +17 -15
  507. package/dist/index.es629.js +16 -21
  508. package/dist/index.es63.js +1 -1
  509. package/dist/index.es630.js +18 -16
  510. package/dist/index.es631.js +22 -18
  511. package/dist/index.es632.js +21 -6
  512. package/dist/index.es633.js +22 -15
  513. package/dist/index.es634.js +12 -15
  514. package/dist/index.es635.js +9 -29
  515. package/dist/index.es636.js +10 -13
  516. package/dist/index.es637.js +11 -7
  517. package/dist/index.es638.js +26 -11
  518. package/dist/index.es639.js +17 -6
  519. package/dist/index.es640.js +10 -7
  520. package/dist/index.es641.js +11 -13
  521. package/dist/index.es642.js +15 -17
  522. package/dist/index.es643.js +8 -11
  523. package/dist/index.es644.js +14 -16
  524. package/dist/index.es645.js +16 -9
  525. package/dist/index.es646.js +9 -11
  526. package/dist/index.es647.js +11 -87
  527. package/dist/index.es648.js +2 -7
  528. package/dist/index.es649.js +12 -2
  529. package/dist/index.es650.js +86 -8
  530. package/dist/index.es651.js +11 -6
  531. package/dist/index.es652.js +4 -10
  532. package/dist/index.es653.js +14 -7
  533. package/dist/index.es654.js +8 -13
  534. package/dist/index.es655.js +27 -4
  535. package/dist/index.es656.js +21 -4
  536. package/dist/index.es657.js +26 -4
  537. package/dist/index.es659.js +2 -2
  538. package/dist/index.es66.js +4 -4
  539. package/dist/index.es660.js +2 -2
  540. package/dist/index.es661.js +2 -2
  541. package/dist/index.es662.js +2 -2
  542. package/dist/index.es663.js +2 -2
  543. package/dist/index.es664.js +2 -2
  544. package/dist/index.es665.js +2 -2
  545. package/dist/index.es667.js +2 -2
  546. package/dist/index.es669.js +2 -2
  547. package/dist/index.es67.js +2 -2
  548. package/dist/index.es670.js +2 -2
  549. package/dist/index.es673.js +2 -2
  550. package/dist/index.es675.js +2 -2
  551. package/dist/index.es676.js +2 -2
  552. package/dist/index.es678.js +2 -2
  553. package/dist/index.es680.js +2 -2
  554. package/dist/index.es681.js +2 -2
  555. package/dist/index.es682.js +2 -2
  556. package/dist/index.es683.js +2 -2
  557. package/dist/index.es685.js +2 -2
  558. package/dist/index.es688.js +2 -2
  559. package/dist/index.es690.js +2 -2
  560. package/dist/index.es691.js +2 -2
  561. package/dist/index.es692.js +2 -2
  562. package/dist/index.es693.js +2 -2
  563. package/dist/index.es695.js +2 -2
  564. package/dist/index.es697.js +2 -2
  565. package/dist/index.es70.js +1 -1
  566. package/dist/index.es701.js +2 -2
  567. package/dist/index.es704.js +2 -2
  568. package/dist/index.es705.js +2 -2
  569. package/dist/index.es707.js +2 -2
  570. package/dist/index.es708.js +2 -2
  571. package/dist/index.es709.js +2 -2
  572. package/dist/index.es710.js +2 -2
  573. package/dist/index.es714.js +2 -2
  574. package/dist/index.es715.js +2 -2
  575. package/dist/index.es719.js +2 -2
  576. package/dist/index.es72.js +1 -1
  577. package/dist/index.es720.js +2 -2
  578. package/dist/index.es721.js +2 -2
  579. package/dist/index.es722.js +2 -2
  580. package/dist/index.es723.js +2 -2
  581. package/dist/index.es724.js +2 -2
  582. package/dist/index.es725.js +2 -2
  583. package/dist/index.es726.js +2 -2
  584. package/dist/index.es727.js +2 -2
  585. package/dist/index.es730.js +2 -2
  586. package/dist/index.es731.js +2 -2
  587. package/dist/index.es733.js +2 -2
  588. package/dist/index.es734.js +2 -2
  589. package/dist/index.es736.js +2 -2
  590. package/dist/index.es737.js +2 -2
  591. package/dist/index.es738.js +4 -32
  592. package/dist/index.es739.js +4 -32
  593. package/dist/index.es74.js +2 -2
  594. package/dist/index.es740.js +4 -32
  595. package/dist/index.es741.js +5 -5
  596. package/dist/index.es742.js +10 -7
  597. package/dist/index.es743.js +5 -5
  598. package/dist/index.es744.js +5 -5
  599. package/dist/index.es745.js +3 -3
  600. package/dist/index.es746.js +5 -5
  601. package/dist/index.es747.js +5 -5
  602. package/dist/index.es748.js +6 -9
  603. package/dist/index.es749.js +2 -2
  604. package/dist/index.es750.js +3 -3
  605. package/dist/index.es751.js +1 -1
  606. package/dist/index.es752.js +5 -5
  607. package/dist/index.es753.js +4 -4
  608. package/dist/index.es754.js +2 -2
  609. package/dist/index.es755.js +4 -4
  610. package/dist/index.es756.js +4 -4
  611. package/dist/index.es757.js +2 -2
  612. package/dist/index.es758.js +6 -1
  613. package/dist/index.es759.js +4 -4
  614. package/dist/index.es76.js +1 -1
  615. package/dist/index.es760.js +1 -1
  616. package/dist/index.es761.js +3 -8
  617. package/dist/index.es762.js +7 -4
  618. package/dist/index.es763.js +5 -5
  619. package/dist/index.es764.js +2 -2
  620. package/dist/index.es765.js +1 -1
  621. package/dist/index.es766.js +5 -5
  622. package/dist/index.es767.js +5 -4
  623. package/dist/index.es768.js +7 -10
  624. package/dist/index.es769.js +3 -3
  625. package/dist/index.es77.js +1 -1
  626. package/dist/index.es770.js +4 -5
  627. package/dist/index.es771.js +5 -5
  628. package/dist/index.es772.js +13 -7
  629. package/dist/index.es773.js +5 -5
  630. package/dist/index.es774.js +2 -2
  631. package/dist/index.es775.js +6 -12
  632. package/dist/index.es776.js +2 -2
  633. package/dist/index.es777.js +32 -4
  634. package/dist/index.es778.js +32 -4
  635. package/dist/index.es779.js +32 -4
  636. package/dist/index.es78.js +1 -1
  637. package/dist/index.es780.js +2 -2
  638. package/dist/index.es781.js +2 -2
  639. package/dist/index.es783.js +2 -2
  640. package/dist/index.es785.js +2 -2
  641. package/dist/index.es788.js +2 -2
  642. package/dist/index.es789.js +2 -2
  643. package/dist/index.es790.js +2 -2
  644. package/dist/index.es792.js +2 -2
  645. package/dist/index.es793.js +2 -2
  646. package/dist/index.es796.js +2 -2
  647. package/dist/index.es797.js +2 -2
  648. package/dist/index.es799.js +2 -2
  649. package/dist/index.es80.js +1 -1
  650. package/dist/index.es800.js +2 -2
  651. package/dist/index.es802.js +2 -2
  652. package/dist/index.es804.js +2 -2
  653. package/dist/index.es805.js +2 -2
  654. package/dist/index.es806.js +2 -2
  655. package/dist/index.es81.js +1 -1
  656. package/dist/index.es810.js +2 -2
  657. package/dist/index.es812.js +2 -2
  658. package/dist/index.es813.js +2 -2
  659. package/dist/index.es816.js +4 -42
  660. package/dist/index.es817.js +4 -46
  661. package/dist/index.es818.js +4 -27
  662. package/dist/index.es819.js +42 -4
  663. package/dist/index.es82.js +2 -2
  664. package/dist/index.es820.js +46 -4
  665. package/dist/index.es821.js +27 -4
  666. package/dist/index.es822.js +4 -8
  667. package/dist/index.es824.js +2 -2
  668. package/dist/index.es825.js +2 -79
  669. package/dist/index.es826.js +2 -96
  670. package/dist/index.es85.js +1 -1
  671. package/dist/index.es86.js +2 -2
  672. package/dist/index.es871.js +2 -4
  673. package/dist/index.es872.js +2 -23
  674. package/dist/index.es873.js +4 -2
  675. package/dist/index.es874.js +23 -2
  676. package/dist/index.es88.js +8 -8
  677. package/dist/index.es89.js +5 -5
  678. package/package.json +5 -4
@@ -1,5 +1,133 @@
1
- import { __require as r } from "./index.es397.js";
2
- var i = r();
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
+ }
3
130
  export {
4
- i as s
131
+ d as BaseCollection,
132
+ a as CollectionNode
5
133
  };
@@ -1,7 +1,195 @@
1
- var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
1
+ import { CollectionNode as v } from "./index.es404.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
+ }
2
191
  export {
3
- a as fullWidthClassName,
4
- l as noScrollbarsClassName,
5
- e as removedBarSizeVariable,
6
- r as zeroRightClassName
192
+ p as BaseNode,
193
+ f as Document,
194
+ a as ElementNode
7
195
  };
@@ -1,5 +1,32 @@
1
- import { createSidecarMedium as e } from "./index.es528.js";
2
- var a = e();
1
+ import { focusSafely as d } from "./index.es502.js";
2
+ import { useFocus as n } from "./index.es489.js";
3
+ import { useKeyboard as $ } from "./index.es493.js";
4
+ import { mergeProps as c } from "./index.es325.js";
5
+ import { useSyncRef as l } from "./index.es477.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
+ }
3
29
  export {
4
- a as effectCar
30
+ P as FocusableContext,
31
+ S as useFocusable
5
32
  };
@@ -1,26 +1,50 @@
1
- import * as f from "react";
2
- import { assignRef as o } from "./index.es871.js";
3
- import { useCallbackRef as l } from "./index.es872.js";
4
- var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
- function v(e, m) {
6
- var t = l(null, function(n) {
7
- return e.forEach(function(u) {
8
- return o(u, n);
9
- });
10
- });
11
- return s(function() {
12
- var n = c.get(t);
13
- if (n) {
14
- var u = new Set(n), r = new Set(e), i = t.current;
15
- u.forEach(function(a) {
16
- r.has(a) || o(a, null);
17
- }), r.forEach(function(a) {
18
- u.has(a) || o(a, i);
19
- });
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));
20
18
  }
21
- c.set(t, e);
22
- }, [e]), t;
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);
23
46
  }
24
47
  export {
25
- v as useMergeRefs
48
+ y as useIsSSR,
49
+ C as useSSRSafeId
26
50
  };
@@ -1,112 +1,6 @@
1
- import { __spreadArray as x } from "./index.es310.js";
2
- import * as n from "react";
3
- import { RemoveScrollBar as A } from "./index.es529.js";
4
- import { styleSingleton as I } from "./index.es530.js";
5
- import { nonPassive as s } from "./index.es531.js";
6
- import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es532.js";
7
- var b = function(t) {
8
- return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
9
- }, Y = function(t) {
10
- return [t.deltaX, t.deltaY];
11
- }, B = function(t) {
12
- return t && "current" in t ? t.current : t;
13
- }, p = function(t, c) {
14
- return t[0] === c[0] && t[1] === c[1];
15
- }, F = function(t) {
16
- return `
17
- .block-interactivity-`.concat(t, ` {pointer-events: none;}
18
- .allow-interactivity-`).concat(t, ` {pointer-events: all;}
19
- `);
20
- }, K = 0, f = [];
21
- function z(t) {
22
- var c = n.useRef([]), E = n.useRef([0, 0]), d = n.useRef(), h = n.useState(K++)[0], m = n.useState(I)[0], g = n.useRef(t);
23
- n.useEffect(function() {
24
- g.current = t;
25
- }, [t]), n.useEffect(function() {
26
- if (t.inert) {
27
- document.body.classList.add("block-interactivity-".concat(h));
28
- var e = x([t.lockRef.current], (t.shards || []).map(B), !0).filter(Boolean);
29
- return e.forEach(function(r) {
30
- return r.classList.add("allow-interactivity-".concat(h));
31
- }), function() {
32
- document.body.classList.remove("block-interactivity-".concat(h)), e.forEach(function(r) {
33
- return r.classList.remove("allow-interactivity-".concat(h));
34
- });
35
- };
36
- }
37
- }, [t.inert, t.lockRef.current, t.shards]);
38
- var k = n.useCallback(function(e, r) {
39
- if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey)
40
- return !g.current.allowPinchZoom;
41
- var l = b(e), o = E.current, u = "deltaX" in e ? e.deltaX : o[0] - l[0], i = "deltaY" in e ? e.deltaY : o[1] - l[1], a, C = e.target, v = Math.abs(u) > Math.abs(i) ? "h" : "v";
42
- if ("touches" in e && v === "h" && C.type === "range")
43
- return !1;
44
- var y = T(v, C);
45
- if (!y)
46
- return !0;
47
- if (y ? a = v : (a = v === "v" ? "h" : "v", y = T(v, C)), !y)
48
- return !1;
49
- if (!d.current && "changedTouches" in e && (u || i) && (d.current = a), !a)
50
- return !0;
51
- var P = d.current || a;
52
- return W(P, r, e, P === "h" ? u : i);
53
- }, []), S = n.useCallback(function(e) {
54
- var r = e;
55
- if (!(!f.length || f[f.length - 1] !== m)) {
56
- var l = "deltaY" in r ? Y(r) : b(r), o = c.current.filter(function(a) {
57
- return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && p(a.delta, l);
58
- })[0];
59
- if (o && o.should) {
60
- r.cancelable && r.preventDefault();
61
- return;
62
- }
63
- if (!o) {
64
- var u = (g.current.shards || []).map(B).filter(Boolean).filter(function(a) {
65
- return a.contains(r.target);
66
- }), i = u.length > 0 ? k(r, u[0]) : !g.current.noIsolation;
67
- i && r.cancelable && r.preventDefault();
68
- }
69
- }
70
- }, []), R = n.useCallback(function(e, r, l, o) {
71
- var u = { name: e, delta: r, target: l, should: o, shadowParent: O(l) };
72
- c.current.push(u), setTimeout(function() {
73
- c.current = c.current.filter(function(i) {
74
- return i !== u;
75
- });
76
- }, 1);
77
- }, []), w = n.useCallback(function(e) {
78
- E.current = b(e), d.current = void 0;
79
- }, []), L = n.useCallback(function(e) {
80
- R(e.type, Y(e), e.target, k(e, t.lockRef.current));
81
- }, []), M = n.useCallback(function(e) {
82
- R(e.type, b(e), e.target, k(e, t.lockRef.current));
83
- }, []);
84
- n.useEffect(function() {
85
- return f.push(m), t.setCallbacks({
86
- onScrollCapture: L,
87
- onWheelCapture: L,
88
- onTouchMoveCapture: M
89
- }), document.addEventListener("wheel", S, s), document.addEventListener("touchmove", S, s), document.addEventListener("touchstart", w, s), function() {
90
- f = f.filter(function(e) {
91
- return e !== m;
92
- }), document.removeEventListener("wheel", S, s), document.removeEventListener("touchmove", S, s), document.removeEventListener("touchstart", w, s);
93
- };
94
- }, []);
95
- var X = t.removeScrollBar, D = t.inert;
96
- return n.createElement(
97
- n.Fragment,
98
- null,
99
- D ? n.createElement(m, { styles: F(h) }) : null,
100
- X ? n.createElement(A, { gapMode: t.gapMode }) : null
101
- );
102
- }
103
- function O(t) {
104
- for (var c = null; t !== null; )
105
- t instanceof ShadowRoot && (c = t.host, t = t.host), t = t.parentNode;
106
- return c;
107
- }
1
+ import e from "react";
2
+ const f = typeof document < "u" ? e.useLayoutEffect : () => {
3
+ };
108
4
  export {
109
- z as RemoveScrollSideCar,
110
- Y as getDeltaXY,
111
- b as getTouchXY
5
+ f as useLayoutEffect
112
6
  };
@@ -1,18 +1,5 @@
1
- import { __rest as o, __assign as d } from "./index.es310.js";
2
- import * as n from "react";
3
- var i = function(r) {
4
- var e = r.sideCar, a = o(r, ["sideCar"]);
5
- if (!e)
6
- throw new Error("Sidecar: please provide `sideCar` property to import the right car");
7
- var t = e.read();
8
- if (!t)
9
- throw new Error("Sidecar medium not found");
10
- return n.createElement(t, d({}, a));
11
- };
12
- i.isSideCarExport = !0;
13
- function p(r, e) {
14
- return r.useMedium(e), i;
15
- }
1
+ import { __require as r } from "./index.es411.js";
2
+ var i = r();
16
3
  export {
17
- p as exportSidecar
4
+ i as s
18
5
  };
@@ -1,6 +1,6 @@
1
1
  import { j as t } from "./index.es104.js";
2
- import { Close as l, Portal as x, Root as p, Trigger as y, Content as d, Description as r, Overlay as c, Title as m } from "./index.es114.js";
3
- import N from "./index.es115.js";
2
+ import { Close as l, Portal as x, Root as p, Trigger as y, Content as d, Description as r, Overlay as c, Title as m } from "./index.es132.js";
3
+ import N from "./index.es118.js";
4
4
  import { cn as o } from "./index.es91.js";
5
5
  const O = p, T = y, D = x, R = l, g = ({
6
6
  className: a,
@@ -1,70 +1,4 @@
1
- const a = {
2
- lessThanXSeconds: {
3
- one: "less than a second",
4
- other: "less than {{count}} seconds"
5
- },
6
- xSeconds: {
7
- one: "1 second",
8
- other: "{{count}} seconds"
9
- },
10
- halfAMinute: "half a minute",
11
- lessThanXMinutes: {
12
- one: "less than a minute",
13
- other: "less than {{count}} minutes"
14
- },
15
- xMinutes: {
16
- one: "1 minute",
17
- other: "{{count}} minutes"
18
- },
19
- aboutXHours: {
20
- one: "about 1 hour",
21
- other: "about {{count}} hours"
22
- },
23
- xHours: {
24
- one: "1 hour",
25
- other: "{{count}} hours"
26
- },
27
- xDays: {
28
- one: "1 day",
29
- other: "{{count}} days"
30
- },
31
- aboutXWeeks: {
32
- one: "about 1 week",
33
- other: "about {{count}} weeks"
34
- },
35
- xWeeks: {
36
- one: "1 week",
37
- other: "{{count}} weeks"
38
- },
39
- aboutXMonths: {
40
- one: "about 1 month",
41
- other: "about {{count}} months"
42
- },
43
- xMonths: {
44
- one: "1 month",
45
- other: "{{count}} months"
46
- },
47
- aboutXYears: {
48
- one: "about 1 year",
49
- other: "about {{count}} years"
50
- },
51
- xYears: {
52
- one: "1 year",
53
- other: "{{count}} years"
54
- },
55
- overXYears: {
56
- one: "over 1 year",
57
- other: "over {{count}} years"
58
- },
59
- almostXYears: {
60
- one: "almost 1 year",
61
- other: "almost {{count}} years"
62
- }
63
- }, r = (s, n, o) => {
64
- let e;
65
- const t = a[s];
66
- return typeof t == "string" ? e = t : n === 1 ? e = t.one : e = t.other.replace("{{count}}", n.toString()), o != null && o.addSuffix ? o.comparison && o.comparison > 0 ? "in " + e : e + " ago" : e;
67
- };
1
+ var o = {};
68
2
  export {
69
- r as formatDistance
3
+ o as __exports
70
4
  };