@cloudbase/agent-example-ui-web-shared 1.0.1-alpha.7 → 1.0.1-alpha.9
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-cVV8eVk4.js +477 -0
- package/dist/{arc-BPwhK7WV.js → arc-K1FrNqso.js} +1 -1
- package/dist/{architecture-U656AL7Q-Dckop6jg.js → architecture-U656AL7Q-to_mAQ15.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-Bb0L6lVC.js → architectureDiagram-VXUJARFQ-BShk_CjT.js} +4 -4
- package/dist/{blockDiagram-VD42YOAC-C1ZvOL0q.js → blockDiagram-VD42YOAC-ffg2IsPK.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-CGAIzfE2.js → c4Diagram-YG6GDRKO-CzC11UAD.js} +2 -2
- package/dist/{channel-BgWUdIRw.js → channel-DZUw4Jym.js} +1 -1
- package/dist/{chunk-4BX2VUAB-DS0FUC4c.js → chunk-4BX2VUAB-QlwpQ37g.js} +1 -1
- package/dist/{chunk-55IACEB6-BmfAO3Gs.js → chunk-55IACEB6-DgsusDqn.js} +1 -1
- package/dist/{chunk-B4BG7PRW-DJhpx3a7.js → chunk-B4BG7PRW-CbDtd1_E.js} +4 -4
- package/dist/{chunk-DI55MBZ5-9KClYtUI.js → chunk-DI55MBZ5-gY6Ctlor.js} +3 -3
- package/dist/{chunk-FMBD7UC4-DEgKR2aK.js → chunk-FMBD7UC4-D8WRKfVU.js} +1 -1
- package/dist/{chunk-QN33PNHL-BsK9Xghy.js → chunk-QN33PNHL-wY4Ezg3J.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DkI929nz.js → chunk-QZHKN3VN-BHIfnb-O.js} +1 -1
- package/dist/{chunk-TZMSLE5B-B1ivHGP6.js → chunk-TZMSLE5B-CnoGb1rB.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-BKno_zkC.js → classDiagram-2ON5EDUG-CDZBJdHx.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-BKno_zkC.js → classDiagram-v2-WZHVMYZB-CDZBJdHx.js} +2 -2
- package/dist/{clone-B51D-6Zd.js → clone-Duhsnio3.js} +1 -1
- package/dist/{code-block-QI2IAROF-8bRuEjqD.js → code-block-QI2IAROF-CzSb8xF-.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-CcNlLEPd.js → cose-bilkent-S5V4N54A-BLZtkSUu.js} +2 -2
- package/dist/{dagre-6UL2VRFP-D7Busma-.js → dagre-6UL2VRFP-C0go1FWV.js} +109 -110
- package/dist/{diagram-PSM6KHXK-CWnIoq3N.js → diagram-PSM6KHXK-BZFNkNP-.js} +16 -16
- package/dist/{diagram-QEK2KX5R-B3RGWMKk.js → diagram-QEK2KX5R-BbUBKb5Z.js} +3 -3
- package/dist/{diagram-S2PKOQOG-BsBqg-YG.js → diagram-S2PKOQOG-DeT4C-Sp.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-CvIuG7Iw.js → erDiagram-Q2GNP2WA-VNDyUx_F.js} +4 -4
- package/dist/example-ui-web-shared.js +1 -1
- package/dist/example-ui-web-shared.umd.cjs +351 -351
- package/dist/{flowDiagram-NV44I4VS-CcwZxtO-.js → flowDiagram-NV44I4VS-CKppoJRW.js} +5 -5
- package/dist/{ganttDiagram-JELNMOA3-DqoII7Qh.js → ganttDiagram-JELNMOA3-Cd-Bx2Dj.js} +3 -3
- package/dist/{gitGraph-F6HP7TQM-BDKgl9YL.js → gitGraph-F6HP7TQM-CZUN3uDn.js} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-BUL11sl1.js → gitGraphDiagram-NY62KEGX-BLHYMkUI.js} +4 -4
- package/dist/graph-pMIG5nR2.js +381 -0
- package/dist/{index-BOMuRfvV.js → index-C0i3yfGY.js} +2 -2
- package/dist/info-NVLQJR56-Da1Yvbv-.js +5 -0
- package/dist/{infoDiagram-WHAUD3N6-ifZ2DZ3s.js → infoDiagram-WHAUD3N6-DLGOnr_j.js} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-B3DoA1hV.js → journeyDiagram-XKPGCS4Q-D1BVNBwf.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-BB7pFEqD.js → kanban-definition-3W4ZIXB7-BDXKA_XK.js} +2 -2
- package/dist/layout-BNC3zfeD.js +1441 -0
- package/dist/{linear-aF-fWbWE.js → linear-OBE0x2u6.js} +23 -23
- package/dist/mermaid-NA5CF7SZ-B9gXYNLm.js +4 -0
- package/dist/{mermaid-parser.core-wI6AXMvA.js → mermaid-parser.core-CUvjhjKj.js} +6714 -5493
- package/dist/{mermaid.core-6385Tvmf.js → mermaid.core-CHxrqvgN.js} +91 -93
- package/dist/min-kNLlT3kq.js +38 -0
- package/dist/{mindmap-definition-VGOIOE7T-Dr0Wz6z2.js → mindmap-definition-VGOIOE7T-CBGhaVLO.js} +11 -11
- package/dist/{packet-BFZMPI3H-CzOOgCi0.js → packet-BFZMPI3H-BG07uiH4.js} +1 -1
- package/dist/pie-7BOR55EZ-B3dNUVzf.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-463eEngi.js → pieDiagram-ADFJNKIX-sQvicivm.js} +9 -9
- package/dist/{quadrantDiagram-AYHSOK5B-DjcuzUKG.js → quadrantDiagram-AYHSOK5B-CkiGHUhu.js} +2 -2
- package/dist/radar-NHE76QYJ-NsnUnvCz.js +5 -0
- package/dist/{requirementDiagram-UZGBJVZJ-BOwMO9Yw.js → requirementDiagram-UZGBJVZJ-DNjBL8qo.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-DiBr8gMA.js → sankeyDiagram-TZEHDZUN-CMdHSmRX.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-D7yAl17W.js → sequenceDiagram-WL72ISMW-DMSMqtpw.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-DnEcctwl.js → stateDiagram-FKZM4ZOC-BzrNuizz.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-Bq6M2KMt.js → stateDiagram-v2-4FDKWEC3-Cor07J1O.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-D6YQK2KN.js → timeline-definition-IT6M3QCI-CFzHWgCi.js} +2 -2
- package/dist/{treemap-KMMF4GRG-BOUeHarA.js → treemap-KMMF4GRG-kkYB2_ss.js} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-BkwgZVoW.js → xychartDiagram-PRI3JC2R-Bs8wzjBy.js} +2 -2
- package/package.json +2 -2
- package/dist/_basePickBy-DpiOpcu8.js +0 -151
- package/dist/_baseUniq-BP66E-mI.js +0 -614
- package/dist/graph-CFHilF1e.js +0 -247
- package/dist/info-NVLQJR56-gx-uQAKc.js +0 -5
- package/dist/layout-C6IuyfpS.js +0 -1335
- package/dist/mermaid-NA5CF7SZ-O4rdCQT5.js +0 -4
- package/dist/pie-7BOR55EZ-D9T5cFFp.js +0 -5
- package/dist/radar-NHE76QYJ-DOqzibGg.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as qt } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { _ as m, n as Ot, l as $, c as b1, d as E1, o as Ht, r as Xt, u as it, b as Qt, s as Jt, p as Zt, a as $t, g as te, q as ee, k as se, t as ie, J as re, v as ae, x as st, y as ne, z as ue, A as oe } from "./mermaid.core-
|
|
3
|
-
import { g as le } from "./chunk-55IACEB6-
|
|
4
|
-
import { s as ce } from "./chunk-QN33PNHL-
|
|
5
|
-
import { c as he } from "./channel-
|
|
1
|
+
import { g as qt } from "./chunk-FMBD7UC4-D8WRKfVU.js";
|
|
2
|
+
import { _ as m, n as Ot, l as $, c as b1, d as E1, o as Ht, r as Xt, u as it, b as Qt, s as Jt, p as Zt, a as $t, g as te, q as ee, k as se, t as ie, J as re, v as ae, x as st, y as ne, z as ue, A as oe } from "./mermaid.core-CHxrqvgN.js";
|
|
3
|
+
import { g as le } from "./chunk-55IACEB6-DgsusDqn.js";
|
|
4
|
+
import { s as ce } from "./chunk-QN33PNHL-wY4Ezg3J.js";
|
|
5
|
+
import { c as he } from "./channel-DZUw4Jym.js";
|
|
6
6
|
var de = "flowchart-", G1, pe = (G1 = class {
|
|
7
7
|
// cspell:ignore funs
|
|
8
8
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as ae } from "./index-
|
|
3
|
-
import { b as Gn, t as He, c as jn, a as Qn, l as Jn } from "./linear-
|
|
1
|
+
import { ba as an, bb as Wn, bc as on, bd as cn, be as un, bf as ce, bg as $n, _ as d, g as On, s as Hn, q as Nn, p as Pn, a as Vn, b as zn, c as _t, d as Zt, e as Rn, bh as rt, l as Tt, k as qn, j as Zn, y as Bn, u as Xn } from "./mermaid.core-CHxrqvgN.js";
|
|
2
|
+
import { g as ae } from "./index-C0i3yfGY.js";
|
|
3
|
+
import { b as Gn, t as He, c as jn, a as Qn, l as Jn } from "./linear-OBE0x2u6.js";
|
|
4
4
|
import { i as Kn } from "./init-DjUOC4st.js";
|
|
5
5
|
function tr(t, e) {
|
|
6
6
|
let n;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as Y } from "./chunk-4BX2VUAB-
|
|
2
|
-
import { I as K } from "./chunk-QZHKN3VN-
|
|
3
|
-
import { _ as l, q as U, p as V, s as X, g as J, a as Q, b as Z, l as m, c as rr, d as er, u as tr, C as ar, y as sr, k as C, D as nr, E as or, F as cr, G as ir } from "./mermaid.core-
|
|
4
|
-
import { p as dr } from "./mermaid-parser.core-
|
|
1
|
+
import { p as Y } from "./chunk-4BX2VUAB-QlwpQ37g.js";
|
|
2
|
+
import { I as K } from "./chunk-QZHKN3VN-BHIfnb-O.js";
|
|
3
|
+
import { _ as l, q as U, p as V, s as X, g as J, a as Q, b as Z, l as m, c as rr, d as er, u as tr, C as ar, y as sr, k as C, D as nr, E as or, F as cr, G as ir } from "./mermaid.core-CHxrqvgN.js";
|
|
4
|
+
import { p as dr } from "./mermaid-parser.core-CUvjhjKj.js";
|
|
5
5
|
var p = {
|
|
6
6
|
NORMAL: 0,
|
|
7
7
|
REVERSE: 1,
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
import { aO as T, aP as C, aQ as z, aR as R, aS as S, aT as k, aU as V, aV as L, aW as K, aX as j, aY as ee, aZ as te, a_ as re, a$ as se, b0 as ne, b1 as ie, aE as ae, b2 as oe, b3 as ue, b4 as he, b5 as y, b6 as $, b7 as v } from "./mermaid.core-CHxrqvgN.js";
|
|
2
|
+
import { k as d, g as Y, s as de, e as ce, f as fe, h as ge, j as le, c as be, l as _e, b as pe, m, n as g, r as ye } from "./_baseUniq-cVV8eVk4.js";
|
|
3
|
+
function me(t, e) {
|
|
4
|
+
return t && T(e, d(e), t);
|
|
5
|
+
}
|
|
6
|
+
function je(t, e) {
|
|
7
|
+
return t && T(e, C(e), t);
|
|
8
|
+
}
|
|
9
|
+
function Te(t, e) {
|
|
10
|
+
return T(t, Y(t), e);
|
|
11
|
+
}
|
|
12
|
+
var Oe = Object.getOwnPropertySymbols, W = Oe ? function(t) {
|
|
13
|
+
for (var e = []; t; )
|
|
14
|
+
ce(e, Y(t)), t = z(t);
|
|
15
|
+
return e;
|
|
16
|
+
} : de;
|
|
17
|
+
function Ee(t, e) {
|
|
18
|
+
return T(t, W(t), e);
|
|
19
|
+
}
|
|
20
|
+
function Ae(t) {
|
|
21
|
+
return fe(t, C, W);
|
|
22
|
+
}
|
|
23
|
+
var Ce = Object.prototype, Le = Ce.hasOwnProperty;
|
|
24
|
+
function we(t) {
|
|
25
|
+
var e = t.length, r = new t.constructor(e);
|
|
26
|
+
return e && typeof t[0] == "string" && Le.call(t, "index") && (r.index = t.index, r.input = t.input), r;
|
|
27
|
+
}
|
|
28
|
+
function Ne(t, e) {
|
|
29
|
+
var r = e ? R(t.buffer) : t.buffer;
|
|
30
|
+
return new t.constructor(r, t.byteOffset, t.byteLength);
|
|
31
|
+
}
|
|
32
|
+
var Pe = /\w*$/;
|
|
33
|
+
function Fe(t) {
|
|
34
|
+
var e = new t.constructor(t.source, Pe.exec(t));
|
|
35
|
+
return e.lastIndex = t.lastIndex, e;
|
|
36
|
+
}
|
|
37
|
+
var I = S ? S.prototype : void 0, D = I ? I.valueOf : void 0;
|
|
38
|
+
function Se(t) {
|
|
39
|
+
return D ? Object(D.call(t)) : {};
|
|
40
|
+
}
|
|
41
|
+
var $e = "[object Boolean]", ve = "[object Date]", Ie = "[object Map]", De = "[object Number]", Me = "[object RegExp]", Ue = "[object Set]", Ge = "[object String]", xe = "[object Symbol]", Be = "[object ArrayBuffer]", Re = "[object DataView]", Ve = "[object Float32Array]", Ke = "[object Float64Array]", Ye = "[object Int8Array]", We = "[object Int16Array]", qe = "[object Int32Array]", He = "[object Uint8Array]", Qe = "[object Uint8ClampedArray]", Xe = "[object Uint16Array]", Ze = "[object Uint32Array]";
|
|
42
|
+
function Je(t, e, r) {
|
|
43
|
+
var s = t.constructor;
|
|
44
|
+
switch (e) {
|
|
45
|
+
case Be:
|
|
46
|
+
return R(t);
|
|
47
|
+
case $e:
|
|
48
|
+
case ve:
|
|
49
|
+
return new s(+t);
|
|
50
|
+
case Re:
|
|
51
|
+
return Ne(t, r);
|
|
52
|
+
case Ve:
|
|
53
|
+
case Ke:
|
|
54
|
+
case Ye:
|
|
55
|
+
case We:
|
|
56
|
+
case qe:
|
|
57
|
+
case He:
|
|
58
|
+
case Qe:
|
|
59
|
+
case Xe:
|
|
60
|
+
case Ze:
|
|
61
|
+
return k(t, r);
|
|
62
|
+
case Ie:
|
|
63
|
+
return new s();
|
|
64
|
+
case De:
|
|
65
|
+
case Ge:
|
|
66
|
+
return new s(t);
|
|
67
|
+
case Me:
|
|
68
|
+
return Fe(t);
|
|
69
|
+
case Ue:
|
|
70
|
+
return new s();
|
|
71
|
+
case xe:
|
|
72
|
+
return Se(t);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
var ze = "[object Map]";
|
|
76
|
+
function ke(t) {
|
|
77
|
+
return V(t) && L(t) == ze;
|
|
78
|
+
}
|
|
79
|
+
var M = j && j.isMap, et = M ? K(M) : ke, tt = "[object Set]";
|
|
80
|
+
function rt(t) {
|
|
81
|
+
return V(t) && L(t) == tt;
|
|
82
|
+
}
|
|
83
|
+
var U = j && j.isSet, st = U ? K(U) : rt, nt = 1, it = 2, at = 4, q = "[object Arguments]", ot = "[object Array]", ut = "[object Boolean]", ht = "[object Date]", dt = "[object Error]", H = "[object Function]", ct = "[object GeneratorFunction]", ft = "[object Map]", gt = "[object Number]", Q = "[object Object]", lt = "[object RegExp]", bt = "[object Set]", _t = "[object String]", pt = "[object Symbol]", yt = "[object WeakMap]", mt = "[object ArrayBuffer]", jt = "[object DataView]", Tt = "[object Float32Array]", Ot = "[object Float64Array]", Et = "[object Int8Array]", At = "[object Int16Array]", Ct = "[object Int32Array]", Lt = "[object Uint8Array]", wt = "[object Uint8ClampedArray]", Nt = "[object Uint16Array]", Pt = "[object Uint32Array]", o = {};
|
|
84
|
+
o[q] = o[ot] = o[mt] = o[jt] = o[ut] = o[ht] = o[Tt] = o[Ot] = o[Et] = o[At] = o[Ct] = o[ft] = o[gt] = o[Q] = o[lt] = o[bt] = o[_t] = o[pt] = o[Lt] = o[wt] = o[Nt] = o[Pt] = !0;
|
|
85
|
+
o[dt] = o[H] = o[yt] = !1;
|
|
86
|
+
function O(t, e, r, s, n, a) {
|
|
87
|
+
var i, u = e & nt, h = e & it, Z = e & at;
|
|
88
|
+
if (i !== void 0)
|
|
89
|
+
return i;
|
|
90
|
+
if (!ee(t))
|
|
91
|
+
return t;
|
|
92
|
+
var w = ae(t);
|
|
93
|
+
if (w) {
|
|
94
|
+
if (i = we(t), !u)
|
|
95
|
+
return te(t, i);
|
|
96
|
+
} else {
|
|
97
|
+
var b = L(t), N = b == H || b == ct;
|
|
98
|
+
if (re(t))
|
|
99
|
+
return se(t, u);
|
|
100
|
+
if (b == Q || b == q || N && !n) {
|
|
101
|
+
if (i = h || N ? {} : ne(t), !u)
|
|
102
|
+
return h ? Ee(t, je(i, t)) : Te(t, me(i, t));
|
|
103
|
+
} else {
|
|
104
|
+
if (!o[b])
|
|
105
|
+
return n ? t : {};
|
|
106
|
+
i = Je(t, b, u);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
a || (a = new ie());
|
|
110
|
+
var P = a.get(t);
|
|
111
|
+
if (P)
|
|
112
|
+
return P;
|
|
113
|
+
a.set(t, i), st(t) ? t.forEach(function(c) {
|
|
114
|
+
i.add(O(c, e, r, c, t, a));
|
|
115
|
+
}) : et(t) && t.forEach(function(c, f) {
|
|
116
|
+
i.set(f, O(c, e, r, f, t, a));
|
|
117
|
+
});
|
|
118
|
+
var J = Z ? h ? Ae : ge : h ? C : d, F = w ? void 0 : J(t);
|
|
119
|
+
return le(F || t, function(c, f) {
|
|
120
|
+
F && (f = c, c = t[f]), oe(i, f, O(c, e, r, f, t, a));
|
|
121
|
+
}), i;
|
|
122
|
+
}
|
|
123
|
+
function Ft(t, e) {
|
|
124
|
+
return be(e, function(r) {
|
|
125
|
+
return t[r];
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
function E(t) {
|
|
129
|
+
return t == null ? [] : Ft(t, d(t));
|
|
130
|
+
}
|
|
131
|
+
function _(t) {
|
|
132
|
+
return t === void 0;
|
|
133
|
+
}
|
|
134
|
+
var St = ue(function(t) {
|
|
135
|
+
return _e(pe(t, 1, he, !0));
|
|
136
|
+
}), $t = "\0", l = "\0", G = "";
|
|
137
|
+
class X {
|
|
138
|
+
constructor(e = {}) {
|
|
139
|
+
this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed") ? e.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = y(void 0), this._defaultEdgeLabelFn = y(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[l] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
|
|
140
|
+
}
|
|
141
|
+
/* === Graph functions ========= */
|
|
142
|
+
isDirected() {
|
|
143
|
+
return this._isDirected;
|
|
144
|
+
}
|
|
145
|
+
isMultigraph() {
|
|
146
|
+
return this._isMultigraph;
|
|
147
|
+
}
|
|
148
|
+
isCompound() {
|
|
149
|
+
return this._isCompound;
|
|
150
|
+
}
|
|
151
|
+
setGraph(e) {
|
|
152
|
+
return this._label = e, this;
|
|
153
|
+
}
|
|
154
|
+
graph() {
|
|
155
|
+
return this._label;
|
|
156
|
+
}
|
|
157
|
+
/* === Node functions ========== */
|
|
158
|
+
setDefaultNodeLabel(e) {
|
|
159
|
+
return $(e) || (e = y(e)), this._defaultNodeLabelFn = e, this;
|
|
160
|
+
}
|
|
161
|
+
nodeCount() {
|
|
162
|
+
return this._nodeCount;
|
|
163
|
+
}
|
|
164
|
+
nodes() {
|
|
165
|
+
return d(this._nodes);
|
|
166
|
+
}
|
|
167
|
+
sources() {
|
|
168
|
+
var e = this;
|
|
169
|
+
return m(this.nodes(), function(r) {
|
|
170
|
+
return v(e._in[r]);
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
sinks() {
|
|
174
|
+
var e = this;
|
|
175
|
+
return m(this.nodes(), function(r) {
|
|
176
|
+
return v(e._out[r]);
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
setNodes(e, r) {
|
|
180
|
+
var s = arguments, n = this;
|
|
181
|
+
return g(e, function(a) {
|
|
182
|
+
s.length > 1 ? n.setNode(a, r) : n.setNode(a);
|
|
183
|
+
}), this;
|
|
184
|
+
}
|
|
185
|
+
setNode(e, r) {
|
|
186
|
+
return Object.prototype.hasOwnProperty.call(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = r), this) : (this._nodes[e] = arguments.length > 1 ? r : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = l, this._children[e] = {}, this._children[l][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
|
|
187
|
+
}
|
|
188
|
+
node(e) {
|
|
189
|
+
return this._nodes[e];
|
|
190
|
+
}
|
|
191
|
+
hasNode(e) {
|
|
192
|
+
return Object.prototype.hasOwnProperty.call(this._nodes, e);
|
|
193
|
+
}
|
|
194
|
+
removeNode(e) {
|
|
195
|
+
if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
|
|
196
|
+
var r = (s) => this.removeEdge(this._edgeObjs[s]);
|
|
197
|
+
delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], g(this.children(e), (s) => {
|
|
198
|
+
this.setParent(s);
|
|
199
|
+
}), delete this._children[e]), g(d(this._in[e]), r), delete this._in[e], delete this._preds[e], g(d(this._out[e]), r), delete this._out[e], delete this._sucs[e], --this._nodeCount;
|
|
200
|
+
}
|
|
201
|
+
return this;
|
|
202
|
+
}
|
|
203
|
+
setParent(e, r) {
|
|
204
|
+
if (!this._isCompound)
|
|
205
|
+
throw new Error("Cannot set parent in a non-compound graph");
|
|
206
|
+
if (_(r))
|
|
207
|
+
r = l;
|
|
208
|
+
else {
|
|
209
|
+
r += "";
|
|
210
|
+
for (var s = r; !_(s); s = this.parent(s))
|
|
211
|
+
if (s === e)
|
|
212
|
+
throw new Error("Setting " + r + " as parent of " + e + " would create a cycle");
|
|
213
|
+
this.setNode(r);
|
|
214
|
+
}
|
|
215
|
+
return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = r, this._children[r][e] = !0, this;
|
|
216
|
+
}
|
|
217
|
+
_removeFromParentsChildList(e) {
|
|
218
|
+
delete this._children[this._parent[e]][e];
|
|
219
|
+
}
|
|
220
|
+
parent(e) {
|
|
221
|
+
if (this._isCompound) {
|
|
222
|
+
var r = this._parent[e];
|
|
223
|
+
if (r !== l)
|
|
224
|
+
return r;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
children(e) {
|
|
228
|
+
if (_(e) && (e = l), this._isCompound) {
|
|
229
|
+
var r = this._children[e];
|
|
230
|
+
if (r)
|
|
231
|
+
return d(r);
|
|
232
|
+
} else {
|
|
233
|
+
if (e === l)
|
|
234
|
+
return this.nodes();
|
|
235
|
+
if (this.hasNode(e))
|
|
236
|
+
return [];
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
predecessors(e) {
|
|
240
|
+
var r = this._preds[e];
|
|
241
|
+
if (r)
|
|
242
|
+
return d(r);
|
|
243
|
+
}
|
|
244
|
+
successors(e) {
|
|
245
|
+
var r = this._sucs[e];
|
|
246
|
+
if (r)
|
|
247
|
+
return d(r);
|
|
248
|
+
}
|
|
249
|
+
neighbors(e) {
|
|
250
|
+
var r = this.predecessors(e);
|
|
251
|
+
if (r)
|
|
252
|
+
return St(r, this.successors(e));
|
|
253
|
+
}
|
|
254
|
+
isLeaf(e) {
|
|
255
|
+
var r;
|
|
256
|
+
return this.isDirected() ? r = this.successors(e) : r = this.neighbors(e), r.length === 0;
|
|
257
|
+
}
|
|
258
|
+
filterNodes(e) {
|
|
259
|
+
var r = new this.constructor({
|
|
260
|
+
directed: this._isDirected,
|
|
261
|
+
multigraph: this._isMultigraph,
|
|
262
|
+
compound: this._isCompound
|
|
263
|
+
});
|
|
264
|
+
r.setGraph(this.graph());
|
|
265
|
+
var s = this;
|
|
266
|
+
g(this._nodes, function(i, u) {
|
|
267
|
+
e(u) && r.setNode(u, i);
|
|
268
|
+
}), g(this._edgeObjs, function(i) {
|
|
269
|
+
r.hasNode(i.v) && r.hasNode(i.w) && r.setEdge(i, s.edge(i));
|
|
270
|
+
});
|
|
271
|
+
var n = {};
|
|
272
|
+
function a(i) {
|
|
273
|
+
var u = s.parent(i);
|
|
274
|
+
return u === void 0 || r.hasNode(u) ? (n[i] = u, u) : u in n ? n[u] : a(u);
|
|
275
|
+
}
|
|
276
|
+
return this._isCompound && g(r.nodes(), function(i) {
|
|
277
|
+
r.setParent(i, a(i));
|
|
278
|
+
}), r;
|
|
279
|
+
}
|
|
280
|
+
/* === Edge functions ========== */
|
|
281
|
+
setDefaultEdgeLabel(e) {
|
|
282
|
+
return $(e) || (e = y(e)), this._defaultEdgeLabelFn = e, this;
|
|
283
|
+
}
|
|
284
|
+
edgeCount() {
|
|
285
|
+
return this._edgeCount;
|
|
286
|
+
}
|
|
287
|
+
edges() {
|
|
288
|
+
return E(this._edgeObjs);
|
|
289
|
+
}
|
|
290
|
+
setPath(e, r) {
|
|
291
|
+
var s = this, n = arguments;
|
|
292
|
+
return ye(e, function(a, i) {
|
|
293
|
+
return n.length > 1 ? s.setEdge(a, i, r) : s.setEdge(a, i), i;
|
|
294
|
+
}), this;
|
|
295
|
+
}
|
|
296
|
+
/*
|
|
297
|
+
* setEdge(v, w, [value, [name]])
|
|
298
|
+
* setEdge({ v, w, [name] }, [value])
|
|
299
|
+
*/
|
|
300
|
+
setEdge() {
|
|
301
|
+
var e, r, s, n, a = !1, i = arguments[0];
|
|
302
|
+
typeof i == "object" && i !== null && "v" in i ? (e = i.v, r = i.w, s = i.name, arguments.length === 2 && (n = arguments[1], a = !0)) : (e = i, r = arguments[1], s = arguments[3], arguments.length > 2 && (n = arguments[2], a = !0)), e = "" + e, r = "" + r, _(s) || (s = "" + s);
|
|
303
|
+
var u = p(this._isDirected, e, r, s);
|
|
304
|
+
if (Object.prototype.hasOwnProperty.call(this._edgeLabels, u))
|
|
305
|
+
return a && (this._edgeLabels[u] = n), this;
|
|
306
|
+
if (!_(s) && !this._isMultigraph)
|
|
307
|
+
throw new Error("Cannot set a named edge when isMultigraph = false");
|
|
308
|
+
this.setNode(e), this.setNode(r), this._edgeLabels[u] = a ? n : this._defaultEdgeLabelFn(e, r, s);
|
|
309
|
+
var h = vt(this._isDirected, e, r, s);
|
|
310
|
+
return e = h.v, r = h.w, Object.freeze(h), this._edgeObjs[u] = h, x(this._preds[r], e), x(this._sucs[e], r), this._in[r][u] = h, this._out[e][u] = h, this._edgeCount++, this;
|
|
311
|
+
}
|
|
312
|
+
edge(e, r, s) {
|
|
313
|
+
var n = arguments.length === 1 ? A(this._isDirected, arguments[0]) : p(this._isDirected, e, r, s);
|
|
314
|
+
return this._edgeLabels[n];
|
|
315
|
+
}
|
|
316
|
+
hasEdge(e, r, s) {
|
|
317
|
+
var n = arguments.length === 1 ? A(this._isDirected, arguments[0]) : p(this._isDirected, e, r, s);
|
|
318
|
+
return Object.prototype.hasOwnProperty.call(this._edgeLabels, n);
|
|
319
|
+
}
|
|
320
|
+
removeEdge(e, r, s) {
|
|
321
|
+
var n = arguments.length === 1 ? A(this._isDirected, arguments[0]) : p(this._isDirected, e, r, s), a = this._edgeObjs[n];
|
|
322
|
+
return a && (e = a.v, r = a.w, delete this._edgeLabels[n], delete this._edgeObjs[n], B(this._preds[r], e), B(this._sucs[e], r), delete this._in[r][n], delete this._out[e][n], this._edgeCount--), this;
|
|
323
|
+
}
|
|
324
|
+
inEdges(e, r) {
|
|
325
|
+
var s = this._in[e];
|
|
326
|
+
if (s) {
|
|
327
|
+
var n = E(s);
|
|
328
|
+
return r ? m(n, function(a) {
|
|
329
|
+
return a.v === r;
|
|
330
|
+
}) : n;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
outEdges(e, r) {
|
|
334
|
+
var s = this._out[e];
|
|
335
|
+
if (s) {
|
|
336
|
+
var n = E(s);
|
|
337
|
+
return r ? m(n, function(a) {
|
|
338
|
+
return a.w === r;
|
|
339
|
+
}) : n;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
nodeEdges(e, r) {
|
|
343
|
+
var s = this.inEdges(e, r);
|
|
344
|
+
if (s)
|
|
345
|
+
return s.concat(this.outEdges(e, r));
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
X.prototype._nodeCount = 0;
|
|
349
|
+
X.prototype._edgeCount = 0;
|
|
350
|
+
function x(t, e) {
|
|
351
|
+
t[e] ? t[e]++ : t[e] = 1;
|
|
352
|
+
}
|
|
353
|
+
function B(t, e) {
|
|
354
|
+
--t[e] || delete t[e];
|
|
355
|
+
}
|
|
356
|
+
function p(t, e, r, s) {
|
|
357
|
+
var n = "" + e, a = "" + r;
|
|
358
|
+
if (!t && n > a) {
|
|
359
|
+
var i = n;
|
|
360
|
+
n = a, a = i;
|
|
361
|
+
}
|
|
362
|
+
return n + G + a + G + (_(s) ? $t : s);
|
|
363
|
+
}
|
|
364
|
+
function vt(t, e, r, s) {
|
|
365
|
+
var n = "" + e, a = "" + r;
|
|
366
|
+
if (!t && n > a) {
|
|
367
|
+
var i = n;
|
|
368
|
+
n = a, a = i;
|
|
369
|
+
}
|
|
370
|
+
var u = { v: n, w: a };
|
|
371
|
+
return s && (u.name = s), u;
|
|
372
|
+
}
|
|
373
|
+
function A(t, e) {
|
|
374
|
+
return p(t, e.v, e.w, e.name);
|
|
375
|
+
}
|
|
376
|
+
export {
|
|
377
|
+
X as G,
|
|
378
|
+
O as b,
|
|
379
|
+
_ as i,
|
|
380
|
+
E as v
|
|
381
|
+
};
|
|
@@ -37511,7 +37511,7 @@ var Le = (...e) => tw(xm(e)), Pa = (e, t, r) => {
|
|
|
37511
37511
|
};
|
|
37512
37512
|
return r ? S.jsxs("div", { className: "group relative my-4 inline-block", "data-streamdown": "image-wrapper", children: [S.jsx("img", { alt: n, className: Le("max-w-full rounded-lg", t), "data-streamdown": "image", src: r, ...a }), S.jsx("div", { className: "pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block" }), S.jsx("button", { className: Le("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background", "opacity-0 group-hover:opacity-100"), onClick: i, title: "Download image", type: "button", children: S.jsx(vl, { size: 14 }) })] }) : null;
|
|
37513
37513
|
}, u_ = async (e) => {
|
|
37514
|
-
let t = { startOnLoad: !1, theme: "default", securityLevel: "strict", fontFamily: "monospace", suppressErrorRendering: !0, ...e }, r = (await import("./mermaid.core-
|
|
37514
|
+
let t = { startOnLoad: !1, theme: "default", securityLevel: "strict", fontFamily: "monospace", suppressErrorRendering: !0, ...e }, r = (await import("./mermaid.core-CHxrqvgN.js").then((n) => n.bA)).default;
|
|
37515
37515
|
return r.initialize(t), r;
|
|
37516
37516
|
}, MV = (e, t) => {
|
|
37517
37517
|
var r;
|
|
@@ -37734,7 +37734,7 @@ var Le = (...e) => tw(xm(e)), Pa = (e, t, r) => {
|
|
|
37734
37734
|
document.removeEventListener("mousedown", u);
|
|
37735
37735
|
};
|
|
37736
37736
|
}, []), S.jsxs("div", { className: "relative", ref: o, children: [S.jsx("button", { className: Le("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50", t), disabled: s, onClick: () => i(!a), title: "Download table", type: "button", children: e ?? S.jsx(vl, { size: 14 }) }), a && S.jsxs("div", { className: "absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg", children: [S.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => l("csv"), title: "Download table as CSV", type: "button", children: "CSV" }), S.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => l("markdown"), title: "Download table as Markdown", type: "button", children: "Markdown" })] })] });
|
|
37737
|
-
}, jV = ({ children: e, className: t, showControls: r, ...n }) => S.jsxs("div", { className: "my-4 flex flex-col space-y-2", "data-streamdown": "table-wrapper", children: [r && S.jsxs("div", { className: "flex items-center justify-end gap-1", children: [S.jsx(HV, {}), S.jsx(qV, {})] }), S.jsx("div", { className: "overflow-x-auto", children: S.jsx("table", { className: Le("w-full border-collapse border border-border", t), "data-streamdown": "table", ...n, children: e }) })] }), GV = B3(() => import("./code-block-QI2IAROF-
|
|
37737
|
+
}, jV = ({ children: e, className: t, showControls: r, ...n }) => S.jsxs("div", { className: "my-4 flex flex-col space-y-2", "data-streamdown": "table-wrapper", children: [r && S.jsxs("div", { className: "flex items-center justify-end gap-1", children: [S.jsx(HV, {}), S.jsx(qV, {})] }), S.jsx("div", { className: "overflow-x-auto", children: S.jsx("table", { className: Le("w-full border-collapse border border-border", t), "data-streamdown": "table", ...n, children: e }) })] }), GV = B3(() => import("./code-block-QI2IAROF-CzSb8xF-.js").then((e) => ({ default: e.CodeBlock }))), VV = B3(() => import("./mermaid-NA5CF7SZ-B9gXYNLm.js").then((e) => ({ default: e.Mermaid }))), WV = /language-([^\s]+)/;
|
|
37738
37738
|
function wl(e, t) {
|
|
37739
37739
|
if (!(e != null && e.position || t != null && t.position)) return !0;
|
|
37740
37740
|
if (!(e != null && e.position && t != null && t.position)) return !1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e, l as s, H as o, e as i, I as g } from "./mermaid.core-
|
|
2
|
-
import { p } from "./mermaid-parser.core-
|
|
1
|
+
import { _ as e, l as s, H as o, e as i, I as g } from "./mermaid.core-CHxrqvgN.js";
|
|
2
|
+
import { p } from "./mermaid-parser.core-CUvjhjKj.js";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-TZMSLE5B-
|
|
2
|
-
import { g as kt } from "./chunk-FMBD7UC4-
|
|
3
|
-
import { _ as n, g as _t, s as vt, a as bt, b as wt, q as Tt, p as St, c as R, d as X, e as $t, y as Mt } from "./mermaid.core-
|
|
4
|
-
import { d as et } from "./arc-
|
|
1
|
+
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-TZMSLE5B-CnoGb1rB.js";
|
|
2
|
+
import { g as kt } from "./chunk-FMBD7UC4-D8WRKfVU.js";
|
|
3
|
+
import { _ as n, g as _t, s as vt, a as bt, b as wt, q as Tt, p as St, c as R, d as X, e as $t, y as Mt } from "./mermaid.core-CHxrqvgN.js";
|
|
4
|
+
import { d as et } from "./arc-K1FrNqso.js";
|
|
5
5
|
var U = (function() {
|
|
6
6
|
var t = /* @__PURE__ */ n(function(h, i, a, l) {
|
|
7
7
|
for (a = a || {}, l = h.length; l--; a[h[l]] = i) ;
|
package/dist/{kanban-definition-3W4ZIXB7-BB7pFEqD.js → kanban-definition-3W4ZIXB7-BDXKA_XK.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o, l as te, c as U, H as fe, af as ye, ag as be, ah as me, V as _e, F as Y, i as j, t as Ee, J as ke, W as Se, X as ce, Y as le } from "./mermaid.core-
|
|
2
|
-
import { g as Ne } from "./chunk-FMBD7UC4-
|
|
1
|
+
import { _ as o, l as te, c as U, H as fe, af as ye, ag as be, ah as me, V as _e, F as Y, i as j, t as Ee, J as ke, W as Se, X as ce, Y as le } from "./mermaid.core-CHxrqvgN.js";
|
|
2
|
+
import { g as Ne } from "./chunk-FMBD7UC4-D8WRKfVU.js";
|
|
3
3
|
var $ = (function() {
|
|
4
4
|
var e = /* @__PURE__ */ o(function(O, i, n, r) {
|
|
5
5
|
for (n = n || {}, r = O.length; r--; n[O[r]] = i) ;
|