@foris/ai-agent 0.7.0 → 0.7.1-beta.2
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/dist/_baseUniq-Bo-J_G8t.js +479 -0
- package/dist/ai-agent.es.js +1 -1
- package/dist/ai-agent.umd.js +504 -504
- package/dist/ai-chat-panel/ChatPanel.d.ts +3 -2
- package/dist/{arc-D25sVj89.js → arc-D6vW-5z7.js} +1 -1
- package/dist/architecture-U656AL7Q-CPDaOg6H.js +11 -0
- package/dist/{architectureDiagram-VXUJARFQ-Cgk-YoAJ.js → architectureDiagram-VXUJARFQ-aNTRrbg8.js} +8 -6
- package/dist/{blockDiagram-VD42YOAC-DEl6OtG0.js → blockDiagram-VD42YOAC-D__rdg-y.js} +801 -937
- package/dist/{c4Diagram-YG6GDRKO-C_brDMc_.js → c4Diagram-YG6GDRKO-Ad-zGtIo.js} +3 -3
- package/dist/{channel-BP0bUxGp.js → channel-CJ6nZxxi.js} +1 -1
- package/dist/{chunk-4BX2VUAB-C5fELlqE.js → chunk-4BX2VUAB-sv6CSdNg.js} +1 -1
- package/dist/{chunk-55IACEB6-DaHkCIMI.js → chunk-55IACEB6-tWLXzb2x.js} +1 -1
- package/dist/{chunk-B4BG7PRW-C2Vtaq9f.js → chunk-B4BG7PRW-wp7Bc04i.js} +4 -4
- package/dist/{chunk-DI55MBZ5-DmM1ZmJ9.js → chunk-DI55MBZ5-BAXA-Ihc.js} +3 -3
- package/dist/{chunk-FMBD7UC4-MWLCTT_V.js → chunk-FMBD7UC4-CqgCvnFf.js} +1 -1
- package/dist/{chunk-QN33PNHL-BFfd-KsX.js → chunk-QN33PNHL-Xr4FEi7o.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DvYwzcYM.js → chunk-QZHKN3VN-CW0xSatw.js} +1 -1
- package/dist/{chunk-TZMSLE5B-B_VLLszl.js → chunk-TZMSLE5B-CG4p6VwM.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-CEjscqbc.js → classDiagram-2ON5EDUG-BwMk_mJR.js} +6 -6
- package/dist/{classDiagram-v2-WZHVMYZB-CEjscqbc.js → classDiagram-v2-WZHVMYZB-BwMk_mJR.js} +6 -6
- package/dist/clone-42WwOfNY.js +8 -0
- package/dist/{code-block-QI2IAROF-MPMUtVbZ.js → code-block-QI2IAROF-Dmk5lA1i.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-DNnmrjSK.js → cose-bilkent-S5V4N54A-CQVvTQey.js} +2 -2
- package/dist/{dagre-6UL2VRFP-c7TGz1C2.js → dagre-6UL2VRFP-CZLotLZh.js} +54 -55
- package/dist/{diagram-PSM6KHXK-CyVHRF5H.js → diagram-PSM6KHXK-99LoQEL6.js} +9 -7
- package/dist/{diagram-QEK2KX5R-BQj43c4D.js → diagram-QEK2KX5R-Bcf8pK3Z.js} +8 -6
- package/dist/{diagram-S2PKOQOG-Dp2Zxf6h.js → diagram-S2PKOQOG-Bc7Lic_C.js} +12 -10
- package/dist/{erDiagram-Q2GNP2WA-UU_sJ3Nk.js → erDiagram-Q2GNP2WA-Bdr3nWHa.js} +5 -5
- package/dist/{flowDiagram-NV44I4VS-DmHh0Mw6.js → flowDiagram-NV44I4VS-By1cH5Mx.js} +6 -6
- package/dist/{ganttDiagram-JELNMOA3-B2DD6FxH.js → ganttDiagram-JELNMOA3-DBUWvf88.js} +3 -3
- package/dist/gitGraph-F6HP7TQM-DyZaN85C.js +11 -0
- package/dist/{gitGraphDiagram-NY62KEGX-BIUvS6sD.js → gitGraphDiagram-NY62KEGX-D201ZDzD.js} +71 -69
- package/dist/graph-vxIytVZ1.js +381 -0
- package/dist/{index-DWpc-Mxs.js → index-2q9HQ6jv.js} +4157 -4170
- package/dist/info-NVLQJR56-Bk44kkrd.js +11 -0
- package/dist/infoDiagram-WHAUD3N6-CQvG7eEX.js +29 -0
- package/dist/{journeyDiagram-XKPGCS4Q-Dia_QTZe.js → journeyDiagram-XKPGCS4Q-BO4UASto.js} +5 -5
- package/dist/{kanban-definition-3W4ZIXB7-ClIKCv5J.js → kanban-definition-3W4ZIXB7-zTTXrQZo.js} +3 -3
- package/dist/layout-CFP0NQPV.js +1443 -0
- package/dist/{linear-ZyP8gWvJ.js → linear-DQjYFf2K.js} +25 -25
- package/dist/{mermaid-NA5CF7SZ-BbXrnAMx.js → mermaid-NA5CF7SZ-Dxy04QGl.js} +1 -1
- package/dist/{treemap-KMMF4GRG-D_L55G0b.js → mermaid-parser.core-3bjcG0rb.js} +5934 -5793
- package/dist/{mermaid.core-Ce2qm3MW.js → mermaid.core-D77TS0_l.js} +112 -88
- package/dist/min-D8aWZ538.js +38 -0
- package/dist/{mindmap-definition-VGOIOE7T-CUj7ttm7.js → mindmap-definition-VGOIOE7T-C4eFUgdU.js} +15 -15
- package/dist/packet-BFZMPI3H-BXyr1-Ur.js +11 -0
- package/dist/pie-7BOR55EZ-BdDEpKOx.js +11 -0
- package/dist/pieDiagram-ADFJNKIX-Cagn8I7E.js +168 -0
- package/dist/{quadrantDiagram-AYHSOK5B-C4-Gx7bz.js → quadrantDiagram-AYHSOK5B-CBbS2k6R.js} +3 -3
- package/dist/radar-NHE76QYJ-rrlsBycr.js +11 -0
- package/dist/{requirementDiagram-UZGBJVZJ-Cr3_wZVs.js → requirementDiagram-UZGBJVZJ-BubvO9b2.js} +4 -4
- package/dist/{sankeyDiagram-TZEHDZUN-DqXQCv8A.js → sankeyDiagram-TZEHDZUN-2TYAQPq1.js} +2 -2
- package/dist/{sequenceDiagram-WL72ISMW-DFW243PP.js → sequenceDiagram-WL72ISMW-C5LXKyO6.js} +4 -4
- package/dist/{stateDiagram-FKZM4ZOC-C7xue1N-.js → stateDiagram-FKZM4ZOC-tqWNEvX8.js} +11 -9
- package/dist/{stateDiagram-v2-4FDKWEC3-CxbMhTx0.js → stateDiagram-v2-4FDKWEC3-DwNtkzmN.js} +5 -5
- package/dist/style.css +1 -1
- package/dist/{timeline-definition-IT6M3QCI-HXVoEY4s.js → timeline-definition-IT6M3QCI-DsDBzGHV.js} +3 -3
- package/dist/treemap-KMMF4GRG-BNrkQfZw.js +11 -0
- package/dist/{xychartDiagram-PRI3JC2R-7Isc60Pi.js → xychartDiagram-PRI3JC2R-C96721pe.js} +3 -3
- package/package.json +1 -1
- package/dist/graph-DB2UxkYH.js +0 -1190
- package/dist/infoDiagram-WHAUD3N6-Cz5rmERs.js +0 -27
- package/dist/layout-Q6wQN5dr.js +0 -1730
- package/dist/pieDiagram-ADFJNKIX-w5KEkOWO.js +0 -166
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { Y as S, P as F, aB as K, E as Y, o as Z, p as q, s as H, g as J, c as Q, b as X, _ as g, l as z, v as tt, d as et, F as at, K as rt, a6 as nt, k as it } from "./mermaid.core-D77TS0_l.js";
|
|
2
|
+
import { p as st } from "./chunk-4BX2VUAB-sv6CSdNg.js";
|
|
3
|
+
import { p as lt } from "./mermaid-parser.core-3bjcG0rb.js";
|
|
4
|
+
import { d as I } from "./arc-D6vW-5z7.js";
|
|
5
|
+
import { o as ot } from "./ordinal-MUacOSdK.js";
|
|
6
|
+
import "./index-2q9HQ6jv.js";
|
|
7
|
+
import "react";
|
|
8
|
+
import "react-dom";
|
|
9
|
+
import "./min-D8aWZ538.js";
|
|
10
|
+
import "./_baseUniq-Bo-J_G8t.js";
|
|
11
|
+
import "./init-DjUOC4st.js";
|
|
12
|
+
function ct(t, a) {
|
|
13
|
+
return a < t ? -1 : a > t ? 1 : a >= t ? 0 : NaN;
|
|
14
|
+
}
|
|
15
|
+
function ut(t) {
|
|
16
|
+
return t;
|
|
17
|
+
}
|
|
18
|
+
function pt() {
|
|
19
|
+
var t = ut, a = ct, f = null, x = S(0), s = S(F), o = S(0);
|
|
20
|
+
function l(e) {
|
|
21
|
+
var n, c = (e = K(e)).length, u, y, h = 0, p = new Array(c), i = new Array(c), v = +x.apply(this, arguments), w = Math.min(F, Math.max(-F, s.apply(this, arguments) - v)), m, C = Math.min(Math.abs(w) / c, o.apply(this, arguments)), $ = C * (w < 0 ? -1 : 1), d;
|
|
22
|
+
for (n = 0; n < c; ++n)
|
|
23
|
+
(d = i[p[n] = n] = +t(e[n], n, e)) > 0 && (h += d);
|
|
24
|
+
for (a != null ? p.sort(function(A, D) {
|
|
25
|
+
return a(i[A], i[D]);
|
|
26
|
+
}) : f != null && p.sort(function(A, D) {
|
|
27
|
+
return f(e[A], e[D]);
|
|
28
|
+
}), n = 0, y = h ? (w - c * $) / h : 0; n < c; ++n, v = m)
|
|
29
|
+
u = p[n], d = i[u], m = v + (d > 0 ? d * y : 0) + $, i[u] = {
|
|
30
|
+
data: e[u],
|
|
31
|
+
index: n,
|
|
32
|
+
value: d,
|
|
33
|
+
startAngle: v,
|
|
34
|
+
endAngle: m,
|
|
35
|
+
padAngle: C
|
|
36
|
+
};
|
|
37
|
+
return i;
|
|
38
|
+
}
|
|
39
|
+
return l.value = function(e) {
|
|
40
|
+
return arguments.length ? (t = typeof e == "function" ? e : S(+e), l) : t;
|
|
41
|
+
}, l.sortValues = function(e) {
|
|
42
|
+
return arguments.length ? (a = e, f = null, l) : a;
|
|
43
|
+
}, l.sort = function(e) {
|
|
44
|
+
return arguments.length ? (f = e, a = null, l) : f;
|
|
45
|
+
}, l.startAngle = function(e) {
|
|
46
|
+
return arguments.length ? (x = typeof e == "function" ? e : S(+e), l) : x;
|
|
47
|
+
}, l.endAngle = function(e) {
|
|
48
|
+
return arguments.length ? (s = typeof e == "function" ? e : S(+e), l) : s;
|
|
49
|
+
}, l.padAngle = function(e) {
|
|
50
|
+
return arguments.length ? (o = typeof e == "function" ? e : S(+e), l) : o;
|
|
51
|
+
}, l;
|
|
52
|
+
}
|
|
53
|
+
var L = Y.pie, G = {
|
|
54
|
+
sections: /* @__PURE__ */ new Map(),
|
|
55
|
+
showData: !1,
|
|
56
|
+
config: L
|
|
57
|
+
}, T = G.sections, N = G.showData, gt = structuredClone(L), dt = /* @__PURE__ */ g(() => structuredClone(gt), "getConfig"), ft = /* @__PURE__ */ g(() => {
|
|
58
|
+
T = /* @__PURE__ */ new Map(), N = G.showData, tt();
|
|
59
|
+
}, "clear"), mt = /* @__PURE__ */ g(({ label: t, value: a }) => {
|
|
60
|
+
if (a < 0)
|
|
61
|
+
throw new Error(
|
|
62
|
+
`"${t}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`
|
|
63
|
+
);
|
|
64
|
+
T.has(t) || (T.set(t, a), z.debug(`added new section: ${t}, with value: ${a}`));
|
|
65
|
+
}, "addSection"), ht = /* @__PURE__ */ g(() => T, "getSections"), vt = /* @__PURE__ */ g((t) => {
|
|
66
|
+
N = t;
|
|
67
|
+
}, "setShowData"), St = /* @__PURE__ */ g(() => N, "getShowData"), _ = {
|
|
68
|
+
getConfig: dt,
|
|
69
|
+
clear: ft,
|
|
70
|
+
setDiagramTitle: Z,
|
|
71
|
+
getDiagramTitle: q,
|
|
72
|
+
setAccTitle: H,
|
|
73
|
+
getAccTitle: J,
|
|
74
|
+
setAccDescription: Q,
|
|
75
|
+
getAccDescription: X,
|
|
76
|
+
addSection: mt,
|
|
77
|
+
getSections: ht,
|
|
78
|
+
setShowData: vt,
|
|
79
|
+
getShowData: St
|
|
80
|
+
}, xt = /* @__PURE__ */ g((t, a) => {
|
|
81
|
+
st(t, a), a.setShowData(t.showData), t.sections.map(a.addSection);
|
|
82
|
+
}, "populateDb"), yt = {
|
|
83
|
+
parse: /* @__PURE__ */ g(async (t) => {
|
|
84
|
+
const a = await lt("pie", t);
|
|
85
|
+
z.debug(a), xt(a, _);
|
|
86
|
+
}, "parse")
|
|
87
|
+
}, wt = /* @__PURE__ */ g((t) => `
|
|
88
|
+
.pieCircle{
|
|
89
|
+
stroke: ${t.pieStrokeColor};
|
|
90
|
+
stroke-width : ${t.pieStrokeWidth};
|
|
91
|
+
opacity : ${t.pieOpacity};
|
|
92
|
+
}
|
|
93
|
+
.pieOuterCircle{
|
|
94
|
+
stroke: ${t.pieOuterStrokeColor};
|
|
95
|
+
stroke-width: ${t.pieOuterStrokeWidth};
|
|
96
|
+
fill: none;
|
|
97
|
+
}
|
|
98
|
+
.pieTitleText {
|
|
99
|
+
text-anchor: middle;
|
|
100
|
+
font-size: ${t.pieTitleTextSize};
|
|
101
|
+
fill: ${t.pieTitleTextColor};
|
|
102
|
+
font-family: ${t.fontFamily};
|
|
103
|
+
}
|
|
104
|
+
.slice {
|
|
105
|
+
font-family: ${t.fontFamily};
|
|
106
|
+
fill: ${t.pieSectionTextColor};
|
|
107
|
+
font-size:${t.pieSectionTextSize};
|
|
108
|
+
// fill: white;
|
|
109
|
+
}
|
|
110
|
+
.legend text {
|
|
111
|
+
fill: ${t.pieLegendTextColor};
|
|
112
|
+
font-family: ${t.fontFamily};
|
|
113
|
+
font-size: ${t.pieLegendTextSize};
|
|
114
|
+
}
|
|
115
|
+
`, "getStyles"), At = wt, Dt = /* @__PURE__ */ g((t) => {
|
|
116
|
+
const a = [...t.values()].reduce((s, o) => s + o, 0), f = [...t.entries()].map(([s, o]) => ({ label: s, value: o })).filter((s) => s.value / a * 100 >= 1).sort((s, o) => o.value - s.value);
|
|
117
|
+
return pt().value((s) => s.value)(f);
|
|
118
|
+
}, "createPieArcs"), Ct = /* @__PURE__ */ g((t, a, f, x) => {
|
|
119
|
+
z.debug(`rendering pie chart
|
|
120
|
+
` + t);
|
|
121
|
+
const s = x.db, o = et(), l = at(s.getConfig(), o.pie), e = 40, n = 18, c = 4, u = 450, y = u, h = rt(a), p = h.append("g");
|
|
122
|
+
p.attr("transform", "translate(" + y / 2 + "," + u / 2 + ")");
|
|
123
|
+
const { themeVariables: i } = o;
|
|
124
|
+
let [v] = nt(i.pieOuterStrokeWidth);
|
|
125
|
+
v ?? (v = 2);
|
|
126
|
+
const w = l.textPosition, m = Math.min(y, u) / 2 - e, C = I().innerRadius(0).outerRadius(m), $ = I().innerRadius(m * w).outerRadius(m * w);
|
|
127
|
+
p.append("circle").attr("cx", 0).attr("cy", 0).attr("r", m + v / 2).attr("class", "pieOuterCircle");
|
|
128
|
+
const d = s.getSections(), A = Dt(d), D = [
|
|
129
|
+
i.pie1,
|
|
130
|
+
i.pie2,
|
|
131
|
+
i.pie3,
|
|
132
|
+
i.pie4,
|
|
133
|
+
i.pie5,
|
|
134
|
+
i.pie6,
|
|
135
|
+
i.pie7,
|
|
136
|
+
i.pie8,
|
|
137
|
+
i.pie9,
|
|
138
|
+
i.pie10,
|
|
139
|
+
i.pie11,
|
|
140
|
+
i.pie12
|
|
141
|
+
];
|
|
142
|
+
let E = 0;
|
|
143
|
+
d.forEach((r) => {
|
|
144
|
+
E += r;
|
|
145
|
+
});
|
|
146
|
+
const P = A.filter((r) => (r.data.value / E * 100).toFixed(0) !== "0"), b = ot(D);
|
|
147
|
+
p.selectAll("mySlices").data(P).enter().append("path").attr("d", C).attr("fill", (r) => b(r.data.label)).attr("class", "pieCircle"), p.selectAll("mySlices").data(P).enter().append("text").text((r) => (r.data.value / E * 100).toFixed(0) + "%").attr("transform", (r) => "translate(" + $.centroid(r) + ")").style("text-anchor", "middle").attr("class", "slice"), p.append("text").text(s.getDiagramTitle()).attr("x", 0).attr("y", -(u - 50) / 2).attr("class", "pieTitleText");
|
|
148
|
+
const W = [...d.entries()].map(([r, M]) => ({
|
|
149
|
+
label: r,
|
|
150
|
+
value: M
|
|
151
|
+
})), k = p.selectAll(".legend").data(W).enter().append("g").attr("class", "legend").attr("transform", (r, M) => {
|
|
152
|
+
const R = n + c, V = R * W.length / 2, U = 12 * n, j = M * R - V;
|
|
153
|
+
return "translate(" + U + "," + j + ")";
|
|
154
|
+
});
|
|
155
|
+
k.append("rect").attr("width", n).attr("height", n).style("fill", (r) => b(r.label)).style("stroke", (r) => b(r.label)), k.append("text").attr("x", n + c).attr("y", n - c).text((r) => s.getShowData() ? `${r.label} [${r.value}]` : r.label);
|
|
156
|
+
const B = Math.max(
|
|
157
|
+
...k.selectAll("text").nodes().map((r) => (r == null ? void 0 : r.getBoundingClientRect().width) ?? 0)
|
|
158
|
+
), O = y + e + n + c + B;
|
|
159
|
+
h.attr("viewBox", `0 0 ${O} ${u}`), it(h, u, O, l.useMaxWidth);
|
|
160
|
+
}, "draw"), $t = { draw: Ct }, Ot = {
|
|
161
|
+
parser: yt,
|
|
162
|
+
db: _,
|
|
163
|
+
renderer: $t,
|
|
164
|
+
styles: At
|
|
165
|
+
};
|
|
166
|
+
export {
|
|
167
|
+
Ot as diagram
|
|
168
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as o, a1 as _e, E as D, l as At, d as wt, i as Ae, p as ie, s as ke, g as Fe, o as Pe, b as ve, c as Ce, v as Le, j as zt, k as Ee } from "./mermaid.core-
|
|
2
|
-
import { l as ee } from "./linear-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { _ as o, a1 as _e, E as D, l as At, d as wt, i as Ae, p as ie, s as ke, g as Fe, o as Pe, b as ve, c as Ce, v as Le, j as zt, k as Ee } from "./mermaid.core-D77TS0_l.js";
|
|
2
|
+
import { l as ee } from "./linear-DQjYFf2K.js";
|
|
3
|
+
import "./index-2q9HQ6jv.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "./init-DjUOC4st.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { R as d, g as s } from "./mermaid-parser.core-3bjcG0rb.js";
|
|
2
|
+
import "./min-D8aWZ538.js";
|
|
3
|
+
import "./_baseUniq-Bo-J_G8t.js";
|
|
4
|
+
import "./mermaid.core-D77TS0_l.js";
|
|
5
|
+
import "./index-2q9HQ6jv.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "react-dom";
|
|
8
|
+
export {
|
|
9
|
+
d as RadarModule,
|
|
10
|
+
s as createRadarServices
|
|
11
|
+
};
|
package/dist/{requirementDiagram-UZGBJVZJ-Cr3_wZVs.js → requirementDiagram-UZGBJVZJ-BubvO9b2.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as ze } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as Ge } from "./chunk-QN33PNHL-
|
|
3
|
-
import { _ as m, s as Xe, g as Je, c as Ze, b as et, o as tt, p as st, d as Ne, l as qe, v as it, D as rt, z as nt, A as at, u as lt } from "./mermaid.core-
|
|
4
|
-
import "./index-
|
|
1
|
+
import { g as ze } from "./chunk-55IACEB6-tWLXzb2x.js";
|
|
2
|
+
import { s as Ge } from "./chunk-QN33PNHL-Xr4FEi7o.js";
|
|
3
|
+
import { _ as m, s as Xe, g as Je, c as Ze, b as et, o as tt, p as st, d as Ne, l as qe, v as it, D as rt, z as nt, A as at, u as lt } from "./mermaid.core-D77TS0_l.js";
|
|
4
|
+
import "./index-2q9HQ6jv.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
var Ae = function() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as p, d as lt, g as _t, s as xt, b as vt, c as bt, p as wt, o as St, v as Lt, e as Et, x as At, j as X, ad as Tt } from "./mermaid.core-
|
|
1
|
+
import { _ as p, d as lt, g as _t, s as xt, b as vt, c as bt, p as wt, o as St, v as Lt, e as Et, x as At, j as X, ad as Tt } from "./mermaid.core-D77TS0_l.js";
|
|
2
2
|
import { o as Mt } from "./ordinal-MUacOSdK.js";
|
|
3
|
-
import "./index-
|
|
3
|
+
import "./index-2q9HQ6jv.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "./init-DjUOC4st.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as ct, a as Xt, d as we, b as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B-
|
|
2
|
-
import { _ as f, s as se, c as Ie, o as Le, g as Ae, b as _e, p as ke, d as st, q as Pe, J as Ne, v as Se, l as Q, i as St, y as Me, e as I, a2 as z, a3 as At, u as F, a as Re, j as Mt, k as De, m as re, a4 as Ce, a5 as ie, G as Ht, a6 as ne, a7 as Oe } from "./mermaid.core-
|
|
3
|
-
import { I as Be } from "./chunk-QZHKN3VN-
|
|
4
|
-
import "./index-
|
|
1
|
+
import { g as ct, a as Xt, d as we, b as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B-CG4p6VwM.js";
|
|
2
|
+
import { _ as f, s as se, c as Ie, o as Le, g as Ae, b as _e, p as ke, d as st, q as Pe, J as Ne, v as Se, l as Q, i as St, y as Me, e as I, a2 as z, a3 as At, u as F, a as Re, j as Mt, k as De, m as re, a4 as Ce, a5 as ie, G as Ht, a6 as ne, a7 as Oe } from "./mermaid.core-D77TS0_l.js";
|
|
3
|
+
import { I as Be } from "./chunk-QZHKN3VN-CW0xSatw.js";
|
|
4
|
+
import "./index-2q9HQ6jv.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
var Ut = function() {
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { s as R, S as N, a as W } from "./chunk-DI55MBZ5-
|
|
2
|
-
import { _ as f, d as t, j as H, l as S, k as P, e as z, a9 as _, aa as U, a4 as C, u as F } from "./mermaid.core-
|
|
3
|
-
import { G as O } from "./graph-
|
|
4
|
-
import { l as J } from "./layout-
|
|
5
|
-
import "./chunk-55IACEB6-
|
|
6
|
-
import "./chunk-QN33PNHL-
|
|
7
|
-
import "./index-
|
|
1
|
+
import { s as R, S as N, a as W } from "./chunk-DI55MBZ5-BAXA-Ihc.js";
|
|
2
|
+
import { _ as f, d as t, j as H, l as S, k as P, e as z, a9 as _, aa as U, a4 as C, u as F } from "./mermaid.core-D77TS0_l.js";
|
|
3
|
+
import { G as O } from "./graph-vxIytVZ1.js";
|
|
4
|
+
import { l as J } from "./layout-CFP0NQPV.js";
|
|
5
|
+
import "./chunk-55IACEB6-tWLXzb2x.js";
|
|
6
|
+
import "./chunk-QN33PNHL-Xr4FEi7o.js";
|
|
7
|
+
import "./index-2q9HQ6jv.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "react-dom";
|
|
10
|
+
import "./_baseUniq-Bo-J_G8t.js";
|
|
11
|
+
import "./min-D8aWZ538.js";
|
|
10
12
|
var X = /* @__PURE__ */ f((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), "drawStartState"), D = /* @__PURE__ */ f((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), "drawDivider"), Y = /* @__PURE__ */ f((e, i) => {
|
|
11
13
|
const d = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = d.node().getBBox();
|
|
12
14
|
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), d;
|
|
@@ -252,7 +254,7 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
252
254
|
}, "renderDoc"), it = {
|
|
253
255
|
setConf: V,
|
|
254
256
|
draw: et
|
|
255
|
-
},
|
|
257
|
+
}, ut = {
|
|
256
258
|
parser: R,
|
|
257
259
|
get db() {
|
|
258
260
|
return new N(1);
|
|
@@ -264,5 +266,5 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
264
266
|
}, "init")
|
|
265
267
|
};
|
|
266
268
|
export {
|
|
267
|
-
|
|
269
|
+
ut as diagram
|
|
268
270
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as r, S as e, b as a, a as s } from "./chunk-DI55MBZ5-
|
|
2
|
-
import { _ as i } from "./mermaid.core-
|
|
3
|
-
import "./chunk-55IACEB6-
|
|
4
|
-
import "./chunk-QN33PNHL-
|
|
5
|
-
import "./index-
|
|
1
|
+
import { s as r, S as e, b as a, a as s } from "./chunk-DI55MBZ5-BAXA-Ihc.js";
|
|
2
|
+
import { _ as i } from "./mermaid.core-D77TS0_l.js";
|
|
3
|
+
import "./chunk-55IACEB6-tWLXzb2x.js";
|
|
4
|
+
import "./chunk-QN33PNHL-Xr4FEi7o.js";
|
|
5
|
+
import "./index-2q9HQ6jv.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-dom";
|
|
8
8
|
var n = {
|