@boxcustodia/library 0.0.7 → 0.0.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 (272) hide show
  1. package/dist/index.d.ts +6 -1
  2. package/dist/index.es100.js +4 -4
  3. package/dist/index.es101.js +4 -14
  4. package/dist/index.es102.js +3 -4
  5. package/dist/index.es103.js +14 -57
  6. package/dist/index.es104.js +5 -29
  7. package/dist/index.es105.js +57 -12
  8. package/dist/index.es106.js +29 -11
  9. package/dist/index.es111.js +243 -1046
  10. package/dist/index.es112.js +12 -4
  11. package/dist/index.es113.js +11 -4
  12. package/dist/index.es114.js +7 -7
  13. package/dist/index.es117.js +14 -14
  14. package/dist/index.es118.js +813 -55
  15. package/dist/index.es119.js +9 -822
  16. package/dist/index.es120.js +5 -3
  17. package/dist/index.es121.js +64 -11
  18. package/dist/index.es122.js +88 -11
  19. package/dist/index.es123.js +11 -88
  20. package/dist/index.es124.js +4 -216
  21. package/dist/index.es127.js +5 -5
  22. package/dist/index.es128.js +216 -4
  23. package/dist/index.es129.js +2 -2
  24. package/dist/index.es134.js +1 -1
  25. package/dist/index.es137.js +20 -11
  26. package/dist/index.es138.js +37 -205
  27. package/dist/index.es139.js +10 -10
  28. package/dist/index.es140.js +11 -20
  29. package/dist/index.es141.js +205 -37
  30. package/dist/index.es142.js +10 -10
  31. package/dist/index.es143.js +5 -6
  32. package/dist/index.es144.js +2 -65
  33. package/dist/index.es145.js +44 -11
  34. package/dist/index.es146.js +5 -123
  35. package/dist/index.es147.js +58 -128
  36. package/dist/index.es148.js +11 -14
  37. package/dist/index.es149.js +122 -30
  38. package/dist/index.es150.js +134 -14
  39. package/dist/index.es151.js +12 -7
  40. package/dist/index.es152.js +32 -49
  41. package/dist/index.es153.js +14 -5
  42. package/dist/index.es154.js +9 -2
  43. package/dist/index.es155.js +48 -648
  44. package/dist/index.es156.js +5 -5
  45. package/dist/index.es157.js +649 -3
  46. package/dist/index.es158.js +4 -4
  47. package/dist/index.es159.js +3 -45
  48. package/dist/index.es160.js +45 -7
  49. package/dist/index.es161.js +7 -5
  50. package/dist/index.es162.js +6 -28
  51. package/dist/index.es163.js +27 -43
  52. package/dist/index.es164.js +3 -3
  53. package/dist/index.es166.js +5 -5
  54. package/dist/index.es168.js +2 -2
  55. package/dist/index.es179.js +1 -1
  56. package/dist/index.es180.js +1 -1
  57. package/dist/index.es181.js +2 -2
  58. package/dist/index.es182.js +1 -1
  59. package/dist/index.es184.js +1 -1
  60. package/dist/index.es207.js +1 -1
  61. package/dist/index.es240.js +1 -1
  62. package/dist/index.es241.js +24 -177
  63. package/dist/index.es242.js +5 -5
  64. package/dist/index.es243.js +2 -2
  65. package/dist/index.es246.js +1 -1
  66. package/dist/index.es247.js +1 -1
  67. package/dist/index.es248.js +3 -3
  68. package/dist/index.es249.js +178 -2
  69. package/dist/index.es250.js +25 -397
  70. package/dist/index.es251.js +4 -722
  71. package/dist/index.es252.js +7 -282
  72. package/dist/index.es253.js +13 -60
  73. package/dist/index.es254.js +13 -9
  74. package/dist/index.es255.js +134 -28
  75. package/dist/index.es256.js +32 -199
  76. package/dist/index.es257.js +462 -25
  77. package/dist/index.es258.js +131 -4
  78. package/dist/index.es259.js +27 -8
  79. package/dist/index.es260.js +4 -13
  80. package/dist/index.es261.js +26 -13
  81. package/dist/index.es262.js +7 -134
  82. package/dist/index.es263.js +11 -31
  83. package/dist/index.es264.js +26 -460
  84. package/dist/index.es265.js +47 -130
  85. package/dist/index.es266.js +31 -27
  86. package/dist/index.es267.js +43 -4
  87. package/dist/index.es268.js +158 -26
  88. package/dist/index.es269.js +32 -6
  89. package/dist/index.es27.js +1 -1
  90. package/dist/index.es270.js +2 -12
  91. package/dist/index.es271.js +77 -26
  92. package/dist/index.es272.js +18 -48
  93. package/dist/index.es273.js +2 -31
  94. package/dist/index.es274.js +397 -43
  95. package/dist/index.es275.js +715 -151
  96. package/dist/index.es276.js +278 -29
  97. package/dist/index.es277.js +61 -2
  98. package/dist/index.es278.js +8 -78
  99. package/dist/index.es279.js +28 -18
  100. package/dist/index.es28.js +3 -3
  101. package/dist/index.es280.js +199 -25
  102. package/dist/index.es281.js +15 -16
  103. package/dist/index.es282.js +3 -8
  104. package/dist/index.es283.js +16 -4
  105. package/dist/index.es284.js +8 -14
  106. package/dist/index.es285.js +4 -15
  107. package/dist/index.es286.js +14 -15
  108. package/dist/index.es287.js +15 -3
  109. package/dist/index.es29.js +6 -6
  110. package/dist/index.es31.js +2 -2
  111. package/dist/index.es32.js +2 -2
  112. package/dist/index.es322.js +3 -3
  113. package/dist/index.es323.js +3 -3
  114. package/dist/index.es325.js +1 -1
  115. package/dist/index.es326.js +5 -5
  116. package/dist/index.es327.js +1 -1
  117. package/dist/index.es336.js +6 -2
  118. package/dist/index.es337.js +34 -2
  119. package/dist/index.es338.js +26 -6
  120. package/dist/index.es339.js +18 -34
  121. package/dist/index.es34.js +5 -5
  122. package/dist/index.es340.js +4 -25
  123. package/dist/index.es341.js +231 -18
  124. package/dist/index.es342.js +100 -5
  125. package/dist/index.es343.js +26 -229
  126. package/dist/index.es344.js +35 -80
  127. package/dist/index.es345.js +2 -28
  128. package/dist/index.es346.js +2 -55
  129. package/dist/index.es347.js +334 -2
  130. package/dist/index.es348.js +31 -106
  131. package/dist/index.es349.js +16 -75
  132. package/dist/index.es35.js +2 -2
  133. package/dist/index.es350.js +29 -35
  134. package/dist/index.es351.js +3 -64
  135. package/dist/index.es352.js +107 -34
  136. package/dist/index.es353.js +71 -60
  137. package/dist/index.es354.js +34 -111
  138. package/dist/index.es355.js +60 -90
  139. package/dist/index.es356.js +32 -41
  140. package/dist/index.es357.js +66 -3
  141. package/dist/index.es358.js +113 -3
  142. package/dist/index.es359.js +94 -3
  143. package/dist/index.es360.js +43 -3
  144. package/dist/index.es361.js +2 -2
  145. package/dist/index.es362.js +2 -2
  146. package/dist/index.es363.js +2 -2
  147. package/dist/index.es364.js +2 -2
  148. package/dist/index.es365.js +2 -2
  149. package/dist/index.es366.js +4 -241
  150. package/dist/index.es367.js +4 -384
  151. package/dist/index.es368.js +4 -169
  152. package/dist/index.es369.js +4 -153
  153. package/dist/index.es370.js +187 -88
  154. package/dist/index.es371.js +384 -4
  155. package/dist/index.es372.js +169 -4
  156. package/dist/index.es373.js +153 -4
  157. package/dist/index.es374.js +142 -4
  158. package/dist/index.es375.js +2 -2
  159. package/dist/index.es376.js +2 -2
  160. package/dist/index.es377.js +2 -334
  161. package/dist/index.es378.js +2 -31
  162. package/dist/index.es379.js +2 -17
  163. package/dist/index.es38.js +51 -46
  164. package/dist/index.es380.js +2 -29
  165. package/dist/index.es381.js +2 -2
  166. package/dist/index.es382.js +1 -1
  167. package/dist/index.es384.js +1 -1
  168. package/dist/index.es385.js +1 -1
  169. package/dist/index.es39.js +2 -2
  170. package/dist/index.es394.js +68 -5
  171. package/dist/index.es395.js +31 -3
  172. package/dist/index.es396.js +16 -24
  173. package/dist/index.es397.js +141 -110
  174. package/dist/index.es398.js +113 -15
  175. package/dist/index.es399.js +5 -6
  176. package/dist/index.es40.js +3 -3
  177. package/dist/index.es400.js +3 -2
  178. package/dist/index.es401.js +23 -7
  179. package/dist/index.es402.js +108 -325
  180. package/dist/index.es403.js +15 -49
  181. package/dist/index.es404.js +518 -3
  182. package/dist/index.es405.js +113 -505
  183. package/dist/index.es406.js +120 -121
  184. package/dist/index.es407.js +5 -125
  185. package/dist/index.es408.js +2 -68
  186. package/dist/index.es409.js +8 -31
  187. package/dist/index.es41.js +1 -1
  188. package/dist/index.es410.js +327 -16
  189. package/dist/index.es411.js +48 -139
  190. package/dist/index.es412.js +4 -114
  191. package/dist/index.es416.js +1 -1
  192. package/dist/index.es418.js +1 -1
  193. package/dist/index.es419.js +4 -4
  194. package/dist/index.es42.js +1 -1
  195. package/dist/index.es437.js +21 -271
  196. package/dist/index.es438.js +10 -79
  197. package/dist/index.es439.js +31 -164
  198. package/dist/index.es44.js +1 -1
  199. package/dist/index.es440.js +29 -24
  200. package/dist/index.es441.js +11 -10
  201. package/dist/index.es442.js +274 -32
  202. package/dist/index.es443.js +79 -29
  203. package/dist/index.es444.js +165 -11
  204. package/dist/index.es448.js +2 -2
  205. package/dist/index.es45.js +1 -1
  206. package/dist/index.es454.js +1 -1
  207. package/dist/index.es455.js +1 -1
  208. package/dist/index.es461.js +1 -1
  209. package/dist/index.es476.js +1 -1
  210. package/dist/index.es477.js +1 -1
  211. package/dist/index.es50.js +2 -2
  212. package/dist/index.es51.js +1 -1
  213. package/dist/index.es52.js +4 -4
  214. package/dist/index.es55.js +1 -1
  215. package/dist/index.es56.js +1 -1
  216. package/dist/index.es57.js +2 -2
  217. package/dist/index.es59.js +2 -2
  218. package/dist/index.es62.js +1 -1
  219. package/dist/index.es63.js +1 -1
  220. package/dist/index.es65.js +2 -2
  221. package/dist/index.es66.js +2 -2
  222. package/dist/index.es754.js +13 -21
  223. package/dist/index.es755.js +18 -79
  224. package/dist/index.es756.js +82 -13
  225. package/dist/index.es757.js +14 -2
  226. package/dist/index.es758.js +60 -2
  227. package/dist/index.es759.js +2 -14
  228. package/dist/index.es760.js +2 -60
  229. package/dist/index.es768.js +2 -5
  230. package/dist/index.es769.js +2 -17
  231. package/dist/index.es770.js +5 -2
  232. package/dist/index.es771.js +17 -2
  233. package/dist/index.es772.js +1 -1
  234. package/dist/index.es773.js +2 -2
  235. package/dist/index.es78.js +1 -1
  236. package/dist/index.es781.js +1 -1
  237. package/dist/index.es784.js +1 -1
  238. package/dist/index.es787.js +56 -26
  239. package/dist/index.es788.js +10 -3
  240. package/dist/index.es789.js +14 -57
  241. package/dist/index.es79.js +1 -1
  242. package/dist/index.es790.js +3 -6
  243. package/dist/index.es791.js +28 -15
  244. package/dist/index.es792.js +3 -7
  245. package/dist/index.es808.js +1 -1
  246. package/dist/index.es811.js +5 -5
  247. package/dist/index.es812.js +2 -2
  248. package/dist/index.es813.js +1 -1
  249. package/dist/index.es815.js +2 -2
  250. package/dist/index.es827.js +64 -15
  251. package/dist/index.es828.js +11 -7
  252. package/dist/index.es829.js +38 -61
  253. package/dist/index.es830.js +54 -7
  254. package/dist/index.es831.js +16 -40
  255. package/dist/index.es832.js +17 -57
  256. package/dist/index.es833.js +7 -20
  257. package/dist/index.es834.js +1 -1
  258. package/dist/index.es86.js +55 -33
  259. package/dist/index.es87.js +53 -44
  260. package/dist/index.es88.js +89 -29
  261. package/dist/index.es89.js +37 -30
  262. package/dist/index.es90.js +24 -9
  263. package/dist/index.es91.js +30 -55
  264. package/dist/index.es92.js +31 -53
  265. package/dist/index.es93.js +46 -90
  266. package/dist/index.es94.js +29 -36
  267. package/dist/index.es95.js +29 -23
  268. package/dist/index.es96.js +9 -30
  269. package/dist/index.es97.js +12 -259
  270. package/dist/index.es98.js +1062 -12
  271. package/dist/index.es99.js +2 -2
  272. package/package.json +1 -1
