lowcoder-comps 2.4.13 → 2.4.15

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/{0fa873f8.js → 0bb0c92e.js} +4 -4
  2. package/{1d0578cc.js → 0cc36377.js} +919 -969
  3. package/{4ee1107f.js → 0fa86771.js} +411 -451
  4. package/{7ceb1a86.js → 19a2ee87.js} +1067 -1085
  5. package/{62a4e802.js → 1b41afb7.js} +6 -6
  6. package/{140d1965.js → 1e5b4466.js} +1 -1
  7. package/21ce624b.js +433 -0
  8. package/247d363c.js +797 -0
  9. package/{66d40f47.js → 2dc10e5c.js} +96 -99
  10. package/{48262065.js → 3a91cb5c.js} +8 -8
  11. package/{bfff0c9e.js → 3ebe8123.js} +26 -27
  12. package/{e60eb1d6.js → 3f2bde45.js} +1 -1
  13. package/{08ce8965.js → 4046c39a.js} +247 -258
  14. package/{256b619e.js → 428ebac9.js} +14 -15
  15. package/{f85b9955.js → 4b8936b0.js} +68 -69
  16. package/{722d14f3.js → 4d48e6df.js} +6 -6
  17. package/{93e77b54.js → 558e8ee5.js} +4 -4
  18. package/{d2b89014.js → 56f6e990.js} +92 -92
  19. package/{6c5168e9.js → 5a31cef7.js} +2 -2
  20. package/{7873457c.js → 5d41cf38.js} +6 -6
  21. package/{5d259708.js → 5fd9a898.js} +4 -5
  22. package/{2c7a98c7.js → 63a771ab.js} +8 -8
  23. package/6a32f1c1.js +206 -0
  24. package/{e7717e30.js → 7035666f.js} +7 -7
  25. package/{c840f94c.js → 74ef17ae.js} +140 -141
  26. package/{eeeac330.js → 7cc252e4.js} +65540 -59868
  27. package/81d6ce63.js +817 -0
  28. package/{c8211b18.js → 832e744b.js} +1 -1
  29. package/{81a0d6f1.js → 8718dc59.js} +12 -12
  30. package/{7a22ada0.js → 88953f96.js} +18 -18
  31. package/a8d4a50e.js +373 -0
  32. package/aa88392e.js +190 -0
  33. package/b0862b2f.js +1083 -0
  34. package/{62c4dc6e.js → c1b710aa.js} +5 -5
  35. package/{4cf9b6b3.js → d72b57c8.js} +12713 -12735
  36. package/{629dfdca.js → e441921a.js} +4 -4
  37. package/{47848c42.js → e5b014a9.js} +5 -5
  38. package/{b7fefb34.js → eb3bf879.js} +2 -2
  39. package/{febae45b.js → eb5cf40c.js} +2 -2
  40. package/{ddee0e99.js → edc74d11.js} +3 -3
  41. package/f0f41787.js +1264 -0
  42. package/index.js +2 -2
  43. package/package.json +1 -1
  44. package/1de1a3c9.js +0 -1102
  45. package/2510669f.js +0 -237
  46. package/68ee7280.js +0 -1276
  47. package/89baa2e6.js +0 -391
  48. package/9dc6adcd.js +0 -819
  49. package/ab55adad.js +0 -818
  50. package/c459c043.js +0 -208
  51. package/e47dc9ca.js +0 -455
