@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,11 +1,11 @@
|
|
|
1
|
-
import { _ as n,
|
|
2
|
-
import { L as Qe } from "./graph-BYZMvqpu-
|
|
3
|
-
import { o as Ke } from "./layout-BHI4imdk-
|
|
1
|
+
import { _ as n, a6 as Me, a5 as De, a7 as Pe, a8 as Ue, g as ke, a9 as oe, aa as Ye, aq as Ve, l as xe, ay as Be, ag as Ne } from "./index-BXOX6oou.js";
|
|
2
|
+
import { L as Qe } from "./graph-BYZMvqpu-CWGqkYZM.js";
|
|
3
|
+
import { o as Ke } from "./layout-BHI4imdk-BlkmyDbe.js";
|
|
4
4
|
var he = function() {
|
|
5
5
|
var e = /* @__PURE__ */ n(function(w, t, a, r) {
|
|
6
6
|
for (a = a || {}, r = w.length; r--; a[w[r]] = t) ;
|
|
7
7
|
return a;
|
|
8
|
-
}, "o"), i = [1, 3],
|
|
8
|
+
}, "o"), i = [1, 3], o = [1, 4], c = [1, 5], h = [1, 6], y = [5, 6, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], u = [1, 18], l = [2, 7], p = [1, 22], _ = [1, 23], R = [1, 24], m = [1, 25], I = [1, 26], q = [1, 27], v = [1, 20], A = [1, 28], $ = [1, 29], D = [62, 63], ye = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 51, 53, 62, 63], pe = [1, 47], de = [1, 48], ge = [1, 49], _e = [1, 50], Ee = [1, 51], Re = [1, 52], fe = [1, 53], C = [53, 54], P = [1, 64], U = [1, 60], Y = [1, 61], V = [1, 62], B = [1, 63], Q = [1, 65], G = [1, 69], z = [1, 70], X = [1, 67], J = [1, 68], S = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], re = {
|
|
9
9
|
trace: /* @__PURE__ */ n(function() {
|
|
10
10
|
}, "trace"),
|
|
11
11
|
yy: {},
|
|
@@ -117,7 +117,7 @@ var he = function() {
|
|
|
117
117
|
break;
|
|
118
118
|
}
|
|
119
119
|
}, "anonymous"),
|
|
120
|
-
table: [{ 3: 1, 4: 2, 6: i, 9:
|
|
120
|
+
table: [{ 3: 1, 4: 2, 6: i, 9: o, 11: c, 13: h }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: i, 9: o, 11: c, 13: h }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, e(y, [2, 6]), { 3: 12, 4: 2, 6: i, 9: o, 11: c, 13: h }, { 1: [2, 2] }, { 4: 17, 5: u, 7: 13, 8: l, 9: o, 11: c, 13: h, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: p, 32: _, 33: R, 34: m, 35: I, 36: q, 44: v, 62: A, 63: $ }, e(y, [2, 4]), e(y, [2, 5]), { 1: [2, 1] }, { 8: [1, 30] }, { 4: 17, 5: u, 7: 31, 8: l, 9: o, 11: c, 13: h, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: p, 32: _, 33: R, 34: m, 35: I, 36: q, 44: v, 62: A, 63: $ }, { 4: 17, 5: u, 7: 32, 8: l, 9: o, 11: c, 13: h, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: p, 32: _, 33: R, 34: m, 35: I, 36: q, 44: v, 62: A, 63: $ }, { 4: 17, 5: u, 7: 33, 8: l, 9: o, 11: c, 13: h, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: p, 32: _, 33: R, 34: m, 35: I, 36: q, 44: v, 62: A, 63: $ }, { 4: 17, 5: u, 7: 34, 8: l, 9: o, 11: c, 13: h, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: p, 32: _, 33: R, 34: m, 35: I, 36: q, 44: v, 62: A, 63: $ }, { 4: 17, 5: u, 7: 35, 8: l, 9: o, 11: c, 13: h, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: p, 32: _, 33: R, 34: m, 35: I, 36: q, 44: v, 62: A, 63: $ }, { 18: 36, 62: [1, 37], 63: [1, 38] }, { 45: 39, 62: [1, 40], 63: [1, 41] }, { 51: [1, 42], 53: [1, 43] }, e(D, [2, 20]), e(D, [2, 21]), e(D, [2, 22]), e(D, [2, 23]), e(D, [2, 24]), e(D, [2, 25]), e(ye, [2, 49]), e(ye, [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: pe, 56: de, 57: ge, 58: _e, 59: Ee, 60: Re, 61: fe }, { 52: 54, 55: pe, 56: de, 57: ge, 58: _e, 59: Ee, 60: Re, 61: fe }, { 5: [1, 55] }, { 5: [1, 56] }, { 53: [1, 57] }, e(C, [2, 40]), e(C, [2, 41]), e(C, [2, 42]), e(C, [2, 43]), e(C, [2, 44]), e(C, [2, 45]), e(C, [2, 46]), { 54: [1, 58] }, { 5: P, 20: 59, 21: U, 24: Y, 26: V, 28: B, 30: Q }, { 5: G, 30: z, 46: 66, 47: X, 49: J }, { 23: 71, 62: A, 63: $ }, { 23: 72, 62: A, 63: $ }, e(S, [2, 13]), { 22: [1, 73] }, { 22: [1, 74] }, { 22: [1, 75] }, { 22: [1, 76] }, { 5: P, 20: 77, 21: U, 24: Y, 26: V, 28: B, 30: Q }, e(S, [2, 19]), e(S, [2, 33]), { 22: [1, 78] }, { 22: [1, 79] }, { 5: G, 30: z, 46: 80, 47: X, 49: J }, e(S, [2, 37]), e(S, [2, 38]), e(S, [2, 39]), { 23: 81, 62: A, 63: $ }, { 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] }, e(S, [2, 18]), { 48: 94, 62: [1, 95], 63: [1, 96] }, { 50: 97, 62: [1, 98], 63: [1, 99] }, e(S, [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: P, 20: 106, 21: U, 24: Y, 26: V, 28: B, 30: Q }, { 5: P, 20: 107, 21: U, 24: Y, 26: V, 28: B, 30: Q }, { 5: P, 20: 108, 21: U, 24: Y, 26: V, 28: B, 30: Q }, { 5: P, 20: 109, 21: U, 24: Y, 26: V, 28: B, 30: Q }, { 5: G, 30: z, 46: 110, 47: X, 49: J }, { 5: G, 30: z, 46: 111, 47: X, 49: J }, e(S, [2, 14]), e(S, [2, 15]), e(S, [2, 16]), e(S, [2, 17]), e(S, [2, 34]), e(S, [2, 35])],
|
|
121
121
|
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] },
|
|
122
122
|
parseError: /* @__PURE__ */ n(function(w, t) {
|
|
123
123
|
if (t.recoverable)
|
|
@@ -128,13 +128,13 @@ var he = function() {
|
|
|
128
128
|
}
|
|
129
129
|
}, "parseError"),
|
|
130
130
|
parse: /* @__PURE__ */ n(function(w) {
|
|
131
|
-
var t = this, a = [0], r = [], d = [null], s = [], b = this.table, E = "", ee = 0,
|
|
131
|
+
var t = this, a = [0], r = [], d = [null], s = [], b = this.table, E = "", ee = 0, me = 0, Oe = 2, Ie = 1, Le = s.slice.call(arguments, 1), f = Object.create(this.lexer), F = { yy: {} };
|
|
132
132
|
for (var ne in this.yy)
|
|
133
133
|
Object.prototype.hasOwnProperty.call(this.yy, ne) && (F.yy[ne] = this.yy[ne]);
|
|
134
|
-
|
|
135
|
-
var se =
|
|
134
|
+
f.setInput(w, F.yy), F.yy.lexer = f, F.yy.parser = this, typeof f.yylloc > "u" && (f.yylloc = {});
|
|
135
|
+
var se = f.yylloc;
|
|
136
136
|
s.push(se);
|
|
137
|
-
var Ce =
|
|
137
|
+
var Ce = f.options && f.options.ranges;
|
|
138
138
|
typeof F.yy.parseError == "function" ? this.parseError = F.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
139
139
|
function Fe(k) {
|
|
140
140
|
a.length = a.length - 2 * k, d.length = d.length - k, s.length = s.length - k;
|
|
@@ -142,21 +142,21 @@ var he = function() {
|
|
|
142
142
|
n(Fe, "popStack");
|
|
143
143
|
function Se() {
|
|
144
144
|
var k;
|
|
145
|
-
return k = r.pop() ||
|
|
145
|
+
return k = r.pop() || f.lex() || Ie, typeof k != "number" && (k instanceof Array && (r = k, k = r.pop()), k = t.symbols_[k] || k), k;
|
|
146
146
|
}
|
|
147
147
|
n(Se, "lex");
|
|
148
148
|
for (var N, M, x, ae, K = {}, te, O, be, ie; ; ) {
|
|
149
149
|
if (M = a[a.length - 1], this.defaultActions[M] ? x = this.defaultActions[M] : ((N === null || typeof N > "u") && (N = Se()), x = b[M] && b[M][N]), typeof x > "u" || !x.length || !x[0]) {
|
|
150
|
-
var
|
|
150
|
+
var le = "";
|
|
151
151
|
ie = [];
|
|
152
152
|
for (te in b[M])
|
|
153
153
|
this.terminals_[te] && te > Oe && ie.push("'" + this.terminals_[te] + "'");
|
|
154
|
-
|
|
155
|
-
` +
|
|
156
|
-
Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" :
|
|
157
|
-
text:
|
|
154
|
+
f.showPosition ? le = "Parse error on line " + (ee + 1) + `:
|
|
155
|
+
` + f.showPosition() + `
|
|
156
|
+
Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : le = "Parse error on line " + (ee + 1) + ": Unexpected " + (N == Ie ? "end of input" : "'" + (this.terminals_[N] || N) + "'"), this.parseError(le, {
|
|
157
|
+
text: f.match,
|
|
158
158
|
token: this.terminals_[N] || N,
|
|
159
|
-
line:
|
|
159
|
+
line: f.yylineno,
|
|
160
160
|
loc: se,
|
|
161
161
|
expected: ie
|
|
162
162
|
});
|
|
@@ -165,7 +165,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : oe =
|
|
|
165
165
|
throw new Error("Parse Error: multiple actions possible at state: " + M + ", token: " + N);
|
|
166
166
|
switch (x[0]) {
|
|
167
167
|
case 1:
|
|
168
|
-
a.push(N), d.push(
|
|
168
|
+
a.push(N), d.push(f.yytext), s.push(f.yylloc), a.push(x[1]), N = null, me = f.yyleng, E = f.yytext, ee = f.yylineno, se = f.yylloc;
|
|
169
169
|
break;
|
|
170
170
|
case 2:
|
|
171
171
|
if (O = this.productions_[x[1]][1], K.$ = d[d.length - O], K._$ = {
|
|
@@ -178,7 +178,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : oe =
|
|
|
178
178
|
s[s.length - 1].range[1]
|
|
179
179
|
]), ae = this.performAction.apply(K, [
|
|
180
180
|
E,
|
|
181
|
-
|
|
181
|
+
me,
|
|
182
182
|
ee,
|
|
183
183
|
F.yy,
|
|
184
184
|
x[1],
|
|
@@ -533,14 +533,14 @@ var We = he, ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__P
|
|
|
533
533
|
L !== void 0 && (L.type = e);
|
|
534
534
|
}, "setNewElementType"), at = /* @__PURE__ */ n((e) => {
|
|
535
535
|
L !== void 0 && (L.docRef = e);
|
|
536
|
-
}, "setNewElementDocRef"),
|
|
536
|
+
}, "setNewElementDocRef"), lt = /* @__PURE__ */ n((e, i, o) => {
|
|
537
537
|
ue.push({
|
|
538
538
|
type: e,
|
|
539
539
|
src: i,
|
|
540
|
-
dst:
|
|
540
|
+
dst: o
|
|
541
541
|
});
|
|
542
|
-
}, "addRelationship"),
|
|
543
|
-
ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__PURE__ */ new Map(),
|
|
542
|
+
}, "addRelationship"), ot = /* @__PURE__ */ n(() => ue, "getRelationships"), ht = /* @__PURE__ */ n(() => {
|
|
543
|
+
ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__PURE__ */ new Map(), Ve();
|
|
544
544
|
}, "clear"), ct = {
|
|
545
545
|
RequirementType: He,
|
|
546
546
|
RiskLevel: je,
|
|
@@ -553,16 +553,16 @@ var We = he, ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__P
|
|
|
553
553
|
setNewReqText: et,
|
|
554
554
|
setNewReqRisk: tt,
|
|
555
555
|
setNewReqVerifyMethod: it,
|
|
556
|
-
setAccTitle:
|
|
557
|
-
getAccTitle:
|
|
558
|
-
setAccDescription:
|
|
559
|
-
getAccDescription:
|
|
556
|
+
setAccTitle: Ue,
|
|
557
|
+
getAccTitle: Pe,
|
|
558
|
+
setAccDescription: De,
|
|
559
|
+
getAccDescription: Me,
|
|
560
560
|
addElement: rt,
|
|
561
561
|
getElements: nt,
|
|
562
562
|
setNewElementType: st,
|
|
563
563
|
setNewElementDocRef: at,
|
|
564
|
-
addRelationship:
|
|
565
|
-
getRelationships:
|
|
564
|
+
addRelationship: lt,
|
|
565
|
+
getRelationships: ot,
|
|
566
566
|
clear: ht
|
|
567
567
|
}, ut = /* @__PURE__ */ n((e) => `
|
|
568
568
|
|
|
@@ -611,8 +611,8 @@ var We = he, ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__P
|
|
|
611
611
|
CONTAINS: "contains",
|
|
612
612
|
ARROW: "arrow"
|
|
613
613
|
}, pt = /* @__PURE__ */ n((e, i) => {
|
|
614
|
-
let
|
|
615
|
-
|
|
614
|
+
let o = e.append("defs").append("marker").attr("id", ce.CONTAINS + "_line_ending").attr("refX", 0).attr("refY", i.line_height / 2).attr("markerWidth", i.line_height).attr("markerHeight", i.line_height).attr("orient", "auto").append("g");
|
|
615
|
+
o.append("circle").attr("cx", i.line_height / 2).attr("cy", i.line_height / 2).attr("r", i.line_height / 2).attr("fill", "none"), o.append("line").attr("x1", 0).attr("x2", i.line_height).attr("y1", i.line_height / 2).attr("y2", i.line_height / 2).attr("stroke-width", 1), o.append("line").attr("y1", 0).attr("y2", i.line_height).attr("x1", i.line_height / 2).attr("x2", i.line_height / 2).attr("stroke-width", 1), e.append("defs").append("marker").attr("id", ce.ARROW + "_line_ending").attr("refX", i.line_height).attr("refY", 0.5 * i.line_height).attr("markerWidth", i.line_height).attr("markerHeight", i.line_height).attr("orient", "auto").append("path").attr(
|
|
616
616
|
"d",
|
|
617
617
|
`M0,0
|
|
618
618
|
L${i.line_height},${i.line_height / 2}
|
|
@@ -622,57 +622,57 @@ var We = he, ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__P
|
|
|
622
622
|
}, "insertLineEndings"), Ae = {
|
|
623
623
|
ReqMarkers: ce,
|
|
624
624
|
insertLineEndings: pt
|
|
625
|
-
}, g = {}, Te = 0, we = /* @__PURE__ */ n((e, i) => e.insert("rect", "#" + i).attr("class", "req reqBox").attr("x", 0).attr("y", 0).attr("width", g.rect_min_width + "px").attr("height", g.rect_min_height + "px"), "newRectNode"), qe = /* @__PURE__ */ n((e, i,
|
|
625
|
+
}, g = {}, Te = 0, we = /* @__PURE__ */ n((e, i) => e.insert("rect", "#" + i).attr("class", "req reqBox").attr("x", 0).attr("y", 0).attr("width", g.rect_min_width + "px").attr("height", g.rect_min_height + "px"), "newRectNode"), qe = /* @__PURE__ */ n((e, i, o) => {
|
|
626
626
|
let c = g.rect_min_width / 2, h = e.append("text").attr("class", "req reqLabel reqTitle").attr("id", i).attr("x", c).attr("y", g.rect_padding).attr("dominant-baseline", "hanging"), y = 0;
|
|
627
|
-
|
|
627
|
+
o.forEach((_) => {
|
|
628
628
|
y == 0 ? h.append("tspan").attr("text-anchor", "middle").attr("x", g.rect_min_width / 2).attr("dy", 0).text(_) : h.append("tspan").attr("text-anchor", "middle").attr("x", g.rect_min_width / 2).attr("dy", g.line_height * 0.75).text(_), y++;
|
|
629
629
|
});
|
|
630
|
-
let u = 1.5 * g.rect_padding,
|
|
630
|
+
let u = 1.5 * g.rect_padding, l = y * g.line_height * 0.75, p = u + l;
|
|
631
631
|
return e.append("line").attr("class", "req-title-line").attr("x1", "0").attr("x2", g.rect_min_width).attr("y1", p).attr("y2", p), {
|
|
632
632
|
titleNode: h,
|
|
633
633
|
y: p
|
|
634
634
|
};
|
|
635
|
-
}, "newTitleNode"), ve = /* @__PURE__ */ n((e, i,
|
|
635
|
+
}, "newTitleNode"), ve = /* @__PURE__ */ n((e, i, o, c) => {
|
|
636
636
|
let h = e.append("text").attr("class", "req reqLabel").attr("id", i).attr("x", g.rect_padding).attr("y", c).attr("dominant-baseline", "hanging"), y = 0;
|
|
637
637
|
const u = 30;
|
|
638
|
-
let
|
|
639
|
-
return
|
|
638
|
+
let l = [];
|
|
639
|
+
return o.forEach((p) => {
|
|
640
640
|
let _ = p.length;
|
|
641
641
|
for (; _ > u && y < 3; ) {
|
|
642
642
|
let R = p.substring(0, u);
|
|
643
|
-
p = p.substring(u, p.length), _ = p.length,
|
|
643
|
+
p = p.substring(u, p.length), _ = p.length, l[l.length] = R, y++;
|
|
644
644
|
}
|
|
645
645
|
if (y == 3) {
|
|
646
|
-
let R =
|
|
647
|
-
|
|
646
|
+
let R = l[l.length - 1];
|
|
647
|
+
l[l.length - 1] = R.substring(0, R.length - 4) + "...";
|
|
648
648
|
} else
|
|
649
|
-
|
|
649
|
+
l[l.length] = p;
|
|
650
650
|
y = 0;
|
|
651
|
-
}),
|
|
651
|
+
}), l.forEach((p) => {
|
|
652
652
|
h.append("tspan").attr("x", g.rect_padding).attr("dy", g.line_height).text(p);
|
|
653
653
|
}), h;
|
|
654
|
-
}, "newBodyNode"), dt = /* @__PURE__ */ n((e, i,
|
|
654
|
+
}, "newBodyNode"), dt = /* @__PURE__ */ n((e, i, o, c) => {
|
|
655
655
|
const h = i.node().getTotalLength(), y = i.node().getPointAtLength(h * 0.5), u = "rel" + Te;
|
|
656
656
|
Te++;
|
|
657
|
-
const
|
|
658
|
-
e.insert("rect", "#" + u).attr("class", "req reqLabelBox").attr("x", y.x -
|
|
659
|
-
}, "addEdgeLabel"), gt = /* @__PURE__ */ n(function(e, i,
|
|
660
|
-
const y =
|
|
657
|
+
const l = e.append("text").attr("class", "req relationshipLabel").attr("id", u).attr("x", y.x).attr("y", y.y).attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(c).node().getBBox();
|
|
658
|
+
e.insert("rect", "#" + u).attr("class", "req reqLabelBox").attr("x", y.x - l.width / 2).attr("y", y.y - l.height / 2).attr("width", l.width).attr("height", l.height).attr("fill", "white").attr("fill-opacity", "85%");
|
|
659
|
+
}, "addEdgeLabel"), gt = /* @__PURE__ */ n(function(e, i, o, c, h) {
|
|
660
|
+
const y = o.edge(W(i.src), W(i.dst)), u = Be().x(function(p) {
|
|
661
661
|
return p.x;
|
|
662
662
|
}).y(function(p) {
|
|
663
663
|
return p.y;
|
|
664
|
-
}),
|
|
665
|
-
i.type == h.db.Relationships.CONTAINS ?
|
|
664
|
+
}), l = e.insert("path", "#" + c).attr("class", "er relationshipLine").attr("d", u(y.points)).attr("fill", "none");
|
|
665
|
+
i.type == h.db.Relationships.CONTAINS ? l.attr(
|
|
666
666
|
"marker-start",
|
|
667
667
|
"url(" + Ne.getUrl(g.arrowMarkerAbsolute) + "#" + i.type + "_line_ending)"
|
|
668
|
-
) : (
|
|
668
|
+
) : (l.attr("stroke-dasharray", "10,7"), l.attr(
|
|
669
669
|
"marker-end",
|
|
670
670
|
"url(" + Ne.getUrl(g.arrowMarkerAbsolute) + "#" + Ae.ReqMarkers.ARROW + "_line_ending)"
|
|
671
|
-
)), dt(e,
|
|
672
|
-
}, "drawRelationshipFromLayout"), _t = /* @__PURE__ */ n((e, i,
|
|
671
|
+
)), dt(e, l, g, `<<${i.type}>>`);
|
|
672
|
+
}, "drawRelationshipFromLayout"), _t = /* @__PURE__ */ n((e, i, o) => {
|
|
673
673
|
e.forEach((c, h) => {
|
|
674
674
|
h = W(h), xe.info("Added new requirement: ", h);
|
|
675
|
-
const y =
|
|
675
|
+
const y = o.append("g").attr("id", h), u = "req-" + h, l = we(y, u);
|
|
676
676
|
let p = [], _ = qe(y, h + "_title", [
|
|
677
677
|
`<<${c.type}>>`,
|
|
678
678
|
`${c.name}`
|
|
@@ -690,26 +690,26 @@ var We = he, ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__P
|
|
|
690
690
|
_.y
|
|
691
691
|
);
|
|
692
692
|
p.push(R);
|
|
693
|
-
const
|
|
693
|
+
const m = l.node().getBBox();
|
|
694
694
|
i.setNode(h, {
|
|
695
|
-
width:
|
|
696
|
-
height:
|
|
695
|
+
width: m.width,
|
|
696
|
+
height: m.height,
|
|
697
697
|
shape: "rect",
|
|
698
698
|
id: h
|
|
699
699
|
});
|
|
700
700
|
});
|
|
701
|
-
}, "drawReqs"), Et = /* @__PURE__ */ n((e, i,
|
|
701
|
+
}, "drawReqs"), Et = /* @__PURE__ */ n((e, i, o) => {
|
|
702
702
|
e.forEach((c, h) => {
|
|
703
|
-
const y = W(h), u =
|
|
704
|
-
let _ = [], R = qe(u,
|
|
703
|
+
const y = W(h), u = o.append("g").attr("id", y), l = "element-" + y, p = we(u, l);
|
|
704
|
+
let _ = [], R = qe(u, l + "_title", ["<<Element>>", `${h}`]);
|
|
705
705
|
_.push(R.titleNode);
|
|
706
|
-
let
|
|
706
|
+
let m = ve(
|
|
707
707
|
u,
|
|
708
|
-
|
|
708
|
+
l + "_body",
|
|
709
709
|
[`Type: ${c.type || "Not Specified"}`, `Doc Ref: ${c.docRef || "None"}`],
|
|
710
710
|
R.y
|
|
711
711
|
);
|
|
712
|
-
_.push(
|
|
712
|
+
_.push(m);
|
|
713
713
|
const I = p.node().getBBox();
|
|
714
714
|
i.setNode(y, {
|
|
715
715
|
width: I.width,
|
|
@@ -718,24 +718,24 @@ var We = he, ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__P
|
|
|
718
718
|
id: y
|
|
719
719
|
});
|
|
720
720
|
});
|
|
721
|
-
}, "drawElements"), Rt = /* @__PURE__ */ n((e, i) => (e.forEach(function(
|
|
722
|
-
let c = W(
|
|
723
|
-
i.setEdge(c, h, { relationship:
|
|
724
|
-
}), e), "addRelationships"),
|
|
725
|
-
i.nodes().forEach(function(
|
|
726
|
-
|
|
721
|
+
}, "drawElements"), Rt = /* @__PURE__ */ n((e, i) => (e.forEach(function(o) {
|
|
722
|
+
let c = W(o.src), h = W(o.dst);
|
|
723
|
+
i.setEdge(c, h, { relationship: o });
|
|
724
|
+
}), e), "addRelationships"), ft = /* @__PURE__ */ n(function(e, i) {
|
|
725
|
+
i.nodes().forEach(function(o) {
|
|
726
|
+
o !== void 0 && i.node(o) !== void 0 && (e.select("#" + o), e.select("#" + o).attr(
|
|
727
727
|
"transform",
|
|
728
|
-
"translate(" + (i.node(
|
|
728
|
+
"translate(" + (i.node(o).x - i.node(o).width / 2) + "," + (i.node(o).y - i.node(o).height / 2) + " )"
|
|
729
729
|
));
|
|
730
730
|
});
|
|
731
|
-
}, "adjustEntities"), W = /* @__PURE__ */ n((e) => e.replace(/\s/g, "").replace(/\./g, "_"), "elementString"),
|
|
731
|
+
}, "adjustEntities"), W = /* @__PURE__ */ n((e) => e.replace(/\s/g, "").replace(/\./g, "_"), "elementString"), mt = /* @__PURE__ */ n((e, i, o, c) => {
|
|
732
732
|
g = ke().requirement;
|
|
733
733
|
const h = g.securityLevel;
|
|
734
734
|
let y;
|
|
735
|
-
h === "sandbox" && (y =
|
|
736
|
-
const u = (h === "sandbox" ?
|
|
735
|
+
h === "sandbox" && (y = oe("#i" + i));
|
|
736
|
+
const u = (h === "sandbox" ? oe(y.nodes()[0].contentDocument.body) : oe("body")).select(`[id='${i}']`);
|
|
737
737
|
Ae.insertLineEndings(u, g);
|
|
738
|
-
const
|
|
738
|
+
const l = new Qe({
|
|
739
739
|
multigraph: !1,
|
|
740
740
|
compound: !1,
|
|
741
741
|
directed: !0
|
|
@@ -750,13 +750,13 @@ var We = he, ue = [], T = {}, H = /* @__PURE__ */ new Map(), L = {}, j = /* @__P
|
|
|
750
750
|
return {};
|
|
751
751
|
});
|
|
752
752
|
let p = c.db.getRequirements(), _ = c.db.getElements(), R = c.db.getRelationships();
|
|
753
|
-
_t(p,
|
|
754
|
-
gt(u, A,
|
|
753
|
+
_t(p, l, u), Et(_, l, u), Rt(R, l), Ke(l), ft(u, l), R.forEach(function(A) {
|
|
754
|
+
gt(u, A, l, i, c);
|
|
755
755
|
});
|
|
756
|
-
const
|
|
757
|
-
|
|
756
|
+
const m = g.rect_padding, I = u.node().getBBox(), q = I.width + m * 2, v = I.height + m * 2;
|
|
757
|
+
Ye(u, v, q, g.useMaxWidth), u.attr("viewBox", `${I.x - m} ${I.y - m} ${q} ${v}`);
|
|
758
758
|
}, "draw"), It = {
|
|
759
|
-
draw:
|
|
759
|
+
draw: mt
|
|
760
760
|
}, Tt = {
|
|
761
761
|
parser: We,
|
|
762
762
|
db: ct,
|