@boxcustodia/library 0.2.4 → 0.2.5

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 (398) hide show
  1. package/dist/index.es10.js +1 -1
  2. package/dist/index.es100.js +21 -1059
  3. package/dist/index.es101.js +30 -3674
  4. package/dist/index.es102.js +12 -4
  5. package/dist/index.es103.js +1062 -4
  6. package/dist/index.es104.js +3672 -7
  7. package/dist/index.es105.js +4 -4
  8. package/dist/index.es106.js +4 -14
  9. package/dist/index.es107.js +11 -5
  10. package/dist/index.es108.js +257 -55
  11. package/dist/index.es109.js +12 -224
  12. package/dist/index.es110.js +4 -11
  13. package/dist/index.es111.js +7 -4
  14. package/dist/index.es112.js +5 -41
  15. package/dist/index.es113.js +57 -21
  16. package/dist/index.es114.js +21 -12
  17. package/dist/index.es115.js +5 -4
  18. package/dist/index.es116.js +3 -4
  19. package/dist/index.es117.js +5 -4
  20. package/dist/index.es118.js +14 -14
  21. package/dist/index.es119.js +18 -18
  22. package/dist/index.es120.js +1 -1
  23. package/dist/index.es121.js +1 -1
  24. package/dist/index.es122.js +64 -4
  25. package/dist/index.es123.js +30 -61
  26. package/dist/index.es124.js +13 -33
  27. package/dist/index.es125.js +13 -13
  28. package/dist/index.es126.js +4 -216
  29. package/dist/index.es127.js +216 -13
  30. package/dist/index.es13.js +1 -1
  31. package/dist/index.es133.js +1 -1
  32. package/dist/index.es135.js +11 -10
  33. package/dist/index.es136.js +12 -205
  34. package/dist/index.es137.js +205 -11
  35. package/dist/index.es138.js +10 -20
  36. package/dist/index.es139.js +5 -35
  37. package/dist/index.es14.js +1 -1
  38. package/dist/index.es140.js +63 -9
  39. package/dist/index.es141.js +32 -12
  40. package/dist/index.es142.js +649 -6
  41. package/dist/index.es143.js +10 -64
  42. package/dist/index.es144.js +20 -10
  43. package/dist/index.es145.js +33 -121
  44. package/dist/index.es146.js +7 -131
  45. package/dist/index.es147.js +6 -14
  46. package/dist/index.es148.js +2 -33
  47. package/dist/index.es149.js +122 -12
  48. package/dist/index.es150.js +134 -8
  49. package/dist/index.es151.js +14 -50
  50. package/dist/index.es152.js +14 -5
  51. package/dist/index.es153.js +9 -2
  52. package/dist/index.es154.js +46 -40
  53. package/dist/index.es155.js +40 -646
  54. package/dist/index.es156.js +9 -9
  55. package/dist/index.es157.js +4 -4
  56. package/dist/index.es158.js +3 -45
  57. package/dist/index.es159.js +45 -7
  58. package/dist/index.es160.js +8 -4
  59. package/dist/index.es162.js +1 -1
  60. package/dist/index.es163.js +118 -6
  61. package/dist/index.es164.js +35 -3
  62. package/dist/index.es165.js +6 -2054
  63. package/dist/index.es166.js +3 -120
  64. package/dist/index.es167.js +2054 -33
  65. package/dist/index.es181.js +2 -2
  66. package/dist/index.es183.js +177 -11
  67. package/dist/index.es184.js +11 -7
  68. package/dist/index.es185.js +21 -6
  69. package/dist/index.es186.js +9 -5
  70. package/dist/index.es187.js +38 -18
  71. package/dist/index.es188.js +18 -6
  72. package/dist/index.es189.js +200 -5
  73. package/dist/index.es190.js +22 -9
  74. package/dist/index.es191.js +25 -6
  75. package/dist/index.es192.js +370 -6
  76. package/dist/index.es193.js +25 -16
  77. package/dist/index.es194.js +12 -12
  78. package/dist/index.es195.js +6 -13
  79. package/dist/index.es196.js +1 -1
  80. package/dist/index.es197.js +19 -7
  81. package/dist/index.es198.js +52 -7
  82. package/dist/index.es199.js +6 -4
  83. package/dist/index.es200.js +6 -515
  84. package/dist/index.es201.js +7 -50
  85. package/dist/index.es202.js +7 -17
  86. package/dist/index.es203.js +16 -10
  87. package/dist/index.es204.js +9 -19
  88. package/dist/index.es205.js +6 -8
  89. package/dist/index.es206.js +6 -7
  90. package/dist/index.es207.js +13 -7
  91. package/dist/index.es208.js +10 -5
  92. package/dist/index.es209.js +84 -6
  93. package/dist/index.es210.js +5 -9
  94. package/dist/index.es211.js +17 -5
  95. package/dist/index.es212.js +5 -8
  96. package/dist/index.es213.js +6 -12
  97. package/dist/index.es214.js +6 -9
  98. package/dist/index.es215.js +9 -8
  99. package/dist/index.es216.js +6 -10
  100. package/dist/index.es217.js +7 -14
  101. package/dist/index.es218.js +5 -6
  102. package/dist/index.es219.js +4 -6
  103. package/dist/index.es220.js +5 -6
  104. package/dist/index.es221.js +8 -6
  105. package/dist/index.es222.js +6 -7
  106. package/dist/index.es223.js +15 -9
  107. package/dist/index.es224.js +4 -84
  108. package/dist/index.es225.js +515 -64
  109. package/dist/index.es226.js +47 -35
  110. package/dist/index.es227.js +17 -9
  111. package/dist/index.es228.js +9 -8
  112. package/dist/index.es229.js +19 -8
  113. package/dist/index.es230.js +8 -10
  114. package/dist/index.es231.js +7 -7
  115. package/dist/index.es232.js +7 -7
  116. package/dist/index.es233.js +5 -6
  117. package/dist/index.es234.js +6 -5
  118. package/dist/index.es235.js +9 -15
  119. package/dist/index.es236.js +5 -177
  120. package/dist/index.es237.js +9 -21
  121. package/dist/index.es238.js +13 -9
  122. package/dist/index.es239.js +10 -38
  123. package/dist/index.es240.js +11 -18
  124. package/dist/index.es241.js +15 -25
  125. package/dist/index.es242.js +64 -18
  126. package/dist/index.es243.js +38 -52
  127. package/dist/index.es244.js +10 -16
  128. package/dist/index.es245.js +8 -200
  129. package/dist/index.es246.js +8 -22
  130. package/dist/index.es247.js +7 -24
  131. package/dist/index.es248.js +15 -370
  132. package/dist/index.es249.js +7 -7
  133. package/dist/index.es250.js +1 -1
  134. package/dist/index.es251.js +1 -1
  135. package/dist/index.es252.js +2 -2
  136. package/dist/index.es264.js +1 -1
  137. package/dist/index.es265.js +1 -1
  138. package/dist/index.es266.js +1 -1
  139. package/dist/index.es267.js +1 -1
  140. package/dist/index.es27.js +1 -1
  141. package/dist/index.es273.js +1 -1
  142. package/dist/index.es274.js +1 -1
  143. package/dist/index.es275.js +12 -12
  144. package/dist/index.es276.js +2 -2
  145. package/dist/index.es277.js +2 -2
  146. package/dist/index.es278.js +8 -8
  147. package/dist/index.es279.js +2 -2
  148. package/dist/index.es28.js +1 -1
  149. package/dist/index.es284.js +4 -4
  150. package/dist/index.es29.js +3 -3
  151. package/dist/index.es290.js +9 -4
  152. package/dist/index.es291.js +5 -57
  153. package/dist/index.es292.js +13 -28
  154. package/dist/index.es293.js +4 -46
  155. package/dist/index.es294.js +6 -66
  156. package/dist/index.es295.js +332 -36
  157. package/dist/index.es296.js +19 -19
  158. package/dist/index.es297.js +4 -68
  159. package/dist/index.es298.js +4 -67
  160. package/dist/index.es299.js +3 -69
  161. package/dist/index.es30.js +6 -6
  162. package/dist/index.es300.js +69 -66
  163. package/dist/index.es301.js +4 -46
  164. package/dist/index.es302.js +4 -46
  165. package/dist/index.es303.js +53 -55
  166. package/dist/index.es304.js +20 -41
  167. package/dist/index.es305.js +38 -34
  168. package/dist/index.es306.js +43 -48
  169. package/dist/index.es307.js +21 -55
  170. package/dist/index.es308.js +13 -91
  171. package/dist/index.es309.js +45 -24
  172. package/dist/index.es310.js +51 -30
  173. package/dist/index.es311.js +54 -32
  174. package/dist/index.es312.js +60 -22
  175. package/dist/index.es313.js +35 -19
  176. package/dist/index.es314.js +38 -21
  177. package/dist/index.es315.js +50 -22
  178. package/dist/index.es316.js +38 -19
  179. package/dist/index.es317.js +34 -21
  180. package/dist/index.es318.js +66 -14
  181. package/dist/index.es319.js +63 -37
  182. package/dist/index.es32.js +2 -2
  183. package/dist/index.es320.js +86 -35
  184. package/dist/index.es321.js +41 -14
  185. package/dist/index.es322.js +41 -14
  186. package/dist/index.es323.js +45 -8
  187. package/dist/index.es324.js +30 -4
  188. package/dist/index.es325.js +30 -13
  189. package/dist/index.es326.js +29 -4
  190. package/dist/index.es327.js +30 -6
  191. package/dist/index.es328.js +27 -331
  192. package/dist/index.es329.js +30 -19
  193. package/dist/index.es33.js +2 -2
  194. package/dist/index.es330.js +20 -4
  195. package/dist/index.es331.js +45 -4
  196. package/dist/index.es332.js +46 -3
  197. package/dist/index.es333.js +17 -69
  198. package/dist/index.es334.js +20 -4
  199. package/dist/index.es335.js +2 -6
  200. package/dist/index.es336.js +2 -34
  201. package/dist/index.es337.js +6 -26
  202. package/dist/index.es338.js +34 -18
  203. package/dist/index.es339.js +25 -4
  204. package/dist/index.es34.js +39 -38
  205. package/dist/index.es340.js +18 -231
  206. package/dist/index.es341.js +5 -100
  207. package/dist/index.es342.js +229 -26
  208. package/dist/index.es343.js +80 -35
  209. package/dist/index.es344.js +28 -2
  210. package/dist/index.es345.js +55 -2
  211. package/dist/index.es346.js +2 -2
  212. package/dist/index.es347.js +1 -1
  213. package/dist/index.es348.js +1 -1
  214. package/dist/index.es349.js +1 -1
  215. package/dist/index.es35.js +2 -2
  216. package/dist/index.es350.js +29 -2
  217. package/dist/index.es351.js +5 -106
  218. package/dist/index.es352.js +2 -76
  219. package/dist/index.es353.js +107 -36
  220. package/dist/index.es354.js +73 -60
  221. package/dist/index.es355.js +30 -28
  222. package/dist/index.es356.js +61 -63
  223. package/dist/index.es357.js +30 -109
  224. package/dist/index.es358.js +59 -87
  225. package/dist/index.es359.js +110 -40
  226. package/dist/index.es360.js +94 -3
  227. package/dist/index.es361.js +43 -3
  228. package/dist/index.es362.js +2 -2
  229. package/dist/index.es363.js +2 -2
  230. package/dist/index.es364.js +2 -2
  231. package/dist/index.es366.js +2 -2
  232. package/dist/index.es367.js +2 -2
  233. package/dist/index.es368.js +2 -2
  234. package/dist/index.es369.js +4 -241
  235. package/dist/index.es370.js +4 -384
  236. package/dist/index.es371.js +204 -132
  237. package/dist/index.es372.js +334 -103
  238. package/dist/index.es373.js +102 -75
  239. package/dist/index.es374.js +153 -4
  240. package/dist/index.es375.js +142 -4
  241. package/dist/index.es376.js +2 -2
  242. package/dist/index.es377.js +2 -2
  243. package/dist/index.es378.js +2 -2
  244. package/dist/index.es379.js +2 -2
  245. package/dist/index.es38.js +5 -5
  246. package/dist/index.es380.js +2 -29
  247. package/dist/index.es381.js +2 -5
  248. package/dist/index.es387.js +517 -66
  249. package/dist/index.es388.js +125 -29
  250. package/dist/index.es389.js +126 -9
  251. package/dist/index.es39.js +2 -2
  252. package/dist/index.es390.js +2 -153
  253. package/dist/index.es391.js +53 -107
  254. package/dist/index.es392.js +59 -2
  255. package/dist/index.es393.js +67 -53
  256. package/dist/index.es394.js +31 -59
  257. package/dist/index.es395.js +9 -20
  258. package/dist/index.es396.js +151 -99
  259. package/dist/index.es397.js +107 -46
  260. package/dist/index.es398.js +68 -6
  261. package/dist/index.es399.js +31 -2
  262. package/dist/index.es40.js +3 -3
  263. package/dist/index.es400.js +16 -8
  264. package/dist/index.es401.js +140 -326
  265. package/dist/index.es402.js +112 -48
  266. package/dist/index.es403.js +5 -3
  267. package/dist/index.es404.js +2 -68
  268. package/dist/index.es405.js +8 -31
  269. package/dist/index.es406.js +327 -16
  270. package/dist/index.es407.js +48 -139
  271. package/dist/index.es408.js +4 -114
  272. package/dist/index.es409.js +17 -516
  273. package/dist/index.es41.js +1 -1
  274. package/dist/index.es410.js +92 -118
  275. package/dist/index.es411.js +47 -126
  276. package/dist/index.es412.js +2 -75
  277. package/dist/index.es413.js +46 -10
  278. package/dist/index.es414.js +83 -2
  279. package/dist/index.es415.js +12 -45
  280. package/dist/index.es416.js +331 -73
  281. package/dist/index.es417.js +73 -12
  282. package/dist/index.es418.js +10 -340
  283. package/dist/index.es43.js +1 -1
  284. package/dist/index.es437.js +1 -1
  285. package/dist/index.es438.js +1 -1
  286. package/dist/index.es439.js +3 -3
  287. package/dist/index.es44.js +4 -4
  288. package/dist/index.es440.js +1 -1
  289. package/dist/index.es441.js +3 -275
  290. package/dist/index.es442.js +105 -78
  291. package/dist/index.es443.js +2 -166
  292. package/dist/index.es444.js +2 -3
  293. package/dist/index.es445.js +268 -100
  294. package/dist/index.es446.js +80 -2
  295. package/dist/index.es447.js +166 -2
  296. package/dist/index.es45.js +1 -1
  297. package/dist/index.es453.js +14 -5
  298. package/dist/index.es454.js +27 -14
  299. package/dist/index.es455.js +11 -27
  300. package/dist/index.es456.js +5 -11
  301. package/dist/index.es46.js +5 -5
  302. package/dist/index.es466.js +1 -1
  303. package/dist/index.es467.js +2 -2
  304. package/dist/index.es468.js +2 -2
  305. package/dist/index.es475.js +1 -1
  306. package/dist/index.es476.js +1 -1
  307. package/dist/index.es49.js +2 -2
  308. package/dist/index.es50.js +1 -1
  309. package/dist/index.es51.js +1 -1
  310. package/dist/index.es54.js +1 -1
  311. package/dist/index.es55.js +1 -1
  312. package/dist/index.es57.js +3 -3
  313. package/dist/index.es59.js +2 -2
  314. package/dist/index.es61.js +1 -1
  315. package/dist/index.es62.js +1 -1
  316. package/dist/index.es63.js +2 -2
  317. package/dist/index.es64.js +1 -1
  318. package/dist/index.es65.js +3 -3
  319. package/dist/index.es66.js +2 -2
  320. package/dist/index.es67.js +3 -3
  321. package/dist/index.es7.js +1 -1
  322. package/dist/index.es70.js +1 -1
  323. package/dist/index.es753.js +7 -7
  324. package/dist/index.es754.js +14 -22
  325. package/dist/index.es755.js +59 -82
  326. package/dist/index.es756.js +22 -14
  327. package/dist/index.es757.js +82 -59
  328. package/dist/index.es762.js +5 -24
  329. package/dist/index.es763.js +17 -8
  330. package/dist/index.es764.js +7 -66
  331. package/dist/index.es765.js +54 -50
  332. package/dist/index.es766.js +17 -69
  333. package/dist/index.es767.js +24 -5
  334. package/dist/index.es768.js +8 -17
  335. package/dist/index.es769.js +67 -2
  336. package/dist/index.es770.js +52 -2
  337. package/dist/index.es771.js +70 -7
  338. package/dist/index.es772.js +2 -56
  339. package/dist/index.es773.js +2 -19
  340. package/dist/index.es778.js +21 -6
  341. package/dist/index.es779.js +56 -20
  342. package/dist/index.es780.js +26 -49
  343. package/dist/index.es781.js +9 -34
  344. package/dist/index.es782.js +18 -9
  345. package/dist/index.es783.js +8 -14
  346. package/dist/index.es784.js +12 -8
  347. package/dist/index.es785.js +57 -6
  348. package/dist/index.es786.js +9 -57
  349. package/dist/index.es787.js +14 -9
  350. package/dist/index.es788.js +6 -18
  351. package/dist/index.es789.js +28 -13
  352. package/dist/index.es79.js +1 -1
  353. package/dist/index.es790.js +3 -28
  354. package/dist/index.es791.js +7 -3
  355. package/dist/index.es796.js +1 -1
  356. package/dist/index.es797.js +1 -1
  357. package/dist/index.es798.js +1 -1
  358. package/dist/index.es799.js +1 -1
  359. package/dist/index.es80.js +1 -1
  360. package/dist/index.es800.js +1 -1
  361. package/dist/index.es801.js +1 -1
  362. package/dist/index.es803.js +1 -1
  363. package/dist/index.es805.js +10 -8
  364. package/dist/index.es806.js +7 -9
  365. package/dist/index.es807.js +2 -2
  366. package/dist/index.es808.js +8 -10
  367. package/dist/index.es809.js +9 -7
  368. package/dist/index.es810.js +5 -5
  369. package/dist/index.es811.js +2 -2
  370. package/dist/index.es812.js +1 -1
  371. package/dist/index.es814.js +2 -2
  372. package/dist/index.es822.js +1 -1
  373. package/dist/index.es824.js +38 -25
  374. package/dist/index.es825.js +25 -38
  375. package/dist/index.es826.js +64 -15
  376. package/dist/index.es827.js +11 -7
  377. package/dist/index.es828.js +38 -61
  378. package/dist/index.es829.js +54 -7
  379. package/dist/index.es830.js +16 -40
  380. package/dist/index.es831.js +17 -57
  381. package/dist/index.es832.js +7 -20
  382. package/dist/index.es833.js +1 -1
  383. package/dist/index.es85.js +1 -1
  384. package/dist/index.es86.js +33 -35
  385. package/dist/index.es87.js +34 -45
  386. package/dist/index.es88.js +46 -30
  387. package/dist/index.es89.js +29 -29
  388. package/dist/index.es90.js +29 -54
  389. package/dist/index.es91.js +223 -54
  390. package/dist/index.es92.js +11 -92
  391. package/dist/index.es93.js +9 -37
  392. package/dist/index.es94.js +11 -24
  393. package/dist/index.es95.js +40 -29
  394. package/dist/index.es96.js +54 -258
  395. package/dist/index.es97.js +55 -12
  396. package/dist/index.es98.js +90 -31
  397. package/dist/index.es99.js +37 -12
  398. package/package.json +1 -1
