lowcoder-comps 2.4.14 → 2.4.16

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 (51) hide show
  1. package/{fc3b7856.js → 1043ea14.js} +247 -258
  2. package/{52a11357.js → 14530b4e.js} +5 -5
  3. package/{029476f8.js → 145794bd.js} +4 -4
  4. package/248f3eba.js +797 -0
  5. package/{e6f7d4a7.js → 28364e9c.js} +411 -451
  6. package/{a3820fc3.js → 38ec0f55.js} +3 -3
  7. package/{6296008d.js → 40bee586.js} +55069 -55754
  8. package/{256b619e.js → 428ebac9.js} +14 -15
  9. package/{21e8a932.js → 4407a5f9.js} +1 -1
  10. package/{286121b3.js → 474d7e5f.js} +6 -6
  11. package/{32d11caf.js → 48ca2a1e.js} +2 -2
  12. package/5b2c9b5c.js +206 -0
  13. package/{b42bc0a6.js → 633f4ede.js} +919 -969
  14. package/{35b2542e.js → 668d3da2.js} +1 -1
  15. package/{005a58c0.js → 78321d1a.js} +4 -4
  16. package/{2ea4f729.js → 7c479abc.js} +8 -8
  17. package/{09ab5d81.js → 7c7200e7.js} +7 -7
  18. package/{d42741f5.js → 7e6d090c.js} +1067 -1085
  19. package/7e78c333.js +373 -0
  20. package/{abadf1f6.js → 88415712.js} +140 -141
  21. package/{43254cb0.js → 8ae1f7a4.js} +4 -5
  22. package/{af28f5d5.js → 8e6be41e.js} +4 -4
  23. package/{a73a7fb8.js → 8ffe69e1.js} +6 -6
  24. package/{14a0be5d.js → 9afbfdff.js} +1 -1
  25. package/{25f232c1.js → a8987699.js} +6 -6
  26. package/afdeb8e9.js +190 -0
  27. package/c0405acc.js +1083 -0
  28. package/{08ea4a8f.js → ca993649.js} +2 -2
  29. package/{bf684fc8.js → cc8ba9a3.js} +12713 -12735
  30. package/{bcd4bce3.js → d27497a0.js} +18 -18
  31. package/{c69763fa.js → dbeb2d17.js} +2 -2
  32. package/{6741b2b9.js → de3e61cd.js} +68 -69
  33. package/df15a543.js +817 -0
  34. package/{47848c42.js → e5b014a9.js} +5 -5
  35. package/e86c3e3a.js +1264 -0
  36. package/{0f43fe1e.js → eb52cd1a.js} +8 -8
  37. package/{0da7ca4d.js → ebbe2009.js} +92 -92
  38. package/{cb338c34.js → ecab0a38.js} +96 -99
  39. package/{268c902c.js → f3455869.js} +26 -27
  40. package/f701d7da.js +433 -0
  41. package/{6402852d.js → fc681b47.js} +12 -12
  42. package/index.js +2 -2
  43. package/package.json +1 -1
  44. package/04c7d898.js +0 -819
  45. package/078d4a18.js +0 -818
  46. package/18cd6b56.js +0 -391
  47. package/1a8f0a25.js +0 -455
  48. package/2b4f4275.js +0 -1276
  49. package/2efee7c6.js +0 -1102
  50. package/a6a69647.js +0 -237
  51. package/c2bb8612.js +0 -208
@@ -1,5 +1,5 @@
1
- import { M as Re, N as je, R as Be, O as Ze, P as Cn, Q as Jt, T as Dn, c as ge, g as ye, e as xt, s as Mn, a as Sn, F as _n, G as Un, d as Yn, b as Fn, H as Ln, o as En, l as Zt, j as Pt, k as An, m as In, C as Wn } from "./6296008d.js";
2
- import { b as On, t as _e, c as Hn, a as Nn, l as Vn } from "./029476f8.js";
1
+ import { M as Re, N as je, R as Be, O as Ze, P as Cn, Q as Jt, T as Dn, c as ge, g as ye, e as xt, s as Mn, a as Sn, F as _n, G as Un, d as Yn, b as Fn, H as Ln, o as En, l as Zt, j as Pt, k as An, m as In, C as Wn } from "./40bee586.js";
2
+ import { b as On, t as _e, c as Hn, a as Nn, l as Vn } from "./145794bd.js";
3
3
  import { i as Pn } from "./f9637058.js";
