@boxcustodia/library 1.7.12 → 1.7.14

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 (712) hide show
  1. package/dist/index.es100.js +1 -1
  2. package/dist/index.es101.js +1 -1
  3. package/dist/index.es105.js +1 -1
  4. package/dist/index.es106.js +1 -1
  5. package/dist/index.es107.js +4 -8
  6. package/dist/index.es108.js +15 -22
  7. package/dist/index.es109.js +4 -18
  8. package/dist/index.es11.js +1 -1
  9. package/dist/index.es110.js +55 -34
  10. package/dist/index.es111.js +53 -308
  11. package/dist/index.es112.js +61 -13
  12. package/dist/index.es113.js +112 -40
  13. package/dist/index.es114.js +43 -58
  14. package/dist/index.es115.js +23 -17
  15. package/dist/index.es116.js +28 -38
  16. package/dist/index.es117.js +25 -53
  17. package/dist/index.es118.js +24 -59
  18. package/dist/index.es119.js +308 -111
  19. package/dist/index.es120.js +13 -43
  20. package/dist/index.es121.js +58 -24
  21. package/dist/index.es122.js +1147 -29
  22. package/dist/index.es123.js +4 -10
  23. package/dist/index.es124.js +4 -4
  24. package/dist/index.es125.js +14 -9
  25. package/dist/index.es126.js +259 -4
  26. package/dist/index.es127.js +13 -57
  27. package/dist/index.es128.js +1 -1
  28. package/dist/index.es129.js +19 -257
  29. package/dist/index.es130.js +41 -13
  30. package/dist/index.es131.js +16 -25
  31. package/dist/index.es132.js +36 -222
  32. package/dist/index.es133.js +52 -10
  33. package/dist/index.es134.js +8 -4
  34. package/dist/index.es135.js +10 -41
  35. package/dist/index.es136.js +19 -23
  36. package/dist/index.es137.js +10 -69
  37. package/dist/index.es138.js +33 -22
  38. package/dist/index.es139.js +241 -10
  39. package/dist/index.es140.js +856 -48
  40. package/dist/index.es141.js +4 -8
  41. package/dist/index.es142.js +1 -1
  42. package/dist/index.es143.js +3 -3
  43. package/dist/index.es144.js +10 -241
  44. package/dist/index.es145.js +4 -19
  45. package/dist/index.es146.js +4 -27
  46. package/dist/index.es147.js +223 -15
  47. package/dist/index.es148.js +10 -44
  48. package/dist/index.es149.js +41 -20
  49. package/dist/index.es150.js +21 -1148
  50. package/dist/index.es151.js +13 -4
  51. package/dist/index.es152.js +13 -4
  52. package/dist/index.es153.js +15 -18
  53. package/dist/index.es154.js +44 -13
  54. package/dist/index.es155.js +69 -10
  55. package/dist/index.es156.js +6 -13
  56. package/dist/index.es157.js +17 -858
  57. package/dist/index.es158.js +26 -77
  58. package/dist/index.es159.js +16 -91
  59. package/dist/index.es160.js +14 -352
  60. package/dist/index.es161.js +13 -124
  61. package/dist/index.es162.js +14 -4
  62. package/dist/index.es163.js +75 -213
  63. package/dist/index.es164.js +92 -6
  64. package/dist/index.es165.js +340 -326
  65. package/dist/index.es166.js +124 -17
  66. package/dist/index.es167.js +338 -14
  67. package/dist/index.es168.js +8 -13
  68. package/dist/index.es169.js +8 -14
  69. package/dist/index.es170.js +2 -4
  70. package/dist/index.es171.js +33 -33
  71. package/dist/index.es172.js +238 -3668
  72. package/dist/index.es173.js +18 -5
  73. package/dist/index.es174.js +36 -2
  74. package/dist/index.es175.js +214 -6
  75. package/dist/index.es176.js +21 -2
  76. package/dist/index.es177.js +36 -32
  77. package/dist/index.es178.js +10 -244
  78. package/dist/index.es179.js +3673 -13
  79. package/dist/index.es180.js +5 -254
  80. package/dist/index.es181.js +2 -33
  81. package/dist/index.es182.js +44 -10
  82. package/dist/index.es183.js +5 -25
  83. package/dist/index.es184.js +26 -204
  84. package/dist/index.es185.js +65 -18
  85. package/dist/index.es186.js +10 -36
  86. package/dist/index.es187.js +123 -9
  87. package/dist/index.es188.js +133 -5
  88. package/dist/index.es189.js +14 -68
  89. package/dist/index.es190.js +1 -1
  90. package/dist/index.es191.js +11 -646
  91. package/dist/index.es192.js +8 -124
  92. package/dist/index.es193.js +50 -15
  93. package/dist/index.es194.js +40 -127
  94. package/dist/index.es195.js +13 -217
  95. package/dist/index.es196.js +255 -14
  96. package/dist/index.es197.js +14 -11
  97. package/dist/index.es198.js +202 -45
  98. package/dist/index.es199.js +4 -50
  99. package/dist/index.es200.js +46 -9
  100. package/dist/index.es201.js +8 -30
  101. package/dist/index.es202.js +216 -45
  102. package/dist/index.es203.js +30 -45
  103. package/dist/index.es204.js +45 -23
  104. package/dist/index.es205.js +10 -2498
  105. package/dist/index.es206.js +5 -3
  106. package/dist/index.es207.js +29 -45
  107. package/dist/index.es208.js +30 -8
  108. package/dist/index.es209.js +47 -29
  109. package/dist/index.es210.js +29 -47
  110. package/dist/index.es211.js +647 -8
  111. package/dist/index.es212.js +35 -6
  112. package/dist/index.es213.js +118 -30
  113. package/dist/index.es214.js +26 -2
  114. package/dist/index.es215.js +2499 -2
  115. package/dist/index.es216.js +30 -3
  116. package/dist/index.es217.js +56 -2
  117. package/dist/index.es218.js +2 -2054
  118. package/dist/index.es219.js +2 -35
  119. package/dist/index.es220.js +8 -118
  120. package/dist/index.es221.js +6 -30
  121. package/dist/index.es222.js +5 -53
  122. package/dist/index.es223.js +18 -15
  123. package/dist/index.es224.js +6 -3
  124. package/dist/index.es225.js +7 -8
  125. package/dist/index.es226.js +5 -5
  126. package/dist/index.es227.js +13 -5
  127. package/dist/index.es228.js +15 -17
  128. package/dist/index.es229.js +8 -5
  129. package/dist/index.es230.js +7 -7
  130. package/dist/index.es231.js +14 -5
  131. package/dist/index.es232.js +5 -13
  132. package/dist/index.es233.js +14 -15
  133. package/dist/index.es234.js +6 -8
  134. package/dist/index.es235.js +6 -6
  135. package/dist/index.es236.js +6 -14
  136. package/dist/index.es237.js +4 -5
  137. package/dist/index.es238.js +580 -14
  138. package/dist/index.es239.js +50 -7
  139. package/dist/index.es240.js +17 -6
  140. package/dist/index.es241.js +6 -6
  141. package/dist/index.es242.js +19 -5
  142. package/dist/index.es243.js +8 -580
  143. package/dist/index.es244.js +7 -50
  144. package/dist/index.es245.js +7 -17
  145. package/dist/index.es246.js +5 -6
  146. package/dist/index.es247.js +7 -19
  147. package/dist/index.es248.js +9 -8
  148. package/dist/index.es249.js +5 -6
  149. package/dist/index.es250.js +8 -7
  150. package/dist/index.es251.js +12 -5
  151. package/dist/index.es252.js +9 -6
  152. package/dist/index.es253.js +8 -9
  153. package/dist/index.es254.js +10 -5
  154. package/dist/index.es255.js +14 -8
  155. package/dist/index.es256.js +5 -12
  156. package/dist/index.es257.js +11 -9
  157. package/dist/index.es258.js +10 -8
  158. package/dist/index.es259.js +10 -10
  159. package/dist/index.es26.js +2 -2
  160. package/dist/index.es260.js +6 -14
  161. package/dist/index.es261.js +9 -5
  162. package/dist/index.es262.js +83 -11
  163. package/dist/index.es263.js +38 -10
  164. package/dist/index.es264.js +65 -11
  165. package/dist/index.es265.js +9 -6
  166. package/dist/index.es266.js +8 -9
  167. package/dist/index.es267.js +7 -83
  168. package/dist/index.es268.js +10 -38
  169. package/dist/index.es269.js +8 -65
  170. package/dist/index.es270.js +7 -9
  171. package/dist/index.es271.js +6 -8
  172. package/dist/index.es272.js +5 -7
  173. package/dist/index.es273.js +15 -10
  174. package/dist/index.es274.js +19 -8
  175. package/dist/index.es275.js +52 -8
  176. package/dist/index.es276.js +16 -7
  177. package/dist/index.es277.js +3 -6
  178. package/dist/index.es278.js +2 -18
  179. package/dist/index.es279.js +2052 -5
  180. package/dist/index.es28.js +2 -2
  181. package/dist/index.es280.js +33 -29
  182. package/dist/index.es281.js +10 -123
  183. package/dist/index.es282.js +29 -134
  184. package/dist/index.es283.js +29 -13
  185. package/dist/index.es284.js +24 -68
  186. package/dist/index.es285.js +22 -15
  187. package/dist/index.es286.js +33 -19
  188. package/dist/index.es287.js +11 -15
  189. package/dist/index.es288.js +7 -39
  190. package/dist/index.es289.js +30 -18
  191. package/dist/index.es290.js +120 -43
  192. package/dist/index.es291.js +133 -32
  193. package/dist/index.es292.js +14 -181
  194. package/dist/index.es293.js +63 -42
  195. package/dist/index.es294.js +14 -33
  196. package/dist/index.es295.js +47 -11
  197. package/dist/index.es296.js +205 -30
  198. package/dist/index.es297.js +20 -203
  199. package/dist/index.es298.js +29 -21
  200. package/dist/index.es299.js +25 -30
  201. package/dist/index.es30.js +1 -1
  202. package/dist/index.es300.js +391 -23
  203. package/dist/index.es301.js +29 -392
  204. package/dist/index.es302.js +31 -30
  205. package/dist/index.es303.js +47 -18
  206. package/dist/index.es304.js +34 -52
  207. package/dist/index.es305.js +179 -14
  208. package/dist/index.es306.js +48 -8
  209. package/dist/index.es307.js +12 -3
  210. package/dist/index.es308.js +8 -45
  211. package/dist/index.es309.js +3 -29
  212. package/dist/index.es310.js +43 -55
  213. package/dist/index.es311.js +27 -18
  214. package/dist/index.es312.js +56 -21
  215. package/dist/index.es313.js +18 -43
  216. package/dist/index.es314.js +21 -31
  217. package/dist/index.es315.js +43 -82
  218. package/dist/index.es316.js +30 -5
  219. package/dist/index.es317.js +82 -13
  220. package/dist/index.es318.js +6 -43
  221. package/dist/index.es319.js +13 -32
  222. package/dist/index.es32.js +1 -1
  223. package/dist/index.es320.js +41 -25
  224. package/dist/index.es321.js +33 -25
  225. package/dist/index.es322.js +27 -7
  226. package/dist/index.es323.js +23 -418
  227. package/dist/index.es324.js +6 -11
  228. package/dist/index.es325.js +415 -29
  229. package/dist/index.es326.js +11 -46
  230. package/dist/index.es327.js +35 -30
  231. package/dist/index.es328.js +15 -8
  232. package/dist/index.es329.js +3 -2
  233. package/dist/index.es33.js +3 -3
  234. package/dist/index.es330.js +4 -22
  235. package/dist/index.es331.js +57 -23
  236. package/dist/index.es332.js +28 -18
  237. package/dist/index.es333.js +47 -2
  238. package/dist/index.es334.js +56 -9395
  239. package/dist/index.es335.js +36 -15310
  240. package/dist/index.es336.js +19 -3
  241. package/dist/index.es337.js +68 -56
  242. package/dist/index.es338.js +72 -9
  243. package/dist/index.es339.js +75 -3
  244. package/dist/index.es34.js +6 -6
  245. package/dist/index.es340.js +75 -5
  246. package/dist/index.es341.js +42 -27
  247. package/dist/index.es342.js +46 -11
  248. package/dist/index.es343.js +58 -4
  249. package/dist/index.es344.js +46 -54
  250. package/dist/index.es345.js +38 -22
  251. package/dist/index.es346.js +66 -35
  252. package/dist/index.es347.js +54 -43
  253. package/dist/index.es348.js +83 -18
  254. package/dist/index.es349.js +41 -13
  255. package/dist/index.es350.js +23 -49
  256. package/dist/index.es351.js +30 -56
  257. package/dist/index.es352.js +22 -66
  258. package/dist/index.es353.js +21 -66
  259. package/dist/index.es354.js +21 -37
  260. package/dist/index.es355.js +21 -37
  261. package/dist/index.es356.js +21 -50
  262. package/dist/index.es357.js +21 -40
  263. package/dist/index.es358.js +14 -41
  264. package/dist/index.es359.js +37 -69
  265. package/dist/index.es360.js +37 -69
  266. package/dist/index.es361.js +14 -97
  267. package/dist/index.es362.js +14 -41
  268. package/dist/index.es363.js +7 -46
  269. package/dist/index.es364.js +2 -47
  270. package/dist/index.es365.js +22 -30
  271. package/dist/index.es366.js +22 -29
  272. package/dist/index.es367.js +18 -27
  273. package/dist/index.es368.js +2 -31
  274. package/dist/index.es369.js +9404 -28
  275. package/dist/index.es370.js +15309 -27
  276. package/dist/index.es371.js +3 -20
  277. package/dist/index.es372.js +57 -42
  278. package/dist/index.es373.js +9 -45
  279. package/dist/index.es374.js +3 -20
  280. package/dist/index.es375.js +5 -20
  281. package/dist/index.es377.js +3 -3
  282. package/dist/index.es378.js +3 -3
  283. package/dist/index.es379.js +1 -1
  284. package/dist/index.es38.js +1 -1
  285. package/dist/index.es380.js +47 -29
  286. package/dist/index.es381.js +1 -1
  287. package/dist/index.es382.js +29 -47
  288. package/dist/index.es383.js +47 -29
  289. package/dist/index.es384.js +1 -1
  290. package/dist/index.es387.js +1 -1
  291. package/dist/index.es388.js +2 -2
  292. package/dist/index.es389.js +1 -1
  293. package/dist/index.es39.js +43 -42
  294. package/dist/index.es398.js +30 -131
  295. package/dist/index.es399.js +116 -202
  296. package/dist/index.es40.js +4 -4
  297. package/dist/index.es400.js +215 -28
  298. package/dist/index.es401.js +27 -45
  299. package/dist/index.es402.js +48 -4
  300. package/dist/index.es403.js +4 -3
  301. package/dist/index.es404.js +3 -2
  302. package/dist/index.es405.js +68 -2
  303. package/dist/index.es406.js +31 -2
  304. package/dist/index.es407.js +9 -8
  305. package/dist/index.es408.js +153 -2
  306. package/dist/index.es409.js +107 -47
  307. package/dist/index.es41.js +2 -2
  308. package/dist/index.es410.js +2 -277
  309. package/dist/index.es411.js +2 -2
  310. package/dist/index.es412.js +2 -108
  311. package/dist/index.es413.js +7 -76
  312. package/dist/index.es414.js +2 -39
  313. package/dist/index.es415.js +18 -66
  314. package/dist/index.es416.js +98 -34
  315. package/dist/index.es417.js +47 -69
  316. package/dist/index.es418.js +67 -115
  317. package/dist/index.es419.js +31 -97
  318. package/dist/index.es420.js +16 -46
  319. package/dist/index.es421.js +140 -27
  320. package/dist/index.es422.js +114 -2
  321. package/dist/index.es423.js +5 -244
  322. package/dist/index.es424.js +3 -387
  323. package/dist/index.es425.js +20 -164
  324. package/dist/index.es426.js +104 -147
  325. package/dist/index.es427.js +15 -142
  326. package/dist/index.es428.js +274 -197
  327. package/dist/index.es429.js +2 -2
  328. package/dist/index.es430.js +108 -68
  329. package/dist/index.es431.js +77 -31
  330. package/dist/index.es432.js +39 -9
  331. package/dist/index.es433.js +66 -151
  332. package/dist/index.es434.js +37 -108
  333. package/dist/index.es435.js +66 -17
  334. package/dist/index.es436.js +112 -97
  335. package/dist/index.es437.js +97 -47
  336. package/dist/index.es438.js +46 -5
  337. package/dist/index.es439.js +28 -3
  338. package/dist/index.es44.js +3 -3
  339. package/dist/index.es440.js +2 -24
  340. package/dist/index.es441.js +238 -104
  341. package/dist/index.es442.js +386 -15
  342. package/dist/index.es443.js +164 -44
  343. package/dist/index.es444.js +138 -508
  344. package/dist/index.es445.js +141 -125
  345. package/dist/index.es446.js +199 -128
  346. package/dist/index.es447.js +2 -48
  347. package/dist/index.es448.js +47 -5
  348. package/dist/index.es449.js +522 -14
  349. package/dist/index.es45.js +1 -1
  350. package/dist/index.es450.js +127 -2
  351. package/dist/index.es451.js +128 -7
  352. package/dist/index.es452.js +5 -326
  353. package/dist/index.es453.js +14 -49
  354. package/dist/index.es454.js +2 -4
  355. package/dist/index.es455.js +8 -68
  356. package/dist/index.es456.js +327 -31
  357. package/dist/index.es457.js +50 -16
  358. package/dist/index.es458.js +4 -141
  359. package/dist/index.es459.js +47 -113
  360. package/dist/index.es460.js +1 -1
  361. package/dist/index.es47.js +1 -1
  362. package/dist/index.es471.js +1 -1
  363. package/dist/index.es473.js +1 -1
  364. package/dist/index.es474.js +1 -1
  365. package/dist/index.es478.js +1 -1
  366. package/dist/index.es480.js +1 -1
  367. package/dist/index.es487.js +1 -1
  368. package/dist/index.es488.js +1 -1
  369. package/dist/index.es49.js +4 -4
  370. package/dist/index.es492.js +1 -1
  371. package/dist/index.es498.js +1 -1
  372. package/dist/index.es50.js +2 -2
  373. package/dist/index.es500.js +1 -1
  374. package/dist/index.es505.js +2 -2
  375. package/dist/index.es507.js +7 -7
  376. package/dist/index.es508.js +2 -34
  377. package/dist/index.es509.js +52 -20
  378. package/dist/index.es51.js +3 -3
  379. package/dist/index.es510.js +63 -43
  380. package/dist/index.es511.js +56 -29
  381. package/dist/index.es512.js +12 -8
  382. package/dist/index.es513.js +21 -56
  383. package/dist/index.es514.js +58 -11
  384. package/dist/index.es515.js +32 -20
  385. package/dist/index.es516.js +167 -55
  386. package/dist/index.es517.js +116 -28
  387. package/dist/index.es518.js +7 -171
  388. package/dist/index.es519.js +17 -119
  389. package/dist/index.es52.js +1 -1
  390. package/dist/index.es520.js +31 -17
  391. package/dist/index.es521.js +19 -230
  392. package/dist/index.es522.js +42 -19
  393. package/dist/index.es523.js +29 -29
  394. package/dist/index.es524.js +8 -118
  395. package/dist/index.es525.js +229 -35
  396. package/dist/index.es526.js +22 -72
  397. package/dist/index.es527.js +29 -7
  398. package/dist/index.es528.js +119 -2
  399. package/dist/index.es529.js +33 -48
  400. package/dist/index.es530.js +72 -65
  401. package/dist/index.es537.js +7 -2
  402. package/dist/index.es538.js +16 -2
  403. package/dist/index.es539.js +29 -2
  404. package/dist/index.es54.js +1 -1
  405. package/dist/index.es540.js +13 -2
  406. package/dist/index.es541.js +69 -11
  407. package/dist/index.es542.js +9 -2
  408. package/dist/index.es543.js +14 -2
  409. package/dist/index.es544.js +62 -48
  410. package/dist/index.es545.js +65 -2
  411. package/dist/index.es546.js +2 -2
  412. package/dist/index.es547.js +25 -5
  413. package/dist/index.es548.js +2 -2
  414. package/dist/index.es549.js +2 -2
  415. package/dist/index.es550.js +24 -25
  416. package/dist/index.es551.js +98 -2
  417. package/dist/index.es552.js +54 -2
  418. package/dist/index.es553.js +14 -23
  419. package/dist/index.es554.js +2 -98
  420. package/dist/index.es555.js +27 -52
  421. package/dist/index.es556.js +2 -18
  422. package/dist/index.es557.js +2 -2
  423. package/dist/index.es558.js +2 -29
  424. package/dist/index.es559.js +2 -2
  425. package/dist/index.es56.js +2 -2
  426. package/dist/index.es560.js +2 -272
  427. package/dist/index.es561.js +10 -79
  428. package/dist/index.es562.js +2 -166
  429. package/dist/index.es563.js +2 -7
  430. package/dist/index.es564.js +46 -14
  431. package/dist/index.es565.js +2 -29
  432. package/dist/index.es566.js +2 -13
  433. package/dist/index.es567.js +8 -69
  434. package/dist/index.es568.js +2 -9
  435. package/dist/index.es569.js +270 -12
  436. package/dist/index.es57.js +4 -4
  437. package/dist/index.es570.js +80 -62
  438. package/dist/index.es571.js +161 -60
  439. package/dist/index.es573.js +1 -1
  440. package/dist/index.es574.js +1 -1
  441. package/dist/index.es58.js +1 -1
  442. package/dist/index.es583.js +2 -42
  443. package/dist/index.es584.js +2 -72
  444. package/dist/index.es585.js +42 -2
  445. package/dist/index.es586.js +72 -2
  446. package/dist/index.es59.js +4 -4
  447. package/dist/index.es60.js +1 -1
  448. package/dist/index.es61.js +5 -5
  449. package/dist/index.es62.js +2 -2
  450. package/dist/index.es624.js +28 -10
  451. package/dist/index.es625.js +2 -2
  452. package/dist/index.es626.js +24 -78
  453. package/dist/index.es627.js +27 -95
  454. package/dist/index.es628.js +32 -2
  455. package/dist/index.es629.js +23 -29
  456. package/dist/index.es63.js +1 -1
  457. package/dist/index.es630.js +29 -2
  458. package/dist/index.es631.js +41 -13
  459. package/dist/index.es632.js +22 -10
  460. package/dist/index.es633.js +7 -14
  461. package/dist/index.es634.js +10 -8
  462. package/dist/index.es635.js +9 -13
  463. package/dist/index.es636.js +10 -38
  464. package/dist/index.es637.js +12 -25
  465. package/dist/index.es638.js +2 -25
  466. package/dist/index.es639.js +15 -9
  467. package/dist/index.es640.js +15 -10
  468. package/dist/index.es641.js +23 -12
  469. package/dist/index.es642.js +16 -10
  470. package/dist/index.es643.js +31 -2
  471. package/dist/index.es644.js +9 -12
  472. package/dist/index.es645.js +60 -14
  473. package/dist/index.es646.js +16 -22
  474. package/dist/index.es647.js +13 -10
  475. package/dist/index.es648.js +31 -14
  476. package/dist/index.es649.js +6 -6
  477. package/dist/index.es650.js +21 -47
  478. package/dist/index.es651.js +115 -18
  479. package/dist/index.es652.js +35 -21
  480. package/dist/index.es653.js +14 -31
  481. package/dist/index.es654.js +9 -9
  482. package/dist/index.es655.js +9 -29
  483. package/dist/index.es656.js +13 -110
  484. package/dist/index.es657.js +11 -34
  485. package/dist/index.es658.js +7 -4
  486. package/dist/index.es659.js +9 -9
  487. package/dist/index.es66.js +2 -2
  488. package/dist/index.es660.js +8 -13
  489. package/dist/index.es661.js +9 -9
  490. package/dist/index.es662.js +30 -5
  491. package/dist/index.es663.js +102 -14
  492. package/dist/index.es664.js +16 -18
  493. package/dist/index.es665.js +28 -13
  494. package/dist/index.es666.js +26 -8
  495. package/dist/index.es667.js +33 -26
  496. package/dist/index.es668.js +26 -100
  497. package/dist/index.es669.js +15 -13
  498. package/dist/index.es67.js +2 -2
  499. package/dist/index.es670.js +22 -15
  500. package/dist/index.es671.js +11 -19
  501. package/dist/index.es672.js +35 -28
  502. package/dist/index.es673.js +22 -30
  503. package/dist/index.es674.js +12 -15
  504. package/dist/index.es675.js +11 -28
  505. package/dist/index.es676.js +14 -20
  506. package/dist/index.es677.js +12 -53
  507. package/dist/index.es678.js +11 -21
  508. package/dist/index.es679.js +30 -10
  509. package/dist/index.es680.js +12 -10
  510. package/dist/index.es681.js +26 -14
  511. package/dist/index.es682.js +19 -12
  512. package/dist/index.es683.js +16 -14
  513. package/dist/index.es684.js +17 -28
  514. package/dist/index.es685.js +10 -12
  515. package/dist/index.es686.js +13 -34
  516. package/dist/index.es687.js +11 -18
  517. package/dist/index.es688.js +22 -7
  518. package/dist/index.es689.js +14 -20
  519. package/dist/index.es690.js +14 -10
  520. package/dist/index.es691.js +22 -10
  521. package/dist/index.es692.js +27 -12
  522. package/dist/index.es693.js +16 -28
  523. package/dist/index.es694.js +28 -11
  524. package/dist/index.es695.js +22 -18
  525. package/dist/index.es696.js +22 -19
  526. package/dist/index.es697.js +23 -18
  527. package/dist/index.es698.js +20 -21
  528. package/dist/index.es699.js +8 -30
  529. package/dist/index.es70.js +1 -1
  530. package/dist/index.es700.js +22 -22
  531. package/dist/index.es701.js +19 -22
  532. package/dist/index.es702.js +25 -25
  533. package/dist/index.es703.js +23 -16
  534. package/dist/index.es704.js +15 -7
  535. package/dist/index.es705.js +10 -18
  536. package/dist/index.es706.js +12 -19
  537. package/dist/index.es707.js +14 -29
  538. package/dist/index.es708.js +14 -23
  539. package/dist/index.es709.js +16 -17
  540. package/dist/index.es710.js +13 -10
  541. package/dist/index.es711.js +15 -11
  542. package/dist/index.es712.js +9 -14
  543. package/dist/index.es713.js +15 -12
  544. package/dist/index.es714.js +99 -21
  545. package/dist/index.es715.js +10 -13
  546. package/dist/index.es716.js +9 -18
  547. package/dist/index.es717.js +15 -8
  548. package/dist/index.es718.js +4 -14
  549. package/dist/index.es719.js +14 -93
  550. package/dist/index.es720.js +7 -12
  551. package/dist/index.es721.js +15 -10
  552. package/dist/index.es722.js +2 -32
  553. package/dist/index.es723.js +21 -10
  554. package/dist/index.es724.js +19 -14
  555. package/dist/index.es725.js +21 -10
  556. package/dist/index.es726.js +20 -14
  557. package/dist/index.es727.js +33 -2
  558. package/dist/index.es728.js +9 -9
  559. package/dist/index.es729.js +7 -7
  560. package/dist/index.es730.js +10 -13
  561. package/dist/index.es731.js +6 -6
  562. package/dist/index.es732.js +16 -13
  563. package/dist/index.es733.js +10 -10
  564. package/dist/index.es734.js +6 -6
  565. package/dist/index.es735.js +13 -10
  566. package/dist/index.es736.js +2 -2
  567. package/dist/index.es737.js +8 -8
  568. package/dist/index.es738.js +5 -5
  569. package/dist/index.es739.js +4 -4
  570. package/dist/index.es74.js +2 -2
  571. package/dist/index.es740.js +6 -6
  572. package/dist/index.es741.js +6 -6
  573. package/dist/index.es742.js +7 -7
  574. package/dist/index.es743.js +10 -15
  575. package/dist/index.es744.js +12 -12
  576. package/dist/index.es745.js +8 -8
  577. package/dist/index.es746.js +7 -7
  578. package/dist/index.es747.js +10 -13
  579. package/dist/index.es748.js +12 -7
  580. package/dist/index.es749.js +11 -11
  581. package/dist/index.es750.js +9 -12
  582. package/dist/index.es751.js +9 -9
  583. package/dist/index.es752.js +12 -10
  584. package/dist/index.es753.js +6 -6
  585. package/dist/index.es754.js +8 -8
  586. package/dist/index.es755.js +13 -10
  587. package/dist/index.es756.js +5 -5
  588. package/dist/index.es757.js +11 -16
  589. package/dist/index.es758.js +7 -7
  590. package/dist/index.es759.js +6 -6
  591. package/dist/index.es76.js +1 -1
  592. package/dist/index.es760.js +5 -5
  593. package/dist/index.es761.js +8 -8
  594. package/dist/index.es762.js +2 -30
  595. package/dist/index.es763.js +18 -8
  596. package/dist/index.es764.js +25 -11
  597. package/dist/index.es765.js +9 -14
  598. package/dist/index.es766.js +3 -35
  599. package/dist/index.es767.js +23 -2
  600. package/dist/index.es768.js +2 -46
  601. package/dist/index.es769.js +2 -50
  602. package/dist/index.es77.js +1 -1
  603. package/dist/index.es770.js +8 -26
  604. package/dist/index.es771.js +2 -2
  605. package/dist/index.es772.js +78 -21
  606. package/dist/index.es773.js +95 -82
  607. package/dist/index.es774.js +22 -2
  608. package/dist/index.es775.js +83 -2
  609. package/dist/index.es776.js +2 -4
  610. package/dist/index.es777.js +2 -23
  611. package/dist/index.es78.js +1 -1
  612. package/dist/index.es80.js +1 -1
  613. package/dist/index.es81.js +1 -1
  614. package/dist/index.es812.js +23 -2
  615. package/dist/index.es815.js +2 -2
  616. package/dist/index.es816.js +2 -2
  617. package/dist/index.es817.js +2 -2
  618. package/dist/index.es819.js +2 -2
  619. package/dist/index.es82.js +2 -2
  620. package/dist/index.es820.js +2 -2
  621. package/dist/index.es821.js +2 -2
  622. package/dist/index.es825.js +2 -2
  623. package/dist/index.es826.js +2 -2
  624. package/dist/index.es827.js +2 -2
  625. package/dist/index.es828.js +2 -2
  626. package/dist/index.es829.js +2 -2
  627. package/dist/index.es83.js +1 -1
  628. package/dist/index.es830.js +2 -2
  629. package/dist/index.es831.js +2 -2
  630. package/dist/index.es832.js +2 -2
  631. package/dist/index.es833.js +2 -2
  632. package/dist/index.es834.js +2 -2
  633. package/dist/index.es835.js +2 -2
  634. package/dist/index.es837.js +2 -2
  635. package/dist/index.es839.js +2 -2
  636. package/dist/index.es840.js +2 -2
  637. package/dist/index.es841.js +2 -2
  638. package/dist/index.es842.js +2 -2
  639. package/dist/index.es845.js +2 -2
  640. package/dist/index.es846.js +2 -2
  641. package/dist/index.es847.js +2 -2
  642. package/dist/index.es849.js +2 -2
  643. package/dist/index.es85.js +4 -4
  644. package/dist/index.es850.js +2 -2
  645. package/dist/index.es851.js +2 -2
  646. package/dist/index.es853.js +2 -2
  647. package/dist/index.es855.js +2 -2
  648. package/dist/index.es86.js +1 -1
  649. package/dist/index.es860.js +2 -2
  650. package/dist/index.es861.js +2 -2
  651. package/dist/index.es865.js +2 -2
  652. package/dist/index.es866.js +2 -2
  653. package/dist/index.es867.js +2 -2
  654. package/dist/index.es868.js +2 -2
  655. package/dist/index.es87.js +1 -1
  656. package/dist/index.es870.js +2 -2
  657. package/dist/index.es871.js +2 -2
  658. package/dist/index.es873.js +2 -2
  659. package/dist/index.es874.js +2 -2
  660. package/dist/index.es876.js +2 -2
  661. package/dist/index.es877.js +2 -2
  662. package/dist/index.es878.js +2 -2
  663. package/dist/index.es879.js +2 -2
  664. package/dist/index.es880.js +2 -2
  665. package/dist/index.es881.js +2 -2
  666. package/dist/index.es882.js +2 -2
  667. package/dist/index.es884.js +2 -2
  668. package/dist/index.es885.js +2 -2
  669. package/dist/index.es886.js +2 -2
  670. package/dist/index.es887.js +2 -2
  671. package/dist/index.es89.js +8 -8
  672. package/dist/index.es890.js +2 -2
  673. package/dist/index.es893.js +2 -2
  674. package/dist/index.es894.js +2 -2
  675. package/dist/index.es895.js +2 -2
  676. package/dist/index.es896.js +2 -2
  677. package/dist/index.es897.js +2 -2
  678. package/dist/index.es898.js +2 -2
  679. package/dist/index.es90.js +5 -5
  680. package/dist/index.es900.js +2 -2
  681. package/dist/index.es901.js +2 -2
  682. package/dist/index.es906.js +2 -2
  683. package/dist/index.es907.js +2 -2
  684. package/dist/index.es908.js +2 -2
  685. package/dist/index.es909.js +13 -2
  686. package/dist/index.es910.js +28 -2
  687. package/dist/index.es911.js +5 -2
  688. package/dist/index.es913.js +2 -2
  689. package/dist/index.es914.js +2 -2
  690. package/dist/index.es916.js +2 -2
  691. package/dist/index.es918.js +2 -2
  692. package/dist/index.es919.js +2 -2
  693. package/dist/index.es924.js +2 -2
  694. package/dist/index.es927.js +2 -2
  695. package/dist/index.es928.js +2 -2
  696. package/dist/index.es930.js +2 -2
  697. package/dist/index.es931.js +2 -2
  698. package/dist/index.es934.js +2 -2
  699. package/dist/index.es935.js +2 -2
  700. package/dist/index.es936.js +2 -2
  701. package/dist/index.es938.js +2 -2
  702. package/dist/index.es941.js +2 -2
  703. package/dist/index.es942.js +2 -2
  704. package/dist/index.es943.js +2 -2
  705. package/dist/index.es944.js +2 -2
  706. package/dist/index.es945.js +2 -2
  707. package/dist/index.es950.js +2 -2
  708. package/dist/index.es953.js +2 -23
  709. package/dist/index.es954.js +2 -13
  710. package/dist/index.es955.js +2 -28
  711. package/dist/index.es956.js +2 -5
  712. package/package.json +1 -1