@@ -1,336 +1,32 @@
1
- import C from "./index.es323.js";
2
- import D from "./index.es324.js";
3
- import o from "./index.es325.js";
4
- import v from "react";
5
- import b from "react-dom";
6
- import T from "./index.es334.js";
7
- import { timeoutsShape as R } from "./index.es329.js";
8
- import O from "./index.es332.js";
9
- import { forceReflow as k } from "./index.es330.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;
1
+ var m = Object.defineProperty;
2
+ var a = (t, e, r) => e in t ? m(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var n = (t, e, r) => a(t, typeof e != "symbol" ? e + "" : e, r);
4
+ import { numericPatterns as u } from "./index.es411.js";
5
+ import { Parser as o } from "./index.es409.js";
6
+ import { parseNDigits as p, parseNumericPattern as c } from "./index.es410.js";
7
+ class b extends o {
8
+ constructor() {
9
+ super(...arguments);
10
+ n(this, "priority", 60);
11
+ n(this, "incompatibleTokens", ["t", "T"]);
19
12
  }
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);
13
+ parse(r, s, i) {
14
+ switch (s) {
15
+ case "m":
16
+ return c(u.minute, r);
17
+ case "mo":
18
+ return i.ordinalNumber(r, { unit: "minute" });
19
+ default:
20
+ return p(s.length, r);
34
21
  }
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);
51
- }
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;
67
- }
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);
76
- });
77
- });
78
- });
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
- });
99
- });
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;
117
- }
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);
121
- }
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() {
22
+ }
23
+ validate(r, s) {
24
+ return s >= 0 && s <= 59;
25
+ }
26
+ set(r, s, i) {
27
+ return r.setMinutes(i, 0, 0), r;
28
+ }
309
29
  }
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;
329
30
  export {
330
- h as ENTERED,
331
- l as ENTERING,
332
- f as EXITED,
333
- N as EXITING,
334
- x as UNMOUNTED,
335
- p as default
31
+ b as MinuteParser
336
32
  };