4
4
  function zn(t, e) {
5
5
  let n;
@@ -45,9 +45,9 @@ function qn() {
45
45
  return !this.__axis;
46
46
  }
47
47
  function Xe(t, e) {
48
- var n = [], r = null, i = null, s = 6, a = 6, k = 3, Y = typeof window != "undefined" && window.devicePixelRatio > 1 ? 0 : 0.5, g = t === Rt || t === zt ? -1 : 1, b = t === zt || t === Kt ? "x" : "y", U = t === Rt || t === le ? Bn : Zn;
48
+ var n = [], r = null, i = null, s = 6, a = 6, k = 3, Y = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, g = t === Rt || t === zt ? -1 : 1, b = t === zt || t === Kt ? "x" : "y", U = t === Rt || t === le ? Bn : Zn;
49
49
  function C(v) {
50
- var X = r == null ? e.ticks ? e.ticks.apply(e, n) : e.domain() : r, y = i == null ? e.tickFormat ? e.tickFormat.apply(e, n) : jn : i, L = Math.max(s, 0) + k, O = e.range(), W = +O[0] + Y, j = +O[O.length - 1] + Y, B = (e.bandwidth ? $n : Xn)(e.copy(), Y), G = v.selection ? v.selection() : v, x = G.selectAll(".domain").data([null]), A = G.selectAll(".tick").data(X, e).order(), T = A.exit(), F = A.enter().append("g").attr("class", "tick"), D = A.select("line"), w = A.select("text");
50
+ var X = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), y = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : jn), L = Math.max(s, 0) + k, O = e.range(), W = +O[0] + Y, j = +O[O.length - 1] + Y, B = (e.bandwidth ? $n : Xn)(e.copy(), Y), G = v.selection ? v.selection() : v, x = G.selectAll(".domain").data([null]), A = G.selectAll(".tick").data(X, e).order(), T = A.exit(), F = A.enter().append("g").attr("class", "tick"), D = A.select("line"), w = A.select("text");
51
51
  x = x.merge(x.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), A = A.merge(F), D = D.merge(F.append("line").attr("stroke", "currentColor").attr(b + "2", g * s)), w = w.merge(F.append("text").attr("fill", "currentColor").attr(b, g * L).attr("dy", t === Rt ? "0em" : t === le ? "0.71em" : "0.32em")), v !== G && (x = x.transition(v), A = A.transition(v), D = D.transition(v), w = w.transition(v), T = T.transition(v).attr("opacity", Ue).attr("transform", function(o) {
52
52
  return isFinite(o = B(o)) ? U(o + Y) : this.getAttribute("transform");
53
53
  }), F.attr("opacity", Ue).attr("transform", function(o) {
@@ -98,17 +98,17 @@ function Ke(t) {
98
98
  return e === n && n === r ? s = a = i : (s = te((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / $e), a = te((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / Ge)), new at(116 * i - 16, 500 * (s - i), 200 * (i - a), t.opacity);
99
99
  }
100
100
  function er(t, e, n, r) {
101
- return arguments.length === 1 ? Ke(t) : new at(t, e, n, r == null ? 1 : r);
101
+ return arguments.length === 1 ? Ke(t) : new at(t, e, n, r ?? 1);
102
102
  }
103
103
  function at(t, e, n, r) {
104
104
  this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
105
105
  }
106
106
  Re(at, er, je(Ze, {
107
107
  brighter(t) {
108
- return new at(this.l + Xt * (t == null ? 1 : t), this.a, this.b, this.opacity);
108
+ return new at(this.l + Xt * (t ?? 1), this.a, this.b, this.opacity);
109
109
  },
110
110
  darker(t) {
111
- return new at(this.l - Xt * (t == null ? 1 : t), this.a, this.b, this.opacity);
111
+ return new at(this.l - Xt * (t ?? 1), this.a, this.b, this.opacity);
112
112
  },
113
113
  rgb() {
114
114
  var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
@@ -141,7 +141,7 @@ function nr(t) {
141
141
  return new lt(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
142
142
  }
143
143
  function ue(t, e, n, r) {
144
- return arguments.length === 1 ? nr(t) : new lt(t, e, n, r == null ? 1 : r);
144
+ return arguments.length === 1 ? nr(t) : new lt(t, e, n, r ?? 1);
145
145
  }
146
146
  function lt(t, e, n, r) {
147
147
  this.h = +t, this.c = +e, this.l = +n, this.opacity = +r;
@@ -154,10 +154,10 @@ function tn(t) {
154
154
  }
155
155
  Re(lt, ue, je(Ze, {
156
156
  brighter(t) {
157
- return new lt(this.h, this.c, this.l + Xt * (t == null ? 1 : t), this.opacity);
157
+ return new lt(this.h, this.c, this.l + Xt * (t ?? 1), this.opacity);
158
158
  },
159
159
  darker(t) {
160
- return new lt(this.h, this.c, this.l - Xt * (t == null ? 1 : t), this.opacity);
160
+ return new lt(this.h, this.c, this.l - Xt * (t ?? 1), this.opacity);
161
161
  },
162
162
  rgb() {
163
163
  return tn(this).rgb();
@@ -882,12 +882,12 @@ function fn(t, e, n, r, i, s, a, k, Y, g) {
882
882
  return arguments.length ? C(Array.from(x, Ti)) : C().map(pi);
883
883
  }, b.ticks = function(x) {
884
884
  var A = C();
885
- return t(A[0], A[A.length - 1], x == null ? 10 : x);
885
+ return t(A[0], A[A.length - 1], x ?? 10);
886
886
  }, b.tickFormat = function(x, A) {
887
887
  return A == null ? G : g(A);
888
888
  }, b.nice = function(x) {
889
889
  var A = C();
890
- return (!x || typeof x.range != "function") && (x = e(A[0], A[A.length - 1], x == null ? 10 : x)), x ? C(sr(A, x)) : b;
890
+ return (!x || typeof x.range != "function") && (x = e(A[0], A[A.length - 1], x ?? 10)), x ? C(sr(A, x)) : b;
891
891
  }, b.copy = function() {
892
892
  return Nn(b, fn(t, e, n, r, i, s, a, k, Y, g));
893
893
  }, b;
@@ -1035,7 +1035,7 @@ var dn = { exports: {} };
1035
1035
  h && !_ || (M = _ > 0 ? _ - 1 : rt.getMonth());
1036
1036
  var l = H || 0, R = V || 0, N = I || 0, q = P || 0;
1037
1037
  return it ? new Date(Date.UTC(E, M, p, l, R, N, q + 60 * it.offset * 1e3)) : Z ? new Date(Date.UTC(E, M, p, l, R, N, q)) : new Date(E, M, p, l, R, N, q);
1038
- } catch (Q) {
1038
+ } catch {
1039
1039
  return /* @__PURE__ */ new Date("");
1040
1040
  }
1041
1041
  }(G, T, x), this.init(), o && o !== !0 && (this.$L = this.locale(o).$L), w && G != this.format(T) && (this.$d = /* @__PURE__ */ new Date("")), k = {};
@@ -1250,7 +1250,7 @@ var fe = function() {
1250
1250
  var d = this, m = [0], u = [], S = [null], c = [], Z = this.table, f = "", h = 0, _ = 0, $ = 2, H = 1, V = c.slice.call(arguments, 1), I = Object.create(this.lexer), P = { yy: {} };
1251
1251
  for (var it in this.yy)
1252
1252
  Object.prototype.hasOwnProperty.call(this.yy, it) && (P.yy[it] = this.yy[it]);
1253
- I.setInput(o, P.yy), P.yy.lexer = I, P.yy.parser = this, typeof I.yylloc == "undefined" && (I.yylloc = {});
1253
+ I.setInput(o, P.yy), P.yy.lexer = I, P.yy.parser = this, typeof I.yylloc > "u" && (I.yylloc = {});
1254
1254
  var rt = I.yylloc;
1255
1255
  c.push(rt);
1256
1256
  var p = I.options && I.options.ranges;
@@ -1260,7 +1260,7 @@ var fe = function() {
1260
1260
  return ot = u.pop() || I.lex() || H, typeof ot != "number" && (ot instanceof Array && (u = ot, ot = u.pop()), ot = d.symbols_[ot] || ot), ot;
1261
1261
  }
1262
1262
  for (var M, l, R, N, q = {}, Q, et, _t, Vt; ; ) {
1263
- if (l = m[m.length - 1], this.defaultActions[l] ? R = this.defaultActions[l] : ((M === null || typeof M == "undefined") && (M = E()), R = Z[l] && Z[l][M]), typeof R == "undefined" || !R.length || !R[0]) {
1263
+ if (l = m[m.length - 1], this.defaultActions[l] ? R = this.defaultActions[l] : ((M === null || typeof M > "u") && (M = E()), R = Z[l] && Z[l][M]), typeof R > "u" || !R.length || !R[0]) {
1264
1264
  var Qt = "";
1265
1265
  Vt = [];
1266
1266
  for (Q in Z[l])
@@ -1298,7 +1298,7 @@ Expecting ` + Vt.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Qt =
1298
1298
  R[1],
1299
1299
  S,
1300
1300
  c
1301
- ].concat(V)), typeof N != "undefined")
1301
+ ].concat(V)), typeof N < "u")
1302
1302
  return N;
1303
1303
  et && (m = m.slice(0, -1 * et * 2), S = S.slice(0, -1 * et), c = c.slice(0, -1 * et)), m.push(this.productions_[R[1]][0]), S.push(q.$), c.push(q._$), _t = Z[m[m.length - 2]][m[m.length - 1]], m.push(_t);
1304
1304
  break;
@@ -1692,7 +1692,7 @@ const _i = function() {
1692
1692
  return [e, a];
1693
1693
  }, de = function(t, e, n) {
1694
1694
  n = n.trim();
1695
- const i = new RegExp("^after\\s+(?<ids>[\\d\\w- ]+)").exec(n);
1695
+ const i = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
1696
1696
  if (i !== null) {
1697
1697
  let a = null;
1698
1698
  for (const Y of i.groups.ids.split(" ")) {
@@ -1724,7 +1724,7 @@ const _i = function() {
1724
1724
  return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
1725
1725
  }, Tn = function(t, e, n, r = !1) {
1726
1726
  n = n.trim();
1727
- const s = new RegExp("^until\\s+(?<ids>[\\d\\w- ]+)").exec(n);
1727
+ const s = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
1728
1728
  if (s !== null) {
1729
1729
  let b = null;
1730
1730
  for (const C of s.groups.ids.split(" ")) {
@@ -1,5 +1,5 @@
1
- import { a as F, b as xn, c as zn, d as L, k as Un, e as Hn, g as jn, j as P, l as En, m as kn, n as yn, t as Jn, o as Nn, p as Kn, q as Zn, f as s, G as x, h as w, i as g, r as M, v as y, s as V } from "./32d11caf.js";
2
- import { a8 as A, a9 as Qn, aa as ne, ab as ee, ac as Ln, ad as B, ae as _n, af as re, ag as Cn, ah as J, ai as te, aj as ie, ak as K, al as ae, am as In, an as oe, ao as ue, ap as H } from "./6296008d.js";
1
+ import { a as F, b as xn, c as zn, d as L, k as Un, e as Hn, g as jn, j as P, l as En, m as kn, n as yn, t as Jn, o as Nn, p as Kn, q as Zn, f as s, G as x, h as w, i as g, r as M, v as y, s as V } from "./48ca2a1e.js";
2
+ import { a8 as A, a9 as Qn, aa as ne, ab as ee, ac as Ln, ad as B, ae as _n, af as re, ag as Cn, ah as J, ai as te, aj as ie, ak as K, al as ae, am as In, an as oe, ao as ue, ap as H } from "./40bee586.js";
3
3
  var de = /\s/;
4
4
  function fe(n) {
5
5
  for (var e = n.length; e-- && de.test(n.charAt(e)); )
@@ -1,9 +1,9 @@
1
- import { E as _t, e as Y, s as Et, a as mt, d as gt, b as kt, F as xt, G as Rt, l as K, H as Ot, j as et, C as bt, k as Nt, I as Tt, J as At } from "./6296008d.js";
2
- import { G as Mt } from "./32d11caf.js";
3
- import { l as It } from "./c69763fa.js";
4
- import { l as wt } from "./08ea4a8f.js";
1
+ import { E as _t, e as Y, s as Et, a as mt, d as gt, b as kt, F as xt, G as Rt, l as K, H as Ot, j as et, C as bt, k as Nt, I as Tt, J as At } from "./40bee586.js";
2
+ import { G as Mt } from "./48ca2a1e.js";
3
+ import { l as It } from "./dbeb2d17.js";
4
+ import { l as wt } from "./ca993649.js";
5
5
  import "./2ff2c7a6.js";
6
- import "./256b619e.js";
6
+ import "./428ebac9.js";
7
7
  const St = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
8
8
  function Dt(t) {
9
9
  return typeof t == "string" && St.test(t);
@@ -39,7 +39,7 @@ function Pt(t, r, e) {
39
39
  }
40
40
  try {
41
41
  f.name = t;
42
- } catch (l) {
42
+ } catch {
43
43
  }
44
44
  return f.DNS = Bt, f.URL = Ct, f;
45
45
  }
@@ -82,12 +82,12 @@ function Zt(t) {
82
82
  o[y] = p[u][y];
83
83
  for (let y = 16; y < 80; ++y)
84
84
  o[y] = rt(o[y - 3] ^ o[y - 8] ^ o[y - 14] ^ o[y - 16], 1);
85
- let h = e[0], _ = e[1], m = e[2], g = e[3], R = e[4];
85
+ let h = e[0], _ = e[1], m = e[2], g = e[3], x = e[4];
86
86
  for (let y = 0; y < 80; ++y) {
87
- const k = Math.floor(y / 20), w = rt(h, 5) + Yt(k, _, m, g) + R + r[k] + o[y] >>> 0;
88
- R = g, g = m, m = rt(_, 30) >>> 0, _ = h, h = w;
87
+ const N = Math.floor(y / 20), w = rt(h, 5) + Yt(N, _, m, g) + x + r[N] + o[y] >>> 0;
88
+ x = g, g = m, m = rt(_, 30) >>> 0, _ = h, h = w;
89
89
  }
90
- e[0] = e[0] + h >>> 0, e[1] = e[1] + _ >>> 0, e[2] = e[2] + m >>> 0, e[3] = e[3] + g >>> 0, e[4] = e[4] + R >>> 0;
90
+ e[0] = e[0] + h >>> 0, e[1] = e[1] + _ >>> 0, e[2] = e[2] + m >>> 0, e[3] = e[3] + g >>> 0, e[4] = e[4] + x >>> 0;
91
91
  }
92
92
  return [e[0] >> 24 & 255, e[0] >> 16 & 255, e[0] >> 8 & 255, e[0] & 255, e[1] >> 24 & 255, e[1] >> 16 & 255, e[1] >> 8 & 255, e[1] & 255, e[2] >> 24 & 255, e[2] >> 16 & 255, e[2] >> 8 & 255, e[2] & 255, e[3] >> 24 & 255, e[3] >> 16 & 255, e[3] >> 8 & 255, e[3] & 255, e[4] >> 24 & 255, e[4] >> 16 & 255, e[4] >> 8 & 255, e[4] & 255];
93
93
  }
@@ -97,7 +97,7 @@ var at = function() {
97
97
  for (n = n || {}, c = M.length; c--; n[M[c]] = i)
98
98
  ;
99
99
  return n;
100
- }, r = [6, 8, 10, 20, 22, 24, 26, 27, 28], e = [1, 10], f = [1, 11], l = [1, 12], p = [1, 13], u = [1, 14], o = [1, 15], h = [1, 21], _ = [1, 22], m = [1, 23], g = [1, 24], R = [1, 25], y = [6, 8, 10, 13, 15, 18, 19, 20, 22, 24, 26, 27, 28, 41, 42, 43, 44, 45], k = [1, 34], w = [27, 28, 46, 47], Z = [41, 42, 43, 44, 45], F = [17, 34], B = [1, 54], T = [1, 53], A = [17, 34, 36, 38], O = {
100
+ }, r = [6, 8, 10, 20, 22, 24, 26, 27, 28], e = [1, 10], f = [1, 11], l = [1, 12], p = [1, 13], u = [1, 14], o = [1, 15], h = [1, 21], _ = [1, 22], m = [1, 23], g = [1, 24], x = [1, 25], y = [6, 8, 10, 13, 15, 18, 19, 20, 22, 24, 26, 27, 28, 41, 42, 43, 44, 45], N = [1, 34], w = [27, 28, 46, 47], Z = [41, 42, 43, 44, 45], F = [17, 34], B = [1, 54], T = [1, 53], A = [17, 34, 36, 38], R = {
101
101
  trace: function() {
102
102
  },
103
103
  yy: {},
@@ -217,7 +217,7 @@ var at = function() {
217
217
  break;
218
218
  }
219
219
  },
220
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(r, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 20: e, 22: f, 24: l, 26: p, 27: u, 28: o }, t(r, [2, 7], { 1: [2, 1] }), t(r, [2, 3]), { 9: 16, 11: 9, 20: e, 22: f, 24: l, 26: p, 27: u, 28: o }, t(r, [2, 5]), t(r, [2, 6]), t(r, [2, 11], { 12: 17, 39: 20, 15: [1, 18], 18: [1, 19], 41: h, 42: _, 43: m, 44: g, 45: R }), { 21: [1, 26] }, { 23: [1, 27] }, { 25: [1, 28] }, t(r, [2, 18]), t(y, [2, 19]), t(y, [2, 20]), t(r, [2, 4]), { 11: 29, 27: u, 28: o }, { 16: 30, 17: [1, 31], 29: 32, 30: 33, 34: k }, { 11: 35, 27: u, 28: o }, { 40: 36, 46: [1, 37], 47: [1, 38] }, t(w, [2, 34]), t(w, [2, 35]), t(w, [2, 36]), t(w, [2, 37]), t(w, [2, 38]), t(r, [2, 15]), t(r, [2, 16]), t(r, [2, 17]), { 13: [1, 39] }, { 17: [1, 40] }, t(r, [2, 10]), { 16: 41, 17: [2, 21], 29: 32, 30: 33, 34: k }, { 31: 42, 34: [1, 43] }, { 34: [2, 27] }, { 19: [1, 44] }, { 39: 45, 41: h, 42: _, 43: m, 44: g, 45: R }, t(Z, [2, 39]), t(Z, [2, 40]), { 14: 46, 27: [1, 49], 28: [1, 48], 48: [1, 47] }, t(r, [2, 9]), { 17: [2, 22] }, t(F, [2, 23], { 32: 50, 33: 51, 35: 52, 37: B, 38: T }), t([17, 34, 37, 38], [2, 28]), t(r, [2, 14], { 15: [1, 55] }), t([27, 28], [2, 33]), t(r, [2, 8]), t(r, [2, 41]), t(r, [2, 42]), t(r, [2, 43]), t(F, [2, 24], { 33: 56, 36: [1, 57], 38: T }), t(F, [2, 25]), t(A, [2, 29]), t(F, [2, 32]), t(A, [2, 31]), { 16: 58, 17: [1, 59], 29: 32, 30: 33, 34: k }, t(F, [2, 26]), { 35: 60, 37: B }, { 17: [1, 61] }, t(r, [2, 13]), t(A, [2, 30]), t(r, [2, 12])],
220
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(r, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 20: e, 22: f, 24: l, 26: p, 27: u, 28: o }, t(r, [2, 7], { 1: [2, 1] }), t(r, [2, 3]), { 9: 16, 11: 9, 20: e, 22: f, 24: l, 26: p, 27: u, 28: o }, t(r, [2, 5]), t(r, [2, 6]), t(r, [2, 11], { 12: 17, 39: 20, 15: [1, 18], 18: [1, 19], 41: h, 42: _, 43: m, 44: g, 45: x }), { 21: [1, 26] }, { 23: [1, 27] }, { 25: [1, 28] }, t(r, [2, 18]), t(y, [2, 19]), t(y, [2, 20]), t(r, [2, 4]), { 11: 29, 27: u, 28: o }, { 16: 30, 17: [1, 31], 29: 32, 30: 33, 34: N }, { 11: 35, 27: u, 28: o }, { 40: 36, 46: [1, 37], 47: [1, 38] }, t(w, [2, 34]), t(w, [2, 35]), t(w, [2, 36]), t(w, [2, 37]), t(w, [2, 38]), t(r, [2, 15]), t(r, [2, 16]), t(r, [2, 17]), { 13: [1, 39] }, { 17: [1, 40] }, t(r, [2, 10]), { 16: 41, 17: [2, 21], 29: 32, 30: 33, 34: N }, { 31: 42, 34: [1, 43] }, { 34: [2, 27] }, { 19: [1, 44] }, { 39: 45, 41: h, 42: _, 43: m, 44: g, 45: x }, t(Z, [2, 39]), t(Z, [2, 40]), { 14: 46, 27: [1, 49], 28: [1, 48], 48: [1, 47] }, t(r, [2, 9]), { 17: [2, 22] }, t(F, [2, 23], { 32: 50, 33: 51, 35: 52, 37: B, 38: T }), t([17, 34, 37, 38], [2, 28]), t(r, [2, 14], { 15: [1, 55] }), t([27, 28], [2, 33]), t(r, [2, 8]), t(r, [2, 41]), t(r, [2, 42]), t(r, [2, 43]), t(F, [2, 24], { 33: 56, 36: [1, 57], 38: T }), t(F, [2, 25]), t(A, [2, 29]), t(F, [2, 32]), t(A, [2, 31]), { 16: 58, 17: [1, 59], 29: 32, 30: 33, 34: N }, t(F, [2, 26]), { 35: 60, 37: B }, { 17: [1, 61] }, t(r, [2, 13]), t(A, [2, 30]), t(r, [2, 12])],
221
221
  defaultActions: { 34: [2, 27], 41: [2, 22] },
222
222
  parseError: function(i, n) {
223
223
  if (n.recoverable)
@@ -228,30 +228,30 @@ var at = function() {
228
228
  }
229
229
  },
230
230
  parse: function(i) {
231
- var n = this, c = [0], d = [], E = [null], a = [], z = this.table, s = "", X = 0, nt = 0, ft = 2, st = 1, ut = a.slice.call(arguments, 1), N = Object.create(this.lexer), U = { yy: {} };
231
+ var n = this, c = [0], d = [], E = [null], a = [], z = this.table, s = "", X = 0, nt = 0, ft = 2, st = 1, ut = a.slice.call(arguments, 1), b = Object.create(this.lexer), U = { yy: {} };
232
232
  for (var J in this.yy)
233
233
  Object.prototype.hasOwnProperty.call(this.yy, J) && (U.yy[J] = this.yy[J]);
234
- N.setInput(i, U.yy), U.yy.lexer = N, U.yy.parser = this, typeof N.yylloc == "undefined" && (N.yylloc = {});
235
- var q = N.yylloc;
234
+ b.setInput(i, U.yy), U.yy.lexer = b, U.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
235
+ var q = b.yylloc;
236
236
  a.push(q);
237
- var yt = N.options && N.options.ranges;
237
+ var yt = b.options && b.options.ranges;
238
238
  typeof U.yy.parseError == "function" ? this.parseError = U.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
239
239
  function pt() {
240
240
  var P;
241
- return P = d.pop() || N.lex() || st, typeof P != "number" && (P instanceof Array && (d = P, P = d.pop()), P = n.symbols_[P] || P), P;
241
+ return P = d.pop() || b.lex() || st, typeof P != "number" && (P instanceof Array && (d = P, P = d.pop()), P = n.symbols_[P] || P), P;
242
242
  }
243
243
  for (var I, G, S, $, H = {}, Q, C, ot, j; ; ) {
244
- if (G = c[c.length - 1], this.defaultActions[G] ? S = this.defaultActions[G] : ((I === null || typeof I == "undefined") && (I = pt()), S = z[G] && z[G][I]), typeof S == "undefined" || !S.length || !S[0]) {
244
+ if (G = c[c.length - 1], this.defaultActions[G] ? S = this.defaultActions[G] : ((I === null || typeof I > "u") && (I = pt()), S = z[G] && z[G][I]), typeof S > "u" || !S.length || !S[0]) {
245
245
  var tt = "";
246
246
  j = [];
247
247
  for (Q in z[G])
248
248
  this.terminals_[Q] && Q > ft && j.push("'" + this.terminals_[Q] + "'");
249
- N.showPosition ? tt = "Parse error on line " + (X + 1) + `:
250
- ` + N.showPosition() + `
249
+ b.showPosition ? tt = "Parse error on line " + (X + 1) + `:
250
+ ` + b.showPosition() + `
251
251
  Expecting ` + j.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : tt = "Parse error on line " + (X + 1) + ": Unexpected " + (I == st ? "end of input" : "'" + (this.terminals_[I] || I) + "'"), this.parseError(tt, {
252
- text: N.match,
252
+ text: b.match,
253
253
  token: this.terminals_[I] || I,
254
- line: N.yylineno,
254
+ line: b.yylineno,
255
255
  loc: q,
256
256
  expected: j
257
257
  });
@@ -260,7 +260,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : tt =
260
260
  throw new Error("Parse Error: multiple actions possible at state: " + G + ", token: " + I);
261
261
  switch (S[0]) {
262
262
  case 1:
263
- c.push(I), E.push(N.yytext), a.push(N.yylloc), c.push(S[1]), I = null, nt = N.yyleng, s = N.yytext, X = N.yylineno, q = N.yylloc;
263
+ c.push(I), E.push(b.yytext), a.push(b.yylloc), c.push(S[1]), I = null, nt = b.yyleng, s = b.yytext, X = b.yylineno, q = b.yylloc;
264
264
  break;
265
265
  case 2:
266
266
  if (C = this.productions_[S[1]][1], H.$ = E[E.length - C], H._$ = {
@@ -279,7 +279,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : tt =
279
279
  S[1],
280
280
  E,
281
281
  a
282
- ].concat(ut)), typeof $ != "undefined")
282
+ ].concat(ut)), typeof $ < "u")
283
283
  return $;
284
284
  C && (c = c.slice(0, -1 * C * 2), E = E.slice(0, -1 * C), a = a.slice(0, -1 * C)), c.push(this.productions_[S[1]][0]), E.push(H.$), a.push(H._$), ot = z[c[c.length - 2]][c[c.length - 1]], c.push(ot);
285
285
  break;
@@ -289,7 +289,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : tt =
289
289
  }
290
290
  return !0;
291
291
  }
292
- }, b = function() {
292
+ }, O = function() {
293
293
  var M = {
294
294
  EOF: 1,
295
295
  parseError: function(n, c) {
@@ -582,11 +582,11 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : tt =
582
582
  };
583
583
  return M;
584
584
  }();
585
- O.lexer = b;
585
+ R.lexer = O;
586
586
  function D() {
587
587
  this.yy = {};
588
588
  }
589
- return D.prototype = O, O.Parser = D, new D();
589
+ return D.prototype = R, R.Parser = D, new D();
590
590
  }();
591
591
  at.parser = at;
592
592
  const Ut = at;
@@ -650,47 +650,47 @@ const Gt = {
650
650
  ERMarkers: v,
651
651
  insertMarkers: Jt
652
652
  }, qt = /[^\dA-Za-z](\W)*/g;
653
- let x = {}, V = /* @__PURE__ */ new Map();
653
+ let k = {}, V = /* @__PURE__ */ new Map();
654
654
  const $t = function(t) {
655
655
  const r = Object.keys(t);
656
656
  for (const e of r)
657
- x[e] = t[e];
657
+ k[e] = t[e];
658
658
  }, te = (t, r, e) => {
659
- const f = x.entityPadding / 3, l = x.entityPadding / 3, p = x.fontSize * 0.85, u = r.node().getBBox(), o = [];
660
- let h = !1, _ = !1, m = 0, g = 0, R = 0, y = 0, k = u.height + f * 2, w = 1;
659
+ const f = k.entityPadding / 3, l = k.entityPadding / 3, p = k.fontSize * 0.85, u = r.node().getBBox(), o = [];
660
+ let h = !1, _ = !1, m = 0, g = 0, x = 0, y = 0, N = u.height + f * 2, w = 1;
661
661
  e.forEach((T) => {
662
662
  T.attributeKeyTypeList !== void 0 && T.attributeKeyTypeList.length > 0 && (h = !0), T.attributeComment !== void 0 && (_ = !0);
663
663
  }), e.forEach((T) => {
664
664
  const A = `${r.node().id}-attr-${w}`;
665
- let O = 0;
666
- const b = At(T.attributeType), D = t.append("text").classed("er entityLabel", !0).attr("id", `${A}-type`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Y().fontFamily).style("font-size", p + "px").text(b), M = t.append("text").classed("er entityLabel", !0).attr("id", `${A}-name`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Y().fontFamily).style("font-size", p + "px").text(T.attributeName), i = {};
665
+ let R = 0;
666
+ const O = At(T.attributeType), D = t.append("text").classed("er entityLabel", !0).attr("id", `${A}-type`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Y().fontFamily).style("font-size", p + "px").text(O), M = t.append("text").classed("er entityLabel", !0).attr("id", `${A}-name`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Y().fontFamily).style("font-size", p + "px").text(T.attributeName), i = {};
667
667
  i.tn = D, i.nn = M;
668
668
  const n = D.node().getBBox(), c = M.node().getBBox();
669
- if (m = Math.max(m, n.width), g = Math.max(g, c.width), O = Math.max(n.height, c.height), h) {
669
+ if (m = Math.max(m, n.width), g = Math.max(g, c.width), R = Math.max(n.height, c.height), h) {
670
670
  const d = T.attributeKeyTypeList !== void 0 ? T.attributeKeyTypeList.join(",") : "", E = t.append("text").classed("er entityLabel", !0).attr("id", `${A}-key`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Y().fontFamily).style("font-size", p + "px").text(d);
671
671
  i.kn = E;
672
672
  const a = E.node().getBBox();
673
- R = Math.max(R, a.width), O = Math.max(O, a.height);
673
+ x = Math.max(x, a.width), R = Math.max(R, a.height);
674
674
  }
675
675
  if (_) {
676
676
  const d = t.append("text").classed("er entityLabel", !0).attr("id", `${A}-comment`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Y().fontFamily).style("font-size", p + "px").text(T.attributeComment || "");
677
677
  i.cn = d;
678
678
  const E = d.node().getBBox();
679
- y = Math.max(y, E.width), O = Math.max(O, E.height);
679
+ y = Math.max(y, E.width), R = Math.max(R, E.height);
680
680
  }
681
- i.height = O, o.push(i), k += O + f * 2, w += 1;
681
+ i.height = R, o.push(i), N += R + f * 2, w += 1;
682
682
  });
683
683
  let Z = 4;
684
684
  h && (Z += 2), _ && (Z += 2);
685
- const F = m + g + R + y, B = {
685
+ const F = m + g + x + y, B = {
686
686
  width: Math.max(
687
- x.minEntityWidth,
687
+ k.minEntityWidth,
688
688
  Math.max(
689
- u.width + x.entityPadding * 2,
689
+ u.width + k.entityPadding * 2,
690
690
  F + l * Z
691
691
  )
692
692
  ),
693
- height: e.length > 0 ? k : Math.max(x.minEntityHeight, u.height + x.entityPadding * 2)
693
+ height: e.length > 0 ? N : Math.max(k.minEntityHeight, u.height + k.entityPadding * 2)
694
694
  };
695
695
  if (e.length > 0) {
696
696
  const T = Math.max(
@@ -701,43 +701,42 @@ const $t = function(t) {
701
701
  "transform",
702
702
  "translate(" + B.width / 2 + "," + (f + u.height / 2) + ")"
703
703
  );
704
- let A = u.height + f * 2, O = "attributeBoxOdd";
705
- o.forEach((b) => {
706
- const D = A + f + b.height / 2;
707
- b.tn.attr("transform", "translate(" + l + "," + D + ")");
708
- const M = t.insert("rect", "#" + b.tn.node().id).classed(`er ${O}`, !0).attr("x", 0).attr("y", A).attr("width", m + l * 2 + T).attr("height", b.height + f * 2), i = parseFloat(M.attr("x")) + parseFloat(M.attr("width"));
709
- b.nn.attr(
704
+ let A = u.height + f * 2, R = "attributeBoxOdd";
705
+ o.forEach((O) => {
706
+ const D = A + f + O.height / 2;
707
+ O.tn.attr("transform", "translate(" + l + "," + D + ")");
708
+ const M = t.insert("rect", "#" + O.tn.node().id).classed(`er ${R}`, !0).attr("x", 0).attr("y", A).attr("width", m + l * 2 + T).attr("height", O.height + f * 2), i = parseFloat(M.attr("x")) + parseFloat(M.attr("width"));
709
+ O.nn.attr(
710
710
  "transform",
711
711
  "translate(" + (i + l) + "," + D + ")"
712
712
  );
713
- const n = t.insert("rect", "#" + b.nn.node().id).classed(`er ${O}`, !0).attr("x", i).attr("y", A).attr("width", g + l * 2 + T).attr("height", b.height + f * 2);
713
+ const n = t.insert("rect", "#" + O.nn.node().id).classed(`er ${R}`, !0).attr("x", i).attr("y", A).attr("width", g + l * 2 + T).attr("height", O.height + f * 2);
714
714
  let c = parseFloat(n.attr("x")) + parseFloat(n.attr("width"));
715
715
  if (h) {
716
- b.kn.attr(
716
+ O.kn.attr(
717
717
  "transform",
718
718
  "translate(" + (c + l) + "," + D + ")"
719
719
  );
720
- const d = t.insert("rect", "#" + b.kn.node().id).classed(`er ${O}`, !0).attr("x", c).attr("y", A).attr("width", R + l * 2 + T).attr("height", b.height + f * 2);
720
+ const d = t.insert("rect", "#" + O.kn.node().id).classed(`er ${R}`, !0).attr("x", c).attr("y", A).attr("width", x + l * 2 + T).attr("height", O.height + f * 2);
721
721
  c = parseFloat(d.attr("x")) + parseFloat(d.attr("width"));
722
722
  }
723
- _ && (b.cn.attr(
723
+ _ && (O.cn.attr(
724
724
  "transform",
725
725
  "translate(" + (c + l) + "," + D + ")"
726
- ), t.insert("rect", "#" + b.cn.node().id).classed(`er ${O}`, "true").attr("x", c).attr("y", A).attr("width", y + l * 2 + T).attr("height", b.height + f * 2)), A += b.height + f * 2, O = O === "attributeBoxOdd" ? "attributeBoxEven" : "attributeBoxOdd";
726
+ ), t.insert("rect", "#" + O.cn.node().id).classed(`er ${R}`, "true").attr("x", c).attr("y", A).attr("width", y + l * 2 + T).attr("height", O.height + f * 2)), A += O.height + f * 2, R = R === "attributeBoxOdd" ? "attributeBoxEven" : "attributeBoxOdd";
727
727
  });
728
728
  } else
729
- B.height = Math.max(x.minEntityHeight, k), r.attr("transform", "translate(" + B.width / 2 + "," + B.height / 2 + ")");
729
+ B.height = Math.max(k.minEntityHeight, N), r.attr("transform", "translate(" + B.width / 2 + "," + B.height / 2 + ")");
730
730
  return B;
731
731
  }, ee = function(t, r, e) {
732
732
  const f = Object.keys(r);
733
733
  let l;
734
734
  return f.forEach(function(p) {
735
- var k;
736
735
  const u = oe(p, "entity");
737
736
  V.set(p, u);
738
737
  const o = t.append("g").attr("id", u);
739
738
  l = l === void 0 ? u : l;
740
- const h = "text-" + u, _ = o.append("text").classed("er entityLabel", !0).attr("id", h).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", Y().fontFamily).style("font-size", x.fontSize + "px").text((k = r[p].alias) != null ? k : p), { width: m, height: g } = te(
739
+ const h = "text-" + u, _ = o.append("text").classed("er entityLabel", !0).attr("id", h).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", Y().fontFamily).style("font-size", k.fontSize + "px").text(r[p].alias ?? p), { width: m, height: g } = te(
741
740
  o,
742
741
  _,
743
742
  r[p].attributes
@@ -775,14 +774,14 @@ const ie = function(t, r, e, f, l) {
775
774
  V.get(r.entityA),
776
775
  V.get(r.entityB),
777
776
  dt(r)
778
- ), u = wt().x(function(k) {
779
- return k.x;
780
- }).y(function(k) {
781
- return k.y;
782
- }).curve(Tt), o = t.insert("path", "#" + f).classed("er relationshipLine", !0).attr("d", u(p.points)).style("stroke", x.stroke).style("fill", "none");
777
+ ), u = wt().x(function(N) {
778
+ return N.x;
779
+ }).y(function(N) {
780
+ return N.y;
781
+ }).curve(Tt), o = t.insert("path", "#" + f).classed("er relationshipLine", !0).attr("d", u(p.points)).style("stroke", k.stroke).style("fill", "none");
783
782
  r.relSpec.relType === l.db.Identification.NON_IDENTIFYING && o.attr("stroke-dasharray", "8,8");
784
783
  let h = "";
785
- switch (x.arrowMarkerAbsolute && (h = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, h = h.replace(/\(/g, "\\("), h = h.replace(/\)/g, "\\)")), r.relSpec.cardA) {
784
+ switch (k.arrowMarkerAbsolute && (h = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, h = h.replace(/\(/g, "\\("), h = h.replace(/\)/g, "\\)")), r.relSpec.cardA) {
786
785
  case l.db.Cardinality.ZERO_OR_ONE:
787
786
  o.attr("marker-end", "url(" + h + "#" + L.ERMarkers.ZERO_OR_ONE_END + ")");
788
787
  break;
@@ -825,22 +824,22 @@ const ie = function(t, r, e, f, l) {
825
824
  o.attr("marker-start", "url(" + h + "#" + L.ERMarkers.MD_PARENT_START + ")");
826
825
  break;
827
826
  }
828
- const _ = o.node().getTotalLength(), m = o.node().getPointAtLength(_ * 0.5), g = "rel" + lt, y = t.append("text").classed("er relationshipLabel", !0).attr("id", g).attr("x", m.x).attr("y", m.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", Y().fontFamily).style("font-size", x.fontSize + "px").text(r.roleA).node().getBBox();
827
+ const _ = o.node().getTotalLength(), m = o.node().getPointAtLength(_ * 0.5), g = "rel" + lt, y = t.append("text").classed("er relationshipLabel", !0).attr("id", g).attr("x", m.x).attr("y", m.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", Y().fontFamily).style("font-size", k.fontSize + "px").text(r.roleA).node().getBBox();
829
828
  t.insert("rect", "#" + g).classed("er relationshipLabelBox", !0).attr("x", m.x - y.width / 2).attr("y", m.y - y.height / 2).attr("width", y.width).attr("height", y.height);
830
829
  }, ne = function(t, r, e, f) {
831
- x = Y().er, K.info("Drawing ER diagram");
830
+ k = Y().er, K.info("Drawing ER diagram");
832
831
  const l = Y().securityLevel;
833
832
  let p;
834
833
  l === "sandbox" && (p = et("#i" + r));
835
834
  const o = (l === "sandbox" ? et(p.nodes()[0].contentDocument.body) : et("body")).select(`[id='${r}']`);
836
- L.insertMarkers(o, x);
835
+ L.insertMarkers(o, k);
837
836
  let h;
838
837
  h = new Mt({
839
838
  multigraph: !0,
840
839
  directed: !0,
841
840
  compound: !1
842
841
  }).setGraph({
843
- rankdir: x.layoutDirection,
842
+ rankdir: k.layoutDirection,
844
843
  marginx: 20,
845
844
  marginy: 20,
846
845
  nodesep: 100,
@@ -853,10 +852,10 @@ const ie = function(t, r, e, f, l) {
853
852
  It(h), re(o, h), m.forEach(function(w) {
854
853
  ie(o, w, h, _, f);
855
854
  });
856
- const g = x.diagramPadding;
857
- bt.insertTitle(o, "entityTitleText", x.titleTopMargin, f.db.getDiagramTitle());
858
- const R = o.node().getBBox(), y = R.width + g * 2, k = R.height + g * 2;
859
- Nt(o, k, y, x.useMaxWidth), o.attr("viewBox", `${R.x - g} ${R.y - g} ${y} ${k}`);
855
+ const g = k.diagramPadding;
856
+ bt.insertTitle(o, "entityTitleText", k.titleTopMargin, f.db.getDiagramTitle());
857
+ const x = o.node().getBBox(), y = x.width + g * 2, N = x.height + g * 2;
858
+ Nt(o, N, y, k.useMaxWidth), o.attr("viewBox", `${x.x - g} ${x.y - g} ${y} ${N}`);
860
859
  }, se = "28e9f9db-3c8d-5aa5-9faf-44286ae5937c";
861
860
  function oe(t = "", r = "") {
862
861
  const e = t.replace(qt, "");