@@ -1,27 +1,201 @@
1
- import { get as a, set as r } from "./index.es111.js";
2
- const l = (t, i, e) => {
3
- if (t && "reportValidity" in t) {
4
- const s = a(e, i);
5
- t.setCustomValidity(s && s.message || ""), t.reportValidity();
6
- }
7
- }, c = (t, i) => {
8
- for (const e in i.fields) {
9
- const s = i.fields[e];
10
- s && s.ref && "reportValidity" in s.ref ? l(s.ref, e, t) : s.refs && s.refs.forEach((o) => l(o, e, t));
11
- }
12
- }, y = (t, i) => {
13
- i.shouldUseNativeValidation && c(t, i);
14
- const e = {};
15
- for (const s in t) {
16
- const o = a(i.fields, s), n = Object.assign(t[s] || {}, { ref: o && o.ref });
17
- if (d(i.names || Object.keys(t), s)) {
18
- const f = Object.assign({}, a(e, s));
19
- r(f, "root", n), r(e, s, f);
20
- } else r(e, s, n);
21
- }
22
- return e;
23
- }, d = (t, i) => t.some((e) => e.startsWith(i + "."));
1
+ import { getDefaultExportFromCjs as O } from "./index.es143.js";
2
+ import { __module as y } from "./index.es380.js";
3
+ y.exports;
4
+ (function(m) {
5
+ var S = function() {
6
+ var A = String.fromCharCode, M = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", g = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", x = {};
7
+ function j(o, r) {
8
+ if (!x[o]) {
9
+ x[o] = {};
10
+ for (var s = 0; s < o.length; s++)
11
+ x[o][o.charAt(s)] = s;
12
+ }
13
+ return x[o][r];
14
+ }
15
+ var d = {
16
+ compressToBase64: function(o) {
17
+ if (o == null) return "";
18
+ var r = d._compress(o, 6, function(s) {
19
+ return M.charAt(s);
20
+ });
21
+ switch (r.length % 4) {
22
+ default:
23
+ case 0:
24
+ return r;
25
+ case 1:
26
+ return r + "===";
27
+ case 2:
28
+ return r + "==";
29
+ case 3:
30
+ return r + "=";
31
+ }
32
+ },
33
+ decompressFromBase64: function(o) {
34
+ return o == null ? "" : o == "" ? null : d._decompress(o.length, 32, function(r) {
35
+ return j(M, o.charAt(r));
36
+ });
37
+ },
38
+ compressToUTF16: function(o) {
39
+ return o == null ? "" : d._compress(o, 15, function(r) {
40
+ return A(r + 32);
41
+ }) + " ";
42
+ },
43
+ decompressFromUTF16: function(o) {
44
+ return o == null ? "" : o == "" ? null : d._decompress(o.length, 16384, function(r) {
45
+ return o.charCodeAt(r) - 32;
46
+ });
47
+ },
48
+ //compress into uint8array (UCS-2 big endian format)
49
+ compressToUint8Array: function(o) {
50
+ for (var r = d.compress(o), s = new Uint8Array(r.length * 2), e = 0, i = r.length; e < i; e++) {
51
+ var p = r.charCodeAt(e);
52
+ s[e * 2] = p >>> 8, s[e * 2 + 1] = p % 256;
53
+ }
54
+ return s;
55
+ },
56
+ //decompress from uint8array (UCS-2 big endian format)
57
+ decompressFromUint8Array: function(o) {
58
+ if (o == null)
59
+ return d.decompress(o);
60
+ for (var r = new Array(o.length / 2), s = 0, e = r.length; s < e; s++)
61
+ r[s] = o[s * 2] * 256 + o[s * 2 + 1];
62
+ var i = [];
63
+ return r.forEach(function(p) {
64
+ i.push(A(p));
65
+ }), d.decompress(i.join(""));
66
+ },
67
+ //compress into a string that is already URI encoded
68
+ compressToEncodedURIComponent: function(o) {
69
+ return o == null ? "" : d._compress(o, 6, function(r) {
70
+ return g.charAt(r);
71
+ });
72
+ },
73
+ //decompress from an output of compressToEncodedURIComponent
74
+ decompressFromEncodedURIComponent: function(o) {
75
+ return o == null ? "" : o == "" ? null : (o = o.replace(/ /g, "+"), d._decompress(o.length, 32, function(r) {
76
+ return j(g, o.charAt(r));
77
+ }));
78
+ },
79
+ compress: function(o) {
80
+ return d._compress(o, 16, function(r) {
81
+ return A(r);
82
+ });
83
+ },
84
+ _compress: function(o, r, s) {
85
+ if (o == null) return "";
86
+ var e, i, p = {}, v = {}, w = "", _ = "", u = "", h = 2, a = 3, c = 2, l = [], n = 0, f = 0, t;
87
+ for (t = 0; t < o.length; t += 1)
88
+ if (w = o.charAt(t), Object.prototype.hasOwnProperty.call(p, w) || (p[w] = a++, v[w] = !0), _ = u + w, Object.prototype.hasOwnProperty.call(p, _))
89
+ u = _;
90
+ else {
91
+ if (Object.prototype.hasOwnProperty.call(v, u)) {
92
+ if (u.charCodeAt(0) < 256) {
93
+ for (e = 0; e < c; e++)
94
+ n = n << 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++;
95
+ for (i = u.charCodeAt(0), e = 0; e < 8; e++)
96
+ n = n << 1 | i & 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = i >> 1;
97
+ } else {
98
+ for (i = 1, e = 0; e < c; e++)
99
+ n = n << 1 | i, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = 0;
100
+ for (i = u.charCodeAt(0), e = 0; e < 16; e++)
101
+ n = n << 1 | i & 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = i >> 1;
102
+ }
103
+ h--, h == 0 && (h = Math.pow(2, c), c++), delete v[u];
104
+ } else
105
+ for (i = p[u], e = 0; e < c; e++)
106
+ n = n << 1 | i & 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = i >> 1;
107
+ h--, h == 0 && (h = Math.pow(2, c), c++), p[_] = a++, u = String(w);
108
+ }
109
+ if (u !== "") {
110
+ if (Object.prototype.hasOwnProperty.call(v, u)) {
111
+ if (u.charCodeAt(0) < 256) {
112
+ for (e = 0; e < c; e++)
113
+ n = n << 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++;
114
+ for (i = u.charCodeAt(0), e = 0; e < 8; e++)
115
+ n = n << 1 | i & 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = i >> 1;
116
+ } else {
117
+ for (i = 1, e = 0; e < c; e++)
118
+ n = n << 1 | i, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = 0;
119
+ for (i = u.charCodeAt(0), e = 0; e < 16; e++)
120
+ n = n << 1 | i & 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = i >> 1;
121
+ }
122
+ h--, h == 0 && (h = Math.pow(2, c), c++), delete v[u];
123
+ } else
124
+ for (i = p[u], e = 0; e < c; e++)
125
+ n = n << 1 | i & 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = i >> 1;
126
+ h--, h == 0 && (h = Math.pow(2, c), c++);
127
+ }
128
+ for (i = 2, e = 0; e < c; e++)
129
+ n = n << 1 | i & 1, f == r - 1 ? (f = 0, l.push(s(n)), n = 0) : f++, i = i >> 1;
130
+ for (; ; )
131
+ if (n = n << 1, f == r - 1) {
132
+ l.push(s(n));
133
+ break;
134
+ } else f++;
135
+ return l.join("");
136
+ },
137
+ decompress: function(o) {
138
+ return o == null ? "" : o == "" ? null : d._decompress(o.length, 32768, function(r) {
139
+ return o.charCodeAt(r);
140
+ });
141
+ },
142
+ _decompress: function(o, r, s) {
143
+ var e = [], i = 4, p = 4, v = 3, w = "", _ = [], u, h, a, c, l, n, f, t = { val: s(0), position: r, index: 1 };
144
+ for (u = 0; u < 3; u += 1)
145
+ e[u] = u;
146
+ for (a = 0, l = Math.pow(2, 2), n = 1; n != l; )
147
+ c = t.val & t.position, t.position >>= 1, t.position == 0 && (t.position = r, t.val = s(t.index++)), a |= (c > 0 ? 1 : 0) * n, n <<= 1;
148
+ switch (a) {
149
+ case 0:
150
+ for (a = 0, l = Math.pow(2, 8), n = 1; n != l; )
151
+ c = t.val & t.position, t.position >>= 1, t.position == 0 && (t.position = r, t.val = s(t.index++)), a |= (c > 0 ? 1 : 0) * n, n <<= 1;
152
+ f = A(a);
153
+ break;
154
+ case 1:
155
+ for (a = 0, l = Math.pow(2, 16), n = 1; n != l; )
156
+ c = t.val & t.position, t.position >>= 1, t.position == 0 && (t.position = r, t.val = s(t.index++)), a |= (c > 0 ? 1 : 0) * n, n <<= 1;
157
+ f = A(a);
158
+ break;
159
+ case 2:
160
+ return "";
161
+ }
162
+ for (e[3] = f, h = f, _.push(f); ; ) {
163
+ if (t.index > o)
164
+ return "";
165
+ for (a = 0, l = Math.pow(2, v), n = 1; n != l; )
166
+ c = t.val & t.position, t.position >>= 1, t.position == 0 && (t.position = r, t.val = s(t.index++)), a |= (c > 0 ? 1 : 0) * n, n <<= 1;
167
+ switch (f = a) {
168
+ case 0:
169
+ for (a = 0, l = Math.pow(2, 8), n = 1; n != l; )
170
+ c = t.val & t.position, t.position >>= 1, t.position == 0 && (t.position = r, t.val = s(t.index++)), a |= (c > 0 ? 1 : 0) * n, n <<= 1;
171
+ e[p++] = A(a), f = p - 1, i--;
172
+ break;
173
+ case 1:
174
+ for (a = 0, l = Math.pow(2, 16), n = 1; n != l; )
175
+ c = t.val & t.position, t.position >>= 1, t.position == 0 && (t.position = r, t.val = s(t.index++)), a |= (c > 0 ? 1 : 0) * n, n <<= 1;
176
+ e[p++] = A(a), f = p - 1, i--;
177
+ break;
178
+ case 2:
179
+ return _.join("");
180
+ }
181
+ if (i == 0 && (i = Math.pow(2, v), v++), e[f])
182
+ w = e[f];
183
+ else if (f === p)
184
+ w = h + h.charAt(0);
185
+ else
186
+ return null;
187
+ _.push(w), e[p++] = h + w.charAt(0), i--, h = w, i == 0 && (i = Math.pow(2, v), v++);
188
+ }
189
+ }
190
+ };
191
+ return d;
192
+ }();
193
+ m != null ? m.exports = S : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("LZString", function() {
194
+ return S;
195
+ });
196
+ })(y);
197
+ var U = y.exports;
198
+ const B = /* @__PURE__ */ O(U);
24
199
  export {
25
- y as toNestErrors,
26
- c as validateFieldsNatively
200
+ B as default
27
201
  };
