lowcoder-comps 0.0.27 → 0.0.29

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 (56) hide show
  1. package/{83f8a9bc.js → 2085da13.js} +1 -1
  2. package/250691b5.js +5 -0
  3. package/274f545c.js +881 -0
  4. package/{991b6314.js → 289305a1.js} +45 -43
  5. package/{6e6c38ae.js → 2eae45c2.js} +1 -1
  6. package/2ff7471d.js +9 -0
  7. package/{d16a79d9.js → 335b22a2.js} +12 -10
  8. package/{e30d5d4a.js → 38c826fe.js} +158 -147
  9. package/{ca35eaa7.js → 44011c1d.js} +286 -293
  10. package/4fc06812.js +64 -0
  11. package/{e7309c57.js → 56a787cf.js} +2 -2
  12. package/590941ff.js +86 -0
  13. package/{a607b479.js → 6341867f.js} +27 -27
  14. package/657fd065.js +8 -0
  15. package/{daee88f9.js → 78a5e50d.js} +133 -132
  16. package/820c3641.js +25 -0
  17. package/{70705fc3.js → 88b4e75a.js} +2 -1
  18. package/8d999722.js +1102 -0
  19. package/{65ab329e.js → 989caea2.js} +148 -145
  20. package/99b984d1.js +237 -0
  21. package/9e5f02d6.js +19104 -0
  22. package/a40faea7.js +11624 -0
  23. package/abac9104.js +1536 -0
  24. package/af2f19b3.js +819 -0
  25. package/{3544d11b.js → af5ee3de.js} +13 -12
  26. package/b24707c2.js +48428 -0
  27. package/b68f8b69.js +1276 -0
  28. package/ba68ba65.js +391 -0
  29. package/{796a2b34.js → bafb8599.js} +1 -1
  30. package/{0d26e631.js → bba60c35.js} +548 -548
  31. package/bd7c2a8e.js +1089 -0
  32. package/c71dadea.js +455 -0
  33. package/{8d8803ff.js → d05c1762.js} +25 -24
  34. package/{5edf1d55.js → d073ab24.js} +32557 -34230
  35. package/{11bb676b.js → d838cd10.js} +6 -5
  36. package/{cea82f05.js → dc36a6eb.js} +11 -11
  37. package/{e1a5f037.js → ed143450.js} +18 -18
  38. package/ee8ec8f2.js +2284 -0
  39. package/f6755210.js +1269 -0
  40. package/{560f788e.js → fba4c8e4.js} +18 -18
  41. package/index.js +2 -2
  42. package/package.json +11 -9
  43. package/31a2d08c.js +0 -365
  44. package/49315e81.js +0 -64
  45. package/55e01450.js +0 -46724
  46. package/63aaeeb8.js +0 -1055
  47. package/685b5f6c.js +0 -1235
  48. package/77072d20.js +0 -22
  49. package/919ae09a.js +0 -1000
  50. package/a0a687f6.js +0 -235
  51. package/a664ee52.js +0 -2192
  52. package/b8dbed32.js +0 -448
  53. package/d9708225.js +0 -86
  54. package/eca15e1d.js +0 -2396
  55. package/f3f6fcfc.js +0 -18798
  56. package/f45254b8.js +0 -786
@@ -1,6 +1,7 @@
1
- import { c as Te, s as Ce, g as Fe, b as Me, a as De, l as Ne, E as Pe, h as oe, i as Ye, j as ke } from "./5edf1d55.js";
2
- import { G as Ue, l as Be } from "./eca15e1d.js";
3
- import { l as Qe } from "./6e6c38ae.js";
1
+ import { c as Te, s as Ce, g as Fe, b as Me, a as De, l as Ne, E as Pe, h as oe, i as Ye, j as ke } from "./d073ab24.js";
2
+ import { G as Ue } from "./274f545c.js";
3
+ import { l as Be } from "./abac9104.js";
4
+ import { l as Qe } from "./2eae45c2.js";
4
5
  import "./2ff2c7a6.js";
5
6
  import "./256b619e.js";
