lowcoder-comps 0.0.20 → 0.0.22
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/029c585a.js +825 -0
- package/0f49842f.js +915 -0
- package/14c95def.js +2396 -0
- package/{5a7c40d7.js → 14de54b2.js} +7120 -6939
- package/17b0984b.js +1116 -0
- package/{a1f987b7.js → 1a4b39ab.js} +29 -30
- package/1e35aee7.js +932 -0
- package/{804e952b.js → 1f97d569.js} +73 -76
- package/3120eee5.js +1235 -0
- package/313e94fb.js +796 -0
- package/{384b70d4.js → 41a4677f.js} +10 -12
- package/{e1466a22.js → 48a69d01.js} +89 -97
- package/4a8006fe.js +2501 -0
- package/{a06ced05.js → 585231df.js} +64 -71
- package/5e96f5d8.js +64 -0
- package/5f9be850.js +1055 -0
- package/{3196b84f.js → 6e0c66a6.js} +97 -109
- package/76d315c1.js +2192 -0
- package/{31c6e136.js → 867cdd47.js} +1 -1
- package/{0d5d7030.js → 8a65542f.js} +58 -64
- package/913e1a65.js +804 -0
- package/92e85b65.js +65 -0
- package/97298a99.js +2966 -0
- package/{5fd0f607.js → a396e61e.js} +44 -44
- package/a6d42292.js +1284 -0
- package/afd2e4d5.js +86 -0
- package/be5f3226.js +768 -0
- package/{4791bdd6.js → bf75928a.js} +30142 -30663
- package/{011ccb4a.js → bfd01456.js} +4257 -4221
- package/c239ec69.js +1000 -0
- package/e731f493.js +502 -0
- package/ef3524ce.js +960 -0
- package/f5b4a4bc.js +365 -0
- package/{8d714103.js → fa29410e.js} +598 -622
- package/fbc7bdd4.js +218 -0
- package/index.js +2 -2
- package/package.json +2 -2
- package/01102044.js +0 -940
- package/0e8dfd52.js +0 -793
- package/0f25771b.js +0 -1118
- package/2470e1d8.js +0 -91
- package/32432dc3.js +0 -86
- package/36552e14.js +0 -849
- package/3ad35722.js +0 -365
- package/3f4db197.js +0 -943
- package/71827e37.js +0 -1032
- package/7a200c6a.js +0 -607
- package/872f2918.js +0 -7
- package/93b98f3e.js +0 -832
- package/a42a2ba9.js +0 -2103
- package/af0489f3.js +0 -2456
- package/b56f953d.js +0 -985
- package/b89c6a6a.js +0 -159
- package/bc7030d3.js +0 -70
- package/c739ba3e.js +0 -2679
- package/d306d59c.js +0 -2827
- package/d8adcd1e.js +0 -823
- package/ef845d7f.js +0 -1246
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { l as
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
for (e = e || {}, n =
|
|
1
|
+
import { l as Y, T as D, i as M } from "./bf75928a.js";
|
|
2
|
+
var O = function() {
|
|
3
|
+
var a = function(u, t, e, n) {
|
|
4
|
+
for (e = e || {}, n = u.length; n--; e[u[n]] = t)
|
|
5
5
|
;
|
|
6
6
|
return e;
|
|
7
|
-
}, f = [6, 9, 10],
|
|
7
|
+
}, f = [6, 9, 10], m = {
|
|
8
8
|
trace: function() {
|
|
9
9
|
},
|
|
10
10
|
yy: {},
|
|
11
11
|
symbols_: { error: 2, start: 3, info: 4, document: 5, EOF: 6, line: 7, statement: 8, NL: 9, showInfo: 10, $accept: 0, $end: 1 },
|
|
12
12
|
terminals_: { 2: "error", 4: "info", 6: "EOF", 9: "NL", 10: "showInfo" },
|
|
13
13
|
productions_: [0, [3, 3], [5, 0], [5, 2], [7, 1], [7, 1], [8, 1]],
|
|
14
|
-
performAction: function(t, e, n, s, r, i,
|
|
14
|
+
performAction: function(t, e, n, s, r, i, d) {
|
|
15
15
|
switch (i.length - 1, r) {
|
|
16
16
|
case 1:
|
|
17
17
|
return s;
|
|
@@ -22,7 +22,7 @@ var $ = function() {
|
|
|
22
22
|
break;
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] },
|
|
25
|
+
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, a(f, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: 6, 9: [1, 7], 10: [1, 8] }, { 1: [2, 1] }, a(f, [2, 3]), a(f, [2, 4]), a(f, [2, 5]), a(f, [2, 6])],
|
|
26
26
|
defaultActions: { 4: [2, 1] },
|
|
27
27
|
parseError: function(t, e) {
|
|
28
28
|
if (e.recoverable)
|
|
@@ -33,60 +33,60 @@ var $ = function() {
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
parse: function(t) {
|
|
36
|
-
var e = this, n = [0], s = [], r = [null], i = [],
|
|
36
|
+
var e = this, n = [0], s = [], r = [null], i = [], d = this.table, P = "", v = 0, T = 0, N = 2, L = 1, R = i.slice.call(arguments, 1), o = Object.create(this.lexer), p = { yy: {} };
|
|
37
37
|
for (var E in this.yy)
|
|
38
|
-
Object.prototype.hasOwnProperty.call(this.yy, E) && (
|
|
39
|
-
o.setInput(t,
|
|
40
|
-
var
|
|
41
|
-
i.push(
|
|
42
|
-
var
|
|
43
|
-
typeof
|
|
44
|
-
function
|
|
45
|
-
var
|
|
46
|
-
return
|
|
38
|
+
Object.prototype.hasOwnProperty.call(this.yy, E) && (p.yy[E] = this.yy[E]);
|
|
39
|
+
o.setInput(t, p.yy), p.yy.lexer = o, p.yy.parser = this, typeof o.yylloc == "undefined" && (o.yylloc = {});
|
|
40
|
+
var I = o.yylloc;
|
|
41
|
+
i.push(I);
|
|
42
|
+
var z = o.options && o.options.ranges;
|
|
43
|
+
typeof p.yy.parseError == "function" ? this.parseError = p.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
44
|
+
function U() {
|
|
45
|
+
var y;
|
|
46
|
+
return y = s.pop() || o.lex() || L, typeof y != "number" && (y instanceof Array && (s = y, y = s.pop()), y = e.symbols_[y] || y), y;
|
|
47
47
|
}
|
|
48
|
-
for (var l,
|
|
49
|
-
if (
|
|
48
|
+
for (var l, g, h, w, _ = {}, b, c, F, S; ; ) {
|
|
49
|
+
if (g = n[n.length - 1], this.defaultActions[g] ? h = this.defaultActions[g] : ((l === null || typeof l == "undefined") && (l = U()), h = d[g] && d[g][l]), typeof h == "undefined" || !h.length || !h[0]) {
|
|
50
50
|
var A = "";
|
|
51
51
|
S = [];
|
|
52
|
-
for (
|
|
53
|
-
this.terminals_[
|
|
54
|
-
o.showPosition ? A = "Parse error on line " + (
|
|
52
|
+
for (b in d[g])
|
|
53
|
+
this.terminals_[b] && b > N && S.push("'" + this.terminals_[b] + "'");
|
|
54
|
+
o.showPosition ? A = "Parse error on line " + (v + 1) + `:
|
|
55
55
|
` + o.showPosition() + `
|
|
56
|
-
Expecting ` + S.join(", ") + ", got '" + (this.terminals_[l] || l) + "'" : A = "Parse error on line " + (
|
|
56
|
+
Expecting ` + S.join(", ") + ", got '" + (this.terminals_[l] || l) + "'" : A = "Parse error on line " + (v + 1) + ": Unexpected " + (l == L ? "end of input" : "'" + (this.terminals_[l] || l) + "'"), this.parseError(A, {
|
|
57
57
|
text: o.match,
|
|
58
58
|
token: this.terminals_[l] || l,
|
|
59
59
|
line: o.yylineno,
|
|
60
|
-
loc:
|
|
60
|
+
loc: I,
|
|
61
61
|
expected: S
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
if (
|
|
65
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
66
|
-
switch (
|
|
64
|
+
if (h[0] instanceof Array && h.length > 1)
|
|
65
|
+
throw new Error("Parse Error: multiple actions possible at state: " + g + ", token: " + l);
|
|
66
|
+
switch (h[0]) {
|
|
67
67
|
case 1:
|
|
68
|
-
n.push(l), r.push(o.yytext), i.push(o.yylloc), n.push(
|
|
68
|
+
n.push(l), r.push(o.yytext), i.push(o.yylloc), n.push(h[1]), l = null, T = o.yyleng, P = o.yytext, v = o.yylineno, I = o.yylloc;
|
|
69
69
|
break;
|
|
70
70
|
case 2:
|
|
71
|
-
if (
|
|
72
|
-
first_line: i[i.length - (
|
|
71
|
+
if (c = this.productions_[h[1]][1], _.$ = r[r.length - c], _._$ = {
|
|
72
|
+
first_line: i[i.length - (c || 1)].first_line,
|
|
73
73
|
last_line: i[i.length - 1].last_line,
|
|
74
|
-
first_column: i[i.length - (
|
|
74
|
+
first_column: i[i.length - (c || 1)].first_column,
|
|
75
75
|
last_column: i[i.length - 1].last_column
|
|
76
|
-
},
|
|
77
|
-
i[i.length - (
|
|
76
|
+
}, z && (_._$.range = [
|
|
77
|
+
i[i.length - (c || 1)].range[0],
|
|
78
78
|
i[i.length - 1].range[1]
|
|
79
|
-
]),
|
|
80
|
-
|
|
79
|
+
]), w = this.performAction.apply(_, [
|
|
80
|
+
P,
|
|
81
81
|
T,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
v,
|
|
83
|
+
p.yy,
|
|
84
|
+
h[1],
|
|
85
85
|
r,
|
|
86
86
|
i
|
|
87
|
-
].concat(
|
|
88
|
-
return
|
|
89
|
-
|
|
87
|
+
].concat(R)), typeof w != "undefined")
|
|
88
|
+
return w;
|
|
89
|
+
c && (n = n.slice(0, -1 * c * 2), r = r.slice(0, -1 * c), i = i.slice(0, -1 * c)), n.push(this.productions_[h[1]][0]), r.push(_.$), i.push(_._$), F = d[n[n.length - 2]][n[n.length - 1]], n.push(F);
|
|
90
90
|
break;
|
|
91
91
|
case 3:
|
|
92
92
|
return !0;
|
|
@@ -94,8 +94,8 @@ Expecting ` + S.join(", ") + ", got '" + (this.terminals_[l] || l) + "'" : A = "
|
|
|
94
94
|
}
|
|
95
95
|
return !0;
|
|
96
96
|
}
|
|
97
|
-
},
|
|
98
|
-
var
|
|
97
|
+
}, k = function() {
|
|
98
|
+
var u = {
|
|
99
99
|
EOF: 1,
|
|
100
100
|
parseError: function(e, n) {
|
|
101
101
|
if (this.yy.parser)
|
|
@@ -283,42 +283,35 @@ Expecting ` + S.join(", ") + ", got '" + (this.terminals_[l] || l) + "'" : A = "
|
|
|
283
283
|
rules: [/^(?:info\b)/i, /^(?:[\s\n\r]+)/i, /^(?:[\s]+)/i, /^(?:showInfo\b)/i, /^(?:$)/i, /^(?:.)/i],
|
|
284
284
|
conditions: { INITIAL: { rules: [0, 1, 2, 3, 4, 5], inclusive: !0 } }
|
|
285
285
|
};
|
|
286
|
-
return
|
|
286
|
+
return u;
|
|
287
287
|
}();
|
|
288
|
-
|
|
289
|
-
function
|
|
288
|
+
m.lexer = k;
|
|
289
|
+
function x() {
|
|
290
290
|
this.yy = {};
|
|
291
291
|
}
|
|
292
|
-
return
|
|
292
|
+
return x.prototype = m, m.Parser = x, new x();
|
|
293
293
|
}();
|
|
294
|
-
|
|
295
|
-
const B =
|
|
294
|
+
O.parser = O;
|
|
295
|
+
const B = O, j = {
|
|
296
296
|
info: !1
|
|
297
297
|
};
|
|
298
|
-
let
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
-
},
|
|
302
|
-
|
|
303
|
-
},
|
|
304
|
-
clear:
|
|
305
|
-
setInfo:
|
|
306
|
-
getInfo:
|
|
307
|
-
}, G = (
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
let p, h;
|
|
313
|
-
x === "sandbox" && (p = O("#i" + f), h = p.nodes()[0].contentDocument);
|
|
314
|
-
const e = (p !== void 0 && h !== void 0 && h !== null ? O(h) : O("body")).select("#" + f);
|
|
315
|
-
e.attr("height", 100), e.attr("width", 400), e.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", "32px").style("text-anchor", "middle").text("v " + d);
|
|
316
|
-
} catch (x) {
|
|
317
|
-
N.error("error while rendering info diagram", x);
|
|
318
|
-
}
|
|
298
|
+
let $ = j.info;
|
|
299
|
+
const V = (a) => {
|
|
300
|
+
$ = a;
|
|
301
|
+
}, X = () => $, q = () => {
|
|
302
|
+
$ = j.info;
|
|
303
|
+
}, C = {
|
|
304
|
+
clear: q,
|
|
305
|
+
setInfo: V,
|
|
306
|
+
getInfo: X
|
|
307
|
+
}, G = (a, f, m) => {
|
|
308
|
+
Y.debug(`rendering info diagram
|
|
309
|
+
` + a);
|
|
310
|
+
const k = D(f);
|
|
311
|
+
M(k, 100, 400, !0), k.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${m}`);
|
|
319
312
|
}, H = { draw: G }, K = {
|
|
320
313
|
parser: B,
|
|
321
|
-
db:
|
|
314
|
+
db: C,
|
|
322
315
|
renderer: H
|
|
323
316
|
};
|
|
324
317
|
export {
|
package/5e96f5d8.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { aO as o, m as i } from "./bf75928a.js";
|
|
2
|
+
const c = (s, t) => {
|
|
3
|
+
const r = s.append("rect");
|
|
4
|
+
if (r.attr("x", t.x), r.attr("y", t.y), r.attr("fill", t.fill), r.attr("stroke", t.stroke), r.attr("width", t.width), r.attr("height", t.height), t.rx !== void 0 && r.attr("rx", t.rx), t.ry !== void 0 && r.attr("ry", t.ry), t.attrs !== void 0)
|
|
5
|
+
for (const e in t.attrs)
|
|
6
|
+
r.attr(e, t.attrs[e]);
|
|
7
|
+
return t.class !== void 0 && r.attr("class", t.class), r;
|
|
8
|
+
}, x = (s, t) => {
|
|
9
|
+
const r = {
|
|
10
|
+
x: t.startx,
|
|
11
|
+
y: t.starty,
|
|
12
|
+
width: t.stopx - t.startx,
|
|
13
|
+
height: t.stopy - t.starty,
|
|
14
|
+
fill: t.fill,
|
|
15
|
+
stroke: t.stroke,
|
|
16
|
+
class: "rect"
|
|
17
|
+
};
|
|
18
|
+
c(s, r).lower();
|
|
19
|
+
}, d = (s, t) => {
|
|
20
|
+
const r = t.text.replace(o, " "), e = s.append("text");
|
|
21
|
+
e.attr("x", t.x), e.attr("y", t.y), e.attr("class", "legend"), e.style("text-anchor", t.anchor), t.class !== void 0 && e.attr("class", t.class);
|
|
22
|
+
const n = e.append("tspan");
|
|
23
|
+
return n.attr("x", t.x + t.textMargin * 2), n.text(r), e;
|
|
24
|
+
}, h = (s, t, r, e) => {
|
|
25
|
+
const n = s.append("image");
|
|
26
|
+
n.attr("x", t), n.attr("y", r);
|
|
27
|
+
const a = i.sanitizeUrl(e);
|
|
28
|
+
n.attr("xlink:href", a);
|
|
29
|
+
}, y = (s, t, r, e) => {
|
|
30
|
+
const n = s.append("use");
|
|
31
|
+
n.attr("x", t), n.attr("y", r);
|
|
32
|
+
const a = i.sanitizeUrl(e);
|
|
33
|
+
n.attr("xlink:href", `#${a}`);
|
|
34
|
+
}, g = () => ({
|
|
35
|
+
x: 0,
|
|
36
|
+
y: 0,
|
|
37
|
+
width: 100,
|
|
38
|
+
height: 100,
|
|
39
|
+
fill: "#EDF2AE",
|
|
40
|
+
stroke: "#666",
|
|
41
|
+
anchor: "start",
|
|
42
|
+
rx: 0,
|
|
43
|
+
ry: 0
|
|
44
|
+
}), p = () => ({
|
|
45
|
+
x: 0,
|
|
46
|
+
y: 0,
|
|
47
|
+
width: 100,
|
|
48
|
+
height: 100,
|
|
49
|
+
"text-anchor": "start",
|
|
50
|
+
style: "#666",
|
|
51
|
+
textMargin: 0,
|
|
52
|
+
rx: 0,
|
|
53
|
+
ry: 0,
|
|
54
|
+
tspan: !0
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
x as a,
|
|
58
|
+
y as b,
|
|
59
|
+
h as c,
|
|
60
|
+
c as d,
|
|
61
|
+
p as e,
|
|
62
|
+
d as f,
|
|
63
|
+
g
|
|
64
|
+
};
|