@@ -1,18 +1,17 @@
1
- const S = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, a = (n) => {
2
- let t;
3
- const s = /* @__PURE__ */ new Set(), c = (e, u) => {
4
- const o = typeof e == "function" ? e(t) : e;
5
- if (!Object.is(o, t)) {
6
- const b = t;
7
- t = u ?? (typeof o != "object" || o === null) ? o : Object.assign({}, t, o), s.forEach((d) => d(t, b));
8
- }
9
- }, i = () => t, r = { setState: c, getState: i, getInitialState: () => l, subscribe: (e) => (s.add(e), () => s.delete(e)), destroy: () => {
10
- (S ? "production" : void 0) !== "production" && console.warn(
11
- "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
12
- ), s.clear();
13
- } }, l = t = n(c, i, r);
14
- return r;
15
- }, E = (n) => n ? a(n) : a;
1
+ const o = (t) => {
2
+ const s = t.toLowerCase().split("+");
3
+ return {
4
+ mainKey: s.pop(),
5
+ isShift: s.includes("shift"),
6
+ isCtrl: s.includes("ctrl"),
7
+ isAlt: s.includes("alt"),
8
+ isMeta: s.includes("meta")
9
+ };
10
+ }, c = (t, s) => {
11
+ const { mainKey: i, isShift: e, isCtrl: r, isAlt: a, isMeta: l } = o(s);
12
+ return t.key.toLowerCase() === i && t.shiftKey === e && t.ctrlKey === r && t.altKey === a && t.metaKey === l;
13
+ };
16
14
  export {
17
- E as createStore
15
+ o as getKeyModifiers,
16
+ c as matchKeyModifiers
18
17
  };
