@boxcustodia/library 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (419) hide show
  1. package/dist/index.es10.js +1 -1
  2. package/dist/index.es100.js +3 -1061
  3. package/dist/index.es101.js +12 -3672
  4. package/dist/index.es102.js +5 -4
  5. package/dist/index.es103.js +57 -4
  6. package/dist/index.es105.js +12 -4
  7. package/dist/index.es106.js +4 -7
  8. package/dist/index.es107.js +21 -5
  9. package/dist/index.es108.js +12 -57
  10. package/dist/index.es109.js +4 -4
  11. package/dist/index.es110.js +12 -224
  12. package/dist/index.es111.js +1062 -11
  13. package/dist/index.es112.js +4 -11
  14. package/dist/index.es113.js +4 -41
  15. package/dist/index.es114.js +222 -19
  16. package/dist/index.es115.js +4 -5
  17. package/dist/index.es116.js +41 -12
  18. package/dist/index.es117.js +4 -4
  19. package/dist/index.es118.js +2 -2
  20. package/dist/index.es119.js +11 -11
  21. package/dist/index.es120.js +1 -1
  22. package/dist/index.es121.js +1 -1
  23. package/dist/index.es122.js +11 -88
  24. package/dist/index.es123.js +88 -4
  25. package/dist/index.es124.js +211 -28
  26. package/dist/index.es125.js +33 -13
  27. package/dist/index.es126.js +5 -3
  28. package/dist/index.es127.js +5 -5
  29. package/dist/index.es128.js +4 -8
  30. package/dist/index.es129.js +7 -215
  31. package/dist/index.es13.js +1 -1
  32. package/dist/index.es131.js +1 -1
  33. package/dist/index.es132.js +1 -1
  34. package/dist/index.es137.js +11 -10
  35. package/dist/index.es138.js +205 -21
  36. package/dist/index.es139.js +10 -36
  37. package/dist/index.es14.js +1 -1
  38. package/dist/index.es140.js +17 -7
  39. package/dist/index.es141.js +36 -11
  40. package/dist/index.es142.js +11 -205
  41. package/dist/index.es145.js +1 -1
  42. package/dist/index.es146.js +3 -3
  43. package/dist/index.es147.js +2 -2
  44. package/dist/index.es148.js +1 -1
  45. package/dist/index.es149.js +1 -1
  46. package/dist/index.es15.js +1 -1
  47. package/dist/index.es151.js +3 -3
  48. package/dist/index.es155.js +646 -40
  49. package/dist/index.es156.js +193 -625
  50. package/dist/index.es157.js +3 -217
  51. package/dist/index.es158.js +4 -4
  52. package/dist/index.es159.js +45 -3
  53. package/dist/index.es160.js +7 -45
  54. package/dist/index.es161.js +5 -7
  55. package/dist/index.es162.js +28 -6
  56. package/dist/index.es163.js +43 -27
  57. package/dist/index.es164.js +6 -118
  58. package/dist/index.es165.js +3 -35
  59. package/dist/index.es166.js +2054 -2
  60. package/dist/index.es167.js +118 -2
  61. package/dist/index.es168.js +32 -20
  62. package/dist/index.es169.js +2 -9
  63. package/dist/index.es170.js +2 -38
  64. package/dist/index.es171.js +14 -11
  65. package/dist/index.es172.js +9 -6
  66. package/dist/index.es173.js +40 -3
  67. package/dist/index.es174.js +17 -2053
  68. package/dist/index.es186.js +3 -3
  69. package/dist/index.es188.js +7 -11
  70. package/dist/index.es189.js +5 -7
  71. package/dist/index.es190.js +4 -5
  72. package/dist/index.es191.js +17 -4
  73. package/dist/index.es192.js +5 -17
  74. package/dist/index.es193.js +5 -5
  75. package/dist/index.es194.js +8 -5
  76. package/dist/index.es195.js +6 -9
  77. package/dist/index.es196.js +7 -6
  78. package/dist/index.es197.js +15 -6
  79. package/dist/index.es198.js +13 -15
  80. package/dist/index.es199.js +12 -12
  81. package/dist/index.es200.js +6 -13
  82. package/dist/index.es201.js +6 -6
  83. package/dist/index.es202.js +6 -6
  84. package/dist/index.es203.js +4 -6
  85. package/dist/index.es204.js +515 -4
  86. package/dist/index.es205.js +48 -514
  87. package/dist/index.es206.js +18 -50
  88. package/dist/index.es207.js +9 -17
  89. package/dist/index.es208.js +19 -10
  90. package/dist/index.es209.js +8 -18
  91. package/dist/index.es210.js +7 -8
  92. package/dist/index.es211.js +7 -7
  93. package/dist/index.es212.js +5 -7
  94. package/dist/index.es213.js +6 -5
  95. package/dist/index.es214.js +9 -6
  96. package/dist/index.es215.js +5 -9
  97. package/dist/index.es216.js +8 -5
  98. package/dist/index.es217.js +12 -8
  99. package/dist/index.es218.js +9 -12
  100. package/dist/index.es219.js +8 -9
  101. package/dist/index.es220.js +10 -8
  102. package/dist/index.es221.js +14 -10
  103. package/dist/index.es222.js +6 -14
  104. package/dist/index.es223.js +6 -6
  105. package/dist/index.es224.js +6 -6
  106. package/dist/index.es225.js +6 -6
  107. package/dist/index.es226.js +6 -6
  108. package/dist/index.es227.js +9 -6
  109. package/dist/index.es228.js +84 -9
  110. package/dist/index.es229.js +65 -85
  111. package/dist/index.es230.js +38 -65
  112. package/dist/index.es231.js +9 -37
  113. package/dist/index.es232.js +8 -9
  114. package/dist/index.es233.js +6 -7
  115. package/dist/index.es234.js +10 -7
  116. package/dist/index.es235.js +7 -10
  117. package/dist/index.es236.js +7 -7
  118. package/dist/index.es237.js +6 -7
  119. package/dist/index.es238.js +5 -6
  120. package/dist/index.es239.js +15 -5
  121. package/dist/index.es240.js +11 -15
  122. package/dist/index.es241.js +177 -24
  123. package/dist/index.es242.js +5 -5
  124. package/dist/index.es243.js +5 -5
  125. package/dist/index.es245.js +195 -172
  126. package/dist/index.es246.js +20 -199
  127. package/dist/index.es247.js +25 -22
  128. package/dist/index.es248.js +369 -23
  129. package/dist/index.es249.js +2 -371
  130. package/dist/index.es250.js +397 -25
  131. package/dist/index.es251.js +722 -4
  132. package/dist/index.es252.js +282 -7
  133. package/dist/index.es253.js +60 -13
  134. package/dist/index.es254.js +9 -13
  135. package/dist/index.es255.js +28 -134
  136. package/dist/index.es256.js +199 -32
  137. package/dist/index.es257.js +25 -462
  138. package/dist/index.es258.js +4 -131
  139. package/dist/index.es259.js +8 -27
  140. package/dist/index.es260.js +13 -4
  141. package/dist/index.es261.js +13 -26
  142. package/dist/index.es262.js +134 -7
  143. package/dist/index.es263.js +31 -11
  144. package/dist/index.es264.js +460 -26
  145. package/dist/index.es265.js +130 -47
  146. package/dist/index.es266.js +27 -31
  147. package/dist/index.es267.js +4 -43
  148. package/dist/index.es268.js +26 -158
  149. package/dist/index.es269.js +6 -32
  150. package/dist/index.es27.js +1 -1
  151. package/dist/index.es270.js +12 -2
  152. package/dist/index.es271.js +26 -77
  153. package/dist/index.es272.js +48 -18
  154. package/dist/index.es273.js +31 -16
  155. package/dist/index.es274.js +44 -8
  156. package/dist/index.es275.js +159 -2
  157. package/dist/index.es276.js +32 -396
  158. package/dist/index.es277.js +2 -723
  159. package/dist/index.es278.js +71 -274
  160. package/dist/index.es279.js +18 -60
  161. package/dist/index.es28.js +3 -3
  162. package/dist/index.es280.js +25 -10
  163. package/dist/index.es281.js +16 -29
  164. package/dist/index.es282.js +8 -199
  165. package/dist/index.es286.js +14 -24
  166. package/dist/index.es287.js +3 -29
  167. package/dist/index.es288.js +5 -5
  168. package/dist/index.es289.js +56 -14
  169. package/dist/index.es29.js +6 -6
  170. package/dist/index.es290.js +28 -3
  171. package/dist/index.es291.js +46 -4
  172. package/dist/index.es292.js +64 -54
  173. package/dist/index.es293.js +32 -22
  174. package/dist/index.es294.js +13 -41
  175. package/dist/index.es295.js +48 -47
  176. package/dist/index.es296.js +50 -20
  177. package/dist/index.es297.js +63 -13
  178. package/dist/index.es298.js +43 -42
  179. package/dist/index.es299.js +26 -48
  180. package/dist/index.es300.js +26 -48
  181. package/dist/index.es301.js +37 -47
  182. package/dist/index.es302.js +25 -22
  183. package/dist/index.es303.js +34 -38
  184. package/dist/index.es304.js +53 -40
  185. package/dist/index.es305.js +50 -27
  186. package/dist/index.es306.js +88 -34
  187. package/dist/index.es307.js +32 -57
  188. package/dist/index.es308.js +35 -60
  189. package/dist/index.es309.js +38 -88
  190. package/dist/index.es31.js +2 -2
  191. package/dist/index.es310.js +23 -39
  192. package/dist/index.es311.js +22 -39
  193. package/dist/index.es312.js +22 -39
  194. package/dist/index.es313.js +19 -19
  195. package/dist/index.es314.js +18 -18
  196. package/dist/index.es315.js +18 -18
  197. package/dist/index.es316.js +14 -25
  198. package/dist/index.es317.js +38 -22
  199. package/dist/index.es318.js +38 -22
  200. package/dist/index.es319.js +14 -14
  201. package/dist/index.es32.js +2 -2
  202. package/dist/index.es320.js +14 -40
  203. package/dist/index.es321.js +23 -44
  204. package/dist/index.es322.js +29 -20
  205. package/dist/index.es323.js +5 -20
  206. package/dist/index.es336.js +2 -6
  207. package/dist/index.es337.js +2 -34
  208. package/dist/index.es338.js +6 -26
  209. package/dist/index.es339.js +34 -18
  210. package/dist/index.es34.js +6 -6
  211. package/dist/index.es340.js +25 -4
  212. package/dist/index.es341.js +18 -231
  213. package/dist/index.es342.js +5 -100
  214. package/dist/index.es343.js +229 -26
  215. package/dist/index.es344.js +80 -35
  216. package/dist/index.es345.js +28 -2
  217. package/dist/index.es346.js +55 -2
  218. package/dist/index.es347.js +2 -334
  219. package/dist/index.es348.js +106 -31
  220. package/dist/index.es349.js +75 -16
  221. package/dist/index.es350.js +35 -29
  222. package/dist/index.es351.js +64 -3
  223. package/dist/index.es352.js +34 -107
  224. package/dist/index.es353.js +60 -71
  225. package/dist/index.es354.js +111 -34
  226. package/dist/index.es355.js +90 -60
  227. package/dist/index.es356.js +41 -32
  228. package/dist/index.es357.js +3 -66
  229. package/dist/index.es358.js +3 -113
  230. package/dist/index.es359.js +3 -94
  231. package/dist/index.es360.js +3 -43
  232. package/dist/index.es361.js +2 -2
  233. package/dist/index.es362.js +2 -2
  234. package/dist/index.es363.js +2 -2
  235. package/dist/index.es364.js +2 -2
  236. package/dist/index.es365.js +2 -2
  237. package/dist/index.es366.js +241 -4
  238. package/dist/index.es367.js +384 -4
  239. package/dist/index.es368.js +169 -4
  240. package/dist/index.es369.js +153 -4
  241. package/dist/index.es370.js +88 -187
  242. package/dist/index.es371.js +4 -384
  243. package/dist/index.es372.js +4 -169
  244. package/dist/index.es373.js +4 -153
  245. package/dist/index.es374.js +4 -142
  246. package/dist/index.es375.js +2 -2
  247. package/dist/index.es376.js +2 -2
  248. package/dist/index.es377.js +334 -2
  249. package/dist/index.es378.js +31 -2
  250. package/dist/index.es379.js +17 -2
  251. package/dist/index.es38.js +5 -5
  252. package/dist/index.es380.js +29 -2
  253. package/dist/index.es381.js +29 -2
  254. package/dist/index.es382.js +5 -54
  255. package/dist/index.es383.js +2 -59
  256. package/dist/index.es384.js +54 -29
  257. package/dist/index.es385.js +59 -5
  258. package/dist/index.es386.js +68 -5
  259. package/dist/index.es387.js +31 -3
  260. package/dist/index.es388.js +9 -24
  261. package/dist/index.es389.js +152 -109
  262. package/dist/index.es39.js +2 -2
  263. package/dist/index.es390.js +107 -15
  264. package/dist/index.es391.js +19 -67
  265. package/dist/index.es392.js +101 -31
  266. package/dist/index.es393.js +47 -9
  267. package/dist/index.es394.js +5 -153
  268. package/dist/index.es395.js +3 -108
  269. package/dist/index.es396.js +23 -19
  270. package/dist/index.es397.js +107 -98
  271. package/dist/index.es398.js +15 -46
  272. package/dist/index.es40.js +3 -3
  273. package/dist/index.es401.js +3 -3
  274. package/dist/index.es402.js +4 -4
  275. package/dist/index.es403.js +1 -1
  276. package/dist/index.es405.js +517 -66
  277. package/dist/index.es406.js +126 -30
  278. package/dist/index.es407.js +126 -16
  279. package/dist/index.es408.js +62 -135
  280. package/dist/index.es409.js +25 -108
  281. package/dist/index.es410.js +16 -519
  282. package/dist/index.es411.js +140 -126
  283. package/dist/index.es412.js +113 -125
  284. package/dist/index.es416.js +1 -1
  285. package/dist/index.es418.js +1 -1
  286. package/dist/index.es419.js +6 -6
  287. package/dist/index.es42.js +1 -1
  288. package/dist/index.es437.js +275 -2
  289. package/dist/index.es438.js +80 -2
  290. package/dist/index.es439.js +161 -20
  291. package/dist/index.es44.js +1 -1
  292. package/dist/index.es440.js +24 -10
  293. package/dist/index.es441.js +10 -32
  294. package/dist/index.es442.js +30 -27
  295. package/dist/index.es443.js +29 -11
  296. package/dist/index.es444.js +11 -274
  297. package/dist/index.es445.js +2 -80
  298. package/dist/index.es446.js +2 -166
  299. package/dist/index.es447.js +1 -1
  300. package/dist/index.es448.js +5 -5
  301. package/dist/index.es449.js +5 -63
  302. package/dist/index.es45.js +4 -4
  303. package/dist/index.es450.js +16 -69
  304. package/dist/index.es451.js +28 -8
  305. package/dist/index.es452.js +13 -14
  306. package/dist/index.es453.js +2 -60
  307. package/dist/index.es454.js +75 -6
  308. package/dist/index.es455.js +92 -15
  309. package/dist/index.es456.js +51 -28
  310. package/dist/index.es457.js +7 -12
  311. package/dist/index.es458.js +5 -2
  312. package/dist/index.es459.js +48 -72
  313. package/dist/index.es46.js +1 -1
  314. package/dist/index.es460.js +61 -89
  315. package/dist/index.es461.js +67 -50
  316. package/dist/index.es462.js +9 -8
  317. package/dist/index.es463.js +14 -5
  318. package/dist/index.es464.js +59 -51
  319. package/dist/index.es467.js +1 -1
  320. package/dist/index.es468.js +2 -2
  321. package/dist/index.es469.js +2 -2
  322. package/dist/index.es47.js +4 -4
  323. package/dist/index.es476.js +1 -1
  324. package/dist/index.es477.js +1 -1
  325. package/dist/index.es50.js +1 -1
  326. package/dist/index.es51.js +1 -1
  327. package/dist/index.es52.js +1 -1
  328. package/dist/index.es55.js +1 -1
  329. package/dist/index.es56.js +2 -2
  330. package/dist/index.es57.js +3 -3
  331. package/dist/index.es59.js +2 -2
  332. package/dist/index.es61.js +1 -1
  333. package/dist/index.es63.js +2 -2
  334. package/dist/index.es64.js +1 -1
  335. package/dist/index.es65.js +2 -2
  336. package/dist/index.es66.js +2 -2
  337. package/dist/index.es67.js +2 -2
  338. package/dist/index.es69.js +1 -1
  339. package/dist/index.es7.js +1 -1
  340. package/dist/index.es754.js +21 -13
  341. package/dist/index.es755.js +79 -18
  342. package/dist/index.es756.js +13 -82
  343. package/dist/index.es757.js +2 -14
  344. package/dist/index.es758.js +2 -60
  345. package/dist/index.es759.js +14 -4
  346. package/dist/index.es760.js +60 -23
  347. package/dist/index.es761.js +4 -2
  348. package/dist/index.es762.js +23 -2
  349. package/dist/index.es763.js +24 -5
  350. package/dist/index.es764.js +8 -17
  351. package/dist/index.es765.js +66 -7
  352. package/dist/index.es766.js +50 -54
  353. package/dist/index.es767.js +69 -17
  354. package/dist/index.es768.js +5 -24
  355. package/dist/index.es769.js +17 -8
  356. package/dist/index.es770.js +2 -67
  357. package/dist/index.es771.js +2 -52
  358. package/dist/index.es772.js +7 -70
  359. package/dist/index.es773.js +56 -2
  360. package/dist/index.es774.js +19 -2
  361. package/dist/index.es779.js +6 -21
  362. package/dist/index.es78.js +1 -1
  363. package/dist/index.es780.js +20 -56
  364. package/dist/index.es781.js +49 -26
  365. package/dist/index.es782.js +34 -9
  366. package/dist/index.es783.js +9 -18
  367. package/dist/index.es784.js +18 -8
  368. package/dist/index.es785.js +8 -12
  369. package/dist/index.es786.js +11 -56
  370. package/dist/index.es787.js +28 -10
  371. package/dist/index.es788.js +3 -15
  372. package/dist/index.es789.js +57 -6
  373. package/dist/index.es79.js +1 -1
  374. package/dist/index.es790.js +10 -28
  375. package/dist/index.es791.js +15 -3
  376. package/dist/index.es792.js +6 -6
  377. package/dist/index.es797.js +1 -1
  378. package/dist/index.es798.js +1 -1
  379. package/dist/index.es799.js +1 -1
  380. package/dist/index.es800.js +1 -1
  381. package/dist/index.es801.js +1 -1
  382. package/dist/index.es802.js +1 -1
  383. package/dist/index.es804.js +1 -1
  384. package/dist/index.es806.js +10 -8
  385. package/dist/index.es807.js +7 -9
  386. package/dist/index.es808.js +2 -2
  387. package/dist/index.es809.js +8 -10
  388. package/dist/index.es810.js +9 -7
  389. package/dist/index.es811.js +5 -5
  390. package/dist/index.es812.js +2 -2
  391. package/dist/index.es813.js +1 -1
  392. package/dist/index.es815.js +2 -2
  393. package/dist/index.es823.js +1 -1
  394. package/dist/index.es825.js +38 -25
  395. package/dist/index.es826.js +25 -38
  396. package/dist/index.es827.js +15 -64
  397. package/dist/index.es828.js +7 -11
  398. package/dist/index.es829.js +61 -38
  399. package/dist/index.es830.js +7 -54
  400. package/dist/index.es831.js +40 -16
  401. package/dist/index.es832.js +57 -17
  402. package/dist/index.es833.js +20 -7
  403. package/dist/index.es834.js +1 -1
  404. package/dist/index.es84.js +1 -1
  405. package/dist/index.es86.js +32 -29
  406. package/dist/index.es87.js +46 -12
  407. package/dist/index.es88.js +30 -55
  408. package/dist/index.es89.js +28 -53
  409. package/dist/index.es90.js +9 -90
  410. package/dist/index.es91.js +55 -37
  411. package/dist/index.es92.js +53 -22
  412. package/dist/index.es93.js +89 -29
  413. package/dist/index.es94.js +36 -32
  414. package/dist/index.es95.js +24 -46
  415. package/dist/index.es96.js +27 -27
  416. package/dist/index.es97.js +3 -3
  417. package/dist/index.es98.js +1 -1
  418. package/dist/index.es99.js +3672 -7
  419. package/package.json +2 -2