@@ -1,27 +1,26 @@
1
- var E = Math.pow;
2
- const c = Math.PI, x = 2 * c, u = 1e-6, A = x - u;
3
- function T(e) {
1
+ const c = Math.PI, x = 2 * c, u = 1e-6, m = x - u;
2
+ function E(e) {
4
3
  this._ += e[0];
5
4
  for (let t = 1, h = e.length; t < h; ++t)
6
5
  this._ += arguments[t] + e[t];
7
6
  }
8
- function L(e) {
7
+ function A(e) {
9
8
  let t = Math.floor(e);
10
9
  if (!(t >= 0))
11
10
  throw new Error(`invalid digits: ${e}`);
12
11
  if (t > 15)
13
- return T;
14
- const h = E(10, t);
12
+ return E;
13
+ const h = 10 ** t;
15
14
  return function(i) {
16
15
  this._ += i[0];
17
16
  for (let s = 1, n = i.length; s < n; ++s)
18
17
  this._ += Math.round(arguments[s] * h) / h + i[s];
19
18
  };
20
19
  }
21
- class P {
20
+ class L {
22
21
  constructor(t) {
23
22
  this._x0 = this._y0 = // start of current subpath
24
- this._x1 = this._y1 = null, this._ = "", this._append = t == null ? T : L(t);
23
+ this._x1 = this._y1 = null, this._ = "", this._append = t == null ? E : A(t);
25
24
  }
26
25
  moveTo(t, h) {
27
26
  this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +h}`;
@@ -48,7 +47,7 @@ class P {
48
47
  if (!(Math.abs(o * p - l * _) > u) || !n)
49
48
  this._append`L${this._x1 = t},${this._y1 = h}`;
50
49
  else {
51
- let d = i - $, f = s - r, y = p * p + l * l, m = d * d + f * f, g = Math.sqrt(y), v = Math.sqrt(a), w = n * Math.tan((c - Math.acos((y + a - m) / (2 * g * v))) / 2), M = w / v, b = w / g;
50
+ let d = i - $, f = s - r, y = p * p + l * l, T = d * d + f * f, g = Math.sqrt(y), v = Math.sqrt(a), w = n * Math.tan((c - Math.acos((y + a - T) / (2 * g * v))) / 2), M = w / v, b = w / g;
52
51
  Math.abs(M - 1) > u && this._append`L${t + M * _},${h + M * o}`, this._append`A${n},${n},0,0,${+(o * d > _ * f)},${this._x1 = t + b * p},${this._y1 = h + b * l}`;
53
52
  }
54
53
  }
@@ -56,7 +55,7 @@ class P {
56
55
  if (t = +t, h = +h, i = +i, $ = !!$, i < 0)
57
56
  throw new Error(`negative radius: ${i}`);
58
57
  let r = i * Math.cos(s), p = i * Math.sin(s), l = t + r, _ = h + p, o = 1 ^ $, a = $ ? s - n : n - s;
59
- this._x1 === null ? this._append`M${l},${_}` : (Math.abs(this._x1 - l) > u || Math.abs(this._y1 - _) > u) && this._append`L${l},${_}`, i && (a < 0 && (a = a % x + x), a > A ? this._append`A${i},${i},0,1,${o},${t - r},${h - p}A${i},${i},0,1,${o},${this._x1 = l},${this._y1 = _}` : a > u && this._append`A${i},${i},0,${+(a >= c)},${o},${this._x1 = t + i * Math.cos(n)},${this._y1 = h + i * Math.sin(n)}`);
58
+ this._x1 === null ? this._append`M${l},${_}` : (Math.abs(this._x1 - l) > u || Math.abs(this._y1 - _) > u) && this._append`L${l},${_}`, i && (a < 0 && (a = a % x + x), a > m ? this._append`A${i},${i},0,1,${o},${t - r},${h - p}A${i},${i},0,1,${o},${this._x1 = l},${this._y1 = _}` : a > u && this._append`A${i},${i},0,${+(a >= c)},${o},${this._x1 = t + i * Math.cos(n)},${this._y1 = h + i * Math.sin(n)}`);
60
59
  }
61
60
  rect(t, h, i, s) {
62
61
  this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +h}h${i = +i}v${+s}h${-i}Z`;
@@ -65,12 +64,12 @@ class P {
65
64
  return this._;
66
65
  }
67
66
  }
68
- function C(e) {
67
+ function P(e) {
69
68
  return function() {
70
69
  return e;
71
70
  };
72
71
  }
73
- function R(e) {
72
+ function q(e) {
74
73
  let t = 3;
75
74
  return e.digits = function(h) {
76
75
  if (!arguments.length)
@@ -84,9 +83,9 @@ function R(e) {
84
83
  t = i;
85
84
  }
86
85
  return e;
87
- }, () => new P(t);
86
+ }, () => new L(t);
88
87
  }
89
88
  export {
90
- C as c,
91
- R as w
89
+ P as c,
90
+ q as w
92
91
  };
@@ -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 "./eeeac330.js";
2
- import { G as Mt } from "./b7fefb34.js";
3
- import { l as It } from "./febae45b.js";
4
- import { l as wt } from "./6c5168e9.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 "./7cc252e4.js";
2
+ import { G as Mt } from "./eb3bf879.js";
3
+ import { l as It } from "./eb5cf40c.js";
4
+ import { l as wt } from "./5a31cef7.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, "");
@@ -1,10 +1,10 @@
1
- import { p as P, d as N, s as W } from "./62a4e802.js";
2
- import { e as t, j as H, l as b, k as R, m as T, I as v, C } from "./eeeac330.js";
3
- import { G as U } from "./b7fefb34.js";
4
- import { l as F } from "./febae45b.js";
5
- import { l as $ } from "./6c5168e9.js";
1
+ import { p as P, d as N, s as W } from "./1b41afb7.js";
2
+ import { e as t, j as H, l as b, k as R, m as T, I as v, C } from "./7cc252e4.js";
3
+ import { G as U } from "./eb3bf879.js";
4
+ import { l as F } from "./eb5cf40c.js";
5
+ import { l as $ } from "./5a31cef7.js";
6
6
  import "./2ff2c7a6.js";
7
- import "./256b619e.js";
7
+ import "./428ebac9.js";
8
8
  const O = (e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), X = (e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), I = (e, i) => {
9
9
  const o = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = o.node().getBBox();
10
10
  return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), o;
@@ -1,4 +1,4 @@
1
- import { $ as un, a0 as I, a1 as U, a2 as Y, a3 as fn } from "./eeeac330.js";
1
+ import { $ as un, a0 as I, a1 as U, a2 as Y, a3 as fn } from "./7cc252e4.js";
2
2
  import { i as cn } from "./f9637058.js";
3
3
  function F(n, t) {
4
4
  return n == null || t == null ? NaN : n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
@@ -386,7 +386,7 @@ function Un() {
386
386
  }
387
387
  function Yn(n, t, e, r) {
388
388
  var i = Nn(n, t, e), f;
389
- switch (r = D(r == null ? ",f" : r), r.type) {
389
+ switch (r = D(r ?? ",f"), r.type) {
390
390
  case "s": {
391
391
  var a = Math.max(Math.abs(n), Math.abs(t));
392
392
  return r.precision == null && !isNaN(f = In(i, a)) && (r.precision = f), rn(r, a);
@@ -411,10 +411,10 @@ function Zn(n) {
411
411
  var t = n.domain;
412
412
  return n.ticks = function(e) {
413
413
  var r = t();
414
- return wn(r[0], r[r.length - 1], e == null ? 10 : e);
414
+ return wn(r[0], r[r.length - 1], e ?? 10);
415
415
  }, n.tickFormat = function(e, r) {
416
416
  var i = t();
417
- return Yn(i[0], i[i.length - 1], e == null ? 10 : e, r);
417
+ return Yn(i[0], i[i.length - 1], e ?? 10, r);
418
418
  }, n.nice = function(e) {
419
419
  e == null && (e = 10);
420
420
  var r = t(), i = 0, f = r.length - 1, a = r[i], u = r[f], c, o, l = 10;