@@ -1,10 +1,5 @@
1
- import { getDefaultExportFromCjs as r } from "./index.es153.js";
2
- import { __module as e } from "./index.es383.js";
3
- import { __require as o } from "./index.es384.js";
4
- import { __require as t } from "./index.es385.js";
5
- process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = t();
6
- var i = e.exports;
7
- const u = /* @__PURE__ */ r(i);
1
+ const r = (t) => t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable, a = (t, n) => n && r(t.target);
8
2
  export {
9
- u as default
3
+ r as isInputField,
4
+ a as shouldIgnoreEvent
10
5
  };
@@ -1,6 +1,18 @@
1
- import { useLayoutEffect as o } from "react";
2
- const e = globalThis != null && globalThis.document ? o : () => {
3
- };
1
+ const S = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, a = (n) => {
2
+ let t;
3
+ const s = /* @__PURE__ */ new Set(), c = (e, u) => {
4
+ const o = typeof e == "function" ? e(t) : e;
5
+ if (!Object.is(o, t)) {
6
+ const b = t;
7
+ t = u ?? (typeof o != "object" || o === null) ? o : Object.assign({}, t, o), s.forEach((d) => d(t, b));
8
+ }
9
+ }, i = () => t, r = { setState: c, getState: i, getInitialState: () => l, subscribe: (e) => (s.add(e), () => s.delete(e)), destroy: () => {
10
+ (S ? "production" : void 0) !== "production" && console.warn(
11
+ "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
12
+ ), s.clear();
13
+ } }, l = t = n(c, i, r);
14
+ return r;
15
+ }, E = (n) => n ? a(n) : a;
4
16
  export {
5
- e as useLayoutEffect
17
+ E as createStore
6
18
  };