@@ -1,142 +1,4 @@
1
- import { __exports as _ } from "./index.es379.js";
2
- import "./index.es425.js";
3
- import "./index.es372.js";
4
- import { __exports as T } from "./index.es426.js";
5
- import { __exports as x } from "./index.es377.js";
6
- Object.defineProperty(_, "__esModule", {
7
- value: !0
8
- });
9
- _.default = void 0;
10
- var k = M(T), I = M(x);
11
- function M(r) {
12
- return r && r.__esModule ? r : { default: r };
13
- }
14
- function c(r, t) {
15
- return H(r) || D(r, t) || S(r, t) || O();
16
- }
17
- function O() {
18
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
19
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
20
- }
21
- function D(r, t) {
22
- var e = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
23
- if (e != null) {
24
- var n = [], u = !0, o = !1, i, f;
25
- try {
26
- for (e = e.call(r); !(u = (i = e.next()).done) && (n.push(i.value), !(t && n.length === t)); u = !0)
27
- ;
28
- } catch (a) {
29
- o = !0, f = a;
30
- } finally {
31
- try {
32
- !u && e.return != null && e.return();
33
- } finally {
34
- if (o) throw f;
35
- }
36
- }
37
- return n;
38
- }
39
- }
40
- function H(r) {
41
- if (Array.isArray(r)) return r;
42
- }
43
- function j(r, t) {
44
- var e = typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
45
- if (!e) {
46
- if (Array.isArray(r) || (e = S(r)) || t) {
47
- e && (r = e);
48
- var n = 0, u = function() {
49
- };
50
- return { s: u, n: function() {
51
- return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
52
- }, e: function(s) {
53
- throw s;
54
- }, f: u };
55
- }
56
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
57
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
58
- }
59
- var o = !0, i = !1, f;
60
- return { s: function() {
61
- e = e.call(r);
62
- }, n: function() {
63
- var s = e.next();
64
- return o = s.done, s;
65
- }, e: function(s) {
66
- i = !0, f = s;
67
- }, f: function() {
68
- try {
69
- !o && e.return != null && e.return();
70
- } finally {
71
- if (i) throw f;
72
- }
73
- } };
74
- }
75
- function S(r, t) {
76
- if (r) {
77
- if (typeof r == "string") return h(r, t);
78
- var e = Object.prototype.toString.call(r).slice(8, -1);
79
- if (e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set") return Array.from(r);
80
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return h(r, t);
81
- }
82
- }
83
- function h(r, t) {
84
- (t == null || t > r.length) && (t = r.length);
85
- for (var e = 0, n = new Array(t); e < t; e++)
86
- n[e] = r[e];
87
- return n;
88
- }
89
- var l = [], b = I.default.keys();
90
- for (var v = 0; v < b.length; v++) {
91
- var g = b[v], y = I.default.get(g), d = [];
92
- if (y) {
93
- for (var A = [].concat(y.baseConcepts, y.relatedConcepts), m = 0; m < A.length; m++) {
94
- var w = A[m];
95
- if (w.module === "HTML") {
96
- var E = w.concept;
97
- E != null && d.push(E);
98
- }
99
- }
100
- d.length > 0 && l.push([g, d]);
101
- }
102
- }
103
- var p = {
104
- entries: function() {
105
- return l;
106
- },
107
- forEach: function(t) {
108
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = j(l), u;
109
- try {
110
- for (n.s(); !(u = n.n()).done; ) {
111
- var o = c(u.value, 2), i = o[0], f = o[1];
112
- t.call(e, f, i, l);
113
- }
114
- } catch (a) {
115
- n.e(a);
116
- } finally {
117
- n.f();
118
- }
119
- },
120
- get: function(t) {
121
- var e = l.find(function(n) {
122
- return n[0] === t;
123
- });
124
- return e && e[1];
125
- },
126
- has: function(t) {
127
- return !!p.get(t);
128
- },
129
- keys: function() {
130
- return l.map(function(t) {
131
- var e = c(t, 1), n = e[0];
132
- return n;
133
- });
134
- },
135
- values: function() {
136
- return l.map(function(t) {
137
- var e = c(t, 2), n = e[1];
138
- return n;
139
- });
140
- }
141
- }, C = (0, k.default)(p, p.entries());
142
- _.default = C;
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
@@ -1,4 +1,4 @@
1
- var a = {};
1
+ var e = {};
2
2
  export {
3
- a as __exports
3
+ e as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var a = {};
1
+ var r = { exports: {} };
2
2
  export {
3
- a as __exports
3
+ r as __module
4
4
  };
@@ -1,4 +1,336 @@
1
- var r = {};
1
+ import Z from "./index.es175.js";
2
+ import U from "./index.es332.js";
3
+ import ee from "./index.es325.js";
4
+ import M from "./index.es440.js";
5
+ import { createElement as W, PureComponent as te } from "react";
6
+ var ie = typeof performance == "object" && typeof performance.now == "function", V = ie ? function() {
7
+ return performance.now();
8
+ } : function() {
9
+ return Date.now();
10
+ };
11
+ function $(l) {
12
+ cancelAnimationFrame(l.id);
13
+ }
14
+ function re(l, t) {
15
+ var n = V();
16
+ function c() {
17
+ V() - n >= t ? l.call(null) : u.id = requestAnimationFrame(c);
18
+ }
19
+ var u = {
20
+ id: requestAnimationFrame(c)
21
+ };
22
+ return u;
23
+ }
24
+ var k = -1;
25
+ function q(l) {
26
+ if (l === void 0 && (l = !1), k === -1 || l) {
27
+ var t = document.createElement("div"), n = t.style;
28
+ n.width = "50px", n.height = "50px", n.overflow = "scroll", document.body.appendChild(t), k = t.offsetWidth - t.clientWidth, document.body.removeChild(t);
29
+ }
30
+ return k;
31
+ }
32
+ var _ = null;
33
+ function H(l) {
34
+ if (l === void 0 && (l = !1), _ === null || l) {
35
+ var t = document.createElement("div"), n = t.style;
36
+ n.width = "50px", n.height = "50px", n.overflow = "scroll", n.direction = "rtl";
37
+ var c = document.createElement("div"), u = c.style;
38
+ return u.width = "100px", u.height = "100px", t.appendChild(c), document.body.appendChild(t), t.scrollLeft > 0 ? _ = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? _ = "negative" : _ = "positive-ascending"), document.body.removeChild(t), _;
39
+ }
40
+ return _;
41
+ }
42
+ process.env.NODE_ENV;
43
+ var oe = 150, ne = function(t, n) {
44
+ return t;
45
+ }, P = null, R = null;
46
+ process.env.NODE_ENV !== "production" && typeof window < "u" && typeof window.WeakSet < "u" && (P = /* @__PURE__ */ new WeakSet(), R = /* @__PURE__ */ new WeakSet());
47
+ function le(l) {
48
+ var t, n = l.getItemOffset, c = l.getEstimatedTotalSize, u = l.getItemSize, z = l.getOffsetForIndexAndAlignment, S = l.getStartIndexForOffset, b = l.getStopIndexForStartIndex, O = l.initInstanceProps, g = l.shouldResetStyleCacheOnItemSizeChange, m = l.validateProps;
49
+ return t = /* @__PURE__ */ function(I) {
50
+ ee(T, I);
51
+ function T(p) {
52
+ var e;
53
+ return e = I.call(this, p) || this, e._instanceProps = O(e.props, U(e)), e._outerRef = void 0, e._resetIsScrollingTimeoutId = null, e.state = {
54
+ instance: U(e),
55
+ isScrolling: !1,
56
+ scrollDirection: "forward",
57
+ scrollOffset: typeof e.props.initialScrollOffset == "number" ? e.props.initialScrollOffset : 0,
58
+ scrollUpdateWasRequested: !1
59
+ }, e._callOnItemsRendered = void 0, e._callOnItemsRendered = M(function(i, r, o, s) {
60
+ return e.props.onItemsRendered({
61
+ overscanStartIndex: i,
62
+ overscanStopIndex: r,
63
+ visibleStartIndex: o,
64
+ visibleStopIndex: s
65
+ });
66
+ }), e._callOnScroll = void 0, e._callOnScroll = M(function(i, r, o) {
67
+ return e.props.onScroll({
68
+ scrollDirection: i,
69
+ scrollOffset: r,
70
+ scrollUpdateWasRequested: o
71
+ });
72
+ }), e._getItemStyle = void 0, e._getItemStyle = function(i) {
73
+ var r = e.props, o = r.direction, s = r.itemSize, h = r.layout, a = e._getItemStyleCache(g && s, g && h, g && o), d;
74
+ if (a.hasOwnProperty(i))
75
+ d = a[i];
76
+ else {
77
+ var f = n(e.props, i, e._instanceProps), y = u(e.props, i, e._instanceProps), w = o === "horizontal" || h === "horizontal", x = o === "rtl", E = w ? f : 0;
78
+ a[i] = d = {
79
+ position: "absolute",
80
+ left: x ? void 0 : E,
81
+ right: x ? E : void 0,
82
+ top: w ? 0 : f,
83
+ height: w ? "100%" : y,
84
+ width: w ? y : "100%"
85
+ };
86
+ }
87
+ return d;
88
+ }, e._getItemStyleCache = void 0, e._getItemStyleCache = M(function(i, r, o) {
89
+ return {};
90
+ }), e._onScrollHorizontal = function(i) {
91
+ var r = i.currentTarget, o = r.clientWidth, s = r.scrollLeft, h = r.scrollWidth;
92
+ e.setState(function(a) {
93
+ if (a.scrollOffset === s)
94
+ return null;
95
+ var d = e.props.direction, f = s;
96
+ if (d === "rtl")
97
+ switch (H()) {
98
+ case "negative":
99
+ f = -s;
100
+ break;
101
+ case "positive-descending":
102
+ f = h - o - s;
103
+ break;
104
+ }
105
+ return f = Math.max(0, Math.min(f, h - o)), {
106
+ isScrolling: !0,
107
+ scrollDirection: a.scrollOffset < f ? "forward" : "backward",
108
+ scrollOffset: f,
109
+ scrollUpdateWasRequested: !1
110
+ };
111
+ }, e._resetIsScrollingDebounced);
112
+ }, e._onScrollVertical = function(i) {
113
+ var r = i.currentTarget, o = r.clientHeight, s = r.scrollHeight, h = r.scrollTop;
114
+ e.setState(function(a) {
115
+ if (a.scrollOffset === h)
116
+ return null;
117
+ var d = Math.max(0, Math.min(h, s - o));
118
+ return {
119
+ isScrolling: !0,
120
+ scrollDirection: a.scrollOffset < d ? "forward" : "backward",
121
+ scrollOffset: d,
122
+ scrollUpdateWasRequested: !1
123
+ };
124
+ }, e._resetIsScrollingDebounced);
125
+ }, e._outerRefSetter = function(i) {
126
+ var r = e.props.outerRef;
127
+ e._outerRef = i, typeof r == "function" ? r(i) : r != null && typeof r == "object" && r.hasOwnProperty("current") && (r.current = i);
128
+ }, e._resetIsScrollingDebounced = function() {
129
+ e._resetIsScrollingTimeoutId !== null && $(e._resetIsScrollingTimeoutId), e._resetIsScrollingTimeoutId = re(e._resetIsScrolling, oe);
130
+ }, e._resetIsScrolling = function() {
131
+ e._resetIsScrollingTimeoutId = null, e.setState({
132
+ isScrolling: !1
133
+ }, function() {
134
+ e._getItemStyleCache(-1, null);
135
+ });
136
+ }, e;
137
+ }
138
+ T.getDerivedStateFromProps = function(e, i) {
139
+ return ae(e, i), m(e), null;
140
+ };
141
+ var v = T.prototype;
142
+ return v.scrollTo = function(e) {
143
+ e = Math.max(0, e), this.setState(function(i) {
144
+ return i.scrollOffset === e ? null : {
145
+ scrollDirection: i.scrollOffset < e ? "forward" : "backward",
146
+ scrollOffset: e,
147
+ scrollUpdateWasRequested: !0
148
+ };
149
+ }, this._resetIsScrollingDebounced);
150
+ }, v.scrollToItem = function(e, i) {
151
+ i === void 0 && (i = "auto");
152
+ var r = this.props, o = r.itemCount, s = r.layout, h = this.state.scrollOffset;
153
+ e = Math.max(0, Math.min(e, o - 1));
154
+ var a = 0;
155
+ if (this._outerRef) {
156
+ var d = this._outerRef;
157
+ s === "vertical" ? a = d.scrollWidth > d.clientWidth ? q() : 0 : a = d.scrollHeight > d.clientHeight ? q() : 0;
158
+ }
159
+ this.scrollTo(z(this.props, e, i, h, this._instanceProps, a));
160
+ }, v.componentDidMount = function() {
161
+ var e = this.props, i = e.direction, r = e.initialScrollOffset, o = e.layout;
162
+ if (typeof r == "number" && this._outerRef != null) {
163
+ var s = this._outerRef;
164
+ i === "horizontal" || o === "horizontal" ? s.scrollLeft = r : s.scrollTop = r;
165
+ }
166
+ this._callPropsCallbacks();
167
+ }, v.componentDidUpdate = function() {
168
+ var e = this.props, i = e.direction, r = e.layout, o = this.state, s = o.scrollOffset, h = o.scrollUpdateWasRequested;
169
+ if (h && this._outerRef != null) {
170
+ var a = this._outerRef;
171
+ if (i === "horizontal" || r === "horizontal")
172
+ if (i === "rtl")
173
+ switch (H()) {
174
+ case "negative":
175
+ a.scrollLeft = -s;
176
+ break;
177
+ case "positive-ascending":
178
+ a.scrollLeft = s;
179
+ break;
180
+ default:
181
+ var d = a.clientWidth, f = a.scrollWidth;
182
+ a.scrollLeft = f - d - s;
183
+ break;
184
+ }
185
+ else
186
+ a.scrollLeft = s;
187
+ else
188
+ a.scrollTop = s;
189
+ }
190
+ this._callPropsCallbacks();
191
+ }, v.componentWillUnmount = function() {
192
+ this._resetIsScrollingTimeoutId !== null && $(this._resetIsScrollingTimeoutId);
193
+ }, v.render = function() {
194
+ var e = this.props, i = e.children, r = e.className, o = e.direction, s = e.height, h = e.innerRef, a = e.innerElementType, d = e.innerTagName, f = e.itemCount, y = e.itemData, w = e.itemKey, x = w === void 0 ? ne : w, E = e.layout, K = e.outerElementType, j = e.outerTagName, B = e.style, G = e.useIsScrolling, J = e.width, D = this.state.isScrolling, N = o === "horizontal" || E === "horizontal", Q = N ? this._onScrollHorizontal : this._onScrollVertical, F = this._getRangeToRender(), X = F[0], Y = F[1], L = [];
195
+ if (f > 0)
196
+ for (var C = X; C <= Y; C++)
197
+ L.push(W(i, {
198
+ data: y,
199
+ key: x(C, y),
200
+ index: C,
201
+ isScrolling: G ? D : void 0,
202
+ style: this._getItemStyle(C)
203
+ }));
204
+ var A = c(this.props, this._instanceProps);
205
+ return W(K || j || "div", {
206
+ className: r,
207
+ onScroll: Q,
208
+ ref: this._outerRefSetter,
209
+ style: Z({
210
+ position: "relative",
211
+ height: s,
212
+ width: J,
213
+ overflow: "auto",
214
+ WebkitOverflowScrolling: "touch",
215
+ willChange: "transform",
216
+ direction: o
217
+ }, B)
218
+ }, W(a || d || "div", {
219
+ children: L,
220
+ ref: h,
221
+ style: {
222
+ height: N ? "100%" : A,
223
+ pointerEvents: D ? "none" : void 0,
224
+ width: N ? A : "100%"
225
+ }
226
+ }));
227
+ }, v._callPropsCallbacks = function() {
228
+ if (typeof this.props.onItemsRendered == "function") {
229
+ var e = this.props.itemCount;
230
+ if (e > 0) {
231
+ var i = this._getRangeToRender(), r = i[0], o = i[1], s = i[2], h = i[3];
232
+ this._callOnItemsRendered(r, o, s, h);
233
+ }
234
+ }
235
+ if (typeof this.props.onScroll == "function") {
236
+ var a = this.state, d = a.scrollDirection, f = a.scrollOffset, y = a.scrollUpdateWasRequested;
237
+ this._callOnScroll(d, f, y);
238
+ }
239
+ }, v._getRangeToRender = function() {
240
+ var e = this.props, i = e.itemCount, r = e.overscanCount, o = this.state, s = o.isScrolling, h = o.scrollDirection, a = o.scrollOffset;
241
+ if (i === 0)
242
+ return [0, 0, 0, 0];
243
+ var d = S(this.props, a, this._instanceProps), f = b(this.props, d, a, this._instanceProps), y = !s || h === "backward" ? Math.max(1, r) : 1, w = !s || h === "forward" ? Math.max(1, r) : 1;
244
+ return [Math.max(0, d - y), Math.max(0, Math.min(i - 1, f + w)), d, f];
245
+ }, T;
246
+ }(te), t.defaultProps = {
247
+ direction: "ltr",
248
+ itemData: void 0,
249
+ layout: "vertical",
250
+ overscanCount: 2,
251
+ useIsScrolling: !1
252
+ }, t;
253
+ }
254
+ var ae = function(t, n) {
255
+ var c = t.children, u = t.direction, z = t.height, S = t.layout, b = t.innerTagName, O = t.outerTagName, g = t.width, m = n.instance;
256
+ if (process.env.NODE_ENV !== "production") {
257
+ (b != null || O != null) && R && !R.has(m) && (R.add(m), console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));
258
+ var I = u === "horizontal" || S === "horizontal";
259
+ switch (u) {
260
+ case "horizontal":
261
+ case "vertical":
262
+ P && !P.has(m) && (P.add(m), console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));
263
+ break;
264
+ case "ltr":
265
+ case "rtl":
266
+ break;
267
+ default:
268
+ throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". ' + ('"' + u + '" was specified.'));
269
+ }
270
+ switch (S) {
271
+ case "horizontal":
272
+ case "vertical":
273
+ break;
274
+ default:
275
+ throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". ' + ('"' + S + '" was specified.'));
276
+ }
277
+ if (c == null)
278
+ throw Error('An invalid "children" prop has been specified. Value should be a React component. ' + ('"' + (c === null ? "null" : typeof c) + '" was specified.'));
279
+ if (I && typeof g != "number")
280
+ throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. ' + ('"' + (g === null ? "null" : typeof g) + '" was specified.'));
281
+ if (!I && typeof z != "number")
282
+ throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. ' + ('"' + (z === null ? "null" : typeof z) + '" was specified.'));
283
+ }
284
+ }, fe = /* @__PURE__ */ le({
285
+ getItemOffset: function(t, n) {
286
+ var c = t.itemSize;
287
+ return n * c;
288
+ },
289
+ getItemSize: function(t, n) {
290
+ var c = t.itemSize;
291
+ return c;
292
+ },
293
+ getEstimatedTotalSize: function(t) {
294
+ var n = t.itemCount, c = t.itemSize;
295
+ return c * n;
296
+ },
297
+ getOffsetForIndexAndAlignment: function(t, n, c, u, z, S) {
298
+ var b = t.direction, O = t.height, g = t.itemCount, m = t.itemSize, I = t.layout, T = t.width, v = b === "horizontal" || I === "horizontal", p = v ? T : O, e = Math.max(0, g * m - p), i = Math.min(e, n * m), r = Math.max(0, n * m - p + m + S);
299
+ switch (c === "smart" && (u >= r - p && u <= i + p ? c = "auto" : c = "center"), c) {
300
+ case "start":
301
+ return i;
302
+ case "end":
303
+ return r;
304
+ case "center": {
305
+ var o = Math.round(r + (i - r) / 2);
306
+ return o < Math.ceil(p / 2) ? 0 : o > e + Math.floor(p / 2) ? e : o;
307
+ }
308
+ case "auto":
309
+ default:
310
+ return u >= r && u <= i ? u : u < r ? r : i;
311
+ }
312
+ },
313
+ getStartIndexForOffset: function(t, n) {
314
+ var c = t.itemCount, u = t.itemSize;
315
+ return Math.max(0, Math.min(c - 1, Math.floor(n / u)));
316
+ },
317
+ getStopIndexForStartIndex: function(t, n, c) {
318
+ var u = t.direction, z = t.height, S = t.itemCount, b = t.itemSize, O = t.layout, g = t.width, m = u === "horizontal" || O === "horizontal", I = n * b, T = m ? g : z, v = Math.ceil((T + c - I) / b);
319
+ return Math.max(0, Math.min(
320
+ S - 1,
321
+ n + v - 1
322
+ // -1 is because stop index is inclusive
323
+ ));
324
+ },
325
+ initInstanceProps: function(t) {
326
+ },
327
+ shouldResetStyleCacheOnItemSizeChange: !0,
328
+ validateProps: function(t) {
329
+ var n = t.itemSize;
330
+ if (process.env.NODE_ENV !== "production" && typeof n != "number")
331
+ throw Error('An invalid "itemSize" prop has been specified. Value should be a number. ' + ('"' + (n === null ? "null" : typeof n) + '" was specified.'));
332
+ }
333
+ });
2
334
  export {
3
- r as __exports
335
+ fe as FixedSizeList
4
336
  };
