@kong-ui-public/documentation 0.7.12 → 0.7.13
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-DV7YacTO-DVGWcOIa.js → arc-CinmSIDH-xgjhF5JM.js} +30 -30
- package/dist/{blockDiagram-6b2b5046-BaoEJc6D-CbFemA8t.js → blockDiagram-6b2b5046-lWu5MHZ2-BV0fChjb.js} +5 -5
- package/dist/{c4Diagram-b947cdbb-BJYyVIoS-BnD4tZ65.js → c4Diagram-b947cdbb-_2ZSBCRj-DsVtFzGl.js} +2 -2
- package/dist/{channel-B0mMhQB--B3NEZrsV.js → channel-DxVjAaZy-CRrui-5B.js} +1 -1
- package/dist/{classDiagram-35230388-Dc1FeiVu-BrHMZTHk.js → classDiagram-35230388-C7cMop8F-DRMii3vX.js} +5 -5
- package/dist/{classDiagram-v2-412acd34-CCHNuq3s-BTsXrVwN.js → classDiagram-v2-412acd34-Sr_pGTUt-B5XidFft.js} +5 -5
- package/dist/{clone-DCouqj07-ZSCPZgkk.js → clone-BaxuDe_X-BxD7U_1o.js} +1 -1
- package/dist/{createText-423428c9-wIPueJaZ-QYfqwTeK.js → createText-423428c9-DSXJlj3p-27R-kZcE.js} +1 -1
- package/dist/documentation.es.js +2 -2
- package/dist/documentation.umd.js +122 -122
- package/dist/{edges-d417c7a0-D3EPioug-B0ZUyw4W.js → edges-d417c7a0-D20zX-94-Dhrfy1WO.js} +14 -14
- package/dist/{erDiagram-0ea73325-DY9v3vqj-Cv4ch-l7.js → erDiagram-0ea73325-p8FwyJvU-DVFt-LEM.js} +320 -314
- package/dist/{flowDb-d35e309a-DJwmSO92-DHgjwpWi.js → flowDb-d35e309a-Ca4FSAVM-DOsp0Vte.js} +1 -1
- package/dist/{flowDiagram-d949d7c1-BdlSpX05-BJqfqJGc.js → flowDiagram-d949d7c1-OwxKQJQE-CNj1eG9t.js} +6 -6
- package/dist/{flowDiagram-v2-49332944-CMx7p7a1-Cg2UPwM3.js → flowDiagram-v2-49332944-CmJFqFX3-Dmvt7Fvy.js} +5 -5
- package/dist/{flowchart-elk-definition-27cc417a-CQgAF7oO-BrMoY_Ps.js → flowchart-elk-definition-27cc417a-BK-QJI5S-C83-zjaL.js} +4 -4
- package/dist/{ganttDiagram-5c869e3b-CFdSz7-F-Db8KliM3.js → ganttDiagram-5c869e3b-DsJMAz4f-CiGlJW0L.js} +2 -2
- package/dist/{gitGraphDiagram-b9d81de9-DLrslp_g-sAdPkImy.js → gitGraphDiagram-b9d81de9-CgW7vwTs-B8681ggb.js} +31 -31
- package/dist/{graph-DDKwjgNV-DGwur7GL.js → graph-_GyIwSxm-SJ7bw9Y3.js} +2 -2
- package/dist/{index-8fae9850-CXAONDQ5-DIC7bulh.js → index-8fae9850-CyqCz_ca-KiPjjzFu.js} +6 -6
- package/dist/{index-CVg6N1HA.js → index-BcjpWjSF.js} +1188 -1171
- package/dist/{infoDiagram-db7b18fc-uyeDrELi-CQEels-w.js → infoDiagram-db7b18fc-0P3OTShw-_GrSz1Bt.js} +7 -7
- package/dist/{journeyDiagram-d5636530-BQCHCJnM-DXeXY7IN.js → journeyDiagram-d5636530-DaBgA-aj-BpdCViqB.js} +3 -3
- package/dist/{layout-BgNLyoWW-B38Qk5aL.js → layout-Bk7AdqJz-BBmLLAeS.js} +2 -2
- package/dist/{line-m2yY3Y1V-i1rfzc4F.js → line-B7Dd0TiT-SkA5nzKI.js} +1 -1
- package/dist/{linear-BliVwsum-BWy6R8gt.js → linear-bMW21eJn-nLz6oKS7.js} +39 -39
- package/dist/{mindmap-definition-377f8f1f-B0xusmpj-EeD6A84r.js → mindmap-definition-377f8f1f-ufN3tUA6-CN-aI3_R.js} +291 -291
- package/dist/{pieDiagram-b0208e96-DkMh39v_-Bm0XHeuS.js → pieDiagram-b0208e96-DrO8Y6_Q-Bj7x7QvQ.js} +18 -18
- package/dist/{quadrantDiagram-0332be45-DLRQ0XFP-llf3FZhI.js → quadrantDiagram-0332be45-DIp67xs6-BFfVz4eq.js} +2 -2
- package/dist/{requirementDiagram-bf7890df-Dm79SiEu-D5lSp_QK.js → requirementDiagram-bf7890df-BSzVPfZD-DviSmVdF.js} +30 -30
- package/dist/{sankeyDiagram-0acdec17-DdsU0AU3-B8f1v3qQ.js → sankeyDiagram-0acdec17-prPA1qqX-CEt_LwwN.js} +1 -1
- package/dist/{sequenceDiagram-c18d009d-CuFa0QMQ-BQxs5n_9.js → sequenceDiagram-c18d009d-BAWs2OYL-D76fPCF4.js} +152 -152
- package/dist/{stateDiagram-43596fc0-OHGmKLJG-Sqgwwx1n.js → stateDiagram-43596fc0-DXEJ0R4o-uUCWdrcA.js} +5 -5
- package/dist/{stateDiagram-v2-2ead4f9c-tj0rBZDA-Ck6S1O-i.js → stateDiagram-v2-2ead4f9c-DnzyCUgr-BdP2xqfq.js} +5 -5
- package/dist/style.css +1 -1
- package/dist/{styles-6860f46c-CRDU4Xm3-B2krgtM3.js → styles-6860f46c-DzVPBoYT-DIdoKSW2.js} +11 -11
- package/dist/{styles-7383a064-367fcP_o-CxGai4fu.js → styles-7383a064-BL-LjhLx-DyayPgnv.js} +4 -4
- package/dist/{styles-b2c874b6-B9uj3N1G-CDrW4aqK.js → styles-b2c874b6-BCYk3bdu-CuPAsrKI.js} +1 -1
- package/dist/{svgDrawCommon-0ee1b4e9-BMdgToFS-w2MBLSny.js → svgDrawCommon-0ee1b4e9-CUz2naLo-DOD8u-To.js} +1 -1
- package/dist/{timeline-definition-d977decf-BsiOuCJk-CM7AWcsA.js → timeline-definition-d977decf-BSETSy08-dDvvimKr.js} +2 -2
- package/dist/{xychartDiagram-e50adddc-C3PuUh_C-D8BAe0XS.js → xychartDiagram-e50adddc-C82b8cby-Z76__7nm.js} +38 -38
- package/package.json +5 -5
package/dist/{pieDiagram-b0208e96-DkMh39v_-Bm0XHeuS.js → pieDiagram-b0208e96-DrO8Y6_Q-Bj7x7QvQ.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as Z } from "./arc-
|
|
1
|
+
import { aJ 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, aK as gt, aI as ft, aL as mt, i as dt, aM as H } from "./index-BcjpWjSF.js";
|
|
2
|
+
import { v as Z } from "./arc-CinmSIDH-xgjhF5JM.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";
|
|
@@ -10,9 +10,9 @@ function xt(e) {
|
|
|
10
10
|
return e;
|
|
11
11
|
}
|
|
12
12
|
function kt() {
|
|
13
|
-
var e = xt, h = vt, p = null, w = R(0), k = R(
|
|
13
|
+
var e = xt, h = vt, p = null, w = R(0), k = R(H), S = R(0);
|
|
14
14
|
function u(r) {
|
|
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(
|
|
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(H, Math.max(-H, 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
17
|
(t = v[_[l] = l] = +e(r[l], l, r)) > 0 && (T += t);
|
|
18
18
|
for (h != null ? _.sort(function(i, s) {
|
|
@@ -44,7 +44,7 @@ function kt() {
|
|
|
44
44
|
return arguments.length ? (S = typeof r == "function" ? r : R(+r), u) : S;
|
|
45
45
|
}, u;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var Q = function() {
|
|
48
48
|
var e = function(f, t, i, s) {
|
|
49
49
|
for (i = i || {}, s = f.length; s--; i[f[s]] = t)
|
|
50
50
|
;
|
|
@@ -94,7 +94,7 @@ 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, x = "", N = 0, g = 0, V = 2, M = 1,
|
|
97
|
+
var t = this, i = [0], s = [], a = [null], n = [], y = this.table, x = "", N = 0, g = 0, V = 2, M = 1, W = n.slice.call(arguments, 1), o = Object.create(this.lexer), O = { yy: {} };
|
|
98
98
|
for (var J in this.yy)
|
|
99
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 = {});
|
|
@@ -145,7 +145,7 @@ Expecting ` + L.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "
|
|
|
145
145
|
$[1],
|
|
146
146
|
a,
|
|
147
147
|
n
|
|
148
|
-
].concat(
|
|
148
|
+
].concat(W)), typeof G < "u")
|
|
149
149
|
return G;
|
|
150
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;
|
|
@@ -386,20 +386,20 @@ Expecting ` + L.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "
|
|
|
386
386
|
}
|
|
387
387
|
return E.prototype = A, A.Parser = E, new E();
|
|
388
388
|
}();
|
|
389
|
-
|
|
390
|
-
const $t =
|
|
389
|
+
Q.parser = Q;
|
|
390
|
+
const $t = Q, it = rt.pie, B = {
|
|
391
391
|
sections: {},
|
|
392
392
|
showData: !1,
|
|
393
393
|
config: it
|
|
394
394
|
};
|
|
395
|
-
let
|
|
395
|
+
let U = B.sections, Y = B.showData;
|
|
396
396
|
const wt = structuredClone(it), St = () => structuredClone(wt), At = () => {
|
|
397
|
-
|
|
397
|
+
U = structuredClone(B.sections), Y = B.showData, yt();
|
|
398
398
|
}, Et = (e, h) => {
|
|
399
|
-
e = pt(e, tt()),
|
|
400
|
-
}, Tt = () =>
|
|
401
|
-
|
|
402
|
-
}, Ct = () =>
|
|
399
|
+
e = pt(e, tt()), U[e] === void 0 && (U[e] = h, et.debug(`added new section: ${e}, with value: ${h}`));
|
|
400
|
+
}, Tt = () => U, It = (e) => (e.substring(0, 1) === ":" && (e = e.substring(1).trim()), Number(e.trim())), Ot = (e) => {
|
|
401
|
+
Y = e;
|
|
402
|
+
}, Ct = () => Y, Pt = {
|
|
403
403
|
getConfig: St,
|
|
404
404
|
clear: At,
|
|
405
405
|
setDiagramTitle: at,
|
|
@@ -479,7 +479,7 @@ const wt = structuredClone(it), St = () => structuredClone(wt), At = () => {
|
|
|
479
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 M = l + m,
|
|
482
|
+
const M = l + m, W = M * a.domain().length / 2, o = 12 * l, O = V * M - W;
|
|
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) => {
|
|
@@ -490,12 +490,12 @@ const wt = structuredClone(it), St = () => structuredClone(wt), At = () => {
|
|
|
490
490
|
...y.selectAll("text").nodes().map((g) => (g == null ? void 0 : g.getBoundingClientRect().width) ?? 0)
|
|
491
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: Ft },
|
|
493
|
+
}, Rt = { draw: Ft }, Ut = {
|
|
494
494
|
parser: $t,
|
|
495
495
|
db: Pt,
|
|
496
496
|
renderer: Rt,
|
|
497
497
|
styles: Nt
|
|
498
498
|
};
|
|
499
499
|
export {
|
|
500
|
-
|
|
500
|
+
Ut as diagram
|
|
501
501
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Z as mt } from "./linear-
|
|
1
|
+
import { aZ as Pt, c as yt, aJ 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-BcjpWjSF.js";
|
|
2
|
+
import { Z as mt } from "./linear-bMW21eJn-nLz6oKS7.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, z as Pt, h as ot, i as Vt, j as bt } from "./index-
|
|
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-BcjpWjSF.js";
|
|
2
|
+
import { Y as Yt } from "./graph-_GyIwSxm-SJ7bw9Y3.js";
|
|
3
|
+
import { O as Ut } from "./layout-Bk7AdqJz-BBmLLAeS.js";
|
|
4
|
+
import { P as Bt } from "./line-B7Dd0TiT-SkA5nzKI.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], g = [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], gt = [1, 51], Et = [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: g, 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: g, 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: g, 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: g, 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: g, 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: g, 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: gt, 60: Et, 61: Rt }, { 52: 54, 55: yt, 56: dt, 57: pt, 58: _t, 59: gt, 60: Et, 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), E = 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
|
+
E.setInput(x, C.yy), C.yy.lexer = E, C.yy.parser = this, typeof E.yylloc > "u" && (E.yylloc = {});
|
|
137
|
+
var nt = E.yylloc;
|
|
138
138
|
n.push(nt);
|
|
139
|
-
var Lt =
|
|
139
|
+
var Lt = E.options && E.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() || E.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
|
+
E.showPosition ? at = "Parse error on line " + (J + 1) + `:
|
|
152
|
+
` + E.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: E.match,
|
|
155
155
|
token: this.terminals_[I] || I,
|
|
156
|
-
line:
|
|
156
|
+
line: E.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(E.yytext), n.push(E.yylloc), s.push(k[1]), I = null, mt = E.yyleng, _ = E.yytext, J = E.yylineno, nt = E.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((g) => {
|
|
629
|
+
u == 0 ? l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", 0).text(g) : l.append("tspan").attr("text-anchor", "middle").attr("x", p.rect_min_width / 2).attr("dy", p.line_height * 0.75).text(g), 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 g = y.length;
|
|
642
|
+
for (; g > 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), g = 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 g = a.node().getBBox();
|
|
694
694
|
i.setNode(c, {
|
|
695
|
-
width:
|
|
696
|
-
height:
|
|
695
|
+
width: g.width,
|
|
696
|
+
height: g.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 g = 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
|
+
g.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
|
+
}, ge = (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), Ee = 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(), g = c.db.getElements(), R = c.db.getRelationships();
|
|
752
|
+
pe(y, a, h), _e(g, a, h), ge(R, a), Ut(a), Ee(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, x as vt, v as bt, z as At, j as Et, u as wt, h as K, t as Lt } from "./index-
|
|
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-BcjpWjSF.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) {
|