@@ -1,16 +1,10 @@
1
- import { useRef as t, useEffect as u, useMemo as a } from "react";
2
- function o(c) {
3
- const e = t(c);
4
- return u(() => {
5
- e.current = c;
6
- }), a(
7
- () => (...f) => {
8
- var r;
9
- return (r = e.current) === null || r === void 0 ? void 0 : r.call(e, ...f);
10
- },
11
- []
12
- );
13
- }
1
+ import { getDefaultExportFromCjs as r } from "./index.es143.js";
2
+ import { __module as e } from "./index.es383.js";
3
+ import { __require as o } from "./index.es384.js";
4
+ import { __require as t } from "./index.es385.js";
5
+ process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = t();
6
+ var i = e.exports;
7
+ const u = /* @__PURE__ */ r(i);
14
8
  export {
15
- o as useCallbackRef
9
+ u as default
16
10
  };
@@ -1,17 +1,6 @@
1
- import { useEffect as n } from "react";
2
- import { useCallbackRef as t } from "./index.es284.js";
3
- function l(d, e = globalThis == null ? void 0 : globalThis.document) {
4
- const o = t(d);
5
- n(() => {
6
- const a = (s) => {
7
- s.key === "Escape" && o(s);
8
- };
9
- return e.addEventListener("keydown", a), () => e.removeEventListener("keydown", a);
10
- }, [
11
- o,
12
- e
13
- ]);
14
- }
1
+ import { useLayoutEffect as o } from "react";
2
+ const e = globalThis != null && globalThis.document ? o : () => {
3
+ };
15
4
  export {
16
- l as useEscapeKeydown
5
+ e as useLayoutEffect
17
6
  };
