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
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { p as P, d as N, s as W } from "./
|
|
2
|
-
import { c as t, h as H, l as b, i as R, j as T, F as v,
|
|
3
|
-
import { G as C
|
|
4
|
-
import { l as
|
|
1
|
+
import { p as P, d as N, s as W } from "./2085da13.js";
|
|
2
|
+
import { c as t, h as H, l as b, i as R, j as T, F as v, A as U } from "./d073ab24.js";
|
|
3
|
+
import { G as C } from "./274f545c.js";
|
|
4
|
+
import { l as F } from "./abac9104.js";
|
|
5
|
+
import { l as $ } from "./2eae45c2.js";
|
|
5
6
|
import "./2ff2c7a6.js";
|
|
6
7
|
import "./256b619e.js";
|
|
7
8
|
const O = (e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), X = (e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), J = (e, i) => {
|
|
@@ -87,7 +88,7 @@ const O = (e) => e.append("circle").attr("class", "start-state").attr("r", t().s
|
|
|
87
88
|
const g = s.node().getBBox();
|
|
88
89
|
return c.width = g.width + 2 * t().state.padding, c.height = g.height + 2 * t().state.padding, c;
|
|
89
90
|
};
|
|
90
|
-
let
|
|
91
|
+
let A = 0;
|
|
91
92
|
const K = function(e, i, o) {
|
|
92
93
|
const c = function(r) {
|
|
93
94
|
switch (r) {
|
|
@@ -106,7 +107,7 @@ const K = function(e, i, o) {
|
|
|
106
107
|
return r.x;
|
|
107
108
|
}).y(function(r) {
|
|
108
109
|
return r.y;
|
|
109
|
-
}).curve(v), p = e.append("path").attr("d", g(s)).attr("id", "edge" +
|
|
110
|
+
}).curve(v), p = e.append("path").attr("d", g(s)).attr("id", "edge" + A).attr("class", "transition");
|
|
110
111
|
let a = "";
|
|
111
112
|
if (t().state.arrowMarkerAbsolute && (a = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, a = a.replace(/\(/g, "\\("), a = a.replace(/\)/g, "\\)")), p.attr(
|
|
112
113
|
"marker-end",
|
|
@@ -128,7 +129,7 @@ const K = function(e, i, o) {
|
|
|
128
129
|
const n = r.node().getBBox();
|
|
129
130
|
r.insert("rect", ":first-child").attr("class", "box").attr("x", y - w / 2 - t().state.padding / 2).attr("y", x - k / 2 - t().state.padding / 2 - 3.5).attr("width", w + t().state.padding).attr("height", k + t().state.padding), b.info(n);
|
|
130
131
|
}
|
|
131
|
-
|
|
132
|
+
A++;
|
|
132
133
|
};
|
|
133
134
|
let B;
|
|
134
135
|
const z = {}, Q = function() {
|
|
@@ -144,13 +145,13 @@ const z = {}, Q = function() {
|
|
|
144
145
|
const r = p.select(`[id='${i}']`);
|
|
145
146
|
V(r);
|
|
146
147
|
const y = c.db.getRootDoc();
|
|
147
|
-
|
|
148
|
+
G(y, r, void 0, !1, p, a, c);
|
|
148
149
|
const x = B.padding, d = r.node().getBBox(), l = d.width + x * 2, m = d.height + x * 2, w = l * 1.75;
|
|
149
150
|
R(r, m, w, B.useMaxWidth), r.attr(
|
|
150
151
|
"viewBox",
|
|
151
152
|
`${d.x - B.padding} ${d.y - B.padding} ` + l + " " + m
|
|
152
153
|
);
|
|
153
|
-
}, tt = (e) => e ? e.length * B.fontSizeFactor : 1,
|
|
154
|
+
}, tt = (e) => e ? e.length * B.fontSizeFactor : 1, G = (e, i, o, c, s, g, p) => {
|
|
154
155
|
const a = new C({
|
|
155
156
|
compound: !0,
|
|
156
157
|
multigraph: !0
|
|
@@ -194,7 +195,7 @@ const z = {}, Q = function() {
|
|
|
194
195
|
let h;
|
|
195
196
|
if (u.doc) {
|
|
196
197
|
let f = i.append("g").attr("id", u.id).attr("class", "stateGroup");
|
|
197
|
-
h =
|
|
198
|
+
h = G(u.doc, f, u.id, !c, s, g, p);
|
|
198
199
|
{
|
|
199
200
|
f = I(f, u, c);
|
|
200
201
|
let S = f.node().getBBox();
|
|
@@ -253,7 +254,7 @@ const z = {}, Q = function() {
|
|
|
253
254
|
}, et = {
|
|
254
255
|
setConf: Q,
|
|
255
256
|
draw: D
|
|
256
|
-
},
|
|
257
|
+
}, ct = {
|
|
257
258
|
parser: P,
|
|
258
259
|
db: N,
|
|
259
260
|
renderer: et,
|
|
@@ -263,5 +264,5 @@ const z = {}, Q = function() {
|
|
|
263
264
|
}
|
|
264
265
|
};
|
|
265
266
|
export {
|
|
266
|
-
|
|
267
|
+
ct as diagram
|
|
267
268
|
};
|