@boxcustodia/library 1.7.4 → 1.7.6

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 (449) hide show
  1. package/dist/index.es100.js +1 -1
  2. package/dist/index.es105.js +3 -310
  3. package/dist/index.es106.js +4 -13
  4. package/dist/index.es107.js +15 -55
  5. package/dist/index.es108.js +4 -54
  6. package/dist/index.es109.js +56 -113
  7. package/dist/index.es110.js +27 -44
  8. package/dist/index.es111.js +21 -24
  9. package/dist/index.es112.js +10 -31
  10. package/dist/index.es113.js +55 -10
  11. package/dist/index.es114.js +53 -39
  12. package/dist/index.es115.js +113 -57
  13. package/dist/index.es116.js +44 -18
  14. package/dist/index.es117.js +22 -38
  15. package/dist/index.es118.js +29 -257
  16. package/dist/index.es119.js +14 -7
  17. package/dist/index.es120.js +310 -3
  18. package/dist/index.es121.js +13 -4
  19. package/dist/index.es122.js +58 -15
  20. package/dist/index.es123.js +39 -5
  21. package/dist/index.es124.js +13 -57
  22. package/dist/index.es125.js +14 -22
  23. package/dist/index.es126.js +39 -18
  24. package/dist/index.es127.js +17 -38
  25. package/dist/index.es128.js +41 -14
  26. package/dist/index.es129.js +1 -1
  27. package/dist/index.es130.js +23 -24
  28. package/dist/index.es134.js +259 -4
  29. package/dist/index.es135.js +19 -23
  30. package/dist/index.es136.js +7 -4
  31. package/dist/index.es137.js +3 -3
  32. package/dist/index.es138.js +10 -22
  33. package/dist/index.es139.js +6 -3
  34. package/dist/index.es140.js +846 -17
  35. package/dist/index.es141.js +4 -21
  36. package/dist/index.es142.js +4 -4
  37. package/dist/index.es143.js +69 -10
  38. package/dist/index.es144.js +4 -224
  39. package/dist/index.es145.js +224 -10
  40. package/dist/index.es146.js +10 -41
  41. package/dist/index.es147.js +41 -4
  42. package/dist/index.es148.js +237 -15
  43. package/dist/index.es149.js +4 -44
  44. package/dist/index.es150.js +19 -22
  45. package/dist/index.es151.js +21 -7
  46. package/dist/index.es152.js +18 -13
  47. package/dist/index.es153.js +40 -65
  48. package/dist/index.es154.js +32 -847
  49. package/dist/index.es155.js +5 -239
  50. package/dist/index.es156.js +22 -33
  51. package/dist/index.es157.js +10 -6
  52. package/dist/index.es158.js +215 -16
  53. package/dist/index.es159.js +78 -14
  54. package/dist/index.es16.js +1 -1
  55. package/dist/index.es160.js +92 -13
  56. package/dist/index.es161.js +352 -14
  57. package/dist/index.es162.js +120 -212
  58. package/dist/index.es163.js +16 -77
  59. package/dist/index.es164.js +14 -92
  60. package/dist/index.es165.js +13 -352
  61. package/dist/index.es166.js +14 -124
  62. package/dist/index.es167.js +2 -2
  63. package/dist/index.es170.js +1 -1
  64. package/dist/index.es171.js +1 -1
  65. package/dist/index.es172.js +18 -14
  66. package/dist/index.es173.js +35 -32
  67. package/dist/index.es174.js +3674 -10
  68. package/dist/index.es175.js +5 -26
  69. package/dist/index.es176.js +2 -19
  70. package/dist/index.es177.js +20 -35
  71. package/dist/index.es178.js +33 -17
  72. package/dist/index.es179.js +7 -33
  73. package/dist/index.es18.js +1 -1
  74. package/dist/index.es180.js +25 -9
  75. package/dist/index.es181.js +205 -7
  76. package/dist/index.es182.js +12 -65
  77. package/dist/index.es183.js +31 -123
  78. package/dist/index.es184.js +10 -134
  79. package/dist/index.es185.js +45 -14
  80. package/dist/index.es186.js +6 -14
  81. package/dist/index.es187.js +68 -9
  82. package/dist/index.es188.js +122 -47
  83. package/dist/index.es189.js +133 -203
  84. package/dist/index.es190.js +14 -3675
  85. package/dist/index.es191.js +14 -5
  86. package/dist/index.es192.js +9 -2
  87. package/dist/index.es193.js +47 -42
  88. package/dist/index.es194.js +3 -649
  89. package/dist/index.es195.js +217 -3
  90. package/dist/index.es196.js +3 -217
  91. package/dist/index.es197.js +45 -3
  92. package/dist/index.es198.js +7 -45
  93. package/dist/index.es199.js +5 -7
  94. package/dist/index.es2.js +1 -1
  95. package/dist/index.es200.js +28 -6
  96. package/dist/index.es201.js +646 -24
  97. package/dist/index.es202.js +3 -2
  98. package/dist/index.es203.js +2 -4
  99. package/dist/index.es204.js +2052 -23
  100. package/dist/index.es205.js +26 -17
  101. package/dist/index.es206.js +2498 -37
  102. package/dist/index.es207.js +35 -18
  103. package/dist/index.es208.js +118 -3
  104. package/dist/index.es209.js +4 -2
  105. package/dist/index.es210.js +2 -2054
  106. package/dist/index.es211.js +7 -25
  107. package/dist/index.es212.js +5 -2498
  108. package/dist/index.es213.js +6 -35
  109. package/dist/index.es214.js +18 -118
  110. package/dist/index.es215.js +5 -5
  111. package/dist/index.es216.js +7 -84
  112. package/dist/index.es217.js +5 -5
  113. package/dist/index.es218.js +13 -17
  114. package/dist/index.es219.js +15 -9
  115. package/dist/index.es22.js +1 -1
  116. package/dist/index.es220.js +8 -6
  117. package/dist/index.es221.js +6 -5
  118. package/dist/index.es222.js +2 -2
  119. package/dist/index.es223.js +5 -11
  120. package/dist/index.es224.js +15 -19
  121. package/dist/index.es225.js +6 -14
  122. package/dist/index.es226.js +6 -6
  123. package/dist/index.es227.js +6 -6
  124. package/dist/index.es228.js +5 -53
  125. package/dist/index.es229.js +580 -10
  126. package/dist/index.es230.js +50 -7
  127. package/dist/index.es231.js +17 -10
  128. package/dist/index.es232.js +6 -7
  129. package/dist/index.es233.js +18 -16
  130. package/dist/index.es234.js +8 -6
  131. package/dist/index.es235.js +5 -5
  132. package/dist/index.es236.js +6 -7
  133. package/dist/index.es237.js +5 -10
  134. package/dist/index.es238.js +6 -11
  135. package/dist/index.es239.js +9 -7
  136. package/dist/index.es24.js +1 -1
  137. package/dist/index.es240.js +5 -5
  138. package/dist/index.es241.js +8 -5
  139. package/dist/index.es242.js +13 -7
  140. package/dist/index.es243.js +9 -5
  141. package/dist/index.es244.js +8 -13
  142. package/dist/index.es245.js +10 -15
  143. package/dist/index.es246.js +14 -8
  144. package/dist/index.es247.js +5 -5
  145. package/dist/index.es248.js +11 -4
  146. package/dist/index.es249.js +10 -580
  147. package/dist/index.es250.js +11 -50
  148. package/dist/index.es251.js +6 -17
  149. package/dist/index.es252.js +9 -6
  150. package/dist/index.es253.js +83 -18
  151. package/dist/index.es254.js +38 -8
  152. package/dist/index.es255.js +65 -7
  153. package/dist/index.es256.js +9 -7
  154. package/dist/index.es257.js +8 -5
  155. package/dist/index.es258.js +7 -6
  156. package/dist/index.es259.js +10 -9
  157. package/dist/index.es26.js +2 -2
  158. package/dist/index.es260.js +7 -5
  159. package/dist/index.es261.js +7 -8
  160. package/dist/index.es262.js +6 -12
  161. package/dist/index.es263.js +5 -9
  162. package/dist/index.es264.js +15 -10
  163. package/dist/index.es265.js +25 -15
  164. package/dist/index.es266.js +17 -39
  165. package/dist/index.es267.js +38 -65
  166. package/dist/index.es268.js +18 -10
  167. package/dist/index.es269.js +11 -8
  168. package/dist/index.es270.js +204 -7
  169. package/dist/index.es271.js +22 -8
  170. package/dist/index.es272.js +24 -15
  171. package/dist/index.es273.js +385 -170
  172. package/dist/index.es274.js +17 -29
  173. package/dist/index.es275.js +51 -203
  174. package/dist/index.es276.js +17 -22
  175. package/dist/index.es277.js +30 -24
  176. package/dist/index.es278.js +7 -392
  177. package/dist/index.es279.js +2 -8
  178. package/dist/index.es28.js +2 -2
  179. package/dist/index.es280.js +23 -2
  180. package/dist/index.es281.js +11 -11
  181. package/dist/index.es282.js +20 -22
  182. package/dist/index.es283.js +2 -21
  183. package/dist/index.es284.js +9406 -2
  184. package/dist/index.es285.js +14903 -8997
  185. package/dist/index.es286.js +3 -15312
  186. package/dist/index.es287.js +61 -3
  187. package/dist/index.es288.js +8 -59
  188. package/dist/index.es289.js +3 -10
  189. package/dist/index.es290.js +5 -3
  190. package/dist/index.es291.js +178 -5
  191. package/dist/index.es292.js +8 -12
  192. package/dist/index.es293.js +3 -8
  193. package/dist/index.es294.js +45 -3
  194. package/dist/index.es295.js +27 -43
  195. package/dist/index.es296.js +54 -26
  196. package/dist/index.es297.js +18 -55
  197. package/dist/index.es298.js +21 -19
  198. package/dist/index.es299.js +44 -21
  199. package/dist/index.es30.js +1 -1
  200. package/dist/index.es300.js +29 -42
  201. package/dist/index.es301.js +80 -28
  202. package/dist/index.es302.js +5 -82
  203. package/dist/index.es303.js +14 -6
  204. package/dist/index.es304.js +41 -12
  205. package/dist/index.es305.js +32 -42
  206. package/dist/index.es306.js +24 -30
  207. package/dist/index.es307.js +25 -27
  208. package/dist/index.es308.js +6 -24
  209. package/dist/index.es309.js +419 -6
  210. package/dist/index.es310.js +9 -417
  211. package/dist/index.es311.js +33 -11
  212. package/dist/index.es312.js +12 -35
  213. package/dist/index.es313.js +14 -24
  214. package/dist/index.es314.js +3 -29
  215. package/dist/index.es315.js +5 -5
  216. package/dist/index.es316.js +56 -14
  217. package/dist/index.es317.js +31 -3
  218. package/dist/index.es318.js +46 -4
  219. package/dist/index.es319.js +64 -54
  220. package/dist/index.es32.js +1 -1
  221. package/dist/index.es320.js +32 -25
  222. package/dist/index.es321.js +13 -41
  223. package/dist/index.es322.js +53 -47
  224. package/dist/index.es323.js +55 -20
  225. package/dist/index.es324.js +69 -13
  226. package/dist/index.es325.js +49 -47
  227. package/dist/index.es326.js +26 -53
  228. package/dist/index.es327.js +26 -54
  229. package/dist/index.es328.js +37 -53
  230. package/dist/index.es329.js +25 -22
  231. package/dist/index.es33.js +3 -3
  232. package/dist/index.es330.js +38 -38
  233. package/dist/index.es331.js +59 -40
  234. package/dist/index.es332.js +56 -27
  235. package/dist/index.es333.js +90 -34
  236. package/dist/index.es334.js +32 -63
  237. package/dist/index.es335.js +35 -66
  238. package/dist/index.es336.js +38 -94
  239. package/dist/index.es337.js +23 -39
  240. package/dist/index.es338.js +22 -39
  241. package/dist/index.es339.js +22 -39
  242. package/dist/index.es34.js +6 -6
  243. package/dist/index.es340.js +19 -19
  244. package/dist/index.es341.js +18 -18
  245. package/dist/index.es342.js +18 -18
  246. package/dist/index.es343.js +14 -25
  247. package/dist/index.es344.js +38 -22
  248. package/dist/index.es345.js +38 -22
  249. package/dist/index.es346.js +14 -14
  250. package/dist/index.es347.js +14 -40
  251. package/dist/index.es348.js +23 -44
  252. package/dist/index.es349.js +29 -20
  253. package/dist/index.es350.js +5 -20
  254. package/dist/index.es353.js +1 -1
  255. package/dist/index.es354.js +2 -2
  256. package/dist/index.es355.js +1 -1
  257. package/dist/index.es367.js +3 -3
  258. package/dist/index.es38.js +1 -1
  259. package/dist/index.es39.js +23 -23
  260. package/dist/index.es391.js +2 -2
  261. package/dist/index.es394.js +1 -1
  262. package/dist/index.es395.js +68 -5
  263. package/dist/index.es396.js +31 -3
  264. package/dist/index.es397.js +9 -24
  265. package/dist/index.es398.js +152 -109
  266. package/dist/index.es399.js +107 -15
  267. package/dist/index.es40.js +5 -5
  268. package/dist/index.es400.js +19 -67
  269. package/dist/index.es401.js +101 -31
  270. package/dist/index.es402.js +47 -9
  271. package/dist/index.es403.js +5 -153
  272. package/dist/index.es404.js +3 -108
  273. package/dist/index.es405.js +24 -68
  274. package/dist/index.es406.js +110 -31
  275. package/dist/index.es407.js +16 -16
  276. package/dist/index.es408.js +520 -138
  277. package/dist/index.es409.js +126 -113
  278. package/dist/index.es41.js +2 -2
  279. package/dist/index.es410.js +126 -17
  280. package/dist/index.es411.js +67 -100
  281. package/dist/index.es412.js +30 -46
  282. package/dist/index.es413.js +16 -6
  283. package/dist/index.es414.js +141 -15
  284. package/dist/index.es415.js +114 -2
  285. package/dist/index.es416.js +2 -8
  286. package/dist/index.es417.js +218 -314
  287. package/dist/index.es418.js +233 -49
  288. package/dist/index.es419.js +5 -3
  289. package/dist/index.es420.js +15 -2
  290. package/dist/index.es421.js +2 -231
  291. package/dist/index.es422.js +7 -233
  292. package/dist/index.es423.js +305 -501
  293. package/dist/index.es424.js +48 -125
  294. package/dist/index.es425.js +3 -128
  295. package/dist/index.es44.js +3 -3
  296. package/dist/index.es449.js +23 -270
  297. package/dist/index.es45.js +1 -1
  298. package/dist/index.es450.js +5 -79
  299. package/dist/index.es451.js +122 -160
  300. package/dist/index.es452.js +24 -24
  301. package/dist/index.es453.js +4 -5
  302. package/dist/index.es454.js +11 -126
  303. package/dist/index.es455.js +40 -22
  304. package/dist/index.es456.js +57 -4
  305. package/dist/index.es457.js +40 -11
  306. package/dist/index.es458.js +25 -39
  307. package/dist/index.es459.js +30 -56
  308. package/dist/index.es460.js +14 -41
  309. package/dist/index.es461.js +10 -28
  310. package/dist/index.es462.js +10 -31
  311. package/dist/index.es463.js +9 -14
  312. package/dist/index.es464.js +6 -10
  313. package/dist/index.es465.js +5 -10
  314. package/dist/index.es466.js +7 -9
  315. package/dist/index.es467.js +29 -6
  316. package/dist/index.es468.js +18 -5
  317. package/dist/index.es469.js +13 -7
  318. package/dist/index.es47.js +1 -1
  319. package/dist/index.es470.js +42 -28
  320. package/dist/index.es471.js +8 -18
  321. package/dist/index.es472.js +3 -14
  322. package/dist/index.es473.js +4 -43
  323. package/dist/index.es474.js +23 -7
  324. package/dist/index.es475.js +272 -3
  325. package/dist/index.es476.js +79 -4
  326. package/dist/index.es477.js +164 -23
  327. package/dist/index.es478.js +2 -2
  328. package/dist/index.es479.js +4 -4
  329. package/dist/index.es480.js +3 -3
  330. package/dist/index.es481.js +3 -3
  331. package/dist/index.es484.js +11 -11
  332. package/dist/index.es485.js +3 -3
  333. package/dist/index.es49.js +2 -2
  334. package/dist/index.es490.js +5 -5
  335. package/dist/index.es491.js +4 -4
  336. package/dist/index.es492.js +1 -1
  337. package/dist/index.es496.js +1 -1
  338. package/dist/index.es497.js +1 -1
  339. package/dist/index.es498.js +2 -2
  340. package/dist/index.es499.js +7 -56
  341. package/dist/index.es50.js +1 -1
  342. package/dist/index.es500.js +2 -13
  343. package/dist/index.es501.js +52 -21
  344. package/dist/index.es502.js +60 -55
  345. package/dist/index.es503.js +7 -33
  346. package/dist/index.es504.js +29 -167
  347. package/dist/index.es505.js +18 -119
  348. package/dist/index.es506.js +44 -7
  349. package/dist/index.es507.js +29 -19
  350. package/dist/index.es508.js +8 -33
  351. package/dist/index.es509.js +56 -20
  352. package/dist/index.es510.js +11 -43
  353. package/dist/index.es511.js +21 -29
  354. package/dist/index.es512.js +59 -8
  355. package/dist/index.es513.js +30 -228
  356. package/dist/index.es514.js +170 -20
  357. package/dist/index.es515.js +115 -23
  358. package/dist/index.es516.js +18 -117
  359. package/dist/index.es517.js +229 -35
  360. package/dist/index.es518.js +22 -72
  361. package/dist/index.es519.js +29 -7
  362. package/dist/index.es52.js +1 -1
  363. package/dist/index.es520.js +119 -2
  364. package/dist/index.es521.js +33 -48
  365. package/dist/index.es522.js +72 -65
  366. package/dist/index.es526.js +5 -63
  367. package/dist/index.es527.js +16 -69
  368. package/dist/index.es528.js +28 -8
  369. package/dist/index.es529.js +13 -14
  370. package/dist/index.es53.js +1 -1
  371. package/dist/index.es530.js +68 -61
  372. package/dist/index.es531.js +8 -15
  373. package/dist/index.es532.js +14 -29
  374. package/dist/index.es533.js +62 -13
  375. package/dist/index.es534.js +63 -5
  376. package/dist/index.es535.js +2 -2
  377. package/dist/index.es536.js +2 -76
  378. package/dist/index.es537.js +2 -93
  379. package/dist/index.es538.js +73 -49
  380. package/dist/index.es539.js +92 -7
  381. package/dist/index.es54.js +1 -1
  382. package/dist/index.es540.js +51 -4
  383. package/dist/index.es541.js +7 -51
  384. package/dist/index.es542.js +5 -2
  385. package/dist/index.es543.js +52 -2
  386. package/dist/index.es56.js +2 -2
  387. package/dist/index.es57.js +4 -4
  388. package/dist/index.es58.js +1 -1
  389. package/dist/index.es59.js +10 -10
  390. package/dist/index.es60.js +3 -3
  391. package/dist/index.es61.js +5 -5
  392. package/dist/index.es62.js +2 -2
  393. package/dist/index.es63.js +1 -1
  394. package/dist/index.es66.js +3 -3
  395. package/dist/index.es67.js +2 -2
  396. package/dist/index.es699.js +2 -42
  397. package/dist/index.es70.js +1 -1
  398. package/dist/index.es700.js +2 -72
  399. package/dist/index.es701.js +42 -6
  400. package/dist/index.es702.js +71 -5
  401. package/dist/index.es703.js +2 -2
  402. package/dist/index.es704.js +5 -5
  403. package/dist/index.es705.js +5 -5
  404. package/dist/index.es706.js +5 -5
  405. package/dist/index.es707.js +5 -5
  406. package/dist/index.es708.js +5 -5
  407. package/dist/index.es709.js +2 -2
  408. package/dist/index.es710.js +2 -2
  409. package/dist/index.es711.js +5 -5
  410. package/dist/index.es712.js +5 -5
  411. package/dist/index.es713.js +5 -5
  412. package/dist/index.es714.js +5 -5
  413. package/dist/index.es715.js +2 -2
  414. package/dist/index.es716.js +2 -2
  415. package/dist/index.es717.js +5 -5
  416. package/dist/index.es718.js +2 -2
  417. package/dist/index.es719.js +5 -5
  418. package/dist/index.es72.js +1 -1
  419. package/dist/index.es720.js +5 -5
  420. package/dist/index.es721.js +2 -2
  421. package/dist/index.es722.js +2 -2
  422. package/dist/index.es723.js +5 -5
  423. package/dist/index.es724.js +2 -2
  424. package/dist/index.es725.js +2 -2
  425. package/dist/index.es726.js +5 -5
  426. package/dist/index.es727.js +5 -5
  427. package/dist/index.es728.js +5 -5
  428. package/dist/index.es729.js +2 -2
  429. package/dist/index.es730.js +5 -5
  430. package/dist/index.es731.js +2 -2
  431. package/dist/index.es732.js +5 -5
  432. package/dist/index.es733.js +2 -2
  433. package/dist/index.es734.js +5 -5
  434. package/dist/index.es735.js +6 -2
  435. package/dist/index.es736.js +5 -1
  436. package/dist/index.es74.js +2 -2
  437. package/dist/index.es76.js +1 -1
  438. package/dist/index.es77.js +1 -1
  439. package/dist/index.es78.js +1 -1
  440. package/dist/index.es80.js +1 -1
  441. package/dist/index.es81.js +1 -1
  442. package/dist/index.es82.js +2 -2
  443. package/dist/index.es83.js +1 -1
  444. package/dist/index.es85.js +4 -4
  445. package/dist/index.es86.js +2 -2
  446. package/dist/index.es88.js +2 -2
  447. package/dist/index.es89.js +5 -5
  448. package/dist/index.es99.js +1 -1
  449. package/package.json +1 -1