6
7
  var ce = function() {
@@ -757,12 +758,12 @@ const Ae = (e, t) => e.insert("rect", "#" + t).attr("class", "req reqBox").attr(
757
758
  Ye(h, k, v, y.useMaxWidth), h.attr("viewBox", `${N.x - T} ${N.y - T} ${v} ${k}`);
758
759
  }, mt = {
759
760
  draw: Rt
760
- }, Nt = {
761
+ }, xt = {
761
762
  parser: He,
762
763
  db: ct,
763
764
  renderer: mt,
764
765
  styles: ut
765
766
  };
766
767
  export {
767
- Nt as diagram
768
+ xt as diagram
768
769
  };
@@ -1,5 +1,5 @@
1
- import { aR as ft, E as gt, c as mt, l as S, h as U, r as xt, aS as _t, aT as bt, aU as kt } from "./5edf1d55.js";
2
- import { a as D } from "./d9708225.js";
1
+ import { ar as ft, E as gt, c as mt, l as S, h as q, t as xt, as as _t, at as bt, au as kt } from "./d073ab24.js";
2
+ import { a as D } from "./590941ff.js";
3
3
  import "./256b619e.js";
4
4
  var K = function() {
5
5
  var n = function(g, i, r, c) {
@@ -353,8 +353,8 @@ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : J = "
353
353
  K.parser = K;
354
354
  const vt = K;
355
355
  let W = "", st = 0;
356
- const Q = [], q = [], B = [], it = () => ft, rt = function() {
357
- Q.length = 0, q.length = 0, W = "", B.length = 0, gt();
356
+ const Q = [], U = [], B = [], it = () => ft, rt = function() {
357
+ Q.length = 0, U.length = 0, W = "", B.length = 0, gt();
358
358
  }, at = function(n) {
359
359
  W = n, Q.push(n);
360
360
  }, lt = function() {
@@ -365,7 +365,7 @@ const Q = [], q = [], B = [], it = () => ft, rt = function() {
365
365
  let e = 0;
366
366
  for (; !n && e < t; )
367
367
  n = tt(), e++;
368
- return q.push(...B), q;
368
+ return U.push(...B), U;
369
369
  }, ct = function(n, t, e) {
370
370
  const a = {
371
371
  id: st++,
@@ -387,7 +387,7 @@ const Q = [], q = [], B = [], it = () => ft, rt = function() {
387
387
  task: n,
388
388
  classes: []
389
389
  };
390
- q.push(t);
390
+ U.push(t);
391
391
  }, tt = function() {
392
392
  const n = function(e) {
393
393
  return B[e].processed;
@@ -543,7 +543,7 @@ const Mt = function(n, t, e) {
543
543
  };
544
544
  function yt(n, t) {
545
545
  n.each(function() {
546
- var e = U(this), a = e.text().split(/(\s+|<br>)/).reverse(), s, h = [], l = 1.1, p = e.attr("y"), y = parseFloat(e.attr("dy")), f = e.text(null).append("tspan").attr("x", 0).attr("y", p).attr("dy", y + "em");
546
+ var e = q(this), a = e.text().split(/(\s+|<br>)/).reverse(), s, h = [], l = 1.1, p = e.attr("y"), y = parseFloat(e.attr("dy")), f = e.text(null).append("tspan").attr("x", 0).attr("y", p).attr("dy", y + "em");
547
547
  for (let b = 0; b < a.length; b++)
548
548
  s = a[a.length - 1 - b], h.push(s), f.text(h.join(" ").trim()), (f.node().getComputedTextLength() > t || s === "<br>") && (h.pop(), f.text(h.join(" ").trim()), s === "<br>" ? h = [""] : h = [s], f = e.append("tspan").attr("x", 0).attr("y", p).attr("dy", l + "em").text(s));
549
549
  });
@@ -584,8 +584,8 @@ const Ht = function(n, t, e, a) {
584
584
  S.debug("timeline", a.db);
585
585
  const y = l.securityLevel;
586
586
  let f;
587
- y === "sandbox" && (f = U("#i" + t));
588
- const m = (y === "sandbox" ? U(f.nodes()[0].contentDocument.body) : U("body")).select("#" + t);
587
+ y === "sandbox" && (f = q("#i" + t));
588
+ const m = (y === "sandbox" ? q(f.nodes()[0].contentDocument.body) : q("body")).select("#" + t);
589
589
  m.append("g");
590
590
  const g = a.db.getTasks(), i = a.db.getCommonDb().getDiagramTitle();
591
591
  S.debug("task", g), C.initGraphics(m);
@@ -785,12 +785,12 @@ const Ht = function(n, t, e, a) {
785
785
  .eventWrapper {
786
786
  filter: brightness(120%);
787
787
  }
788
- `, Ot = Bt, qt = {
788
+ `, Ot = Bt, Ut = {
789
789
  db: St,
790
790
  renderer: Vt,
791
791
  parser: vt,
792
792
  styles: Ot
793
793
  };
794
794
  export {
795
- qt as diagram
795
+ Ut as diagram
796
796
  };
@@ -1,9 +1,9 @@
1
- import { Y as zt, Z as ot, W as wt, V as Ft, s as Nt, g as Xt, B as Yt, D as St, a as Ht, b as $t, E as Ut, l as Ct, T as qt, i as jt, d as Gt } from "./5edf1d55.js";
2
- import { c as Qt } from "./70705fc3.js";
1
+ import { Y as zt, Z as ot, W as wt, V as Ft, s as Nt, g as Xt, C as Yt, D as St, a as Ht, b as $t, E as Ut, l as Ct, T as qt, i as jt, d as Gt } from "./d073ab24.js";
2
+ import { c as Qt } from "./88b4e75a.js";
3
3
  import { i as Kt } from "./f9637058.js";
4
4
  import { o as Zt } from "./92e85b65.js";
5
- import { l as ft } from "./560f788e.js";
6
- import { l as pt } from "./6e6c38ae.js";
5
+ import { l as ft } from "./fba4c8e4.js";
6
+ import { l as pt } from "./2eae45c2.js";
7
7
  import "./2ff2c7a6.js";
8
8
  import "./256b619e.js";
9
9
  function Jt(e, t, i) {
@@ -160,23 +160,23 @@ var nt = function() {
160
160
  }
161
161
  },
162
162
  parse: function(r) {
163
- var l = this, u = [0], g = [], b = [null], a = [], F = this.table, x = "", U = 0, gt = 0, Vt = 2, xt = 1, Bt = a.slice.call(arguments, 1), k = Object.create(this.lexer), B = { yy: {} };
163
+ var l = this, u = [0], g = [], b = [null], a = [], F = this.table, x = "", U = 0, gt = 0, Vt = 2, xt = 1, Wt = a.slice.call(arguments, 1), k = Object.create(this.lexer), W = { yy: {} };
164
164
  for (var J in this.yy)
165
- Object.prototype.hasOwnProperty.call(this.yy, J) && (B.yy[J] = this.yy[J]);
166
- k.setInput(r, B.yy), B.yy.lexer = k, B.yy.parser = this, typeof k.yylloc == "undefined" && (k.yylloc = {});
165
+ Object.prototype.hasOwnProperty.call(this.yy, J) && (W.yy[J] = this.yy[J]);
166
+ k.setInput(r, W.yy), W.yy.lexer = k, W.yy.parser = this, typeof k.yylloc == "undefined" && (k.yylloc = {});
167
167
  var tt = k.yylloc;
168
168
  a.push(tt);
169
- var Wt = k.options && k.options.ranges;
170
- typeof B.yy.parseError == "function" ? this.parseError = B.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
169
+ var Bt = k.options && k.options.ranges;
170
+ typeof W.yy.parseError == "function" ? this.parseError = W.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
171
171
  function Ot() {
172
172
  var I;
173
173
  return I = g.pop() || k.lex() || xt, typeof I != "number" && (I instanceof Array && (g = I, I = g.pop()), I = l.symbols_[I] || I), I;
174
174
  }
175
- for (var D, W, v, it, O = {}, q, M, dt, j; ; ) {
176
- if (W = u[u.length - 1], this.defaultActions[W] ? v = this.defaultActions[W] : ((D === null || typeof D == "undefined") && (D = Ot()), v = F[W] && F[W][D]), typeof v == "undefined" || !v.length || !v[0]) {
175
+ for (var D, B, v, it, O = {}, q, M, dt, j; ; ) {
176
+ if (B = u[u.length - 1], this.defaultActions[B] ? v = this.defaultActions[B] : ((D === null || typeof D == "undefined") && (D = Ot()), v = F[B] && F[B][D]), typeof v == "undefined" || !v.length || !v[0]) {
177
177
  var et = "";
178
178
  j = [];
179
- for (q in F[W])
179
+ for (q in F[B])
180
180
  this.terminals_[q] && q > Vt && j.push("'" + this.terminals_[q] + "'");
181
181
  k.showPosition ? et = "Parse error on line " + (U + 1) + `:
182
182
  ` + k.showPosition() + `
@@ -189,7 +189,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[D] || D) + "'" : et =
189
189
  });
190
190
  }
191
191
  if (v[0] instanceof Array && v.length > 1)
192
- throw new Error("Parse Error: multiple actions possible at state: " + W + ", token: " + D);
192
+ throw new Error("Parse Error: multiple actions possible at state: " + B + ", token: " + D);
193
193
  switch (v[0]) {
194
194
  case 1:
195
195
  u.push(D), b.push(k.yytext), a.push(k.yylloc), u.push(v[1]), D = null, gt = k.yyleng, x = k.yytext, U = k.yylineno, tt = k.yylloc;
@@ -200,18 +200,18 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[D] || D) + "'" : et =
200
200
  last_line: a[a.length - 1].last_line,
201
201
  first_column: a[a.length - (M || 1)].first_column,
202
202
  last_column: a[a.length - 1].last_column
203
- }, Wt && (O._$.range = [
203
+ }, Bt && (O._$.range = [
204
204
  a[a.length - (M || 1)].range[0],
205
205
  a[a.length - 1].range[1]
206
206
  ]), it = this.performAction.apply(O, [
207
207
  x,
208
208
  gt,
209
209
  U,
210
- B.yy,
210
+ W.yy,
211
211
  v[1],
212
212
  b,
213
213
  a
214
- ].concat(Bt)), typeof it != "undefined")
214
+ ].concat(Wt)), typeof it != "undefined")
215
215
  return it;
216
216
  M && (u = u.slice(0, -1 * M * 2), b = b.slice(0, -1 * M), a = a.slice(0, -1 * M)), u.push(this.productions_[v[1]][0]), b.push(O.$), a.push(O._$), dt = F[u[u.length - 2]][u[u.length - 1]], u.push(dt);
217
217
  break;
@@ -1058,7 +1058,7 @@ class li {
1058
1058
  height: c
1059
1059
  }), this.componentStore.plot.setBoundingBoxXY({ x: s, y: n }), this.componentStore.xAxis.setRange([s, s + o]), this.componentStore.xAxis.setBoundingBoxXY({ x: s, y: n + c }), this.componentStore.yAxis.setRange([n, n + c]), this.componentStore.yAxis.setBoundingBoxXY({ x: 0, y: n }), this.chartData.plots.some((d) => mt(d)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1060
1060
  }
1061
- calculateHorizonatalSpace() {
1061
+ calculateHorizontalSpace() {
1062
1062
  let t = this.chartConfig.width, i = this.chartConfig.height, s = 0, n = 0, o = 0, c = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), f = Math.floor(
1063
1063
  i * this.chartConfig.plotReservedSpacePercent / 100
1064
1064
  ), d = this.componentStore.plot.calculateSpace({
@@ -1080,7 +1080,7 @@ class li {
1080
1080
  }), this.componentStore.plot.setBoundingBoxXY({ x: n, y: o }), this.componentStore.yAxis.setRange([n, n + c]), this.componentStore.yAxis.setBoundingBoxXY({ x: n, y: s }), this.componentStore.xAxis.setRange([o, o + f]), this.componentStore.xAxis.setBoundingBoxXY({ x: 0, y: o }), this.chartData.plots.some((R) => mt(R)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1081
1081
  }
1082
1082
  calculateSpace() {
1083
- this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizonatalSpace() : this.calculateVerticalSpace();
1083
+ this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
1084
1084
  }
1085
1085
  getDrawableElement() {
1086
1086
  this.calculateSpace();