lowcoder-comps 0.0.32 → 0.0.34
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/{c289b0aa.js → 00bb478a.js} +49 -49
- package/{4a860f5d.js → 02bef5a4.js} +58 -58
- package/{f8b68c1a.js → 057d2a44.js} +21 -21
- package/{d8c50a91.js → 0964fcc6.js} +5 -5
- package/{cc799554.js → 14220e98.js} +52 -52
- package/{24307cf2.js → 1c074fe4.js} +11 -11
- package/{ee801edf.js → 250a6954.js} +36 -36
- package/{4cc9caa5.js → 2cd27cf0.js} +2 -2
- package/{fcee2d3c.js → 2f064957.js} +5 -5
- package/{4a489df6.js → 30c4916b.js} +1 -1
- package/{e6388bfd.js → 36ec7270.js} +2 -2
- package/{c9bb75eb.js → 38c14832.js} +1 -1
- package/{debd9490.js → 3ae34bed.js} +11 -11
- package/{97059d88.js → 3e2939fa.js} +75 -75
- package/{4564a1bc.js → 3f5f874f.js} +28 -28
- package/{1e5cb9c2.js → 3fb86fb9.js} +18 -18
- package/{fd51bb2f.js → 415177f9.js} +2 -2
- package/{a40faea7.js → 47848c42.js} +317 -305
- package/4c6a0ece.js +162535 -0
- package/{d3700d97.js → 4db8e48b.js} +22 -22
- package/{e06dcfb0.js → 531065f1.js} +14 -14
- package/{6deaf0be.js → 5a398ea8.js} +29 -29
- package/{444e09f1.js → 5ab1614c.js} +18 -18
- package/{64d87c95.js → 65bbb6ae.js} +2 -2
- package/{a969f4ca.js → 777cd15c.js} +2057 -2057
- package/{df803461.js → 7dacfa82.js} +26 -26
- package/{a408f817.js → 800cf0d0.js} +18 -18
- package/{7a3f27e4.js → 93e9bd3a.js} +6 -6
- package/98622dfa.js +16582 -0
- package/{2b031be2.js → a2e74e62.js} +1 -1
- package/{c4d99b09.js → a61c3bd3.js} +1 -1
- package/{dce9fa3f.js → b8f48ff4.js} +4 -4
- package/{7ae6dd1c.js → bd0f5f65.js} +6 -6
- package/{aa82b740.js → bf4428f5.js} +56 -56
- package/{aa1becc7.js → cb1972f7.js} +9 -9
- package/{d622fb26.js → dfc10c94.js} +66 -66
- package/{794e64d5.js → ed2c9753.js} +13 -13
- package/{cb40fdd9.js → ef2833e6.js} +308 -314
- package/{de8c90a7.js → f9e72519.js} +30 -30
- package/{f7c6b13d.js → fe063d15.js} +7498 -7263
- package/index.js +2 -2
- package/package.json +4 -2
- package/98955949.js +0 -134435
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as Qt } from "./
|
|
1
|
+
import { Z as zt, _ as ot, X as wt, W 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 _t, U as qt, k as jt, f as Gt } from "./4c6a0ece.js";
|
|
2
|
+
import { c as Qt } from "./a2e74e62.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 "./3fb86fb9.js";
|
|
6
|
+
import { l as pt } from "./0964fcc6.js";
|
|
7
7
|
import "./2ff2c7a6.js";
|
|
8
8
|
import "./256b619e.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, C = 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, c = o * (1 - d), f && (S = Math.round(S), c = Math.round(c));
|
|
21
|
+
var p = Jt(m).map(function(_) {
|
|
22
|
+
return S + o * _;
|
|
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 ? (C = Math.max(0, Math.min(1, m)), A()) : C;
|
|
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(C);
|
|
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], C = [1, 28], A = [1, 29], m = [1, 30], T = [1, 31], S = [1, 32], P = [1, 33], p = [1, 34], _ = [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: C, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: _, 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: C, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: _, 49: h, 50: L }, { 11: 45, 15: 44, 27: ct, 33: 46, 37: 24, 38: d, 39: R, 40: 27, 41: C, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: _, 49: h, 50: L }, { 11: 49, 17: 48, 24: $, 37: 24, 38: d, 39: R, 40: 27, 41: C, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: _, 49: h, 50: L }, { 11: 52, 17: 51, 24: $, 37: 24, 38: d, 39: R, 40: 27, 41: C, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: _, 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: C, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: _, 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: C, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: _, 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: C, 42: A, 43: m, 44: T, 45: S, 46: P, 47: p, 48: _, 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 Ct(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), _t.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 Ct(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), Ct(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 _i = 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
|
+
}, Ci = {
|
|
1216
1216
|
getDrawableElem: Ai,
|
|
1217
|
-
clear:
|
|
1217
|
+
clear: _i,
|
|
1218
1218
|
setAccTitle: Nt,
|
|
1219
1219
|
getAccTitle: Xt,
|
|
1220
1220
|
setDiagramTitle: Yt,
|
|
@@ -1243,32 +1243,32 @@ const Ci = function() {
|
|
|
1243
1243
|
function R(p) {
|
|
1244
1244
|
return `translate(${p.x}, ${p.y}) rotate(${p.rotation || 0})`;
|
|
1245
1245
|
}
|
|
1246
|
-
|
|
1246
|
+
_t.debug(`Rendering xychart chart
|
|
1247
1247
|
` + e);
|
|
1248
|
-
const
|
|
1249
|
-
jt(
|
|
1248
|
+
const C = qt(t), A = C.append("g").attr("class", "main"), m = A.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
|
|
1249
|
+
jt(C, c.height, c.width, !0), C.attr("viewBox", `0 0 ${c.width} ${c.height}`), m.attr("fill", o.backgroundColor), n.setTmpSVGG(C.append("g").attr("class", "mermaid-tmp-group"));
|
|
1250
1250
|
const T = n.getDrawableElem(), S = {};
|
|
1251
1251
|
function P(p) {
|
|
1252
|
-
let
|
|
1252
|
+
let _ = 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], _ = S[h], _ || (_ = S[h] = z.append("g").attr("class", p[L]));
|
|
1256
1256
|
}
|
|
1257
|
-
return
|
|
1257
|
+
return _;
|
|
1258
1258
|
}
|
|
1259
1259
|
for (const p of T) {
|
|
1260
1260
|
if (p.data.length === 0)
|
|
1261
1261
|
continue;
|
|
1262
|
-
const
|
|
1262
|
+
const _ = P(p.groupTexts);
|
|
1263
1263
|
switch (p.type) {
|
|
1264
1264
|
case "rect":
|
|
1265
|
-
|
|
1265
|
+
_.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
|
+
_.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
|
+
_.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 Ci = function() {
|
|
|
1276
1276
|
draw: ki
|
|
1277
1277
|
}, Vi = {
|
|
1278
1278
|
parser: ti,
|
|
1279
|
-
db:
|
|
1279
|
+
db: Ci,
|
|
1280
1280
|
renderer: Ri
|
|
1281
1281
|
};
|
|
1282
1282
|
export {
|