@boxcustodia/library 0.2.6 → 0.2.8

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 (789) hide show
  1. package/dist/index.d.ts +44 -12
  2. package/dist/index.es.js +213 -209
  3. package/dist/index.es100.js +9 -1062
  4. package/dist/index.es101.js +2 -2
  5. package/dist/index.es102.js +4 -4
  6. package/dist/index.es103.js +14 -4
  7. package/dist/index.es104.js +4 -258
  8. package/dist/index.es105.js +57 -12
  9. package/dist/index.es106.js +12 -240
  10. package/dist/index.es107.js +11 -224
  11. package/dist/index.es108.js +259 -11
  12. package/dist/index.es109.js +5 -4
  13. package/dist/index.es11.js +12 -33
  14. package/dist/index.es110.js +1060 -39
  15. package/dist/index.es111.js +4 -11
  16. package/dist/index.es112.js +4 -21
  17. package/dist/index.es113.js +224 -12
  18. package/dist/index.es114.js +4 -4
  19. package/dist/index.es115.js +4 -5
  20. package/dist/index.es116.js +41 -4
  21. package/dist/index.es117.js +240 -14
  22. package/dist/index.es118.js +21 -5
  23. package/dist/index.es119.js +12 -57
  24. package/dist/index.es12.js +33 -17
  25. package/dist/index.es120.js +11 -64
  26. package/dist/index.es121.js +12 -822
  27. package/dist/index.es122.js +64 -9
  28. package/dist/index.es123.js +822 -11
  29. package/dist/index.es124.js +9 -33
  30. package/dist/index.es125.js +4 -6
  31. package/dist/index.es126.js +1 -1
  32. package/dist/index.es127.js +13 -13
  33. package/dist/index.es128.js +33 -13
  34. package/dist/index.es129.js +13 -216
  35. package/dist/index.es13.js +34 -44
  36. package/dist/index.es130.js +17 -8
  37. package/dist/index.es131.js +43 -2
  38. package/dist/index.es132.js +10 -23
  39. package/dist/index.es133.js +211 -601
  40. package/dist/index.es134.js +26 -15
  41. package/dist/index.es135.js +24 -194
  42. package/dist/index.es136.js +8 -42
  43. package/dist/index.es137.js +2 -13
  44. package/dist/index.es138.js +25 -10
  45. package/dist/index.es139.js +605 -20
  46. package/dist/index.es14.js +17 -24
  47. package/dist/index.es140.js +14 -36
  48. package/dist/index.es141.js +195 -9
  49. package/dist/index.es142.js +41 -11
  50. package/dist/index.es143.js +13 -205
  51. package/dist/index.es144.js +20 -5
  52. package/dist/index.es145.js +37 -2
  53. package/dist/index.es146.js +9 -5
  54. package/dist/index.es147.js +9 -62
  55. package/dist/index.es148.js +205 -11
  56. package/dist/index.es149.js +10 -124
  57. package/dist/index.es15.js +44 -15
  58. package/dist/index.es150.js +5 -134
  59. package/dist/index.es151.js +2 -14
  60. package/dist/index.es152.js +6 -32
  61. package/dist/index.es153.js +62 -12
  62. package/dist/index.es154.js +11 -9
  63. package/dist/index.es155.js +122 -47
  64. package/dist/index.es156.js +131 -40
  65. package/dist/index.es157.js +13 -217
  66. package/dist/index.es158.js +32 -649
  67. package/dist/index.es159.js +15 -4
  68. package/dist/index.es16.js +24 -21
  69. package/dist/index.es160.js +9 -4
  70. package/dist/index.es161.js +49 -45
  71. package/dist/index.es162.js +649 -7
  72. package/dist/index.es163.js +217 -5
  73. package/dist/index.es164.js +3 -27
  74. package/dist/index.es165.js +43 -117
  75. package/dist/index.es166.js +3 -32
  76. package/dist/index.es167.js +46 -6
  77. package/dist/index.es168.js +10 -3
  78. package/dist/index.es169.js +5 -2053
  79. package/dist/index.es17.js +14 -27
  80. package/dist/index.es170.js +28 -2
  81. package/dist/index.es171.js +6 -2
  82. package/dist/index.es172.js +3 -12
  83. package/dist/index.es173.js +2052 -4
  84. package/dist/index.es174.js +118 -14
  85. package/dist/index.es175.js +32 -82
  86. package/dist/index.es176.js +2 -16
  87. package/dist/index.es177.js +2 -34
  88. package/dist/index.es178.js +9 -133
  89. package/dist/index.es179.js +4 -174
  90. package/dist/index.es18.js +11 -11
  91. package/dist/index.es180.js +14 -12
  92. package/dist/index.es181.js +78 -74
  93. package/dist/index.es182.js +15 -17
  94. package/dist/index.es183.js +34 -9
  95. package/dist/index.es184.js +130 -47
  96. package/dist/index.es185.js +175 -11
  97. package/dist/index.es186.js +12 -21
  98. package/dist/index.es187.js +79 -9
  99. package/dist/index.es188.js +18 -38
  100. package/dist/index.es189.js +9 -18
  101. package/dist/index.es19.js +21 -26
  102. package/dist/index.es190.js +45 -195
  103. package/dist/index.es191.js +8 -22
  104. package/dist/index.es192.js +5 -24
  105. package/dist/index.es193.js +4 -370
  106. package/dist/index.es194.js +16 -83
  107. package/dist/index.es195.js +5 -5
  108. package/dist/index.es196.js +5 -17
  109. package/dist/index.es197.js +8 -5
  110. package/dist/index.es198.js +6 -7
  111. package/dist/index.es199.js +6 -13
  112. package/dist/index.es20.js +29 -48
  113. package/dist/index.es200.js +15 -6
  114. package/dist/index.es201.js +13 -9
  115. package/dist/index.es202.js +13 -6
  116. package/dist/index.es203.js +7 -25
  117. package/dist/index.es204.js +6 -13
  118. package/dist/index.es205.js +6 -6
  119. package/dist/index.es206.js +4 -6
  120. package/dist/index.es207.js +514 -17
  121. package/dist/index.es208.js +49 -51
  122. package/dist/index.es209.js +17 -6
  123. package/dist/index.es21.js +11 -55
  124. package/dist/index.es210.js +9 -6
  125. package/dist/index.es211.js +19 -7
  126. package/dist/index.es212.js +8 -7
  127. package/dist/index.es213.js +8 -16
  128. package/dist/index.es214.js +7 -8
  129. package/dist/index.es215.js +5 -6
  130. package/dist/index.es216.js +6 -6
  131. package/dist/index.es217.js +9 -10
  132. package/dist/index.es218.js +5 -177
  133. package/dist/index.es219.js +8 -7
  134. package/dist/index.es22.js +26 -114
  135. package/dist/index.es220.js +12 -5
  136. package/dist/index.es221.js +9 -4
  137. package/dist/index.es222.js +8 -5
  138. package/dist/index.es223.js +10 -8
  139. package/dist/index.es224.js +15 -6
  140. package/dist/index.es225.js +6 -15
  141. package/dist/index.es226.js +6 -4
  142. package/dist/index.es227.js +6 -515
  143. package/dist/index.es228.js +7 -50
  144. package/dist/index.es229.js +6 -17
  145. package/dist/index.es23.js +26 -42
  146. package/dist/index.es230.js +9 -9
  147. package/dist/index.es231.js +84 -18
  148. package/dist/index.es232.js +65 -9
  149. package/dist/index.es233.js +37 -7
  150. package/dist/index.es234.js +9 -7
  151. package/dist/index.es235.js +8 -5
  152. package/dist/index.es236.js +7 -6
  153. package/dist/index.es237.js +10 -9
  154. package/dist/index.es238.js +7 -5
  155. package/dist/index.es239.js +7 -8
  156. package/dist/index.es24.js +45 -29
  157. package/dist/index.es240.js +6 -12
  158. package/dist/index.es241.js +5 -9
  159. package/dist/index.es242.js +15 -10
  160. package/dist/index.es243.js +11 -14
  161. package/dist/index.es244.js +20 -64
  162. package/dist/index.es245.js +9 -38
  163. package/dist/index.es246.js +38 -10
  164. package/dist/index.es247.js +18 -9
  165. package/dist/index.es248.js +19 -8
  166. package/dist/index.es249.js +52 -8
  167. package/dist/index.es25.js +54 -21
  168. package/dist/index.es250.js +16 -16
  169. package/dist/index.es251.js +200 -25
  170. package/dist/index.es252.js +22 -5
  171. package/dist/index.es253.js +24 -7
  172. package/dist/index.es254.js +370 -13
  173. package/dist/index.es255.js +177 -13
  174. package/dist/index.es256.js +25 -134
  175. package/dist/index.es257.js +4 -31
  176. package/dist/index.es258.js +7 -462
  177. package/dist/index.es259.js +13 -131
  178. package/dist/index.es26.js +111 -12
  179. package/dist/index.es260.js +14 -27
  180. package/dist/index.es261.js +134 -4
  181. package/dist/index.es262.js +30 -25
  182. package/dist/index.es263.js +462 -7
  183. package/dist/index.es264.js +129 -9
  184. package/dist/index.es265.js +27 -29
  185. package/dist/index.es266.js +4 -48
  186. package/dist/index.es267.js +26 -30
  187. package/dist/index.es268.js +6 -42
  188. package/dist/index.es269.js +11 -158
  189. package/dist/index.es27.js +42 -17
  190. package/dist/index.es270.js +26 -31
  191. package/dist/index.es271.js +49 -2
  192. package/dist/index.es272.js +28 -77
  193. package/dist/index.es273.js +43 -18
  194. package/dist/index.es274.js +159 -2
  195. package/dist/index.es275.js +32 -396
  196. package/dist/index.es276.js +2 -723
  197. package/dist/index.es277.js +71 -274
  198. package/dist/index.es278.js +18 -60
  199. package/dist/index.es279.js +2 -10
  200. package/dist/index.es28.js +30 -15
  201. package/dist/index.es280.js +397 -28
  202. package/dist/index.es281.js +707 -183
  203. package/dist/index.es282.js +282 -3
  204. package/dist/index.es283.js +60 -13
  205. package/dist/index.es284.js +9 -14
  206. package/dist/index.es285.js +29 -16
  207. package/dist/index.es286.js +199 -8
  208. package/dist/index.es287.js +25 -15
  209. package/dist/index.es288.js +16 -3
  210. package/dist/index.es289.js +8 -25
  211. package/dist/index.es29.js +21 -21
  212. package/dist/index.es290.js +3 -28
  213. package/dist/index.es291.js +14 -5
  214. package/dist/index.es292.js +14 -9
  215. package/dist/index.es293.js +15 -5
  216. package/dist/index.es294.js +3 -13
  217. package/dist/index.es295.js +4 -4
  218. package/dist/index.es296.js +57 -7
  219. package/dist/index.es297.js +25 -331
  220. package/dist/index.es298.js +47 -19
  221. package/dist/index.es299.js +67 -4
  222. package/dist/index.es30.js +13 -67
  223. package/dist/index.es300.js +37 -4
  224. package/dist/index.es301.js +19 -3
  225. package/dist/index.es302.js +65 -69
  226. package/dist/index.es303.js +68 -4
  227. package/dist/index.es304.js +68 -4
  228. package/dist/index.es305.js +66 -54
  229. package/dist/index.es306.js +38 -20
  230. package/dist/index.es307.js +38 -38
  231. package/dist/index.es308.js +42 -50
  232. package/dist/index.es309.js +31 -20
  233. package/dist/index.es31.js +18 -24
  234. package/dist/index.es310.js +37 -13
  235. package/dist/index.es311.js +43 -39
  236. package/dist/index.es312.js +44 -40
  237. package/dist/index.es313.js +74 -46
  238. package/dist/index.es314.js +35 -57
  239. package/dist/index.es315.js +39 -38
  240. package/dist/index.es316.js +39 -39
  241. package/dist/index.es317.js +20 -48
  242. package/dist/index.es318.js +19 -38
  243. package/dist/index.es319.js +21 -34
  244. package/dist/index.es32.js +14 -69
  245. package/dist/index.es320.js +22 -63
  246. package/dist/index.es321.js +21 -63
  247. package/dist/index.es322.js +21 -88
  248. package/dist/index.es323.js +14 -41
  249. package/dist/index.es324.js +38 -39
  250. package/dist/index.es325.js +38 -39
  251. package/dist/index.es326.js +14 -25
  252. package/dist/index.es327.js +14 -24
  253. package/dist/index.es328.js +23 -28
  254. package/dist/index.es329.js +29 -31
  255. package/dist/index.es33.js +22 -103
  256. package/dist/index.es330.js +5 -30
  257. package/dist/index.es331.js +9 -29
  258. package/dist/index.es332.js +4 -19
  259. package/dist/index.es333.js +13 -46
  260. package/dist/index.es334.js +4 -45
  261. package/dist/index.es335.js +6 -19
  262. package/dist/index.es336.js +332 -18
  263. package/dist/index.es337.js +19 -2
  264. package/dist/index.es338.js +4 -2
  265. package/dist/index.es339.js +5 -6
  266. package/dist/index.es34.js +67 -72
  267. package/dist/index.es340.js +3 -34
  268. package/dist/index.es341.js +71 -25
  269. package/dist/index.es342.js +4 -18
  270. package/dist/index.es343.js +6 -5
  271. package/dist/index.es344.js +33 -230
  272. package/dist/index.es345.js +25 -99
  273. package/dist/index.es346.js +18 -28
  274. package/dist/index.es347.js +5 -55
  275. package/dist/index.es348.js +219 -322
  276. package/dist/index.es349.js +100 -31
  277. package/dist/index.es35.js +24 -100
  278. package/dist/index.es350.js +28 -17
  279. package/dist/index.es351.js +55 -29
  280. package/dist/index.es352.js +333 -28
  281. package/dist/index.es353.js +31 -5
  282. package/dist/index.es354.js +17 -2
  283. package/dist/index.es355.js +29 -106
  284. package/dist/index.es356.js +2 -76
  285. package/dist/index.es357.js +3 -36
  286. package/dist/index.es358.js +3 -64
  287. package/dist/index.es359.js +107 -34
  288. package/dist/index.es36.js +71 -46
  289. package/dist/index.es360.js +71 -60
  290. package/dist/index.es361.js +34 -111
  291. package/dist/index.es362.js +60 -90
  292. package/dist/index.es363.js +32 -41
  293. package/dist/index.es364.js +66 -3
  294. package/dist/index.es365.js +113 -3
  295. package/dist/index.es366.js +94 -3
  296. package/dist/index.es367.js +43 -3
  297. package/dist/index.es368.js +2 -2
  298. package/dist/index.es369.js +2 -2
  299. package/dist/index.es37.js +102 -17
  300. package/dist/index.es370.js +2 -2
  301. package/dist/index.es371.js +2 -2
  302. package/dist/index.es372.js +2 -2
  303. package/dist/index.es373.js +4 -241
  304. package/dist/index.es374.js +4 -384
  305. package/dist/index.es375.js +4 -169
  306. package/dist/index.es376.js +4 -153
  307. package/dist/index.es377.js +188 -89
  308. package/dist/index.es378.js +384 -4
  309. package/dist/index.es379.js +169 -4
  310. package/dist/index.es38.js +74 -109
  311. package/dist/index.es380.js +153 -4
  312. package/dist/index.es381.js +142 -4
  313. package/dist/index.es382.js +2 -2
  314. package/dist/index.es383.js +2 -2
  315. package/dist/index.es384.js +2 -5
  316. package/dist/index.es385.js +2 -3
  317. package/dist/index.es386.js +2 -24
  318. package/dist/index.es387.js +2 -110
  319. package/dist/index.es388.js +28 -15
  320. package/dist/index.es389.js +5 -2
  321. package/dist/index.es39.js +100 -9
  322. package/dist/index.es390.js +2 -54
  323. package/dist/index.es391.js +44 -49
  324. package/dist/index.es392.js +55 -515
  325. package/dist/index.es393.js +67 -126
  326. package/dist/index.es394.js +31 -126
  327. package/dist/index.es395.js +9 -68
  328. package/dist/index.es396.js +148 -26
  329. package/dist/index.es397.js +108 -9
  330. package/dist/index.es398.js +18 -151
  331. package/dist/index.es399.js +100 -107
  332. package/dist/index.es40.js +47 -18
  333. package/dist/index.es400.js +46 -67
  334. package/dist/index.es401.js +5 -31
  335. package/dist/index.es402.js +3 -16
  336. package/dist/index.es403.js +24 -141
  337. package/dist/index.es404.js +109 -113
  338. package/dist/index.es405.js +15 -5
  339. package/dist/index.es406.js +68 -2
  340. package/dist/index.es407.js +31 -8
  341. package/dist/index.es408.js +16 -327
  342. package/dist/index.es409.js +139 -48
  343. package/dist/index.es41.js +18 -37
  344. package/dist/index.es410.js +114 -4
  345. package/dist/index.es411.js +5 -19
  346. package/dist/index.es412.js +2 -101
  347. package/dist/index.es413.js +8 -47
  348. package/dist/index.es414.js +327 -2
  349. package/dist/index.es415.js +46 -43
  350. package/dist/index.es416.js +3 -82
  351. package/dist/index.es417.js +516 -11
  352. package/dist/index.es418.js +120 -334
  353. package/dist/index.es419.js +120 -69
  354. package/dist/index.es42.js +108 -16
  355. package/dist/index.es420.js +2 -11
  356. package/dist/index.es421.js +47 -2
  357. package/dist/index.es422.js +83 -8
  358. package/dist/index.es423.js +13 -45
  359. package/dist/index.es424.js +341 -2
  360. package/dist/index.es425.js +75 -6
  361. package/dist/index.es426.js +11 -3
  362. package/dist/index.es427.js +23 -105
  363. package/dist/index.es428.js +10 -24
  364. package/dist/index.es429.js +32 -10
  365. package/dist/index.es43.js +9 -24
  366. package/dist/index.es430.js +27 -30
  367. package/dist/index.es431.js +11 -29
  368. package/dist/index.es432.js +2 -12
  369. package/dist/index.es433.js +10 -24
  370. package/dist/index.es434.js +46 -2
  371. package/dist/index.es435.js +4 -35
  372. package/dist/index.es436.js +8 -177
  373. package/dist/index.es437.js +21 -86
  374. package/dist/index.es438.js +4 -17
  375. package/dist/index.es439.js +35 -4
  376. package/dist/index.es44.js +17 -149
  377. package/dist/index.es440.js +177 -4
  378. package/dist/index.es441.js +89 -4
  379. package/dist/index.es442.js +17 -4
  380. package/dist/index.es443.js +2 -24
  381. package/dist/index.es444.js +2 -2
  382. package/dist/index.es445.js +2 -2
  383. package/dist/index.es446.js +2 -2
  384. package/dist/index.es447.js +21 -272
  385. package/dist/index.es448.js +2 -80
  386. package/dist/index.es449.js +2 -166
  387. package/dist/index.es45.js +37 -29
  388. package/dist/index.es450.js +2 -65
  389. package/dist/index.es451.js +269 -63
  390. package/dist/index.es452.js +80 -9
  391. package/dist/index.es453.js +164 -12
  392. package/dist/index.es454.js +3 -60
  393. package/dist/index.es455.js +105 -14
  394. package/dist/index.es456.js +5 -27
  395. package/dist/index.es457.js +14 -11
  396. package/dist/index.es458.js +27 -5
  397. package/dist/index.es459.js +13 -2
  398. package/dist/index.es46.js +15 -93
  399. package/dist/index.es460.js +62 -73
  400. package/dist/index.es461.js +69 -93
  401. package/dist/index.es462.js +9 -52
  402. package/dist/index.es463.js +14 -8
  403. package/dist/index.es464.js +60 -5
  404. package/dist/index.es465.js +2 -52
  405. package/dist/index.es466.js +76 -2
  406. package/dist/index.es467.js +93 -2
  407. package/dist/index.es468.js +49 -40
  408. package/dist/index.es469.js +7 -62
  409. package/dist/index.es47.js +23 -35
  410. package/dist/index.es470.js +4 -18
  411. package/dist/index.es471.js +52 -5
  412. package/dist/index.es472.js +2 -43
  413. package/dist/index.es473.js +2 -5
  414. package/dist/index.es474.js +44 -7
  415. package/dist/index.es475.js +63 -2
  416. package/dist/index.es476.js +19 -2
  417. package/dist/index.es477.js +5 -79
  418. package/dist/index.es478.js +42 -95
  419. package/dist/index.es479.js +5 -14
  420. package/dist/index.es48.js +150 -38
  421. package/dist/index.es480.js +14 -60
  422. package/dist/index.es481.js +5 -24
  423. package/dist/index.es482.js +2 -2
  424. package/dist/index.es483.js +4 -21
  425. package/dist/index.es484.js +81 -24
  426. package/dist/index.es485.js +98 -28
  427. package/dist/index.es486.js +25 -19
  428. package/dist/index.es487.js +4 -25
  429. package/dist/index.es488.js +7 -35
  430. package/dist/index.es489.js +7 -19
  431. package/dist/index.es49.js +29 -6
  432. package/dist/index.es490.js +11 -4
  433. package/dist/index.es491.js +2 -4
  434. package/dist/index.es492.js +9 -5
  435. package/dist/index.es493.js +34 -6
  436. package/dist/index.es494.js +21 -8
  437. package/dist/index.es495.js +21 -4
  438. package/dist/index.es496.js +23 -4
  439. package/dist/index.es497.js +21 -4
  440. package/dist/index.es498.js +21 -4
  441. package/dist/index.es499.js +23 -4
  442. package/dist/index.es50.js +94 -45
  443. package/dist/index.es500.js +2 -2
  444. package/dist/index.es501.js +2 -2
  445. package/dist/index.es503.js +2 -2
  446. package/dist/index.es504.js +2 -2
  447. package/dist/index.es506.js +2 -2
  448. package/dist/index.es507.js +4 -29
  449. package/dist/index.es508.js +4 -26
  450. package/dist/index.es509.js +4 -32
  451. package/dist/index.es51.js +35 -124
  452. package/dist/index.es510.js +4 -29
  453. package/dist/index.es511.js +4 -27
  454. package/dist/index.es512.js +9 -6
  455. package/dist/index.es513.js +8 -54
  456. package/dist/index.es514.js +19 -13
  457. package/dist/index.es515.js +9 -12
  458. package/dist/index.es516.js +10 -27
  459. package/dist/index.es517.js +6 -6
  460. package/dist/index.es518.js +40 -14
  461. package/dist/index.es519.js +11 -108
  462. package/dist/index.es52.js +36 -28
  463. package/dist/index.es520.js +15 -29
  464. package/dist/index.es521.js +28 -11
  465. package/dist/index.es522.js +5 -5
  466. package/dist/index.es523.js +31 -11
  467. package/dist/index.es524.js +104 -7
  468. package/dist/index.es525.js +28 -5
  469. package/dist/index.es526.js +6 -9
  470. package/dist/index.es527.js +5 -5
  471. package/dist/index.es528.js +10 -5
  472. package/dist/index.es529.js +5 -5
  473. package/dist/index.es53.js +6 -24
  474. package/dist/index.es530.js +5 -30
  475. package/dist/index.es531.js +8 -96
  476. package/dist/index.es532.js +14 -12
  477. package/dist/index.es533.js +9 -24
  478. package/dist/index.es534.js +4 -22
  479. package/dist/index.es535.js +23 -30
  480. package/dist/index.es536.js +94 -20
  481. package/dist/index.es537.js +10 -12
  482. package/dist/index.es538.js +15 -22
  483. package/dist/index.es539.js +16 -8
  484. package/dist/index.es54.js +45 -66
  485. package/dist/index.es540.js +22 -29
  486. package/dist/index.es541.js +21 -13
  487. package/dist/index.es542.js +9 -6
  488. package/dist/index.es543.js +25 -8
  489. package/dist/index.es544.js +17 -11
  490. package/dist/index.es545.js +48 -7
  491. package/dist/index.es546.js +17 -7
  492. package/dist/index.es547.js +7 -27
  493. package/dist/index.es548.js +7 -9
  494. package/dist/index.es549.js +13 -25
  495. package/dist/index.es55.js +124 -79
  496. package/dist/index.es550.js +7 -14
  497. package/dist/index.es551.js +9 -11
  498. package/dist/index.es552.js +26 -15
  499. package/dist/index.es553.js +9 -7
  500. package/dist/index.es554.js +31 -10
  501. package/dist/index.es555.js +15 -8
  502. package/dist/index.es556.js +9 -24
  503. package/dist/index.es557.js +14 -8
  504. package/dist/index.es558.js +6 -10
  505. package/dist/index.es559.js +8 -20
  506. package/dist/index.es56.js +26 -96
  507. package/dist/index.es560.js +7 -22
  508. package/dist/index.es561.js +24 -12
  509. package/dist/index.es562.js +8 -25
  510. package/dist/index.es563.js +14 -18
  511. package/dist/index.es564.js +13 -16
  512. package/dist/index.es565.js +13 -18
  513. package/dist/index.es566.js +17 -16
  514. package/dist/index.es567.js +27 -5
  515. package/dist/index.es568.js +19 -19
  516. package/dist/index.es569.js +20 -17
  517. package/dist/index.es57.js +24 -83
  518. package/dist/index.es570.js +22 -22
  519. package/dist/index.es571.js +14 -21
  520. package/dist/index.es572.js +6 -14
  521. package/dist/index.es573.js +16 -8
  522. package/dist/index.es574.js +16 -9
  523. package/dist/index.es575.js +26 -11
  524. package/dist/index.es576.js +21 -12
  525. package/dist/index.es577.js +16 -15
  526. package/dist/index.es578.js +8 -11
  527. package/dist/index.es579.js +11 -15
  528. package/dist/index.es58.js +68 -2
  529. package/dist/index.es580.js +9 -4
  530. package/dist/index.es581.js +12 -15
  531. package/dist/index.es582.js +15 -93
  532. package/dist/index.es583.js +9 -6
  533. package/dist/index.es584.js +16 -7
  534. package/dist/index.es585.js +6 -13
  535. package/dist/index.es586.js +16 -6
  536. package/dist/index.es587.js +88 -9
  537. package/dist/index.es588.js +9 -4
  538. package/dist/index.es589.js +7 -12
  539. package/dist/index.es59.js +76 -77
  540. package/dist/index.es590.js +28 -4
  541. package/dist/index.es591.js +21 -4
  542. package/dist/index.es592.js +27 -4
  543. package/dist/index.es593.js +21 -4
  544. package/dist/index.es594.js +26 -4
  545. package/dist/index.es595.js +2 -2
  546. package/dist/index.es596.js +2 -2
  547. package/dist/index.es597.js +2 -2
  548. package/dist/index.es60.js +95 -15
  549. package/dist/index.es600.js +2 -2
  550. package/dist/index.es601.js +2 -2
  551. package/dist/index.es604.js +2 -2
  552. package/dist/index.es608.js +2 -2
  553. package/dist/index.es609.js +2 -2
  554. package/dist/index.es61.js +82 -48
  555. package/dist/index.es612.js +2 -2
  556. package/dist/index.es613.js +2 -2
  557. package/dist/index.es615.js +2 -2
  558. package/dist/index.es617.js +2 -2
  559. package/dist/index.es618.js +2 -2
  560. package/dist/index.es62.js +2 -26
  561. package/dist/index.es620.js +2 -2
  562. package/dist/index.es622.js +2 -2
  563. package/dist/index.es623.js +2 -2
  564. package/dist/index.es625.js +2 -2
  565. package/dist/index.es626.js +2 -2
  566. package/dist/index.es627.js +2 -2
  567. package/dist/index.es628.js +2 -2
  568. package/dist/index.es629.js +2 -2
  569. package/dist/index.es63.js +79 -25
  570. package/dist/index.es630.js +2 -2
  571. package/dist/index.es631.js +2 -2
  572. package/dist/index.es632.js +2 -2
  573. package/dist/index.es634.js +2 -2
  574. package/dist/index.es636.js +2 -2
  575. package/dist/index.es639.js +2 -2
  576. package/dist/index.es64.js +20 -35
  577. package/dist/index.es640.js +2 -2
  578. package/dist/index.es641.js +2 -2
  579. package/dist/index.es642.js +2 -2
  580. package/dist/index.es643.js +2 -2
  581. package/dist/index.es645.js +2 -2
  582. package/dist/index.es646.js +2 -2
  583. package/dist/index.es647.js +2 -2
  584. package/dist/index.es648.js +2 -2
  585. package/dist/index.es649.js +2 -2
  586. package/dist/index.es65.js +49 -9
  587. package/dist/index.es651.js +2 -2
  588. package/dist/index.es652.js +2 -2
  589. package/dist/index.es654.js +2 -2
  590. package/dist/index.es655.js +2 -2
  591. package/dist/index.es656.js +2 -2
  592. package/dist/index.es658.js +2 -2
  593. package/dist/index.es659.js +2 -2
  594. package/dist/index.es66.js +25 -47
  595. package/dist/index.es660.js +2 -2
  596. package/dist/index.es661.js +2 -2
  597. package/dist/index.es662.js +2 -2
  598. package/dist/index.es663.js +2 -2
  599. package/dist/index.es665.js +2 -2
  600. package/dist/index.es667.js +2 -2
  601. package/dist/index.es668.js +2 -2
  602. package/dist/index.es669.js +2 -2
  603. package/dist/index.es67.js +27 -76
  604. package/dist/index.es673.js +4 -32
  605. package/dist/index.es674.js +4 -32
  606. package/dist/index.es675.js +4 -32
  607. package/dist/index.es676.js +4 -32
  608. package/dist/index.es677.js +4 -29
  609. package/dist/index.es678.js +5 -5
  610. package/dist/index.es679.js +5 -5
  611. package/dist/index.es68.js +34 -61
  612. package/dist/index.es680.js +9 -6
  613. package/dist/index.es681.js +4 -4
  614. package/dist/index.es682.js +6 -9
  615. package/dist/index.es683.js +5 -5
  616. package/dist/index.es684.js +3 -3
  617. package/dist/index.es685.js +6 -9
  618. package/dist/index.es686.js +1 -1
  619. package/dist/index.es687.js +4 -4
  620. package/dist/index.es688.js +4 -4
  621. package/dist/index.es689.js +3 -3
  622. package/dist/index.es69.js +8 -265
  623. package/dist/index.es690.js +1 -1
  624. package/dist/index.es691.js +1 -1
  625. package/dist/index.es692.js +5 -5
  626. package/dist/index.es693.js +9 -4
  627. package/dist/index.es694.js +5 -5
  628. package/dist/index.es695.js +2 -2
  629. package/dist/index.es696.js +2 -2
  630. package/dist/index.es697.js +9 -6
  631. package/dist/index.es698.js +5 -10
  632. package/dist/index.es699.js +4 -4
  633. package/dist/index.es70.js +48 -13
  634. package/dist/index.es700.js +9 -6
  635. package/dist/index.es701.js +3 -3
  636. package/dist/index.es702.js +6 -8
  637. package/dist/index.es703.js +1 -1
  638. package/dist/index.es704.js +2 -2
  639. package/dist/index.es705.js +6 -9
  640. package/dist/index.es706.js +2 -2
  641. package/dist/index.es707.js +13 -8
  642. package/dist/index.es708.js +2 -2
  643. package/dist/index.es709.js +3 -3
  644. package/dist/index.es71.js +74 -33
  645. package/dist/index.es710.js +2 -2
  646. package/dist/index.es711.js +5 -5
  647. package/dist/index.es712.js +26 -4
  648. package/dist/index.es713.js +32 -4
  649. package/dist/index.es714.js +32 -4
  650. package/dist/index.es715.js +32 -4
  651. package/dist/index.es716.js +32 -4
  652. package/dist/index.es718.js +2 -2
  653. package/dist/index.es72.js +62 -11
  654. package/dist/index.es724.js +2 -2
  655. package/dist/index.es729.js +2 -2
  656. package/dist/index.es73.js +206 -27
  657. package/dist/index.es730.js +2 -2
  658. package/dist/index.es731.js +2 -2
  659. package/dist/index.es732.js +2 -2
  660. package/dist/index.es736.js +2 -2
  661. package/dist/index.es739.js +2 -2
  662. package/dist/index.es74.js +6 -10
  663. package/dist/index.es741.js +2 -2
  664. package/dist/index.es746.js +2 -2
  665. package/dist/index.es747.js +2 -2
  666. package/dist/index.es748.js +2 -2
  667. package/dist/index.es749.js +2 -2
  668. package/dist/index.es75.js +21 -2
  669. package/dist/index.es751.js +4 -42
  670. package/dist/index.es752.js +4 -46
  671. package/dist/index.es753.js +4 -27
  672. package/dist/index.es754.js +2 -2
  673. package/dist/index.es755.js +2 -2
  674. package/dist/index.es756.js +42 -4
  675. package/dist/index.es757.js +46 -16
  676. package/dist/index.es758.js +27 -24
  677. package/dist/index.es759.js +2 -83
  678. package/dist/index.es76.js +9 -7
  679. package/dist/index.es760.js +2 -4
  680. package/dist/index.es761.js +2 -23
  681. package/dist/index.es762.js +22 -2
  682. package/dist/index.es763.js +83 -2
  683. package/dist/index.es764.js +14 -24
  684. package/dist/index.es765.js +60 -8
  685. package/dist/index.es766.js +3 -66
  686. package/dist/index.es767.js +22 -51
  687. package/dist/index.es768.js +2 -71
  688. package/dist/index.es769.js +2 -5
  689. package/dist/index.es77.js +2 -11
  690. package/dist/index.es770.js +22 -15
  691. package/dist/index.es771.js +8 -2
  692. package/dist/index.es772.js +67 -2
  693. package/dist/index.es773.js +51 -7
  694. package/dist/index.es774.js +65 -50
  695. package/dist/index.es775.js +5 -19
  696. package/dist/index.es776.js +17 -13
  697. package/dist/index.es777.js +7 -27
  698. package/dist/index.es778.js +56 -5
  699. package/dist/index.es779.js +19 -23
  700. package/dist/index.es78.js +8 -11
  701. package/dist/index.es780.js +2 -7
  702. package/dist/index.es781.js +2 -22
  703. package/dist/index.es782.js +23 -58
  704. package/dist/index.es783.js +13 -35
  705. package/dist/index.es784.js +27 -9
  706. package/dist/index.es785.js +5 -19
  707. package/dist/index.es786.js +6 -8
  708. package/dist/index.es787.js +21 -12
  709. package/dist/index.es788.js +5 -5
  710. package/dist/index.es789.js +34 -9
  711. package/dist/index.es79.js +10 -8
  712. package/dist/index.es790.js +9 -14
  713. package/dist/index.es791.js +14 -6
  714. package/dist/index.es792.js +9 -28
  715. package/dist/index.es793.js +7 -3
  716. package/dist/index.es794.js +58 -5
  717. package/dist/index.es795.js +9 -70
  718. package/dist/index.es796.js +17 -157
  719. package/dist/index.es797.js +11 -44
  720. package/dist/index.es798.js +27 -170
  721. package/dist/index.es799.js +3 -187
  722. package/dist/index.es80.js +11 -3
  723. package/dist/index.es800.js +5 -146
  724. package/dist/index.es801.js +48 -78
  725. package/dist/index.es802.js +150 -135
  726. package/dist/index.es803.js +41 -46
  727. package/dist/index.es804.js +169 -13
  728. package/dist/index.es805.js +158 -64
  729. package/dist/index.es806.js +144 -12
  730. package/dist/index.es807.js +100 -8
  731. package/dist/index.es808.js +143 -10
  732. package/dist/index.es809.js +44 -49
  733. package/dist/index.es81.js +9 -5
  734. package/dist/index.es810.js +14 -10
  735. package/dist/index.es811.js +92 -8
  736. package/dist/index.es812.js +13 -14
  737. package/dist/index.es813.js +8 -52
  738. package/dist/index.es814.js +10 -80
  739. package/dist/index.es815.js +54 -13
  740. package/dist/index.es816.js +10 -28
  741. package/dist/index.es817.js +8 -4
  742. package/dist/index.es818.js +13 -39
  743. package/dist/index.es819.js +52 -5
  744. package/dist/index.es82.js +3 -15
  745. package/dist/index.es820.js +77 -20
  746. package/dist/index.es821.js +14 -14
  747. package/dist/index.es822.js +28 -40
  748. package/dist/index.es823.js +3 -3
  749. package/dist/index.es824.js +36 -22
  750. package/dist/index.es825.js +5 -6
  751. package/dist/index.es826.js +20 -38
  752. package/dist/index.es827.js +14 -54
  753. package/dist/index.es828.js +39 -16
  754. package/dist/index.es829.js +5 -7
  755. package/dist/index.es83.js +5 -2282
  756. package/dist/index.es830.js +23 -63
  757. package/dist/index.es831.js +6 -10
  758. package/dist/index.es832.js +37 -39
  759. package/dist/index.es833.js +51 -54
  760. package/dist/index.es834.js +16 -18
  761. package/dist/index.es835.js +7 -11
  762. package/dist/index.es836.js +64 -34
  763. package/dist/index.es837.js +10 -13
  764. package/dist/index.es838.js +41 -57
  765. package/dist/index.es839.js +55 -12
  766. package/dist/index.es84.js +15 -6
  767. package/dist/index.es840.js +22 -0
  768. package/dist/index.es841.js +39 -0
  769. package/dist/index.es842.js +16 -0
  770. package/dist/index.es843.js +62 -0
  771. package/dist/index.es844.js +17 -0
  772. package/dist/index.es845.js +13 -0
  773. package/dist/index.es85.js +2264 -289
  774. package/dist/index.es86.js +6 -12
  775. package/dist/index.es87.js +305 -31
  776. package/dist/index.es88.js +12 -30
  777. package/dist/index.es89.js +33 -9
  778. package/dist/index.es90.js +6 -6
  779. package/dist/index.es91.js +5 -5
  780. package/dist/index.es92.js +10 -10
  781. package/dist/index.es93.js +7 -7
  782. package/dist/index.es94.js +5 -5
  783. package/dist/index.es95.js +7 -7
  784. package/dist/index.es96.js +35 -12
  785. package/dist/index.es97.js +45 -34
  786. package/dist/index.es98.js +30 -46
  787. package/dist/index.es99.js +29 -29
  788. package/dist/style.css +27 -6
  789. package/package.json +13 -11
