@boxcustodia/library 1.7.4 → 1.7.7

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 (532) hide show
  1. package/dist/index.es105.js +244 -295
  2. package/dist/index.es106.js +7 -7
  3. package/dist/index.es107.js +26 -55
  4. package/dist/index.es108.js +56 -53
  5. package/dist/index.es109.js +3 -114
  6. package/dist/index.es110.js +1087 -44
  7. package/dist/index.es111.js +4 -25
  8. package/dist/index.es112.js +4 -31
  9. package/dist/index.es113.js +310 -10
  10. package/dist/index.es114.js +13 -41
  11. package/dist/index.es115.js +25 -56
  12. package/dist/index.es116.js +55 -18
  13. package/dist/index.es117.js +54 -40
  14. package/dist/index.es118.js +111 -256
  15. package/dist/index.es119.js +44 -13
  16. package/dist/index.es120.js +25 -3
  17. package/dist/index.es121.js +31 -4
  18. package/dist/index.es122.js +7 -9
  19. package/dist/index.es123.js +22 -5
  20. package/dist/index.es124.js +3 -56
  21. package/dist/index.es125.js +15 -22
  22. package/dist/index.es126.js +5 -20
  23. package/dist/index.es127.js +55 -37
  24. package/dist/index.es128.js +3 -7
  25. package/dist/index.es129.js +14 -7
  26. package/dist/index.es130.js +38 -24
  27. package/dist/index.es131.js +18 -1087
  28. package/dist/index.es132.js +41 -4
  29. package/dist/index.es133.js +39 -4
  30. package/dist/index.es134.js +14 -4
  31. package/dist/index.es135.js +6 -26
  32. package/dist/index.es136.js +33 -10
  33. package/dist/index.es137.js +12 -3
  34. package/dist/index.es138.js +26 -21
  35. package/dist/index.es139.js +224 -10
  36. package/dist/index.es140.js +2 -11
  37. package/dist/index.es141.js +4 -21
  38. package/dist/index.es142.js +41 -10
  39. package/dist/index.es143.js +69 -10
  40. package/dist/index.es144.js +4 -224
  41. package/dist/index.es145.js +22 -10
  42. package/dist/index.es146.js +13 -41
  43. package/dist/index.es147.js +10 -4
  44. package/dist/index.es148.js +13 -18
  45. package/dist/index.es149.js +845 -41
  46. package/dist/index.es150.js +10 -22
  47. package/dist/index.es151.js +4 -7
  48. package/dist/index.es152.js +4 -13
  49. package/dist/index.es153.js +16 -67
  50. package/dist/index.es154.js +41 -845
  51. package/dist/index.es155.js +13 -13
  52. package/dist/index.es156.js +22 -33
  53. package/dist/index.es157.js +10 -6
  54. package/dist/index.es158.js +77 -16
  55. package/dist/index.es159.js +92 -14
  56. package/dist/index.es16.js +1 -1
  57. package/dist/index.es160.js +352 -13
  58. package/dist/index.es161.js +124 -14
  59. package/dist/index.es162.js +4 -4
  60. package/dist/index.es163.js +16 -77
  61. package/dist/index.es164.js +14 -92
  62. package/dist/index.es165.js +13 -352
  63. package/dist/index.es166.js +14 -124
  64. package/dist/index.es172.js +18 -14
  65. package/dist/index.es173.js +35 -32
  66. package/dist/index.es174.js +6 -10
  67. package/dist/index.es176.js +66 -17
  68. package/dist/index.es177.js +10 -35
  69. package/dist/index.es178.js +123 -19
  70. package/dist/index.es179.js +130 -32
  71. package/dist/index.es18.js +1 -1
  72. package/dist/index.es180.js +14 -11
  73. package/dist/index.es181.js +32 -6
  74. package/dist/index.es182.js +12 -65
  75. package/dist/index.es183.js +8 -124
  76. package/dist/index.es184.js +48 -133
  77. package/dist/index.es185.js +3675 -14
  78. package/dist/index.es186.js +5 -14
  79. package/dist/index.es187.js +2 -9
  80. package/dist/index.es188.js +42 -47
  81. package/dist/index.es189.js +21 -205
  82. package/dist/index.es190.js +36 -3674
  83. package/dist/index.es191.js +10 -5
  84. package/dist/index.es192.js +205 -2
  85. package/dist/index.es193.js +13 -43
  86. package/dist/index.es194.js +3 -649
  87. package/dist/index.es195.js +649 -3
  88. package/dist/index.es196.js +3 -217
  89. package/dist/index.es197.js +45 -3
  90. package/dist/index.es198.js +7 -45
  91. package/dist/index.es199.js +217 -7
  92. package/dist/index.es2.js +1 -1
  93. package/dist/index.es201.js +1 -1
  94. package/dist/index.es204.js +3 -25
  95. package/dist/index.es205.js +2 -19
  96. package/dist/index.es206.js +2053 -37
  97. package/dist/index.es207.js +35 -18
  98. package/dist/index.es208.js +118 -3
  99. package/dist/index.es209.js +28 -2
  100. package/dist/index.es210.js +2470 -2025
  101. package/dist/index.es211.js +11 -25
  102. package/dist/index.es212.js +24 -2498
  103. package/dist/index.es213.js +17 -35
  104. package/dist/index.es214.js +38 -118
  105. package/dist/index.es215.js +18 -6
  106. package/dist/index.es216.js +7 -83
  107. package/dist/index.es217.js +5 -5
  108. package/dist/index.es218.js +5 -17
  109. package/dist/index.es219.js +17 -9
  110. package/dist/index.es22.js +1 -1
  111. package/dist/index.es220.js +5 -6
  112. package/dist/index.es221.js +7 -6
  113. package/dist/index.es222.js +5 -14
  114. package/dist/index.es223.js +13 -11
  115. package/dist/index.es224.js +16 -19
  116. package/dist/index.es225.js +8 -14
  117. package/dist/index.es226.js +4 -4
  118. package/dist/index.es227.js +14 -6
  119. package/dist/index.es228.js +6 -53
  120. package/dist/index.es229.js +14 -10
  121. package/dist/index.es230.js +6 -6
  122. package/dist/index.es231.js +6 -10
  123. package/dist/index.es232.js +6 -7
  124. package/dist/index.es233.js +5 -17
  125. package/dist/index.es234.js +580 -6
  126. package/dist/index.es235.js +50 -7
  127. package/dist/index.es236.js +17 -8
  128. package/dist/index.es237.js +6 -10
  129. package/dist/index.es238.js +19 -12
  130. package/dist/index.es239.js +8 -7
  131. package/dist/index.es24.js +1 -1
  132. package/dist/index.es240.js +6 -5
  133. package/dist/index.es241.js +7 -5
  134. package/dist/index.es242.js +6 -7
  135. package/dist/index.es243.js +6 -5
  136. package/dist/index.es244.js +9 -13
  137. package/dist/index.es245.js +5 -15
  138. package/dist/index.es246.js +8 -8
  139. package/dist/index.es247.js +12 -5
  140. package/dist/index.es248.js +9 -4
  141. package/dist/index.es249.js +8 -580
  142. package/dist/index.es250.js +11 -50
  143. package/dist/index.es251.js +14 -17
  144. package/dist/index.es252.js +4 -5
  145. package/dist/index.es253.js +12 -19
  146. package/dist/index.es254.js +10 -8
  147. package/dist/index.es255.js +10 -6
  148. package/dist/index.es256.js +6 -7
  149. package/dist/index.es257.js +9 -5
  150. package/dist/index.es258.js +83 -6
  151. package/dist/index.es259.js +38 -9
  152. package/dist/index.es26.js +2 -2
  153. package/dist/index.es260.js +65 -6
  154. package/dist/index.es261.js +9 -8
  155. package/dist/index.es262.js +8 -12
  156. package/dist/index.es263.js +7 -9
  157. package/dist/index.es264.js +10 -10
  158. package/dist/index.es265.js +7 -14
  159. package/dist/index.es266.js +7 -38
  160. package/dist/index.es267.js +7 -65
  161. package/dist/index.es268.js +5 -9
  162. package/dist/index.es269.js +15 -8
  163. package/dist/index.es270.js +177 -7
  164. package/dist/index.es271.js +30 -7
  165. package/dist/index.es272.js +19 -16
  166. package/dist/index.es273.js +47 -172
  167. package/dist/index.es274.js +16 -30
  168. package/dist/index.es276.js +1 -1
  169. package/dist/index.es277.js +1 -1
  170. package/dist/index.es278.js +3 -3
  171. package/dist/index.es28.js +2 -2
  172. package/dist/index.es287.js +1 -1
  173. package/dist/index.es288.js +2 -2
  174. package/dist/index.es289.js +2 -2
  175. package/dist/index.es290.js +1 -1
  176. package/dist/index.es291.js +2 -2
  177. package/dist/index.es293.js +25 -8
  178. package/dist/index.es294.js +29 -3
  179. package/dist/index.es295.js +5 -45
  180. package/dist/index.es296.js +8 -29
  181. package/dist/index.es297.js +3 -57
  182. package/dist/index.es298.js +43 -18
  183. package/dist/index.es299.js +28 -21
  184. package/dist/index.es30.js +1 -1
  185. package/dist/index.es300.js +56 -44
  186. package/dist/index.es301.js +18 -30
  187. package/dist/index.es302.js +21 -83
  188. package/dist/index.es303.js +43 -5
  189. package/dist/index.es304.js +30 -13
  190. package/dist/index.es305.js +81 -41
  191. package/dist/index.es306.js +6 -33
  192. package/dist/index.es307.js +13 -26
  193. package/dist/index.es308.js +42 -24
  194. package/dist/index.es309.js +33 -7
  195. package/dist/index.es310.js +19 -412
  196. package/dist/index.es311.js +23 -10
  197. package/dist/index.es312.js +6 -33
  198. package/dist/index.es313.js +419 -23
  199. package/dist/index.es314.js +13 -29
  200. package/dist/index.es315.js +35 -5
  201. package/dist/index.es32.js +1 -1
  202. package/dist/index.es320.js +1 -1
  203. package/dist/index.es321.js +2 -2
  204. package/dist/index.es322.js +4 -4
  205. package/dist/index.es323.js +4 -4
  206. package/dist/index.es324.js +2 -2
  207. package/dist/index.es325.js +2 -2
  208. package/dist/index.es326.js +2 -2
  209. package/dist/index.es327.js +3 -3
  210. package/dist/index.es328.js +3 -3
  211. package/dist/index.es329.js +5 -5
  212. package/dist/index.es33.js +3 -3
  213. package/dist/index.es330.js +5 -5
  214. package/dist/index.es331.js +3 -3
  215. package/dist/index.es332.js +3 -3
  216. package/dist/index.es333.js +2 -2
  217. package/dist/index.es334.js +3 -3
  218. package/dist/index.es335.js +3 -3
  219. package/dist/index.es336.js +3 -3
  220. package/dist/index.es337.js +2 -2
  221. package/dist/index.es338.js +2 -2
  222. package/dist/index.es339.js +2 -2
  223. package/dist/index.es34.js +6 -6
  224. package/dist/index.es340.js +3 -3
  225. package/dist/index.es341.js +3 -3
  226. package/dist/index.es342.js +3 -3
  227. package/dist/index.es343.js +3 -3
  228. package/dist/index.es344.js +3 -3
  229. package/dist/index.es345.js +3 -3
  230. package/dist/index.es346.js +2 -2
  231. package/dist/index.es347.js +5 -5
  232. package/dist/index.es348.js +5 -5
  233. package/dist/index.es349.js +3 -3
  234. package/dist/index.es350.js +3 -3
  235. package/dist/index.es353.js +1 -1
  236. package/dist/index.es354.js +2 -2
  237. package/dist/index.es355.js +1 -1
  238. package/dist/index.es367.js +3 -3
  239. package/dist/index.es369.js +5 -277
  240. package/dist/index.es370.js +3 -2
  241. package/dist/index.es371.js +22 -106
  242. package/dist/index.es372.js +106 -73
  243. package/dist/index.es373.js +15 -38
  244. package/dist/index.es374.js +273 -64
  245. package/dist/index.es375.js +2 -37
  246. package/dist/index.es376.js +106 -67
  247. package/dist/index.es377.js +73 -112
  248. package/dist/index.es378.js +31 -89
  249. package/dist/index.es379.js +65 -43
  250. package/dist/index.es38.js +1 -1
  251. package/dist/index.es380.js +35 -26
  252. package/dist/index.es381.js +69 -2
  253. package/dist/index.es382.js +110 -238
  254. package/dist/index.es383.js +89 -379
  255. package/dist/index.es384.js +44 -166
  256. package/dist/index.es385.js +26 -151
  257. package/dist/index.es386.js +2 -143
  258. package/dist/index.es387.js +240 -196
  259. package/dist/index.es388.js +387 -2
  260. package/dist/index.es389.js +156 -119
  261. package/dist/index.es39.js +24 -24
  262. package/dist/index.es390.js +144 -208
  263. package/dist/index.es391.js +142 -29
  264. package/dist/index.es392.js +199 -47
  265. package/dist/index.es393.js +2 -4
  266. package/dist/index.es394.js +131 -3
  267. package/dist/index.es395.js +217 -5
  268. package/dist/index.es396.js +30 -3
  269. package/dist/index.es397.js +46 -22
  270. package/dist/index.es398.js +4 -110
  271. package/dist/index.es399.js +3 -16
  272. package/dist/index.es40.js +5 -5
  273. package/dist/index.es401.js +1 -1
  274. package/dist/index.es403.js +1 -1
  275. package/dist/index.es404.js +2 -2
  276. package/dist/index.es405.js +19 -67
  277. package/dist/index.es406.js +101 -31
  278. package/dist/index.es407.js +47 -16
  279. package/dist/index.es408.js +6 -141
  280. package/dist/index.es409.js +15 -114
  281. package/dist/index.es41.js +2 -2
  282. package/dist/index.es410.js +2 -20
  283. package/dist/index.es411.js +7 -100
  284. package/dist/index.es412.js +327 -47
  285. package/dist/index.es413.js +49 -5
  286. package/dist/index.es414.js +3 -14
  287. package/dist/index.es415.js +2 -2
  288. package/dist/index.es416.js +230 -7
  289. package/dist/index.es417.js +219 -312
  290. package/dist/index.es418.js +2 -50
  291. package/dist/index.es419.js +2 -4
  292. package/dist/index.es420.js +2 -2
  293. package/dist/index.es421.js +2 -231
  294. package/dist/index.es422.js +10 -233
  295. package/dist/index.es423.js +2 -523
  296. package/dist/index.es424.js +2 -127
  297. package/dist/index.es425.js +45 -126
  298. package/dist/index.es426.js +2 -2
  299. package/dist/index.es427.js +2 -2
  300. package/dist/index.es428.js +8 -2
  301. package/dist/index.es429.js +2 -2
  302. package/dist/index.es430.js +2 -11
  303. package/dist/index.es431.js +28 -2
  304. package/dist/index.es432.js +2 -2
  305. package/dist/index.es433.js +2 -48
  306. package/dist/index.es434.js +27 -2
  307. package/dist/index.es435.js +98 -2
  308. package/dist/index.es436.js +53 -7
  309. package/dist/index.es437.js +18 -2
  310. package/dist/index.es438.js +2 -2
  311. package/dist/index.es439.js +27 -26
  312. package/dist/index.es44.js +3 -3
  313. package/dist/index.es440.js +2 -2
  314. package/dist/index.es441.js +523 -2
  315. package/dist/index.es442.js +125 -25
  316. package/dist/index.es443.js +127 -96
  317. package/dist/index.es444.js +67 -53
  318. package/dist/index.es445.js +31 -18
  319. package/dist/index.es446.js +16 -2
  320. package/dist/index.es447.js +140 -28
  321. package/dist/index.es448.js +114 -2
  322. package/dist/index.es449.js +60 -267
  323. package/dist/index.es45.js +1 -1
  324. package/dist/index.es450.js +68 -79
  325. package/dist/index.es451.js +8 -165
  326. package/dist/index.es452.js +14 -25
  327. package/dist/index.es453.js +62 -6
  328. package/dist/index.es454.js +257 -113
  329. package/dist/index.es455.js +78 -23
  330. package/dist/index.es456.js +164 -3
  331. package/dist/index.es457.js +24 -12
  332. package/dist/index.es458.js +5 -42
  333. package/dist/index.es459.js +125 -55
  334. package/dist/index.es460.js +23 -40
  335. package/dist/index.es461.js +4 -28
  336. package/dist/index.es462.js +12 -31
  337. package/dist/index.es463.js +42 -14
  338. package/dist/index.es464.js +57 -10
  339. package/dist/index.es465.js +41 -10
  340. package/dist/index.es466.js +27 -8
  341. package/dist/index.es467.js +31 -6
  342. package/dist/index.es468.js +14 -5
  343. package/dist/index.es469.js +10 -7
  344. package/dist/index.es47.js +1 -1
  345. package/dist/index.es470.js +10 -29
  346. package/dist/index.es471.js +9 -18
  347. package/dist/index.es472.js +6 -13
  348. package/dist/index.es473.js +5 -43
  349. package/dist/index.es474.js +7 -8
  350. package/dist/index.es475.js +30 -3
  351. package/dist/index.es476.js +18 -4
  352. package/dist/index.es477.js +13 -24
  353. package/dist/index.es478.js +42 -26
  354. package/dist/index.es479.js +7 -91
  355. package/dist/index.es480.js +3 -108
  356. package/dist/index.es481.js +4 -54
  357. package/dist/index.es482.js +24 -9
  358. package/dist/index.es483.js +26 -24
  359. package/dist/index.es484.js +81 -370
  360. package/dist/index.es485.js +107 -33
  361. package/dist/index.es486.js +55 -7
  362. package/dist/index.es487.js +9 -6
  363. package/dist/index.es488.js +25 -4
  364. package/dist/index.es489.js +381 -6
  365. package/dist/index.es49.js +5 -5
  366. package/dist/index.es490.js +32 -49
  367. package/dist/index.es491.js +7 -15
  368. package/dist/index.es492.js +6 -54
  369. package/dist/index.es493.js +4 -5
  370. package/dist/index.es494.js +6 -281
  371. package/dist/index.es495.js +50 -36
  372. package/dist/index.es496.js +14 -19
  373. package/dist/index.es497.js +54 -31
  374. package/dist/index.es498.js +5 -29
  375. package/dist/index.es499.js +281 -56
  376. package/dist/index.es50.js +2 -2
  377. package/dist/index.es500.js +35 -11
  378. package/dist/index.es501.js +18 -20
  379. package/dist/index.es502.js +30 -58
  380. package/dist/index.es503.js +29 -33
  381. package/dist/index.es504.js +7 -171
  382. package/dist/index.es505.js +2 -122
  383. package/dist/index.es506.js +52 -7
  384. package/dist/index.es507.js +63 -18
  385. package/dist/index.es508.js +7 -33
  386. package/dist/index.es509.js +31 -18
  387. package/dist/index.es51.js +3 -3
  388. package/dist/index.es510.js +18 -42
  389. package/dist/index.es511.js +40 -25
  390. package/dist/index.es512.js +29 -8
  391. package/dist/index.es513.js +8 -231
  392. package/dist/index.es514.js +56 -21
  393. package/dist/index.es515.js +11 -28
  394. package/dist/index.es516.js +21 -118
  395. package/dist/index.es517.js +59 -37
  396. package/dist/index.es518.js +34 -72
  397. package/dist/index.es519.js +171 -7
  398. package/dist/index.es52.js +1 -1
  399. package/dist/index.es520.js +122 -2
  400. package/dist/index.es521.js +18 -51
  401. package/dist/index.es522.js +225 -58
  402. package/dist/index.es523.js +21 -20
  403. package/dist/index.es524.js +23 -161
  404. package/dist/index.es525.js +108 -39
  405. package/dist/index.es526.js +37 -64
  406. package/dist/index.es527.js +71 -68
  407. package/dist/index.es528.js +21 -9
  408. package/dist/index.es529.js +166 -12
  409. package/dist/index.es53.js +1 -1
  410. package/dist/index.es530.js +50 -62
  411. package/dist/index.es531.js +5 -14
  412. package/dist/index.es532.js +14 -27
  413. package/dist/index.es533.js +27 -11
  414. package/dist/index.es534.js +11 -5
  415. package/dist/index.es54.js +1 -1
  416. package/dist/index.es544.js +2 -2
  417. package/dist/index.es545.js +11 -77
  418. package/dist/index.es546.js +2 -96
  419. package/dist/index.es547.js +31 -2
  420. package/dist/index.es548.js +2 -13
  421. package/dist/index.es549.js +79 -2
  422. package/dist/index.es550.js +94 -29
  423. package/dist/index.es56.js +2 -2
  424. package/dist/index.es57.js +4 -4
  425. package/dist/index.es58.js +1 -1
  426. package/dist/index.es59.js +11 -11
  427. package/dist/index.es60.js +3 -3
  428. package/dist/index.es61.js +5 -5
  429. package/dist/index.es62.js +2 -2
  430. package/dist/index.es66.js +4 -4
  431. package/dist/index.es67.js +2 -2
  432. package/dist/index.es693.js +3 -21
  433. package/dist/index.es694.js +22 -82
  434. package/dist/index.es695.js +21 -4
  435. package/dist/index.es696.js +81 -2
  436. package/dist/index.es697.js +4 -4
  437. package/dist/index.es698.js +3 -8
  438. package/dist/index.es699.js +4 -41
  439. package/dist/index.es70.js +1 -1
  440. package/dist/index.es700.js +9 -72
  441. package/dist/index.es701.js +2 -6
  442. package/dist/index.es702.js +2 -6
  443. package/dist/index.es703.js +42 -6
  444. package/dist/index.es704.js +71 -5
  445. package/dist/index.es705.js +5 -5
  446. package/dist/index.es706.js +2 -2
  447. package/dist/index.es707.js +2 -2
  448. package/dist/index.es708.js +5 -5
  449. package/dist/index.es709.js +5 -5
  450. package/dist/index.es710.js +5 -5
  451. package/dist/index.es711.js +5 -5
  452. package/dist/index.es712.js +5 -5
  453. package/dist/index.es713.js +2 -2
  454. package/dist/index.es714.js +2 -2
  455. package/dist/index.es715.js +5 -5
  456. package/dist/index.es716.js +5 -5
  457. package/dist/index.es717.js +5 -5
  458. package/dist/index.es718.js +2 -2
  459. package/dist/index.es719.js +2 -2
  460. package/dist/index.es72.js +1 -1
  461. package/dist/index.es720.js +5 -5
  462. package/dist/index.es721.js +5 -5
  463. package/dist/index.es722.js +5 -5
  464. package/dist/index.es723.js +5 -5
  465. package/dist/index.es724.js +2 -2
  466. package/dist/index.es725.js +5 -5
  467. package/dist/index.es726.js +5 -5
  468. package/dist/index.es727.js +5 -5
  469. package/dist/index.es728.js +2 -2
  470. package/dist/index.es729.js +5 -5
  471. package/dist/index.es730.js +5 -5
  472. package/dist/index.es731.js +2 -2
  473. package/dist/index.es732.js +5 -5
  474. package/dist/index.es733.js +2 -2
  475. package/dist/index.es734.js +2 -2
  476. package/dist/index.es735.js +6 -2
  477. package/dist/index.es736.js +6 -2
  478. package/dist/index.es737.js +6 -4
  479. package/dist/index.es738.js +6 -23
  480. package/dist/index.es74.js +10 -10
  481. package/dist/index.es741.js +2 -2
  482. package/dist/index.es742.js +2 -2
  483. package/dist/index.es76.js +1 -1
  484. package/dist/index.es77.js +1 -1
  485. package/dist/index.es78.js +1 -1
  486. package/dist/index.es80.js +1 -1
  487. package/dist/index.es81.js +1 -1
  488. package/dist/index.es82.js +2 -2
  489. package/dist/index.es83.js +1 -1
  490. package/dist/index.es85.js +4 -4
  491. package/dist/index.es86.js +1 -1
  492. package/dist/index.es88.js +8 -8
  493. package/dist/index.es882.js +22 -13
  494. package/dist/index.es883.js +12 -13
  495. package/dist/index.es884.js +27 -13
  496. package/dist/index.es885.js +4 -13
  497. package/dist/index.es886.js +12 -12
  498. package/dist/index.es887.js +12 -12
  499. package/dist/index.es888.js +12 -12
  500. package/dist/index.es889.js +9 -9
  501. package/dist/index.es89.js +5 -5
  502. package/dist/index.es890.js +8 -8
  503. package/dist/index.es891.js +12 -12
  504. package/dist/index.es892.js +9 -9
  505. package/dist/index.es893.js +12 -12
  506. package/dist/index.es894.js +9 -9
  507. package/dist/index.es895.js +12 -12
  508. package/dist/index.es896.js +12 -12
  509. package/dist/index.es897.js +13 -13
  510. package/dist/index.es898.js +12 -12
  511. package/dist/index.es899.js +12 -12
  512. package/dist/index.es900.js +12 -12
  513. package/dist/index.es901.js +13 -13
  514. package/dist/index.es902.js +12 -12
  515. package/dist/index.es903.js +12 -12
  516. package/dist/index.es904.js +12 -12
  517. package/dist/index.es905.js +12 -12
  518. package/dist/index.es906.js +8 -8
  519. package/dist/index.es907.js +12 -12
  520. package/dist/index.es908.js +12 -12
  521. package/dist/index.es909.js +12 -12
  522. package/dist/index.es910.js +12 -12
  523. package/dist/index.es911.js +12 -12
  524. package/dist/index.es912.js +12 -12
  525. package/dist/index.es913.js +12 -12
  526. package/dist/index.es914.js +13 -13
  527. package/dist/index.es915.js +13 -13
  528. package/dist/index.es916.js +13 -22
  529. package/dist/index.es917.js +13 -12
  530. package/dist/index.es918.js +13 -27
  531. package/dist/index.es919.js +13 -4
  532. package/package.json +1 -1
