lowcoder-comps 2.7.1 → 2.7.3
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.
- package/{20043e57.js → 06bfc8fd.js} +2 -2
- package/{2ab6c3e7.js → 0bc1e750.js} +103 -103
- package/{3d5c53a9.js → 16017dca.js} +1 -1
- package/{75ca0804.js → 188d0a7b.js} +1 -1
- package/194933bf.js +21942 -0
- package/{6f672a37.js → 1d548e39.js} +30 -30
- package/{ae063085.js → 1e6f66fd.js} +4 -4
- package/{9ab17d2b.js → 250dc9f4.js} +11 -11
- package/2bab86ad.js +2318 -0
- package/{3320cebb.js → 38362e7c.js} +1 -1
- package/{b79eb0a0.js → 455488fd.js} +2 -2
- package/{a423d8a4.js → 456027f3.js} +10 -10
- package/{145bbbf8.js → 4626b6f8.js} +1 -1
- package/{368623d4.js → 46b8527c.js} +3 -3
- package/{1355af90.js → 50383021.js} +1 -1
- package/{e686efca.js → 514e4c08.js} +1 -1
- package/{572dbe1a.js → 5e5d535b.js} +6 -2
- package/{d8eb5780.js → 78f1ff0d.js} +9 -9
- package/{4fca0408.js → 816637dc.js} +83239 -86684
- package/{a2092753.js → 822253e7.js} +2 -2
- package/{14aee76a.js → 87065cc7.js} +1 -1
- package/{144f954a.js → 91e84a61.js} +1 -1
- package/{668e2d53.js → 9a7ae50a.js} +4 -4
- package/{3c051c62.js → 9dbba476.js} +5 -5
- package/{4b4585a7.js → a23f123d.js} +5 -5
- package/{5ed067d2.js → ac024963.js} +1 -1
- package/{903f681c.js → ba8c6a16.js} +29 -29
- package/{7519dcf3.js → c5be1d77.js} +9 -9
- package/{819e4d36.js → cbf03099.js} +2 -2
- package/{7800e924.js → d29b1617.js} +4 -4
- package/{7f1c17ab.js → d4b2d80a.js} +2 -2
- package/{9dfda495.js → d5dbb80b.js} +6 -6
- package/{b08a1a87.js → d708b9ba.js} +5 -5
- package/{e5b014a9.js → e8a70b0f.js} +932 -868
- package/{5906ae5d.js → e9f334a4.js} +22 -22
- package/{9b21f3b2.js → f06f653d.js} +1 -1
- package/{47fc5096.js → fb7b2a8c.js} +1 -1
- package/{79a34448.js → ff57e9e3.js} +3 -3
- package/ffd1bcb0.js +86 -0
- package/{bb21178e.js → fff3acf7.js} +11 -11
- package/index.js +3 -3
- package/package.json +1 -1
- package/1bdddbe6.js +0 -2501
- package/54155789.js +0 -19321
- package/5ef4a192.js +0 -86
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as Qt } from "./
|
|
1
|
+
import { $ as zt, a0 as ot, Z as wt, Y as Ft, s as Nt, a as Xt, F as Yt, G as St, b as Ht, d as $t, H as Ut, l as Ct, W as qt, k as jt, f as Gt } from "./816637dc.js";
|
|
2
|
+
import { c as Qt } from "./5e5d535b.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 "./
|
|
6
|
-
import { l as pt } from "./
|
|
5
|
+
import { l as ft } from "./f06f653d.js";
|
|
6
|
+
import { l as pt } from "./91e84a61.js";
|
|
7
7
|
import "./2ff2c7a6.js";
|
|
8
8
|
import "./428ebac9.js";
|
|
9
9
|
function Jt(e, t, i) {
|
|
@@ -13,13 +13,13 @@ function Jt(e, t, i) {
|
|
|
13
13
|
return o;
|
|
14
14
|
}
|
|
15
15
|
function st() {
|
|
16
|
-
var e = Zt().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, o, c, f = !1, d = 0, R = 0,
|
|
16
|
+
var e = Zt().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, o, c, f = !1, d = 0, R = 0, _ = 0.5;
|
|
17
17
|
delete e.unknown;
|
|
18
18
|
function A() {
|
|
19
19
|
var m = t().length, T = n < s, S = T ? n : s, P = T ? s : n;
|
|
20
|
-
o = (P - S) / Math.max(1, m - d + R * 2), f && (o = Math.floor(o)), S += (P - S - o * (m - d)) *
|
|
21
|
-
var p = Jt(m).map(function(
|
|
22
|
-
return S + o *
|
|
20
|
+
o = (P - S) / Math.max(1, m - d + R * 2), f && (o = Math.floor(o)), S += (P - S - o * (m - d)) * _, c = o * (1 - d), f && (S = Math.round(S), c = Math.round(c));
|
|
21
|
+
var p = Jt(m).map(function(C) {
|
|
22
|
+
return S + o * C;
|
|
23
23
|
});
|
|
24
24
|
return i(T ? p.reverse() : p);
|
|
25
25
|
}
|
|
@@ -42,9 +42,9 @@ function st() {
|
|
|
42
42
|
}, e.paddingOuter = function(m) {
|
|
43
43
|
return arguments.length ? (R = +m, A()) : R;
|
|
44
44
|
}, e.align = function(m) {
|
|
45
|
-
return arguments.length ? (
|
|
45
|
+
return arguments.length ? (_ = Math.max(0, Math.min(1, m)), A()) : _;
|
|
46
46
|
}, e.copy = function() {
|
|
47
|
-
return st(t(), [s, n]).round(f).paddingInner(d).paddingOuter(R).align(
|
|
47
|
+
return st(t(), [s, n]).round(f).paddingInner(d).paddingOuter(R).align(_);
|
|
48
48
|
}, Kt.apply(A(), arguments);
|
|
49
49
|
}
|
|
50
50
|
var nt = function() {
|
|
@@ -52,7 +52,7 @@ var nt = function() {
|
|
|
52
52
|
for (l = l || {}, u = V.length; u--; l[V[u]] = r)
|
|
53
53
|
;
|
|
54
54
|
return l;
|
|
55
|
-
}, t = [1, 10, 12, 14, 16, 18, 19, 21, 23], i = [2, 6], s = [1, 3], n = [1, 5], o = [1, 6], c = [1, 7], f = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], d = [1, 25], R = [1, 26],
|
|
55
|
+
}, t = [1, 10, 12, 14, 16, 18, 19, 21, 23], i = [2, 6], s = [1, 3], n = [1, 5], o = [1, 6], c = [1, 7], f = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], d = [1, 25], R = [1, 26], _ = [1, 28], A = [1, 29], m = [1, 30], T = [1, 31], S = [1, 32], P = [1, 33], p = [1, 34], C = [1, 35], h = [1, 36], L = [1, 37], z = [1, 43], lt = [1, 42], ct = [1, 47], $ = [1, 50], w = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], Q = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], E = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], ut = [1, 64], K = {
|
|
56
56
|
trace: function() {
|
|
57
57
|
},
|
|
58
58
|
yy: {},
|
|
@@ -149,7 +149,7 @@ var nt = function() {
|
|
|
149
149
|
break;
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
|
-
table: [e(t, i, { 3: 1, 4: 2, 7: 4, 5: s, 34: n, 35: o, 36: c }), { 1: [3] }, e(t, i, { 4: 2, 7: 4, 3: 8, 5: s, 34: n, 35: o, 36: c }), e(t, i, { 4: 2, 7: 4, 6: 9, 3: 10, 5: s, 8: [1, 11], 34: n, 35: o, 36: c }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, e(f, [2, 34]), e(f, [2, 35]), e(f, [2, 36]), { 1: [2, 1] }, e(t, i, { 4: 2, 7: 4, 3: 21, 5: s, 34: n, 35: o, 36: c }), { 1: [2, 3] }, e(f, [2, 5]), e(t, [2, 7], { 4: 22, 34: n, 35: o, 36: c }), { 11: 23, 37: 24, 38: d, 39: R, 40: 27, 41:
|
|
152
|
+
table: [e(t, i, { 3: 1, 4: 2, 7: 4, 5: s, 34: n, 35: o, 36: c }), { 1: [3] }, e(t, i, { 4: 2, 7: 4, 3: 8, 5: s, 34: n, 35: o, 36: c }), e(t, i, { 4: 2, 7: 4, 6: 9, 3: 10, 5: s, 8: [1, 11], 34: n, 35: o, 36: c }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, e(f, [2, 34]), e(f, [2, 35]), e(f, [2, 36]), { 1: [2, 1] }, e(t, i, { 4: 2, 7: 4, 3: 21, 5: s, 34: n, 35: o, 36: c }), { 1: [2, 3] }, e(f, [2, 5]), e(t, [2, 7], { 4: 22, 34: n, 35: o, 36: c }), { 11: 23, 37: 24, 38: d, 39: R, 40: 27, 41: _, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: C, 49: h, 50: L }, { 11: 39, 13: 38, 24: z, 27: lt, 29: 40, 30: 41, 37: 24, 38: d, 39: R, 40: 27, 41: _, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: C, 49: h, 50: L }, { 11: 45, 15: 44, 27: ct, 33: 46, 37: 24, 38: d, 39: R, 40: 27, 41: _, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: C, 49: h, 50: L }, { 11: 49, 17: 48, 24: $, 37: 24, 38: d, 39: R, 40: 27, 41: _, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: C, 49: h, 50: L }, { 11: 52, 17: 51, 24: $, 37: 24, 38: d, 39: R, 40: 27, 41: _, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: C, 49: h, 50: L }, { 20: [1, 53] }, { 22: [1, 54] }, e(w, [2, 18]), { 1: [2, 2] }, e(w, [2, 8]), e(w, [2, 9]), e(Q, [2, 37], { 40: 55, 41: _, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: C, 49: h, 50: L }), e(Q, [2, 38]), e(Q, [2, 39]), e(E, [2, 40]), e(E, [2, 42]), e(E, [2, 43]), e(E, [2, 44]), e(E, [2, 45]), e(E, [2, 46]), e(E, [2, 47]), e(E, [2, 48]), e(E, [2, 49]), e(E, [2, 50]), e(E, [2, 51]), e(w, [2, 10]), e(w, [2, 22], { 30: 41, 29: 56, 24: z, 27: lt }), e(w, [2, 24]), e(w, [2, 25]), { 31: [1, 57] }, { 11: 59, 32: 58, 37: 24, 38: d, 39: R, 40: 27, 41: _, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: C, 49: h, 50: L }, e(w, [2, 11]), e(w, [2, 30], { 33: 60, 27: ct }), e(w, [2, 32]), { 31: [1, 61] }, e(w, [2, 12]), { 17: 62, 24: $ }, { 25: 63, 27: ut }, e(w, [2, 14]), { 17: 65, 24: $ }, e(w, [2, 16]), e(w, [2, 17]), e(E, [2, 41]), e(w, [2, 23]), { 27: [1, 66] }, { 26: [1, 67] }, { 26: [2, 29], 28: [1, 68] }, e(w, [2, 31]), { 27: [1, 69] }, e(w, [2, 13]), { 26: [1, 70] }, { 26: [2, 21], 28: [1, 71] }, e(w, [2, 15]), e(w, [2, 26]), e(w, [2, 27]), { 11: 59, 32: 72, 37: 24, 38: d, 39: R, 40: 27, 41: _, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: C, 49: h, 50: L }, e(w, [2, 33]), e(w, [2, 19]), { 25: 73, 27: ut }, { 26: [2, 28] }, { 26: [2, 20] }],
|
|
153
153
|
defaultActions: { 8: [2, 1], 10: [2, 3], 21: [2, 2], 72: [2, 28], 73: [2, 20] },
|
|
154
154
|
parseError: function(r, l) {
|
|
155
155
|
if (l.recoverable)
|
|
@@ -508,7 +508,7 @@ const ti = nt;
|
|
|
508
508
|
function mt(e) {
|
|
509
509
|
return e.type === "bar";
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function _t(e) {
|
|
512
512
|
return e.type === "band";
|
|
513
513
|
}
|
|
514
514
|
function N(e) {
|
|
@@ -798,7 +798,7 @@ class ii extends Rt {
|
|
|
798
798
|
super.setRange(t);
|
|
799
799
|
}
|
|
800
800
|
recalculateScale() {
|
|
801
|
-
this.scale = st().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5),
|
|
801
|
+
this.scale = st().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5), Ct.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
|
|
802
802
|
}
|
|
803
803
|
getTickValues() {
|
|
804
804
|
return this.categories;
|
|
@@ -824,7 +824,7 @@ class ei extends Rt {
|
|
|
824
824
|
}
|
|
825
825
|
function At(e, t, i, s) {
|
|
826
826
|
const n = new kt(s);
|
|
827
|
-
return
|
|
827
|
+
return _t(e) ? new ii(
|
|
828
828
|
t,
|
|
829
829
|
i,
|
|
830
830
|
e.categories,
|
|
@@ -1171,7 +1171,7 @@ function vt(e) {
|
|
|
1171
1171
|
const i = N(y.xAxis) ? y.xAxis.min : 1 / 0, s = N(y.xAxis) ? y.xAxis.max : -1 / 0;
|
|
1172
1172
|
Et(Math.min(i, 1), Math.max(s, e.length));
|
|
1173
1173
|
}
|
|
1174
|
-
if (rt || mi(e),
|
|
1174
|
+
if (rt || mi(e), _t(y.xAxis) && (t = y.xAxis.categories.map((i, s) => [i, e[s]])), N(y.xAxis)) {
|
|
1175
1175
|
const i = y.xAxis.min, s = y.xAxis.max, n = (s - i + 1) / e.length, o = [];
|
|
1176
1176
|
for (let c = i; c <= s; c += n)
|
|
1177
1177
|
o.push(`${c}`);
|
|
@@ -1210,11 +1210,11 @@ function wi() {
|
|
|
1210
1210
|
function Si() {
|
|
1211
1211
|
return Y;
|
|
1212
1212
|
}
|
|
1213
|
-
const
|
|
1213
|
+
const Ci = function() {
|
|
1214
1214
|
Ut(), X = 0, Y = Pt(), y = Lt(), H = Dt(), at = H.plotColorPalette.split(",").map((e) => e.trim()), G = !1, rt = !1;
|
|
1215
|
-
},
|
|
1215
|
+
}, _i = {
|
|
1216
1216
|
getDrawableElem: Ai,
|
|
1217
|
-
clear:
|
|
1217
|
+
clear: Ci,
|
|
1218
1218
|
setAccTitle: Nt,
|
|
1219
1219
|
getAccTitle: Xt,
|
|
1220
1220
|
setDiagramTitle: Yt,
|
|
@@ -1243,32 +1243,32 @@ const _i = function() {
|
|
|
1243
1243
|
function R(p) {
|
|
1244
1244
|
return `translate(${p.x}, ${p.y}) rotate(${p.rotation || 0})`;
|
|
1245
1245
|
}
|
|
1246
|
-
|
|
1246
|
+
Ct.debug(`Rendering xychart chart
|
|
1247
1247
|
` + e);
|
|
1248
|
-
const
|
|
1249
|
-
jt(
|
|
1248
|
+
const _ = qt(t), A = _.append("g").attr("class", "main"), m = A.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
|
|
1249
|
+
jt(_, c.height, c.width, !0), _.attr("viewBox", `0 0 ${c.width} ${c.height}`), m.attr("fill", o.backgroundColor), n.setTmpSVGG(_.append("g").attr("class", "mermaid-tmp-group"));
|
|
1250
1250
|
const T = n.getDrawableElem(), S = {};
|
|
1251
1251
|
function P(p) {
|
|
1252
|
-
let
|
|
1252
|
+
let C = A, h = "";
|
|
1253
1253
|
for (const [L] of p.entries()) {
|
|
1254
1254
|
let z = A;
|
|
1255
|
-
L > 0 && S[h] && (z = S[h]), h += p[L],
|
|
1255
|
+
L > 0 && S[h] && (z = S[h]), h += p[L], C = S[h], C || (C = S[h] = z.append("g").attr("class", p[L]));
|
|
1256
1256
|
}
|
|
1257
|
-
return
|
|
1257
|
+
return C;
|
|
1258
1258
|
}
|
|
1259
1259
|
for (const p of T) {
|
|
1260
1260
|
if (p.data.length === 0)
|
|
1261
1261
|
continue;
|
|
1262
|
-
const
|
|
1262
|
+
const C = P(p.groupTexts);
|
|
1263
1263
|
switch (p.type) {
|
|
1264
1264
|
case "rect":
|
|
1265
|
-
|
|
1265
|
+
C.selectAll("rect").data(p.data).enter().append("rect").attr("x", (h) => h.x).attr("y", (h) => h.y).attr("width", (h) => h.width).attr("height", (h) => h.height).attr("fill", (h) => h.fill).attr("stroke", (h) => h.strokeFill).attr("stroke-width", (h) => h.strokeWidth);
|
|
1266
1266
|
break;
|
|
1267
1267
|
case "text":
|
|
1268
|
-
|
|
1268
|
+
C.selectAll("text").data(p.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (h) => h.fill).attr("font-size", (h) => h.fontSize).attr("dominant-baseline", (h) => f(h.verticalPos)).attr("text-anchor", (h) => d(h.horizontalPos)).attr("transform", (h) => R(h)).text((h) => h.text);
|
|
1269
1269
|
break;
|
|
1270
1270
|
case "path":
|
|
1271
|
-
|
|
1271
|
+
C.selectAll("path").data(p.data).enter().append("path").attr("d", (h) => h.path).attr("fill", (h) => h.fill ? h.fill : "none").attr("stroke", (h) => h.strokeFill).attr("stroke-width", (h) => h.strokeWidth);
|
|
1272
1272
|
break;
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
@@ -1276,7 +1276,7 @@ const _i = function() {
|
|
|
1276
1276
|
draw: ki
|
|
1277
1277
|
}, Vi = {
|
|
1278
1278
|
parser: ti,
|
|
1279
|
-
db:
|
|
1279
|
+
db: _i,
|
|
1280
1280
|
renderer: Ri
|
|
1281
1281
|
};
|
|
1282
1282
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
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 "./
|
|
2
|
-
import { G as Mt } from "./
|
|
3
|
-
import { l as It } from "./
|
|
4
|
-
import { l as wt } from "./
|
|
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 "./816637dc.js";
|
|
2
|
+
import { G as Mt } from "./e9f334a4.js";
|
|
3
|
+
import { l as It } from "./06bfc8fd.js";
|
|
4
|
+
import { l as wt } from "./91e84a61.js";
|
|
5
5
|
import "./2ff2c7a6.js";
|
|
6
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;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as Lt, f as V } from "./
|
|
2
|
-
import { h as S, f as tt, G as _t } from "./
|
|
3
|
-
import { j as x, p as U, q as Y, r as et, e as G, t as rt, m as at, l as R, u as z, v as Et } from "./
|
|
4
|
-
import { u as Tt, r as Nt, p as At, l as Ct, d as M } from "./
|
|
5
|
-
import { a as N, b as nt, i as st, c as E, e as it, d as ot, f as It, g as Bt, s as Mt } from "./
|
|
6
|
-
import { l as Dt } from "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
1
|
+
import { p as Lt, f as V } from "./38362e7c.js";
|
|
2
|
+
import { h as S, f as tt, G as _t } from "./e9f334a4.js";
|
|
3
|
+
import { j as x, p as U, q as Y, r as et, e as G, t as rt, m as at, l as R, u as z, v as Et } from "./816637dc.js";
|
|
4
|
+
import { u as Tt, r as Nt, p as At, l as Ct, d as M } from "./06bfc8fd.js";
|
|
5
|
+
import { a as N, b as nt, i as st, c as E, e as it, d as ot, f as It, g as Bt, s as Mt } from "./d29b1617.js";
|
|
6
|
+
import { l as Dt } from "./91e84a61.js";
|
|
7
|
+
import "./d5dbb80b.js";
|
|
8
|
+
import "./87065cc7.js";
|
|
9
|
+
import "./46b8527c.js";
|
|
10
|
+
import "./5e5d535b.js";
|
|
11
|
+
import "./188d0a7b.js";
|
|
12
12
|
import "./2ff2c7a6.js";
|
|
13
13
|
import "./428ebac9.js";
|
|
14
14
|
function Rt(r) {
|