@@ -1,148 +1,7 @@
1
- import { invariant as o } from "./index.es775.js";
2
- function l(n, e) {
3
- if (!(n instanceof e))
4
- throw new TypeError("Cannot call a class as a function");
5
- }
6
- function s(n, e) {
7
- for (var t = 0; t < e.length; t++) {
8
- var r = e[t];
9
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(n, r.key, r);
10
- }
11
- }
12
- function c(n, e, t) {
13
- return e && s(n.prototype, e), n;
14
- }
15
- function u(n, e, t) {
16
- return e in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
17
- }
18
- var i = !1, a = !1, f = /* @__PURE__ */ function() {
19
- function n(e) {
20
- l(this, n), u(this, "internalMonitor", void 0), u(this, "sourceId", null), this.internalMonitor = e.getMonitor();
21
- }
22
- return c(n, [{
23
- key: "receiveHandlerId",
24
- value: function(t) {
25
- this.sourceId = t;
26
- }
27
- }, {
28
- key: "getHandlerId",
29
- value: function() {
30
- return this.sourceId;
31
- }
32
- }, {
33
- key: "canDrag",
34
- value: function() {
35
- o(!i, "You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
36
- try {
37
- return i = !0, this.internalMonitor.canDragSource(this.sourceId);
38
- } finally {
39
- i = !1;
40
- }
41
- }
42
- }, {
43
- key: "isDragging",
44
- value: function() {
45
- if (!this.sourceId)
46
- return !1;
47
- o(!a, "You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
48
- try {
49
- return a = !0, this.internalMonitor.isDraggingSource(this.sourceId);
50
- } finally {
51
- a = !1;
52
- }
53
- }
54
- }, {
55
- key: "subscribeToStateChange",
56
- value: function(t, r) {
57
- return this.internalMonitor.subscribeToStateChange(t, r);
58
- }
59
- }, {
60
- key: "isDraggingSource",
61
- value: function(t) {
62
- return this.internalMonitor.isDraggingSource(t);
63
- }
64
- }, {
65
- key: "isOverTarget",
66
- value: function(t, r) {
67
- return this.internalMonitor.isOverTarget(t, r);
68
- }
69
- }, {
70
- key: "getTargetIds",
71
- value: function() {
72
- return this.internalMonitor.getTargetIds();
73
- }
74
- }, {
75
- key: "isSourcePublic",
76
- value: function() {
77
- return this.internalMonitor.isSourcePublic();
78
- }
79
- }, {
80
- key: "getSourceId",
81
- value: function() {
82
- return this.internalMonitor.getSourceId();
83
- }
84
- }, {
85
- key: "subscribeToOffsetChange",
86
- value: function(t) {
87
- return this.internalMonitor.subscribeToOffsetChange(t);
88
- }
89
- }, {
90
- key: "canDragSource",
91
- value: function(t) {
92
- return this.internalMonitor.canDragSource(t);
93
- }
94
- }, {
95
- key: "canDropOnTarget",
96
- value: function(t) {
97
- return this.internalMonitor.canDropOnTarget(t);
98
- }
99
- }, {
100
- key: "getItemType",
101
- value: function() {
102
- return this.internalMonitor.getItemType();
103
- }
104
- }, {
105
- key: "getItem",
106
- value: function() {
107
- return this.internalMonitor.getItem();
108
- }
109
- }, {
110
- key: "getDropResult",
111
- value: function() {
112
- return this.internalMonitor.getDropResult();
113
- }
114
- }, {
115
- key: "didDrop",
116
- value: function() {
117
- return this.internalMonitor.didDrop();
118
- }
119
- }, {
120
- key: "getInitialClientOffset",
121
- value: function() {
122
- return this.internalMonitor.getInitialClientOffset();
123
- }
124
- }, {
125
- key: "getInitialSourceClientOffset",
126
- value: function() {
127
- return this.internalMonitor.getInitialSourceClientOffset();
128
- }
129
- }, {
130
- key: "getSourceClientOffset",
131
- value: function() {
132
- return this.internalMonitor.getSourceClientOffset();
133
- }
134
- }, {
135
- key: "getClientOffset",
136
- value: function() {
137
- return this.internalMonitor.getClientOffset();
138
- }
139
- }, {
140
- key: "getDifferenceFromInitialOffset",
141
- value: function() {
142
- return this.internalMonitor.getDifferenceFromInitialOffset();
143
- }
144
- }]), n;
145
- }();
1
+ var R;
2
+ (function(E) {
3
+ E.SOURCE = "SOURCE", E.TARGET = "TARGET";
4
+ })(R || (R = {}));
146
5
  export {
147
- f as DragSourceMonitorImpl
6
+ R as HandlerRole
148
7
  };
@@ -1,103 +1,73 @@
1
- import { invariant as o } from "./index.es775.js";
2
- function l(t, e) {
3
- if (!(t instanceof e))
1
+ import { createDragDropActions as l } from "./index.es818.js";
2
+ function g(n, e) {
3
+ if (!(n instanceof e))
4
4
  throw new TypeError("Cannot call a class as a function");
5
5
  }
6
- function u(t, e) {
7
- for (var n = 0; n < e.length; n++) {
8
- var i = e[n];
9
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);
6
+ function d(n, e) {
7
+ for (var i = 0; i < e.length; i++) {
8
+ var t = e[i];
9
+ t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(n, t.key, t);
10
10
  }
11
11
  }
12
- function f(t, e, n) {
13
- return e && u(t.prototype, e), t;
12
+ function v(n, e, i) {
13
+ return e && d(n.prototype, e), n;
14
14
  }
15
- function a(t, e, n) {
16
- return e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
15
+ function a(n, e, i) {
16
+ return e in n ? Object.defineProperty(n, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = i, n;
17
17
  }
18
- var r = !1, c = /* @__PURE__ */ function() {
19
- function t(e) {
20
- l(this, t), a(this, "internalMonitor", void 0), a(this, "targetId", null), this.internalMonitor = e.getMonitor();
18
+ var b = /* @__PURE__ */ function() {
19
+ function n(e, i) {
20
+ var t = this;
21
+ g(this, n), a(this, "store", void 0), a(this, "monitor", void 0), a(this, "backend", void 0), a(this, "isSetUp", !1), a(this, "handleRefCountChange", function() {
22
+ var o = t.store.getState().refCount > 0;
23
+ t.backend && (o && !t.isSetUp ? (t.backend.setup(), t.isSetUp = !0) : !o && t.isSetUp && (t.backend.teardown(), t.isSetUp = !1));
24
+ }), this.store = e, this.monitor = i, e.subscribe(this.handleRefCountChange);
21
25
  }
22
- return f(t, [{
23
- key: "receiveHandlerId",
24
- value: function(n) {
25
- this.targetId = n;
26
+ return v(n, [{
27
+ key: "receiveBackend",
28
+ value: function(i) {
29
+ this.backend = i;
26
30
  }
27
31
  }, {
28
- key: "getHandlerId",
32
+ key: "getMonitor",
29
33
  value: function() {
30
- return this.targetId;
34
+ return this.monitor;
31
35
  }
32
36
  }, {
33
- key: "subscribeToStateChange",
34
- value: function(n, i) {
35
- return this.internalMonitor.subscribeToStateChange(n, i);
36
- }
37
- }, {
38
- key: "canDrop",
37
+ key: "getBackend",
39
38
  value: function() {
40
- if (!this.targetId)
41
- return !1;
42
- o(!r, "You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");
43
- try {
44
- return r = !0, this.internalMonitor.canDropOnTarget(this.targetId);
45
- } finally {
46
- r = !1;
47
- }
39
+ return this.backend;
48
40
  }
49
41
  }, {
50
- key: "isOver",
51
- value: function(n) {
52
- return this.targetId ? this.internalMonitor.isOverTarget(this.targetId, n) : !1;
53
- }
54
- }, {
55
- key: "getItemType",
42
+ key: "getRegistry",
56
43
  value: function() {
57
- return this.internalMonitor.getItemType();
44
+ return this.monitor.registry;
58
45
  }
59
46
  }, {
60
- key: "getItem",
47
+ key: "getActions",
61
48
  value: function() {
62
- return this.internalMonitor.getItem();
63
- }
64
- }, {
65
- key: "getDropResult",
66
- value: function() {
67
- return this.internalMonitor.getDropResult();
68
- }
69
- }, {
70
- key: "didDrop",
71
- value: function() {
72
- return this.internalMonitor.didDrop();
73
- }
74
- }, {
75
- key: "getInitialClientOffset",
76
- value: function() {
77
- return this.internalMonitor.getInitialClientOffset();
78
- }
79
- }, {
80
- key: "getInitialSourceClientOffset",
81
- value: function() {
82
- return this.internalMonitor.getInitialSourceClientOffset();
83
- }
84
- }, {
85
- key: "getSourceClientOffset",
86
- value: function() {
87
- return this.internalMonitor.getSourceClientOffset();
88
- }
89
- }, {
90
- key: "getClientOffset",
91
- value: function() {
92
- return this.internalMonitor.getClientOffset();
49
+ var i = this, t = this.store.dispatch;
50
+ function o(s) {
51
+ return function() {
52
+ for (var r = arguments.length, u = new Array(r), c = 0; c < r; c++)
53
+ u[c] = arguments[c];
54
+ var h = s.apply(i, u);
55
+ typeof h < "u" && t(h);
56
+ };
57
+ }
58
+ var f = l(this);
59
+ return Object.keys(f).reduce(function(s, r) {
60
+ var u = f[r];
61
+ return s[r] = o(u), s;
62
+ }, {});
93
63
  }
94
64
  }, {
95
- key: "getDifferenceFromInitialOffset",
96
- value: function() {
97
- return this.internalMonitor.getDifferenceFromInitialOffset();
65
+ key: "dispatch",
66
+ value: function(i) {
67
+ this.store.dispatch(i);
98
68
  }
99
- }]), t;
69
+ }]), n;
100
70
  }();
101
71
  export {
102
- c as DropTargetMonitorImpl
72
+ b as DragDropManagerImpl
103
73
  };
@@ -1,146 +1,161 @@
1
- import { wrapConnectorHooks as s } from "./index.es803.js";
2
- import { isRef as c } from "./index.es804.js";
3
- import { shallowEqual as d } from "./index.es781.js";
4
- function u(i, r) {
5
- if (!(i instanceof r))
6
- throw new TypeError("Cannot call a class as a function");
1
+ function n(e) {
2
+ return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
7
3
  }
8
- function g(i, r) {
9
- for (var e = 0; e < r.length; e++) {
10
- var t = r[e];
11
- t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(i, t.key, t);
4
+ var w = function() {
5
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
6
+ }(), y = function() {
7
+ return Math.random().toString(36).substring(7).split("").join(".");
8
+ }, v = {
9
+ INIT: "@@redux/INIT" + y(),
10
+ REPLACE: "@@redux/REPLACE" + y(),
11
+ PROBE_UNKNOWN_ACTION: function() {
12
+ return "@@redux/PROBE_UNKNOWN_ACTION" + y();
12
13
  }
14
+ };
15
+ function D(e) {
16
+ if (typeof e != "object" || e === null) return !1;
17
+ for (var t = e; Object.getPrototypeOf(t) !== null; )
18
+ t = Object.getPrototypeOf(t);
19
+ return Object.getPrototypeOf(e) === t;
13
20
  }
14
- function h(i, r, e) {
15
- return r && g(i.prototype, r), i;
21
+ function S(e) {
22
+ if (e === void 0) return "undefined";
23
+ if (e === null) return "null";
24
+ var t = typeof e;
25
+ switch (t) {
26
+ case "boolean":
27
+ case "string":
28
+ case "number":
29
+ case "symbol":
30
+ case "function":
31
+ return t;
32
+ }
33
+ if (Array.isArray(e)) return "array";
34
+ if (P(e)) return "date";
35
+ if (V(e)) return "error";
36
+ var o = I(e);
37
+ switch (o) {
38
+ case "Symbol":
39
+ case "Promise":
40
+ case "WeakMap":
41
+ case "WeakSet":
42
+ case "Map":
43
+ case "Set":
44
+ return o;
45
+ }
46
+ return t.slice(8, -1).toLowerCase().replace(/\s/g, "");
16
47
  }
17
- function n(i, r, e) {
18
- return r in i ? Object.defineProperty(i, r, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[r] = e, i;
48
+ function I(e) {
49
+ return typeof e.constructor == "function" ? e.constructor.name : null;
19
50
  }
20
- var w = /* @__PURE__ */ function() {
21
- function i(r) {
22
- var e = this;
23
- u(this, i), n(this, "hooks", s({
24
- dragSource: function(a, o) {
25
- e.clearDragSource(), e.dragSourceOptions = o || null, c(a) ? e.dragSourceRef = a : e.dragSourceNode = a, e.reconnectDragSource();
26
- },
27
- dragPreview: function(a, o) {
28
- e.clearDragPreview(), e.dragPreviewOptions = o || null, c(a) ? e.dragPreviewRef = a : e.dragPreviewNode = a, e.reconnectDragPreview();
29
- }
30
- })), n(this, "handlerId", null), n(this, "dragSourceRef", null), n(this, "dragSourceNode", void 0), n(this, "dragSourceOptionsInternal", null), n(this, "dragSourceUnsubscribe", void 0), n(this, "dragPreviewRef", null), n(this, "dragPreviewNode", void 0), n(this, "dragPreviewOptionsInternal", null), n(this, "dragPreviewUnsubscribe", void 0), n(this, "lastConnectedHandlerId", null), n(this, "lastConnectedDragSource", null), n(this, "lastConnectedDragSourceOptions", null), n(this, "lastConnectedDragPreview", null), n(this, "lastConnectedDragPreviewOptions", null), n(this, "backend", void 0), this.backend = r;
51
+ function V(e) {
52
+ return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
53
+ }
54
+ function P(e) {
55
+ return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
56
+ }
57
+ function a(e) {
58
+ var t = typeof e;
59
+ return process.env.NODE_ENV !== "production" && (t = S(e)), t;
60
+ }
61
+ function j(e, t, o) {
62
+ var d;
63
+ if (typeof t == "function" && typeof o == "function" || typeof o == "function" && typeof arguments[3] == "function")
64
+ throw new Error(process.env.NODE_ENV === "production" ? n(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
65
+ if (typeof t == "function" && typeof o > "u" && (o = t, t = void 0), typeof o < "u") {
66
+ if (typeof o != "function")
67
+ throw new Error(process.env.NODE_ENV === "production" ? n(1) : "Expected the enhancer to be a function. Instead, received: '" + a(o) + "'");
68
+ return o(j)(e, t);
31
69
  }
32
- return h(i, [{
33
- key: "receiveHandlerId",
34
- value: function(e) {
35
- this.handlerId !== e && (this.handlerId = e, this.reconnect());
36
- }
37
- }, {
38
- key: "connectTarget",
39
- get: function() {
40
- return this.dragSource;
41
- }
42
- }, {
43
- key: "dragSourceOptions",
44
- get: function() {
45
- return this.dragSourceOptionsInternal;
46
- },
47
- set: function(e) {
48
- this.dragSourceOptionsInternal = e;
49
- }
50
- }, {
51
- key: "dragPreviewOptions",
52
- get: function() {
53
- return this.dragPreviewOptionsInternal;
54
- },
55
- set: function(e) {
56
- this.dragPreviewOptionsInternal = e;
57
- }
58
- }, {
59
- key: "reconnect",
60
- value: function() {
61
- this.reconnectDragSource(), this.reconnectDragPreview();
62
- }
63
- }, {
64
- key: "reconnectDragSource",
65
- value: function() {
66
- var e = this.dragSource, t = this.didHandlerIdChange() || this.didConnectedDragSourceChange() || this.didDragSourceOptionsChange();
67
- if (t && this.disconnectDragSource(), !!this.handlerId) {
68
- if (!e) {
69
- this.lastConnectedDragSource = e;
70
- return;
71
- }
72
- t && (this.lastConnectedHandlerId = this.handlerId, this.lastConnectedDragSource = e, this.lastConnectedDragSourceOptions = this.dragSourceOptions, this.dragSourceUnsubscribe = this.backend.connectDragSource(this.handlerId, e, this.dragSourceOptions));
70
+ if (typeof e != "function")
71
+ throw new Error(process.env.NODE_ENV === "production" ? n(2) : "Expected the root reducer to be a function. Instead, received: '" + a(e) + "'");
72
+ var E = e, l = t, f = [], u = f, c = !1;
73
+ function b() {
74
+ u === f && (u = f.slice());
75
+ }
76
+ function m() {
77
+ if (c)
78
+ throw new Error(process.env.NODE_ENV === "production" ? n(3) : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
79
+ return l;
80
+ }
81
+ function N(r) {
82
+ if (typeof r != "function")
83
+ throw new Error(process.env.NODE_ENV === "production" ? n(4) : "Expected the listener to be a function. Instead, received: '" + a(r) + "'");
84
+ if (c)
85
+ throw new Error(process.env.NODE_ENV === "production" ? n(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
86
+ var i = !0;
87
+ return b(), u.push(r), function() {
88
+ if (i) {
89
+ if (c)
90
+ throw new Error(process.env.NODE_ENV === "production" ? n(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
91
+ i = !1, b();
92
+ var s = u.indexOf(r);
93
+ u.splice(s, 1), f = null;
73
94
  }
74
- }
75
- }, {
76
- key: "reconnectDragPreview",
77
- value: function() {
78
- var e = this.dragPreview, t = this.didHandlerIdChange() || this.didConnectedDragPreviewChange() || this.didDragPreviewOptionsChange();
79
- if (t && this.disconnectDragPreview(), !!this.handlerId) {
80
- if (!e) {
81
- this.lastConnectedDragPreview = e;
82
- return;
95
+ };
96
+ }
97
+ function h(r) {
98
+ if (!D(r))
99
+ throw new Error(process.env.NODE_ENV === "production" ? n(7) : "Actions must be plain objects. Instead, the actual type was: '" + a(r) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
100
+ if (typeof r.type > "u")
101
+ throw new Error(process.env.NODE_ENV === "production" ? n(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
102
+ if (c)
103
+ throw new Error(process.env.NODE_ENV === "production" ? n(9) : "Reducers may not dispatch actions.");
104
+ try {
105
+ c = !0, l = E(l, r);
106
+ } finally {
107
+ c = !1;
108
+ }
109
+ for (var i = f = u, p = 0; p < i.length; p++) {
110
+ var s = i[p];
111
+ s();
112
+ }
113
+ return r;
114
+ }
115
+ function O(r) {
116
+ if (typeof r != "function")
117
+ throw new Error(process.env.NODE_ENV === "production" ? n(10) : "Expected the nextReducer to be a function. Instead, received: '" + a(r));
118
+ E = r, h({
119
+ type: v.REPLACE
120
+ });
121
+ }
122
+ function x() {
123
+ var r, i = N;
124
+ return r = {
125
+ /**
126
+ * The minimal observable subscription method.
127
+ * @param {Object} observer Any object that can be used as an observer.
128
+ * The observer object should have a `next` method.
129
+ * @returns {subscription} An object with an `unsubscribe` method that can
130
+ * be used to unsubscribe the observable from the store, and prevent further
131
+ * emission of values from the observable.
132
+ */
133
+ subscribe: function(s) {
134
+ if (typeof s != "object" || s === null)
135
+ throw new Error(process.env.NODE_ENV === "production" ? n(11) : "Expected the observer to be an object. Instead, received: '" + a(s) + "'");
136
+ function g() {
137
+ s.next && s.next(m());
83
138
  }
84
- t && (this.lastConnectedHandlerId = this.handlerId, this.lastConnectedDragPreview = e, this.lastConnectedDragPreviewOptions = this.dragPreviewOptions, this.dragPreviewUnsubscribe = this.backend.connectDragPreview(this.handlerId, e, this.dragPreviewOptions));
139
+ g();
140
+ var _ = i(g);
141
+ return {
142
+ unsubscribe: _
143
+ };
85
144
  }
86
- }
87
- }, {
88
- key: "didHandlerIdChange",
89
- value: function() {
90
- return this.lastConnectedHandlerId !== this.handlerId;
91
- }
92
- }, {
93
- key: "didConnectedDragSourceChange",
94
- value: function() {
95
- return this.lastConnectedDragSource !== this.dragSource;
96
- }
97
- }, {
98
- key: "didConnectedDragPreviewChange",
99
- value: function() {
100
- return this.lastConnectedDragPreview !== this.dragPreview;
101
- }
102
- }, {
103
- key: "didDragSourceOptionsChange",
104
- value: function() {
105
- return !d(this.lastConnectedDragSourceOptions, this.dragSourceOptions);
106
- }
107
- }, {
108
- key: "didDragPreviewOptionsChange",
109
- value: function() {
110
- return !d(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions);
111
- }
112
- }, {
113
- key: "disconnectDragSource",
114
- value: function() {
115
- this.dragSourceUnsubscribe && (this.dragSourceUnsubscribe(), this.dragSourceUnsubscribe = void 0);
116
- }
117
- }, {
118
- key: "disconnectDragPreview",
119
- value: function() {
120
- this.dragPreviewUnsubscribe && (this.dragPreviewUnsubscribe(), this.dragPreviewUnsubscribe = void 0, this.dragPreviewNode = null, this.dragPreviewRef = null);
121
- }
122
- }, {
123
- key: "dragSource",
124
- get: function() {
125
- return this.dragSourceNode || this.dragSourceRef && this.dragSourceRef.current;
126
- }
127
- }, {
128
- key: "dragPreview",
129
- get: function() {
130
- return this.dragPreviewNode || this.dragPreviewRef && this.dragPreviewRef.current;
131
- }
132
- }, {
133
- key: "clearDragSource",
134
- value: function() {
135
- this.dragSourceNode = null, this.dragSourceRef = null;
136
- }
137
- }, {
138
- key: "clearDragPreview",
139
- value: function() {
140
- this.dragPreviewNode = null, this.dragPreviewRef = null;
141
- }
142
- }]), i;
143
- }();
145
+ }, r[w] = function() {
146
+ return this;
147
+ }, r;
148
+ }
149
+ return h({
150
+ type: v.INIT
151
+ }), d = {
152
+ dispatch: h,
153
+ subscribe: N,
154
+ getState: m,
155
+ replaceReducer: O
156
+ }, d[w] = x, d;
157
+ }
144
158
  export {
145
- w as SourceConnector
159
+ v as __DO_NOT_USE__ActionTypes,
160
+ j as createStore
146
161
  };