@boxcustodia/library 0.3.2 → 0.3.3

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 (647) hide show
  1. package/dist/index.es10.js +1 -1
  2. package/dist/index.es100.js +42 -26
  3. package/dist/index.es101.js +30 -55
  4. package/dist/index.es102.js +28 -53
  5. package/dist/index.es103.js +55 -92
  6. package/dist/index.es104.js +55 -37
  7. package/dist/index.es105.js +91 -23
  8. package/dist/index.es106.js +36 -29
  9. package/dist/index.es107.js +24 -12
  10. package/dist/index.es108.js +30 -9
  11. package/dist/index.es109.js +7 -3672
  12. package/dist/index.es110.js +258 -3
  13. package/dist/index.es111.js +4 -6
  14. package/dist/index.es112.js +3 -4
  15. package/dist/index.es113.js +14 -57
  16. package/dist/index.es114.js +4 -258
  17. package/dist/index.es115.js +57 -12
  18. package/dist/index.es116.js +12 -39
  19. package/dist/index.es117.js +12 -6
  20. package/dist/index.es118.js +38 -18
  21. package/dist/index.es119.js +13 -1062
  22. package/dist/index.es120.js +1062 -4
  23. package/dist/index.es121.js +4 -4
  24. package/dist/index.es122.js +4 -27
  25. package/dist/index.es123.js +24 -23
  26. package/dist/index.es124.js +23 -19
  27. package/dist/index.es125.js +22 -11
  28. package/dist/index.es126.js +11 -224
  29. package/dist/index.es127.js +224 -11
  30. package/dist/index.es128.js +4 -4
  31. package/dist/index.es129.js +11 -41
  32. package/dist/index.es13.js +1 -1
  33. package/dist/index.es130.js +40 -16
  34. package/dist/index.es131.js +15 -42
  35. package/dist/index.es132.js +44 -13
  36. package/dist/index.es133.js +6 -2
  37. package/dist/index.es134.js +3 -5
  38. package/dist/index.es135.js +11 -21
  39. package/dist/index.es136.js +822 -12
  40. package/dist/index.es137.js +21 -11
  41. package/dist/index.es138.js +5 -5
  42. package/dist/index.es139.js +11 -240
  43. package/dist/index.es140.js +12 -822
  44. package/dist/index.es141.js +2 -2
  45. package/dist/index.es142.js +240 -4
  46. package/dist/index.es144.js +4 -33
  47. package/dist/index.es145.js +6 -13
  48. package/dist/index.es146.js +2 -61
  49. package/dist/index.es147.js +32 -43
  50. package/dist/index.es148.js +13 -8
  51. package/dist/index.es149.js +61 -2
  52. package/dist/index.es15.js +1 -1
  53. package/dist/index.es150.js +43 -25
  54. package/dist/index.es151.js +211 -601
  55. package/dist/index.es152.js +2 -15
  56. package/dist/index.es153.js +25 -196
  57. package/dist/index.es154.js +605 -41
  58. package/dist/index.es155.js +12 -9
  59. package/dist/index.es156.js +196 -204
  60. package/dist/index.es157.js +41 -10
  61. package/dist/index.es158.js +11 -20
  62. package/dist/index.es159.js +205 -37
  63. package/dist/index.es16.js +1 -1
  64. package/dist/index.es160.js +10 -10
  65. package/dist/index.es161.js +19 -214
  66. package/dist/index.es162.js +36 -5
  67. package/dist/index.es163.js +11 -2
  68. package/dist/index.es165.js +1 -1
  69. package/dist/index.es166.js +1 -1
  70. package/dist/index.es167.js +4 -4
  71. package/dist/index.es168.js +3 -3
  72. package/dist/index.es169.js +2 -2
  73. package/dist/index.es17.js +1 -1
  74. package/dist/index.es170.js +2 -2
  75. package/dist/index.es172.js +3 -3
  76. package/dist/index.es174.js +2 -2
  77. package/dist/index.es175.js +8 -8
  78. package/dist/index.es176.js +3 -217
  79. package/dist/index.es177.js +4 -4
  80. package/dist/index.es178.js +45 -3
  81. package/dist/index.es179.js +7 -45
  82. package/dist/index.es180.js +217 -7
  83. package/dist/index.es182.js +1 -1
  84. package/dist/index.es184.js +2 -118
  85. package/dist/index.es185.js +6 -2
  86. package/dist/index.es186.js +3 -35
  87. package/dist/index.es187.js +2054 -2
  88. package/dist/index.es188.js +118 -2
  89. package/dist/index.es189.js +32 -9
  90. package/dist/index.es190.js +2 -6
  91. package/dist/index.es191.js +2 -14
  92. package/dist/index.es192.js +8 -81
  93. package/dist/index.es193.js +5 -15
  94. package/dist/index.es194.js +12 -32
  95. package/dist/index.es195.js +77 -128
  96. package/dist/index.es196.js +14 -174
  97. package/dist/index.es197.js +34 -12
  98. package/dist/index.es198.js +123 -68
  99. package/dist/index.es199.js +175 -17
  100. package/dist/index.es200.js +11 -8
  101. package/dist/index.es201.js +76 -48
  102. package/dist/index.es202.js +18 -21
  103. package/dist/index.es203.js +9 -9
  104. package/dist/index.es204.js +51 -38
  105. package/dist/index.es205.js +14 -11
  106. package/dist/index.es206.js +9 -14
  107. package/dist/index.es207.js +38 -7
  108. package/dist/index.es208.js +18 -7
  109. package/dist/index.es209.js +12 -19
  110. package/dist/index.es210.js +8 -52
  111. package/dist/index.es211.js +5 -6
  112. package/dist/index.es212.js +4 -6
  113. package/dist/index.es213.js +17 -6
  114. package/dist/index.es214.js +5 -7
  115. package/dist/index.es215.js +6 -16
  116. package/dist/index.es216.js +8 -8
  117. package/dist/index.es217.js +6 -7
  118. package/dist/index.es218.js +6 -6
  119. package/dist/index.es219.js +15 -13
  120. package/dist/index.es220.js +13 -10
  121. package/dist/index.es221.js +13 -84
  122. package/dist/index.es222.js +6 -5
  123. package/dist/index.es223.js +6 -17
  124. package/dist/index.es224.js +6 -5
  125. package/dist/index.es225.js +4 -6
  126. package/dist/index.es226.js +515 -6
  127. package/dist/index.es227.js +50 -10
  128. package/dist/index.es228.js +17 -6
  129. package/dist/index.es229.js +9 -7
  130. package/dist/index.es230.js +19 -6
  131. package/dist/index.es231.js +8 -4
  132. package/dist/index.es232.js +7 -5
  133. package/dist/index.es233.js +6 -7
  134. package/dist/index.es234.js +6 -6
  135. package/dist/index.es235.js +6 -15
  136. package/dist/index.es236.js +9 -4
  137. package/dist/index.es237.js +5 -515
  138. package/dist/index.es238.js +9 -50
  139. package/dist/index.es239.js +12 -17
  140. package/dist/index.es240.js +9 -9
  141. package/dist/index.es241.js +9 -19
  142. package/dist/index.es242.js +10 -8
  143. package/dist/index.es243.js +14 -7
  144. package/dist/index.es244.js +6 -7
  145. package/dist/index.es245.js +6 -5
  146. package/dist/index.es246.js +6 -6
  147. package/dist/index.es247.js +6 -9
  148. package/dist/index.es248.js +6 -5
  149. package/dist/index.es249.js +9 -8
  150. package/dist/index.es25.js +1 -1
  151. package/dist/index.es250.js +84 -12
  152. package/dist/index.es251.js +65 -10
  153. package/dist/index.es252.js +37 -10
  154. package/dist/index.es253.js +9 -14
  155. package/dist/index.es254.js +9 -65
  156. package/dist/index.es255.js +7 -37
  157. package/dist/index.es256.js +10 -9
  158. package/dist/index.es257.js +7 -8
  159. package/dist/index.es258.js +7 -7
  160. package/dist/index.es259.js +6 -7
  161. package/dist/index.es26.js +3 -3
  162. package/dist/index.es260.js +5 -15
  163. package/dist/index.es261.js +15 -11
  164. package/dist/index.es262.js +15 -6
  165. package/dist/index.es263.js +5 -3
  166. package/dist/index.es264.js +17 -2052
  167. package/dist/index.es265.js +46 -172
  168. package/dist/index.es266.js +15 -200
  169. package/dist/index.es267.js +175 -19
  170. package/dist/index.es268.js +200 -24
  171. package/dist/index.es269.js +21 -370
  172. package/dist/index.es27.js +1 -1
  173. package/dist/index.es270.js +25 -25
  174. package/dist/index.es271.js +370 -15
  175. package/dist/index.es272.js +2 -8
  176. package/dist/index.es273.js +398 -4
  177. package/dist/index.es274.js +722 -13
  178. package/dist/index.es275.js +282 -14
  179. package/dist/index.es276.js +59 -8
  180. package/dist/index.es277.js +9 -4
  181. package/dist/index.es278.js +29 -13
  182. package/dist/index.es279.js +199 -5
  183. package/dist/index.es28.js +1 -1
  184. package/dist/index.es280.js +25 -7
  185. package/dist/index.es281.js +15 -333
  186. package/dist/index.es282.js +8 -19
  187. package/dist/index.es283.js +3 -3
  188. package/dist/index.es284.js +13 -4
  189. package/dist/index.es285.js +15 -3
  190. package/dist/index.es286.js +23 -70
  191. package/dist/index.es287.js +28 -3
  192. package/dist/index.es288.js +5 -15
  193. package/dist/index.es289.js +5 -3
  194. package/dist/index.es29.js +1 -1
  195. package/dist/index.es290.js +57 -5
  196. package/dist/index.es291.js +25 -54
  197. package/dist/index.es292.js +39 -20
  198. package/dist/index.es293.js +43 -23
  199. package/dist/index.es294.js +21 -50
  200. package/dist/index.es295.js +12 -31
  201. package/dist/index.es296.js +62 -13
  202. package/dist/index.es297.js +36 -36
  203. package/dist/index.es298.js +42 -41
  204. package/dist/index.es299.js +37 -37
  205. package/dist/index.es30.js +2 -2
  206. package/dist/index.es300.js +27 -50
  207. package/dist/index.es301.js +22 -21
  208. package/dist/index.es302.js +40 -28
  209. package/dist/index.es303.js +28 -38
  210. package/dist/index.es304.js +34 -40
  211. package/dist/index.es305.js +54 -25
  212. package/dist/index.es306.js +38 -38
  213. package/dist/index.es307.js +71 -46
  214. package/dist/index.es308.js +38 -88
  215. package/dist/index.es309.js +24 -24
  216. package/dist/index.es31.js +4 -4
  217. package/dist/index.es310.js +14 -14
  218. package/dist/index.es311.js +23 -39
  219. package/dist/index.es312.js +20 -21
  220. package/dist/index.es313.js +20 -20
  221. package/dist/index.es314.js +20 -19
  222. package/dist/index.es315.js +19 -20
  223. package/dist/index.es316.js +21 -21
  224. package/dist/index.es317.js +13 -23
  225. package/dist/index.es318.js +40 -14
  226. package/dist/index.es319.js +26 -26
  227. package/dist/index.es32.js +7 -7
  228. package/dist/index.es320.js +14 -40
  229. package/dist/index.es321.js +10 -10
  230. package/dist/index.es322.js +8 -18
  231. package/dist/index.es323.js +4 -24
  232. package/dist/index.es324.js +13 -29
  233. package/dist/index.es325.js +5 -5
  234. package/dist/index.es326.js +7 -2
  235. package/dist/index.es327.js +324 -388
  236. package/dist/index.es328.js +19 -723
  237. package/dist/index.es329.js +3 -282
  238. package/dist/index.es330.js +4 -60
  239. package/dist/index.es331.js +3 -10
  240. package/dist/index.es332.js +71 -28
  241. package/dist/index.es333.js +4 -199
  242. package/dist/index.es334.js +2 -29
  243. package/dist/index.es335.js +2 -5
  244. package/dist/index.es336.js +2 -2
  245. package/dist/index.es337.js +105 -53
  246. package/dist/index.es338.js +73 -56
  247. package/dist/index.es339.js +36 -7
  248. package/dist/index.es34.js +1 -1
  249. package/dist/index.es340.js +64 -3
  250. package/dist/index.es341.js +34 -9
  251. package/dist/index.es342.js +64 -326
  252. package/dist/index.es343.js +110 -48
  253. package/dist/index.es344.js +93 -4
  254. package/dist/index.es345.js +43 -69
  255. package/dist/index.es346.js +2 -31
  256. package/dist/index.es347.js +2 -9
  257. package/dist/index.es348.js +2 -153
  258. package/dist/index.es349.js +2 -108
  259. package/dist/index.es35.js +1 -1
  260. package/dist/index.es350.js +2 -68
  261. package/dist/index.es351.js +2 -31
  262. package/dist/index.es352.js +2 -16
  263. package/dist/index.es353.js +2 -141
  264. package/dist/index.es354.js +2 -114
  265. package/dist/index.es355.js +241 -4
  266. package/dist/index.es356.js +384 -4
  267. package/dist/index.es357.js +166 -19
  268. package/dist/index.es358.js +142 -92
  269. package/dist/index.es359.js +142 -49
  270. package/dist/index.es36.js +44 -33
  271. package/dist/index.es360.js +2 -5
  272. package/dist/index.es361.js +2 -3
  273. package/dist/index.es362.js +2 -24
  274. package/dist/index.es363.js +2 -110
  275. package/dist/index.es364.js +2 -16
  276. package/dist/index.es365.js +2 -519
  277. package/dist/index.es366.js +28 -126
  278. package/dist/index.es367.js +5 -126
  279. package/dist/index.es368.js +2 -3
  280. package/dist/index.es369.js +52 -105
  281. package/dist/index.es37.js +3 -3
  282. package/dist/index.es370.js +59 -2
  283. package/dist/index.es371.js +5 -106
  284. package/dist/index.es372.js +3 -76
  285. package/dist/index.es373.js +25 -36
  286. package/dist/index.es374.js +110 -63
  287. package/dist/index.es375.js +16 -33
  288. package/dist/index.es376.js +67 -64
  289. package/dist/index.es377.js +32 -113
  290. package/dist/index.es378.js +10 -94
  291. package/dist/index.es379.js +154 -43
  292. package/dist/index.es38.js +7 -7
  293. package/dist/index.es380.js +108 -2
  294. package/dist/index.es381.js +20 -2
  295. package/dist/index.es382.js +101 -2
  296. package/dist/index.es383.js +47 -2
  297. package/dist/index.es384.js +6 -2
  298. package/dist/index.es385.js +2 -2
  299. package/dist/index.es386.js +8 -2
  300. package/dist/index.es387.js +327 -2
  301. package/dist/index.es388.js +50 -2
  302. package/dist/index.es389.js +5 -240
  303. package/dist/index.es39.js +3 -3
  304. package/dist/index.es390.js +64 -378
  305. package/dist/index.es391.js +33 -169
  306. package/dist/index.es392.js +18 -153
  307. package/dist/index.es393.js +138 -137
  308. package/dist/index.es394.js +114 -2
  309. package/dist/index.es395.js +519 -2
  310. package/dist/index.es396.js +127 -2
  311. package/dist/index.es397.js +126 -2
  312. package/dist/index.es398.js +2 -2
  313. package/dist/index.es399.js +8 -2
  314. package/dist/index.es40.js +1 -1
  315. package/dist/index.es400.js +46 -2
  316. package/dist/index.es401.js +2 -8
  317. package/dist/index.es402.js +6 -2
  318. package/dist/index.es403.js +24 -4
  319. package/dist/index.es404.js +2 -76
  320. package/dist/index.es405.js +34 -94
  321. package/dist/index.es406.js +176 -53
  322. package/dist/index.es407.js +88 -9
  323. package/dist/index.es408.js +16 -6
  324. package/dist/index.es409.js +2 -52
  325. package/dist/index.es41.js +1 -1
  326. package/dist/index.es410.js +2 -16
  327. package/dist/index.es411.js +2 -29
  328. package/dist/index.es412.js +2 -13
  329. package/dist/index.es413.js +23 -6
  330. package/dist/index.es414.js +2 -2
  331. package/dist/index.es415.js +2 -8
  332. package/dist/index.es416.js +7 -45
  333. package/dist/index.es417.js +2 -2
  334. package/dist/index.es418.js +275 -6
  335. package/dist/index.es419.js +79 -21
  336. package/dist/index.es42.js +4 -4
  337. package/dist/index.es420.js +166 -2
  338. package/dist/index.es421.js +5 -35
  339. package/dist/index.es422.js +108 -176
  340. package/dist/index.es423.js +66 -88
  341. package/dist/index.es424.js +71 -17
  342. package/dist/index.es425.js +9 -2
  343. package/dist/index.es426.js +14 -2
  344. package/dist/index.es427.js +60 -2
  345. package/dist/index.es428.js +7 -2
  346. package/dist/index.es429.js +14 -22
  347. package/dist/index.es43.js +2 -2
  348. package/dist/index.es430.js +29 -2
  349. package/dist/index.es431.js +13 -2
  350. package/dist/index.es432.js +2 -47
  351. package/dist/index.es433.js +67 -74
  352. package/dist/index.es434.js +93 -2
  353. package/dist/index.es435.js +52 -2
  354. package/dist/index.es436.js +7 -64
  355. package/dist/index.es437.js +5 -69
  356. package/dist/index.es438.js +51 -8
  357. package/dist/index.es439.js +8 -16
  358. package/dist/index.es440.js +2 -60
  359. package/dist/index.es441.js +2 -14
  360. package/dist/index.es442.js +78 -59
  361. package/dist/index.es443.js +85 -264
  362. package/dist/index.es444.js +27 -82
  363. package/dist/index.es445.js +2 -166
  364. package/dist/index.es446.js +17 -4
  365. package/dist/index.es447.js +24 -4
  366. package/dist/index.es448.js +28 -4
  367. package/dist/index.es449.js +21 -81
  368. package/dist/index.es45.js +2 -2
  369. package/dist/index.es450.js +25 -98
  370. package/dist/index.es451.js +46 -24
  371. package/dist/index.es452.js +36 -4
  372. package/dist/index.es453.js +2 -2
  373. package/dist/index.es454.js +2 -3
  374. package/dist/index.es455.js +4 -11
  375. package/dist/index.es456.js +2 -2
  376. package/dist/index.es457.js +4 -6
  377. package/dist/index.es458.js +4 -49
  378. package/dist/index.es459.js +4 -36
  379. package/dist/index.es46.js +1 -1
  380. package/dist/index.es460.js +4 -21
  381. package/dist/index.es461.js +4 -23
  382. package/dist/index.es462.js +4 -21
  383. package/dist/index.es463.js +4 -21
  384. package/dist/index.es464.js +4 -23
  385. package/dist/index.es465.js +2 -2
  386. package/dist/index.es466.js +2 -2
  387. package/dist/index.es467.js +2 -2
  388. package/dist/index.es468.js +2 -2
  389. package/dist/index.es469.js +2 -2
  390. package/dist/index.es47.js +6 -6
  391. package/dist/index.es470.js +29 -4
  392. package/dist/index.es471.js +26 -4
  393. package/dist/index.es472.js +32 -4
  394. package/dist/index.es473.js +29 -4
  395. package/dist/index.es474.js +27 -4
  396. package/dist/index.es475.js +26 -4
  397. package/dist/index.es476.js +72 -4
  398. package/dist/index.es477.js +9 -12
  399. package/dist/index.es478.js +16 -10
  400. package/dist/index.es479.js +25 -13
  401. package/dist/index.es48.js +1 -1
  402. package/dist/index.es480.js +7 -10
  403. package/dist/index.es481.js +30 -11
  404. package/dist/index.es482.js +105 -8
  405. package/dist/index.es483.js +16 -42
  406. package/dist/index.es484.js +10 -9
  407. package/dist/index.es485.js +7 -13
  408. package/dist/index.es486.js +10 -28
  409. package/dist/index.es487.js +5 -5
  410. package/dist/index.es488.js +10 -33
  411. package/dist/index.es489.js +10 -103
  412. package/dist/index.es49.js +3 -3
  413. package/dist/index.es490.js +7 -27
  414. package/dist/index.es491.js +6 -12
  415. package/dist/index.es492.js +1 -1
  416. package/dist/index.es493.js +29 -7
  417. package/dist/index.es494.js +100 -8
  418. package/dist/index.es495.js +8 -7
  419. package/dist/index.es496.js +18 -12
  420. package/dist/index.es497.js +24 -6
  421. package/dist/index.es498.js +43 -9
  422. package/dist/index.es499.js +24 -6
  423. package/dist/index.es50.js +2 -2
  424. package/dist/index.es500.js +7 -29
  425. package/dist/index.es501.js +20 -95
  426. package/dist/index.es502.js +23 -11
  427. package/dist/index.es503.js +40 -14
  428. package/dist/index.es504.js +12 -20
  429. package/dist/index.es505.js +8 -40
  430. package/dist/index.es506.js +7 -25
  431. package/dist/index.es507.js +9 -5
  432. package/dist/index.es508.js +6 -28
  433. package/dist/index.es509.js +5 -15
  434. package/dist/index.es51.js +2 -2
  435. package/dist/index.es510.js +11 -30
  436. package/dist/index.es511.js +10 -18
  437. package/dist/index.es512.js +29 -10
  438. package/dist/index.es513.js +13 -11
  439. package/dist/index.es514.js +14 -16
  440. package/dist/index.es515.js +18 -7
  441. package/dist/index.es516.js +4 -4
  442. package/dist/index.es517.js +7 -29
  443. package/dist/index.es518.js +6 -13
  444. package/dist/index.es519.js +16 -15
  445. package/dist/index.es52.js +2 -2
  446. package/dist/index.es520.js +12 -14
  447. package/dist/index.es521.js +14 -12
  448. package/dist/index.es522.js +11 -10
  449. package/dist/index.es523.js +19 -9
  450. package/dist/index.es524.js +16 -6
  451. package/dist/index.es525.js +28 -6
  452. package/dist/index.es526.js +17 -26
  453. package/dist/index.es527.js +19 -9
  454. package/dist/index.es528.js +21 -10
  455. package/dist/index.es529.js +13 -16
  456. package/dist/index.es53.js +1 -1
  457. package/dist/index.es530.js +7 -22
  458. package/dist/index.es531.js +16 -13
  459. package/dist/index.es532.js +14 -24
  460. package/dist/index.es533.js +26 -19
  461. package/dist/index.es534.js +19 -18
  462. package/dist/index.es535.js +11 -23
  463. package/dist/index.es536.js +14 -18
  464. package/dist/index.es537.js +9 -4
  465. package/dist/index.es538.js +8 -16
  466. package/dist/index.es539.js +11 -16
  467. package/dist/index.es54.js +3 -3
  468. package/dist/index.es540.js +14 -27
  469. package/dist/index.es541.js +7 -15
  470. package/dist/index.es542.js +10 -9
  471. package/dist/index.es543.js +4 -9
  472. package/dist/index.es544.js +8 -3
  473. package/dist/index.es545.js +89 -9
  474. package/dist/index.es546.js +10 -12
  475. package/dist/index.es547.js +8 -15
  476. package/dist/index.es548.js +6 -7
  477. package/dist/index.es549.js +8 -17
  478. package/dist/index.es55.js +5 -5
  479. package/dist/index.es550.js +9 -3
  480. package/dist/index.es551.js +4 -14
  481. package/dist/index.es552.js +13 -93
  482. package/dist/index.es553.js +4 -26
  483. package/dist/index.es554.js +4 -21
  484. package/dist/index.es555.js +4 -28
  485. package/dist/index.es556.js +4 -21
  486. package/dist/index.es557.js +4 -27
  487. package/dist/index.es558.js +4 -21
  488. package/dist/index.es559.js +4 -26
  489. package/dist/index.es56.js +2 -2
  490. package/dist/index.es560.js +2 -2
  491. package/dist/index.es561.js +2 -2
  492. package/dist/index.es562.js +2 -2
  493. package/dist/index.es566.js +2 -2
  494. package/dist/index.es57.js +8 -8
  495. package/dist/index.es570.js +2 -2
  496. package/dist/index.es571.js +2 -2
  497. package/dist/index.es572.js +2 -2
  498. package/dist/index.es574.js +2 -2
  499. package/dist/index.es576.js +2 -2
  500. package/dist/index.es577.js +2 -2
  501. package/dist/index.es58.js +5 -5
  502. package/dist/index.es580.js +2 -2
  503. package/dist/index.es583.js +2 -2
  504. package/dist/index.es585.js +2 -2
  505. package/dist/index.es586.js +2 -2
  506. package/dist/index.es587.js +2 -2
  507. package/dist/index.es588.js +2 -2
  508. package/dist/index.es589.js +2 -2
  509. package/dist/index.es59.js +6 -6
  510. package/dist/index.es590.js +2 -2
  511. package/dist/index.es592.js +2 -2
  512. package/dist/index.es593.js +2 -2
  513. package/dist/index.es595.js +2 -2
  514. package/dist/index.es596.js +2 -2
  515. package/dist/index.es597.js +2 -2
  516. package/dist/index.es60.js +2 -2
  517. package/dist/index.es602.js +2 -2
  518. package/dist/index.es603.js +2 -2
  519. package/dist/index.es605.js +2 -2
  520. package/dist/index.es606.js +2 -2
  521. package/dist/index.es607.js +2 -2
  522. package/dist/index.es61.js +1 -1
  523. package/dist/index.es610.js +2 -2
  524. package/dist/index.es613.js +2 -2
  525. package/dist/index.es614.js +2 -2
  526. package/dist/index.es615.js +2 -2
  527. package/dist/index.es616.js +2 -2
  528. package/dist/index.es618.js +2 -2
  529. package/dist/index.es619.js +2 -2
  530. package/dist/index.es62.js +2 -2
  531. package/dist/index.es620.js +2 -2
  532. package/dist/index.es621.js +2 -2
  533. package/dist/index.es622.js +2 -2
  534. package/dist/index.es623.js +2 -2
  535. package/dist/index.es624.js +2 -2
  536. package/dist/index.es625.js +2 -2
  537. package/dist/index.es626.js +2 -2
  538. package/dist/index.es627.js +2 -2
  539. package/dist/index.es628.js +2 -2
  540. package/dist/index.es63.js +5 -5
  541. package/dist/index.es630.js +2 -2
  542. package/dist/index.es631.js +2 -2
  543. package/dist/index.es632.js +2 -2
  544. package/dist/index.es633.js +2 -2
  545. package/dist/index.es636.js +32 -4
  546. package/dist/index.es637.js +32 -4
  547. package/dist/index.es638.js +32 -4
  548. package/dist/index.es639.js +32 -4
  549. package/dist/index.es64.js +2 -2
  550. package/dist/index.es640.js +29 -4
  551. package/dist/index.es641.js +32 -4
  552. package/dist/index.es642.js +32 -4
  553. package/dist/index.es643.js +6 -9
  554. package/dist/index.es644.js +4 -4
  555. package/dist/index.es645.js +4 -4
  556. package/dist/index.es646.js +4 -4
  557. package/dist/index.es647.js +7 -4
  558. package/dist/index.es648.js +5 -5
  559. package/dist/index.es649.js +2 -2
  560. package/dist/index.es65.js +1 -1
  561. package/dist/index.es650.js +10 -7
  562. package/dist/index.es651.js +4 -4
  563. package/dist/index.es652.js +5 -5
  564. package/dist/index.es653.js +2 -2
  565. package/dist/index.es654.js +2 -2
  566. package/dist/index.es655.js +2 -2
  567. package/dist/index.es656.js +2 -7
  568. package/dist/index.es657.js +4 -4
  569. package/dist/index.es658.js +4 -4
  570. package/dist/index.es659.js +2 -2
  571. package/dist/index.es66.js +1 -1
  572. package/dist/index.es660.js +6 -9
  573. package/dist/index.es661.js +5 -5
  574. package/dist/index.es662.js +1 -1
  575. package/dist/index.es663.js +11 -9
  576. package/dist/index.es664.js +4 -4
  577. package/dist/index.es665.js +4 -5
  578. package/dist/index.es666.js +6 -6
  579. package/dist/index.es667.js +8 -5
  580. package/dist/index.es668.js +5 -5
  581. package/dist/index.es669.js +1 -1
  582. package/dist/index.es67.js +2 -2
  583. package/dist/index.es670.js +8 -11
  584. package/dist/index.es671.js +5 -5
  585. package/dist/index.es672.js +5 -4
  586. package/dist/index.es673.js +5 -5
  587. package/dist/index.es674.js +6 -6
  588. package/dist/index.es675.js +4 -32
  589. package/dist/index.es676.js +4 -32
  590. package/dist/index.es677.js +4 -26
  591. package/dist/index.es678.js +4 -32
  592. package/dist/index.es679.js +4 -32
  593. package/dist/index.es68.js +2 -2
  594. package/dist/index.es680.js +4 -32
  595. package/dist/index.es681.js +4 -32
  596. package/dist/index.es685.js +2 -2
  597. package/dist/index.es687.js +2 -2
  598. package/dist/index.es688.js +2 -2
  599. package/dist/index.es69.js +1 -1
  600. package/dist/index.es690.js +2 -2
  601. package/dist/index.es694.js +2 -2
  602. package/dist/index.es7.js +1 -1
  603. package/dist/index.es70.js +4 -4
  604. package/dist/index.es700.js +2 -2
  605. package/dist/index.es701.js +2 -2
  606. package/dist/index.es704.js +2 -2
  607. package/dist/index.es705.js +2 -2
  608. package/dist/index.es709.js +2 -2
  609. package/dist/index.es712.js +2 -2
  610. package/dist/index.es714.js +42 -4
  611. package/dist/index.es715.js +46 -4
  612. package/dist/index.es716.js +27 -4
  613. package/dist/index.es717.js +2 -2
  614. package/dist/index.es72.js +3 -3
  615. package/dist/index.es720.js +2 -2
  616. package/dist/index.es721.js +48 -41
  617. package/dist/index.es722.js +81 -42
  618. package/dist/index.es723.js +24 -27
  619. package/dist/index.es724.js +83 -2
  620. package/dist/index.es725.js +14 -2
  621. package/dist/index.es726.js +60 -2
  622. package/dist/index.es727.js +4 -2
  623. package/dist/index.es728.js +23 -2
  624. package/dist/index.es729.js +2 -4
  625. package/dist/index.es73.js +2 -2
  626. package/dist/index.es730.js +2 -23
  627. package/dist/index.es733.js +2 -22
  628. package/dist/index.es734.js +2 -83
  629. package/dist/index.es75.js +1 -1
  630. package/dist/index.es76.js +2 -2
  631. package/dist/index.es77.js +2 -2
  632. package/dist/index.es78.js +3 -3
  633. package/dist/index.es79.js +1 -1
  634. package/dist/index.es80.js +3 -3
  635. package/dist/index.es81.js +4 -4
  636. package/dist/index.es82.js +5 -5
  637. package/dist/index.es86.js +1 -1
  638. package/dist/index.es89.js +1 -1
  639. package/dist/index.es90.js +1 -1
  640. package/dist/index.es93.js +3674 -6
  641. package/dist/index.es94.js +7 -306
  642. package/dist/index.es95.js +6 -12
  643. package/dist/index.es97.js +305 -33
  644. package/dist/index.es98.js +12 -46
  645. package/dist/index.es99.js +34 -29
  646. package/dist/style.css +15 -0
  647. package/package.json +1 -1
