@kong-ui-public/documentation 0.7.2 → 0.7.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/arc-BOwQG9_0-DleiJ5MN.js +86 -0
- package/dist/{blockDiagram-9f4a6865-IUliCiDO-CB0IBm1m.js → blockDiagram-6b2b5046-Nxmf6ECX-CjmiHCoc.js} +106 -106
- package/dist/{c4Diagram-ae766693-CraPSkgX-CsP6MA7_.js → c4Diagram-b947cdbb-Cqv3kxuJ-BXRu2bPz.js} +132 -133
- package/dist/{channel-BN6QTnj4-CfiMWXq0.js → channel-b8lMD3zZ-Ds1AntZz.js} +1 -1
- package/dist/{classDiagram-fb54d2a0-DXWl4-1y-CoIPJ9Tf.js → classDiagram-35230388-cNSawuF--DF1WKJvq.js} +7 -8
- package/dist/{classDiagram-v2-a2b738ad-CuRy1r-r-SMHLTRcJ.js → classDiagram-v2-412acd34-DL9yPzEL-1zjaSugS.js} +8 -8
- package/dist/{clone-DPlFlx1_-B6OhGku3.js → clone-DA9j_md9-DOEHuNxk.js} +1 -1
- package/dist/{createText-ca0c5216-BJXIFjUv-B9Xp5z9K.js → createText-423428c9-Bi8tqKOA-BAeSkls4.js} +1 -2
- package/dist/documentation.es.js +2 -2
- package/dist/documentation.umd.js +724 -995
- package/dist/{edges-066a5561-DyIiUH3I-B88mxBJO.js → edges-d417c7a0-CyiospL7-DxH-v6Cl.js} +27 -28
- package/dist/{erDiagram-09d1c15f-DaNxb97t-DI2sOo4s.js → erDiagram-0ea73325-BWWWgAmd-aPslvlbz.js} +38 -38
- package/dist/{flowDb-c1833063-4TreIkwu-DLOEDd2f.js → flowDb-d35e309a-BQRCRAKf-Cf6biv5M.js} +4 -4
- package/dist/{flowDiagram-b222e15a-Bz6kEL6X-B4McfssH.js → flowDiagram-d949d7c1-D_OK65PK-DS0CyGIC.js} +329 -337
- package/dist/{flowDiagram-v2-13329dc7-BSJVxEBD-CR0v6C6O.js → flowDiagram-v2-49332944-CYs4MQAb-C9m-G3JY.js} +5 -5
- package/dist/{flowchart-elk-definition-ae0efee6-D_SQlTEw-DHjq3NxL.js → flowchart-elk-definition-27cc417a-OqMBrUum-CbH3NCkB.js} +12750 -12752
- package/dist/{ganttDiagram-b62c793e-w82uNNex-OPrei_7k.js → ganttDiagram-5c869e3b-Cu9aCqHh-De0u-Oas.js} +477 -488
- package/dist/gitGraphDiagram-b9d81de9-DVB2N99Y-C2np-enA.js +1262 -0
- package/dist/go-BEtjQGEI-BEtjQGEI.js +7 -0
- package/dist/{graph-Bb1vku7A-CjMAyaMV.js → graph-Ctghcdhb-CqAdUKOZ.js} +3 -3
- package/dist/{index-01f381cb-DFAckdb4-DP_D7ZMM.js → index-8fae9850-CdUaE101-uMPVRleJ.js} +11 -11
- package/dist/{index-74HaIrFw.js → index-BRYBB2aM.js} +6920 -6981
- package/dist/{infoDiagram-94cd232f-iYUDXeae-DbxyZ1YG.js → infoDiagram-db7b18fc-MHPWI9K2-Cy6tzigE.js} +16 -16
- package/dist/{journeyDiagram-6625b456-D9SzlG49-D9WC6928.js → journeyDiagram-d5636530-O6dkdrZq-BghpQv6u.js} +42 -42
- package/dist/{latex-CoJDAuLL-lJGSmtOO.js → latex-BOFs-Cxs-XUibdaju.js} +1 -1
- package/dist/{layout-BXWpVE1y-Dpdx9MjN.js → layout-Bf4siL6f-B27qrAUf.js} +110 -110
- package/dist/{line-cygqshb4-ChLkD5zh.js → line-Bs4J8z8n-kq8RtDQA.js} +1 -1
- package/dist/{linear-c7VKFbmv-Bcl7PKrY.js → linear-DG5qhwMV-BSSd8kt2.js} +21 -21
- package/dist/{mindmap-definition-307c710a-Dtax51Qo-DiTPR9DS.js → mindmap-definition-377f8f1f-BJZNhhv8-Cinm-UDt.js} +6496 -6729
- package/dist/{pieDiagram-bb1d19e5-MIBQswLW-DwEeDM9B.js → pieDiagram-b0208e96-12B2qtCQ-Bl-9vJIA.js} +68 -68
- package/dist/{quadrantDiagram-c759a472-CUBvKLS1-BFYNBXmR.js → quadrantDiagram-0332be45-B77W50pM-bQiH7XpR.js} +2 -2
- package/dist/{requirementDiagram-87253d64-BZrSGm9j-BTMRMufk.js → requirementDiagram-bf7890df-BfPNYjQ5-CGF46ifn.js} +30 -30
- package/dist/{sankeyDiagram-707fac0f-BMrqHGsv-B27LQLYG.js → sankeyDiagram-0acdec17-D5aZuYoJ-DIWEEtuf.js} +22 -22
- package/dist/{sequenceDiagram-6894f283-CKZurmNK-kn3T54cJ.js → sequenceDiagram-c18d009d-DE6VyN7w-6UaAYk4p.js} +808 -841
- package/dist/{stateDiagram-5dee940d-uylU1OS0-DApYcfZ7.js → stateDiagram-43596fc0-CfGH1LmM-km5kjci0.js} +54 -54
- package/dist/{stateDiagram-v2-1992cada-JYJWGRv5-C-8aN2Zs.js → stateDiagram-v2-2ead4f9c-CvDoRhMn-CkUl-Lcu.js} +12 -12
- package/dist/style.css +1 -1
- package/dist/{styles-b83b31c9-BkcEKpp1-AMZ_2CDs.js → styles-6860f46c-CJplL-uW-BFTTeCMF.js} +19 -19
- package/dist/{styles-483fbfea-_Tntk7zw-BMvdfSW3.js → styles-7383a064-N1ljH9gq-D7Iipjtf.js} +137 -140
- package/dist/{styles-0784dbeb-CN_Kv1lZ-BqcZ7Gdy.js → styles-b2c874b6-CKJLyUE4-2C22cylE.js} +24 -24
- package/dist/{svgDrawCommon-5e1cfd1d--PZSQhO7-VrjnCid8.js → svgDrawCommon-0ee1b4e9-Dc25Bs_w-QhIkJ1Xp.js} +4 -4
- package/dist/{timeline-definition-bf702344-DVMY6q6d-BYAHqkvN.js → timeline-definition-d977decf-8C3XuDC--DAD2knZY.js} +2 -2
- package/dist/{vue-Djs4WzmL-BDWKKO52.js → vue-DoU_Nr9K-Cj2gXb1y.js} +2 -2
- package/dist/{vue-html-CdlOxrsR-C0P0LsFn.js → vue-html-iC7i5f9n-Cfh5ktA3.js} +1 -1
- package/dist/{xychartDiagram-f11f50a6-CfFXg3YO-BJuC_16u.js → xychartDiagram-e50adddc-BRQAut2i-DBHY1QQ6.js} +22 -22
- package/package.json +5 -5
- package/dist/arc-Db-G4La6-9oHI8HT5.js +0 -86
- package/dist/gitGraphDiagram-942e62fe-DN0JwANo-r5Axb-YL.js +0 -1264
- package/dist/go-DYNyFS5n-DYNyFS5n.js +0 -7
- package/dist/katex-BQC_klMa-CaeA20wX.js +0 -11636
package/dist/{pieDiagram-bb1d19e5-MIBQswLW-DwEeDM9B.js → pieDiagram-b0208e96-12B2qtCQ-Bl-9vJIA.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as
|
|
1
|
+
import { aK as rt, v as at, x as lt, s as ct, g as ot, b as ht, a as ut, z as yt, d as pt, c as tt, l as et, aL as gt, aJ as ft, aM as mt, i as dt, aN as B } from "./index-BRYBB2aM.js";
|
|
2
|
+
import { v as Z } from "./arc-BOwQG9_0-DleiJ5MN.js";
|
|
3
3
|
import { h as _t } from "./ordinal-MUacOSdK-B1MUT0BL.js";
|
|
4
4
|
import { t as bt } from "./array-CqVTtuYm-fKLgkG2b.js";
|
|
5
5
|
import { P as R } from "./path-Crsf9Nsj-SiSjwXsf.js";
|
|
6
|
-
function
|
|
6
|
+
function vt(e, h) {
|
|
7
7
|
return h < e ? -1 : h > e ? 1 : h >= e ? 0 : NaN;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function xt(e) {
|
|
10
10
|
return e;
|
|
11
11
|
}
|
|
12
12
|
function kt() {
|
|
13
|
-
var e =
|
|
13
|
+
var e = xt, h = vt, p = null, w = R(0), k = R(B), S = R(0);
|
|
14
14
|
function u(r) {
|
|
15
|
-
var l, m = (r = bt(r)).length, d, I, T = 0, _ = new Array(m),
|
|
15
|
+
var l, m = (r = bt(r)).length, d, I, T = 0, _ = new Array(m), v = new Array(m), c = +w.apply(this, arguments), A = Math.min(B, Math.max(-B, k.apply(this, arguments) - c)), D, E = Math.min(Math.abs(A) / m, S.apply(this, arguments)), f = E * (A < 0 ? -1 : 1), t;
|
|
16
16
|
for (l = 0; l < m; ++l)
|
|
17
|
-
(t =
|
|
17
|
+
(t = v[_[l] = l] = +e(r[l], l, r)) > 0 && (T += t);
|
|
18
18
|
for (h != null ? _.sort(function(i, s) {
|
|
19
|
-
return h(
|
|
19
|
+
return h(v[i], v[s]);
|
|
20
20
|
}) : p != null && _.sort(function(i, s) {
|
|
21
21
|
return p(r[i], r[s]);
|
|
22
|
-
}), l = 0, I = T ? (
|
|
23
|
-
d = _[l], t =
|
|
22
|
+
}), l = 0, I = T ? (A - m * f) / T : 0; l < m; ++l, c = D)
|
|
23
|
+
d = _[l], t = v[d], D = c + (t > 0 ? t * I : 0) + f, v[d] = {
|
|
24
24
|
data: r[d],
|
|
25
25
|
index: l,
|
|
26
26
|
value: t,
|
|
@@ -28,7 +28,7 @@ function kt() {
|
|
|
28
28
|
endAngle: D,
|
|
29
29
|
padAngle: E
|
|
30
30
|
};
|
|
31
|
-
return
|
|
31
|
+
return v;
|
|
32
32
|
}
|
|
33
33
|
return u.value = function(r) {
|
|
34
34
|
return arguments.length ? (e = typeof r == "function" ? r : R(+r), u) : e;
|
|
@@ -41,7 +41,7 @@ function kt() {
|
|
|
41
41
|
}, u.endAngle = function(r) {
|
|
42
42
|
return arguments.length ? (k = typeof r == "function" ? r : R(+r), u) : k;
|
|
43
43
|
}, u.padAngle = function(r) {
|
|
44
|
-
return arguments.length ? (
|
|
44
|
+
return arguments.length ? (S = typeof r == "function" ? r : R(+r), u) : S;
|
|
45
45
|
}, u;
|
|
46
46
|
}
|
|
47
47
|
var H = function() {
|
|
@@ -49,7 +49,7 @@ var H = function() {
|
|
|
49
49
|
for (i = i || {}, s = f.length; s--; i[f[s]] = t)
|
|
50
50
|
;
|
|
51
51
|
return i;
|
|
52
|
-
}, h = [1, 3], p = [1, 4], w = [1, 5], k = [1, 6],
|
|
52
|
+
}, h = [1, 3], p = [1, 4], w = [1, 5], k = [1, 6], S = [1, 10, 12, 14, 16, 18, 19, 20, 21, 22], u = [2, 4], r = [1, 5, 10, 12, 14, 16, 18, 19, 20, 21, 22], l = [20, 21, 22], m = [2, 7], d = [1, 12], I = [1, 13], T = [1, 14], _ = [1, 15], v = [1, 16], c = [1, 17], A = {
|
|
53
53
|
trace: function() {
|
|
54
54
|
},
|
|
55
55
|
yy: {},
|
|
@@ -57,33 +57,33 @@ var H = function() {
|
|
|
57
57
|
terminals_: { 2: "error", 5: "PIE", 7: "showData", 10: "txt", 11: "value", 12: "title", 13: "title_value", 14: "acc_title", 15: "acc_title_value", 16: "acc_descr", 17: "acc_descr_value", 18: "acc_descr_multiline_value", 19: "section", 20: "NEWLINE", 21: ";", 22: "EOF" },
|
|
58
58
|
productions_: [0, [3, 2], [3, 2], [3, 3], [6, 0], [6, 2], [8, 2], [9, 0], [9, 2], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [4, 1], [4, 1], [4, 1]],
|
|
59
59
|
performAction: function(f, t, i, s, a, n, y) {
|
|
60
|
-
var
|
|
60
|
+
var x = n.length - 1;
|
|
61
61
|
switch (a) {
|
|
62
62
|
case 3:
|
|
63
63
|
s.setShowData(!0);
|
|
64
64
|
break;
|
|
65
65
|
case 6:
|
|
66
|
-
this.$ = n[
|
|
66
|
+
this.$ = n[x - 1];
|
|
67
67
|
break;
|
|
68
68
|
case 8:
|
|
69
|
-
s.addSection(n[
|
|
69
|
+
s.addSection(n[x - 1], s.cleanupValue(n[x]));
|
|
70
70
|
break;
|
|
71
71
|
case 9:
|
|
72
|
-
this.$ = n[
|
|
72
|
+
this.$ = n[x].trim(), s.setDiagramTitle(this.$);
|
|
73
73
|
break;
|
|
74
74
|
case 10:
|
|
75
|
-
this.$ = n[
|
|
75
|
+
this.$ = n[x].trim(), s.setAccTitle(this.$);
|
|
76
76
|
break;
|
|
77
77
|
case 11:
|
|
78
78
|
case 12:
|
|
79
|
-
this.$ = n[
|
|
79
|
+
this.$ = n[x].trim(), s.setAccDescription(this.$);
|
|
80
80
|
break;
|
|
81
81
|
case 13:
|
|
82
|
-
s.addSection(n[
|
|
82
|
+
s.addSection(n[x].substr(8)), this.$ = n[x].substr(8);
|
|
83
83
|
break;
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
|
-
table: [{ 3: 1, 4: 2, 5: h, 20: p, 21: w, 22: k }, { 1: [3] }, { 3: 7, 4: 2, 5: h, 20: p, 21: w, 22: k }, e(
|
|
86
|
+
table: [{ 3: 1, 4: 2, 5: h, 20: p, 21: w, 22: k }, { 1: [3] }, { 3: 7, 4: 2, 5: h, 20: p, 21: w, 22: k }, e(S, u, { 6: 8, 7: [1, 9] }), e(r, [2, 14]), e(r, [2, 15]), e(r, [2, 16]), { 1: [2, 1] }, e(l, m, { 8: 10, 9: 11, 1: [2, 2], 10: d, 12: I, 14: T, 16: _, 18: v, 19: c }), e(S, u, { 6: 18 }), e(S, [2, 5]), { 4: 19, 20: p, 21: w, 22: k }, { 11: [1, 20] }, { 13: [1, 21] }, { 15: [1, 22] }, { 17: [1, 23] }, e(l, [2, 12]), e(l, [2, 13]), e(l, m, { 8: 10, 9: 11, 1: [2, 3], 10: d, 12: I, 14: T, 16: _, 18: v, 19: c }), e(S, [2, 6]), e(l, [2, 8]), e(l, [2, 9]), e(l, [2, 10]), e(l, [2, 11])],
|
|
87
87
|
defaultActions: { 7: [2, 1] },
|
|
88
88
|
parseError: function(f, t) {
|
|
89
89
|
if (t.recoverable)
|
|
@@ -94,60 +94,60 @@ var H = function() {
|
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
parse: function(f) {
|
|
97
|
-
var t = this, i = [0], s = [], a = [null], n = [], y = this.table,
|
|
98
|
-
for (var
|
|
99
|
-
Object.prototype.hasOwnProperty.call(this.yy,
|
|
97
|
+
var t = this, i = [0], s = [], a = [null], n = [], y = this.table, x = "", N = 0, g = 0, V = 2, M = 1, Y = n.slice.call(arguments, 1), o = Object.create(this.lexer), O = { yy: {} };
|
|
98
|
+
for (var J in this.yy)
|
|
99
|
+
Object.prototype.hasOwnProperty.call(this.yy, J) && (O.yy[J] = this.yy[J]);
|
|
100
100
|
o.setInput(f, O.yy), O.yy.lexer = o, O.yy.parser = this, typeof o.yylloc > "u" && (o.yylloc = {});
|
|
101
|
-
var
|
|
102
|
-
n.push(
|
|
101
|
+
var K = o.yylloc;
|
|
102
|
+
n.push(K);
|
|
103
103
|
var nt = o.options && o.options.ranges;
|
|
104
104
|
typeof O.yy.parseError == "function" ? this.parseError = O.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
105
105
|
function st() {
|
|
106
106
|
var P;
|
|
107
|
-
return P = s.pop() || o.lex() ||
|
|
107
|
+
return P = s.pop() || o.lex() || M, typeof P != "number" && (P instanceof Array && (s = P, P = s.pop()), P = t.symbols_[P] || P), P;
|
|
108
108
|
}
|
|
109
|
-
for (var b,
|
|
110
|
-
if (
|
|
111
|
-
var
|
|
112
|
-
|
|
113
|
-
for (
|
|
114
|
-
this.terminals_[
|
|
115
|
-
o.showPosition ?
|
|
109
|
+
for (var b, F, $, G, z = {}, j, C, q, L; ; ) {
|
|
110
|
+
if (F = i[i.length - 1], this.defaultActions[F] ? $ = this.defaultActions[F] : ((b === null || typeof b > "u") && (b = st()), $ = y[F] && y[F][b]), typeof $ > "u" || !$.length || !$[0]) {
|
|
111
|
+
var X = "";
|
|
112
|
+
L = [];
|
|
113
|
+
for (j in y[F])
|
|
114
|
+
this.terminals_[j] && j > V && L.push("'" + this.terminals_[j] + "'");
|
|
115
|
+
o.showPosition ? X = "Parse error on line " + (N + 1) + `:
|
|
116
116
|
` + o.showPosition() + `
|
|
117
|
-
Expecting ` +
|
|
117
|
+
Expecting ` + L.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "Parse error on line " + (N + 1) + ": Unexpected " + (b == M ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(X, {
|
|
118
118
|
text: o.match,
|
|
119
119
|
token: this.terminals_[b] || b,
|
|
120
120
|
line: o.yylineno,
|
|
121
|
-
loc:
|
|
122
|
-
expected:
|
|
121
|
+
loc: K,
|
|
122
|
+
expected: L
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
if ($[0] instanceof Array && $.length > 1)
|
|
126
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
126
|
+
throw new Error("Parse Error: multiple actions possible at state: " + F + ", token: " + b);
|
|
127
127
|
switch ($[0]) {
|
|
128
128
|
case 1:
|
|
129
|
-
i.push(b), a.push(o.yytext), n.push(o.yylloc), i.push($[1]), b = null, g = o.yyleng,
|
|
129
|
+
i.push(b), a.push(o.yytext), n.push(o.yylloc), i.push($[1]), b = null, g = o.yyleng, x = o.yytext, N = o.yylineno, K = o.yylloc;
|
|
130
130
|
break;
|
|
131
131
|
case 2:
|
|
132
|
-
if (C = this.productions_[$[1]][1],
|
|
132
|
+
if (C = this.productions_[$[1]][1], z.$ = a[a.length - C], z._$ = {
|
|
133
133
|
first_line: n[n.length - (C || 1)].first_line,
|
|
134
134
|
last_line: n[n.length - 1].last_line,
|
|
135
135
|
first_column: n[n.length - (C || 1)].first_column,
|
|
136
136
|
last_column: n[n.length - 1].last_column
|
|
137
|
-
}, nt && (
|
|
137
|
+
}, nt && (z._$.range = [
|
|
138
138
|
n[n.length - (C || 1)].range[0],
|
|
139
139
|
n[n.length - 1].range[1]
|
|
140
|
-
]),
|
|
141
|
-
|
|
140
|
+
]), G = this.performAction.apply(z, [
|
|
141
|
+
x,
|
|
142
142
|
g,
|
|
143
143
|
N,
|
|
144
144
|
O.yy,
|
|
145
145
|
$[1],
|
|
146
146
|
a,
|
|
147
147
|
n
|
|
148
|
-
].concat(Y)), typeof
|
|
149
|
-
return
|
|
150
|
-
C && (i = i.slice(0, -1 * C * 2), a = a.slice(0, -1 * C), n = n.slice(0, -1 * C)), i.push(this.productions_[$[1]][0]), a.push(
|
|
148
|
+
].concat(Y)), typeof G < "u")
|
|
149
|
+
return G;
|
|
150
|
+
C && (i = i.slice(0, -1 * C * 2), a = a.slice(0, -1 * C), n = n.slice(0, -1 * C)), i.push(this.productions_[$[1]][0]), a.push(z.$), n.push(z._$), q = y[i[i.length - 2]][i[i.length - 1]], i.push(q);
|
|
151
151
|
break;
|
|
152
152
|
case 3:
|
|
153
153
|
return !0;
|
|
@@ -380,11 +380,11 @@ Expecting ` + F.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : Z = "
|
|
|
380
380
|
};
|
|
381
381
|
return f;
|
|
382
382
|
}();
|
|
383
|
-
|
|
383
|
+
A.lexer = D;
|
|
384
384
|
function E() {
|
|
385
385
|
this.yy = {};
|
|
386
386
|
}
|
|
387
|
-
return E.prototype =
|
|
387
|
+
return E.prototype = A, A.Parser = E, new E();
|
|
388
388
|
}();
|
|
389
389
|
H.parser = H;
|
|
390
390
|
const $t = H, it = rt.pie, U = {
|
|
@@ -393,15 +393,15 @@ const $t = H, it = rt.pie, U = {
|
|
|
393
393
|
config: it
|
|
394
394
|
};
|
|
395
395
|
let W = U.sections, Q = U.showData;
|
|
396
|
-
const wt = structuredClone(it),
|
|
396
|
+
const wt = structuredClone(it), St = () => structuredClone(wt), At = () => {
|
|
397
397
|
W = structuredClone(U.sections), Q = U.showData, yt();
|
|
398
398
|
}, Et = (e, h) => {
|
|
399
399
|
e = pt(e, tt()), W[e] === void 0 && (W[e] = h, et.debug(`added new section: ${e}, with value: ${h}`));
|
|
400
400
|
}, Tt = () => W, It = (e) => (e.substring(0, 1) === ":" && (e = e.substring(1).trim()), Number(e.trim())), Ot = (e) => {
|
|
401
401
|
Q = e;
|
|
402
402
|
}, Ct = () => Q, Pt = {
|
|
403
|
-
getConfig:
|
|
404
|
-
clear:
|
|
403
|
+
getConfig: St,
|
|
404
|
+
clear: At,
|
|
405
405
|
setDiagramTitle: at,
|
|
406
406
|
getDiagramTitle: lt,
|
|
407
407
|
setAccTitle: ct,
|
|
@@ -441,7 +441,7 @@ const wt = structuredClone(it), At = () => structuredClone(wt), St = () => {
|
|
|
441
441
|
font-family: ${e.fontFamily};
|
|
442
442
|
font-size: ${e.pieLegendTextSize};
|
|
443
443
|
}
|
|
444
|
-
`, Nt = Dt,
|
|
444
|
+
`, Nt = Dt, Mt = (e) => {
|
|
445
445
|
const h = Object.entries(e).map((p) => ({
|
|
446
446
|
label: p[0],
|
|
447
447
|
value: p[1]
|
|
@@ -449,17 +449,17 @@ const wt = structuredClone(it), At = () => structuredClone(wt), St = () => {
|
|
|
449
449
|
return kt().value(
|
|
450
450
|
(p) => p.value
|
|
451
451
|
)(h);
|
|
452
|
-
},
|
|
452
|
+
}, Ft = (e, h, p, w) => {
|
|
453
453
|
et.debug(`rendering pie chart
|
|
454
454
|
` + e);
|
|
455
|
-
const k = w.db,
|
|
455
|
+
const k = w.db, S = tt(), u = gt(k.getConfig(), S.pie), r = 40, l = 18, m = 4, d = 450, I = d, T = ft(h), _ = T.append("g"), v = k.getSections();
|
|
456
456
|
_.attr("transform", "translate(" + I / 2 + "," + d / 2 + ")");
|
|
457
|
-
const { themeVariables: c } =
|
|
458
|
-
let [
|
|
459
|
-
|
|
460
|
-
const D = u.textPosition, E = Math.min(I, d) / 2 - r, f =
|
|
461
|
-
_.append("circle").attr("cx", 0).attr("cy", 0).attr("r", E +
|
|
462
|
-
const i =
|
|
457
|
+
const { themeVariables: c } = S;
|
|
458
|
+
let [A] = mt(c.pieOuterStrokeWidth);
|
|
459
|
+
A ?? (A = 2);
|
|
460
|
+
const D = u.textPosition, E = Math.min(I, d) / 2 - r, f = Z().innerRadius(0).outerRadius(E), t = Z().innerRadius(E * D).outerRadius(E * D);
|
|
461
|
+
_.append("circle").attr("cx", 0).attr("cy", 0).attr("r", E + A / 2).attr("class", "pieOuterCircle");
|
|
462
|
+
const i = Mt(v), s = [
|
|
463
463
|
c.pie1,
|
|
464
464
|
c.pie2,
|
|
465
465
|
c.pie3,
|
|
@@ -475,22 +475,22 @@ const wt = structuredClone(it), At = () => structuredClone(wt), St = () => {
|
|
|
475
475
|
], a = _t(s);
|
|
476
476
|
_.selectAll("mySlices").data(i).enter().append("path").attr("d", f).attr("fill", (g) => a(g.data.label)).attr("class", "pieCircle");
|
|
477
477
|
let n = 0;
|
|
478
|
-
Object.keys(
|
|
479
|
-
n +=
|
|
478
|
+
Object.keys(v).forEach((g) => {
|
|
479
|
+
n += v[g];
|
|
480
480
|
}), _.selectAll("mySlices").data(i).enter().append("text").text((g) => (g.data.value / n * 100).toFixed(0) + "%").attr("transform", (g) => "translate(" + t.centroid(g) + ")").style("text-anchor", "middle").attr("class", "slice"), _.append("text").text(k.getDiagramTitle()).attr("x", 0).attr("y", -(d - 50) / 2).attr("class", "pieTitleText");
|
|
481
481
|
const y = _.selectAll(".legend").data(a.domain()).enter().append("g").attr("class", "legend").attr("transform", (g, V) => {
|
|
482
|
-
const
|
|
482
|
+
const M = l + m, Y = M * a.domain().length / 2, o = 12 * l, O = V * M - Y;
|
|
483
483
|
return "translate(" + o + "," + O + ")";
|
|
484
484
|
});
|
|
485
485
|
y.append("rect").attr("width", l).attr("height", l).style("fill", a).style("stroke", a), y.data(i).append("text").attr("x", l + m).attr("y", l - m).text((g) => {
|
|
486
|
-
const { label: V, value:
|
|
487
|
-
return k.getShowData() ? `${V} [${
|
|
486
|
+
const { label: V, value: M } = g.data;
|
|
487
|
+
return k.getShowData() ? `${V} [${M}]` : V;
|
|
488
488
|
});
|
|
489
|
-
const
|
|
489
|
+
const x = Math.max(
|
|
490
490
|
...y.selectAll("text").nodes().map((g) => (g == null ? void 0 : g.getBoundingClientRect().width) ?? 0)
|
|
491
|
-
), N = I + r + l + m +
|
|
491
|
+
), N = I + r + l + m + x;
|
|
492
492
|
T.attr("viewBox", `0 0 ${N} ${d}`), dt(T, d, N, u.useMaxWidth);
|
|
493
|
-
}, Rt = { draw:
|
|
493
|
+
}, Rt = { draw: Ft }, Wt = {
|
|
494
494
|
parser: $t,
|
|
495
495
|
db: Pt,
|
|
496
496
|
renderer: Rt,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Z as mt } from "./linear-
|
|
1
|
+
import { a_ as Pt, c as yt, aK as D, l as lt, s as vt, g as Ct, v as Lt, x as At, a as zt, b as Dt, z as Et, h as gt, i as It, d as Bt } from "./index-BRYBB2aM.js";
|
|
2
|
+
import { Z as mt } from "./linear-DG5qhwMV-BSSd8kt2.js";
|
|
3
3
|
var ft = function() {
|
|
4
4
|
var i = function(O, a, s, l) {
|
|
5
5
|
for (s = s || {}, l = O.length; l--; s[O[l]] = a)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as Tt, s as Ct, g as Mt, b as Ft, a as Dt, l as Nt,
|
|
2
|
-
import { Y as Yt } from "./graph-
|
|
3
|
-
import { O as Ut } from "./layout-
|
|
4
|
-
import { P as Bt } from "./line-
|
|
1
|
+
import { c as Tt, s as Ct, g as Mt, b as Ft, a as Dt, l as Nt, z as Pt, h as ot, i as Vt, j as bt } from "./index-BRYBB2aM.js";
|
|
2
|
+
import { Y as Yt } from "./graph-Ctghcdhb-CqAdUKOZ.js";
|
|
3
|
+
import { O as Ut } from "./layout-Bf4siL6f-B27qrAUf.js";
|
|
4
|
+
import { P as Bt } from "./line-Bs4J8z8n-kq8RtDQA.js";
|
|
5
5
|
var ct = function() {
|
|
6
6
|
var t = function(x, e, s, r) {
|
|
7
7
|
for (s = s || {}, r = x.length; r--; s[x[r]] = e)
|
|
8
8
|
;
|
|
9
9
|
return s;
|
|
10
|
-
}, i = [1, 3], o = [1, 4], c = [1, 5], l = [1, 6], u = [5, 6, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], h = [1, 18], a = [2, 7], y = [1, 22],
|
|
10
|
+
}, i = [1, 3], o = [1, 4], c = [1, 5], l = [1, 6], u = [5, 6, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], h = [1, 18], a = [2, 7], y = [1, 22], E = [1, 23], R = [1, 24], T = [1, 25], N = [1, 26], A = [1, 27], v = [1, 20], S = [1, 28], q = [1, 29], F = [62, 63], ut = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 51, 53, 62, 63], yt = [1, 47], dt = [1, 48], pt = [1, 49], _t = [1, 50], Et = [1, 51], gt = [1, 52], Rt = [1, 53], w = [53, 54], D = [1, 64], P = [1, 60], V = [1, 61], Y = [1, 62], U = [1, 63], B = [1, 65], j = [1, 69], G = [1, 70], z = [1, 67], X = [1, 68], m = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], et = {
|
|
11
11
|
trace: function() {
|
|
12
12
|
},
|
|
13
13
|
yy: {},
|
|
@@ -119,7 +119,7 @@ var ct = function() {
|
|
|
119
119
|
break;
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
-
table: [{ 3: 1, 4: 2, 6: i, 9: o, 11: c, 13: l }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: i, 9: o, 11: c, 13: l }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, t(u, [2, 6]), { 3: 12, 4: 2, 6: i, 9: o, 11: c, 13: l }, { 1: [2, 2] }, { 4: 17, 5: h, 7: 13, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32:
|
|
122
|
+
table: [{ 3: 1, 4: 2, 6: i, 9: o, 11: c, 13: l }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: i, 9: o, 11: c, 13: l }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, t(u, [2, 6]), { 3: 12, 4: 2, 6: i, 9: o, 11: c, 13: l }, { 1: [2, 2] }, { 4: 17, 5: h, 7: 13, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, t(u, [2, 4]), t(u, [2, 5]), { 1: [2, 1] }, { 8: [1, 30] }, { 4: 17, 5: h, 7: 31, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 32, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 33, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 34, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 4: 17, 5: h, 7: 35, 8: a, 9: o, 11: c, 13: l, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: y, 32: E, 33: R, 34: T, 35: N, 36: A, 44: v, 62: S, 63: q }, { 18: 36, 62: [1, 37], 63: [1, 38] }, { 45: 39, 62: [1, 40], 63: [1, 41] }, { 51: [1, 42], 53: [1, 43] }, t(F, [2, 20]), t(F, [2, 21]), t(F, [2, 22]), t(F, [2, 23]), t(F, [2, 24]), t(F, [2, 25]), t(ut, [2, 49]), t(ut, [2, 50]), { 1: [2, 3] }, { 8: [2, 8] }, { 8: [2, 9] }, { 8: [2, 10] }, { 8: [2, 11] }, { 8: [2, 12] }, { 19: [1, 44] }, { 19: [2, 47] }, { 19: [2, 48] }, { 19: [1, 45] }, { 19: [2, 53] }, { 19: [2, 54] }, { 52: 46, 55: yt, 56: dt, 57: pt, 58: _t, 59: Et, 60: gt, 61: Rt }, { 52: 54, 55: yt, 56: dt, 57: pt, 58: _t, 59: Et, 60: gt, 61: Rt }, { 5: [1, 55] }, { 5: [1, 56] }, { 53: [1, 57] }, t(w, [2, 40]), t(w, [2, 41]), t(w, [2, 42]), t(w, [2, 43]), t(w, [2, 44]), t(w, [2, 45]), t(w, [2, 46]), { 54: [1, 58] }, { 5: D, 20: 59, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: j, 30: G, 46: 66, 47: z, 49: X }, { 23: 71, 62: S, 63: q }, { 23: 72, 62: S, 63: q }, t(m, [2, 13]), { 22: [1, 73] }, { 22: [1, 74] }, { 22: [1, 75] }, { 22: [1, 76] }, { 5: D, 20: 77, 21: P, 24: V, 26: Y, 28: U, 30: B }, t(m, [2, 19]), t(m, [2, 33]), { 22: [1, 78] }, { 22: [1, 79] }, { 5: j, 30: G, 46: 80, 47: z, 49: X }, t(m, [2, 37]), t(m, [2, 38]), t(m, [2, 39]), { 23: 81, 62: S, 63: q }, { 25: 82, 62: [1, 83], 63: [1, 84] }, { 27: 85, 37: [1, 86], 38: [1, 87], 39: [1, 88] }, { 29: 89, 40: [1, 90], 41: [1, 91], 42: [1, 92], 43: [1, 93] }, t(m, [2, 18]), { 48: 94, 62: [1, 95], 63: [1, 96] }, { 50: 97, 62: [1, 98], 63: [1, 99] }, t(m, [2, 36]), { 5: [1, 100] }, { 5: [1, 101] }, { 5: [2, 51] }, { 5: [2, 52] }, { 5: [1, 102] }, { 5: [2, 26] }, { 5: [2, 27] }, { 5: [2, 28] }, { 5: [1, 103] }, { 5: [2, 29] }, { 5: [2, 30] }, { 5: [2, 31] }, { 5: [2, 32] }, { 5: [1, 104] }, { 5: [2, 55] }, { 5: [2, 56] }, { 5: [1, 105] }, { 5: [2, 57] }, { 5: [2, 58] }, { 5: D, 20: 106, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 107, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 108, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: D, 20: 109, 21: P, 24: V, 26: Y, 28: U, 30: B }, { 5: j, 30: G, 46: 110, 47: z, 49: X }, { 5: j, 30: G, 46: 111, 47: z, 49: X }, t(m, [2, 14]), t(m, [2, 15]), t(m, [2, 16]), t(m, [2, 17]), t(m, [2, 34]), t(m, [2, 35])],
|
|
123
123
|
defaultActions: { 8: [2, 2], 12: [2, 1], 30: [2, 3], 31: [2, 8], 32: [2, 9], 33: [2, 10], 34: [2, 11], 35: [2, 12], 37: [2, 47], 38: [2, 48], 40: [2, 53], 41: [2, 54], 83: [2, 51], 84: [2, 52], 86: [2, 26], 87: [2, 27], 88: [2, 28], 90: [2, 29], 91: [2, 30], 92: [2, 31], 93: [2, 32], 95: [2, 55], 96: [2, 56], 98: [2, 57], 99: [2, 58] },
|
|
124
124
|
parseError: function(x, e) {
|
|
125
125
|
if (e.recoverable)
|
|
@@ -130,17 +130,17 @@ var ct = function() {
|
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
parse: function(x) {
|
|
133
|
-
var e = this, s = [0], r = [], d = [null], n = [], f = this.table, _ = "", J = 0, mt = 0, $t = 2, ft = 1, Ot = n.slice.call(arguments, 1),
|
|
133
|
+
var e = this, s = [0], r = [], d = [null], n = [], f = this.table, _ = "", J = 0, mt = 0, $t = 2, ft = 1, Ot = n.slice.call(arguments, 1), g = Object.create(this.lexer), C = { yy: {} };
|
|
134
134
|
for (var rt in this.yy)
|
|
135
135
|
Object.prototype.hasOwnProperty.call(this.yy, rt) && (C.yy[rt] = this.yy[rt]);
|
|
136
|
-
|
|
137
|
-
var nt =
|
|
136
|
+
g.setInput(x, C.yy), C.yy.lexer = g, C.yy.parser = this, typeof g.yylloc > "u" && (g.yylloc = {});
|
|
137
|
+
var nt = g.yylloc;
|
|
138
138
|
n.push(nt);
|
|
139
|
-
var Lt =
|
|
139
|
+
var Lt = g.options && g.options.ranges;
|
|
140
140
|
typeof C.yy.parseError == "function" ? this.parseError = C.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
141
141
|
function wt() {
|
|
142
142
|
var O;
|
|
143
|
-
return O = r.pop() ||
|
|
143
|
+
return O = r.pop() || g.lex() || ft, typeof O != "number" && (O instanceof Array && (r = O, O = r.pop()), O = e.symbols_[O] || O), O;
|
|
144
144
|
}
|
|
145
145
|
for (var I, M, k, st, H = {}, Z, $, It, tt; ; ) {
|
|
146
146
|
if (M = s[s.length - 1], this.defaultActions[M] ? k = this.defaultActions[M] : ((I === null || typeof I > "u") && (I = wt()), k = f[M] && f[M][I]), typeof k > "u" || !k.length || !k[0]) {
|
|
@@ -148,12 +148,12 @@ var ct = function() {
|
|
|
148
148
|
tt = [];
|
|
149
149
|
for (Z in f[M])
|
|
150
150
|
this.terminals_[Z] && Z > $t && tt.push("'" + this.terminals_[Z] + "'");
|
|
151
|
-
|
|
152
|
-
` +
|
|
151
|
+
g.showPosition ? at = "Parse error on line " + (J + 1) + `:
|
|
152
|
+
` + g.showPosition() + `
|
|
153
153
|
Expecting ` + tt.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : at = "Parse error on line " + (J + 1) + ": Unexpected " + (I == ft ? "end of input" : "'" + (this.terminals_[I] || I) + "'"), this.parseError(at, {
|
|
154
|
-
text:
|
|
154
|
+
text: g.match,
|
|
155
155
|
token: this.terminals_[I] || I,
|
|
156
|
-
line:
|
|
156
|
+
line: g.yylineno,
|
|
157
157
|
loc: nt,
|
|
158
158
|
expected: tt
|
|
159
159
|
});
|
|
@@ -162,7 +162,7 @@ Expecting ` + tt.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : at =
|
|
|
162
162
|
throw new Error("Parse Error: multiple actions possible at state: " + M + ", token: " + I);
|
|
163
163
|
switch (k[0]) {
|
|
164
164
|
case 1:
|
|
165
|
-
s.push(I), d.push(
|
|
165
|
+
s.push(I), d.push(g.yytext), n.push(g.yylloc), s.push(k[1]), I = null, mt = g.yyleng, _ = g.yytext, J = g.yylineno, nt = g.yylloc;
|
|
166
166
|
break;
|
|
167
167
|
case 2:
|
|
168
168
|
if ($ = this.productions_[k[1]][1], H.$ = d[d.length - $], H._$ = {
|
|
@@ -625,8 +625,8 @@ const Wt = {
|
|
|
625
625
|
let p = {}, kt = 0;
|
|
626
626
|
const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr("x", 0).attr("y", 0).attr("width", p.rect_min_width + "px").attr("height", p.rect_min_height + "px"), At = (t, i, o) => {
|
|
627
627
|
let c = p.rect_min_width / 2, l = t.append("text").attr("class", "req reqLabel reqTitle").attr("id", i).attr("x", c).attr("y", p.rect_padding).attr("dominant-baseline", "hanging"), u = 0;
|
|
628
|
-
o.forEach((
|
|
629
|
-
u == 0 ? l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", 0).text(
|
|
628
|
+
o.forEach((E) => {
|
|
629
|
+
u == 0 ? l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", 0).text(E) : l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", p.line_height * 0.75).text(E), u++;
|
|
630
630
|
});
|
|
631
631
|
let h = 1.5 * p.rect_padding, a = u * p.line_height * 0.75, y = h + a;
|
|
632
632
|
return t.append("line").attr("class", "req-title-line").attr("x1", "0").attr("x2", p.rect_min_width).attr("y1", y).attr("y2", y), {
|
|
@@ -638,10 +638,10 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
|
|
|
638
638
|
const h = 30;
|
|
639
639
|
let a = [];
|
|
640
640
|
return o.forEach((y) => {
|
|
641
|
-
let
|
|
642
|
-
for (;
|
|
641
|
+
let E = y.length;
|
|
642
|
+
for (; E > h && u < 3; ) {
|
|
643
643
|
let R = y.substring(0, h);
|
|
644
|
-
y = y.substring(h, y.length),
|
|
644
|
+
y = y.substring(h, y.length), E = y.length, a[a.length] = R, u++;
|
|
645
645
|
}
|
|
646
646
|
if (u == 3) {
|
|
647
647
|
let R = a[a.length - 1];
|
|
@@ -690,10 +690,10 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
|
|
|
690
690
|
],
|
|
691
691
|
y.y
|
|
692
692
|
);
|
|
693
|
-
const
|
|
693
|
+
const E = a.node().getBBox();
|
|
694
694
|
i.setNode(c, {
|
|
695
|
-
width:
|
|
696
|
-
height:
|
|
695
|
+
width: E.width,
|
|
696
|
+
height: E.height,
|
|
697
697
|
shape: "rect",
|
|
698
698
|
id: c
|
|
699
699
|
});
|
|
@@ -702,12 +702,12 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
|
|
|
702
702
|
Object.keys(t).forEach((c) => {
|
|
703
703
|
let l = t[c];
|
|
704
704
|
const u = W(c), h = o.append("g").attr("id", u), a = "element-" + u, y = xt(h, a);
|
|
705
|
-
let
|
|
705
|
+
let E = At(h, a + "_title", ["<<Element>>", `${c}`]);
|
|
706
706
|
vt(
|
|
707
707
|
h,
|
|
708
708
|
a + "_body",
|
|
709
709
|
[`Type: ${l.type || "Not Specified"}`, `Doc Ref: ${l.docRef || "None"}`],
|
|
710
|
-
|
|
710
|
+
E.y
|
|
711
711
|
);
|
|
712
712
|
const R = y.node().getBBox();
|
|
713
713
|
i.setNode(u, {
|
|
@@ -717,10 +717,10 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
|
|
|
717
717
|
id: u
|
|
718
718
|
});
|
|
719
719
|
});
|
|
720
|
-
},
|
|
720
|
+
}, Ee = (t, i) => (t.forEach(function(o) {
|
|
721
721
|
let c = W(o.src), l = W(o.dst);
|
|
722
722
|
i.setEdge(c, l, { relationship: o });
|
|
723
|
-
}), t),
|
|
723
|
+
}), t), ge = function(t, i) {
|
|
724
724
|
i.nodes().forEach(function(o) {
|
|
725
725
|
o !== void 0 && i.node(o) !== void 0 && (t.select("#" + o), t.select("#" + o).attr(
|
|
726
726
|
"transform",
|
|
@@ -748,8 +748,8 @@ const xt = (t, i) => t.insert("rect", "#" + i).attr("class", "req reqBox").attr(
|
|
|
748
748
|
}).setDefaultEdgeLabel(function() {
|
|
749
749
|
return {};
|
|
750
750
|
});
|
|
751
|
-
let y = c.db.getRequirements(),
|
|
752
|
-
pe(y, a, h), _e(
|
|
751
|
+
let y = c.db.getRequirements(), E = c.db.getElements(), R = c.db.getRelationships();
|
|
752
|
+
pe(y, a, h), _e(E, a, h), Ee(R, a), Ut(a), ge(h, a), R.forEach(function(S) {
|
|
753
753
|
de(h, S, a, i, c);
|
|
754
754
|
});
|
|
755
755
|
const T = p.rect_padding, N = h.node().getBBox(), A = N.width + T * 2, v = N.height + T * 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as st, g as _t, s as mt, a as xt, b as kt,
|
|
1
|
+
import { c as st, g as _t, s as mt, a as xt, b as kt, x as vt, v as bt, z as At, j as Et, u as wt, h as K, t as Lt } from "./index-BRYBB2aM.js";
|
|
2
2
|
import { h as St } from "./ordinal-MUacOSdK-B1MUT0BL.js";
|
|
3
3
|
import { r as Mt } from "./Tableau10-GLA_9iAD-BMurskAd.js";
|
|
4
4
|
function ot(t, e) {
|
|
@@ -194,7 +194,7 @@ function $t() {
|
|
|
194
194
|
const g = h[s];
|
|
195
195
|
g.y0 += u * (s + 1), g.y1 += u * (s + 1);
|
|
196
196
|
}
|
|
197
|
-
|
|
197
|
+
L(h);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
function C(n) {
|
|
@@ -241,9 +241,9 @@ function $t() {
|
|
|
241
241
|
}
|
|
242
242
|
function d(n, l) {
|
|
243
243
|
const h = n.length >> 1, u = n[h];
|
|
244
|
-
E(n, u.y0 - p, h - 1, l),
|
|
244
|
+
E(n, u.y0 - p, h - 1, l), w(n, u.y1 + p, h + 1, l), E(n, c, n.length - 1, l), w(n, e, 0, l);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function w(n, l, h, u) {
|
|
247
247
|
for (; h < n.length; ++h) {
|
|
248
248
|
const s = n[h], g = (l - s.y0) * u;
|
|
249
249
|
g > 1e-6 && (s.y0 += g, s.y1 += g), l = s.y1 + p;
|
|
@@ -263,7 +263,7 @@ function $t() {
|
|
|
263
263
|
h.sort(ct);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function L(n) {
|
|
267
267
|
if (f === void 0)
|
|
268
268
|
for (const { sourceLinks: l, targetLinks: h } of n)
|
|
269
269
|
l.sort(at), h.sort(ct);
|
|
@@ -452,12 +452,12 @@ var it = function() {
|
|
|
452
452
|
y.push(P);
|
|
453
453
|
var d = b.options && b.options.ranges;
|
|
454
454
|
typeof C.yy.parseError == "function" ? this.parseError = C.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
455
|
-
function
|
|
455
|
+
function w() {
|
|
456
456
|
var g;
|
|
457
457
|
return g = f.pop() || b.lex() || O, typeof g != "number" && (g instanceof Array && (f = g, g = f.pop()), g = i.symbols_[g] || g), g;
|
|
458
458
|
}
|
|
459
|
-
for (var E, N,
|
|
460
|
-
if (N = o[o.length - 1], this.defaultActions[N] ?
|
|
459
|
+
for (var E, N, L, U, $ = {}, n, l, h, u; ; ) {
|
|
460
|
+
if (N = o[o.length - 1], this.defaultActions[N] ? L = this.defaultActions[N] : ((E === null || typeof E > "u") && (E = w()), L = v[N] && v[N][E]), typeof L > "u" || !L.length || !L[0]) {
|
|
461
461
|
var s = "";
|
|
462
462
|
u = [];
|
|
463
463
|
for (n in v[N])
|
|
@@ -472,14 +472,14 @@ Expecting ` + u.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : s = "
|
|
|
472
472
|
expected: u
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
|
-
if (
|
|
475
|
+
if (L[0] instanceof Array && L.length > 1)
|
|
476
476
|
throw new Error("Parse Error: multiple actions possible at state: " + N + ", token: " + E);
|
|
477
|
-
switch (
|
|
477
|
+
switch (L[0]) {
|
|
478
478
|
case 1:
|
|
479
|
-
o.push(E), m.push(b.yytext), y.push(b.yylloc), o.push(
|
|
479
|
+
o.push(E), m.push(b.yytext), y.push(b.yylloc), o.push(L[1]), E = null, S = b.yyleng, k = b.yytext, D = b.yylineno, P = b.yylloc;
|
|
480
480
|
break;
|
|
481
481
|
case 2:
|
|
482
|
-
if (l = this.productions_[
|
|
482
|
+
if (l = this.productions_[L[1]][1], $.$ = m[m.length - l], $._$ = {
|
|
483
483
|
first_line: y[y.length - (l || 1)].first_line,
|
|
484
484
|
last_line: y[y.length - 1].last_line,
|
|
485
485
|
first_column: y[y.length - (l || 1)].first_column,
|
|
@@ -492,12 +492,12 @@ Expecting ` + u.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : s = "
|
|
|
492
492
|
S,
|
|
493
493
|
D,
|
|
494
494
|
C.yy,
|
|
495
|
-
|
|
495
|
+
L[1],
|
|
496
496
|
m,
|
|
497
497
|
y
|
|
498
498
|
].concat(I)), typeof U < "u")
|
|
499
499
|
return U;
|
|
500
|
-
l && (o = o.slice(0, -1 * l * 2), m = m.slice(0, -1 * l), y = y.slice(0, -1 * l)), o.push(this.productions_[
|
|
500
|
+
l && (o = o.slice(0, -1 * l * 2), m = m.slice(0, -1 * l), y = y.slice(0, -1 * l)), o.push(this.productions_[L[1]][0]), m.push($.$), y.push($._$), h = v[o[o.length - 2]][o[o.length - 1]], o.push(h);
|
|
501
501
|
break;
|
|
502
502
|
case 3:
|
|
503
503
|
return !0;
|
|
@@ -674,7 +674,7 @@ Expecting ` + u.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : s = "
|
|
|
674
674
|
stateStackSize: function() {
|
|
675
675
|
return this.conditionStack.length;
|
|
676
676
|
},
|
|
677
|
-
options: {
|
|
677
|
+
options: { easy_keword_rules: !0 },
|
|
678
678
|
performAction: function(i, o, f, m) {
|
|
679
679
|
switch (f) {
|
|
680
680
|
case 0:
|
|
@@ -695,7 +695,7 @@ Expecting ` + u.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : s = "
|
|
|
695
695
|
return 19;
|
|
696
696
|
}
|
|
697
697
|
},
|
|
698
|
-
rules: [/^(?:sankey-beta\b)
|
|
698
|
+
rules: [/^(?:sankey-beta\b)/, /^(?:$)/, /^(?:((\u000D\u000A)|(\u000A)))/, /^(?:(\u002C))/, /^(?:(\u0022))/, /^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/, /^(?:(\u0022)(?!(\u0022)))/, /^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/],
|
|
699
699
|
conditions: { csv: { rules: [1, 2, 3, 4, 5, 6, 7], inclusive: !1 }, escaped_text: { rules: [6, 7], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7], inclusive: !0 } }
|
|
700
700
|
};
|
|
701
701
|
return _;
|
|
@@ -766,7 +766,7 @@ const sn = {
|
|
|
766
766
|
center: Pt,
|
|
767
767
|
justify: gt
|
|
768
768
|
}, on = function(t, e, r, c) {
|
|
769
|
-
const { securityLevel: a, sankey: x } = st(), p =
|
|
769
|
+
const { securityLevel: a, sankey: x } = st(), p = wt.sankey;
|
|
770
770
|
let _;
|
|
771
771
|
a === "sandbox" && (_ = K("#i" + e));
|
|
772
772
|
const i = a === "sandbox" ? K(_.nodes()[0].contentDocument.body) : K("body"), o = a === "sandbox" ? i.select(`[id="${e}"]`) : K(`[id="${e}"]`), f = (x == null ? void 0 : x.width) ?? p.width, m = (x == null ? void 0 : x.height) ?? p.width, y = (x == null ? void 0 : x.useMaxWidth) ?? p.useMaxWidth, v = (x == null ? void 0 : x.nodeAlignment) ?? p.nodeAlignment, k = (x == null ? void 0 : x.prefix) ?? p.prefix, D = (x == null ? void 0 : x.suffix) ?? p.suffix, S = (x == null ? void 0 : x.showValues) ?? p.showValues, M = c.db.getGraph(), O = sn[v];
|
|
@@ -778,13 +778,13 @@ const sn = {
|
|
|
778
778
|
o.append("g").attr("class", "nodes").selectAll(".node").data(M.nodes).join("g").attr("class", "node").attr("id", (d) => (d.uid = ft.next("node-")).id).attr("transform", function(d) {
|
|
779
779
|
return "translate(" + d.x0 + "," + d.y0 + ")";
|
|
780
780
|
}).attr("x", (d) => d.x0).attr("y", (d) => d.y0).append("rect").attr("height", (d) => d.y1 - d.y0).attr("width", (d) => d.x1 - d.x0).attr("fill", (d) => I(d.id));
|
|
781
|
-
const b = ({ id: d, value:
|
|
782
|
-
${k}${Math.round(
|
|
781
|
+
const b = ({ id: d, value: w }) => S ? `${d}
|
|
782
|
+
${k}${Math.round(w * 100) / 100}${D}` : d;
|
|
783
783
|
o.append("g").attr("class", "node-labels").attr("font-family", "sans-serif").attr("font-size", 14).selectAll("text").data(M.nodes).join("text").attr("x", (d) => d.x0 < f / 2 ? d.x1 + 6 : d.x0 - 6).attr("y", (d) => (d.y1 + d.y0) / 2).attr("dy", `${S ? "0" : "0.35"}em`).attr("text-anchor", (d) => d.x0 < f / 2 ? "start" : "end").text(b);
|
|
784
784
|
const C = o.append("g").attr("class", "links").attr("fill", "none").attr("stroke-opacity", 0.5).selectAll(".link").data(M.links).join("g").attr("class", "link").style("mix-blend-mode", "multiply"), T = (x == null ? void 0 : x.linkColor) || "gradient";
|
|
785
785
|
if (T === "gradient") {
|
|
786
|
-
const d = C.append("linearGradient").attr("id", (
|
|
787
|
-
d.append("stop").attr("offset", "0%").attr("stop-color", (
|
|
786
|
+
const d = C.append("linearGradient").attr("id", (w) => (w.uid = ft.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (w) => w.source.x1).attr("x2", (w) => w.target.x0);
|
|
787
|
+
d.append("stop").attr("offset", "0%").attr("stop-color", (w) => I(w.source.id)), d.append("stop").attr("offset", "100%").attr("stop-color", (w) => I(w.target.id));
|
|
788
788
|
}
|
|
789
789
|
let P;
|
|
790
790
|
switch (T) {
|
|
@@ -800,7 +800,7 @@ ${k}${Math.round(L * 100) / 100}${D}` : d;
|
|
|
800
800
|
default:
|
|
801
801
|
P = T;
|
|
802
802
|
}
|
|
803
|
-
C.append("path").attr("d", Vt()).attr("stroke", P).attr("stroke-width", (d) => Math.max(1, d.width)),
|
|
803
|
+
C.append("path").attr("d", Vt()).attr("stroke", P).attr("stroke-width", (d) => Math.max(1, d.width)), Lt(void 0, o, 0, y);
|
|
804
804
|
}, cn = {
|
|
805
805
|
draw: on
|
|
806
806
|
}, an = (t) => t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, `
|