@@ -1,40 +1,234 @@
1
- import { getItemElement as n } from "./index.es522.js";
2
- class f {
3
- getItemRect(t) {
4
- let e = this.ref.current;
5
- if (!e) return null;
6
- let l = t != null ? n(this.ref, t) : null;
7
- if (!l) return null;
8
- let o = e.getBoundingClientRect(), i = l.getBoundingClientRect();
9
- return {
10
- x: i.left - o.left + e.scrollLeft,
11
- y: i.top - o.top + e.scrollTop,
12
- width: i.width,
13
- height: i.height
1
+ import { getItemElement as V, useCollectionId as se, isNonContiguousSelectionModifier as H } from "./index.es526.js";
2
+ import { useTypeSelect as ae } from "./index.es527.js";
3
+ import { mergeProps as G } from "./index.es313.js";
4
+ import { focusWithoutScrolling as j } from "./index.es466.js";
5
+ import { useRouter as de } from "./index.es467.js";
6
+ import { useUpdateLayoutEffect as q } from "./index.es473.js";
7
+ import { useEvent as S } from "./index.es479.js";
8
+ import { scrollIntoView as pe, scrollIntoViewport as J } from "./index.es481.js";
9
+ import { useEffectEvent as Q } from "./index.es480.js";
10
+ import { FOCUS_EVENT as ve, CLEAR_FOCUS_EVENT as ye } from "./index.es483.js";
11
+ import { isCtrlKeyPressed as $ } from "./index.es484.js";
12
+ import { flushSync as be } from "react-dom";
13
+ import { useRef as K, useEffect as X } from "react";
14
+ import { getInteractionModality as Y } from "./index.es488.js";
15
+ import { focusSafely as Z } from "./index.es499.js";
16
+ import { getFocusableTreeWalker as me } from "./index.es325.js";
17
+ import { moveVirtualFocus as $e } from "./index.es506.js";
18
+ import { useLocale as Ke } from "./index.es518.js";
19
+ function Ne(g) {
20
+ let { selectionManager: e, keyboardDelegate: o, ref: i, autoFocus: h = !1, shouldFocusWrap: F = !1, disallowEmptySelection: _ = !1, disallowSelectAll: ee = !1, escapeKeyBehavior: le = "clearSelection", selectOnFocus: b = e.selectionBehavior === "replace", disallowTypeAhead: oe = !1, shouldUseVirtualFocus: y, allowsTabNavigation: te = !1, isVirtualized: B, scrollRef: s = i, linkBehavior: C = "action" } = g, { direction: x } = Ke(), re = de(), ce = (l) => {
21
+ var r;
22
+ if (l.altKey && l.key === "Tab" && l.preventDefault(), !(!((r = i.current) === null || r === void 0) && r.contains(l.target))) return;
23
+ const c = (t, p) => {
24
+ if (t != null) {
25
+ if (e.isLink(t) && C === "selection" && b && !H(l)) {
26
+ be(() => {
27
+ e.setFocusedKey(t, p);
28
+ });
29
+ let v = V(i, t), W = e.getItemProps(t);
30
+ v && re.open(v, l, W.href, W.routerOptions);
31
+ return;
32
+ }
33
+ if (e.setFocusedKey(t, p), e.isLink(t) && C === "override") return;
34
+ l.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(t) : b && !H(l) && e.replaceSelection(t);
35
+ }
14
36
  };
15
- }
16
- getContentSize() {
17
- let t = this.ref.current;
18
- var e, l;
19
- return {
20
- width: (e = t == null ? void 0 : t.scrollWidth) !== null && e !== void 0 ? e : 0,
21
- height: (l = t == null ? void 0 : t.scrollHeight) !== null && l !== void 0 ? l : 0
37
+ switch (l.key) {
38
+ case "ArrowDown":
39
+ if (o.getKeyBelow) {
40
+ var f, u, n;
41
+ let t = e.focusedKey != null ? (f = o.getKeyBelow) === null || f === void 0 ? void 0 : f.call(o, e.focusedKey) : (u = o.getFirstKey) === null || u === void 0 ? void 0 : u.call(o);
42
+ t == null && F && (t = (n = o.getFirstKey) === null || n === void 0 ? void 0 : n.call(o, e.focusedKey)), t != null && (l.preventDefault(), c(t));
43
+ }
44
+ break;
45
+ case "ArrowUp":
46
+ if (o.getKeyAbove) {
47
+ var a, d, P;
48
+ let t = e.focusedKey != null ? (a = o.getKeyAbove) === null || a === void 0 ? void 0 : a.call(o, e.focusedKey) : (d = o.getLastKey) === null || d === void 0 ? void 0 : d.call(o);
49
+ t == null && F && (t = (P = o.getLastKey) === null || P === void 0 ? void 0 : P.call(o, e.focusedKey)), t != null && (l.preventDefault(), c(t));
50
+ }
51
+ break;
52
+ case "ArrowLeft":
53
+ if (o.getKeyLeftOf) {
54
+ var k, A, I;
55
+ let t = e.focusedKey != null ? (k = o.getKeyLeftOf) === null || k === void 0 ? void 0 : k.call(o, e.focusedKey) : null;
56
+ t == null && F && (t = x === "rtl" ? (A = o.getFirstKey) === null || A === void 0 ? void 0 : A.call(o, e.focusedKey) : (I = o.getLastKey) === null || I === void 0 ? void 0 : I.call(o, e.focusedKey)), t != null && (l.preventDefault(), c(t, x === "rtl" ? "first" : "last"));
57
+ }
58
+ break;
59
+ case "ArrowRight":
60
+ if (o.getKeyRightOf) {
61
+ var M, R, O;
62
+ let t = e.focusedKey != null ? (M = o.getKeyRightOf) === null || M === void 0 ? void 0 : M.call(o, e.focusedKey) : null;
63
+ t == null && F && (t = x === "rtl" ? (R = o.getLastKey) === null || R === void 0 ? void 0 : R.call(o, e.focusedKey) : (O = o.getFirstKey) === null || O === void 0 ? void 0 : O.call(o, e.focusedKey)), t != null && (l.preventDefault(), c(t, x === "rtl" ? "last" : "first"));
64
+ }
65
+ break;
66
+ case "Home":
67
+ if (o.getFirstKey) {
68
+ if (e.focusedKey === null && l.shiftKey) return;
69
+ l.preventDefault();
70
+ let t = o.getFirstKey(e.focusedKey, $(l));
71
+ e.setFocusedKey(t), t != null && ($(l) && l.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(t) : b && e.replaceSelection(t));
72
+ }
73
+ break;
74
+ case "End":
75
+ if (o.getLastKey) {
76
+ if (e.focusedKey === null && l.shiftKey) return;
77
+ l.preventDefault();
78
+ let t = o.getLastKey(e.focusedKey, $(l));
79
+ e.setFocusedKey(t), t != null && ($(l) && l.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(t) : b && e.replaceSelection(t));
80
+ }
81
+ break;
82
+ case "PageDown":
83
+ if (o.getKeyPageBelow && e.focusedKey != null) {
84
+ let t = o.getKeyPageBelow(e.focusedKey);
85
+ t != null && (l.preventDefault(), c(t));
86
+ }
87
+ break;
88
+ case "PageUp":
89
+ if (o.getKeyPageAbove && e.focusedKey != null) {
90
+ let t = o.getKeyPageAbove(e.focusedKey);
91
+ t != null && (l.preventDefault(), c(t));
92
+ }
93
+ break;
94
+ case "a":
95
+ $(l) && e.selectionMode === "multiple" && ee !== !0 && (l.preventDefault(), e.selectAll());
96
+ break;
97
+ case "Escape":
98
+ le === "clearSelection" && !_ && e.selectedKeys.size !== 0 && (l.stopPropagation(), l.preventDefault(), e.clearSelection());
99
+ break;
100
+ case "Tab":
101
+ if (!te) {
102
+ if (l.shiftKey) i.current.focus();
103
+ else {
104
+ let t = me(i.current, {
105
+ tabbable: !0
106
+ }), p, v;
107
+ do
108
+ v = t.lastChild(), v && (p = v);
109
+ while (v);
110
+ p && !p.contains(document.activeElement) && j(p);
111
+ }
112
+ break;
113
+ }
114
+ }
115
+ }, w = K({
116
+ top: 0,
117
+ left: 0
118
+ });
119
+ S(s, "scroll", B ? void 0 : () => {
120
+ var l, r, c, f;
121
+ w.current = {
122
+ top: (c = (l = s.current) === null || l === void 0 ? void 0 : l.scrollTop) !== null && c !== void 0 ? c : 0,
123
+ left: (f = (r = s.current) === null || r === void 0 ? void 0 : r.scrollLeft) !== null && f !== void 0 ? f : 0
22
124
  };
23
- }
24
- getVisibleRect() {
25
- let t = this.ref.current;
26
- var e, l, o, i;
27
- return {
28
- x: (e = t == null ? void 0 : t.scrollLeft) !== null && e !== void 0 ? e : 0,
29
- y: (l = t == null ? void 0 : t.scrollTop) !== null && l !== void 0 ? l : 0,
30
- width: (o = t == null ? void 0 : t.offsetWidth) !== null && o !== void 0 ? o : 0,
31
- height: (i = t == null ? void 0 : t.offsetHeight) !== null && i !== void 0 ? i : 0
32
- };
33
- }
34
- constructor(t) {
35
- this.ref = t;
36
- }
125
+ });
126
+ let ie = (l) => {
127
+ if (e.isFocused) {
128
+ l.currentTarget.contains(l.target) || e.setFocused(!1);
129
+ return;
130
+ }
131
+ if (l.currentTarget.contains(l.target)) {
132
+ if (e.setFocused(!0), e.focusedKey == null) {
133
+ var r, c;
134
+ let n = (d) => {
135
+ d != null && (e.setFocusedKey(d), b && !e.isSelected(d) && e.replaceSelection(d));
136
+ }, a = l.relatedTarget;
137
+ var f, u;
138
+ a && l.currentTarget.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_FOLLOWING ? n((f = e.lastSelectedKey) !== null && f !== void 0 ? f : (r = o.getLastKey) === null || r === void 0 ? void 0 : r.call(o)) : n((u = e.firstSelectedKey) !== null && u !== void 0 ? u : (c = o.getFirstKey) === null || c === void 0 ? void 0 : c.call(o));
139
+ } else !B && s.current && (s.current.scrollTop = w.current.top, s.current.scrollLeft = w.current.left);
140
+ if (e.focusedKey != null && s.current) {
141
+ let n = V(i, e.focusedKey);
142
+ n instanceof HTMLElement && (!n.contains(document.activeElement) && !y && j(n), Y() === "keyboard" && J(n, {
143
+ containingElement: i.current
144
+ }));
145
+ }
146
+ }
147
+ }, fe = (l) => {
148
+ l.currentTarget.contains(l.relatedTarget) || e.setFocused(!1);
149
+ }, m = K(!1);
150
+ S(i, ve, y ? (l) => {
151
+ let { detail: r } = l;
152
+ l.stopPropagation(), e.setFocused(!0), (r == null ? void 0 : r.focusStrategy) === "first" && (m.current = !0);
153
+ } : void 0);
154
+ let N = Q(() => {
155
+ var l, r;
156
+ let c = (r = (l = o.getFirstKey) === null || l === void 0 ? void 0 : l.call(o)) !== null && r !== void 0 ? r : null;
157
+ c == null ? ($e(i.current), e.collection.size > 0 && (m.current = !1)) : (e.setFocusedKey(c), m.current = !1);
158
+ });
159
+ q(() => {
160
+ m.current && N();
161
+ }, [
162
+ e.collection,
163
+ N
164
+ ]);
165
+ let U = Q(() => {
166
+ e.collection.size > 0 && (m.current = !1);
167
+ });
168
+ q(() => {
169
+ U();
170
+ }, [
171
+ e.focusedKey,
172
+ U
173
+ ]), S(i, ye, y ? (l) => {
174
+ var r;
175
+ l.stopPropagation(), e.setFocused(!1), !((r = l.detail) === null || r === void 0) && r.clearFocusKey && e.setFocusedKey(null);
176
+ } : void 0);
177
+ const z = K(h), T = K(!1);
178
+ X(() => {
179
+ if (z.current) {
180
+ var l, r;
181
+ let u = null;
182
+ var c;
183
+ h === "first" && (u = (c = (l = o.getFirstKey) === null || l === void 0 ? void 0 : l.call(o)) !== null && c !== void 0 ? c : null);
184
+ var f;
185
+ h === "last" && (u = (f = (r = o.getLastKey) === null || r === void 0 ? void 0 : r.call(o)) !== null && f !== void 0 ? f : null);
186
+ let n = e.selectedKeys;
187
+ if (n.size) {
188
+ for (let a of n) if (e.canSelectItem(a)) {
189
+ u = a;
190
+ break;
191
+ }
192
+ }
193
+ e.setFocused(!0), e.setFocusedKey(u), u == null && !y && i.current && Z(i.current), e.collection.size > 0 && (z.current = !1, T.current = !0);
194
+ }
195
+ });
196
+ let D = K(e.focusedKey);
197
+ X(() => {
198
+ if (e.isFocused && e.focusedKey != null && (e.focusedKey !== D.current || T.current) && s.current && i.current) {
199
+ let l = Y(), r = V(i, e.focusedKey);
200
+ if (!(r instanceof HTMLElement))
201
+ return;
202
+ (l === "keyboard" || T.current) && (pe(s.current, r), l !== "virtual" && J(r, {
203
+ containingElement: i.current
204
+ }));
205
+ }
206
+ !y && e.isFocused && e.focusedKey == null && D.current != null && i.current && Z(i.current), D.current = e.focusedKey, T.current = !1;
207
+ }), S(i, "react-aria-focus-scope-restore", (l) => {
208
+ l.preventDefault(), e.setFocused(!0);
209
+ });
210
+ let E = {
211
+ onKeyDown: ce,
212
+ onFocus: ie,
213
+ onBlur: fe,
214
+ onMouseDown(l) {
215
+ s.current === l.target && l.preventDefault();
216
+ }
217
+ }, { typeSelectProps: ne } = ae({
218
+ keyboardDelegate: o,
219
+ selectionManager: e
220
+ });
221
+ oe || (E = G(ne, E));
222
+ let L;
223
+ y || (L = e.focusedKey == null ? 0 : -1);
224
+ let ue = se(e.collection);
225
+ return {
226
+ collectionProps: G(E, {
227
+ tabIndex: L,
228
+ "data-collection": ue
229
+ })
230
+ };
37
231
  }
38
232
  export {
39
- f as DOMLayoutDelegate
233
+ Ne as useSelectableCollection
40
234
  };
@@ -1,74 +1,24 @@
1
- import r from "./index.es587.js";
2
- import o from "./index.es588.js";
3
- import e from "./index.es589.js";
4
- import t from "./index.es590.js";
5
- import p from "./index.es591.js";
6
- import $ from "./index.es592.js";
7
- import m from "./index.es593.js";
8
- import f from "./index.es594.js";
9
- import b from "./index.es595.js";
10
- import a from "./index.es596.js";
11
- import s from "./index.es597.js";
12
- import d from "./index.es598.js";
13
- import c from "./index.es599.js";
14
- import i from "./index.es600.js";
15
- import x from "./index.es601.js";
16
- import R from "./index.es602.js";
17
- import l from "./index.es603.js";
18
- import E from "./index.es604.js";
19
- import S from "./index.es605.js";
20
- import h from "./index.es606.js";
21
- import L from "./index.es607.js";
22
- import T from "./index.es608.js";
23
- import u from "./index.es609.js";
24
- import I from "./index.es610.js";
25
- import P from "./index.es611.js";
26
- import U from "./index.es612.js";
27
- import k from "./index.es613.js";
28
- import n from "./index.es614.js";
29
- import v from "./index.es615.js";
30
- import K from "./index.es616.js";
31
- import N from "./index.es617.js";
32
- import z from "./index.es618.js";
33
- import A from "./index.es619.js";
34
- import B from "./index.es620.js";
35
- var C = {};
36
- C = {
37
- "ar-AE": r,
38
- "bg-BG": o,
39
- "cs-CZ": e,
40
- "da-DK": t,
41
- "de-DE": p,
42
- "el-GR": $,
43
- "en-US": m,
44
- "es-ES": f,
45
- "et-EE": b,
46
- "fi-FI": a,
47
- "fr-FR": s,
48
- "he-IL": d,
49
- "hr-HR": c,
50
- "hu-HU": i,
51
- "it-IT": x,
52
- "ja-JP": R,
53
- "ko-KR": l,
54
- "lt-LT": E,
55
- "lv-LV": S,
56
- "nb-NO": h,
57
- "nl-NL": L,
58
- "pl-PL": T,
59
- "pt-BR": u,
60
- "pt-PT": I,
61
- "ro-RO": P,
62
- "ru-RU": U,
63
- "sk-SK": k,
64
- "sl-SI": n,
65
- "sr-SP": v,
66
- "sv-SE": K,
67
- "tr-TR": N,
68
- "uk-UA": z,
69
- "zh-CN": A,
70
- "zh-TW": B
71
- };
1
+ import { useId as l } from "./index.es312.js";
2
+ import { isAppleDevice as a } from "./index.es468.js";
3
+ function d(e) {
4
+ return a() ? e.altKey : e.ctrlKey;
5
+ }
6
+ function u(e, t) {
7
+ var o, f;
8
+ let c = `[data-key="${CSS.escape(String(t))}"]`, r = (o = e.current) === null || o === void 0 ? void 0 : o.dataset.collection;
9
+ return r && (c = `[data-collection="${CSS.escape(r)}"]${c}`), (f = e.current) === null || f === void 0 ? void 0 : f.querySelector(c);
10
+ }
11
+ const n = /* @__PURE__ */ new WeakMap();
12
+ function b(e) {
13
+ let t = l();
14
+ return n.set(e, t), t;
15
+ }
16
+ function s(e) {
17
+ return n.get(e);
18
+ }
72
19
  export {
73
- C as default
20
+ s as getCollectionId,
21
+ u as getItemElement,
22
+ d as isNonContiguousSelectionModifier,
23
+ b as useCollectionId
74
24
  };
@@ -1,10 +1,32 @@
1
- import { __module as r } from "./index.es528.js";
2
- import { __require as o } from "./index.es529.js";
3
- import { __require as i } from "./index.es530.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);
1
+ import { useRef as l } from "react";
2
+ const f = 1e3;
3
+ function g(r) {
4
+ let { keyboardDelegate: o, selectionManager: c, onTypeSelect: i } = r, t = l({
5
+ search: "",
6
+ timeout: void 0
7
+ }).current, u = (e) => {
8
+ let a = s(e.key);
9
+ if (!(!a || e.ctrlKey || e.metaKey || !e.currentTarget.contains(e.target))) {
10
+ if (a === " " && t.search.trim().length > 0 && (e.preventDefault(), "continuePropagation" in e || e.stopPropagation()), t.search += a, o.getKeyForSearch != null) {
11
+ let n = o.getKeyForSearch(t.search, c.focusedKey);
12
+ n == null && (n = o.getKeyForSearch(t.search)), n != null && (c.setFocusedKey(n), i && i(n));
13
+ }
14
+ clearTimeout(t.timeout), t.timeout = setTimeout(() => {
15
+ t.search = "";
16
+ }, f);
17
+ }
18
+ };
19
+ return {
20
+ typeSelectProps: {
21
+ // Using a capturing listener to catch the keydown event before
22
+ // other hooks in order to handle the Spacebar event.
23
+ onKeyDownCapture: o.getKeyForSearch ? u : void 0
24
+ }
25
+ };
26
+ }
27
+ function s(r) {
28
+ return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
7
29
  }
8
30
  export {
9
- u as __require
31
+ g as useTypeSelect
10
32
  };
@@ -1,4 +1,121 @@
1
- var e = { exports: {} };
1
+ import { DOMLayoutDelegate as n } from "./index.es529.js";
2
+ import { isScrollable as r } from "./index.es476.js";
3
+ class g {
4
+ isDisabled(t) {
5
+ var e;
6
+ return this.disabledBehavior === "all" && (((e = t.props) === null || e === void 0 ? void 0 : e.isDisabled) || this.disabledKeys.has(t.key));
7
+ }
8
+ findNextNonDisabled(t, e) {
9
+ let l = t;
10
+ for (; l != null; ) {
11
+ let i = this.collection.getItem(l);
12
+ if ((i == null ? void 0 : i.type) === "item" && !this.isDisabled(i)) return l;
13
+ l = e(l);
14
+ }
15
+ return null;
16
+ }
17
+ getNextKey(t) {
18
+ let e = t;
19
+ return e = this.collection.getKeyAfter(e), this.findNextNonDisabled(e, (l) => this.collection.getKeyAfter(l));
20
+ }
21
+ getPreviousKey(t) {
22
+ let e = t;
23
+ return e = this.collection.getKeyBefore(e), this.findNextNonDisabled(e, (l) => this.collection.getKeyBefore(l));
24
+ }
25
+ findKey(t, e, l) {
26
+ let i = t, s = this.layoutDelegate.getItemRect(i);
27
+ if (!s || i == null) return null;
28
+ let o = s;
29
+ do {
30
+ if (i = e(i), i == null) break;
31
+ s = this.layoutDelegate.getItemRect(i);
32
+ } while (s && l(o, s) && i != null);
33
+ return i;
34
+ }
35
+ isSameRow(t, e) {
36
+ return t.y === e.y || t.x !== e.x;
37
+ }
38
+ isSameColumn(t, e) {
39
+ return t.x === e.x || t.y !== e.y;
40
+ }
41
+ getKeyBelow(t) {
42
+ return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(t, (e) => this.getNextKey(e), this.isSameRow) : this.getNextKey(t);
43
+ }
44
+ getKeyAbove(t) {
45
+ return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(t, (e) => this.getPreviousKey(e), this.isSameRow) : this.getPreviousKey(t);
46
+ }
47
+ getNextColumn(t, e) {
48
+ return e ? this.getPreviousKey(t) : this.getNextKey(t);
49
+ }
50
+ getKeyRightOf(t) {
51
+ let e = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
52
+ return this.layoutDelegate[e] ? (t = this.layoutDelegate[e](t), this.findNextNonDisabled(t, (l) => this.layoutDelegate[e](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(t, this.direction === "rtl") : this.findKey(t, (l) => this.getNextColumn(l, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(t, this.direction === "rtl") : null;
53
+ }
54
+ getKeyLeftOf(t) {
55
+ let e = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
56
+ return this.layoutDelegate[e] ? (t = this.layoutDelegate[e](t), this.findNextNonDisabled(t, (l) => this.layoutDelegate[e](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(t, this.direction === "ltr") : this.findKey(t, (l) => this.getNextColumn(l, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(t, this.direction === "ltr") : null;
57
+ }
58
+ getFirstKey() {
59
+ let t = this.collection.getFirstKey();
60
+ return this.findNextNonDisabled(t, (e) => this.collection.getKeyAfter(e));
61
+ }
62
+ getLastKey() {
63
+ let t = this.collection.getLastKey();
64
+ return this.findNextNonDisabled(t, (e) => this.collection.getKeyBefore(e));
65
+ }
66
+ getKeyPageAbove(t) {
67
+ let e = this.ref.current, l = this.layoutDelegate.getItemRect(t);
68
+ if (!l) return null;
69
+ if (e && !r(e)) return this.getFirstKey();
70
+ let i = t;
71
+ if (this.orientation === "horizontal") {
72
+ let s = Math.max(0, l.x + l.width - this.layoutDelegate.getVisibleRect().width);
73
+ for (; l && l.x > s && i != null; )
74
+ i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
75
+ } else {
76
+ let s = Math.max(0, l.y + l.height - this.layoutDelegate.getVisibleRect().height);
77
+ for (; l && l.y > s && i != null; )
78
+ i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
79
+ }
80
+ return i ?? this.getFirstKey();
81
+ }
82
+ getKeyPageBelow(t) {
83
+ let e = this.ref.current, l = this.layoutDelegate.getItemRect(t);
84
+ if (!l) return null;
85
+ if (e && !r(e)) return this.getLastKey();
86
+ let i = t;
87
+ if (this.orientation === "horizontal") {
88
+ let s = Math.min(this.layoutDelegate.getContentSize().width, l.y - l.width + this.layoutDelegate.getVisibleRect().width);
89
+ for (; l && l.x < s && i != null; )
90
+ i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
91
+ } else {
92
+ let s = Math.min(this.layoutDelegate.getContentSize().height, l.y - l.height + this.layoutDelegate.getVisibleRect().height);
93
+ for (; l && l.y < s && i != null; )
94
+ i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
95
+ }
96
+ return i ?? this.getLastKey();
97
+ }
98
+ getKeyForSearch(t, e) {
99
+ if (!this.collator) return null;
100
+ let l = this.collection, i = e || this.getFirstKey();
101
+ for (; i != null; ) {
102
+ let s = l.getItem(i);
103
+ if (!s) return null;
104
+ let o = s.textValue.slice(0, t.length);
105
+ if (s.textValue && this.collator.compare(o, t) === 0) return i;
106
+ i = this.getNextKey(i);
107
+ }
108
+ return null;
109
+ }
110
+ constructor(...t) {
111
+ if (t.length === 1) {
112
+ let e = t[0];
113
+ this.collection = e.collection, this.ref = e.ref, this.collator = e.collator, this.disabledKeys = e.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = e.disabledBehavior || "all", this.orientation = e.orientation || "vertical", this.direction = e.direction, this.layout = e.layout || "stack", this.layoutDelegate = e.layoutDelegate || new n(e.ref);
114
+ } else
115
+ this.collection = t[0], this.disabledKeys = t[1], this.ref = t[2], this.collator = t[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new n(this.ref);
116
+ this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
117
+ }
118
+ }
2
119
  export {
3
- e as __module
120
+ g as ListKeyboardDelegate
4
121
  };
@@ -1,55 +1,40 @@
1
- import { __exports as i } from "./index.es585.js";
2
- import h from "react";
3
- /**
4
- * @license React
5
- * use-sync-external-store-shim.production.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var f;
13
- function x() {
14
- if (f) return i;
15
- f = 1;
16
- var u = h;
17
- function s(e, t) {
18
- return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
1
+ import { getItemElement as n } from "./index.es526.js";
2
+ class f {
3
+ getItemRect(t) {
4
+ let e = this.ref.current;
5
+ if (!e) return null;
6
+ let l = t != null ? n(this.ref, t) : null;
7
+ if (!l) return null;
8
+ let o = e.getBoundingClientRect(), i = l.getBoundingClientRect();
9
+ return {
10
+ x: i.left - o.left + e.scrollLeft,
11
+ y: i.top - o.top + e.scrollTop,
12
+ width: i.width,
13
+ height: i.height
14
+ };
19
15
  }
20
- var S = typeof Object.is == "function" ? Object.is : s, d = u.useState, l = u.useEffect, p = u.useLayoutEffect, E = u.useDebugValue;
21
- function v(e, t) {
22
- var r = t(), a = d({ inst: { value: r, getSnapshot: t } }), n = a[0].inst, c = a[1];
23
- return p(
24
- function() {
25
- n.value = r, n.getSnapshot = t, o(n) && c({ inst: n });
26
- },
27
- [e, r, t]
28
- ), l(
29
- function() {
30
- return o(n) && c({ inst: n }), e(function() {
31
- o(n) && c({ inst: n });
32
- });
33
- },
34
- [e]
35
- ), E(r), r;
16
+ getContentSize() {
17
+ let t = this.ref.current;
18
+ var e, l;
19
+ return {
20
+ width: (e = t == null ? void 0 : t.scrollWidth) !== null && e !== void 0 ? e : 0,
21
+ height: (l = t == null ? void 0 : t.scrollHeight) !== null && l !== void 0 ? l : 0
22
+ };
36
23
  }
37
- function o(e) {
38
- var t = e.getSnapshot;
39
- e = e.value;
40
- try {
41
- var r = t();
42
- return !S(e, r);
43
- } catch {
44
- return !0;
45
- }
24
+ getVisibleRect() {
25
+ let t = this.ref.current;
26
+ var e, l, o, i;
27
+ return {
28
+ x: (e = t == null ? void 0 : t.scrollLeft) !== null && e !== void 0 ? e : 0,
29
+ y: (l = t == null ? void 0 : t.scrollTop) !== null && l !== void 0 ? l : 0,
30
+ width: (o = t == null ? void 0 : t.offsetWidth) !== null && o !== void 0 ? o : 0,
31
+ height: (i = t == null ? void 0 : t.offsetHeight) !== null && i !== void 0 ? i : 0
32
+ };
46
33
  }
47
- function y(e, t) {
48
- return t();
34
+ constructor(t) {
35
+ this.ref = t;
49
36
  }
50
- var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? y : v;
51
- return i.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : m, i;
52
37
  }
53
38
  export {
54
- x as __require
39
+ f as DOMLayoutDelegate
55
40
  };