@@ -1,400 +1,336 @@
1
- import { __exports as u } from "./index.es355.js";
2
- import _e from "react";
3
- import Te from "react-dom";
4
- /**
5
- * @license React
6
- * react-dom-test-utils.production.min.js
7
- *
8
- * Copyright (c) Facebook, Inc. and its affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var B;
14
- function Re() {
15
- if (B) return u;
16
- B = 1;
17
- var f = _e, T = Te;
18
- function N(e) {
19
- var n = e, t = e;
20
- if (e.alternate) for (; n.return; ) n = n.return;
21
- else {
22
- e = n;
23
- do
24
- n = e, n.flags & 4098 && (t = n.return), e = n.return;
25
- while (e);
26
- }
27
- return n.tag === 3 ? t : null;
28
- }
29
- function L(e) {
30
- if (N(e) !== e) throw Error("Unable to find node on an unmounted component.");
31
- }
32
- function q(e) {
33
- var n = e.alternate;
34
- if (!n) {
35
- if (n = N(e), n === null) throw Error("Unable to find node on an unmounted component.");
36
- return n !== e ? null : e;
37
- }
38
- for (var t = e, r = n; ; ) {
39
- var i = t.return;
40
- if (i === null) break;
41
- var a = i.alternate;
42
- if (a === null) {
43
- if (r = i.return, r !== null) {
44
- t = r;
45
- continue;
46
- }
47
- break;
48
- }
49
- if (i.child === a.child) {
50
- for (a = i.child; a; ) {
51
- if (a === t) return L(i), e;
52
- if (a === r) return L(i), n;
53
- a = a.sibling;
54
- }
55
- throw Error("Unable to find node on an unmounted component.");
56
- }
57
- if (t.return !== r.return) t = i, r = a;
58
- else {
59
- for (var o = !1, s = i.child; s; ) {
60
- if (s === t) {
61
- o = !0, t = i, r = a;
62
- break;
63
- }
64
- if (s === r) {
65
- o = !0, r = i, t = a;
66
- break;
67
- }
68
- s = s.sibling;
69
- }
70
- if (!o) {
71
- for (s = a.child; s; ) {
72
- if (s === t) {
73
- o = !0, t = a, r = i;
74
- break;
75
- }
76
- if (s === r) {
77
- o = !0, r = a, t = i;
78
- break;
79
- }
80
- s = s.sibling;
81
- }
82
- if (!o) throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
83
- }
84
- }
85
- if (t.alternate !== r) throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
86
- }
87
- if (t.tag !== 3) throw Error("Unable to find node on an unmounted component.");
88
- return t.stateNode.current === t ? e : n;
89
- }
90
- var l = Object.assign;
91
- function M(e) {
92
- var n = e.keyCode;
93
- return "charCode" in e ? (e = e.charCode, e === 0 && n === 13 && (e = 13)) : e = n, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
94
- }
95
- function C() {
96
- return !0;
97
- }
98
- function A() {
99
- return !1;
1
+ import C from "./index.es322.js";
2
+ import D from "./index.es323.js";
3
+ import o from "./index.es324.js";
4
+ import v from "react";
5
+ import b from "react-dom";
6
+ import T from "./index.es333.js";
7
+ import { timeoutsShape as R } from "./index.es328.js";
8
+ import O from "./index.es331.js";
9
+ import { forceReflow as k } from "./index.es329.js";
10
+ var x = "unmounted", f = "exited", l = "entering", h = "entered", N = "exiting", p = /* @__PURE__ */ function(d) {
11
+ D(u, d);
12
+ function u(i, e) {
13
+ var t;
14
+ t = d.call(this, i, e) || this;
15
+ var n = e, r = n && !n.isMounting ? i.enter : i.appear, s;
16
+ return t.appearStatus = null, i.in ? r ? (s = f, t.appearStatus = l) : s = h : i.unmountOnExit || i.mountOnEnter ? s = x : s = f, t.state = {
17
+ status: s
18
+ }, t.nextCallback = null, t;
100
19
  }
101
- function c(e) {
102
- function n(t, r, i, a, o) {
103
- this._reactName = t, this._targetInst = i, this.type = r, this.nativeEvent = a, this.target = o, this.currentTarget = null;
104
- for (var s in e) e.hasOwnProperty(s) && (t = e[s], this[s] = t ? t(a) : a[s]);
105
- return this.isDefaultPrevented = (a.defaultPrevented != null ? a.defaultPrevented : a.returnValue === !1) ? C : A, this.isPropagationStopped = A, this;
20
+ u.getDerivedStateFromProps = function(e, t) {
21
+ var n = e.in;
22
+ return n && t.status === x ? {
23
+ status: f
24
+ } : null;
25
+ };
26
+ var a = u.prototype;
27
+ return a.componentDidMount = function() {
28
+ this.updateStatus(!0, this.appearStatus);
29
+ }, a.componentDidUpdate = function(e) {
30
+ var t = null;
31
+ if (e !== this.props) {
32
+ var n = this.state.status;
33
+ this.props.in ? n !== l && n !== h && (t = l) : (n === l || n === h) && (t = N);
106
34
  }
107
- return l(n.prototype, { preventDefault: function() {
108
- this.defaultPrevented = !0;
109
- var t = this.nativeEvent;
110
- t && (t.preventDefault ? t.preventDefault() : typeof t.returnValue != "unknown" && (t.returnValue = !1), this.isDefaultPrevented = C);
111
- }, stopPropagation: function() {
112
- var t = this.nativeEvent;
113
- t && (t.stopPropagation ? t.stopPropagation() : typeof t.cancelBubble != "unknown" && (t.cancelBubble = !0), this.isPropagationStopped = C);
114
- }, persist: function() {
115
- }, isPersistent: C }), n;
116
- }
117
- var h = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
118
- return e.timeStamp || Date.now();
119
- }, defaultPrevented: 0, isTrusted: 0 }, z = c(h), m = l({}, h, { view: 0, detail: 0 });
120
- c(m);
121
- var O, P, y, E = l({}, m, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: R, button: 0, buttons: 0, relatedTarget: function(e) {
122
- return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
123
- }, movementX: function(e) {
124
- return "movementX" in e ? e.movementX : (e !== y && (y && e.type === "mousemove" ? (O = e.screenX - y.screenX, P = e.screenY - y.screenY) : P = O = 0, y = e), O);
125
- }, movementY: function(e) {
126
- return "movementY" in e ? e.movementY : P;
127
- } });
128
- c(E);
129
- var H = l({}, E, { dataTransfer: 0 });
130
- c(H);
131
- var Z = l({}, m, { relatedTarget: 0 });
132
- c(Z);
133
- var G = l({}, h, { animationName: 0, elapsedTime: 0, pseudoElement: 0 });
134
- c(G);
135
- var J = l({}, h, { clipboardData: function(e) {
136
- return "clipboardData" in e ? e.clipboardData : window.clipboardData;
137
- } });
138
- c(J);
139
- var Q = l({}, h, { data: 0 });
140
- c(Q);
141
- var $ = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, ee = {
142
- 8: "Backspace",
143
- 9: "Tab",
144
- 12: "Clear",
145
- 13: "Enter",
146
- 16: "Shift",
147
- 17: "Control",
148
- 18: "Alt",
149
- 19: "Pause",
150
- 20: "CapsLock",
151
- 27: "Escape",
152
- 32: " ",
153
- 33: "PageUp",
154
- 34: "PageDown",
155
- 35: "End",
156
- 36: "Home",
157
- 37: "ArrowLeft",
158
- 38: "ArrowUp",
159
- 39: "ArrowRight",
160
- 40: "ArrowDown",
161
- 45: "Insert",
162
- 46: "Delete",
163
- 112: "F1",
164
- 113: "F2",
165
- 114: "F3",
166
- 115: "F4",
167
- 116: "F5",
168
- 117: "F6",
169
- 118: "F7",
170
- 119: "F8",
171
- 120: "F9",
172
- 121: "F10",
173
- 122: "F11",
174
- 123: "F12",
175
- 144: "NumLock",
176
- 145: "ScrollLock",
177
- 224: "Meta"
178
- }, te = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
179
- function ne(e) {
180
- var n = this.nativeEvent;
181
- return n.getModifierState ? n.getModifierState(e) : (e = te[e]) ? !!n[e] : !1;
182
- }
183
- function R() {
184
- return ne;
185
- }
186
- var re = l({}, m, { key: function(e) {
187
- if (e.key) {
188
- var n = $[e.key] || e.key;
189
- if (n !== "Unidentified") return n;
190
- }
191
- return e.type === "keypress" ? (e = M(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? ee[e.keyCode] || "Unidentified" : "";
192
- }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: R, charCode: function(e) {
193
- return e.type === "keypress" ? M(e) : 0;
194
- }, keyCode: function(e) {
195
- return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
196
- }, which: function(e) {
197
- return e.type === "keypress" ? M(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
198
- } });
199
- c(re);
200
- var oe = l({}, E, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 });
201
- c(oe);
202
- var ie = l({}, m, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: R });
203
- c(ie);
204
- var ae = l({}, h, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 });
205
- c(ae);
206
- var se = l({}, E, { deltaX: function(e) {
207
- return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
208
- }, deltaY: function(e) {
209
- return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;
210
- }, deltaZ: 0, deltaMode: 0 });
211
- c(se);
212
- function ue(e, n, t, r, i, a, o, s, w) {
213
- var d = Array.prototype.slice.call(arguments, 3);
214
- try {
215
- n.apply(t, d);
216
- } catch (ke) {
217
- this.onError(ke);
218
- }
219
- }
220
- var v = !1, D = null, b = !1, S = null, le = { onError: function(e) {
221
- v = !0, D = e;
222
- } };
223
- function ce(e, n, t, r, i, a, o, s, w) {
224
- v = !1, D = null, ue.apply(le, arguments);
225
- }
226
- function de(e, n, t, r, i, a, o, s, w) {
227
- if (ce.apply(this, arguments), v) {
228
- if (v) {
229
- var d = D;
230
- v = !1, D = null;
231
- } else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
232
- b || (b = !0, S = d);
233
- }
234
- }
235
- var U = Array.isArray, g = T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, pe = g[0], fe = g[1], he = g[2], me = g[3], ye = g[4], ve = f.unstable_act;
236
- function ge() {
237
- }
238
- function we(e, n) {
239
- if (!e) return [];
240
- if (e = q(e), !e) return [];
241
- for (var t = e, r = []; ; ) {
242
- if (t.tag === 5 || t.tag === 6 || t.tag === 1 || t.tag === 0) {
243
- var i = t.stateNode;
244
- n(i) && r.push(i);
245
- }
246
- if (t.child) t.child.return = t, t = t.child;
247
- else {
248
- if (t === e) return r;
249
- for (; !t.sibling; ) {
250
- if (!t.return || t.return === e) return r;
251
- t = t.return;
35
+ this.updateStatus(!1, t);
36
+ }, a.componentWillUnmount = function() {
37
+ this.cancelNextCallback();
38
+ }, a.getTimeouts = function() {
39
+ var e = this.props.timeout, t, n, r;
40
+ return t = n = r = e, e != null && typeof e != "number" && (t = e.exit, n = e.enter, r = e.appear !== void 0 ? e.appear : n), {
41
+ exit: t,
42
+ enter: n,
43
+ appear: r
44
+ };
45
+ }, a.updateStatus = function(e, t) {
46
+ if (e === void 0 && (e = !1), t !== null)
47
+ if (this.cancelNextCallback(), t === l) {
48
+ if (this.props.unmountOnExit || this.props.mountOnEnter) {
49
+ var n = this.props.nodeRef ? this.props.nodeRef.current : b.findDOMNode(this);
50
+ n && k(n);
252
51
  }
253
- t.sibling.return = t.return, t = t.sibling;
254
- }
255
- }
256
- }
257
- function p(e, n) {
258
- if (e && !e._reactInternals) {
259
- var t = String(e);
260
- throw e = U(e) ? "an array" : e && e.nodeType === 1 && e.tagName ? "a DOM node" : t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t, Error(n + "(...): the first argument must be a React class instance. Instead received: " + (e + "."));
52
+ this.performEnter(e);
53
+ } else
54
+ this.performExit();
55
+ else this.props.unmountOnExit && this.state.status === f && this.setState({
56
+ status: x
57
+ });
58
+ }, a.performEnter = function(e) {
59
+ var t = this, n = this.props.enter, r = this.context ? this.context.isMounting : e, s = this.props.nodeRef ? [r] : [b.findDOMNode(this), r], c = s[0], m = s[1], S = this.getTimeouts(), g = r ? S.appear : S.enter;
60
+ if (!e && !n || T.disabled) {
61
+ this.safeSetState({
62
+ status: h
63
+ }, function() {
64
+ t.props.onEntered(c);
65
+ });
66
+ return;
261
67
  }
262
- }
263
- function k(e) {
264
- return !(!e || e.nodeType !== 1 || !e.tagName);
265
- }
266
- function I(e) {
267
- return k(e) ? !1 : e != null && typeof e.render == "function" && typeof e.setState == "function";
268
- }
269
- function x(e, n) {
270
- return I(e) ? e._reactInternals.type === n : !1;
271
- }
272
- function _(e, n) {
273
- return p(e, "findAllInRenderedTree"), e ? we(e._reactInternals, n) : [];
274
- }
275
- function K(e, n) {
276
- return p(e, "scryRenderedDOMComponentsWithClass"), _(e, function(t) {
277
- if (k(t)) {
278
- var r = t.className;
279
- typeof r != "string" && (r = t.getAttribute("class") || "");
280
- var i = r.split(/\s+/);
281
- if (!U(n)) {
282
- if (n === void 0) throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
283
- n = n.split(/\s+/);
284
- }
285
- return n.every(function(a) {
286
- return i.indexOf(a) !== -1;
68
+ this.props.onEnter(c, m), this.safeSetState({
69
+ status: l
70
+ }, function() {
71
+ t.props.onEntering(c, m), t.onTransitionEnd(g, function() {
72
+ t.safeSetState({
73
+ status: h
74
+ }, function() {
75
+ t.props.onEntered(c, m);
287
76
  });
288
- }
289
- return !1;
290
- });
291
- }
292
- function W(e, n) {
293
- return p(e, "scryRenderedDOMComponentsWithTag"), _(e, function(t) {
294
- return k(t) && t.tagName.toUpperCase() === n.toUpperCase();
77
+ });
295
78
  });
296
- }
297
- function Y(e, n) {
298
- return p(e, "scryRenderedComponentsWithType"), _(e, function(t) {
299
- return x(t, n);
79
+ }, a.performExit = function() {
80
+ var e = this, t = this.props.exit, n = this.getTimeouts(), r = this.props.nodeRef ? void 0 : b.findDOMNode(this);
81
+ if (!t || T.disabled) {
82
+ this.safeSetState({
83
+ status: f
84
+ }, function() {
85
+ e.props.onExited(r);
86
+ });
87
+ return;
88
+ }
89
+ this.props.onExit(r), this.safeSetState({
90
+ status: N
91
+ }, function() {
92
+ e.props.onExiting(r), e.onTransitionEnd(n.exit, function() {
93
+ e.safeSetState({
94
+ status: f
95
+ }, function() {
96
+ e.props.onExited(r);
97
+ });
98
+ });
300
99
  });
301
- }
302
- function X(e, n, t) {
303
- var r = e.type || "unknown-event";
304
- e.currentTarget = fe(t), de(r, n, void 0, e), e.currentTarget = null;
305
- }
306
- function F(e, n, t) {
307
- for (var r = []; e; ) {
308
- r.push(e);
309
- do
310
- e = e.return;
311
- while (e && e.tag !== 5);
312
- e = e || null;
100
+ }, a.cancelNextCallback = function() {
101
+ this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
102
+ }, a.safeSetState = function(e, t) {
103
+ t = this.setNextCallback(t), this.setState(e, t);
104
+ }, a.setNextCallback = function(e) {
105
+ var t = this, n = !0;
106
+ return this.nextCallback = function(r) {
107
+ n && (n = !1, t.nextCallback = null, e(r));
108
+ }, this.nextCallback.cancel = function() {
109
+ n = !1;
110
+ }, this.nextCallback;
111
+ }, a.onTransitionEnd = function(e, t) {
112
+ this.setNextCallback(t);
113
+ var n = this.props.nodeRef ? this.props.nodeRef.current : b.findDOMNode(this), r = e == null && !this.props.addEndListener;
114
+ if (!n || r) {
115
+ setTimeout(this.nextCallback, 0);
116
+ return;
313
117
  }
314
- for (e = r.length; 0 < e--; ) n(r[e], "captured", t);
315
- for (e = 0; e < r.length; e++) n(r[e], "bubbled", t);
316
- }
317
- function V(e, n) {
318
- var t = e.stateNode;
319
- if (!t) return null;
320
- var r = he(t);
321
- if (!r) return null;
322
- t = r[n];
323
- e: switch (n) {
324
- case "onClick":
325
- case "onClickCapture":
326
- case "onDoubleClick":
327
- case "onDoubleClickCapture":
328
- case "onMouseDown":
329
- case "onMouseDownCapture":
330
- case "onMouseMove":
331
- case "onMouseMoveCapture":
332
- case "onMouseUp":
333
- case "onMouseUpCapture":
334
- case "onMouseEnter":
335
- (r = !r.disabled) || (e = e.type, r = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !r;
336
- break e;
337
- default:
338
- e = !1;
118
+ if (this.props.addEndListener) {
119
+ var s = this.props.nodeRef ? [this.nextCallback] : [n, this.nextCallback], c = s[0], m = s[1];
120
+ this.props.addEndListener(c, m);
339
121
  }
340
- if (e) return null;
341
- if (t && typeof t != "function") throw Error("Expected `" + n + "` listener to be a function, instead got a value of `" + typeof t + "` type.");
342
- return t;
343
- }
344
- function Ce(e, n, t) {
345
- e && t && t._reactName && (n = V(e, t._reactName)) && (t._dispatchListeners == null && (t._dispatchListeners = []), t._dispatchInstances == null && (t._dispatchInstances = []), t._dispatchListeners.push(n), t._dispatchInstances.push(e));
346
- }
347
- function Ee(e, n, t) {
348
- var r = t._reactName;
349
- n === "captured" && (r += "Capture"), (n = V(e, r)) && (t._dispatchListeners == null && (t._dispatchListeners = []), t._dispatchInstances == null && (t._dispatchInstances = []), t._dispatchListeners.push(n), t._dispatchInstances.push(e));
350
- }
351
- var j = {}, De = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
352
- function be(e) {
353
- return function(n, t) {
354
- if (f.isValidElement(n)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
355
- if (I(n)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
356
- var r = "on" + e[0].toUpperCase() + e.slice(1), i = new ge();
357
- i.target = n, i.type = e.toLowerCase();
358
- var a = pe(n), o = new z(r, i.type, a, i, n);
359
- o.persist(), l(o, t), De.has(e) ? o && o._reactName && Ce(o._targetInst, null, o) : o && o._reactName && F(o._targetInst, Ee, o), T.unstable_batchedUpdates(function() {
360
- if (me(n), o) {
361
- var s = o._dispatchListeners, w = o._dispatchInstances;
362
- if (U(s)) for (var d = 0; d < s.length && !o.isPropagationStopped(); d++) X(o, s[d], w[d]);
363
- else s && X(o, s, w);
364
- o._dispatchListeners = null, o._dispatchInstances = null, o.isPersistent() || o.constructor.release(o);
365
- }
366
- if (b) throw s = S, b = !1, S = null, s;
367
- }), ye();
368
- };
369
- }
370
- return "blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(e) {
371
- j[e] = be(e);
372
- }), u.Simulate = j, u.act = ve, u.findAllInRenderedTree = _, u.findRenderedComponentWithType = function(e, n) {
373
- if (p(e, "findRenderedComponentWithType"), e = Y(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for componentType:" + n);
374
- return e[0];
375
- }, u.findRenderedDOMComponentWithClass = function(e, n) {
376
- if (p(e, "findRenderedDOMComponentWithClass"), e = K(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for class:" + n);
377
- return e[0];
378
- }, u.findRenderedDOMComponentWithTag = function(e, n) {
379
- if (p(e, "findRenderedDOMComponentWithTag"), e = W(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for tag:" + n);
380
- return e[0];
381
- }, u.isCompositeComponent = I, u.isCompositeComponentWithType = x, u.isDOMComponent = k, u.isDOMComponentElement = function(e) {
382
- return !!(e && f.isValidElement(e) && e.tagName);
383
- }, u.isElement = function(e) {
384
- return f.isValidElement(e);
385
- }, u.isElementOfType = function(e, n) {
386
- return f.isValidElement(e) && e.type === n;
387
- }, u.mockComponent = function(e, n) {
388
- return n = n || e.mockTagName || "div", e.prototype.render.mockImplementation(function() {
389
- return f.createElement(n, null, this.props.children);
390
- }), this;
391
- }, u.nativeTouchData = function(e, n) {
392
- return { touches: [{ pageX: e, pageY: n }] };
393
- }, u.renderIntoDocument = function(e) {
394
- var n = document.createElement("div");
395
- return T.render(e, n);
396
- }, u.scryRenderedComponentsWithType = Y, u.scryRenderedDOMComponentsWithClass = K, u.scryRenderedDOMComponentsWithTag = W, u.traverseTwoPhase = F, u;
122
+ e != null && setTimeout(this.nextCallback, e);
123
+ }, a.render = function() {
124
+ var e = this.state.status;
125
+ if (e === x)
126
+ return null;
127
+ var t = this.props, n = t.children;
128
+ t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
129
+ var r = C(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
130
+ return (
131
+ // allows for nested Transitions
132
+ /* @__PURE__ */ v.createElement(O.Provider, {
133
+ value: null
134
+ }, typeof n == "function" ? n(e, r) : v.cloneElement(v.Children.only(n), r))
135
+ );
136
+ }, u;
137
+ }(v.Component);
138
+ p.contextType = O;
139
+ p.propTypes = process.env.NODE_ENV !== "production" ? {
140
+ /**
141
+ * A React reference to DOM element that need to transition:
142
+ * https://stackoverflow.com/a/51127130/4671932
143
+ *
144
+ * - When `nodeRef` prop is used, `node` is not passed to callback functions
145
+ * (e.g. `onEnter`) because user already has direct access to the node.
146
+ * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
147
+ * `nodeRef` need to be provided to `Transition` with changed `key` prop
148
+ * (see
149
+ * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
150
+ */
151
+ nodeRef: o.shape({
152
+ current: typeof Element > "u" ? o.any : function(d, u, a, i, e, t) {
153
+ var n = d[u];
154
+ return o.instanceOf(n && "ownerDocument" in n ? n.ownerDocument.defaultView.Element : Element)(d, u, a, i, e, t);
155
+ }
156
+ }),
157
+ /**
158
+ * A `function` child can be used instead of a React element. This function is
159
+ * called with the current transition status (`'entering'`, `'entered'`,
160
+ * `'exiting'`, `'exited'`), which can be used to apply context
161
+ * specific props to a component.
162
+ *
163
+ * ```jsx
164
+ * <Transition in={this.state.in} timeout={150}>
165
+ * {state => (
166
+ * <MyComponent className={`fade fade-${state}`} />
167
+ * )}
168
+ * </Transition>
169
+ * ```
170
+ */
171
+ children: o.oneOfType([o.func.isRequired, o.element.isRequired]).isRequired,
172
+ /**
173
+ * Show the component; triggers the enter or exit states
174
+ */
175
+ in: o.bool,
176
+ /**
177
+ * By default the child component is mounted immediately along with
178
+ * the parent `Transition` component. If you want to "lazy mount" the component on the
179
+ * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
180
+ * mounted, even on "exited", unless you also specify `unmountOnExit`.
181
+ */
182
+ mountOnEnter: o.bool,
183
+ /**
184
+ * By default the child component stays mounted after it reaches the `'exited'` state.
185
+ * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
186
+ */
187
+ unmountOnExit: o.bool,
188
+ /**
189
+ * By default the child component does not perform the enter transition when
190
+ * it first mounts, regardless of the value of `in`. If you want this
191
+ * behavior, set both `appear` and `in` to `true`.
192
+ *
193
+ * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
194
+ * > only adds an additional enter transition. However, in the
195
+ * > `<CSSTransition>` component that first enter transition does result in
196
+ * > additional `.appear-*` classes, that way you can choose to style it
197
+ * > differently.
198
+ */
199
+ appear: o.bool,
200
+ /**
201
+ * Enable or disable enter transitions.
202
+ */
203
+ enter: o.bool,
204
+ /**
205
+ * Enable or disable exit transitions.
206
+ */
207
+ exit: o.bool,
208
+ /**
209
+ * The duration of the transition, in milliseconds.
210
+ * Required unless `addEndListener` is provided.
211
+ *
212
+ * You may specify a single timeout for all transitions:
213
+ *
214
+ * ```jsx
215
+ * timeout={500}
216
+ * ```
217
+ *
218
+ * or individually:
219
+ *
220
+ * ```jsx
221
+ * timeout={{
222
+ * appear: 500,
223
+ * enter: 300,
224
+ * exit: 500,
225
+ * }}
226
+ * ```
227
+ *
228
+ * - `appear` defaults to the value of `enter`
229
+ * - `enter` defaults to `0`
230
+ * - `exit` defaults to `0`
231
+ *
232
+ * @type {number | { enter?: number, exit?: number, appear?: number }}
233
+ */
234
+ timeout: function(u) {
235
+ var a = R;
236
+ u.addEndListener || (a = a.isRequired);
237
+ for (var i = arguments.length, e = new Array(i > 1 ? i - 1 : 0), t = 1; t < i; t++)
238
+ e[t - 1] = arguments[t];
239
+ return a.apply(void 0, [u].concat(e));
240
+ },
241
+ /**
242
+ * Add a custom transition end trigger. Called with the transitioning
243
+ * DOM node and a `done` callback. Allows for more fine grained transition end
244
+ * logic. Timeouts are still used as a fallback if provided.
245
+ *
246
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
247
+ *
248
+ * ```jsx
249
+ * addEndListener={(node, done) => {
250
+ * // use the css transitionend event to mark the finish of a transition
251
+ * node.addEventListener('transitionend', done, false);
252
+ * }}
253
+ * ```
254
+ */
255
+ addEndListener: o.func,
256
+ /**
257
+ * Callback fired before the "entering" status is applied. An extra parameter
258
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
259
+ *
260
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
261
+ *
262
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
263
+ */
264
+ onEnter: o.func,
265
+ /**
266
+ * Callback fired after the "entering" status is applied. An extra parameter
267
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
268
+ *
269
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
270
+ *
271
+ * @type Function(node: HtmlElement, isAppearing: bool)
272
+ */
273
+ onEntering: o.func,
274
+ /**
275
+ * Callback fired after the "entered" status is applied. An extra parameter
276
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
277
+ *
278
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
279
+ *
280
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
281
+ */
282
+ onEntered: o.func,
283
+ /**
284
+ * Callback fired before the "exiting" status is applied.
285
+ *
286
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
287
+ *
288
+ * @type Function(node: HtmlElement) -> void
289
+ */
290
+ onExit: o.func,
291
+ /**
292
+ * Callback fired after the "exiting" status is applied.
293
+ *
294
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
295
+ *
296
+ * @type Function(node: HtmlElement) -> void
297
+ */
298
+ onExiting: o.func,
299
+ /**
300
+ * Callback fired after the "exited" status is applied.
301
+ *
302
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
303
+ *
304
+ * @type Function(node: HtmlElement) -> void
305
+ */
306
+ onExited: o.func
307
+ } : {};
308
+ function E() {
397
309
  }
310
+ p.defaultProps = {
311
+ in: !1,
312
+ mountOnEnter: !1,
313
+ unmountOnExit: !1,
314
+ appear: !1,
315
+ enter: !0,
316
+ exit: !0,
317
+ onEnter: E,
318
+ onEntering: E,
319
+ onEntered: E,
320
+ onExit: E,
321
+ onExiting: E,
322
+ onExited: E
323
+ };
324
+ p.UNMOUNTED = x;
325
+ p.EXITED = f;
326
+ p.ENTERING = l;
327
+ p.ENTERED = h;
328
+ p.EXITING = N;
398
329
  export {
399
- Re as __require
330
+ h as ENTERED,
331
+ l as ENTERING,
332
+ f as EXITED,
333
+ N as EXITING,
334
+ x as UNMOUNTED,
335
+ p as default
400
336
  };