@@ -1,21 +1,32 @@
1
- import e from "./index.es325.js";
2
- var n = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
3
- enter: e.number,
4
- exit: e.number,
5
- appear: e.number
6
- }).isRequired]) : null, t = process.env.NODE_ENV !== "production" ? e.oneOfType([e.string, e.shape({
7
- enter: e.string,
8
- exit: e.string,
9
- active: e.string
10
- }), e.shape({
11
- enter: e.string,
12
- enterDone: e.string,
13
- enterActive: e.string,
14
- exit: e.string,
15
- exitDone: e.string,
16
- exitActive: e.string
17
- })]) : null;
1
+ var a = Object.defineProperty;
2
+ var i = (s, e, r) => e in s ? a(s, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : s[e] = r;
3
+ var o = (s, e, r) => i(s, typeof e != "symbol" ? e + "" : e, r);
4
+ import { numericPatterns as c } from "./index.es411.js";
5
+ import { Parser as m } from "./index.es409.js";
6
+ import { parseNDigits as p, parseNumericPattern as u } from "./index.es410.js";
7
+ class N extends m {
8
+ constructor() {
9
+ super(...arguments);
10
+ o(this, "priority", 50);
11
+ o(this, "incompatibleTokens", ["t", "T"]);
12
+ }
13
+ parse(r, t, n) {
14
+ switch (t) {
15
+ case "s":
16
+ return u(c.second, r);
17
+ case "so":
18
+ return n.ordinalNumber(r, { unit: "second" });
19
+ default:
20
+ return p(t.length, r);
21
+ }
22
+ }
23
+ validate(r, t) {
24
+ return t >= 0 && t <= 59;
25
+ }
26
+ set(r, t, n) {
27
+ return r.setSeconds(n, 0), r;
28
+ }
29
+ }
18
30
  export {
19
- t as classNamesShape,
20
- n as timeoutsShape
31
+ N as SecondParser
21
32
  };
@@ -1,9 +1,9 @@
1
1
  import { j as t } from "./index.es83.js";
2
2
  import * as f from "react";
3
3
  import { createElement as I } from "react";
4
- import { useControllableState as h } from "./index.es89.js";
4
+ import { useControllableState as h } from "./index.es90.js";
5
5
  import { PopoverRoot as O, PopoverTrigger as T, PopoverContent as y } from "./index.es47.js";
6
- import F from "./index.es99.js";
6
+ import F from "./index.es102.js";
7
7
  import { Button as M } from "./index.es28.js";
8
8
  import { cn as d } from "./index.es73.js";
9
9
  import { AutoCompleteRoot as U, AutoCompleteInput as W, AutoCompleteEmpty as q, AutoCompleteList as z, AutoCompleteItem as G } from "./index.es22.js";
@@ -1,6 +1,22 @@
1
- var e = function(o) {
2
- return o.scrollTop;
3
- };
1
+ var l = Object.defineProperty;
2
+ var n = (t, e, r) => e in t ? l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var o = (t, e, r) => n(t, typeof e != "symbol" ? e + "" : e, r);
4
+ import { Parser as p } from "./index.es409.js";
5
+ import { mapValue as c, parseNDigits as m } from "./index.es410.js";
6
+ class h extends p {
7
+ constructor() {
8
+ super(...arguments);
9
+ o(this, "priority", 30);
10
+ o(this, "incompatibleTokens", ["t", "T"]);
11
+ }
12
+ parse(r, s) {
13
+ const a = (i) => Math.trunc(i * Math.pow(10, -s.length + 3));
14
+ return c(m(s.length, r), a);
15
+ }
16
+ set(r, s, a) {
17
+ return r.setMilliseconds(a), r;
18
+ }
19
+ }
4
20
  export {
5
- e as forceReflow
21
+ h as FractionOfSecondParser
6
22
  };
@@ -1,7 +1,48 @@
1
- function i(e) {
2
- if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3
- return e;
1
+ var c = Object.defineProperty;
2
+ var X = (t, r, e) => r in t ? c(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
+ var n = (t, r, e) => X(t, typeof r != "symbol" ? r + "" : r, e);
4
+ import { constructFrom as a } from "./index.es219.js";
5
+ import { getTimezoneOffsetInMilliseconds as p } from "./index.es223.js";
6
+ import { timezonePatterns as s } from "./index.es411.js";
7
+ import { Parser as u } from "./index.es409.js";
8
+ import { parseTimezonePattern as o } from "./index.es410.js";
9
+ class z extends u {
10
+ constructor() {
11
+ super(...arguments);
12
+ n(this, "priority", 10);
13
+ n(this, "incompatibleTokens", ["t", "T", "x"]);
14
+ }
15
+ parse(e, i) {
16
+ switch (i) {
17
+ case "X":
18
+ return o(
19
+ s.basicOptionalMinutes,
20
+ e
21
+ );
22
+ case "XX":
23
+ return o(s.basic, e);
24
+ case "XXXX":
25
+ return o(
26
+ s.basicOptionalSeconds,
27
+ e
28
+ );
29
+ case "XXXXX":
30
+ return o(
31
+ s.extendedOptionalSeconds,
32
+ e
33
+ );
34
+ case "XXX":
35
+ default:
36
+ return o(s.extended, e);
37
+ }
38
+ }
39
+ set(e, i, m) {
40
+ return i.timestampIsSet ? e : a(
41
+ e,
42
+ e.getTime() - p(e) - m
43
+ );
44
+ }
4
45
  }
5
46
  export {
6
- i as default
47
+ z as ISOTimezoneWithZParser
7
48
  };
@@ -1,5 +1,48 @@
1
- import t from "react";
2
- const o = t.createContext(null);
1
+ var x = Object.defineProperty;
2
+ var c = (s, r, e) => r in s ? x(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
3
+ var i = (s, r, e) => c(s, typeof r != "symbol" ? r + "" : r, e);
4
+ import { constructFrom as a } from "./index.es219.js";
5
+ import { getTimezoneOffsetInMilliseconds as p } from "./index.es223.js";
6
+ import { timezonePatterns as t } from "./index.es411.js";
7
+ import { Parser as u } from "./index.es409.js";
8
+ import { parseTimezonePattern as o } from "./index.es410.js";
9
+ class P extends u {
10
+ constructor() {
11
+ super(...arguments);
12
+ i(this, "priority", 10);
13
+ i(this, "incompatibleTokens", ["t", "T", "X"]);
14
+ }
15
+ parse(e, n) {
16
+ switch (n) {
17
+ case "x":
18
+ return o(
19
+ t.basicOptionalMinutes,
20
+ e
21
+ );
22
+ case "xx":
23
+ return o(t.basic, e);
24
+ case "xxxx":
25
+ return o(
26
+ t.basicOptionalSeconds,
27
+ e
28
+ );
29
+ case "xxxxx":
30
+ return o(
31
+ t.extendedOptionalSeconds,
32
+ e
33
+ );
34
+ case "xxx":
35
+ default:
36
+ return o(t.extended, e);
37
+ }
38
+ }
39
+ set(e, n, m) {
40
+ return n.timestampIsSet ? e : a(
41
+ e,
42
+ e.getTime() - p(e) - m
43
+ );
44
+ }
45
+ }
3
46
  export {
4
- o as default
47
+ P as ISOTimezoneParser
5
48
  };
@@ -1,74 +1,22 @@
1
- import { Children as s, isValidElement as v, cloneElement as d } from "react";
2
- function h(i, e) {
3
- var t = function(a) {
4
- return e && v(a) ? e(a) : a;
5
- }, u = /* @__PURE__ */ Object.create(null);
6
- return i && s.map(i, function(r) {
7
- return r;
8
- }).forEach(function(r) {
9
- u[r.key] = t(r);
10
- }), u;
11
- }
12
- function m(i, e) {
13
- i = i || {}, e = e || {};
14
- function t(g) {
15
- return g in e ? e[g] : i[g];
1
+ var i = Object.defineProperty;
2
+ var m = (t, r, e) => r in t ? i(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
+ var s = (t, r, e) => m(t, typeof r != "symbol" ? r + "" : r, e);
4
+ import { constructFrom as p } from "./index.es219.js";
5
+ import { Parser as a } from "./index.es409.js";
6
+ import { parseAnyDigitsSigned as n } from "./index.es410.js";
7
+ class l extends a {
8
+ constructor() {
9
+ super(...arguments);
10
+ s(this, "priority", 40);
11
+ s(this, "incompatibleTokens", "*");
16
12
  }
17
- var u = /* @__PURE__ */ Object.create(null), r = [];
18
- for (var a in i)
19
- a in e ? r.length && (u[a] = r, r = []) : r.push(a);
20
- var n, f = {};
21
- for (var l in e) {
22
- if (u[l])
23
- for (n = 0; n < u[l].length; n++) {
24
- var c = u[l][n];
25
- f[u[l][n]] = t(c);
26
- }
27
- f[l] = t(l);
13
+ parse(e) {
14
+ return n(e);
15
+ }
16
+ set(e, c, o) {
17
+ return [p(e, o * 1e3), { timestampIsSet: !0 }];
28
18
  }
29
- for (n = 0; n < r.length; n++)
30
- f[r[n]] = t(r[n]);
31
- return f;
32
- }
33
- function o(i, e, t) {
34
- return t[e] != null ? t[e] : i.props[e];
35
- }
36
- function E(i, e) {
37
- return h(i.children, function(t) {
38
- return d(t, {
39
- onExited: e.bind(null, t),
40
- in: !0,
41
- appear: o(t, "appear", i),
42
- enter: o(t, "enter", i),
43
- exit: o(t, "exit", i)
44
- });
45
- });
46
- }
47
- function p(i, e, t) {
48
- var u = h(i.children), r = m(e, u);
49
- return Object.keys(r).forEach(function(a) {
50
- var n = r[a];
51
- if (v(n)) {
52
- var f = a in e, l = a in u, c = e[a], g = v(c) && !c.props.in;
53
- l && (!f || g) ? r[a] = d(n, {
54
- onExited: t.bind(null, n),
55
- in: !0,
56
- exit: o(n, "exit", i),
57
- enter: o(n, "enter", i)
58
- }) : !l && f && !g ? r[a] = d(n, {
59
- in: !1
60
- }) : l && f && v(c) && (r[a] = d(n, {
61
- onExited: t.bind(null, n),
62
- in: c.props.in,
63
- exit: o(n, "exit", i),
64
- enter: o(n, "enter", i)
65
- }));
66
- }
67
- }), r;
68
19
  }
69
20
  export {
70
- h as getChildMapping,
71
- E as getInitialChildMapping,
72
- p as getNextChildMapping,
73
- m as mergeChildMappings
21
+ l as TimestampSecondsParser
74
22
  };
@@ -1,6 +1,22 @@
1
- const a = {
2
- disabled: !1
3
- };
1
+ var o = Object.defineProperty;
2
+ var m = (t, r, e) => r in t ? o(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
+ var s = (t, r, e) => m(t, typeof r != "symbol" ? r + "" : r, e);
4
+ import { constructFrom as p } from "./index.es219.js";
5
+ import { Parser as a } from "./index.es409.js";
6
+ import { parseAnyDigitsSigned as n } from "./index.es410.js";
7
+ class g extends a {
8
+ constructor() {
9
+ super(...arguments);
10
+ s(this, "priority", 20);
11
+ s(this, "incompatibleTokens", "*");
12
+ }
13
+ parse(e) {
14
+ return n(e);
15
+ }
16
+ set(e, c, i) {
17
+ return [p(e, i), { timestampIsSet: !0 }];
18
+ }
19
+ }
4
20
  export {
5
- a as default
21
+ g as TimestampMillisecondsParser
6
22
  };