@@ -1,4 +1,33 @@
1
- var e = {};
1
+ import { j as i } from "./index.es82.js";
2
+ import { forwardRef as f } from "react";
3
+ import { useTreeApi as s } from "./index.es339.js";
4
+ import { Cursor as u } from "./index.es441.js";
5
+ var d = function(t, n) {
6
+ var o = {};
7
+ for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (o[e] = t[e]);
8
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
9
+ for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
10
+ n.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (o[e[r]] = t[e[r]]);
11
+ return o;
12
+ };
13
+ const j = f(function(n, o) {
14
+ const { children: e } = n, r = d(n, ["children"]), c = s();
15
+ return i.jsxs("div", Object.assign({
16
+ // @ts-ignore
17
+ ref: o
18
+ }, r, { onClick: (l) => {
19
+ l.currentTarget === l.target && c.deselectAll();
20
+ }, children: [i.jsx(a, {}), e] }));
21
+ }), a = () => {
22
+ const t = s();
23
+ return i.jsx("div", { style: {
24
+ height: t.visibleNodes.length * t.rowHeight,
25
+ width: "100%",
26
+ position: "absolute",
27
+ left: "0",
28
+ right: "0"
29
+ }, children: i.jsx(u, {}) });
30
+ };
2
31
  export {
3
- e as __exports
32
+ j as ListOuterElement
4
33
  };
