lowcoder-comps 0.0.8 → 0.0.9
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/package.json +1 -1
- package/package/012a06bb.js +0 -34
- package/package/06481cb7.js +0 -1060
- package/package/0c8b29d5.js +0 -6
- package/package/114884df.js +0 -805
- package/package/1264ddb2.js +0 -194
- package/package/1cee31ec.js +0 -1095
- package/package/269c3ba3.js +0 -46662
- package/package/2a2c2e55.js +0 -799
- package/package/2b3ab1e4.js +0 -98763
- package/package/37590a81.js +0 -967
- package/package/3cd7980e.js +0 -184
- package/package/40112498.js +0 -424
- package/package/4b6e1d6f.js +0 -24
- package/package/4bc1082b.js +0 -86
- package/package/53e49f9b.js +0 -1600
- package/package/55bd5c26.js +0 -266
- package/package/591684c8.js +0 -2071
- package/package/6c000872.js +0 -16
- package/package/756addec.js +0 -775
- package/package/7668124e.js +0 -8
- package/package/79e8eeeb.js +0 -949
- package/package/926fbfec.js +0 -91
- package/package/945eefb3.js +0 -2665
- package/package/a35f148e.js +0 -1228
- package/package/a4d12a43.js +0 -175
- package/package/a60de5d1.js +0 -804
- package/package/a8dde1ea.js +0 -589
- package/package/b4148642.js +0 -7
- package/package/b7dd22a2.js +0 -847
- package/package/d4f3a2c4.js +0 -18046
- package/package/e0f479f3.js +0 -91
- package/package/eaa160c9.js +0 -341
- package/package/f1bfd8b5.js +0 -311
- package/package/f1f9ba79.js +0 -900
- package/package/fba61f63.js +0 -2868
- package/package/icons/icon-chart.svg +0 -15
- package/package/icons/icon-comp-calendar.svg +0 -22
- package/package/index.js +0 -5
- package/package/package.json +0 -73
package/package/f1bfd8b5.js
DELETED
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import { z as C, l as E, c as D, h as P } from "./2b3ab1e4.js";
|
|
2
|
-
var L = function() {
|
|
3
|
-
var h = function(c, t, e, n) {
|
|
4
|
-
for (e = e || {}, n = c.length; n--; e[c[n]] = t)
|
|
5
|
-
;
|
|
6
|
-
return e;
|
|
7
|
-
}, f = [6, 9, 10], x = {
|
|
8
|
-
trace: function() {
|
|
9
|
-
},
|
|
10
|
-
yy: {},
|
|
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
|
-
terminals_: { 2: "error", 4: "info", 6: "EOF", 9: "NL", 10: "showInfo" },
|
|
13
|
-
productions_: [0, [3, 3], [5, 0], [5, 2], [7, 1], [7, 1], [8, 1]],
|
|
14
|
-
performAction: function(t, e, n, s, r, i, k) {
|
|
15
|
-
switch (i.length - 1, r) {
|
|
16
|
-
case 1:
|
|
17
|
-
return s;
|
|
18
|
-
case 4:
|
|
19
|
-
break;
|
|
20
|
-
case 6:
|
|
21
|
-
s.setInfo(!0);
|
|
22
|
-
break;
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, h(f, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: 6, 9: [1, 7], 10: [1, 8] }, { 1: [2, 1] }, h(f, [2, 3]), h(f, [2, 4]), h(f, [2, 5]), h(f, [2, 6])],
|
|
26
|
-
defaultActions: { 4: [2, 1] },
|
|
27
|
-
parseError: function(t, e) {
|
|
28
|
-
if (e.recoverable)
|
|
29
|
-
this.trace(t);
|
|
30
|
-
else {
|
|
31
|
-
var n = new Error(t);
|
|
32
|
-
throw n.hash = e, n;
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
parse: function(t) {
|
|
36
|
-
var e = this, n = [0], s = [], r = [null], i = [], k = this.table, $ = "", b = 0, T = 0, z = 2, R = 1, M = i.slice.call(arguments, 1), o = Object.create(this.lexer), p = { yy: {} };
|
|
37
|
-
for (var w in this.yy)
|
|
38
|
-
Object.prototype.hasOwnProperty.call(this.yy, w) && (p.yy[w] = this.yy[w]);
|
|
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 Y = 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 u;
|
|
46
|
-
return u = s.pop() || o.lex() || R, typeof u != "number" && (u instanceof Array && (s = u, u = s.pop()), u = e.symbols_[u] || u), u;
|
|
47
|
-
}
|
|
48
|
-
for (var l, g, a, A, d = {}, v, y, j, S; ; ) {
|
|
49
|
-
if (g = n[n.length - 1], this.defaultActions[g] ? a = this.defaultActions[g] : ((l === null || typeof l == "undefined") && (l = U()), a = k[g] && k[g][l]), typeof a == "undefined" || !a.length || !a[0]) {
|
|
50
|
-
var O = "";
|
|
51
|
-
S = [];
|
|
52
|
-
for (v in k[g])
|
|
53
|
-
this.terminals_[v] && v > z && S.push("'" + this.terminals_[v] + "'");
|
|
54
|
-
o.showPosition ? O = "Parse error on line " + (b + 1) + `:
|
|
55
|
-
` + o.showPosition() + `
|
|
56
|
-
Expecting ` + S.join(", ") + ", got '" + (this.terminals_[l] || l) + "'" : O = "Parse error on line " + (b + 1) + ": Unexpected " + (l == R ? "end of input" : "'" + (this.terminals_[l] || l) + "'"), this.parseError(O, {
|
|
57
|
-
text: o.match,
|
|
58
|
-
token: this.terminals_[l] || l,
|
|
59
|
-
line: o.yylineno,
|
|
60
|
-
loc: I,
|
|
61
|
-
expected: S
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
if (a[0] instanceof Array && a.length > 1)
|
|
65
|
-
throw new Error("Parse Error: multiple actions possible at state: " + g + ", token: " + l);
|
|
66
|
-
switch (a[0]) {
|
|
67
|
-
case 1:
|
|
68
|
-
n.push(l), r.push(o.yytext), i.push(o.yylloc), n.push(a[1]), l = null, T = o.yyleng, $ = o.yytext, b = o.yylineno, I = o.yylloc;
|
|
69
|
-
break;
|
|
70
|
-
case 2:
|
|
71
|
-
if (y = this.productions_[a[1]][1], d.$ = r[r.length - y], d._$ = {
|
|
72
|
-
first_line: i[i.length - (y || 1)].first_line,
|
|
73
|
-
last_line: i[i.length - 1].last_line,
|
|
74
|
-
first_column: i[i.length - (y || 1)].first_column,
|
|
75
|
-
last_column: i[i.length - 1].last_column
|
|
76
|
-
}, Y && (d._$.range = [
|
|
77
|
-
i[i.length - (y || 1)].range[0],
|
|
78
|
-
i[i.length - 1].range[1]
|
|
79
|
-
]), A = this.performAction.apply(d, [
|
|
80
|
-
$,
|
|
81
|
-
T,
|
|
82
|
-
b,
|
|
83
|
-
p.yy,
|
|
84
|
-
a[1],
|
|
85
|
-
r,
|
|
86
|
-
i
|
|
87
|
-
].concat(M)), typeof A != "undefined")
|
|
88
|
-
return A;
|
|
89
|
-
y && (n = n.slice(0, -1 * y * 2), r = r.slice(0, -1 * y), i = i.slice(0, -1 * y)), n.push(this.productions_[a[1]][0]), r.push(d.$), i.push(d._$), j = k[n[n.length - 2]][n[n.length - 1]], n.push(j);
|
|
90
|
-
break;
|
|
91
|
-
case 3:
|
|
92
|
-
return !0;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
return !0;
|
|
96
|
-
}
|
|
97
|
-
}, m = function() {
|
|
98
|
-
var c = {
|
|
99
|
-
EOF: 1,
|
|
100
|
-
parseError: function(e, n) {
|
|
101
|
-
if (this.yy.parser)
|
|
102
|
-
this.yy.parser.parseError(e, n);
|
|
103
|
-
else
|
|
104
|
-
throw new Error(e);
|
|
105
|
-
},
|
|
106
|
-
setInput: function(t, e) {
|
|
107
|
-
return this.yy = e || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
108
|
-
first_line: 1,
|
|
109
|
-
first_column: 0,
|
|
110
|
-
last_line: 1,
|
|
111
|
-
last_column: 0
|
|
112
|
-
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
113
|
-
},
|
|
114
|
-
input: function() {
|
|
115
|
-
var t = this._input[0];
|
|
116
|
-
this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
|
|
117
|
-
var e = t.match(/(?:\r\n?|\n).*/g);
|
|
118
|
-
return e ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
|
|
119
|
-
},
|
|
120
|
-
unput: function(t) {
|
|
121
|
-
var e = t.length, n = t.split(/(?:\r\n?|\n)/g);
|
|
122
|
-
this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - e), this.offset -= e;
|
|
123
|
-
var s = this.match.split(/(?:\r\n?|\n)/g);
|
|
124
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
|
|
125
|
-
var r = this.yylloc.range;
|
|
126
|
-
return this.yylloc = {
|
|
127
|
-
first_line: this.yylloc.first_line,
|
|
128
|
-
last_line: this.yylineno + 1,
|
|
129
|
-
first_column: this.yylloc.first_column,
|
|
130
|
-
last_column: n ? (n.length === s.length ? this.yylloc.first_column : 0) + s[s.length - n.length].length - n[0].length : this.yylloc.first_column - e
|
|
131
|
-
}, this.options.ranges && (this.yylloc.range = [r[0], r[0] + this.yyleng - e]), this.yyleng = this.yytext.length, this;
|
|
132
|
-
},
|
|
133
|
-
more: function() {
|
|
134
|
-
return this._more = !0, this;
|
|
135
|
-
},
|
|
136
|
-
reject: function() {
|
|
137
|
-
if (this.options.backtrack_lexer)
|
|
138
|
-
this._backtrack = !0;
|
|
139
|
-
else
|
|
140
|
-
return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
141
|
-
` + this.showPosition(), {
|
|
142
|
-
text: "",
|
|
143
|
-
token: null,
|
|
144
|
-
line: this.yylineno
|
|
145
|
-
});
|
|
146
|
-
return this;
|
|
147
|
-
},
|
|
148
|
-
less: function(t) {
|
|
149
|
-
this.unput(this.match.slice(t));
|
|
150
|
-
},
|
|
151
|
-
pastInput: function() {
|
|
152
|
-
var t = this.matched.substr(0, this.matched.length - this.match.length);
|
|
153
|
-
return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
|
|
154
|
-
},
|
|
155
|
-
upcomingInput: function() {
|
|
156
|
-
var t = this.match;
|
|
157
|
-
return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
158
|
-
},
|
|
159
|
-
showPosition: function() {
|
|
160
|
-
var t = this.pastInput(), e = new Array(t.length + 1).join("-");
|
|
161
|
-
return t + this.upcomingInput() + `
|
|
162
|
-
` + e + "^";
|
|
163
|
-
},
|
|
164
|
-
test_match: function(t, e) {
|
|
165
|
-
var n, s, r;
|
|
166
|
-
if (this.options.backtrack_lexer && (r = {
|
|
167
|
-
yylineno: this.yylineno,
|
|
168
|
-
yylloc: {
|
|
169
|
-
first_line: this.yylloc.first_line,
|
|
170
|
-
last_line: this.last_line,
|
|
171
|
-
first_column: this.yylloc.first_column,
|
|
172
|
-
last_column: this.yylloc.last_column
|
|
173
|
-
},
|
|
174
|
-
yytext: this.yytext,
|
|
175
|
-
match: this.match,
|
|
176
|
-
matches: this.matches,
|
|
177
|
-
matched: this.matched,
|
|
178
|
-
yyleng: this.yyleng,
|
|
179
|
-
offset: this.offset,
|
|
180
|
-
_more: this._more,
|
|
181
|
-
_input: this._input,
|
|
182
|
-
yy: this.yy,
|
|
183
|
-
conditionStack: this.conditionStack.slice(0),
|
|
184
|
-
done: this.done
|
|
185
|
-
}, this.options.ranges && (r.yylloc.range = this.yylloc.range.slice(0))), s = t[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
|
|
186
|
-
first_line: this.yylloc.last_line,
|
|
187
|
-
last_line: this.yylineno + 1,
|
|
188
|
-
first_column: this.yylloc.last_column,
|
|
189
|
-
last_column: s ? s[s.length - 1].length - s[s.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
|
|
190
|
-
}, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(t[0].length), this.matched += t[0], n = this.performAction.call(this, this.yy, this, e, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n)
|
|
191
|
-
return n;
|
|
192
|
-
if (this._backtrack) {
|
|
193
|
-
for (var i in r)
|
|
194
|
-
this[i] = r[i];
|
|
195
|
-
return !1;
|
|
196
|
-
}
|
|
197
|
-
return !1;
|
|
198
|
-
},
|
|
199
|
-
next: function() {
|
|
200
|
-
if (this.done)
|
|
201
|
-
return this.EOF;
|
|
202
|
-
this._input || (this.done = !0);
|
|
203
|
-
var t, e, n, s;
|
|
204
|
-
this._more || (this.yytext = "", this.match = "");
|
|
205
|
-
for (var r = this._currentRules(), i = 0; i < r.length; i++)
|
|
206
|
-
if (n = this._input.match(this.rules[r[i]]), n && (!e || n[0].length > e[0].length)) {
|
|
207
|
-
if (e = n, s = i, this.options.backtrack_lexer) {
|
|
208
|
-
if (t = this.test_match(n, r[i]), t !== !1)
|
|
209
|
-
return t;
|
|
210
|
-
if (this._backtrack) {
|
|
211
|
-
e = !1;
|
|
212
|
-
continue;
|
|
213
|
-
} else
|
|
214
|
-
return !1;
|
|
215
|
-
} else if (!this.options.flex)
|
|
216
|
-
break;
|
|
217
|
-
}
|
|
218
|
-
return e ? (t = this.test_match(e, r[s]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
219
|
-
` + this.showPosition(), {
|
|
220
|
-
text: "",
|
|
221
|
-
token: null,
|
|
222
|
-
line: this.yylineno
|
|
223
|
-
});
|
|
224
|
-
},
|
|
225
|
-
lex: function() {
|
|
226
|
-
var e = this.next();
|
|
227
|
-
return e || this.lex();
|
|
228
|
-
},
|
|
229
|
-
begin: function(e) {
|
|
230
|
-
this.conditionStack.push(e);
|
|
231
|
-
},
|
|
232
|
-
popState: function() {
|
|
233
|
-
var e = this.conditionStack.length - 1;
|
|
234
|
-
return e > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
235
|
-
},
|
|
236
|
-
_currentRules: function() {
|
|
237
|
-
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
238
|
-
},
|
|
239
|
-
topState: function(e) {
|
|
240
|
-
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
241
|
-
},
|
|
242
|
-
pushState: function(e) {
|
|
243
|
-
this.begin(e);
|
|
244
|
-
},
|
|
245
|
-
stateStackSize: function() {
|
|
246
|
-
return this.conditionStack.length;
|
|
247
|
-
},
|
|
248
|
-
options: { "case-insensitive": !0 },
|
|
249
|
-
performAction: function(e, n, s, r) {
|
|
250
|
-
switch (s) {
|
|
251
|
-
case 0:
|
|
252
|
-
return 4;
|
|
253
|
-
case 1:
|
|
254
|
-
return 9;
|
|
255
|
-
case 2:
|
|
256
|
-
return "space";
|
|
257
|
-
case 3:
|
|
258
|
-
return 10;
|
|
259
|
-
case 4:
|
|
260
|
-
return 6;
|
|
261
|
-
case 5:
|
|
262
|
-
return "TXT";
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
rules: [/^(?:info\b)/i, /^(?:[\s\n\r]+)/i, /^(?:[\s]+)/i, /^(?:showInfo\b)/i, /^(?:$)/i, /^(?:.)/i],
|
|
266
|
-
conditions: { INITIAL: { rules: [0, 1, 2, 3, 4, 5], inclusive: !0 } }
|
|
267
|
-
};
|
|
268
|
-
return c;
|
|
269
|
-
}();
|
|
270
|
-
x.lexer = m;
|
|
271
|
-
function _() {
|
|
272
|
-
this.yy = {};
|
|
273
|
-
}
|
|
274
|
-
return _.prototype = x, x.Parser = _, new _();
|
|
275
|
-
}();
|
|
276
|
-
L.parser = L;
|
|
277
|
-
const V = L;
|
|
278
|
-
var F = "", N = !1;
|
|
279
|
-
const X = (h) => {
|
|
280
|
-
E.debug("Setting message to: " + h), F = h;
|
|
281
|
-
}, q = () => F, B = (h) => {
|
|
282
|
-
N = h;
|
|
283
|
-
}, G = () => N, H = {
|
|
284
|
-
setMessage: X,
|
|
285
|
-
getMessage: q,
|
|
286
|
-
setInfo: B,
|
|
287
|
-
getInfo: G,
|
|
288
|
-
clear: C
|
|
289
|
-
}, J = () => "", K = J, Q = (h, f, x) => {
|
|
290
|
-
try {
|
|
291
|
-
E.debug(`Rendering info diagram
|
|
292
|
-
` + h);
|
|
293
|
-
const m = D().securityLevel;
|
|
294
|
-
let _;
|
|
295
|
-
m === "sandbox" && (_ = P("#i" + f));
|
|
296
|
-
const t = (m === "sandbox" ? P(_.nodes()[0].contentDocument.body) : P("body")).select("#" + f);
|
|
297
|
-
t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", "32px").style("text-anchor", "middle").text("v " + x), t.attr("height", 100), t.attr("width", 400);
|
|
298
|
-
} catch (m) {
|
|
299
|
-
E.error("Error while rendering info diagram"), E.error(m.message);
|
|
300
|
-
}
|
|
301
|
-
}, W = {
|
|
302
|
-
draw: Q
|
|
303
|
-
}, tt = {
|
|
304
|
-
parser: V,
|
|
305
|
-
db: H,
|
|
306
|
-
renderer: W,
|
|
307
|
-
styles: K
|
|
308
|
-
};
|
|
309
|
-
export {
|
|
310
|
-
tt as diagram
|
|
311
|
-
};
|