@zjlab-frontier/markdown 1.2.6 → 1.2.7

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.
Files changed (93) hide show
  1. package/dist/_basePickBy-CWu8v0ko.mjs +151 -0
  2. package/dist/_baseUniq-BYBDg8So.mjs +614 -0
  3. package/dist/arc-2_S8ohSf.mjs +83 -0
  4. package/dist/architecture-U656AL7Q-DGKLYZ_K.mjs +5 -0
  5. package/dist/architectureDiagram-VXUJARFQ-CiE3U1mu.mjs +4661 -0
  6. package/dist/blockDiagram-VD42YOAC-CsZjZOPb.mjs +2261 -0
  7. package/dist/{c4Diagram-c83219d4-DPiPzMng.mjs → c4Diagram-YG6GDRKO-1xvcuQft.mjs} +795 -794
  8. package/dist/{channel-DLtPd-ti.mjs → channel-DcbfLn-q.mjs} +1 -1
  9. package/dist/chunk-4BX2VUAB-BDp4Xs60.mjs +8 -0
  10. package/dist/chunk-55IACEB6-CTW8J150.mjs +8 -0
  11. package/dist/chunk-B4BG7PRW-B_heTEEq.mjs +1375 -0
  12. package/dist/chunk-DI55MBZ5-DhjTVH-t.mjs +1370 -0
  13. package/dist/chunk-FMBD7UC4-ClbSERVz.mjs +19 -0
  14. package/dist/chunk-QN33PNHL-BKK9fOrS.mjs +19 -0
  15. package/dist/chunk-QZHKN3VN-BJGNV1ga.mjs +15 -0
  16. package/dist/chunk-TZMSLE5B-CGED95dA.mjs +64 -0
  17. package/dist/classDiagram-2ON5EDUG-B940_szE.mjs +16 -0
  18. package/dist/classDiagram-v2-WZHVMYZB-B940_szE.mjs +16 -0
  19. package/dist/{clone-Bekeo3TW.mjs → clone-DCtolUVn.mjs} +1 -1
  20. package/dist/cose-bilkent-S5V4N54A-BYen7Ep1.mjs +2608 -0
  21. package/dist/cytoscape.esm-MSgpKP8s.mjs +18721 -0
  22. package/dist/dagre-6UL2VRFP-iIFq-NoW.mjs +444 -0
  23. package/dist/defaultLocale-D7EN2tov.mjs +171 -0
  24. package/dist/diagram-PSM6KHXK-Dy7h44b4.mjs +531 -0
  25. package/dist/diagram-QEK2KX5R-C94F1gFy.mjs +217 -0
  26. package/dist/diagram-S2PKOQOG-yhlmdZS2.mjs +142 -0
  27. package/dist/erDiagram-Q2GNP2WA-BpLUZP7_.mjs +841 -0
  28. package/dist/flowDiagram-NV44I4VS-SLzktk7G.mjs +1620 -0
  29. package/dist/ganttDiagram-JELNMOA3-DeGgQKGo.mjs +2670 -0
  30. package/dist/gitGraph-F6HP7TQM-BMUVRqib.mjs +5 -0
  31. package/dist/gitGraphDiagram-NY62KEGX-CAg0nU-l.mjs +699 -0
  32. package/dist/graph-D3huRaLs.mjs +247 -0
  33. package/dist/{index-C3zgkbpi.mjs → index-BrxkOr3k.mjs} +35916 -28708
  34. package/dist/index.es.js +4 -4
  35. package/dist/index.umd.js +1884 -1442
  36. package/dist/info-NVLQJR56-B7-uUvSf.mjs +5 -0
  37. package/dist/infoDiagram-WHAUD3N6-CvBpxqLi.mjs +24 -0
  38. package/dist/journeyDiagram-XKPGCS4Q-DuCbTsAr.mjs +834 -0
  39. package/dist/kanban-definition-3W4ZIXB7-DvIE5yxA.mjs +719 -0
  40. package/dist/layout-DxYqTZ5R.mjs +1335 -0
  41. package/dist/linear-Ft07C63i.mjs +259 -0
  42. package/dist/mermaid-parser.core-D4YfUPNI.mjs +12966 -0
  43. package/dist/mindmap-definition-VGOIOE7T-urZ0HI-X.mjs +784 -0
  44. package/dist/packet-BFZMPI3H-ByWPr9-O.mjs +5 -0
  45. package/dist/pie-7BOR55EZ-B4RcaSOO.mjs +5 -0
  46. package/dist/pieDiagram-ADFJNKIX-ieTD_ZLt.mjs +161 -0
  47. package/dist/quadrantDiagram-AYHSOK5B-CA5Lp1fr.mjs +1022 -0
  48. package/dist/radar-NHE76QYJ-xjkuc7ne.mjs +5 -0
  49. package/dist/requirementDiagram-UZGBJVZJ-dsQFkWyE.mjs +850 -0
  50. package/dist/sankeyDiagram-TZEHDZUN-BbxCMN2Y.mjs +810 -0
  51. package/dist/sequenceDiagram-WL72ISMW-DXuguRyg.mjs +2511 -0
  52. package/dist/stateDiagram-FKZM4ZOC-Df7YOK3T.mjs +263 -0
  53. package/dist/stateDiagram-v2-4FDKWEC3-D8vtVcSe.mjs +16 -0
  54. package/dist/timeline-definition-IT6M3QCI-BECtudMW.mjs +795 -0
  55. package/dist/treemap-KMMF4GRG-Whla94QX.mjs +5 -0
  56. package/dist/{xychartDiagram-f5964ef8-fDv4mp1P.mjs → xychartDiagram-PRI3JC2R-Vnmd1h04.mjs} +503 -445
  57. package/package.json +3 -3
  58. package/dist/Tableau10-D7jGxypv.mjs +0 -8
  59. package/dist/arc-DqrMsJeG.mjs +0 -84
  60. package/dist/array-CqVTtuYm.mjs +0 -6
  61. package/dist/blockDiagram-c4efeb88-B7Mcu3H_.mjs +0 -1221
  62. package/dist/classDiagram-beda092f-CRNvkLYf.mjs +0 -218
  63. package/dist/classDiagram-v2-2358418a-CUFy5DGQ.mjs +0 -200
  64. package/dist/createText-1719965b-BEXd6yNU.mjs +0 -2955
  65. package/dist/edges-96097737-CTds2HS2.mjs +0 -1088
  66. package/dist/erDiagram-0228fc6a-DdOqXYmJ.mjs +0 -929
  67. package/dist/flowDb-c6c81e3f-LkwBoeG_.mjs +0 -1126
  68. package/dist/flowDiagram-50d868cf-BlsvSXSO.mjs +0 -788
  69. package/dist/flowDiagram-v2-4f6560a1-KScjGHBx.mjs +0 -17
  70. package/dist/flowchart-elk-definition-6af322e1-mTna7kqR.mjs +0 -48146
  71. package/dist/ganttDiagram-a2739b55-B2o_UW9_.mjs +0 -2477
  72. package/dist/gitGraphDiagram-82fe8481-B6-VRPS0.mjs +0 -1264
  73. package/dist/graph-CSVeLFCJ.mjs +0 -847
  74. package/dist/index-5325376f-DsGv8AO4.mjs +0 -373
  75. package/dist/infoDiagram-8eee0895-Cx7V52QV.mjs +0 -319
  76. package/dist/journeyDiagram-c64418c1-C03IeVHa.mjs +0 -801
  77. package/dist/layout-DfnPfvJm.mjs +0 -1472
  78. package/dist/line-BwAWhs05.mjs +0 -33
  79. package/dist/linear-Ck_Qt8nI.mjs +0 -423
  80. package/dist/mindmap-definition-8da855dc-DdMLbjBy.mjs +0 -21922
  81. package/dist/path-DLwuMfdd.mjs +0 -84
  82. package/dist/pieDiagram-a8764435-BymSofHf.mjs +0 -500
  83. package/dist/quadrantDiagram-1e28029f-BXtW3eHp.mjs +0 -903
  84. package/dist/requirementDiagram-08caed73-DGBKyhE-.mjs +0 -767
  85. package/dist/sankeyDiagram-a04cb91d-BfUYRgG3.mjs +0 -802
  86. package/dist/sequenceDiagram-c5b8d532-Jj_1ttvV.mjs +0 -2234
  87. package/dist/stateDiagram-1ecb1508-CbSM9l6I.mjs +0 -266
  88. package/dist/stateDiagram-v2-c2b004d7-dS2KbqNc.mjs +0 -184
  89. package/dist/styles-b4e223ce-D01XEgS6.mjs +0 -1089
  90. package/dist/styles-ca3715f6-amZyw1GB.mjs +0 -960
  91. package/dist/styles-d45a18b0-GN33fYGn.mjs +0 -436
  92. package/dist/svgDrawCommon-b86b1483-BQvqkIEE.mjs +0 -64
  93. package/dist/timeline-definition-faaaa080-BjbyYT4p.mjs +0 -792