@@ -1,4 +1,19 @@
1
- var e = {};
1
+ import { j as c } from "./index.es82.js";
2
+ import { forwardRef as u } from "react";
3
+ import { useTreeApi as g } from "./index.es339.js";
4
+ var m = function(r, n) {
5
+ var o = {};
6
+ for (var t in r) Object.prototype.hasOwnProperty.call(r, t) && n.indexOf(t) < 0 && (o[t] = r[t]);
7
+ if (r != null && typeof Object.getOwnPropertySymbols == "function")
8
+ for (var e = 0, t = Object.getOwnPropertySymbols(r); e < t.length; e++)
9
+ n.indexOf(t[e]) < 0 && Object.prototype.propertyIsEnumerable.call(r, t[e]) && (o[t[e]] = r[t[e]]);
10
+ return o;
11
+ };
12
+ const v = u(function(n, o) {
13
+ var t, e, i, d, { style: s } = n, l = m(n, ["style"]);
14
+ const p = g(), a = (e = (t = p.props.padding) !== null && t !== void 0 ? t : p.props.paddingTop) !== null && e !== void 0 ? e : 0, f = (d = (i = p.props.padding) !== null && i !== void 0 ? i : p.props.paddingBottom) !== null && d !== void 0 ? d : 0;
15
+ return c.jsx("div", Object.assign({ ref: o, style: Object.assign(Object.assign({}, s), { height: `${parseFloat(s.height) + a + f}px` }) }, l));
16
+ });
2
17
  export {
3
- e as __exports
18
+ v as ListInnerElement
4
19
  };
