lowcoder-comps 0.0.27 → 0.0.29
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/{83f8a9bc.js → 2085da13.js} +1 -1
- package/250691b5.js +5 -0
- package/274f545c.js +881 -0
- package/{991b6314.js → 289305a1.js} +45 -43
- package/{6e6c38ae.js → 2eae45c2.js} +1 -1
- package/2ff7471d.js +9 -0
- package/{d16a79d9.js → 335b22a2.js} +12 -10
- package/{e30d5d4a.js → 38c826fe.js} +158 -147
- package/{ca35eaa7.js → 44011c1d.js} +286 -293
- package/4fc06812.js +64 -0
- package/{e7309c57.js → 56a787cf.js} +2 -2
- package/590941ff.js +86 -0
- package/{a607b479.js → 6341867f.js} +27 -27
- package/657fd065.js +8 -0
- package/{daee88f9.js → 78a5e50d.js} +133 -132
- package/820c3641.js +25 -0
- package/{70705fc3.js → 88b4e75a.js} +2 -1
- package/8d999722.js +1102 -0
- package/{65ab329e.js → 989caea2.js} +148 -145
- package/99b984d1.js +237 -0
- package/9e5f02d6.js +19104 -0
- package/a40faea7.js +11624 -0
- package/abac9104.js +1536 -0
- package/af2f19b3.js +819 -0
- package/{3544d11b.js → af5ee3de.js} +13 -12
- package/b24707c2.js +48428 -0
- package/b68f8b69.js +1276 -0
- package/ba68ba65.js +391 -0
- package/{796a2b34.js → bafb8599.js} +1 -1
- package/{0d26e631.js → bba60c35.js} +548 -548
- package/bd7c2a8e.js +1089 -0
- package/c71dadea.js +455 -0
- package/{8d8803ff.js → d05c1762.js} +25 -24
- package/{5edf1d55.js → d073ab24.js} +32557 -34230
- package/{11bb676b.js → d838cd10.js} +6 -5
- package/{cea82f05.js → dc36a6eb.js} +11 -11
- package/{e1a5f037.js → ed143450.js} +18 -18
- package/ee8ec8f2.js +2284 -0
- package/f6755210.js +1269 -0
- package/{560f788e.js → fba4c8e4.js} +18 -18
- package/index.js +2 -2
- package/package.json +11 -9
- package/31a2d08c.js +0 -365
- package/49315e81.js +0 -64
- package/55e01450.js +0 -46724
- package/63aaeeb8.js +0 -1055
- package/685b5f6c.js +0 -1235
- package/77072d20.js +0 -22
- package/919ae09a.js +0 -1000
- package/a0a687f6.js +0 -235
- package/a664ee52.js +0 -2192
- package/b8dbed32.js +0 -448
- package/d9708225.js +0 -86
- package/eca15e1d.js +0 -2396
- package/f3f6fcfc.js +0 -18798
- package/f45254b8.js +0 -786
package/c71dadea.js
ADDED
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
var C = (e, l, s) => new Promise((o, i) => {
|
|
2
|
+
var p = (c) => {
|
|
3
|
+
try {
|
|
4
|
+
a(s.next(c));
|
|
5
|
+
} catch (r) {
|
|
6
|
+
i(r);
|
|
7
|
+
}
|
|
8
|
+
}, f = (c) => {
|
|
9
|
+
try {
|
|
10
|
+
a(s.throw(c));
|
|
11
|
+
} catch (r) {
|
|
12
|
+
i(r);
|
|
13
|
+
}
|
|
14
|
+
}, a = (c) => c.done ? o(c.value) : Promise.resolve(c.value).then(p, f);
|
|
15
|
+
a((s = s.apply(e, l)).next());
|
|
16
|
+
});
|
|
17
|
+
import { G as F } from "./274f545c.js";
|
|
18
|
+
import { S as G, v as j, x as U, y as H, z as K, o as B, l as g, p as W, c as S, j as q, r as P, q as L, n as A, h as $, A as X, t as J, B as Q } from "./d073ab24.js";
|
|
19
|
+
import { r as Y } from "./ba68ba65.js";
|
|
20
|
+
import { c as Z } from "./250691b5.js";
|
|
21
|
+
function O(e) {
|
|
22
|
+
return typeof e == "string" ? new G([document.querySelectorAll(e)], [document.documentElement]) : new G([U(e)], j);
|
|
23
|
+
}
|
|
24
|
+
function fe(e, l) {
|
|
25
|
+
return !!e.children(l).length;
|
|
26
|
+
}
|
|
27
|
+
function ue(e) {
|
|
28
|
+
return N(e.v) + ":" + N(e.w) + ":" + N(e.name);
|
|
29
|
+
}
|
|
30
|
+
var ee = /:/g;
|
|
31
|
+
function N(e) {
|
|
32
|
+
return e ? String(e).replace(ee, "\\:") : "";
|
|
33
|
+
}
|
|
34
|
+
function te(e, l) {
|
|
35
|
+
l && e.attr("style", l);
|
|
36
|
+
}
|
|
37
|
+
function we(e, l, s) {
|
|
38
|
+
l && e.attr("class", l).attr("class", s + " " + e.attr("class"));
|
|
39
|
+
}
|
|
40
|
+
function he(e, l) {
|
|
41
|
+
var s = l.graph();
|
|
42
|
+
if (H(s)) {
|
|
43
|
+
var o = s.transition;
|
|
44
|
+
if (K(o))
|
|
45
|
+
return o(e);
|
|
46
|
+
}
|
|
47
|
+
return e;
|
|
48
|
+
}
|
|
49
|
+
function re(e, l) {
|
|
50
|
+
var s = e.append("foreignObject").attr("width", "100000"), o = s.append("xhtml:div");
|
|
51
|
+
o.attr("xmlns", "http://www.w3.org/1999/xhtml");
|
|
52
|
+
var i = l.label;
|
|
53
|
+
switch (typeof i) {
|
|
54
|
+
case "function":
|
|
55
|
+
o.insert(i);
|
|
56
|
+
break;
|
|
57
|
+
case "object":
|
|
58
|
+
o.insert(function() {
|
|
59
|
+
return i;
|
|
60
|
+
});
|
|
61
|
+
break;
|
|
62
|
+
default:
|
|
63
|
+
o.html(i);
|
|
64
|
+
}
|
|
65
|
+
te(o, l.labelStyle), o.style("display", "inline-block"), o.style("white-space", "nowrap");
|
|
66
|
+
var p = o.node().getBoundingClientRect();
|
|
67
|
+
return s.attr("width", p.width).attr("height", p.height), s;
|
|
68
|
+
}
|
|
69
|
+
const V = {}, le = function(e) {
|
|
70
|
+
const l = Object.keys(e);
|
|
71
|
+
for (const s of l)
|
|
72
|
+
V[s] = e[s];
|
|
73
|
+
}, M = function(e, l, s, o, i, p) {
|
|
74
|
+
return C(this, null, function* () {
|
|
75
|
+
const f = o.select(`[id="${s}"]`), a = Object.keys(e);
|
|
76
|
+
for (const c of a) {
|
|
77
|
+
const r = e[c];
|
|
78
|
+
let y = "default";
|
|
79
|
+
r.classes.length > 0 && (y = r.classes.join(" ")), y = y + " flowchart-label";
|
|
80
|
+
const w = B(r.styles);
|
|
81
|
+
let t = r.text !== void 0 ? r.text : r.id, d;
|
|
82
|
+
if (g.info("vertex", r, r.labelType), r.labelType === "markdown")
|
|
83
|
+
g.info("vertex", r, r.labelType);
|
|
84
|
+
else if (W(S().flowchart.htmlLabels))
|
|
85
|
+
d = re(f, {
|
|
86
|
+
label: t
|
|
87
|
+
}).node(), d.parentNode.removeChild(d);
|
|
88
|
+
else {
|
|
89
|
+
const k = i.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
90
|
+
k.setAttribute("style", w.labelStyle.replace("color:", "fill:"));
|
|
91
|
+
const _ = t.split(q.lineBreakRegex);
|
|
92
|
+
for (const E of _) {
|
|
93
|
+
const v = i.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
94
|
+
v.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), v.setAttribute("dy", "1em"), v.setAttribute("x", "1"), v.textContent = E, k.appendChild(v);
|
|
95
|
+
}
|
|
96
|
+
d = k;
|
|
97
|
+
}
|
|
98
|
+
let b = 0, n = "";
|
|
99
|
+
switch (r.type) {
|
|
100
|
+
case "round":
|
|
101
|
+
b = 5, n = "rect";
|
|
102
|
+
break;
|
|
103
|
+
case "square":
|
|
104
|
+
n = "rect";
|
|
105
|
+
break;
|
|
106
|
+
case "diamond":
|
|
107
|
+
n = "question";
|
|
108
|
+
break;
|
|
109
|
+
case "hexagon":
|
|
110
|
+
n = "hexagon";
|
|
111
|
+
break;
|
|
112
|
+
case "odd":
|
|
113
|
+
n = "rect_left_inv_arrow";
|
|
114
|
+
break;
|
|
115
|
+
case "lean_right":
|
|
116
|
+
n = "lean_right";
|
|
117
|
+
break;
|
|
118
|
+
case "lean_left":
|
|
119
|
+
n = "lean_left";
|
|
120
|
+
break;
|
|
121
|
+
case "trapezoid":
|
|
122
|
+
n = "trapezoid";
|
|
123
|
+
break;
|
|
124
|
+
case "inv_trapezoid":
|
|
125
|
+
n = "inv_trapezoid";
|
|
126
|
+
break;
|
|
127
|
+
case "odd_right":
|
|
128
|
+
n = "rect_left_inv_arrow";
|
|
129
|
+
break;
|
|
130
|
+
case "circle":
|
|
131
|
+
n = "circle";
|
|
132
|
+
break;
|
|
133
|
+
case "ellipse":
|
|
134
|
+
n = "ellipse";
|
|
135
|
+
break;
|
|
136
|
+
case "stadium":
|
|
137
|
+
n = "stadium";
|
|
138
|
+
break;
|
|
139
|
+
case "subroutine":
|
|
140
|
+
n = "subroutine";
|
|
141
|
+
break;
|
|
142
|
+
case "cylinder":
|
|
143
|
+
n = "cylinder";
|
|
144
|
+
break;
|
|
145
|
+
case "group":
|
|
146
|
+
n = "rect";
|
|
147
|
+
break;
|
|
148
|
+
case "doublecircle":
|
|
149
|
+
n = "doublecircle";
|
|
150
|
+
break;
|
|
151
|
+
default:
|
|
152
|
+
n = "rect";
|
|
153
|
+
}
|
|
154
|
+
const T = yield P(t, S());
|
|
155
|
+
l.setNode(r.id, {
|
|
156
|
+
labelStyle: w.labelStyle,
|
|
157
|
+
shape: n,
|
|
158
|
+
labelText: T,
|
|
159
|
+
labelType: r.labelType,
|
|
160
|
+
rx: b,
|
|
161
|
+
ry: b,
|
|
162
|
+
class: y,
|
|
163
|
+
style: w.style,
|
|
164
|
+
id: r.id,
|
|
165
|
+
link: r.link,
|
|
166
|
+
linkTarget: r.linkTarget,
|
|
167
|
+
tooltip: p.db.getTooltip(r.id) || "",
|
|
168
|
+
domId: p.db.lookUpDomId(r.id),
|
|
169
|
+
haveCallback: r.haveCallback,
|
|
170
|
+
width: r.type === "group" ? 500 : void 0,
|
|
171
|
+
dir: r.dir,
|
|
172
|
+
type: r.type,
|
|
173
|
+
props: r.props,
|
|
174
|
+
padding: S().flowchart.padding
|
|
175
|
+
}), g.info("setNode", {
|
|
176
|
+
labelStyle: w.labelStyle,
|
|
177
|
+
labelType: r.labelType,
|
|
178
|
+
shape: n,
|
|
179
|
+
labelText: T,
|
|
180
|
+
rx: b,
|
|
181
|
+
ry: b,
|
|
182
|
+
class: y,
|
|
183
|
+
style: w.style,
|
|
184
|
+
id: r.id,
|
|
185
|
+
domId: p.db.lookUpDomId(r.id),
|
|
186
|
+
width: r.type === "group" ? 500 : void 0,
|
|
187
|
+
type: r.type,
|
|
188
|
+
dir: r.dir,
|
|
189
|
+
props: r.props,
|
|
190
|
+
padding: S().flowchart.padding
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}, R = function(e, l, s) {
|
|
195
|
+
return C(this, null, function* () {
|
|
196
|
+
g.info("abc78 edges = ", e);
|
|
197
|
+
let o = 0, i = {}, p, f;
|
|
198
|
+
if (e.defaultStyle !== void 0) {
|
|
199
|
+
const a = B(e.defaultStyle);
|
|
200
|
+
p = a.style, f = a.labelStyle;
|
|
201
|
+
}
|
|
202
|
+
for (const a of e) {
|
|
203
|
+
o++;
|
|
204
|
+
const c = "L-" + a.start + "-" + a.end;
|
|
205
|
+
i[c] === void 0 ? (i[c] = 0, g.info("abc78 new entry", c, i[c])) : (i[c]++, g.info("abc78 new entry", c, i[c]));
|
|
206
|
+
let r = c + "-" + i[c];
|
|
207
|
+
g.info("abc78 new link id to be used is", c, r, i[c]);
|
|
208
|
+
const y = "LS-" + a.start, w = "LE-" + a.end, t = { style: "", labelStyle: "" };
|
|
209
|
+
switch (t.minlen = a.length || 1, a.type === "arrow_open" ? t.arrowhead = "none" : t.arrowhead = "normal", t.arrowTypeStart = "arrow_open", t.arrowTypeEnd = "arrow_open", a.type) {
|
|
210
|
+
case "double_arrow_cross":
|
|
211
|
+
t.arrowTypeStart = "arrow_cross";
|
|
212
|
+
case "arrow_cross":
|
|
213
|
+
t.arrowTypeEnd = "arrow_cross";
|
|
214
|
+
break;
|
|
215
|
+
case "double_arrow_point":
|
|
216
|
+
t.arrowTypeStart = "arrow_point";
|
|
217
|
+
case "arrow_point":
|
|
218
|
+
t.arrowTypeEnd = "arrow_point";
|
|
219
|
+
break;
|
|
220
|
+
case "double_arrow_circle":
|
|
221
|
+
t.arrowTypeStart = "arrow_circle";
|
|
222
|
+
case "arrow_circle":
|
|
223
|
+
t.arrowTypeEnd = "arrow_circle";
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
let d = "", b = "";
|
|
227
|
+
switch (a.stroke) {
|
|
228
|
+
case "normal":
|
|
229
|
+
d = "fill:none;", p !== void 0 && (d = p), f !== void 0 && (b = f), t.thickness = "normal", t.pattern = "solid";
|
|
230
|
+
break;
|
|
231
|
+
case "dotted":
|
|
232
|
+
t.thickness = "normal", t.pattern = "dotted", t.style = "fill:none;stroke-width:2px;stroke-dasharray:3;";
|
|
233
|
+
break;
|
|
234
|
+
case "thick":
|
|
235
|
+
t.thickness = "thick", t.pattern = "solid", t.style = "stroke-width: 3.5px;fill:none;";
|
|
236
|
+
break;
|
|
237
|
+
case "invisible":
|
|
238
|
+
t.thickness = "invisible", t.pattern = "solid", t.style = "stroke-width: 0;fill:none;";
|
|
239
|
+
break;
|
|
240
|
+
}
|
|
241
|
+
if (a.style !== void 0) {
|
|
242
|
+
const n = B(a.style);
|
|
243
|
+
d = n.style, b = n.labelStyle;
|
|
244
|
+
}
|
|
245
|
+
t.style = t.style += d, t.labelStyle = t.labelStyle += b, a.interpolate !== void 0 ? t.curve = L(a.interpolate, A) : e.defaultInterpolate !== void 0 ? t.curve = L(e.defaultInterpolate, A) : t.curve = L(V.curve, A), a.text === void 0 ? a.style !== void 0 && (t.arrowheadStyle = "fill: #333") : (t.arrowheadStyle = "fill: #333", t.labelpos = "c"), t.labelType = a.labelType, t.label = yield P(a.text.replace(q.lineBreakRegex, `
|
|
246
|
+
`), S()), a.style === void 0 && (t.style = t.style || "stroke: #333; stroke-width: 1.5px;fill:none;"), t.labelStyle = t.labelStyle.replace("color:", "fill:"), t.id = r, t.classes = "flowchart-link " + y + " " + w, l.setEdge(a.start, a.end, t, o);
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
}, ae = function(e, l) {
|
|
250
|
+
return l.db.getClasses();
|
|
251
|
+
}, oe = function(e, l, s, o) {
|
|
252
|
+
return C(this, null, function* () {
|
|
253
|
+
g.info("Drawing flowchart");
|
|
254
|
+
let i = o.db.getDirection();
|
|
255
|
+
i === void 0 && (i = "TD");
|
|
256
|
+
const { securityLevel: p, flowchart: f } = S(), a = f.nodeSpacing || 50, c = f.rankSpacing || 50;
|
|
257
|
+
let r;
|
|
258
|
+
p === "sandbox" && (r = $("#i" + l));
|
|
259
|
+
const y = p === "sandbox" ? $(r.nodes()[0].contentDocument.body) : $("body"), w = p === "sandbox" ? r.nodes()[0].contentDocument : document, t = new F({
|
|
260
|
+
multigraph: !0,
|
|
261
|
+
compound: !0
|
|
262
|
+
}).setGraph({
|
|
263
|
+
rankdir: i,
|
|
264
|
+
nodesep: a,
|
|
265
|
+
ranksep: c,
|
|
266
|
+
marginx: 0,
|
|
267
|
+
marginy: 0
|
|
268
|
+
}).setDefaultEdgeLabel(function() {
|
|
269
|
+
return {};
|
|
270
|
+
});
|
|
271
|
+
let d;
|
|
272
|
+
const b = o.db.getSubGraphs();
|
|
273
|
+
g.info("Subgraphs - ", b);
|
|
274
|
+
for (let u = b.length - 1; u >= 0; u--)
|
|
275
|
+
d = b[u], g.info("Subgraph - ", d), o.db.addVertex(
|
|
276
|
+
d.id,
|
|
277
|
+
{ text: d.title, type: d.labelType },
|
|
278
|
+
"group",
|
|
279
|
+
void 0,
|
|
280
|
+
d.classes,
|
|
281
|
+
d.dir
|
|
282
|
+
);
|
|
283
|
+
const n = o.db.getVertices(), T = o.db.getEdges();
|
|
284
|
+
g.info("Edges", T);
|
|
285
|
+
let k = 0;
|
|
286
|
+
for (k = b.length - 1; k >= 0; k--) {
|
|
287
|
+
d = b[k], O("cluster").append("text");
|
|
288
|
+
for (let u = 0; u < d.nodes.length; u++)
|
|
289
|
+
g.info("Setting up subgraphs", d.nodes[u], d.id), t.setParent(d.nodes[u], d.id);
|
|
290
|
+
}
|
|
291
|
+
yield M(n, t, l, y, w, o), yield R(T, t);
|
|
292
|
+
const _ = y.select(`[id="${l}"]`), E = y.select("#" + l + " g");
|
|
293
|
+
if (yield Y(E, t, ["point", "circle", "cross"], "flowchart", l), X.insertTitle(_, "flowchartTitleText", f.titleTopMargin, o.db.getDiagramTitle()), J(t, _, f.diagramPadding, f.useMaxWidth), o.db.indexNodes("subGraph" + k), !f.htmlLabels) {
|
|
294
|
+
const u = w.querySelectorAll('[id="' + l + '"] .edgeLabel .label');
|
|
295
|
+
for (const x of u) {
|
|
296
|
+
const m = x.getBBox(), h = w.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
297
|
+
h.setAttribute("rx", 0), h.setAttribute("ry", 0), h.setAttribute("width", m.width), h.setAttribute("height", m.height), x.insertBefore(h, x.firstChild);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
Object.keys(n).forEach(function(u) {
|
|
301
|
+
const x = n[u];
|
|
302
|
+
if (x.link) {
|
|
303
|
+
const m = $("#" + l + ' [id="' + u + '"]');
|
|
304
|
+
if (m) {
|
|
305
|
+
const h = w.createElementNS("http://www.w3.org/2000/svg", "a");
|
|
306
|
+
h.setAttributeNS("http://www.w3.org/2000/svg", "class", x.classes.join(" ")), h.setAttributeNS("http://www.w3.org/2000/svg", "href", x.link), h.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), p === "sandbox" ? h.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : x.linkTarget && h.setAttributeNS("http://www.w3.org/2000/svg", "target", x.linkTarget);
|
|
307
|
+
const I = m.insert(function() {
|
|
308
|
+
return h;
|
|
309
|
+
}, ":first-child"), D = m.select(".label-container");
|
|
310
|
+
D && I.append(function() {
|
|
311
|
+
return D.node();
|
|
312
|
+
});
|
|
313
|
+
const z = m.select(".label");
|
|
314
|
+
z && I.append(function() {
|
|
315
|
+
return z.node();
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
});
|
|
321
|
+
}, ge = {
|
|
322
|
+
setConf: le,
|
|
323
|
+
addVertices: M,
|
|
324
|
+
addEdges: R,
|
|
325
|
+
getClasses: ae,
|
|
326
|
+
draw: oe
|
|
327
|
+
}, ne = (e, l) => {
|
|
328
|
+
const s = Z, o = s(e, "r"), i = s(e, "g"), p = s(e, "b");
|
|
329
|
+
return Q(o, i, p, l);
|
|
330
|
+
}, se = (e) => `.label {
|
|
331
|
+
font-family: ${e.fontFamily};
|
|
332
|
+
color: ${e.nodeTextColor || e.textColor};
|
|
333
|
+
}
|
|
334
|
+
.cluster-label text {
|
|
335
|
+
fill: ${e.titleColor};
|
|
336
|
+
}
|
|
337
|
+
.cluster-label span,p {
|
|
338
|
+
color: ${e.titleColor};
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.label text,span,p {
|
|
342
|
+
fill: ${e.nodeTextColor || e.textColor};
|
|
343
|
+
color: ${e.nodeTextColor || e.textColor};
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.node rect,
|
|
347
|
+
.node circle,
|
|
348
|
+
.node ellipse,
|
|
349
|
+
.node polygon,
|
|
350
|
+
.node path {
|
|
351
|
+
fill: ${e.mainBkg};
|
|
352
|
+
stroke: ${e.nodeBorder};
|
|
353
|
+
stroke-width: 1px;
|
|
354
|
+
}
|
|
355
|
+
.flowchart-label text {
|
|
356
|
+
text-anchor: middle;
|
|
357
|
+
}
|
|
358
|
+
// .flowchart-label .text-outer-tspan {
|
|
359
|
+
// text-anchor: middle;
|
|
360
|
+
// }
|
|
361
|
+
// .flowchart-label .text-inner-tspan {
|
|
362
|
+
// text-anchor: start;
|
|
363
|
+
// }
|
|
364
|
+
|
|
365
|
+
.node .katex path {
|
|
366
|
+
fill: #000;
|
|
367
|
+
stroke: #000;
|
|
368
|
+
stroke-width: 1px;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.node .label {
|
|
372
|
+
text-align: center;
|
|
373
|
+
}
|
|
374
|
+
.node.clickable {
|
|
375
|
+
cursor: pointer;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.arrowheadPath {
|
|
379
|
+
fill: ${e.arrowheadColor};
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.edgePath .path {
|
|
383
|
+
stroke: ${e.lineColor};
|
|
384
|
+
stroke-width: 2.0px;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.flowchart-link {
|
|
388
|
+
stroke: ${e.lineColor};
|
|
389
|
+
fill: none;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.edgeLabel {
|
|
393
|
+
background-color: ${e.edgeLabelBackground};
|
|
394
|
+
rect {
|
|
395
|
+
opacity: 0.5;
|
|
396
|
+
background-color: ${e.edgeLabelBackground};
|
|
397
|
+
fill: ${e.edgeLabelBackground};
|
|
398
|
+
}
|
|
399
|
+
text-align: center;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* For html labels only */
|
|
403
|
+
.labelBkg {
|
|
404
|
+
background-color: ${ne(e.edgeLabelBackground, 0.5)};
|
|
405
|
+
// background-color:
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.cluster rect {
|
|
409
|
+
fill: ${e.clusterBkg};
|
|
410
|
+
stroke: ${e.clusterBorder};
|
|
411
|
+
stroke-width: 1px;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.cluster text {
|
|
415
|
+
fill: ${e.titleColor};
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.cluster span,p {
|
|
419
|
+
color: ${e.titleColor};
|
|
420
|
+
}
|
|
421
|
+
/* .cluster div {
|
|
422
|
+
color: ${e.titleColor};
|
|
423
|
+
} */
|
|
424
|
+
|
|
425
|
+
div.mermaidTooltip {
|
|
426
|
+
position: absolute;
|
|
427
|
+
text-align: center;
|
|
428
|
+
max-width: 200px;
|
|
429
|
+
padding: 2px;
|
|
430
|
+
font-family: ${e.fontFamily};
|
|
431
|
+
font-size: 12px;
|
|
432
|
+
background: ${e.tertiaryColor};
|
|
433
|
+
border: 1px solid ${e.border2};
|
|
434
|
+
border-radius: 2px;
|
|
435
|
+
pointer-events: none;
|
|
436
|
+
z-index: 100;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.flowchartTitleText {
|
|
440
|
+
text-anchor: middle;
|
|
441
|
+
font-size: 18px;
|
|
442
|
+
fill: ${e.textColor};
|
|
443
|
+
}
|
|
444
|
+
`, ye = se;
|
|
445
|
+
export {
|
|
446
|
+
te as a,
|
|
447
|
+
re as b,
|
|
448
|
+
he as c,
|
|
449
|
+
we as d,
|
|
450
|
+
ue as e,
|
|
451
|
+
ge as f,
|
|
452
|
+
ye as g,
|
|
453
|
+
fe as i,
|
|
454
|
+
O as s
|
|
455
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { c as Z, s as Et, g as mt, b as gt, a as kt,
|
|
2
|
-
import { G as Mt
|
|
3
|
-
import { l as
|
|
1
|
+
import { c as Z, s as Et, g as mt, b as gt, a as kt, C as xt, D as Rt, l as V, E as Ot, h as rt, A as bt, i as Nt, F as Tt, G as At } from "./d073ab24.js";
|
|
2
|
+
import { G as Mt } from "./274f545c.js";
|
|
3
|
+
import { l as St } from "./abac9104.js";
|
|
4
|
+
import { l as wt } from "./2eae45c2.js";
|
|
4
5
|
import "./2ff2c7a6.js";
|
|
5
6
|
import "./256b619e.js";
|
|
6
7
|
const It = /^(?:[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;
|
|
@@ -233,23 +234,23 @@ var at = function() {
|
|
|
233
234
|
}
|
|
234
235
|
},
|
|
235
236
|
parse: function(a) {
|
|
236
|
-
var n = this, c = [0], d = [], E = [null], i = [], K = this.table, s = "", Q = 0, st = 0, ft = 2, ot = 1, yt = i.slice.call(arguments, 1), N = Object.create(this.lexer),
|
|
237
|
+
var n = this, c = [0], d = [], E = [null], i = [], K = this.table, s = "", Q = 0, st = 0, ft = 2, ot = 1, yt = i.slice.call(arguments, 1), N = Object.create(this.lexer), G = { yy: {} };
|
|
237
238
|
for (var J in this.yy)
|
|
238
|
-
Object.prototype.hasOwnProperty.call(this.yy, J) && (
|
|
239
|
-
N.setInput(a,
|
|
239
|
+
Object.prototype.hasOwnProperty.call(this.yy, J) && (G.yy[J] = this.yy[J]);
|
|
240
|
+
N.setInput(a, G.yy), G.yy.lexer = N, G.yy.parser = this, typeof N.yylloc == "undefined" && (N.yylloc = {});
|
|
240
241
|
var $ = N.yylloc;
|
|
241
242
|
i.push($);
|
|
242
243
|
var pt = N.options && N.options.ranges;
|
|
243
|
-
typeof
|
|
244
|
+
typeof G.yy.parseError == "function" ? this.parseError = G.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
244
245
|
function _t() {
|
|
245
246
|
var Y;
|
|
246
247
|
return Y = d.pop() || N.lex() || ot, typeof Y != "number" && (Y instanceof Array && (d = Y, Y = d.pop()), Y = n.symbols_[Y] || Y), Y;
|
|
247
248
|
}
|
|
248
|
-
for (var w,
|
|
249
|
-
if (
|
|
249
|
+
for (var w, H, D, tt, z = {}, j, P, lt, q; ; ) {
|
|
250
|
+
if (H = c[c.length - 1], this.defaultActions[H] ? D = this.defaultActions[H] : ((w === null || typeof w == "undefined") && (w = _t()), D = K[H] && K[H][w]), typeof D == "undefined" || !D.length || !D[0]) {
|
|
250
251
|
var et = "";
|
|
251
252
|
q = [];
|
|
252
|
-
for (j in K[
|
|
253
|
+
for (j in K[H])
|
|
253
254
|
this.terminals_[j] && j > ft && q.push("'" + this.terminals_[j] + "'");
|
|
254
255
|
N.showPosition ? et = "Parse error on line " + (Q + 1) + `:
|
|
255
256
|
` + N.showPosition() + `
|
|
@@ -262,31 +263,31 @@ Expecting ` + q.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : et =
|
|
|
262
263
|
});
|
|
263
264
|
}
|
|
264
265
|
if (D[0] instanceof Array && D.length > 1)
|
|
265
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
266
|
+
throw new Error("Parse Error: multiple actions possible at state: " + H + ", token: " + w);
|
|
266
267
|
switch (D[0]) {
|
|
267
268
|
case 1:
|
|
268
269
|
c.push(w), E.push(N.yytext), i.push(N.yylloc), c.push(D[1]), w = null, st = N.yyleng, s = N.yytext, Q = N.yylineno, $ = N.yylloc;
|
|
269
270
|
break;
|
|
270
271
|
case 2:
|
|
271
|
-
if (P = this.productions_[D[1]][1],
|
|
272
|
+
if (P = this.productions_[D[1]][1], z.$ = E[E.length - P], z._$ = {
|
|
272
273
|
first_line: i[i.length - (P || 1)].first_line,
|
|
273
274
|
last_line: i[i.length - 1].last_line,
|
|
274
275
|
first_column: i[i.length - (P || 1)].first_column,
|
|
275
276
|
last_column: i[i.length - 1].last_column
|
|
276
|
-
}, pt && (
|
|
277
|
+
}, pt && (z._$.range = [
|
|
277
278
|
i[i.length - (P || 1)].range[0],
|
|
278
279
|
i[i.length - 1].range[1]
|
|
279
|
-
]), tt = this.performAction.apply(
|
|
280
|
+
]), tt = this.performAction.apply(z, [
|
|
280
281
|
s,
|
|
281
282
|
st,
|
|
282
283
|
Q,
|
|
283
|
-
|
|
284
|
+
G.yy,
|
|
284
285
|
D[1],
|
|
285
286
|
E,
|
|
286
287
|
i
|
|
287
288
|
].concat(yt)), typeof tt != "undefined")
|
|
288
289
|
return tt;
|
|
289
|
-
P && (c = c.slice(0, -1 * P * 2), E = E.slice(0, -1 * P), i = i.slice(0, -1 * P)), c.push(this.productions_[D[1]][0]), E.push(
|
|
290
|
+
P && (c = c.slice(0, -1 * P * 2), E = E.slice(0, -1 * P), i = i.slice(0, -1 * P)), c.push(this.productions_[D[1]][0]), E.push(z.$), i.push(z._$), lt = K[c[c.length - 2]][c[c.length - 1]], c.push(lt);
|
|
290
291
|
break;
|
|
291
292
|
case 3:
|
|
292
293
|
return !0;
|
|
@@ -594,15 +595,15 @@ Expecting ` + q.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : et =
|
|
|
594
595
|
return v.prototype = O, O.Parser = v, new v();
|
|
595
596
|
}();
|
|
596
597
|
at.parser = at;
|
|
597
|
-
const
|
|
598
|
+
const Gt = at;
|
|
598
599
|
let U = {}, nt = [];
|
|
599
|
-
const
|
|
600
|
+
const Ht = {
|
|
600
601
|
ZERO_OR_ONE: "ZERO_OR_ONE",
|
|
601
602
|
ZERO_OR_MORE: "ZERO_OR_MORE",
|
|
602
603
|
ONE_OR_MORE: "ONE_OR_MORE",
|
|
603
604
|
ONLY_ONE: "ONLY_ONE",
|
|
604
605
|
MD_PARENT: "MD_PARENT"
|
|
605
|
-
},
|
|
606
|
+
}, zt = {
|
|
606
607
|
NON_IDENTIFYING: "NON_IDENTIFYING",
|
|
607
608
|
IDENTIFYING: "IDENTIFYING"
|
|
608
609
|
}, dt = function(t, e = void 0) {
|
|
@@ -622,8 +623,8 @@ const Gt = {
|
|
|
622
623
|
}, Qt = () => nt, jt = function() {
|
|
623
624
|
U = {}, nt = [], Ot();
|
|
624
625
|
}, qt = {
|
|
625
|
-
Cardinality:
|
|
626
|
-
Identification:
|
|
626
|
+
Cardinality: Ht,
|
|
627
|
+
Identification: zt,
|
|
627
628
|
getConfig: () => Z().er,
|
|
628
629
|
addEntity: dt,
|
|
629
630
|
addAttributes: Vt,
|
|
@@ -921,12 +922,12 @@ const ce = {
|
|
|
921
922
|
stroke-width: 1;
|
|
922
923
|
}
|
|
923
924
|
|
|
924
|
-
`, de = he,
|
|
925
|
-
parser:
|
|
925
|
+
`, de = he, me = {
|
|
926
|
+
parser: Gt,
|
|
926
927
|
db: qt,
|
|
927
928
|
renderer: ce,
|
|
928
929
|
styles: de
|
|
929
930
|
};
|
|
930
931
|
export {
|
|
931
|
-
|
|
932
|
+
me as diagram
|
|
932
933
|
};
|