@@ -1,17 +1,16 @@
1
- const o = (t) => {
2
- const s = t.toLowerCase().split("+");
3
- return {
4
- mainKey: s.pop(),
5
- isShift: s.includes("shift"),
6
- isCtrl: s.includes("ctrl"),
7
- isAlt: s.includes("alt"),
8
- isMeta: s.includes("meta")
9
- };
10
- }, c = (t, s) => {
11
- const { mainKey: i, isShift: e, isCtrl: r, isAlt: a, isMeta: l } = o(s);
12
- return t.key.toLowerCase() === i && t.shiftKey === e && t.ctrlKey === r && t.altKey === a && t.metaKey === l;
13
- };
1
+ import { useRef as t, useEffect as u, useMemo as a } from "react";
2
+ function o(c) {
3
+ const e = t(c);
4
+ return u(() => {
5
+ e.current = c;
6
+ }), a(
7
+ () => (...f) => {
8
+ var r;
9
+ return (r = e.current) === null || r === void 0 ? void 0 : r.call(e, ...f);
10
+ },
11
+ []
12
+ );
13
+ }
14
14
  export {
15
- o as getKeyModifiers,
16
- c as matchKeyModifiers
15
+ o as useCallbackRef
17
16
  };
@@ -1,5 +1,17 @@
1
- const r = (t) => t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable, a = (t, n) => n && r(t.target);
1
+ import { useEffect as n } from "react";
2
+ import { useCallbackRef as t } from "./index.es286.js";
3
+ function l(d, e = globalThis == null ? void 0 : globalThis.document) {
4
+ const o = t(d);
5
+ n(() => {
6
+ const a = (s) => {
7
+ s.key === "Escape" && o(s);
8
+ };
9
+ return e.addEventListener("keydown", a), () => e.removeEventListener("keydown", a);
10
+ }, [
11
+ o,
12
+ e
13
+ ]);
14
+ }
2
15
  export {
3
- r as isInputField,
4
- a as shouldIgnoreEvent
16
+ l as useEscapeKeydown
5
17
  };