@@ -1,11 +1,11 @@
1
1
  import { j as o } from "./index.es82.js";
2
2
  import * as n from "react";
3
- import { Slot as j } from "./index.es95.js";
4
- import { FormProvider as h, useFormContext as I, Controller as N } from "./index.es100.js";
5
- import { l as g } from "./index.es101.js";
3
+ import { Slot as j } from "./index.es87.js";
4
+ import { FormProvider as h, useFormContext as I, Controller as N } from "./index.es111.js";
5
+ import { l as g } from "./index.es99.js";
6
6
  import { useFormField as l } from "./index.es40.js";
7
- import { FormFieldContextProvider as b } from "./index.es102.js";
8
- import { FormItemContextProvider as y } from "./index.es103.js";
7
+ import { FormFieldContextProvider as b } from "./index.es112.js";
8
+ import { FormItemContextProvider as y } from "./index.es113.js";
9
9
  import { cn as d } from "./index.es72.js";
10
10
  import { Label as v } from "./index.es43.js";
11
11
  const $ = ({
@@ -1,4 +1,31 @@
1
- var r = { exports: {} };
1
+ import { j as a } from "./index.es82.js";
2
+ import w, { useRef as x, useCallback as j, useMemo as p, useEffect as N } from "react";
3
+ import { useDataUpdates as b, useNodesContext as C, useTreeApi as _ } from "./index.es339.js";
4
+ import { useDragHook as E } from "./index.es442.js";
5
+ import { useDropHook as F } from "./index.es443.js";
6
+ import { useFreshNode as S } from "./index.es444.js";
7
+ const O = w.memo(function({ index: c, style: n }) {
8
+ b(), C();
9
+ const r = _(), e = S(c), t = x(null), l = E(e), d = F(t, e), u = j((o) => {
10
+ t.current = o, d(o);
11
+ }, [d]), i = r.indent * e.level, m = p(() => ({ paddingLeft: i }), [i]), f = p(() => {
12
+ var o, s;
13
+ return Object.assign(Object.assign({}, n), { top: parseFloat(n.top) + ((s = (o = r.props.padding) !== null && o !== void 0 ? o : r.props.paddingTop) !== null && s !== void 0 ? s : 0) });
14
+ }, [n, r.props.padding, r.props.paddingTop]), g = {
15
+ role: "treeitem",
16
+ "aria-level": e.level + 1,
17
+ "aria-selected": e.isSelected,
18
+ style: f,
19
+ tabIndex: -1,
20
+ className: r.props.rowClassName
21
+ };
22
+ N(() => {
23
+ var o;
24
+ !e.isEditing && e.isFocused && ((o = t.current) === null || o === void 0 || o.focus({ preventScroll: !0 }));
25
+ }, [e.isEditing, e.isFocused, t.current]);
26
+ const R = r.renderNode, v = r.renderRow;
27
+ return a.jsx(v, { node: e, innerRef: u, attrs: g, children: a.jsx(R, { node: e, tree: r, style: m, dragHandle: l }) });
28
+ });
2
29
  export {
3
- r as __module
30
+ O as RowContainer
4
31
  };
@@ -1,4 +1,31 @@
1
- var e = { exports: {} };
1
+ import { __rest as k, __assign as a } from "./index.es321.js";
2
+ import * as r from "react";
3
+ import { fullWidthClassName as E, zeroRightClassName as I } from "./index.es394.js";
4
+ import { effectCar as Z } from "./index.es447.js";
5
+ import { useMergeRefs as W } from "./index.es396.js";
6
+ var l = function() {
7
+ }, m = r.forwardRef(function(e, d) {
8
+ var o = r.useRef(null), n = r.useState({
9
+ onScrollCapture: l,
10
+ onWheelCapture: l,
11
+ onTouchMoveCapture: l
12
+ }), f = n[0], h = n[1], u = e.forwardProps, t = e.children, v = e.className, C = e.removeScrollBar, P = e.enabled, R = e.shards, S = e.sideCar, b = e.noIsolation, w = e.inert, N = e.allowPinchZoom, s = e.as, g = s === void 0 ? "div" : s, _ = k(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), B = S, i = W([o, d]), c = a(a({}, _), f);
13
+ return r.createElement(
14
+ r.Fragment,
15
+ null,
16
+ P && r.createElement(B, { sideCar: Z, removeScrollBar: C, shards: R, noIsolation: b, inert: w, setCallbacks: h, allowPinchZoom: !!N, lockRef: o }),
17
+ u ? r.cloneElement(r.Children.only(t), a(a({}, c), { ref: i })) : r.createElement(g, a({}, c, { className: v, ref: i }), t)
18
+ );
19
+ });
20
+ m.defaultProps = {
21
+ enabled: !0,
22
+ removeScrollBar: !0,
23
+ inert: !1
24
+ };
25
+ m.classNames = {
26
+ fullWidth: E,
27
+ zeroRight: I
28
+ };
2
29
  export {
3
- e as __module
30
+ m as RemoveScroll
4
31
  };