@@ -1,35 +1,38 @@
1
- import * as p from "react";
2
- import * as f from "react-dom";
3
- import { createSlot as c } from "./index.es115.js";
4
- import { j as u } from "./index.es104.js";
5
- var l = [
6
- "a",
7
- "button",
8
- "div",
9
- "form",
10
- "h2",
11
- "h3",
12
- "img",
13
- "input",
14
- "label",
15
- "li",
16
- "nav",
17
- "ol",
18
- "p",
19
- "span",
20
- "svg",
21
- "ul"
22
- ], h = l.reduce((t, i) => {
23
- const o = c(`Primitive.${i}`), r = p.forwardRef((e, s) => {
24
- const { asChild: m, ...a } = e, n = m ? o : i;
25
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(n, { ...a, ref: s });
26
- });
27
- return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
28
- }, {});
29
- function w(t, i) {
30
- t && f.flushSync(() => t.dispatchEvent(i));
1
+ const i = /input|select|textarea|button|object/, a = "a, input, select, textarea, button, object, [tabindex]";
2
+ function o(t) {
3
+ return process.env.NODE_ENV === "test" ? !1 : t.style.display === "none";
4
+ }
5
+ function s(t) {
6
+ if (t.getAttribute("aria-hidden") || t.getAttribute("hidden") || t.getAttribute("type") === "hidden")
7
+ return !1;
8
+ let e = t;
9
+ for (; e && !(e === document.body || e.nodeType === 11); ) {
10
+ if (o(e))
11
+ return !1;
12
+ e = e.parentNode;
13
+ }
14
+ return !0;
15
+ }
16
+ function r(t) {
17
+ let n = t.getAttribute("tabindex");
18
+ return n === null && (n = void 0), parseInt(n, 10);
19
+ }
20
+ function d(t) {
21
+ const n = t.nodeName.toLowerCase(), e = !Number.isNaN(r(t));
22
+ return /* @ts-expect-error function accepts any html element but if it is a button, it should not be disabled to trigger the condition */ (i.test(n) && !t.disabled || t instanceof HTMLAnchorElement && t.href || e) && s(t);
23
+ }
24
+ function u(t) {
25
+ const n = r(t);
26
+ return (Number.isNaN(n) || n >= 0) && d(t);
27
+ }
28
+ function c(t) {
29
+ return Array.from(
30
+ t.querySelectorAll(a)
31
+ ).filter(u);
31
32
  }
32
33
  export {
33
- h as Primitive,
34
- w as dispatchDiscreteCustomEvent
34
+ a as FOCUS_SELECTOR,
35
+ c as findTabbableDescendants,
36
+ d as focusable,
37
+ u as tabbable
35
38
  };
@@ -1,13 +1,9 @@
1
- import * as o from "react";
2
- import { useLayoutEffect as a } from "./index.es195.js";
3
- var s = o[" useId ".trim().toString()] || (() => {
4
- }), f = 0;
5
- function i(t) {
6
- const [e, r] = o.useState(s());
7
- return a(() => {
8
- r((u) => u ?? String(f++));
9
- }, [t]), t || (e ? `radix-${e}` : "");
1
+ function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
2
+ return function(s) {
3
+ if (f == null || f(s), p === !1 || !s.defaultPrevented)
4
+ return c == null ? void 0 : c(s);
5
+ };
10
6
  }
11
7
  export {
12
- i as useId
8
+ h as composeEventHandlers
13
9
  };
@@ -1,21 +1,70 @@
1
- import { findTabbableDescendants as b } from "./index.es177.js";
2
- function g(a, e) {
3
- const t = b(a);
4
- if (!t.length) {
5
- e.preventDefault();
6
- return;
1
+ import * as u from "react";
2
+ import { j as h } from "./index.es104.js";
3
+ function j(e, c) {
4
+ const o = u.createContext(c), a = (r) => {
5
+ const { children: t, ...n } = r, s = u.useMemo(() => n, Object.values(n));
6
+ return /* @__PURE__ */ h.jsx(o.Provider, { value: s, children: t });
7
+ };
8
+ a.displayName = e + "Provider";
9
+ function i(r) {
10
+ const t = u.useContext(o);
11
+ if (t) return t;
12
+ if (c !== void 0) return c;
13
+ throw new Error(`\`${r}\` must be used within \`${e}\``);
7
14
  }
8
- const o = t[e.shiftKey ? 0 : t.length - 1], i = a.getRootNode();
9
- let c = o === i.activeElement || a === i.activeElement;
10
- const n = i.activeElement;
11
- if (n.tagName === "INPUT" && n.getAttribute("type") === "radio" && (c = t.filter(
12
- (r) => r.getAttribute("type") === "radio" && r.getAttribute("name") === n.getAttribute("name")
13
- ).includes(o)), !c)
14
- return;
15
- e.preventDefault();
16
- const l = t[e.shiftKey ? t.length - 1 : 0];
17
- l && l.focus();
15
+ return [a, i];
16
+ }
17
+ function w(e, c = []) {
18
+ let o = [];
19
+ function a(r, t) {
20
+ const n = u.createContext(t), s = o.length;
21
+ o = [...o, t];
22
+ const d = (m) => {
23
+ var S;
24
+ const { scope: x, children: C, ...p } = m, v = ((S = x == null ? void 0 : x[e]) == null ? void 0 : S[s]) || n, P = u.useMemo(() => p, Object.values(p));
25
+ return /* @__PURE__ */ h.jsx(v.Provider, { value: P, children: C });
26
+ };
27
+ d.displayName = r + "Provider";
28
+ function f(m, x) {
29
+ var v;
30
+ const C = ((v = x == null ? void 0 : x[e]) == null ? void 0 : v[s]) || n, p = u.useContext(C);
31
+ if (p) return p;
32
+ if (t !== void 0) return t;
33
+ throw new Error(`\`${m}\` must be used within \`${r}\``);
34
+ }
35
+ return [d, f];
36
+ }
37
+ const i = () => {
38
+ const r = o.map((t) => u.createContext(t));
39
+ return function(n) {
40
+ const s = (n == null ? void 0 : n[e]) || r;
41
+ return u.useMemo(
42
+ () => ({ [`__scope${e}`]: { ...n, [e]: s } }),
43
+ [n, s]
44
+ );
45
+ };
46
+ };
47
+ return i.scopeName = e, [a, l(i, ...c)];
48
+ }
49
+ function l(...e) {
50
+ const c = e[0];
51
+ if (e.length === 1) return c;
52
+ const o = () => {
53
+ const a = e.map((i) => ({
54
+ useScope: i(),
55
+ scopeName: i.scopeName
56
+ }));
57
+ return function(r) {
58
+ const t = a.reduce((n, { useScope: s, scopeName: d }) => {
59
+ const m = s(r)[`__scope${d}`];
60
+ return { ...n, ...m };
61
+ }, {});
62
+ return u.useMemo(() => ({ [`__scope${c.scopeName}`]: t }), [t]);
63
+ };
64
+ };
65
+ return o.scopeName = c.scopeName, o;
18
66
  }
19
67
  export {
20
- g as scopeTab
68
+ j as createContext,
69
+ w as createContextScope
21
70
  };
@@ -1,38 +1,13 @@
1
- const i = /input|select|textarea|button|object/, a = "a, input, select, textarea, button, object, [tabindex]";
2
- function o(t) {
3
- return process.env.NODE_ENV === "test" ? !1 : t.style.display === "none";
4
- }
5
- function s(t) {
6
- if (t.getAttribute("aria-hidden") || t.getAttribute("hidden") || t.getAttribute("type") === "hidden")
7
- return !1;
8
- let e = t;
9
- for (; e && !(e === document.body || e.nodeType === 11); ) {
10
- if (o(e))
11
- return !1;
12
- e = e.parentNode;
13
- }
14
- return !0;
15
- }
16
- function r(t) {
17
- let n = t.getAttribute("tabindex");
18
- return n === null && (n = void 0), parseInt(n, 10);
19
- }
20
- function d(t) {
21
- const n = t.nodeName.toLowerCase(), e = !Number.isNaN(r(t));
22
- return /* @ts-expect-error function accepts any html element but if it is a button, it should not be disabled to trigger the condition */ (i.test(n) && !t.disabled || t instanceof HTMLAnchorElement && t.href || e) && s(t);
23
- }
24
- function u(t) {
25
- const n = r(t);
26
- return (Number.isNaN(n) || n >= 0) && d(t);
27
- }
28
- function c(t) {
29
- return Array.from(
30
- t.querySelectorAll(a)
31
- ).filter(u);
1
+ import * as o from "react";
2
+ import { useLayoutEffect as a } from "./index.es194.js";
3
+ var s = o[" useId ".trim().toString()] || (() => {
4
+ }), f = 0;
5
+ function i(t) {
6
+ const [e, r] = o.useState(s());
7
+ return a(() => {
8
+ r((u) => u ?? String(f++));
9
+ }, [t]), t || (e ? `radix-${e}` : "");
32
10
  }
33
11
  export {
34
- a as FOCUS_SELECTOR,
35
- c as findTabbableDescendants,
36
- d as focusable,
37
- u as tabbable
12
+ i as useId
38
13
  };
@@ -1,23 +1,127 @@
1
- import { l as o } from "./index.es120.js";
2
- import { isSameDay as t } from "./index.es223.js";
3
- function m(i, l) {
4
- return {
5
- selectMultipleDate: (r) => {
6
- if (!i) return l([r]);
7
- const n = o.findIndex(
8
- i,
9
- (s) => t(s, r)
10
- );
11
- if (n === -1) return l([...i, r]);
12
- const u = [
13
- ...i.slice(0, n),
14
- ...i.slice(n + 1)
15
- ];
16
- l(u);
17
- },
18
- isMultipleSelected: (r) => o.isArray(i) && i.some((n) => t(n, r))
1
+ import * as n from "react";
2
+ import { composeEventHandlers as m } from "./index.es174.js";
3
+ import { Primitive as R, dispatchDiscreteCustomEvent as k } from "./index.es181.js";
4
+ import { useComposedRefs as g } from "./index.es175.js";
5
+ import { useCallbackRef as w } from "./index.es103.js";
6
+ import { useEscapeKeydown as U } from "./index.es211.js";
7
+ import { j as x } from "./index.es104.js";
8
+ var j = "DismissableLayer", p = "dismissableLayer.update", z = "dismissableLayer.pointerDownOutside", H = "dismissableLayer.focusOutside", L, T = n.createContext({
9
+ layers: /* @__PURE__ */ new Set(),
10
+ layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
11
+ branches: /* @__PURE__ */ new Set()
12
+ }), M = n.forwardRef(
13
+ (r, e) => {
14
+ const {
15
+ disableOutsidePointerEvents: i = !1,
16
+ onEscapeKeyDown: o,
17
+ onPointerDownOutside: t,
18
+ onFocusOutside: a,
19
+ onInteractOutside: l,
20
+ onDismiss: d,
21
+ ...v
22
+ } = r, c = n.useContext(T), [u, S] = n.useState(null), f = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, F] = n.useState({}), W = g(e, (s) => S(s)), y = Array.from(c.layers), [A] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), N = y.indexOf(A), b = u ? y.indexOf(u) : -1, I = c.layersWithOutsidePointerEventsDisabled.size > 0, P = b >= N, _ = q((s) => {
23
+ const E = s.target, C = [...c.branches].some((h) => h.contains(E));
24
+ !P || C || (t == null || t(s), l == null || l(s), s.defaultPrevented || d == null || d());
25
+ }, f), D = G((s) => {
26
+ const E = s.target;
27
+ [...c.branches].some((h) => h.contains(E)) || (a == null || a(s), l == null || l(s), s.defaultPrevented || d == null || d());
28
+ }, f);
29
+ return U((s) => {
30
+ b === c.layers.size - 1 && (o == null || o(s), !s.defaultPrevented && d && (s.preventDefault(), d()));
31
+ }, f), n.useEffect(() => {
32
+ if (u)
33
+ return i && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (L = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), c.layersWithOutsidePointerEventsDisabled.add(u)), c.layers.add(u), O(), () => {
34
+ i && c.layersWithOutsidePointerEventsDisabled.size === 1 && (f.body.style.pointerEvents = L);
35
+ };
36
+ }, [u, f, i, c]), n.useEffect(() => () => {
37
+ u && (c.layers.delete(u), c.layersWithOutsidePointerEventsDisabled.delete(u), O());
38
+ }, [u, c]), n.useEffect(() => {
39
+ const s = () => F({});
40
+ return document.addEventListener(p, s), () => document.removeEventListener(p, s);
41
+ }, []), /* @__PURE__ */ x.jsx(
42
+ R.div,
43
+ {
44
+ ...v,
45
+ ref: W,
46
+ style: {
47
+ pointerEvents: I ? P ? "auto" : "none" : void 0,
48
+ ...r.style
49
+ },
50
+ onFocusCapture: m(r.onFocusCapture, D.onFocusCapture),
51
+ onBlurCapture: m(r.onBlurCapture, D.onBlurCapture),
52
+ onPointerDownCapture: m(
53
+ r.onPointerDownCapture,
54
+ _.onPointerDownCapture
55
+ )
56
+ }
57
+ );
58
+ }
59
+ );
60
+ M.displayName = j;
61
+ var X = "DismissableLayerBranch", Y = n.forwardRef((r, e) => {
62
+ const i = n.useContext(T), o = n.useRef(null), t = g(e, o);
63
+ return n.useEffect(() => {
64
+ const a = o.current;
65
+ if (a)
66
+ return i.branches.add(a), () => {
67
+ i.branches.delete(a);
68
+ };
69
+ }, [i.branches]), /* @__PURE__ */ x.jsx(R.div, { ...r, ref: t });
70
+ });
71
+ Y.displayName = X;
72
+ function q(r, e = globalThis == null ? void 0 : globalThis.document) {
73
+ const i = w(r), o = n.useRef(!1), t = n.useRef(() => {
74
+ });
75
+ return n.useEffect(() => {
76
+ const a = (d) => {
77
+ if (d.target && !o.current) {
78
+ let v = function() {
79
+ B(
80
+ z,
81
+ i,
82
+ c,
83
+ { discrete: !0 }
84
+ );
85
+ };
86
+ const c = { originalEvent: d };
87
+ d.pointerType === "touch" ? (e.removeEventListener("click", t.current), t.current = v, e.addEventListener("click", t.current, { once: !0 })) : v();
88
+ } else
89
+ e.removeEventListener("click", t.current);
90
+ o.current = !1;
91
+ }, l = window.setTimeout(() => {
92
+ e.addEventListener("pointerdown", a);
93
+ }, 0);
94
+ return () => {
95
+ window.clearTimeout(l), e.removeEventListener("pointerdown", a), e.removeEventListener("click", t.current);
96
+ };
97
+ }, [e, i]), {
98
+ // ensures we check React component tree (not just DOM tree)
99
+ onPointerDownCapture: () => o.current = !0
19
100
  };
20
101
  }
102
+ function G(r, e = globalThis == null ? void 0 : globalThis.document) {
103
+ const i = w(r), o = n.useRef(!1);
104
+ return n.useEffect(() => {
105
+ const t = (a) => {
106
+ a.target && !o.current && B(H, i, { originalEvent: a }, {
107
+ discrete: !1
108
+ });
109
+ };
110
+ return e.addEventListener("focusin", t), () => e.removeEventListener("focusin", t);
111
+ }, [e, i]), {
112
+ onFocusCapture: () => o.current = !0,
113
+ onBlurCapture: () => o.current = !1
114
+ };
115
+ }
116
+ function O() {
117
+ const r = new CustomEvent(p);
118
+ document.dispatchEvent(r);
119
+ }
120
+ function B(r, e, i, { discrete: o }) {
121
+ const t = i.originalEvent.target, a = new CustomEvent(r, { bubbles: !1, cancelable: !0, detail: i });
122
+ e && t.addEventListener(r, e, { once: !0 }), o ? k(t, a) : t.dispatchEvent(a);
123
+ }
21
124
  export {
22
- m as default
125
+ M as DismissableLayer,
126
+ Y as DismissableLayerBranch
23
127
  };
@@ -1,39 +1,137 @@
1
- import { isDateRange as f } from "./index.es121.js";
2
- import { isWithinInterval as R } from "./index.es219.js";
3
- import { startOfDay as o } from "./index.es220.js";
4
- import { isBefore as l } from "./index.es221.js";
5
- import { eachDayOfInterval as y } from "./index.es222.js";
6
- import { isSameDay as e } from "./index.es223.js";
7
- function w(r, i, u) {
8
- const D = (n) => {
9
- if (r == null ? void 0 : r.start) {
10
- const { start: t, end: s } = r;
11
- if (l(n, t) || t && s) {
12
- i({ start: n, end: void 0 });
13
- return;
1
+ import * as d from "react";
2
+ import { useComposedRefs as P } from "./index.es175.js";
3
+ import { Primitive as M } from "./index.es181.js";
4
+ import { useCallbackRef as y } from "./index.es103.js";
5
+ import { j as _ } from "./index.es104.js";
6
+ var F = "focusScope.autoFocusOnMount", T = "focusScope.autoFocusOnUnmount", N = { bubbles: !1, cancelable: !0 }, K = "FocusScope", k = d.forwardRef((e, n) => {
7
+ const {
8
+ loop: t = !1,
9
+ trapped: u = !1,
10
+ onMountAutoFocus: p,
11
+ onUnmountAutoFocus: L,
12
+ ...g
13
+ } = e, [o, R] = d.useState(null), E = y(p), v = y(L), b = d.useRef(null), U = P(n, (s) => R(s)), a = d.useRef({
14
+ paused: !1,
15
+ pause() {
16
+ this.paused = !0;
17
+ },
18
+ resume() {
19
+ this.paused = !1;
20
+ }
21
+ }).current;
22
+ d.useEffect(() => {
23
+ if (u) {
24
+ let s = function(i) {
25
+ if (a.paused || !o) return;
26
+ const c = i.target;
27
+ o.contains(c) ? b.current = c : f(b.current, { select: !0 });
28
+ }, l = function(i) {
29
+ if (a.paused || !o) return;
30
+ const c = i.relatedTarget;
31
+ c !== null && (o.contains(c) || f(b.current, { select: !0 }));
32
+ }, r = function(i) {
33
+ if (document.activeElement === document.body)
34
+ for (const h of i)
35
+ h.removedNodes.length > 0 && f(o);
36
+ };
37
+ document.addEventListener("focusin", s), document.addEventListener("focusout", l);
38
+ const m = new MutationObserver(r);
39
+ return o && m.observe(o, { childList: !0, subtree: !0 }), () => {
40
+ document.removeEventListener("focusin", s), document.removeEventListener("focusout", l), m.disconnect();
41
+ };
42
+ }
43
+ }, [u, o, a.paused]), d.useEffect(() => {
44
+ if (o) {
45
+ S.add(a);
46
+ const s = document.activeElement;
47
+ if (!o.contains(s)) {
48
+ const r = new CustomEvent(F, N);
49
+ o.addEventListener(F, E), o.dispatchEvent(r), r.defaultPrevented || (w(V(I(o)), { select: !0 }), document.activeElement === s && f(o));
50
+ }
51
+ return () => {
52
+ o.removeEventListener(F, E), setTimeout(() => {
53
+ const r = new CustomEvent(T, N);
54
+ o.addEventListener(T, v), o.dispatchEvent(r), r.defaultPrevented || f(s ?? document.body, { select: !0 }), o.removeEventListener(T, v), S.remove(a);
55
+ }, 0);
56
+ };
57
+ }
58
+ }, [o, E, v, a]);
59
+ const A = d.useCallback(
60
+ (s) => {
61
+ if (!t && !u || a.paused) return;
62
+ const l = s.key === "Tab" && !s.altKey && !s.ctrlKey && !s.metaKey, r = document.activeElement;
63
+ if (l && r) {
64
+ const m = s.currentTarget, [i, c] = x(m);
65
+ i && c ? !s.shiftKey && r === c ? (s.preventDefault(), t && f(i, { select: !0 })) : s.shiftKey && r === i && (s.preventDefault(), t && f(c, { select: !0 })) : r === m && s.preventDefault();
14
66
  }
15
- if (g(t, n)) return;
16
- i({
17
- start: t,
18
- end: n
19
- });
20
- } else
21
- i({ start: n, end: void 0 });
22
- }, g = (n, a) => !u || !n || !a ? !1 : y({ start: o(n), end: a }).some((m) => u(m));
67
+ },
68
+ [t, u, a.paused]
69
+ );
70
+ return /* @__PURE__ */ _.jsx(M.div, { tabIndex: -1, ...g, ref: U, onKeyDown: A });
71
+ });
72
+ k.displayName = K;
73
+ function w(e, { select: n = !1 } = {}) {
74
+ const t = document.activeElement;
75
+ for (const u of e)
76
+ if (f(u, { select: n }), document.activeElement !== t) return;
77
+ }
78
+ function x(e) {
79
+ const n = I(e), t = O(n, e), u = O(n.reverse(), e);
80
+ return [t, u];
81
+ }
82
+ function I(e) {
83
+ const n = [], t = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
84
+ acceptNode: (u) => {
85
+ const p = u.tagName === "INPUT" && u.type === "hidden";
86
+ return u.disabled || u.hidden || p ? NodeFilter.FILTER_SKIP : u.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
87
+ }
88
+ });
89
+ for (; t.nextNode(); ) n.push(t.currentNode);
90
+ return n;
91
+ }
92
+ function O(e, n) {
93
+ for (const t of e)
94
+ if (!D(t, { upTo: n })) return t;
95
+ }
96
+ function D(e, { upTo: n }) {
97
+ if (getComputedStyle(e).visibility === "hidden") return !0;
98
+ for (; e; ) {
99
+ if (n !== void 0 && e === n) return !1;
100
+ if (getComputedStyle(e).display === "none") return !0;
101
+ e = e.parentElement;
102
+ }
103
+ return !1;
104
+ }
105
+ function H(e) {
106
+ return e instanceof HTMLInputElement && "select" in e;
107
+ }
108
+ function f(e, { select: n = !1 } = {}) {
109
+ if (e && e.focus) {
110
+ const t = document.activeElement;
111
+ e.focus({ preventScroll: !0 }), e !== t && H(e) && n && e.select();
112
+ }
113
+ }
114
+ var S = j();
115
+ function j() {
116
+ let e = [];
23
117
  return {
24
- selectRangeDate: D,
25
- isInRange: (n) => {
26
- if (!f(r) || !r) return !1;
27
- const { start: a, end: t } = r;
28
- return a && !t ? e(n, a) : !a || !t ? !1 : R(n, {
29
- start: o(a),
30
- end: o(t)
31
- });
118
+ add(n) {
119
+ const t = e[0];
120
+ n !== t && (t == null || t.pause()), e = C(e, n), e.unshift(n);
32
121
  },
33
- isFirstDayFromRange: (n) => !r || !f(r) || !r.start ? !1 : e(n, r.start),
34
- isLastDayFromRange: (n) => !r || !f(r) || !r.end ? !1 : e(n, r.end)
122
+ remove(n) {
123
+ var t;
124
+ e = C(e, n), (t = e[0]) == null || t.resume();
125
+ }
35
126
  };
36
127
  }
128
+ function C(e, n) {
129
+ const t = [...e], u = t.indexOf(n);
130
+ return u !== -1 && t.splice(u, 1), t;
131
+ }
132
+ function V(e) {
133
+ return e.filter((n) => n.tagName !== "A");
134
+ }
37
135
  export {
38
- w as default
136
+ k as FocusScope
39
137
  };
@@ -1,4 +1,4 @@
1
- import { l as o } from "./index.es120.js";
1
+ import { l as o } from "./index.es109.js";
2
2
  import { useState as i, useCallback as r } from "react";
3
3
  function O(e) {
4
4
  const [u, n] = i(e), f = r(() => n(e), [e]), b = r(
@@ -1,13 +1,16 @@
1
- import { isDate as n } from "./index.es123.js";
2
- import { isSameDay as l } from "./index.es223.js";
3
- function S(t, i) {
4
- return {
5
- selectSingleDate: (e) => {
6
- i(e);
7
- },
8
- isSingleSelected: (e) => n(t) && l(e, t)
9
- };
10
- }
1
+ import * as r from "react";
2
+ import f from "react-dom";
3
+ import { Primitive as u } from "./index.es181.js";
4
+ import { useLayoutEffect as c } from "./index.es194.js";
5
+ import { j as l } from "./index.es104.js";
6
+ var p = "Portal", d = r.forwardRef((e, a) => {
7
+ var o;
8
+ const { container: s, ...i } = e, [m, n] = r.useState(!1);
9
+ c(() => n(!0), []);
10
+ const t = s || m && ((o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body);
11
+ return t ? f.createPortal(/* @__PURE__ */ l.jsx(u.div, { ...i, ref: a }), t) : null;
12
+ });
13
+ d.displayName = p;
11
14
  export {
12
- S as default
15
+ d as Portal
13
16
  };
@@ -1,9 +1,35 @@
1
- function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
2
- return function(s) {
3
- if (f == null || f(s), p === !1 || !s.defaultPrevented)
4
- return c == null ? void 0 : c(s);
5
- };
1
+ import * as p from "react";
2
+ import * as f from "react-dom";
3
+ import { createSlot as c } from "./index.es108.js";
4
+ import { j as u } from "./index.es104.js";
5
+ var l = [
6
+ "a",
7
+ "button",
8
+ "div",
9
+ "form",
10
+ "h2",
11
+ "h3",
12
+ "img",
13
+ "input",
14
+ "label",
15
+ "li",
16
+ "nav",
17
+ "ol",
18
+ "p",
19
+ "span",
20
+ "svg",
21
+ "ul"
22
+ ], h = l.reduce((t, i) => {
23
+ const o = c(`Primitive.${i}`), r = p.forwardRef((e, s) => {
24
+ const { asChild: m, ...a } = e, n = m ? o : i;
25
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(n, { ...a, ref: s });
26
+ });
27
+ return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
28
+ }, {});
29
+ function w(t, i) {
30
+ t && f.flushSync(() => t.dispatchEvent(i));
6
31
  }
7
32
  export {
8
- h as composeEventHandlers
33
+ h as Primitive,
34
+ w as dispatchDiscreteCustomEvent
9
35
  };