@@ -1,436 +0,0 @@
1
- import { S as z, v as R, x as F, y as U, z as j, A as H, l as g, g as S, d as C, B as K, o as W, p as N, q as E, n as L, t as G, k as q, r as X } from "./index-C3zgkbpi.mjs";
2
- import { G as J } from "./graph-CSVeLFCJ.mjs";
3
- import { r as Q } from "./index-5325376f-DsGv8AO4.mjs";
4
- import { c as Y } from "./channel-DLtPd-ti.mjs";
5
- function Z(e) {
6
- return typeof e == "string" ? new z([document.querySelectorAll(e)], [document.documentElement]) : new z([F(e)], R);
7
- }
8
- function pe(e, l) {
9
- return !!e.children(l).length;
10
- }
11
- function be(e) {
12
- return A(e.v) + ":" + A(e.w) + ":" + A(e.name);
13
- }
14
- var O = /:/g;
15
- function A(e) {
16
- return e ? String(e).replace(O, "\\:") : "";
17
- }
18
- function ee(e, l) {
19
- l && e.attr("style", l);
20
- }
21
- function fe(e, l, c) {
22
- l && e.attr("class", l).attr("class", c + " " + e.attr("class"));
23
- }
24
- function ue(e, l) {
25
- var c = l.graph();
26
- if (U(c)) {
27
- var a = c.transition;
28
- if (j(a))
29
- return a(e);
30
- }
31
- return e;
32
- }
33
- function te(e, l) {
34
- var c = e.append("foreignObject").attr("width", "100000"), a = c.append("xhtml:div");
35
- a.attr("xmlns", "http://www.w3.org/1999/xhtml");
36
- var i = l.label;
37
- switch (typeof i) {
38
- case "function":
39
- a.insert(i);
40
- break;
41
- case "object":
42
- a.insert(function() {
43
- return i;
44
- });
45
- break;
46
- default:
47
- a.html(i);
48
- }
49
- ee(a, l.labelStyle), a.style("display", "inline-block"), a.style("white-space", "nowrap");
50
- var d = a.node().getBoundingClientRect();
51
- return c.attr("width", d.width).attr("height", d.height), c;
52
- }
53
- const P = {}, re = function(e) {
54
- const l = Object.keys(e);
55
- for (const c of l)
56
- P[c] = e[c];
57
- }, V = async function(e, l, c, a, i, d) {
58
- const u = a.select(`[id="${c}"]`), n = Object.keys(e);
59
- for (const p of n) {
60
- const r = e[p];
61
- let y = "default";
62
- r.classes.length > 0 && (y = r.classes.join(" ")), y = y + " flowchart-label";
63
- const w = N(r.styles);
64
- let t = r.text !== void 0 ? r.text : r.id, s;
65
- if (g.info("vertex", r, r.labelType), r.labelType === "markdown")
66
- g.info("vertex", r, r.labelType);
67
- else if (X(S().flowchart.htmlLabels))
68
- s = te(u, {
69
- label: t
70
- }).node(), s.parentNode.removeChild(s);
71
- else {
72
- const k = i.createElementNS("http://www.w3.org/2000/svg", "text");
73
- k.setAttribute("style", w.labelStyle.replace("color:", "fill:"));
74
- const _ = t.split(q.lineBreakRegex);
75
- for (const $ of _) {
76
- const v = i.createElementNS("http://www.w3.org/2000/svg", "tspan");
77
- v.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), v.setAttribute("dy", "1em"), v.setAttribute("x", "1"), v.textContent = $, k.appendChild(v);
78
- }
79
- s = k;
80
- }
81
- let b = 0, o = "";
82
- switch (r.type) {
83
- case "round":
84
- b = 5, o = "rect";
85
- break;
86
- case "square":
87
- o = "rect";
88
- break;
89
- case "diamond":
90
- o = "question";
91
- break;
92
- case "hexagon":
93
- o = "hexagon";
94
- break;
95
- case "odd":
96
- o = "rect_left_inv_arrow";
97
- break;
98
- case "lean_right":
99
- o = "lean_right";
100
- break;
101
- case "lean_left":
102
- o = "lean_left";
103
- break;
104
- case "trapezoid":
105
- o = "trapezoid";
106
- break;
107
- case "inv_trapezoid":
108
- o = "inv_trapezoid";
109
- break;
110
- case "odd_right":
111
- o = "rect_left_inv_arrow";
112
- break;
113
- case "circle":
114
- o = "circle";
115
- break;
116
- case "ellipse":
117
- o = "ellipse";
118
- break;
119
- case "stadium":
120
- o = "stadium";
121
- break;
122
- case "subroutine":
123
- o = "subroutine";
124
- break;
125
- case "cylinder":
126
- o = "cylinder";
127
- break;
128
- case "group":
129
- o = "rect";
130
- break;
131
- case "doublecircle":
132
- o = "doublecircle";
133
- break;
134
- default:
135
- o = "rect";
136
- }
137
- const T = await G(t, S());
138
- l.setNode(r.id, {
139
- labelStyle: w.labelStyle,
140
- shape: o,
141
- labelText: T,
142
- labelType: r.labelType,
143
- rx: b,
144
- ry: b,
145
- class: y,
146
- style: w.style,
147
- id: r.id,
148
- link: r.link,
149
- linkTarget: r.linkTarget,
150
- tooltip: d.db.getTooltip(r.id) || "",
151
- domId: d.db.lookUpDomId(r.id),
152
- haveCallback: r.haveCallback,
153
- width: r.type === "group" ? 500 : void 0,
154
- dir: r.dir,
155
- type: r.type,
156
- props: r.props,
157
- padding: S().flowchart.padding
158
- }), g.info("setNode", {
159
- labelStyle: w.labelStyle,
160
- labelType: r.labelType,
161
- shape: o,
162
- labelText: T,
163
- rx: b,
164
- ry: b,
165
- class: y,
166
- style: w.style,
167
- id: r.id,
168
- domId: d.db.lookUpDomId(r.id),
169
- width: r.type === "group" ? 500 : void 0,
170
- type: r.type,
171
- dir: r.dir,
172
- props: r.props,
173
- padding: S().flowchart.padding
174
- });
175
- }
176
- }, M = async function(e, l, c) {
177
- g.info("abc78 edges = ", e);
178
- let a = 0, i = {}, d, u;
179
- if (e.defaultStyle !== void 0) {
180
- const n = N(e.defaultStyle);
181
- d = n.style, u = n.labelStyle;
182
- }
183
- for (const n of e) {
184
- a++;
185
- const p = "L-" + n.start + "-" + n.end;
186
- i[p] === void 0 ? (i[p] = 0, g.info("abc78 new entry", p, i[p])) : (i[p]++, g.info("abc78 new entry", p, i[p]));
187
- let r = p + "-" + i[p];
188
- g.info("abc78 new link id to be used is", p, r, i[p]);
189
- const y = "LS-" + n.start, w = "LE-" + n.end, t = { style: "", labelStyle: "" };
190
- switch (t.minlen = n.length || 1, n.type === "arrow_open" ? t.arrowhead = "none" : t.arrowhead = "normal", t.arrowTypeStart = "arrow_open", t.arrowTypeEnd = "arrow_open", n.type) {
191
- case "double_arrow_cross":
192
- t.arrowTypeStart = "arrow_cross";
193
- case "arrow_cross":
194
- t.arrowTypeEnd = "arrow_cross";
195
- break;
196
- case "double_arrow_point":
197
- t.arrowTypeStart = "arrow_point";
198
- case "arrow_point":
199
- t.arrowTypeEnd = "arrow_point";
200
- break;
201
- case "double_arrow_circle":
202
- t.arrowTypeStart = "arrow_circle";
203
- case "arrow_circle":
204
- t.arrowTypeEnd = "arrow_circle";
205
- break;
206
- }
207
- let s = "", b = "";
208
- switch (n.stroke) {
209
- case "normal":
210
- s = "fill:none;", d !== void 0 && (s = d), u !== void 0 && (b = u), t.thickness = "normal", t.pattern = "solid";
211
- break;
212
- case "dotted":
213
- t.thickness = "normal", t.pattern = "dotted", t.style = "fill:none;stroke-width:2px;stroke-dasharray:3;";
214
- break;
215
- case "thick":
216
- t.thickness = "thick", t.pattern = "solid", t.style = "stroke-width: 3.5px;fill:none;";
217
- break;
218
- case "invisible":
219
- t.thickness = "invisible", t.pattern = "solid", t.style = "stroke-width: 0;fill:none;";
220
- break;
221
- }
222
- if (n.style !== void 0) {
223
- const o = N(n.style);
224
- s = o.style, b = o.labelStyle;
225
- }
226
- t.style = t.style += s, t.labelStyle = t.labelStyle += b, n.interpolate !== void 0 ? t.curve = E(n.interpolate, L) : e.defaultInterpolate !== void 0 ? t.curve = E(e.defaultInterpolate, L) : t.curve = E(P.curve, L), n.text === void 0 ? n.style !== void 0 && (t.arrowheadStyle = "fill: #333") : (t.arrowheadStyle = "fill: #333", t.labelpos = "c"), t.labelType = n.labelType, t.label = await G(
227
- n.text.replace(q.lineBreakRegex, `
228
- `),
229
- S()
230
- ), n.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(n.start, n.end, t, a);
231
- }
232
- }, le = function(e, l) {
233
- return l.db.getClasses();
234
- }, ae = async function(e, l, c, a) {
235
- g.info("Drawing flowchart");
236
- let i = a.db.getDirection();
237
- i === void 0 && (i = "TD");
238
- const { securityLevel: d, flowchart: u } = S(), n = u.nodeSpacing || 50, p = u.rankSpacing || 50;
239
- let r;
240
- d === "sandbox" && (r = C("#i" + l));
241
- const y = d === "sandbox" ? C(r.nodes()[0].contentDocument.body) : C("body"), w = d === "sandbox" ? r.nodes()[0].contentDocument : document, t = new J({
242
- multigraph: !0,
243
- compound: !0
244
- }).setGraph({
245
- rankdir: i,
246
- nodesep: n,
247
- ranksep: p,
248
- marginx: 0,
249
- marginy: 0
250
- }).setDefaultEdgeLabel(function() {
251
- return {};
252
- });
253
- let s;
254
- const b = a.db.getSubGraphs();
255
- g.info("Subgraphs - ", b);
256
- for (let f = b.length - 1; f >= 0; f--)
257
- s = b[f], g.info("Subgraph - ", s), a.db.addVertex(
258
- s.id,
259
- { text: s.title, type: s.labelType },
260
- "group",
261
- void 0,
262
- s.classes,
263
- s.dir
264
- );
265
- const o = a.db.getVertices(), T = a.db.getEdges();
266
- g.info("Edges", T);
267
- let k = 0;
268
- for (k = b.length - 1; k >= 0; k--) {
269
- s = b[k], Z("cluster").append("text");
270
- for (let f = 0; f < s.nodes.length; f++)
271
- g.info("Setting up subgraphs", s.nodes[f], s.id), t.setParent(s.nodes[f], s.id);
272
- }
273
- await V(o, t, l, y, w, a), await M(T, t);
274
- const _ = y.select(`[id="${l}"]`), $ = y.select("#" + l + " g");
275
- if (await Q($, t, ["point", "circle", "cross"], "flowchart", l), K.insertTitle(_, "flowchartTitleText", u.titleTopMargin, a.db.getDiagramTitle()), W(t, _, u.diagramPadding, u.useMaxWidth), a.db.indexNodes("subGraph" + k), !u.htmlLabels) {
276
- const f = w.querySelectorAll('[id="' + l + '"] .edgeLabel .label');
277
- for (const x of f) {
278
- const m = x.getBBox(), h = w.createElementNS("http://www.w3.org/2000/svg", "rect");
279
- h.setAttribute("rx", 0), h.setAttribute("ry", 0), h.setAttribute("width", m.width), h.setAttribute("height", m.height), x.insertBefore(h, x.firstChild);
280
- }
281
- }
282
- Object.keys(o).forEach(function(f) {
283
- const x = o[f];
284
- if (x.link) {
285
- const m = C("#" + l + ' [id="' + f + '"]');
286
- if (m) {
287
- const h = w.createElementNS("http://www.w3.org/2000/svg", "a");
288
- 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"), d === "sandbox" ? h.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : x.linkTarget && h.setAttributeNS("http://www.w3.org/2000/svg", "target", x.linkTarget);
289
- const B = m.insert(function() {
290
- return h;
291
- }, ":first-child"), I = m.select(".label-container");
292
- I && B.append(function() {
293
- return I.node();
294
- });
295
- const D = m.select(".label");
296
- D && B.append(function() {
297
- return D.node();
298
- });
299
- }
300
- }
301
- });
302
- }, we = {
303
- setConf: re,
304
- addVertices: V,
305
- addEdges: M,
306
- getClasses: le,
307
- draw: ae
308
- }, oe = (e, l) => {
309
- const c = Y, a = c(e, "r"), i = c(e, "g"), d = c(e, "b");
310
- return H(a, i, d, l);
311
- }, ne = (e) => `.label {
312
- font-family: ${e.fontFamily};
313
- color: ${e.nodeTextColor || e.textColor};
314
- }
315
- .cluster-label text {
316
- fill: ${e.titleColor};
317
- }
318
- .cluster-label span,p {
319
- color: ${e.titleColor};
320
- }
321
-
322
- .label text,span,p {
323
- fill: ${e.nodeTextColor || e.textColor};
324
- color: ${e.nodeTextColor || e.textColor};
325
- }
326
-
327
- .node rect,
328
- .node circle,
329
- .node ellipse,
330
- .node polygon,
331
- .node path {
332
- fill: ${e.mainBkg};
333
- stroke: ${e.nodeBorder};
334
- stroke-width: 1px;
335
- }
336
- .flowchart-label text {
337
- text-anchor: middle;
338
- }
339
- // .flowchart-label .text-outer-tspan {
340
- // text-anchor: middle;
341
- // }
342
- // .flowchart-label .text-inner-tspan {
343
- // text-anchor: start;
344
- // }
345
-
346
- .node .katex path {
347
- fill: #000;
348
- stroke: #000;
349
- stroke-width: 1px;
350
- }
351
-
352
- .node .label {
353
- text-align: center;
354
- }
355
- .node.clickable {
356
- cursor: pointer;
357
- }
358
-
359
- .arrowheadPath {
360
- fill: ${e.arrowheadColor};
361
- }
362
-
363
- .edgePath .path {
364
- stroke: ${e.lineColor};
365
- stroke-width: 2.0px;
366
- }
367
-
368
- .flowchart-link {
369
- stroke: ${e.lineColor};
370
- fill: none;
371
- }
372
-
373
- .edgeLabel {
374
- background-color: ${e.edgeLabelBackground};
375
- rect {
376
- opacity: 0.5;
377
- background-color: ${e.edgeLabelBackground};
378
- fill: ${e.edgeLabelBackground};
379
- }
380
- text-align: center;
381
- }
382
-
383
- /* For html labels only */
384
- .labelBkg {
385
- background-color: ${oe(e.edgeLabelBackground, 0.5)};
386
- // background-color:
387
- }
388
-
389
- .cluster rect {
390
- fill: ${e.clusterBkg};
391
- stroke: ${e.clusterBorder};
392
- stroke-width: 1px;
393
- }
394
-
395
- .cluster text {
396
- fill: ${e.titleColor};
397
- }
398
-
399
- .cluster span,p {
400
- color: ${e.titleColor};
401
- }
402
- /* .cluster div {
403
- color: ${e.titleColor};
404
- } */
405
-
406
- div.mermaidTooltip {
407
- position: absolute;
408
- text-align: center;
409
- max-width: 200px;
410
- padding: 2px;
411
- font-family: ${e.fontFamily};
412
- font-size: 12px;
413
- background: ${e.tertiaryColor};
414
- border: 1px solid ${e.border2};
415
- border-radius: 2px;
416
- pointer-events: none;
417
- z-index: 100;
418
- }
419
-
420
- .flowchartTitleText {
421
- text-anchor: middle;
422
- font-size: 18px;
423
- fill: ${e.textColor};
424
- }
425
- `, he = ne;
426
- export {
427
- ee as a,
428
- te as b,
429
- ue as c,
430
- fe as d,
431
- be as e,
432
- he as f,
433
- we as g,
434
- pe as i,
435
- Z as s
436
- };
@@ -1,64 +0,0 @@
1
- import { ao as o, j as i } from "./index-C3zgkbpi.mjs";
2
- const l = (s, t) => {
3
- const e = s.append("rect");
4
- if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx !== void 0 && e.attr("rx", t.rx), t.ry !== void 0 && e.attr("ry", t.ry), t.attrs !== void 0)
5
- for (const r in t.attrs)
6
- e.attr(r, t.attrs[r]);
7
- return t.class !== void 0 && e.attr("class", t.class), e;
8
- }, x = (s, t) => {
9
- const e = {
10
- x: t.startx,
11
- y: t.starty,
12
- width: t.stopx - t.startx,
13
- height: t.stopy - t.starty,
14
- fill: t.fill,
15
- stroke: t.stroke,
16
- class: "rect"
17
- };
18
- l(s, e).lower();
19
- }, d = (s, t) => {
20
- const e = t.text.replace(o, " "), r = s.append("text");
21
- r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class !== void 0 && r.attr("class", t.class);
22
- const n = r.append("tspan");
23
- return n.attr("x", t.x + t.textMargin * 2), n.text(e), r;
24
- }, h = (s, t, e, r) => {
25
- const n = s.append("image");
26
- n.attr("x", t), n.attr("y", e);
27
- const a = i.sanitizeUrl(r);
28
- n.attr("xlink:href", a);
29
- }, y = (s, t, e, r) => {
30
- const n = s.append("use");
31
- n.attr("x", t), n.attr("y", e);
32
- const a = i.sanitizeUrl(r);
33
- n.attr("xlink:href", `#${a}`);
34
- }, p = () => ({
35
- x: 0,
36
- y: 0,
37
- width: 100,
38
- height: 100,
39
- fill: "#EDF2AE",
40
- stroke: "#666",
41
- anchor: "start",
42
- rx: 0,
43
- ry: 0
44
- }), g = () => ({
45
- x: 0,
46
- y: 0,
47
- width: 100,
48
- height: 100,
49
- "text-anchor": "start",
50
- style: "#666",
51
- textMargin: 0,
52
- rx: 0,
53
- ry: 0,
54
- tspan: !0
55
- });
56
- export {
57
- x as a,
58
- g as b,
59
- y as c,
60
- l as d,
61
- h as e,
62
- d as f,
63
- p as g
64
- };