@kong-ui-public/documentation 1.1.2 → 1.1.4
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/{_basePickBy-zlkqRmFy-CQP0PMRw.js → _basePickBy-zlkqRmFy-Dq-PK6tA.js} +27 -27
- package/dist/_baseUniq-SAfYgIkf-DhYxnvgt.js +614 -0
- package/dist/{arc-CK9P6CkJ-B3oiAYoG.js → arc-CK9P6CkJ-lihx_wEv.js} +31 -31
- package/dist/{architecture-I3QFYML2-DJzmbE4M-BYAx4I-4.js → architecture-I3QFYML2-DJzmbE4M-B5s0Q1wg.js} +1 -1
- package/dist/{architectureDiagram-UYN6MBPD-DkZdgpXi-BC7nb0IZ.js → architectureDiagram-UYN6MBPD-DkZdgpXi-CC-fAW7y.js} +850 -850
- package/dist/{blockDiagram-ZHA2E4KO-DnCMGCMN-CU7ARVHN.js → blockDiagram-ZHA2E4KO-DnCMGCMN-B9tod6Dk.js} +477 -477
- package/dist/{c4Diagram-6F5ED5ID-D5yqWyf0-DEuKG0sN.js → c4Diagram-6F5ED5ID-D5yqWyf0-B1iuFSQ1.js} +203 -203
- package/dist/{channel-bVcNKbrJ-C4S-4qV3.js → channel-bVcNKbrJ-DEGmvXXN.js} +1 -1
- package/dist/{chunk-5HRBRIJM-BjQ8go1b-733bxiZ-.js → chunk-5HRBRIJM-BjQ8go1b-BszOhLz8.js} +4 -4
- package/dist/{chunk-7U56Z5CX-awhAxjZ0-DpUJ4fo1.js → chunk-7U56Z5CX-awhAxjZ0-CHd4qyz3.js} +120 -120
- package/dist/{chunk-ASOPGD6M-B5bA_saK-C3yF9T7p.js → chunk-ASOPGD6M-B5bA_saK-RaS3hIfR.js} +1 -1
- package/dist/{chunk-KFBOBJHC-nixdujtH-B4639Jmi.js → chunk-KFBOBJHC-nixdujtH-DCajFn7e.js} +1 -1
- package/dist/{chunk-T2TOU4HS-DqOVhIzl-piSN2Cjl.js → chunk-T2TOU4HS-DqOVhIzl-1waDvYDY.js} +229 -229
- package/dist/{chunk-TMUBEWPD-BRIzn5gH-SlHeKBx9.js → chunk-TMUBEWPD-BRIzn5gH-Ch1SRQ7H.js} +1 -1
- package/dist/{classDiagram-LNE6IOMH-fQzyXfo--C9LjXboP.js → classDiagram-LNE6IOMH-fQzyXfo--BpuwdnmV.js} +4 -4
- package/dist/{classDiagram-v2-MQ7JQ4JX-fQzyXfo--C9LjXboP.js → classDiagram-v2-MQ7JQ4JX-fQzyXfo--BpuwdnmV.js} +4 -4
- package/dist/{clone-_5SW34SG-DtUOH1l1.js → clone-_5SW34SG-BWxdvZXA.js} +1 -1
- package/dist/{cytoscape.esm-DAyNQ0qu-B7WxGuVh.js → cytoscape.esm-DAyNQ0qu-i5PnoWfE.js} +976 -976
- package/dist/{dagre-4EVJKHTY-CcAruc30-DaOjmyb6.js → dagre-4EVJKHTY-CcAruc30-H9W22Yky.js} +85 -85
- package/dist/{diagram-QW4FP2JN-DZT_0aFO-YCKYx1k-.js → diagram-QW4FP2JN-DZT_0aFO-AmG94tp5.js} +21 -21
- package/dist/documentation.es.js +1 -1
- package/dist/{erDiagram-6RL3IURR-BfgUC5jv-CS9Q9iKF.js → erDiagram-6RL3IURR-BfgUC5jv-BNzxBFoY.js} +201 -201
- package/dist/{flowDiagram-7ASYPVHJ-Bo9CnsE7-CkM-DJdr.js → flowDiagram-7ASYPVHJ-Bo9CnsE7-CSLq7kw9.js} +222 -222
- package/dist/{ganttDiagram-NTVNEXSI-8E9hjd6N-iN-VNXrV.js → ganttDiagram-NTVNEXSI-8E9hjd6N-CjQQCbaM.js} +16 -16
- package/dist/{gitGraph-YCYPL57B-BnErPIwo-DWobPBzL.js → gitGraph-YCYPL57B-BnErPIwo-DxQPpoWq.js} +1 -1
- package/dist/{gitGraphDiagram-NRZ2UAAF-B-t90-9e-Co4q5oQK.js → gitGraphDiagram-NRZ2UAAF-B-t90-9e-B6JY8bWo.js} +17 -17
- package/dist/{graph-BYZMvqpu-BpeF1PUA.js → graph-BYZMvqpu-CWGqkYZM.js} +43 -43
- package/dist/{index-ZM4BlVwk.js → index-BXOX6oou.js} +3487 -3487
- package/dist/{info-46DW6VJ7-DPpbx_vA-CnDg11wg.js → info-46DW6VJ7-DPpbx_vA-BmAPar7H.js} +1 -1
- package/dist/{infoDiagram-A4XQUW5V-Bo9uoOcA-WvvF1295.js → infoDiagram-A4XQUW5V-Bo9uoOcA-CtFRRRot.js} +2 -2
- package/dist/{journeyDiagram-G5WM74LC-BE7U42Ad-BFF_wJwi.js → journeyDiagram-G5WM74LC-BE7U42Ad-of9fN5Vr.js} +173 -173
- package/dist/{kanban-definition-QRCXZQQD-C-5-UNRm-LjA3yK5r.js → kanban-definition-QRCXZQQD-C-5-UNRm-DecJsseT.js} +168 -168
- package/dist/{katex-Qk2jHgyB-CF_fuFJb.js → katex-Qk2jHgyB-_qyJ_37x.js} +1054 -1054
- package/dist/{layout-BHI4imdk-DgoNZaqw.js → layout-BHI4imdk-BlkmyDbe.js} +19 -19
- package/dist/{linear-C2PheBya-wGRbEA3e.js → linear-C2PheBya-DijeUNjP.js} +2 -2
- package/dist/{mermaid-parser.core-Ce96PX3Q-DPc-bPXG.js → mermaid-parser.core-Ce96PX3Q-DtNzRUJ7.js} +32 -32
- package/dist/{mindmap-definition-GWI6TPTV-C98Syvj2-DOvfo2r8.js → mindmap-definition-GWI6TPTV-C98Syvj2-Btvji3Oh.js} +421 -421
- package/dist/{packet-W2GHVCYJ-BLiQbm7T-DbS7CM6G.js → packet-W2GHVCYJ-BLiQbm7T-E8ztaW67.js} +1 -1
- package/dist/{pie-BEWT4RHE-D3Mbo3mT-DB-aeuYE.js → pie-BEWT4RHE-D3Mbo3mT-BGVGE8TE.js} +1 -1
- package/dist/{pieDiagram-YF2LJOPJ-BJV27s9B-DS-nBsbY.js → pieDiagram-YF2LJOPJ-BJV27s9B-DVrzAwZP.js} +20 -20
- package/dist/{quadrantDiagram-OS5C2QUG-M57vVPSx-DMjI1wdt.js → quadrantDiagram-OS5C2QUG-M57vVPSx-DrN-qVPg.js} +131 -131
- package/dist/{requirementDiagram-MIRIMTAZ-D0KDg7rf-DeEsJ26T.js → requirementDiagram-MIRIMTAZ-D0KDg7rf-FCJNuddX.js} +77 -77
- package/dist/{sankeyDiagram-Y46BX6SQ-D6EdYPdp-BA6cRE1h.js → sankeyDiagram-Y46BX6SQ-D6EdYPdp-ClC_w0Hg.js} +108 -108
- package/dist/{sequenceDiagram-G6AWOVSC-B171TAb1-DMtStdxJ.js → sequenceDiagram-G6AWOVSC-B171TAb1-B6jBix6L.js} +181 -181
- package/dist/{stateDiagram-MAYHULR4-D7FUnT9_-Du3mnoL2.js → stateDiagram-MAYHULR4-D7FUnT9_-B7dSTUAT.js} +81 -81
- package/dist/{stateDiagram-v2-4JROLMXI-Cyc74STT-DR1h52WB.js → stateDiagram-v2-4JROLMXI-Cyc74STT-BhUBvhmS.js} +4 -4
- package/dist/{timeline-definition-U7ZMHBDA-Bw-dp1yf-BO9wUMSJ.js → timeline-definition-U7ZMHBDA-Bw-dp1yf-DAx9hgzp.js} +126 -126
- package/dist/{xychartDiagram-6QU3TZC5-CqbTSF5W-CwiL6udJ.js → xychartDiagram-6QU3TZC5-CqbTSF5W-Dy5Ia8cd.js} +70 -70
- package/package.json +2 -2
- package/dist/_baseUniq-SAfYgIkf-BO_CV6Oz.js +0 -614
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _,
|
|
1
|
+
import { _, ak as xt, aj as kt, a5 as vt, a6 as bt, a8 as wt, a7 as St, g as lt, ap as Et, a9 as Q, bk as Lt, aq as Mt, ag as At } from "./index-BXOX6oou.js";
|
|
2
2
|
import { h as Tt } from "./ordinal-DfAQgscy-BEJTu10r.js";
|
|
3
3
|
function Dt(t) {
|
|
4
4
|
for (var n = t.length / 6 | 0, r = new Array(n), a = 0; a < n; ) r[a] = "#" + t.slice(a * 6, ++a * 6);
|
|
@@ -61,10 +61,10 @@ function R(t) {
|
|
|
61
61
|
return t;
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function ut(t, n) {
|
|
65
65
|
return X(t.source, n.source) || t.index - n.index;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function ht(t, n) {
|
|
68
68
|
return X(t.target, n.target) || t.index - n.index;
|
|
69
69
|
}
|
|
70
70
|
function X(t, n) {
|
|
@@ -73,10 +73,10 @@ function X(t, n) {
|
|
|
73
73
|
function et(t) {
|
|
74
74
|
return t.value;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function jt(t) {
|
|
77
77
|
return t.index;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function $t(t) {
|
|
80
80
|
return t.nodes;
|
|
81
81
|
}
|
|
82
82
|
function zt(t) {
|
|
@@ -97,7 +97,7 @@ function yt({ nodes: t }) {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
function Ft() {
|
|
100
|
-
let t = 0, n = 0, r = 1, a = 1, c = 24, k = 8, d, m =
|
|
100
|
+
let t = 0, n = 0, r = 1, a = 1, c = 24, k = 8, d, m = jt, i = _t, o, f, p = $t, y = zt, w = 6;
|
|
101
101
|
function v() {
|
|
102
102
|
const e = { nodes: p.apply(null, arguments), links: y.apply(null, arguments) };
|
|
103
103
|
return P(e), A(e), T(e), O(e), C(e), yt(e), e;
|
|
@@ -127,165 +127,165 @@ function Ft() {
|
|
|
127
127
|
}, v.iterations = function(e) {
|
|
128
128
|
return arguments.length ? (w = +e, v) : w;
|
|
129
129
|
};
|
|
130
|
-
function P({ nodes: e, links:
|
|
131
|
-
for (const [
|
|
132
|
-
s.index =
|
|
133
|
-
const l = new Map(e.map((
|
|
134
|
-
for (const [
|
|
135
|
-
s.index =
|
|
130
|
+
function P({ nodes: e, links: h }) {
|
|
131
|
+
for (const [u, s] of e.entries())
|
|
132
|
+
s.index = u, s.sourceLinks = [], s.targetLinks = [];
|
|
133
|
+
const l = new Map(e.map((u, s) => [m(u, s, e), u]));
|
|
134
|
+
for (const [u, s] of h.entries()) {
|
|
135
|
+
s.index = u;
|
|
136
136
|
let { source: x, target: b } = s;
|
|
137
137
|
typeof x != "object" && (x = s.source = ft(l, x)), typeof b != "object" && (b = s.target = ft(l, b)), x.sourceLinks.push(s), b.targetLinks.push(s);
|
|
138
138
|
}
|
|
139
139
|
if (f != null)
|
|
140
|
-
for (const { sourceLinks:
|
|
141
|
-
|
|
140
|
+
for (const { sourceLinks: u, targetLinks: s } of e)
|
|
141
|
+
u.sort(f), s.sort(f);
|
|
142
142
|
}
|
|
143
143
|
function A({ nodes: e }) {
|
|
144
|
-
for (const
|
|
145
|
-
|
|
144
|
+
for (const h of e)
|
|
145
|
+
h.value = h.fixedValue === void 0 ? Math.max(tt(h.sourceLinks, et), tt(h.targetLinks, et)) : h.fixedValue;
|
|
146
146
|
}
|
|
147
147
|
function T({ nodes: e }) {
|
|
148
|
-
const
|
|
149
|
-
let l = new Set(e),
|
|
148
|
+
const h = e.length;
|
|
149
|
+
let l = new Set(e), u = /* @__PURE__ */ new Set(), s = 0;
|
|
150
150
|
for (; l.size; ) {
|
|
151
151
|
for (const x of l) {
|
|
152
152
|
x.depth = s;
|
|
153
153
|
for (const { target: b } of x.sourceLinks)
|
|
154
|
-
|
|
154
|
+
u.add(b);
|
|
155
155
|
}
|
|
156
|
-
if (++s >
|
|
157
|
-
l =
|
|
156
|
+
if (++s > h) throw new Error("circular link");
|
|
157
|
+
l = u, u = /* @__PURE__ */ new Set();
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
function O({ nodes: e }) {
|
|
161
|
-
const
|
|
162
|
-
let l = new Set(e),
|
|
161
|
+
const h = e.length;
|
|
162
|
+
let l = new Set(e), u = /* @__PURE__ */ new Set(), s = 0;
|
|
163
163
|
for (; l.size; ) {
|
|
164
164
|
for (const x of l) {
|
|
165
165
|
x.height = s;
|
|
166
166
|
for (const { source: b } of x.targetLinks)
|
|
167
|
-
|
|
167
|
+
u.add(b);
|
|
168
168
|
}
|
|
169
|
-
if (++s >
|
|
170
|
-
l =
|
|
169
|
+
if (++s > h) throw new Error("circular link");
|
|
170
|
+
l = u, u = /* @__PURE__ */ new Set();
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
function D({ nodes: e }) {
|
|
174
|
-
const
|
|
174
|
+
const h = ct(e, (s) => s.depth) + 1, l = (r - t - c) / (h - 1), u = new Array(h);
|
|
175
175
|
for (const s of e) {
|
|
176
|
-
const x = Math.max(0, Math.min(
|
|
177
|
-
s.layer = x, s.x0 = t + x * l, s.x1 = s.x0 + c,
|
|
176
|
+
const x = Math.max(0, Math.min(h - 1, Math.floor(i.call(null, s, h))));
|
|
177
|
+
s.layer = x, s.x0 = t + x * l, s.x1 = s.x0 + c, u[x] ? u[x].push(s) : u[x] = [s];
|
|
178
178
|
}
|
|
179
|
-
if (o) for (const s of
|
|
179
|
+
if (o) for (const s of u)
|
|
180
180
|
s.sort(o);
|
|
181
|
-
return
|
|
181
|
+
return u;
|
|
182
182
|
}
|
|
183
183
|
function S(e) {
|
|
184
|
-
const
|
|
184
|
+
const h = dt(e, (l) => (a - n - (l.length - 1) * d) / tt(l, et));
|
|
185
185
|
for (const l of e) {
|
|
186
|
-
let
|
|
186
|
+
let u = n;
|
|
187
187
|
for (const s of l) {
|
|
188
|
-
s.y0 =
|
|
188
|
+
s.y0 = u, s.y1 = u + s.value * h, u = s.y1 + d;
|
|
189
189
|
for (const x of s.sourceLinks)
|
|
190
|
-
x.width = x.value *
|
|
190
|
+
x.width = x.value * h;
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
u = (a - u + d) / (l.length + 1);
|
|
193
193
|
for (let s = 0; s < l.length; ++s) {
|
|
194
194
|
const x = l[s];
|
|
195
|
-
x.y0 +=
|
|
195
|
+
x.y0 += u * (s + 1), x.y1 += u * (s + 1);
|
|
196
196
|
}
|
|
197
|
-
|
|
197
|
+
j(l);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
function C(e) {
|
|
201
|
-
const
|
|
202
|
-
d = Math.min(k, (a - n) / (ct(
|
|
201
|
+
const h = D(e);
|
|
202
|
+
d = Math.min(k, (a - n) / (ct(h, (l) => l.length) - 1)), S(h);
|
|
203
203
|
for (let l = 0; l < w; ++l) {
|
|
204
|
-
const
|
|
205
|
-
N(
|
|
204
|
+
const u = Math.pow(0.99, l), s = Math.max(1 - u, (l + 1) / w);
|
|
205
|
+
N(h, u, s), I(h, u, s);
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
function I(e,
|
|
209
|
-
for (let
|
|
210
|
-
const x = e[
|
|
208
|
+
function I(e, h, l) {
|
|
209
|
+
for (let u = 1, s = e.length; u < s; ++u) {
|
|
210
|
+
const x = e[u];
|
|
211
211
|
for (const b of x) {
|
|
212
|
-
let V = 0,
|
|
213
|
-
for (const { source:
|
|
214
|
-
let
|
|
215
|
-
V += M(
|
|
212
|
+
let V = 0, $ = 0;
|
|
213
|
+
for (const { source: q, value: J } of b.targetLinks) {
|
|
214
|
+
let Y = J * (b.layer - q.layer);
|
|
215
|
+
V += M(q, b) * Y, $ += Y;
|
|
216
216
|
}
|
|
217
|
-
if (!(
|
|
218
|
-
let W = (V /
|
|
217
|
+
if (!($ > 0)) continue;
|
|
218
|
+
let W = (V / $ - b.y0) * h;
|
|
219
219
|
b.y0 += W, b.y1 += W, E(b);
|
|
220
220
|
}
|
|
221
221
|
o === void 0 && x.sort(X), g(x, l);
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
function N(e,
|
|
225
|
-
for (let
|
|
224
|
+
function N(e, h, l) {
|
|
225
|
+
for (let u = e.length, s = u - 2; s >= 0; --s) {
|
|
226
226
|
const x = e[s];
|
|
227
227
|
for (const b of x) {
|
|
228
|
-
let V = 0,
|
|
229
|
-
for (const { target:
|
|
230
|
-
let
|
|
231
|
-
V += U(b,
|
|
228
|
+
let V = 0, $ = 0;
|
|
229
|
+
for (const { target: q, value: J } of b.sourceLinks) {
|
|
230
|
+
let Y = J * (q.layer - b.layer);
|
|
231
|
+
V += U(b, q) * Y, $ += Y;
|
|
232
232
|
}
|
|
233
|
-
if (!(
|
|
234
|
-
let W = (V /
|
|
233
|
+
if (!($ > 0)) continue;
|
|
234
|
+
let W = (V / $ - b.y0) * h;
|
|
235
235
|
b.y0 += W, b.y1 += W, E(b);
|
|
236
236
|
}
|
|
237
237
|
o === void 0 && x.sort(X), g(x, l);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
function g(e,
|
|
241
|
-
const l = e.length >> 1,
|
|
242
|
-
G(e,
|
|
240
|
+
function g(e, h) {
|
|
241
|
+
const l = e.length >> 1, u = e[l];
|
|
242
|
+
G(e, u.y0 - d, l - 1, h), L(e, u.y1 + d, l + 1, h), G(e, a, e.length - 1, h), L(e, n, 0, h);
|
|
243
243
|
}
|
|
244
|
-
function L(e,
|
|
244
|
+
function L(e, h, l, u) {
|
|
245
245
|
for (; l < e.length; ++l) {
|
|
246
|
-
const s = e[l], x = (
|
|
247
|
-
x > 1e-6 && (s.y0 += x, s.y1 += x),
|
|
246
|
+
const s = e[l], x = (h - s.y0) * u;
|
|
247
|
+
x > 1e-6 && (s.y0 += x, s.y1 += x), h = s.y1 + d;
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
function G(e,
|
|
250
|
+
function G(e, h, l, u) {
|
|
251
251
|
for (; l >= 0; --l) {
|
|
252
|
-
const s = e[l], x = (s.y1 -
|
|
253
|
-
x > 1e-6 && (s.y0 -= x, s.y1 -= x),
|
|
252
|
+
const s = e[l], x = (s.y1 - h) * u;
|
|
253
|
+
x > 1e-6 && (s.y0 -= x, s.y1 -= x), h = s.y0 - d;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
function E({ sourceLinks: e, targetLinks:
|
|
256
|
+
function E({ sourceLinks: e, targetLinks: h }) {
|
|
257
257
|
if (f === void 0) {
|
|
258
|
-
for (const { source: { sourceLinks: l } } of
|
|
259
|
-
l.sort(ut);
|
|
260
|
-
for (const { target: { targetLinks: l } } of e)
|
|
258
|
+
for (const { source: { sourceLinks: l } } of h)
|
|
261
259
|
l.sort(ht);
|
|
260
|
+
for (const { target: { targetLinks: l } } of e)
|
|
261
|
+
l.sort(ut);
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function j(e) {
|
|
265
265
|
if (f === void 0)
|
|
266
|
-
for (const { sourceLinks:
|
|
267
|
-
|
|
266
|
+
for (const { sourceLinks: h, targetLinks: l } of e)
|
|
267
|
+
h.sort(ht), l.sort(ut);
|
|
268
268
|
}
|
|
269
|
-
function M(e,
|
|
269
|
+
function M(e, h) {
|
|
270
270
|
let l = e.y0 - (e.sourceLinks.length - 1) * d / 2;
|
|
271
|
-
for (const { target:
|
|
272
|
-
if (
|
|
271
|
+
for (const { target: u, width: s } of e.sourceLinks) {
|
|
272
|
+
if (u === h) break;
|
|
273
273
|
l += s + d;
|
|
274
274
|
}
|
|
275
|
-
for (const { source:
|
|
276
|
-
if (
|
|
275
|
+
for (const { source: u, width: s } of h.targetLinks) {
|
|
276
|
+
if (u === e) break;
|
|
277
277
|
l -= s;
|
|
278
278
|
}
|
|
279
279
|
return l;
|
|
280
280
|
}
|
|
281
|
-
function U(e,
|
|
282
|
-
let l =
|
|
283
|
-
for (const { source:
|
|
284
|
-
if (
|
|
281
|
+
function U(e, h) {
|
|
282
|
+
let l = h.y0 - (h.targetLinks.length - 1) * d / 2;
|
|
283
|
+
for (const { source: u, width: s } of h.targetLinks) {
|
|
284
|
+
if (u === e) break;
|
|
285
285
|
l += s + d;
|
|
286
286
|
}
|
|
287
|
-
for (const { target:
|
|
288
|
-
if (
|
|
287
|
+
for (const { target: u, width: s } of e.sourceLinks) {
|
|
288
|
+
if (u === h) break;
|
|
289
289
|
l -= s;
|
|
290
290
|
}
|
|
291
291
|
return l;
|
|
@@ -355,14 +355,14 @@ function Vt(t) {
|
|
|
355
355
|
return t[1];
|
|
356
356
|
}
|
|
357
357
|
var Wt = Array.prototype.slice;
|
|
358
|
-
function
|
|
358
|
+
function qt(t) {
|
|
359
359
|
return t.source;
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Yt(t) {
|
|
362
362
|
return t.target;
|
|
363
363
|
}
|
|
364
364
|
function Qt(t) {
|
|
365
|
-
var n =
|
|
365
|
+
var n = qt, r = Yt, a = Ut, c = Vt, k = null;
|
|
366
366
|
function d() {
|
|
367
367
|
var m, i = Wt.call(arguments), o = n.apply(this, i), f = r.apply(this, i);
|
|
368
368
|
if (k || (k = m = mt()), t(k, +a.apply(this, (i[0] = o, i)), +c.apply(this, i), +a.apply(this, (i[0] = f, i)), +c.apply(this, i)), m) return k = null, m + "" || null;
|
|
@@ -450,12 +450,12 @@ var at = function() {
|
|
|
450
450
|
return b = f.pop() || S.lex() || O, typeof b != "number" && (b instanceof Array && (f = b, b = f.pop()), b = i.symbols_[b] || b), b;
|
|
451
451
|
}
|
|
452
452
|
_(G, "lex");
|
|
453
|
-
for (var E,
|
|
454
|
-
if (
|
|
453
|
+
for (var E, j, M, U, e = {}, h, l, u, s; ; ) {
|
|
454
|
+
if (j = o[o.length - 1], this.defaultActions[j] ? M = this.defaultActions[j] : ((E === null || typeof E > "u") && (E = G()), M = w[j] && w[j][E]), typeof M > "u" || !M.length || !M[0]) {
|
|
455
455
|
var x = "";
|
|
456
456
|
s = [];
|
|
457
|
-
for (
|
|
458
|
-
this.terminals_[
|
|
457
|
+
for (h in w[j])
|
|
458
|
+
this.terminals_[h] && h > T && s.push("'" + this.terminals_[h] + "'");
|
|
459
459
|
S.showPosition ? x = "Parse error on line " + (P + 1) + `:
|
|
460
460
|
` + S.showPosition() + `
|
|
461
461
|
Expecting ` + s.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : x = "Parse error on line " + (P + 1) + ": Unexpected " + (E == O ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(x, {
|
|
@@ -467,7 +467,7 @@ Expecting ` + s.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : x = "
|
|
|
467
467
|
});
|
|
468
468
|
}
|
|
469
469
|
if (M[0] instanceof Array && M.length > 1)
|
|
470
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
470
|
+
throw new Error("Parse Error: multiple actions possible at state: " + j + ", token: " + E);
|
|
471
471
|
switch (M[0]) {
|
|
472
472
|
case 1:
|
|
473
473
|
o.push(E), p.push(S.yytext), y.push(S.yylloc), o.push(M[1]), E = null, A = S.yyleng, v = S.yytext, P = S.yylineno, N = S.yylloc;
|
|
@@ -491,7 +491,7 @@ Expecting ` + s.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : x = "
|
|
|
491
491
|
y
|
|
492
492
|
].concat(D)), typeof U < "u")
|
|
493
493
|
return U;
|
|
494
|
-
l && (o = o.slice(0, -1 * l * 2), p = p.slice(0, -1 * l), y = y.slice(0, -1 * l)), o.push(this.productions_[M[1]][0]), p.push(e.$), y.push(e._$),
|
|
494
|
+
l && (o = o.slice(0, -1 * l * 2), p = p.slice(0, -1 * l), y = y.slice(0, -1 * l)), o.push(this.productions_[M[1]][0]), p.push(e.$), y.push(e._$), u = w[o[o.length - 2]][o[o.length - 1]], o.push(u);
|
|
495
495
|
break;
|
|
496
496
|
case 3:
|
|
497
497
|
return !0;
|
|
@@ -702,7 +702,7 @@ Expecting ` + s.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : x = "
|
|
|
702
702
|
}();
|
|
703
703
|
at.parser = at;
|
|
704
704
|
var K = at, B = [], H = [], Z = /* @__PURE__ */ new Map(), Ht = /* @__PURE__ */ _(() => {
|
|
705
|
-
B = [], H = [], Z = /* @__PURE__ */ new Map(),
|
|
705
|
+
B = [], H = [], Z = /* @__PURE__ */ new Map(), Mt();
|
|
706
706
|
}, "clear"), nt, Jt = (nt = class {
|
|
707
707
|
constructor(t, n, r = 0) {
|
|
708
708
|
this.source = t, this.target = n, this.value = r;
|
|
@@ -714,7 +714,7 @@ var K = at, B = [], H = [], Z = /* @__PURE__ */ new Map(), Ht = /* @__PURE__ */
|
|
|
714
714
|
this.ID = t;
|
|
715
715
|
}
|
|
716
716
|
}, _(it, "SankeyNode"), it), ne = /* @__PURE__ */ _((t) => {
|
|
717
|
-
t =
|
|
717
|
+
t = At.sanitizeText(t, lt());
|
|
718
718
|
let n = Z.get(t);
|
|
719
719
|
return n === void 0 && (n = new ee(t), Z.set(t, n), H.push(n)), n;
|
|
720
720
|
}, "findOrCreateNode"), ie = /* @__PURE__ */ _(() => H, "getNodes"), re = /* @__PURE__ */ _(() => B, "getLinks"), se = /* @__PURE__ */ _(() => ({
|
|
@@ -732,12 +732,12 @@ var K = at, B = [], H = [], Z = /* @__PURE__ */ new Map(), Ht = /* @__PURE__ */
|
|
|
732
732
|
getGraph: se,
|
|
733
733
|
addLink: te,
|
|
734
734
|
findOrCreateNode: ne,
|
|
735
|
-
getAccTitle:
|
|
736
|
-
setAccTitle:
|
|
737
|
-
getAccDescription:
|
|
738
|
-
setAccDescription:
|
|
739
|
-
getDiagramTitle:
|
|
740
|
-
setDiagramTitle:
|
|
735
|
+
getAccTitle: St,
|
|
736
|
+
setAccTitle: wt,
|
|
737
|
+
getAccDescription: bt,
|
|
738
|
+
setAccDescription: vt,
|
|
739
|
+
getDiagramTitle: kt,
|
|
740
|
+
setDiagramTitle: xt,
|
|
741
741
|
clear: Ht
|
|
742
742
|
}, F, pt = (F = class {
|
|
743
743
|
static next(t) {
|
|
@@ -755,7 +755,7 @@ var K = at, B = [], H = [], Z = /* @__PURE__ */ new Map(), Ht = /* @__PURE__ */
|
|
|
755
755
|
center: It,
|
|
756
756
|
justify: _t
|
|
757
757
|
}, le = /* @__PURE__ */ _(function(t, n, r, a) {
|
|
758
|
-
const { securityLevel: c, sankey: k } = lt(), d =
|
|
758
|
+
const { securityLevel: c, sankey: k } = lt(), d = Et.sankey;
|
|
759
759
|
let m;
|
|
760
760
|
c === "sandbox" && (m = Q("#i" + n));
|
|
761
761
|
const i = c === "sandbox" ? Q(m.nodes()[0].contentDocument.body) : Q("body"), o = c === "sandbox" ? i.select(`[id="${n}"]`) : Q(`[id="${n}"]`), f = (k == null ? void 0 : k.width) ?? d.width, p = (k == null ? void 0 : k.height) ?? d.width, y = (k == null ? void 0 : k.useMaxWidth) ?? d.useMaxWidth, w = (k == null ? void 0 : k.nodeAlignment) ?? d.nodeAlignment, v = (k == null ? void 0 : k.prefix) ?? d.prefix, P = (k == null ? void 0 : k.suffix) ?? d.suffix, A = (k == null ? void 0 : k.showValues) ?? d.showValues, T = a.db.getGraph(), O = ae[w];
|
|
@@ -789,12 +789,12 @@ ${v}${Math.round(L * 100) / 100}${P}` : g, "getText");
|
|
|
789
789
|
default:
|
|
790
790
|
N = I;
|
|
791
791
|
}
|
|
792
|
-
C.append("path").attr("d", Bt()).attr("stroke", N).attr("stroke-width", (g) => Math.max(1, g.width)),
|
|
792
|
+
C.append("path").attr("d", Bt()).attr("stroke", N).attr("stroke-width", (g) => Math.max(1, g.width)), Lt(void 0, o, 0, y);
|
|
793
793
|
}, "draw"), ce = {
|
|
794
794
|
draw: le
|
|
795
|
-
},
|
|
796
|
-
`).trim(), "prepareTextForParsing"),
|
|
797
|
-
K.parse = (t) => ue(
|
|
795
|
+
}, ue = /* @__PURE__ */ _((t) => t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, `
|
|
796
|
+
`).trim(), "prepareTextForParsing"), he = K.parse.bind(K);
|
|
797
|
+
K.parse = (t) => he(ue(t));
|
|
798
798
|
var ge = {
|
|
799
799
|
parser: K,
|
|
800
800
|
db: oe,
|