@@ -1,218 +1,126 @@
1
- import * as f from "react";
2
- import { t as B } from "./index.es208.js";
3
- import "react-dom";
4
- import "./index.es209.js";
5
- import { fireEvent as a, configure as E } from "./index.es210.js";
6
- import { buildQueries as k, createEvent as V, findAllByAltText as C, findAllByDisplayValue as F, findAllByLabelText as M, findAllByPlaceholderText as W, findAllByRole as U, findAllByTestId as G, findAllByText as z, findAllByTitle as K, findByAltText as $, findByDisplayValue as H, findByLabelText as J, findByPlaceholderText as X, findByRole as Y, findByTestId as Z, findByText as ee, findByTitle as te, getAllByAltText as ne, getAllByDisplayValue as re, getAllByLabelText as le, getAllByPlaceholderText as oe, getAllByRole as ue, getAllByTestId as ie, getAllByText as se, getAllByTitle as ae, getByAltText as ye, getByDisplayValue as ce, getByLabelText as fe, getByPlaceholderText as de, getByRole as me, getByTestId as ge, getByText as pe, getByTitle as Te, getDefaultNormalizer as Ae, getElementError as Be, getMultipleElementsFoundError as Ee, getNodeText as be, getQueriesForElement as xe, getRoles as he, getSuggestedQuery as ve, isInaccessible as we, logDOM as qe, makeFindQuery as Re, makeGetAllQuery as Ie, makeSingleQuery as Le, prettyDOM as Oe, queries as Ne, queryAllByAltText as _e, queryAllByAttribute as Pe, queryAllByDisplayValue as De, queryAllByLabelText as Qe, queryAllByPlaceholderText as Se, queryAllByRole as je, queryAllByTestId as ke, queryAllByText as Ve, queryAllByTitle as Ce, queryByAltText as Fe, queryByDisplayValue as Me, queryByLabelText as We, queryByPlaceholderText as Ue, queryByRole as Ge, queryByTestId as ze, queryByText as Ke, queryByTitle as $e, waitFor as He, getQueriesForElement as Je, wrapAllByQueryWithSuggestion as Xe, wrapSingleQueryWithSuggestion as Ye } from "./index.es210.js";
7
- const b = typeof f.act == "function" ? f.act : B.act;
8
- function p() {
9
- if (typeof globalThis < "u")
10
- return globalThis;
11
- if (typeof self < "u")
12
- return self;
13
- if (typeof window < "u")
14
- return window;
15
- if (typeof global < "u")
16
- return global;
17
- throw new Error("unable to locate global object");
18
- }
19
- function l(t) {
20
- p().IS_REACT_ACT_ENVIRONMENT = t;
21
- }
22
- function i() {
23
- return p().IS_REACT_ACT_ENVIRONMENT;
24
- }
25
- function x(t) {
26
- return (n) => {
27
- const r = i();
28
- l(!0);
29
- try {
30
- let o = !1;
31
- const c = t(() => {
32
- const u = n();
33
- return u !== null && typeof u == "object" && typeof u.then == "function" && (o = !0), u;
34
- });
35
- if (o) {
36
- const u = c;
37
- return {
38
- then: (T, A) => {
39
- u.then((s) => {
40
- l(r), T(s);
41
- }, (s) => {
42
- l(r), A(s);
43
- });
1
+ import { b as p, g as ee, c as re, f as te, e as le, a as J, h as L } from "./index.es205.js";
2
+ import { twMerge as ne, extendTailwindMerge as oe } from "./index.es206.js";
3
+ var ae = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, U = (s) => s || void 0, M = (...s) => U(le(s).filter(Boolean).join(" ")), S = null, g = {}, P = !1, w = (...s) => (m) => m.twMerge ? ((!S || P) && (P = !1, S = p(g) ? ne : oe({ ...g, extend: { theme: g.theme, classGroups: g.classGroups, conflictingClassGroupModifiers: g.conflictingClassGroupModifiers, conflictingClassGroups: g.conflictingClassGroups, ...g.extend } })), U(S(M(s)))) : M(s), Q = (s, m) => {
4
+ for (let l in m) s.hasOwnProperty(l) ? s[l] = M(s[l], m[l]) : s[l] = m[l];
5
+ return s;
6
+ }, ue = (s, m) => {
7
+ let { extend: l = null, slots: C = {}, variants: R = {}, compoundVariants: B = [], compoundSlots: h = [], defaultVariants: K = {} } = s, d = { ...ae, ...m }, G = l != null && l.base ? M(l.base, s == null ? void 0 : s.base) : s == null ? void 0 : s.base, y = l != null && l.variants && !p(l.variants) ? ee(R, l.variants) : R, O = l != null && l.defaultVariants && !p(l.defaultVariants) ? { ...l.defaultVariants, ...K } : K;
8
+ !p(d.twMergeConfig) && !re(d.twMergeConfig, g) && (P = !0, g = d.twMergeConfig);
9
+ let k = p(l == null ? void 0 : l.slots), N = p(C) ? {} : { base: M(s == null ? void 0 : s.base, k && (l == null ? void 0 : l.base)), ...C }, V = k ? N : Q({ ...l == null ? void 0 : l.slots }, p(N) ? { base: s == null ? void 0 : s.base } : N), j = p(l == null ? void 0 : l.compoundVariants) ? B : te(l == null ? void 0 : l.compoundVariants, B), b = (f) => {
10
+ if (p(y) && p(C) && k) return w(G, f == null ? void 0 : f.class, f == null ? void 0 : f.className)(d);
11
+ if (j && !Array.isArray(j)) throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof j}`);
12
+ if (h && !Array.isArray(h)) throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof h}`);
13
+ let _ = (e, t, r = [], o) => {
14
+ let n = r;
15
+ if (typeof t == "string") n = n.concat(L(t).split(" ").map((a) => `${e}:${a}`));
16
+ else if (Array.isArray(t)) n = n.concat(t.reduce((a, i) => a.concat(`${e}:${i}`), []));
17
+ else if (typeof t == "object" && typeof o == "string") {
18
+ for (let a in t) if (t.hasOwnProperty(a) && a === o) {
19
+ let i = t[a];
20
+ if (i && typeof i == "string") {
21
+ let u = L(i);
22
+ n[o] ? n[o] = n[o].concat(u.split(" ").map((c) => `${e}:${c}`)) : n[o] = u.split(" ").map((c) => `${e}:${c}`);
23
+ } else Array.isArray(i) && i.length > 0 && (n[o] = i.reduce((u, c) => u.concat(`${e}:${c}`), []));
24
+ }
25
+ }
26
+ return n;
27
+ }, q = (e, t = y, r = null, o = null) => {
28
+ var n;
29
+ let a = t[e];
30
+ if (!a || p(a)) return null;
31
+ let i = (n = o == null ? void 0 : o[e]) != null ? n : f == null ? void 0 : f[e];
32
+ if (i === null) return null;
33
+ let u = J(i), c = Array.isArray(d.responsiveVariants) && d.responsiveVariants.length > 0 || d.responsiveVariants === !0, A = O == null ? void 0 : O[e], v = [];
34
+ if (typeof u == "object" && c) for (let [E, I] of Object.entries(u)) {
35
+ let $ = a[I];
36
+ if (E === "initial") {
37
+ A = I;
38
+ continue;
39
+ }
40
+ Array.isArray(d.responsiveVariants) && !d.responsiveVariants.includes(E) || (v = _(E, $, v, r));
41
+ }
42
+ let x = u != null && typeof u != "object" ? u : J(A), T = a[x || "false"];
43
+ return typeof v == "object" && typeof r == "string" && v[r] ? Q(v, T) : v.length > 0 ? (v.push(T), r === "base" ? v.join(" ") : v) : T;
44
+ }, F = () => y ? Object.keys(y).map((e) => q(e, y)) : null, X = (e, t) => {
45
+ if (!y || typeof y != "object") return null;
46
+ let r = new Array();
47
+ for (let o in y) {
48
+ let n = q(o, y, e, t), a = e === "base" && typeof n == "string" ? n : n && n[e];
49
+ a && (r[r.length] = a);
50
+ }
51
+ return r;
52
+ }, z = {};
53
+ for (let e in f) f[e] !== void 0 && (z[e] = f[e]);
54
+ let D = (e, t) => {
55
+ var r;
56
+ let o = typeof (f == null ? void 0 : f[e]) == "object" ? { [e]: (r = f[e]) == null ? void 0 : r.initial } : {};
57
+ return { ...O, ...z, ...o, ...t };
58
+ }, H = (e = [], t) => {
59
+ let r = [];
60
+ for (let { class: o, className: n, ...a } of e) {
61
+ let i = !0;
62
+ for (let [u, c] of Object.entries(a)) {
63
+ let A = D(u, t)[u];
64
+ if (Array.isArray(c)) {
65
+ if (!c.includes(A)) {
66
+ i = !1;
67
+ break;
68
+ }
69
+ } else {
70
+ let v = (x) => x == null || x === !1;
71
+ if (v(c) && v(A)) continue;
72
+ if (A !== c) {
73
+ i = !1;
74
+ break;
75
+ }
44
76
  }
45
- };
46
- } else
47
- return l(r), c;
48
- } catch (o) {
49
- throw l(r), o;
77
+ }
78
+ i && (o && r.push(o), n && r.push(n));
79
+ }
80
+ return r;
81
+ }, Y = (e) => {
82
+ let t = H(j, e);
83
+ if (!Array.isArray(t)) return t;
84
+ let r = {};
85
+ for (let o of t) if (typeof o == "string" && (r.base = w(r.base, o)(d)), typeof o == "object") for (let [n, a] of Object.entries(o)) r[n] = w(r[n], a)(d);
86
+ return r;
87
+ }, Z = (e) => {
88
+ if (h.length < 1) return null;
89
+ let t = {};
90
+ for (let { slots: r = [], class: o, className: n, ...a } of h) {
91
+ if (!p(a)) {
92
+ let i = !0;
93
+ for (let u of Object.keys(a)) {
94
+ let c = D(u, e)[u];
95
+ if (c === void 0 || (Array.isArray(a[u]) ? !a[u].includes(c) : a[u] !== c)) {
96
+ i = !1;
97
+ break;
98
+ }
99
+ }
100
+ if (!i) continue;
101
+ }
102
+ for (let i of r) t[i] = t[i] || [], t[i].push([o, n]);
103
+ }
104
+ return t;
105
+ };
106
+ if (!p(C) || !k) {
107
+ let e = {};
108
+ if (typeof V == "object" && !p(V)) for (let t of Object.keys(V)) e[t] = (r) => {
109
+ var o, n;
110
+ return w(V[t], X(t, r), ((o = Y(r)) != null ? o : [])[t], ((n = Z(r)) != null ? n : [])[t], r == null ? void 0 : r.class, r == null ? void 0 : r.className)(d);
111
+ };
112
+ return e;
50
113
  }
114
+ return w(G, F(), H(j), f == null ? void 0 : f.class, f == null ? void 0 : f.className)(d);
115
+ }, W = () => {
116
+ if (!(!y || typeof y != "object")) return Object.keys(y);
51
117
  };
52
- }
53
- const y = x(b), e = function() {
54
- return a(...arguments);
55
- };
56
- Object.keys(a).forEach((t) => {
57
- e[t] = function() {
58
- return a[t](...arguments);
59
- };
60
- });
61
- const h = e.mouseEnter, v = e.mouseLeave;
62
- e.mouseEnter = function() {
63
- return h(...arguments), e.mouseOver(...arguments);
64
- };
65
- e.mouseLeave = function() {
66
- return v(...arguments), e.mouseOut(...arguments);
67
- };
68
- const w = e.pointerEnter, q = e.pointerLeave;
69
- e.pointerEnter = function() {
70
- return w(...arguments), e.pointerOver(...arguments);
118
+ return b.variantKeys = W(), b.extend = l, b.base = G, b.slots = V, b.variants = y, b.defaultVariants = O, b.compoundSlots = h, b.compoundVariants = j, b;
71
119
  };
72
- e.pointerLeave = function() {
73
- return q(...arguments), e.pointerOut(...arguments);
74
- };
75
- const R = e.select;
76
- e.select = (t, n) => {
77
- R(t, n), t.focus(), e.keyUp(t, n);
78
- };
79
- const I = e.blur, L = e.focus;
80
- e.blur = function() {
81
- return e.focusOut(...arguments), I(...arguments);
82
- };
83
- e.focus = function() {
84
- return e.focusIn(...arguments), L(...arguments);
85
- };
86
- function O() {
87
- return typeof jest < "u" && jest !== null ? (
88
- // legacy timers
89
- setTimeout._isMockFunction === !0 || // modern timers
90
- // eslint-disable-next-line prefer-object-has-own -- No Object.hasOwn in all target environments we support.
91
- Object.prototype.hasOwnProperty.call(setTimeout, "clock")
92
- ) : !1;
93
- }
94
- E({
95
- unstable_advanceTimersWrapper: (t) => y(t),
96
- // We just want to run `waitFor` without IS_REACT_ACT_ENVIRONMENT
97
- // But that's not necessarily how `asyncWrapper` is used since it's a public method.
98
- // Let's just hope nobody else is using it.
99
- asyncWrapper: async (t) => {
100
- const n = i();
101
- l(!1);
102
- try {
103
- const r = await t();
104
- return await new Promise((o) => {
105
- setTimeout(() => {
106
- o();
107
- }, 0), O() && jest.advanceTimersByTime(0);
108
- }), r;
109
- } finally {
110
- l(n);
111
- }
112
- },
113
- eventWrapper: (t) => {
114
- let n;
115
- return y(() => {
116
- n = t();
117
- }), n;
118
- }
119
- });
120
- const N = /* @__PURE__ */ new Set(), d = [];
121
- function m() {
122
- d.forEach((t) => {
123
- let {
124
- root: n,
125
- container: r
126
- } = t;
127
- y(() => {
128
- n.unmount();
129
- }), r.parentNode === document.body && document.body.removeChild(r);
130
- }), d.length = 0, N.clear();
131
- }
132
- var g;
133
- if ((typeof process > "u" || !((g = process.env) != null && g.RTL_SKIP_AUTO_CLEANUP)) && (typeof afterEach == "function" ? afterEach(() => {
134
- m();
135
- }) : typeof teardown == "function" && teardown(() => {
136
- m();
137
- }), typeof beforeAll == "function" && typeof afterAll == "function")) {
138
- let t = i();
139
- beforeAll(() => {
140
- t = i(), l(!0);
141
- }), afterAll(() => {
142
- l(t);
143
- });
144
- }
145
120
  export {
146
- y as act,
147
- k as buildQueries,
148
- m as cleanup,
149
- V as createEvent,
150
- C as findAllByAltText,
151
- F as findAllByDisplayValue,
152
- M as findAllByLabelText,
153
- W as findAllByPlaceholderText,
154
- U as findAllByRole,
155
- G as findAllByTestId,
156
- z as findAllByText,
157
- K as findAllByTitle,
158
- $ as findByAltText,
159
- H as findByDisplayValue,
160
- J as findByLabelText,
161
- X as findByPlaceholderText,
162
- Y as findByRole,
163
- Z as findByTestId,
164
- ee as findByText,
165
- te as findByTitle,
166
- e as fireEvent,
167
- ne as getAllByAltText,
168
- re as getAllByDisplayValue,
169
- le as getAllByLabelText,
170
- oe as getAllByPlaceholderText,
171
- ue as getAllByRole,
172
- ie as getAllByTestId,
173
- se as getAllByText,
174
- ae as getAllByTitle,
175
- ye as getByAltText,
176
- ce as getByDisplayValue,
177
- fe as getByLabelText,
178
- de as getByPlaceholderText,
179
- me as getByRole,
180
- ge as getByTestId,
181
- pe as getByText,
182
- Te as getByTitle,
183
- Ae as getDefaultNormalizer,
184
- Be as getElementError,
185
- Ee as getMultipleElementsFoundError,
186
- be as getNodeText,
187
- xe as getQueriesForElement,
188
- he as getRoles,
189
- ve as getSuggestedQuery,
190
- we as isInaccessible,
191
- qe as logDOM,
192
- Re as makeFindQuery,
193
- Ie as makeGetAllQuery,
194
- Le as makeSingleQuery,
195
- Oe as prettyDOM,
196
- Ne as queries,
197
- _e as queryAllByAltText,
198
- Pe as queryAllByAttribute,
199
- De as queryAllByDisplayValue,
200
- Qe as queryAllByLabelText,
201
- Se as queryAllByPlaceholderText,
202
- je as queryAllByRole,
203
- ke as queryAllByTestId,
204
- Ve as queryAllByText,
205
- Ce as queryAllByTitle,
206
- Fe as queryByAltText,
207
- Me as queryByDisplayValue,
208
- We as queryByLabelText,
209
- Ue as queryByPlaceholderText,
210
- Ge as queryByRole,
211
- ze as queryByTestId,
212
- Ke as queryByText,
213
- $e as queryByTitle,
214
- He as waitFor,
215
- Je as within,
216
- Xe as wrapAllByQueryWithSuggestion,
217
- Ye as wrapSingleQueryWithSuggestion
121
+ w as cn,
122
+ M as cnBase,
123
+ ae as defaultConfig,
124
+ ue as tv,
125
+ U as voidEmpty
218
126
  };
@@ -1,80 +1,19 @@
1
- import { useContextProps as h, useRenderProps as B } from "./index.es164.js";
2
- import { ProgressBarContext as D } from "./index.es294.js";
3
- import { announce as P } from "./index.es295.js";
4
- import { createHideableComponent as F } from "./index.es296.js";
5
- import { useId as x } from "./index.es297.js";
6
- import { mergeProps as H } from "./index.es298.js";
7
- import { filterDOMProps as E } from "./index.es299.js";
8
- import v, { createContext as V, useRef as R, useEffect as p } from "react";
9
- import { useButton as w } from "./index.es300.js";
10
- import { useFocusRing as I } from "./index.es301.js";
11
- import { useHover as M } from "./index.es302.js";
12
- const N = /* @__PURE__ */ new Set([
13
- "form",
14
- "formAction",
15
- "formEncType",
16
- "formMethod",
17
- "formNoValidate",
18
- "formTarget",
19
- "name",
20
- "value"
21
- ]), T = /* @__PURE__ */ V({}), J = /* @__PURE__ */ F(function(e, n) {
22
- [e, n] = h(e, n, T), e = A(e);
23
- let u = e, { isPending: d } = u, { buttonProps: a, isPressed: g } = w(e, n), { focusProps: y, isFocused: s, isFocusVisible: c } = I(e), { hoverProps: C, isHovered: l } = M({
24
- ...e,
25
- isDisabled: e.isDisabled || d
26
- }), b = {
27
- isHovered: l,
28
- isPressed: (u.isPressed || g) && !d,
29
- isFocused: s,
30
- isFocusVisible: c,
31
- isDisabled: e.isDisabled || !1,
32
- isPending: d ?? !1
33
- }, $ = B({
34
- ...e,
35
- values: b,
36
- defaultClassName: "react-aria-Button"
37
- }), r = x(a.id), o = x(), i = a["aria-labelledby"];
38
- d && (i ? i = `${i} ${o}` : a["aria-label"] && (i = `${r} ${o}`));
39
- let f = R(d);
40
- return p(() => {
41
- let m = {
42
- "aria-labelledby": i || r
43
- };
44
- !f.current && s && d ? P(m, "assertive") : f.current && s && !d && P(m, "assertive"), f.current = d;
45
- }, [
46
- d,
47
- s,
48
- i,
49
- r
50
- ]), /* @__PURE__ */ v.createElement("button", {
51
- ...E(e, {
52
- propNames: N
53
- }),
54
- ...H(a, y, C),
55
- ...$,
56
- type: a.type === "submit" && d ? "button" : a.type,
57
- id: r,
58
- ref: n,
59
- "aria-labelledby": i,
60
- slot: e.slot || void 0,
61
- "aria-disabled": d ? "true" : a["aria-disabled"],
62
- "data-disabled": e.isDisabled || void 0,
63
- "data-pressed": b.isPressed || void 0,
64
- "data-hovered": l || void 0,
65
- "data-focused": s || void 0,
66
- "data-pending": d || void 0,
67
- "data-focus-visible": c || void 0
68
- }, /* @__PURE__ */ v.createElement(D.Provider, {
69
- value: {
70
- id: o
71
- }
72
- }, $.children));
73
- });
74
- function A(t) {
75
- return t.isPending && (t.onPress = void 0, t.onPressStart = void 0, t.onPressEnd = void 0, t.onPressChange = void 0, t.onPressUp = void 0, t.onKeyDown = void 0, t.onKeyUp = void 0, t.onClick = void 0, t.href = void 0), t;
1
+ import o from "react";
2
+ import { createStore as c } from "./index.es312.js";
3
+ const u = (t) => t;
4
+ function i(t, e = u) {
5
+ const n = o.useSyncExternalStore(
6
+ t.subscribe,
7
+ () => e(t.getState()),
8
+ () => e(t.getInitialState())
9
+ );
10
+ return o.useDebugValue(n), n;
76
11
  }
12
+ const r = (t) => {
13
+ const e = c(t), n = (s) => i(e, s);
14
+ return Object.assign(n, e), n;
15
+ }, l = (t) => t ? r(t) : r;
77
16
  export {
78
- J as Button,
79
- T as ButtonContext
17
+ l as create,
18
+ i as useStore
80
19
  };
@@ -1,94 +1,16 @@
1
- import { mergeProps as y } from "./index.es298.js";
2
- import { mergeRefs as $ } from "./index.es303.js";
3
- import { useObjectRef as m } from "./index.es304.js";
4
- import x, { useMemo as i, useContext as p } from "react";
5
- const b = Symbol("default");
6
- function R({ values: t, children: l }) {
7
- for (let [e, s] of t)
8
- l = /* @__PURE__ */ x.createElement(e.Provider, {
9
- value: s
10
- }, l);
11
- return l;
12
- }
13
- function g(t) {
14
- let { className: l, style: e, children: s, defaultClassName: n, defaultChildren: f, defaultStyle: r, values: u } = t;
15
- return i(() => {
16
- let a, d, o;
17
- return typeof l == "function" ? a = l({
18
- ...u,
19
- defaultClassName: n
20
- }) : a = l, typeof e == "function" ? d = e({
21
- ...u,
22
- defaultStyle: r || {}
23
- }) : d = e, typeof s == "function" ? o = s({
24
- ...u,
25
- defaultChildren: f
26
- }) : s == null ? o = f : o = s, {
27
- className: a ?? n,
28
- style: d || r ? {
29
- ...r,
30
- ...d
31
- } : void 0,
32
- children: o ?? f,
33
- "data-rac": ""
34
- };
35
- }, [
36
- l,
37
- e,
38
- s,
39
- n,
40
- f,
41
- r,
42
- u
43
- ]);
44
- }
45
- function P(t, l) {
46
- return (e) => l(typeof t == "function" ? t(e) : t, e);
47
- }
48
- function C(t, l) {
49
- let e = p(t);
50
- if (l === null)
51
- return null;
52
- if (e && typeof e == "object" && "slots" in e && e.slots) {
53
- let s = l || b;
54
- if (!e.slots[s]) {
55
- let n = new Intl.ListFormat().format(Object.keys(e.slots).map((r) => `"${r}"`)), f = l ? `Invalid slot "${l}".` : "A slot prop is required.";
56
- throw new Error(`${f} Valid slot names are ${n}.`);
57
- }
58
- return e.slots[s];
59
- }
60
- return e;
61
- }
62
- function j(t, l, e) {
63
- let s = C(e, t.slot) || {}, { ref: n, ...f } = s, r = m(i(() => $(l, n), [
64
- l,
65
- n
66
- ])), u = y(f, t);
67
- return "style" in f && f.style && "style" in t && t.style && (typeof f.style == "function" || typeof t.style == "function" ? u.style = (a) => {
68
- let d = typeof f.style == "function" ? f.style(a) : f.style, o = {
69
- ...a.defaultStyle,
70
- ...d
71
- }, c = typeof t.style == "function" ? t.style({
72
- ...a,
73
- defaultStyle: o
74
- }) : t.style;
75
- return {
76
- ...o,
77
- ...c
78
- };
79
- } : u.style = {
80
- ...f.style,
81
- ...t.style
82
- }), [
83
- u,
84
- r
85
- ];
86
- }
1
+ import c from "./index.es265.js";
2
+ /**
3
+ * @license lucide-react v0.487.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [
9
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
+ ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
11
+ ["path", { d: "m9 9 6 6", key: "z0biqf" }]
12
+ ], o = c("circle-x", e);
87
13
  export {
88
- b as DEFAULT_SLOT,
89
- R as Provider,
90
- P as composeRenderProps,
91
- j as useContextProps,
92
- g as useRenderProps,
93
- C as useSlottedContext
14
+ e as __iconNode,
15
+ o as default
94
16
  };