@@ -1,11 +1,11 @@
1
1
  import { j as e } from "./index.es82.js";
2
2
  import { useState as v } from "react";
3
- import w, { CalendarContext as C } from "./index.es91.js";
4
- import g from "./index.es92.js";
5
- import { CalendarNavigation as j } from "./index.es93.js";
6
- import { MonthView as V } from "./index.es94.js";
7
- import { YearView as N } from "./index.es95.js";
8
- import { DecadeView as P } from "./index.es96.js";
3
+ import w, { CalendarContext as C } from "./index.es86.js";
4
+ import g from "./index.es87.js";
5
+ import { CalendarNavigation as j } from "./index.es88.js";
6
+ import { MonthView as V } from "./index.es89.js";
7
+ import { YearView as N } from "./index.es90.js";
8
+ import { DecadeView as P } from "./index.es91.js";
9
9
  import { cn as D } from "./index.es72.js";
10
10
  const y = (a) => {
11
11
  const {
@@ -1,7 +1,7 @@
1
1
  import { j as e } from "./index.es82.js";
2
2
  import { useId as g } from "react";
3
- import { useControllableState as C } from "./index.es89.js";
4
- import j from "./index.es90.js";
3
+ import { useControllableState as C } from "./index.es95.js";
4
+ import j from "./index.es96.js";
5
5
  import { Label as v } from "./index.es43.js";
6
6
  import { cn as u } from "./index.es72.js";
7
7
  const y = ({
@@ -1,9 +1,9 @@
1
1
  import { j as t } from "./index.es82.js";
2
2
  import * as f from "react";
3
3
  import { createElement as I } from "react";
4
- import { useControllableState as h } from "./index.es89.js";
4
+ import { useControllableState as h } from "./index.es95.js";
5
5
  import { PopoverRoot as O, PopoverTrigger as T, PopoverContent as y } from "./index.es48.js";
6
- import F from "./index.es105.js";
6
+ import F from "./index.es97.js";
7
7
  import { Button as M } from "./index.es27.js";
8
8
  import { cn as d } from "./index.es72.js";
9
9
  import { AutoCompleteRoot as U, AutoCompleteInput as W, AutoCompleteEmpty as q, AutoCompleteList as z, AutoCompleteItem as G } from "./index.es21.js";
@@ -1,8 +1,8 @@
1
1
  import { __rest as k, __assign as r } from "./index.es321.js";
2
2
  import * as a from "react";
3
- import { fullWidthClassName as E, zeroRightClassName as I } from "./index.es394.js";
4
- import { effectCar as Z } from "./index.es395.js";
5
- import { useMergeRefs as W } from "./index.es396.js";
3
+ import { fullWidthClassName as E, zeroRightClassName as I } from "./index.es399.js";
4
+ import { effectCar as Z } from "./index.es400.js";
5
+ import { useMergeRefs as W } from "./index.es401.js";
6
6
  var o = function() {
7
7
  }, m = a.forwardRef(function(e, d) {
8
8
  var l = a.useRef(null), n = a.useState({
@@ -1,6 +1,6 @@
1
- import { RemoveScrollSideCar as r } from "./index.es397.js";
2
- import { effectCar as o } from "./index.es395.js";
3
- import { exportSidecar as e } from "./index.es398.js";
1
+ import { RemoveScrollSideCar as r } from "./index.es402.js";
2
+ import { effectCar as o } from "./index.es400.js";
3
+ import { exportSidecar as e } from "./index.es403.js";
4
4
  const f = e(o, r);
5
5
  export {
6
6
  f as default
@@ -1,4 +1,4 @@
1
- import e from "./index.es399.js";
1
+ import e from "./index.es407.js";
2
2
  function p(o, t) {
3
3
  o.prototype = Object.create(t.prototype), o.prototype.constructor = o, e(o, t);
4
4
  }
@@ -1,8 +1,8 @@
1
- import { getDefaultExportFromCjs as e } from "./index.es153.js";
2
- import { __module as r } from "./index.es400.js";
3
- import { __require as o } from "./index.es401.js";
4
- import { __require as t } from "./index.es402.js";
5
- import { __require as p } from "./index.es403.js";
1
+ import { getDefaultExportFromCjs as e } from "./index.es143.js";
2
+ import { __module as r } from "./index.es408.js";
3
+ import { __require as o } from "./index.es409.js";
4
+ import { __require as t } from "./index.es410.js";
5
+ import { __require as p } from "./index.es411.js";
6
6
  if (process.env.NODE_ENV !== "production") {
7
7
  var s = o(), i = !0;
8
8
  r.exports = t()(s.isElement, i);
@@ -1,4 +1,4 @@
1
- import i from "./index.es404.js";
1
+ import i from "./index.es412.js";
2
2
  function c(s, a) {
3
3
  s.classList ? s.classList.add(a) : i(s, a) || (typeof s.className == "string" ? s.className = s.className + " " + a : s.setAttribute("class", (s.className && s.className.baseVal || "") + " " + a));
4
4
  }
@@ -1,4 +1,8 @@
1
- var t = {};
1
+ import { __module as r } from "./index.es413.js";
2
+ import { __require as e } from "./index.es414.js";
3
+ import { __require as o } from "./index.es415.js";
4
+ process.env.NODE_ENV === "production" ? r.exports = e() : r.exports = o();
5
+ var m = r.exports;
2
6
  export {
3
- t as __exports
7
+ m as s
4
8
  };
@@ -1,4 +1,36 @@
1
- var e = {};
1
+ import { createContext as e, useContext as n } from "react";
2
+ const o = e(null);
3
+ function i() {
4
+ const t = n(o);
5
+ if (t === null)
6
+ throw new Error("No Tree Api Provided");
7
+ return t;
8
+ }
9
+ const r = e(null);
10
+ function a() {
11
+ const t = n(r);
12
+ if (t === null)
13
+ throw new Error("Provide a NodesContext");
14
+ return t;
15
+ }
16
+ const u = e(null);
17
+ function c() {
18
+ const t = n(u);
19
+ if (t === null)
20
+ throw new Error("Provide a DnDContext");
21
+ return t;
22
+ }
23
+ const s = e(0);
24
+ function d() {
25
+ n(s);
26
+ }
2
27
  export {
3
- e as __exports
28
+ s as DataUpdatesContext,
29
+ u as DndContext,
30
+ r as NodesContext,
31
+ o as TreeApiContext,
32
+ d as useDataUpdates,
33
+ c as useDndContext,
34
+ a as useNodesContext,
35
+ i as useTreeApi
4
36
  };
@@ -1,8 +1,28 @@
1
- import { __module as r } from "./index.es413.js";
2
- import { __require as e } from "./index.es414.js";
3
- import { __require as o } from "./index.es415.js";
4
- process.env.NODE_ENV === "production" ? r.exports = e() : r.exports = o();
5
- var m = r.exports;
1
+ const l = (n) => {
2
+ var e;
3
+ return {
4
+ nodes: {
5
+ // Changes together
6
+ open: { filtered: {}, unfiltered: (e = n == null ? void 0 : n.initialOpenState) !== null && e !== void 0 ? e : {} },
7
+ focus: { id: null, treeFocused: !1 },
8
+ edit: { id: null },
9
+ drag: {
10
+ id: null,
11
+ selectedIds: [],
12
+ destinationParentId: null,
13
+ destinationIndex: null
14
+ },
15
+ selection: { ids: /* @__PURE__ */ new Set(), anchor: null, mostRecent: null }
16
+ },
17
+ dnd: {
18
+ cursor: { type: "none" },
19
+ dragId: null,
20
+ dragIds: [],
21
+ parentId: null,
22
+ index: -1
23
+ }
24
+ };
25
+ };
6
26
  export {
7
- m as s
27
+ l as initialState
8
28
  };
@@ -1,36 +1,20 @@
1
- import { createContext as e, useContext as n } from "react";
2
- const o = e(null);
3
- function i() {
4
- const t = n(o);
5
- if (t === null)
6
- throw new Error("No Tree Api Provided");
7
- return t;
8
- }
9
- const r = e(null);
10
- function a() {
11
- const t = n(r);
12
- if (t === null)
13
- throw new Error("Provide a NodesContext");
14
- return t;
15
- }
16
- const u = e(null);
17
- function c() {
18
- const t = n(u);
19
- if (t === null)
20
- throw new Error("Provide a DnDContext");
21
- return t;
22
- }
23
- const s = e(0);
24
- function d() {
25
- n(s);
26
- }
1
+ import { combineReducers as r } from "./index.es341.js";
2
+ import { reducer as e } from "./index.es263.js";
3
+ import { reducer as o } from "./index.es262.js";
4
+ import { reducer as d } from "./index.es266.js";
5
+ import { reducer as c } from "./index.es265.js";
6
+ import { reducer as m } from "./index.es264.js";
7
+ import { reducer as u } from "./index.es416.js";
8
+ const $ = r({
9
+ nodes: r({
10
+ focus: e,
11
+ edit: o,
12
+ open: m,
13
+ selection: c,
14
+ drag: u
15
+ }),
16
+ dnd: d
17
+ });
27
18
  export {
28
- s as DataUpdatesContext,
29
- u as DndContext,
30
- r as NodesContext,
31
- o as TreeApiContext,
32
- d as useDataUpdates,
33
- c as useDndContext,
34
- a as useNodesContext,
35
- i as useTreeApi
19
+ $ as rootReducer
36
20
  };