lowcoder-comps 2.4.13 → 2.4.15
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/{0fa873f8.js → 0bb0c92e.js} +4 -4
- package/{1d0578cc.js → 0cc36377.js} +919 -969
- package/{4ee1107f.js → 0fa86771.js} +411 -451
- package/{7ceb1a86.js → 19a2ee87.js} +1067 -1085
- package/{62a4e802.js → 1b41afb7.js} +6 -6
- package/{140d1965.js → 1e5b4466.js} +1 -1
- package/21ce624b.js +433 -0
- package/247d363c.js +797 -0
- package/{66d40f47.js → 2dc10e5c.js} +96 -99
- package/{48262065.js → 3a91cb5c.js} +8 -8
- package/{bfff0c9e.js → 3ebe8123.js} +26 -27
- package/{e60eb1d6.js → 3f2bde45.js} +1 -1
- package/{08ce8965.js → 4046c39a.js} +247 -258
- package/{256b619e.js → 428ebac9.js} +14 -15
- package/{f85b9955.js → 4b8936b0.js} +68 -69
- package/{722d14f3.js → 4d48e6df.js} +6 -6
- package/{93e77b54.js → 558e8ee5.js} +4 -4
- package/{d2b89014.js → 56f6e990.js} +92 -92
- package/{6c5168e9.js → 5a31cef7.js} +2 -2
- package/{7873457c.js → 5d41cf38.js} +6 -6
- package/{5d259708.js → 5fd9a898.js} +4 -5
- package/{2c7a98c7.js → 63a771ab.js} +8 -8
- package/6a32f1c1.js +206 -0
- package/{e7717e30.js → 7035666f.js} +7 -7
- package/{c840f94c.js → 74ef17ae.js} +140 -141
- package/{eeeac330.js → 7cc252e4.js} +65540 -59868
- package/81d6ce63.js +817 -0
- package/{c8211b18.js → 832e744b.js} +1 -1
- package/{81a0d6f1.js → 8718dc59.js} +12 -12
- package/{7a22ada0.js → 88953f96.js} +18 -18
- package/a8d4a50e.js +373 -0
- package/aa88392e.js +190 -0
- package/b0862b2f.js +1083 -0
- package/{62c4dc6e.js → c1b710aa.js} +5 -5
- package/{4cf9b6b3.js → d72b57c8.js} +12713 -12735
- package/{629dfdca.js → e441921a.js} +4 -4
- package/{47848c42.js → e5b014a9.js} +5 -5
- package/{b7fefb34.js → eb3bf879.js} +2 -2
- package/{febae45b.js → eb5cf40c.js} +2 -2
- package/{ddee0e99.js → edc74d11.js} +3 -3
- package/f0f41787.js +1264 -0
- package/index.js +2 -2
- package/package.json +1 -1
- package/1de1a3c9.js +0 -1102
- package/2510669f.js +0 -237
- package/68ee7280.js +0 -1276
- package/89baa2e6.js +0 -391
- package/9dc6adcd.js +0 -819
- package/ab55adad.js +0 -818
- package/c459c043.js +0 -208
- package/e47dc9ca.js +0 -455
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as A, d as S, s as G } from "./
|
|
2
|
-
import { e as v, l as y, j as B, k as I, I as W, C as M, J as $ } from "./
|
|
3
|
-
import { G as J } from "./
|
|
4
|
-
import { l as O } from "./
|
|
5
|
-
import { l as P } from "./
|
|
1
|
+
import { p as A, d as S, s as G } from "./e441921a.js";
|
|
2
|
+
import { e as v, l as y, j as B, k as I, I as W, C as M, J as $ } from "./7cc252e4.js";
|
|
3
|
+
import { G as J } from "./eb3bf879.js";
|
|
4
|
+
import { l as O } from "./eb5cf40c.js";
|
|
5
|
+
import { l as P } from "./5a31cef7.js";
|
|
6
6
|
import "./2ff2c7a6.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./428ebac9.js";
|
|
8
8
|
let H = 0;
|
|
9
9
|
const X = function(i, a, t, o, p) {
|
|
10
10
|
const g = function(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as At, b7 as zt, b8 as It } from "./
|
|
1
|
+
import { l as At, b7 as zt, b8 as It } from "./7cc252e4.js";
|
|
2
2
|
const Tt = {};
|
|
3
3
|
function Bt(n, r) {
|
|
4
4
|
const t = r || Tt, e = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, u = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
|
|
@@ -2870,19 +2870,18 @@ function Rr(n, r) {
|
|
|
2870
2870
|
return Bn(n, r);
|
|
2871
2871
|
}
|
|
2872
2872
|
function Bn(n, r, t = [], e = []) {
|
|
2873
|
-
var a;
|
|
2874
2873
|
if (n.length === 0)
|
|
2875
2874
|
return e.length > 0 && t.push(e), t.length > 0 ? t : [];
|
|
2876
2875
|
let u = "";
|
|
2877
2876
|
n[0].content === " " && (u = " ", n.shift());
|
|
2878
|
-
const i =
|
|
2877
|
+
const i = n.shift() ?? { content: " ", type: "normal" }, l = [...e];
|
|
2879
2878
|
if (u !== "" && l.push({ content: u, type: "normal" }), l.push(i), r(l))
|
|
2880
2879
|
return Bn(n, r, t, l);
|
|
2881
2880
|
if (e.length > 0)
|
|
2882
2881
|
t.push(e), n.unshift(i);
|
|
2883
2882
|
else if (i.content) {
|
|
2884
|
-
const [
|
|
2885
|
-
t.push([
|
|
2883
|
+
const [a, m] = jr(r, i);
|
|
2884
|
+
t.push([a]), m.content && n.unshift(m);
|
|
2886
2885
|
}
|
|
2887
2886
|
return Bn(n, r, t);
|
|
2888
2887
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { e as Te, s as Ce, a as Fe, d as Me, b as De, l as Ne, H as Pe, j as oe, k as Ye, m as ke } from "./
|
|
2
|
-
import { G as Ue } from "./
|
|
3
|
-
import { l as Be } from "./
|
|
4
|
-
import { l as Qe } from "./
|
|
1
|
+
import { e as Te, s as Ce, a as Fe, d as Me, b as De, l as Ne, H as Pe, j as oe, k as Ye, m as ke } from "./7cc252e4.js";
|
|
2
|
+
import { G as Ue } from "./eb3bf879.js";
|
|
3
|
+
import { l as Be } from "./eb5cf40c.js";
|
|
4
|
+
import { l as Qe } from "./5a31cef7.js";
|
|
5
5
|
import "./2ff2c7a6.js";
|
|
6
|
-
import "./
|
|
6
|
+
import "./428ebac9.js";
|
|
7
7
|
var ce = function() {
|
|
8
8
|
var e = function(V, i, r, a) {
|
|
9
9
|
for (r = r || {}, a = V.length; a--; r[V[a]] = i)
|
|
@@ -135,7 +135,7 @@ var ce = function() {
|
|
|
135
135
|
var r = this, a = [0], n = [], f = [null], s = [], W = this.table, _ = "", Z = 0, me = 0, Ve = 2, Ie = 1, qe = s.slice.call(arguments, 1), g = Object.create(this.lexer), L = { yy: {} };
|
|
136
136
|
for (var re in this.yy)
|
|
137
137
|
Object.prototype.hasOwnProperty.call(this.yy, re) && (L.yy[re] = this.yy[re]);
|
|
138
|
-
g.setInput(i, L.yy), L.yy.lexer = g, L.yy.parser = this, typeof g.yylloc
|
|
138
|
+
g.setInput(i, L.yy), L.yy.lexer = g, L.yy.parser = this, typeof g.yylloc > "u" && (g.yylloc = {});
|
|
139
139
|
var se = g.yylloc;
|
|
140
140
|
s.push(se);
|
|
141
141
|
var Oe = g.options && g.options.ranges;
|
|
@@ -145,7 +145,7 @@ var ce = function() {
|
|
|
145
145
|
return $ = n.pop() || g.lex() || Ie, typeof $ != "number" && ($ instanceof Array && (n = $, $ = n.pop()), $ = r.symbols_[$] || $), $;
|
|
146
146
|
}
|
|
147
147
|
for (var I, C, S, ae, Q = {}, ee, w, be, te; ; ) {
|
|
148
|
-
if (C = a[a.length - 1], this.defaultActions[C] ? S = this.defaultActions[C] : ((I === null || typeof I
|
|
148
|
+
if (C = a[a.length - 1], this.defaultActions[C] ? S = this.defaultActions[C] : ((I === null || typeof I > "u") && (I = Le()), S = W[C] && W[C][I]), typeof S > "u" || !S.length || !S[0]) {
|
|
149
149
|
var le = "";
|
|
150
150
|
te = [];
|
|
151
151
|
for (ee in W[C])
|
|
@@ -183,7 +183,7 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : le =
|
|
|
183
183
|
S[1],
|
|
184
184
|
f,
|
|
185
185
|
s
|
|
186
|
-
].concat(qe)), typeof ae
|
|
186
|
+
].concat(qe)), typeof ae < "u")
|
|
187
187
|
return ae;
|
|
188
188
|
w && (a = a.slice(0, -1 * w * 2), f = f.slice(0, -1 * w), s = s.slice(0, -1 * w)), a.push(this.productions_[S[1]][0]), f.push(Q.$), s.push(Q._$), be = W[a[a.length - 2]][a[a.length - 1]], a.push(be);
|
|
189
189
|
break;
|
package/6a32f1c1.js
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { p as M, d as _, s as R } from "./e441921a.js";
|
|
2
|
+
import { l as d, e as c, j as w, C as B, v as G, q as C, u as D, p as E, m as A } from "./7cc252e4.js";
|
|
3
|
+
import { G as q } from "./eb3bf879.js";
|
|
4
|
+
import { r as z } from "./a8d4a50e.js";
|
|
5
|
+
import "./eb5cf40c.js";
|
|
6
|
+
import "./832e744b.js";
|
|
7
|
+
import "./b0862b2f.js";
|
|
8
|
+
import "./5fd9a898.js";
|
|
9
|
+
import "./5a31cef7.js";
|
|
10
|
+
import "./2ff2c7a6.js";
|
|
11
|
+
import "./428ebac9.js";
|
|
12
|
+
const S = (s) => A.sanitizeText(s, c());
|
|
13
|
+
let k = {
|
|
14
|
+
dividerMargin: 10,
|
|
15
|
+
padding: 5,
|
|
16
|
+
textHeight: 10,
|
|
17
|
+
curve: void 0
|
|
18
|
+
};
|
|
19
|
+
const P = function(s, t, y, a) {
|
|
20
|
+
const e = Object.keys(s);
|
|
21
|
+
d.info("keys:", e), d.info(s), e.forEach(function(i) {
|
|
22
|
+
var o, r;
|
|
23
|
+
const l = s[i], p = {
|
|
24
|
+
shape: "rect",
|
|
25
|
+
id: l.id,
|
|
26
|
+
domId: l.domId,
|
|
27
|
+
labelText: S(l.id),
|
|
28
|
+
labelStyle: "",
|
|
29
|
+
style: "fill: none; stroke: black",
|
|
30
|
+
// TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
|
|
31
|
+
padding: ((o = c().flowchart) == null ? void 0 : o.padding) ?? ((r = c().class) == null ? void 0 : r.padding)
|
|
32
|
+
};
|
|
33
|
+
t.setNode(l.id, p), $(l.classes, t, y, a, l.id), d.info("setNode", p);
|
|
34
|
+
});
|
|
35
|
+
}, $ = function(s, t, y, a, e) {
|
|
36
|
+
const i = Object.keys(s);
|
|
37
|
+
d.info("keys:", i), d.info(s), i.filter((o) => s[o].parent == e).forEach(function(o) {
|
|
38
|
+
var r, l;
|
|
39
|
+
const n = s[o], p = n.cssClasses.join(" "), f = C(n.styles), h = n.label ?? n.id, b = 0, m = "class_box", u = {
|
|
40
|
+
labelStyle: f.labelStyle,
|
|
41
|
+
shape: m,
|
|
42
|
+
labelText: S(h),
|
|
43
|
+
classData: n,
|
|
44
|
+
rx: b,
|
|
45
|
+
ry: b,
|
|
46
|
+
class: p,
|
|
47
|
+
style: f.style,
|
|
48
|
+
id: n.id,
|
|
49
|
+
domId: n.domId,
|
|
50
|
+
tooltip: a.db.getTooltip(n.id, e) || "",
|
|
51
|
+
haveCallback: n.haveCallback,
|
|
52
|
+
link: n.link,
|
|
53
|
+
width: n.type === "group" ? 500 : void 0,
|
|
54
|
+
type: n.type,
|
|
55
|
+
// TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
|
|
56
|
+
padding: ((r = c().flowchart) == null ? void 0 : r.padding) ?? ((l = c().class) == null ? void 0 : l.padding)
|
|
57
|
+
};
|
|
58
|
+
t.setNode(n.id, u), e && t.setParent(n.id, e), d.info("setNode", u);
|
|
59
|
+
});
|
|
60
|
+
}, F = function(s, t, y, a) {
|
|
61
|
+
d.info(s), s.forEach(function(e, i) {
|
|
62
|
+
var o, r;
|
|
63
|
+
const l = e, n = "", p = { labelStyle: "", style: "" }, f = l.text, h = 0, b = "note", m = {
|
|
64
|
+
labelStyle: p.labelStyle,
|
|
65
|
+
shape: b,
|
|
66
|
+
labelText: S(f),
|
|
67
|
+
noteData: l,
|
|
68
|
+
rx: h,
|
|
69
|
+
ry: h,
|
|
70
|
+
class: n,
|
|
71
|
+
style: p.style,
|
|
72
|
+
id: l.id,
|
|
73
|
+
domId: l.id,
|
|
74
|
+
tooltip: "",
|
|
75
|
+
type: "note",
|
|
76
|
+
// TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
|
|
77
|
+
padding: ((o = c().flowchart) == null ? void 0 : o.padding) ?? ((r = c().class) == null ? void 0 : r.padding)
|
|
78
|
+
};
|
|
79
|
+
if (t.setNode(l.id, m), d.info("setNode", m), !l.class || !(l.class in a))
|
|
80
|
+
return;
|
|
81
|
+
const u = y + i, x = {
|
|
82
|
+
id: `edgeNote${u}`,
|
|
83
|
+
//Set relationship style and line type
|
|
84
|
+
classes: "relation",
|
|
85
|
+
pattern: "dotted",
|
|
86
|
+
// Set link type for rendering
|
|
87
|
+
arrowhead: "none",
|
|
88
|
+
//Set edge extra labels
|
|
89
|
+
startLabelRight: "",
|
|
90
|
+
endLabelLeft: "",
|
|
91
|
+
//Set relation arrow types
|
|
92
|
+
arrowTypeStart: "none",
|
|
93
|
+
arrowTypeEnd: "none",
|
|
94
|
+
style: "fill:none",
|
|
95
|
+
labelStyle: "",
|
|
96
|
+
curve: D(k.curve, E)
|
|
97
|
+
};
|
|
98
|
+
t.setEdge(l.id, l.class, x, u);
|
|
99
|
+
});
|
|
100
|
+
}, H = function(s, t) {
|
|
101
|
+
const y = c().flowchart;
|
|
102
|
+
let a = 0;
|
|
103
|
+
s.forEach(function(e) {
|
|
104
|
+
var i;
|
|
105
|
+
a++;
|
|
106
|
+
const o = {
|
|
107
|
+
//Set relationship style and line type
|
|
108
|
+
classes: "relation",
|
|
109
|
+
pattern: e.relation.lineType == 1 ? "dashed" : "solid",
|
|
110
|
+
id: `id_${e.id1}_${e.id2}_${a}`,
|
|
111
|
+
// Set link type for rendering
|
|
112
|
+
arrowhead: e.type === "arrow_open" ? "none" : "normal",
|
|
113
|
+
//Set edge extra labels
|
|
114
|
+
startLabelRight: e.relationTitle1 === "none" ? "" : e.relationTitle1,
|
|
115
|
+
endLabelLeft: e.relationTitle2 === "none" ? "" : e.relationTitle2,
|
|
116
|
+
//Set relation arrow types
|
|
117
|
+
arrowTypeStart: N(e.relation.type1),
|
|
118
|
+
arrowTypeEnd: N(e.relation.type2),
|
|
119
|
+
style: "fill:none",
|
|
120
|
+
labelStyle: "",
|
|
121
|
+
curve: D(y?.curve, E)
|
|
122
|
+
};
|
|
123
|
+
if (d.info(o, e), e.style !== void 0) {
|
|
124
|
+
const r = C(e.style);
|
|
125
|
+
o.style = r.style, o.labelStyle = r.labelStyle;
|
|
126
|
+
}
|
|
127
|
+
e.text = e.title, e.text === void 0 ? e.style !== void 0 && (o.arrowheadStyle = "fill: #333") : (o.arrowheadStyle = "fill: #333", o.labelpos = "c", ((i = c().flowchart) == null ? void 0 : i.htmlLabels) ?? c().htmlLabels ? (o.labelType = "html", o.label = '<span class="edgeLabel">' + e.text + "</span>") : (o.labelType = "text", o.label = e.text.replace(A.lineBreakRegex, `
|
|
128
|
+
`), e.style === void 0 && (o.style = o.style || "stroke: #333; stroke-width: 1.5px;fill:none"), o.labelStyle = o.labelStyle.replace("color:", "fill:"))), t.setEdge(e.id1, e.id2, o, a);
|
|
129
|
+
});
|
|
130
|
+
}, V = function(s) {
|
|
131
|
+
k = {
|
|
132
|
+
...k,
|
|
133
|
+
...s
|
|
134
|
+
};
|
|
135
|
+
}, W = async function(s, t, y, a) {
|
|
136
|
+
d.info("Drawing class - ", t);
|
|
137
|
+
const e = c().flowchart ?? c().class, i = c().securityLevel;
|
|
138
|
+
d.info("config:", e);
|
|
139
|
+
const o = e?.nodeSpacing ?? 50, r = e?.rankSpacing ?? 50, l = new q({
|
|
140
|
+
multigraph: !0,
|
|
141
|
+
compound: !0
|
|
142
|
+
}).setGraph({
|
|
143
|
+
rankdir: a.db.getDirection(),
|
|
144
|
+
nodesep: o,
|
|
145
|
+
ranksep: r,
|
|
146
|
+
marginx: 8,
|
|
147
|
+
marginy: 8
|
|
148
|
+
}).setDefaultEdgeLabel(function() {
|
|
149
|
+
return {};
|
|
150
|
+
}), n = a.db.getNamespaces(), p = a.db.getClasses(), f = a.db.getRelations(), h = a.db.getNotes();
|
|
151
|
+
d.info(f), P(n, l, t, a), $(p, l, t, a), H(f, l), F(h, l, f.length + 1, p);
|
|
152
|
+
let b;
|
|
153
|
+
i === "sandbox" && (b = w("#i" + t));
|
|
154
|
+
const m = i === "sandbox" ? w(b.nodes()[0].contentDocument.body) : w("body"), u = m.select(`[id="${t}"]`), x = m.select("#" + t + " g");
|
|
155
|
+
if (await z(
|
|
156
|
+
x,
|
|
157
|
+
l,
|
|
158
|
+
["aggregation", "extension", "composition", "dependency", "lollipop"],
|
|
159
|
+
"classDiagram",
|
|
160
|
+
t
|
|
161
|
+
), B.insertTitle(u, "classTitleText", e?.titleTopMargin ?? 5, a.db.getDiagramTitle()), G(l, u, e?.diagramPadding, e?.useMaxWidth), !e?.htmlLabels) {
|
|
162
|
+
const T = i === "sandbox" ? b.nodes()[0].contentDocument : document, I = T.querySelectorAll('[id="' + t + '"] .edgeLabel .label');
|
|
163
|
+
for (const g of I) {
|
|
164
|
+
const L = g.getBBox(), v = T.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
165
|
+
v.setAttribute("rx", 0), v.setAttribute("ry", 0), v.setAttribute("width", L.width), v.setAttribute("height", L.height), g.insertBefore(v, g.firstChild);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
function N(s) {
|
|
170
|
+
let t;
|
|
171
|
+
switch (s) {
|
|
172
|
+
case 0:
|
|
173
|
+
t = "aggregation";
|
|
174
|
+
break;
|
|
175
|
+
case 1:
|
|
176
|
+
t = "extension";
|
|
177
|
+
break;
|
|
178
|
+
case 2:
|
|
179
|
+
t = "composition";
|
|
180
|
+
break;
|
|
181
|
+
case 3:
|
|
182
|
+
t = "dependency";
|
|
183
|
+
break;
|
|
184
|
+
case 4:
|
|
185
|
+
t = "lollipop";
|
|
186
|
+
break;
|
|
187
|
+
default:
|
|
188
|
+
t = "none";
|
|
189
|
+
}
|
|
190
|
+
return t;
|
|
191
|
+
}
|
|
192
|
+
const J = {
|
|
193
|
+
setConf: V,
|
|
194
|
+
draw: W
|
|
195
|
+
}, le = {
|
|
196
|
+
parser: M,
|
|
197
|
+
db: _,
|
|
198
|
+
renderer: J,
|
|
199
|
+
styles: R,
|
|
200
|
+
init: (s) => {
|
|
201
|
+
s.class || (s.class = {}), s.class.arrowMarkerAbsolute = s.arrowMarkerAbsolute, _.clear();
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
export {
|
|
205
|
+
le as diagram
|
|
206
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as I, F as yt, G as ft, s as dt, a as pt, d as gt, b as mt, H as xt, j as G, k as kt } from "./
|
|
2
|
-
import { d as _t, f as bt, a as vt, g as it } from "./
|
|
3
|
-
import { a as Q } from "./
|
|
4
|
-
import "./
|
|
1
|
+
import { e as I, F as yt, G as ft, s as dt, a as pt, d as gt, b as mt, H as xt, j as G, k as kt } from "./7cc252e4.js";
|
|
2
|
+
import { d as _t, f as bt, a as vt, g as it } from "./3f2bde45.js";
|
|
3
|
+
import { a as Q } from "./edc74d11.js";
|
|
4
|
+
import "./428ebac9.js";
|
|
5
5
|
var W = function() {
|
|
6
6
|
var t = function(p, s, r, a) {
|
|
7
7
|
for (r = r || {}, a = p.length; a--; r[p[a]] = s)
|
|
@@ -65,7 +65,7 @@ var W = function() {
|
|
|
65
65
|
var r = this, a = [0], u = [], d = [null], o = [], w = this.table, k = "", R = 0, Z = 0, lt = 2, J = 1, ct = o.slice.call(arguments, 1), x = Object.create(this.lexer), S = { yy: {} };
|
|
66
66
|
for (var z in this.yy)
|
|
67
67
|
Object.prototype.hasOwnProperty.call(this.yy, z) && (S.yy[z] = this.yy[z]);
|
|
68
|
-
x.setInput(s, S.yy), S.yy.lexer = x, S.yy.parser = this, typeof x.yylloc
|
|
68
|
+
x.setInput(s, S.yy), S.yy.lexer = x, S.yy.parser = this, typeof x.yylloc > "u" && (x.yylloc = {});
|
|
69
69
|
var Y = x.yylloc;
|
|
70
70
|
o.push(Y);
|
|
71
71
|
var ht = x.options && x.options.ranges;
|
|
@@ -75,7 +75,7 @@ var W = function() {
|
|
|
75
75
|
return T = u.pop() || x.lex() || J, typeof T != "number" && (T instanceof Array && (u = T, T = u.pop()), T = r.symbols_[T] || T), T;
|
|
76
76
|
}
|
|
77
77
|
for (var _, E, b, O, A = {}, N, $, K, B; ; ) {
|
|
78
|
-
if (E = a[a.length - 1], this.defaultActions[E] ? b = this.defaultActions[E] : ((_ === null || typeof _
|
|
78
|
+
if (E = a[a.length - 1], this.defaultActions[E] ? b = this.defaultActions[E] : ((_ === null || typeof _ > "u") && (_ = ut()), b = w[E] && w[E][_]), typeof b > "u" || !b.length || !b[0]) {
|
|
79
79
|
var q = "";
|
|
80
80
|
B = [];
|
|
81
81
|
for (N in w[E])
|
|
@@ -113,7 +113,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : q = "
|
|
|
113
113
|
b[1],
|
|
114
114
|
d,
|
|
115
115
|
o
|
|
116
|
-
].concat(ct)), typeof O
|
|
116
|
+
].concat(ct)), typeof O < "u")
|
|
117
117
|
return O;
|
|
118
118
|
$ && (a = a.slice(0, -1 * $ * 2), d = d.slice(0, -1 * $), o = o.slice(0, -1 * $)), a.push(this.productions_[b[1]][0]), d.push(A.$), o.push(A._$), K = w[a[a.length - 2]][a[a.length - 1]], a.push(K);
|
|
119
119
|
break;
|