@kong-ui-public/documentation 1.5.78 → 1.6.0
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-DZdQjcG8-C_2Dx6GQ.js → arc-DZdQjcG8-CduayE88.js} +2 -2
- package/dist/{architectureDiagram-3BPJPVTR-By_DXDyu-DTj86bUZ.js → architectureDiagram-3BPJPVTR-By_DXDyu-U3MSLbOU.js} +1506 -1513
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CKP-SiVG.js +3268 -0
- package/dist/{c4Diagram-AAUBKEIU-ftdwlfdB-CYiERTWJ.js → c4Diagram-AAUBKEIU-ftdwlfdB-D3A61SdV.js} +11 -12
- package/dist/{channel-DM9j7IFL-CjNPz4Hd.js → channel-DM9j7IFL-DxqBUxfY.js} +1 -1
- package/dist/{chunk-2J33WTMH-CBbjVzWb-BAAd-TK5.js → chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js} +7 -8
- package/dist/chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js +8 -0
- package/dist/{chunk-55IACEB6-DZn1aNO0-_bs5ibIB.js → chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js} +1 -1
- package/dist/{chunk-727SXJPM-B2_6_WLv-CzbzsbtK.js → chunk-727SXJPM-B2_6_WLv-Bs3CxHaX.js} +548 -549
- package/dist/{chunk-AQP2D5EJ-DEAEiJjW-BPr5JvkB.js → chunk-AQP2D5EJ-DEAEiJjW-DTbwZT8N.js} +446 -458
- package/dist/{chunk-FMBD7UC4-D_tZ4Dxg-BUygZnCT.js → chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js} +1 -1
- package/dist/{chunk-ND2GUHAM-Duw3k8MU-Dr8SD23L.js → chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DN6nBdn0-DxWE5zsM.js → chunk-QZHKN3VN-DN6nBdn0-BvQOETVz.js} +1 -1
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-BqXc0etQ.js +17 -0
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-BqXc0etQ.js +17 -0
- package/dist/{cose-bilkent-S5V4N54A-0ZumbVgj-BKcFQWbE.js → cose-bilkent-S5V4N54A-0ZumbVgj-0z7CQbIH.js} +465 -465
- package/dist/{cytoscape.esm-BDIiOYYO-BbddfVIJ.js → cytoscape.esm-BDIiOYYO-C1jMBhD8.js} +356 -371
- package/dist/dagre-BM42HDAG-qMWMsyLb-DGMrq3i3.js +288 -0
- package/dist/{dagre-DJxg_nfI-BzVw7cNP.js → dagre-DJxg_nfI-hVOVexz-.js} +9 -9
- package/dist/{diagram-2AECGRRQ-B2gF_dHe-DCRSlKG-.js → diagram-2AECGRRQ-B2gF_dHe-Bv_EpxRz.js} +10 -14
- package/dist/{diagram-5GNKFQAL-DJ9WwRrD-DtSWJY6-.js → diagram-5GNKFQAL-DJ9WwRrD-WVvm0Icu.js} +4 -4
- package/dist/{diagram-KO2AKTUF-RfkqD-VW-ZR9mxccc.js → diagram-KO2AKTUF-RfkqD-VW-yyAds1Qq.js} +153 -156
- package/dist/{diagram-LMA3HP47-Ct7s9hIt-DXtPBRn4.js → diagram-LMA3HP47-Ct7s9hIt-Dy6f9BAO.js} +21 -22
- package/dist/{diagram-OG6HWLK6-BSYJ2CoI-DX1BfXw6.js → diagram-OG6HWLK6-BSYJ2CoI-ckmfat-L.js} +79 -81
- package/dist/documentation.es.js +1 -1
- package/dist/documentation.umd.js +374 -374
- package/dist/{erDiagram-TEJ5UH35-BudwiSYX-BPA5-1u6.js → erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js} +134 -135
- package/dist/{flowDiagram-I6XJVG4X-B23Smlxp-Cb24VZnb.js → flowDiagram-I6XJVG4X-B23Smlxp-ClHvdCdJ.js} +842 -849
- package/dist/{ganttDiagram-6RSMTGT7-C-i89z_P-DEdTFlTH.js → ganttDiagram-6RSMTGT7-C-i89z_P-t5UAyRM5.js} +46 -46
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-Cg3smOdz.js +734 -0
- package/dist/{graphlib-D2YdGpuK-CM8PX5pf.js → graphlib-D2YdGpuK-CnQPmzkS.js} +17 -17
- package/dist/{index-Dpyqhws4.js → index-DfVKdDwj.js} +16258 -16515
- package/dist/{infoDiagram-5YYISTIA-CDUwzFql-BsbTK2Me.js → infoDiagram-5YYISTIA-CDUwzFql-Bmthmcp4.js} +2 -2
- package/dist/{ishikawaDiagram-YF4QCWOH-MfYdx0rK-DsWP0O6d.js → ishikawaDiagram-YF4QCWOH-MfYdx0rK-cbltssua.js} +137 -138
- package/dist/{journeyDiagram-JHISSGLW-C_udOPtJ-BkIf9B4Q.js → journeyDiagram-JHISSGLW-C_udOPtJ-BjAvgSAR.js} +13 -13
- package/dist/{kanban-definition-UN3LZRKU-C1Su-UOY-6sw-wDwK.js → kanban-definition-UN3LZRKU-C1Su-UOY-DZ93dsWZ.js} +334 -336
- package/dist/{katex-D7tFlpqA-B7yKriH4.js → katex-D7tFlpqA-BOSQxXe1.js} +254 -256
- package/dist/{linear-1MXhYum8-CfR5ywK4.js → linear-1MXhYum8-9C1jno9G.js} +5 -5
- package/dist/{mindmap-definition-RKZ34NQL-MuSV765K-Cv2rDIFS.js → mindmap-definition-RKZ34NQL-MuSV765K-Kub1iXFv.js} +94 -97
- package/dist/{ordinal-D9ksOc8y-CrGveXkB.js → ordinal-D9ksOc8y-2hZwLyEk.js} +1 -1
- package/dist/{pieDiagram-4H26LBE5-TgFp7J6_-C8m2xJbj.js → pieDiagram-4H26LBE5-TgFp7J6_-i6NxP3Xz.js} +43 -44
- package/dist/{quadrantDiagram-W4KKPZXB-DKPne3o_-D0Tfl8NQ.js → quadrantDiagram-W4KKPZXB-DKPne3o_-DXLHqRuR.js} +351 -353
- package/dist/{requirementDiagram-4Y6WPE33-vh8uUAp_-C5zLx-_o.js → requirementDiagram-4Y6WPE33-vh8uUAp_-CHtsISxP.js} +384 -386
- package/dist/{sankeyDiagram-5OEKKPKP-Cgs6W_El-DBrv4QL_.js → sankeyDiagram-5OEKKPKP-Cgs6W_El-D7GZyd8n.js} +178 -178
- package/dist/{sequenceDiagram-3UESZ5HK-C5F57Dkt-D6DqZiJP.js → sequenceDiagram-3UESZ5HK-C5F57Dkt-BW1Hb7UW.js} +643 -653
- package/dist/{stateDiagram-AJRCARHV-09dUKG6Y-9QhAIhCk.js → stateDiagram-AJRCARHV-09dUKG6Y-Dm2a1vNu.js} +5 -5
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-DbWzZ-j-.js +16 -0
- package/dist/style.css +1 -1
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-B5CT96H-.js +1095 -0
- package/dist/{vennDiagram-CIIHVFJN-DQfKxM3L-086u82L3.js → vennDiagram-CIIHVFJN-DQfKxM3L-qUaKEl7l.js} +596 -603
- package/dist/{wardley-L42UT6IY-BjAkE_cs-li1xYed9.js → wardley-L42UT6IY-BjAkE_cs-C-giFqos.js} +5760 -5809
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-DXPF2Ee9.js +639 -0
- package/dist/{xychartDiagram-2RQKCTM6-ChNH3q1U--vbcTXH5.js → xychartDiagram-2RQKCTM6-ChNH3q1U-a59DsJDA.js} +10 -10
- package/package.json +4 -4
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CSQRWfog.js +0 -3278
- package/dist/chunk-4BX2VUAB-C_NnimAy-B-8x_g6K.js +0 -9
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-DLmqgbj1.js +0 -17
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-DLmqgbj1.js +0 -17
- package/dist/dagre-BM42HDAG-qMWMsyLb-BzK2-5zM.js +0 -291
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-BtfdBLxW.js +0 -747
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-Br5eF-5b.js +0 -16
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-CkhwKYjQ.js +0 -1106
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-CCMCDU5F.js +0 -647
package/dist/{erDiagram-TEJ5UH35-BudwiSYX-BPA5-1u6.js → erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { n as Qt } from "./channel-DM9j7IFL-
|
|
3
|
-
import { n as Jt } from "./chunk-55IACEB6-DZn1aNO0-
|
|
4
|
-
import { r as Vt } from "./chunk-2J33WTMH-CBbjVzWb-
|
|
5
|
-
var gt = function() {
|
|
6
|
-
var s = /* @__PURE__ */
|
|
7
|
-
for (
|
|
8
|
-
return
|
|
1
|
+
import { p as u, k as Bt, U as Ft, W as Yt, G as Pt, K as zt, f as Gt, i as Kt, Z as it, g as v, H as Ut, I as Zt, n as Wt, d as jt, e as Xt, q as qt, N as Ht } from "./index-DfVKdDwj.js";
|
|
2
|
+
import { n as Qt } from "./channel-DM9j7IFL-DxqBUxfY.js";
|
|
3
|
+
import { n as Jt } from "./chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js";
|
|
4
|
+
import { r as Vt } from "./chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js";
|
|
5
|
+
var gt = (function() {
|
|
6
|
+
var s = /* @__PURE__ */ u(function(n, y, l, r) {
|
|
7
|
+
for (l ||= {}, r = n.length; r--; l[n[r]] = y) ;
|
|
8
|
+
return l;
|
|
9
9
|
}, "o"), i = [
|
|
10
10
|
6,
|
|
11
11
|
8,
|
|
@@ -26,7 +26,7 @@ var gt = function() {
|
|
|
26
26
|
50,
|
|
27
27
|
51,
|
|
28
28
|
52
|
|
29
|
-
], a = [1, 10],
|
|
29
|
+
], a = [1, 10], c = [1, 11], o = [1, 12], d = [1, 13], p = [1, 23], h = [1, 24], E = [1, 25], W = [1, 26], j = [1, 27], O = [1, 19], L = [1, 28], X = [1, 29], T = [1, 20], I = [1, 18], M = [1, 21], w = [1, 22], nt = [1, 36], at = [1, 37], ot = [1, 38], lt = [1, 39], ct = [1, 40], B = [
|
|
30
30
|
6,
|
|
31
31
|
8,
|
|
32
32
|
10,
|
|
@@ -120,7 +120,7 @@ var gt = function() {
|
|
|
120
120
|
60,
|
|
121
121
|
62
|
|
122
122
|
], ut = {
|
|
123
|
-
trace: /* @__PURE__ */
|
|
123
|
+
trace: /* @__PURE__ */ u(function() {
|
|
124
124
|
}, "trace"),
|
|
125
125
|
yy: {},
|
|
126
126
|
symbols_: {
|
|
@@ -330,7 +330,7 @@ var gt = function() {
|
|
|
330
330
|
[14, 1],
|
|
331
331
|
[14, 1]
|
|
332
332
|
],
|
|
333
|
-
performAction: /* @__PURE__ */
|
|
333
|
+
performAction: /* @__PURE__ */ u(function(n, y, l, r, _, t, Z) {
|
|
334
334
|
var e = t.length - 1;
|
|
335
335
|
switch (_) {
|
|
336
336
|
case 1:
|
|
@@ -544,15 +544,15 @@ var gt = function() {
|
|
|
544
544
|
10: [1, 8],
|
|
545
545
|
11: 9,
|
|
546
546
|
22: a,
|
|
547
|
-
24:
|
|
547
|
+
24: c,
|
|
548
548
|
26: o,
|
|
549
|
-
28:
|
|
549
|
+
28: d,
|
|
550
550
|
29: 14,
|
|
551
551
|
30: 15,
|
|
552
552
|
31: 16,
|
|
553
553
|
32: 17,
|
|
554
554
|
33: p,
|
|
555
|
-
34:
|
|
555
|
+
34: h,
|
|
556
556
|
35: E,
|
|
557
557
|
36: W,
|
|
558
558
|
37: j,
|
|
@@ -570,15 +570,15 @@ var gt = function() {
|
|
|
570
570
|
9: 30,
|
|
571
571
|
11: 9,
|
|
572
572
|
22: a,
|
|
573
|
-
24:
|
|
573
|
+
24: c,
|
|
574
574
|
26: o,
|
|
575
|
-
28:
|
|
575
|
+
28: d,
|
|
576
576
|
29: 14,
|
|
577
577
|
30: 15,
|
|
578
578
|
31: 16,
|
|
579
579
|
32: 17,
|
|
580
580
|
33: p,
|
|
581
|
-
34:
|
|
581
|
+
34: h,
|
|
582
582
|
35: E,
|
|
583
583
|
36: W,
|
|
584
584
|
37: j,
|
|
@@ -946,15 +946,15 @@ var gt = function() {
|
|
|
946
946
|
55: [2, 65],
|
|
947
947
|
75: [2, 60]
|
|
948
948
|
},
|
|
949
|
-
parseError: /* @__PURE__ */
|
|
950
|
-
if (
|
|
949
|
+
parseError: /* @__PURE__ */ u(function(n, y) {
|
|
950
|
+
if (y.recoverable) this.trace(n);
|
|
951
951
|
else {
|
|
952
|
-
var
|
|
953
|
-
throw
|
|
952
|
+
var l = Error(n);
|
|
953
|
+
throw l.hash = y, l;
|
|
954
954
|
}
|
|
955
955
|
}, "parseError"),
|
|
956
|
-
parse: /* @__PURE__ */
|
|
957
|
-
var
|
|
956
|
+
parse: /* @__PURE__ */ u(function(n) {
|
|
957
|
+
var y = this, l = [0], r = [], _ = [null], t = [], Z = this.table, e = "", tt = 0, St = 0, vt = 0, Dt = 2, At = 1, Lt = t.slice.call(arguments, 1), g = Object.create(this.lexer), $ = { yy: {} };
|
|
958
958
|
for (var yt in this.yy) Object.prototype.hasOwnProperty.call(this.yy, yt) && ($.yy[yt] = this.yy[yt]);
|
|
959
959
|
g.setInput(n, $.yy), $.yy.lexer = g, $.yy.parser = this, g.yylloc === void 0 && (g.yylloc = {});
|
|
960
960
|
var dt = g.yylloc;
|
|
@@ -962,16 +962,16 @@ var gt = function() {
|
|
|
962
962
|
var Mt = g.options && g.options.ranges;
|
|
963
963
|
typeof $.yy.parseError == "function" ? this.parseError = $.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
964
964
|
function wt(m) {
|
|
965
|
-
|
|
965
|
+
l.length -= 2 * m, _.length -= m, t.length -= m;
|
|
966
966
|
}
|
|
967
|
-
|
|
967
|
+
u(wt, "popStack");
|
|
968
968
|
function It() {
|
|
969
969
|
var m = r.pop() || g.lex() || At;
|
|
970
|
-
return typeof m != "number" && (m instanceof Array && (r = m, m = r.pop()), m =
|
|
970
|
+
return typeof m != "number" && (m instanceof Array && (r = m, m = r.pop()), m = y.symbols_[m] || m), m;
|
|
971
971
|
}
|
|
972
|
-
|
|
972
|
+
u(It, "lex");
|
|
973
973
|
for (var b, pt, R, f, _t, x = {}, et, k, $t, st; ; ) {
|
|
974
|
-
if (R =
|
|
974
|
+
if (R = l[l.length - 1], this.defaultActions[R] ? f = this.defaultActions[R] : (b ??= It(), f = Z[R] && Z[R][b]), f === void 0 || !f.length || !f[0]) {
|
|
975
975
|
var Rt = "";
|
|
976
976
|
for (et in st = [], Z[R]) this.terminals_[et] && et > Dt && st.push("'" + this.terminals_[et] + "'");
|
|
977
977
|
Rt = g.showPosition ? "Parse error on line " + (tt + 1) + `:
|
|
@@ -987,7 +987,7 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Par
|
|
|
987
987
|
if (f[0] instanceof Array && f.length > 1) throw Error("Parse Error: multiple actions possible at state: " + R + ", token: " + b);
|
|
988
988
|
switch (f[0]) {
|
|
989
989
|
case 1:
|
|
990
|
-
|
|
990
|
+
l.push(b), _.push(g.yytext), t.push(g.yylloc), l.push(f[1]), b = null, pt ? (b = pt, pt = null) : (St = g.yyleng, e = g.yytext, tt = g.yylineno, dt = g.yylloc, vt > 0);
|
|
991
991
|
break;
|
|
992
992
|
case 2:
|
|
993
993
|
if (k = this.productions_[f[1]][1], x.$ = _[_.length - k], x._$ = {
|
|
@@ -1004,7 +1004,7 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Par
|
|
|
1004
1004
|
_,
|
|
1005
1005
|
t
|
|
1006
1006
|
].concat(Lt)), _t !== void 0) return _t;
|
|
1007
|
-
k && (
|
|
1007
|
+
k && (l = l.slice(0, -1 * k * 2), _ = _.slice(0, -1 * k), t = t.slice(0, -1 * k)), l.push(this.productions_[f[1]][0]), _.push(x.$), t.push(x._$), $t = Z[l[l.length - 2]][l[l.length - 1]], l.push($t);
|
|
1008
1008
|
break;
|
|
1009
1009
|
case 3:
|
|
1010
1010
|
return !0;
|
|
@@ -1013,42 +1013,42 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Par
|
|
|
1013
1013
|
return !0;
|
|
1014
1014
|
}, "parse")
|
|
1015
1015
|
};
|
|
1016
|
-
ut.lexer = /* @__PURE__ */ function() {
|
|
1016
|
+
ut.lexer = /* @__PURE__ */ (function() {
|
|
1017
1017
|
return {
|
|
1018
1018
|
EOF: 1,
|
|
1019
|
-
parseError: /* @__PURE__ */
|
|
1020
|
-
if (this.yy.parser) this.yy.parser.parseError(n,
|
|
1019
|
+
parseError: /* @__PURE__ */ u(function(n, y) {
|
|
1020
|
+
if (this.yy.parser) this.yy.parser.parseError(n, y);
|
|
1021
1021
|
else throw Error(n);
|
|
1022
1022
|
}, "parseError"),
|
|
1023
|
-
setInput: /* @__PURE__ */
|
|
1024
|
-
return this.yy =
|
|
1023
|
+
setInput: /* @__PURE__ */ u(function(n, y) {
|
|
1024
|
+
return this.yy = y || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
1025
1025
|
first_line: 1,
|
|
1026
1026
|
first_column: 0,
|
|
1027
1027
|
last_line: 1,
|
|
1028
1028
|
last_column: 0
|
|
1029
1029
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
1030
1030
|
}, "setInput"),
|
|
1031
|
-
input: /* @__PURE__ */
|
|
1031
|
+
input: /* @__PURE__ */ u(function() {
|
|
1032
1032
|
var n = this._input[0];
|
|
1033
1033
|
return this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n, n.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n;
|
|
1034
1034
|
}, "input"),
|
|
1035
|
-
unput: /* @__PURE__ */
|
|
1036
|
-
var
|
|
1037
|
-
this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
1035
|
+
unput: /* @__PURE__ */ u(function(n) {
|
|
1036
|
+
var y = n.length, l = n.split(/(?:\r\n?|\n)/g);
|
|
1037
|
+
this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - y), this.offset -= y;
|
|
1038
1038
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
1039
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
1039
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
|
|
1040
1040
|
var _ = this.yylloc.range;
|
|
1041
1041
|
return this.yylloc = {
|
|
1042
1042
|
first_line: this.yylloc.first_line,
|
|
1043
1043
|
last_line: this.yylineno + 1,
|
|
1044
1044
|
first_column: this.yylloc.first_column,
|
|
1045
|
-
last_column:
|
|
1046
|
-
}, this.options.ranges && (this.yylloc.range = [_[0], _[0] + this.yyleng -
|
|
1045
|
+
last_column: l ? (l.length === r.length ? this.yylloc.first_column : 0) + r[r.length - l.length].length - l[0].length : this.yylloc.first_column - y
|
|
1046
|
+
}, this.options.ranges && (this.yylloc.range = [_[0], _[0] + this.yyleng - y]), this.yyleng = this.yytext.length, this;
|
|
1047
1047
|
}, "unput"),
|
|
1048
|
-
more: /* @__PURE__ */
|
|
1048
|
+
more: /* @__PURE__ */ u(function() {
|
|
1049
1049
|
return this._more = !0, this;
|
|
1050
1050
|
}, "more"),
|
|
1051
|
-
reject: /* @__PURE__ */
|
|
1051
|
+
reject: /* @__PURE__ */ u(function() {
|
|
1052
1052
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
1053
1053
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
1054
1054
|
` + this.showPosition(), {
|
|
@@ -1058,24 +1058,24 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Par
|
|
|
1058
1058
|
});
|
|
1059
1059
|
return this;
|
|
1060
1060
|
}, "reject"),
|
|
1061
|
-
less: /* @__PURE__ */
|
|
1061
|
+
less: /* @__PURE__ */ u(function(n) {
|
|
1062
1062
|
this.unput(this.match.slice(n));
|
|
1063
1063
|
}, "less"),
|
|
1064
|
-
pastInput: /* @__PURE__ */
|
|
1064
|
+
pastInput: /* @__PURE__ */ u(function() {
|
|
1065
1065
|
var n = this.matched.substr(0, this.matched.length - this.match.length);
|
|
1066
1066
|
return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
|
|
1067
1067
|
}, "pastInput"),
|
|
1068
|
-
upcomingInput: /* @__PURE__ */
|
|
1068
|
+
upcomingInput: /* @__PURE__ */ u(function() {
|
|
1069
1069
|
var n = this.match;
|
|
1070
1070
|
return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
1071
1071
|
}, "upcomingInput"),
|
|
1072
|
-
showPosition: /* @__PURE__ */
|
|
1073
|
-
var n = this.pastInput(),
|
|
1072
|
+
showPosition: /* @__PURE__ */ u(function() {
|
|
1073
|
+
var n = this.pastInput(), y = Array(n.length + 1).join("-");
|
|
1074
1074
|
return n + this.upcomingInput() + `
|
|
1075
|
-
` +
|
|
1075
|
+
` + y + "^";
|
|
1076
1076
|
}, "showPosition"),
|
|
1077
|
-
test_match: /* @__PURE__ */
|
|
1078
|
-
var
|
|
1077
|
+
test_match: /* @__PURE__ */ u(function(n, y) {
|
|
1078
|
+
var l, r, _;
|
|
1079
1079
|
if (this.options.backtrack_lexer && (_ = {
|
|
1080
1080
|
yylineno: this.yylineno,
|
|
1081
1081
|
yylloc: {
|
|
@@ -1100,58 +1100,58 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Par
|
|
|
1100
1100
|
last_line: this.yylineno + 1,
|
|
1101
1101
|
first_column: this.yylloc.last_column,
|
|
1102
1102
|
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
|
|
1103
|
-
}, this.yytext += n[0], this.match += n[0], this.matches = n, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(n[0].length), this.matched += n[0],
|
|
1103
|
+
}, this.yytext += n[0], this.match += n[0], this.matches = n, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], l = this.performAction.call(this, this.yy, this, y, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l) return l;
|
|
1104
1104
|
if (this._backtrack) {
|
|
1105
1105
|
for (var t in _) this[t] = _[t];
|
|
1106
1106
|
return !1;
|
|
1107
1107
|
}
|
|
1108
1108
|
return !1;
|
|
1109
1109
|
}, "test_match"),
|
|
1110
|
-
next: /* @__PURE__ */
|
|
1110
|
+
next: /* @__PURE__ */ u(function() {
|
|
1111
1111
|
if (this.done) return this.EOF;
|
|
1112
1112
|
this._input || (this.done = !0);
|
|
1113
|
-
var n,
|
|
1113
|
+
var n, y, l, r;
|
|
1114
1114
|
this._more || (this.yytext = "", this.match = "");
|
|
1115
|
-
for (var _ = this._currentRules(), t = 0; t < _.length; t++) if (
|
|
1116
|
-
if (
|
|
1117
|
-
if (n = this.test_match(
|
|
1115
|
+
for (var _ = this._currentRules(), t = 0; t < _.length; t++) if (l = this._input.match(this.rules[_[t]]), l && (!y || l[0].length > y[0].length)) {
|
|
1116
|
+
if (y = l, r = t, this.options.backtrack_lexer) {
|
|
1117
|
+
if (n = this.test_match(l, _[t]), n !== !1) return n;
|
|
1118
1118
|
if (this._backtrack) {
|
|
1119
|
-
|
|
1119
|
+
y = !1;
|
|
1120
1120
|
continue;
|
|
1121
1121
|
} else return !1;
|
|
1122
1122
|
} else if (!this.options.flex) break;
|
|
1123
1123
|
}
|
|
1124
|
-
return
|
|
1124
|
+
return y ? (n = this.test_match(y, _[r]), n === !1 ? !1 : n) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
1125
1125
|
` + this.showPosition(), {
|
|
1126
1126
|
text: "",
|
|
1127
1127
|
token: null,
|
|
1128
1128
|
line: this.yylineno
|
|
1129
1129
|
});
|
|
1130
1130
|
}, "next"),
|
|
1131
|
-
lex: /* @__PURE__ */
|
|
1131
|
+
lex: /* @__PURE__ */ u(function() {
|
|
1132
1132
|
return this.next() || this.lex();
|
|
1133
1133
|
}, "lex"),
|
|
1134
|
-
begin: /* @__PURE__ */
|
|
1134
|
+
begin: /* @__PURE__ */ u(function(n) {
|
|
1135
1135
|
this.conditionStack.push(n);
|
|
1136
1136
|
}, "begin"),
|
|
1137
|
-
popState: /* @__PURE__ */
|
|
1137
|
+
popState: /* @__PURE__ */ u(function() {
|
|
1138
1138
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1139
1139
|
}, "popState"),
|
|
1140
|
-
_currentRules: /* @__PURE__ */
|
|
1140
|
+
_currentRules: /* @__PURE__ */ u(function() {
|
|
1141
1141
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1142
1142
|
}, "_currentRules"),
|
|
1143
|
-
topState: /* @__PURE__ */
|
|
1143
|
+
topState: /* @__PURE__ */ u(function(n) {
|
|
1144
1144
|
return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
|
|
1145
1145
|
}, "topState"),
|
|
1146
|
-
pushState: /* @__PURE__ */
|
|
1146
|
+
pushState: /* @__PURE__ */ u(function(n) {
|
|
1147
1147
|
this.begin(n);
|
|
1148
1148
|
}, "pushState"),
|
|
1149
|
-
stateStackSize: /* @__PURE__ */
|
|
1149
|
+
stateStackSize: /* @__PURE__ */ u(function() {
|
|
1150
1150
|
return this.conditionStack.length;
|
|
1151
1151
|
}, "stateStackSize"),
|
|
1152
1152
|
options: { "case-insensitive": !0 },
|
|
1153
|
-
performAction: /* @__PURE__ */
|
|
1154
|
-
switch (
|
|
1153
|
+
performAction: /* @__PURE__ */ u(function(n, y, l, r) {
|
|
1154
|
+
switch (l) {
|
|
1155
1155
|
case 0:
|
|
1156
1156
|
return this.begin("acc_title"), 24;
|
|
1157
1157
|
case 1:
|
|
@@ -1215,7 +1215,7 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Par
|
|
|
1215
1215
|
case 29:
|
|
1216
1216
|
return this.popState(), 19;
|
|
1217
1217
|
case 30:
|
|
1218
|
-
return
|
|
1218
|
+
return y.yytext[0];
|
|
1219
1219
|
case 31:
|
|
1220
1220
|
return 20;
|
|
1221
1221
|
case 32:
|
|
@@ -1309,7 +1309,7 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Par
|
|
|
1309
1309
|
case 76:
|
|
1310
1310
|
return 40;
|
|
1311
1311
|
case 77:
|
|
1312
|
-
return
|
|
1312
|
+
return y.yytext[0];
|
|
1313
1313
|
case 78:
|
|
1314
1314
|
return 6;
|
|
1315
1315
|
}
|
|
@@ -1500,12 +1500,12 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : "Par
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
};
|
|
1503
|
-
}();
|
|
1503
|
+
})();
|
|
1504
1504
|
function V() {
|
|
1505
1505
|
this.yy = {};
|
|
1506
1506
|
}
|
|
1507
|
-
return
|
|
1508
|
-
}();
|
|
1507
|
+
return u(V, "Parser"), V.prototype = ut, ut.Parser = V, new V();
|
|
1508
|
+
})();
|
|
1509
1509
|
gt.parser = gt;
|
|
1510
1510
|
var te = gt, D, ee = (D = class {
|
|
1511
1511
|
constructor() {
|
|
@@ -1518,11 +1518,10 @@ var te = gt, D, ee = (D = class {
|
|
|
1518
1518
|
}, this.Identification = {
|
|
1519
1519
|
NON_IDENTIFYING: "NON_IDENTIFYING",
|
|
1520
1520
|
IDENTIFYING: "IDENTIFYING"
|
|
1521
|
-
}, this.setAccTitle = Ft, this.getAccTitle = Yt, this.setAccDescription = Pt, this.getAccDescription = zt, this.setDiagramTitle = Gt, this.getDiagramTitle = Kt, this.getConfig = /* @__PURE__ */
|
|
1521
|
+
}, this.setAccTitle = Ft, this.getAccTitle = Yt, this.setAccDescription = Pt, this.getAccDescription = zt, this.setDiagramTitle = Gt, this.getDiagramTitle = Kt, this.getConfig = /* @__PURE__ */ u(() => it().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
|
|
1522
1522
|
}
|
|
1523
1523
|
addEntity(i, a = "") {
|
|
1524
|
-
|
|
1525
|
-
return this.entities.has(i) ? !((l = this.entities.get(i)) != null && l.alias) && a && (this.entities.get(i).alias = a, v.info(`Add alias '${a}' to entity '${i}'`)) : (this.entities.set(i, {
|
|
1524
|
+
return this.entities.has(i) ? !this.entities.get(i)?.alias && a && (this.entities.get(i).alias = a, v.info(`Add alias '${a}' to entity '${i}'`)) : (this.entities.set(i, {
|
|
1526
1525
|
id: `entity-${i}-${this.entities.size}`,
|
|
1527
1526
|
label: i,
|
|
1528
1527
|
attributes: [],
|
|
@@ -1544,19 +1543,19 @@ var te = gt, D, ee = (D = class {
|
|
|
1544
1543
|
return this.classes;
|
|
1545
1544
|
}
|
|
1546
1545
|
addAttributes(i, a) {
|
|
1547
|
-
let
|
|
1548
|
-
for (o = a.length - 1; o >= 0; o--) a[o].keys || (a[o].keys = []), a[o].comment || (a[o].comment = ""),
|
|
1546
|
+
let c = this.addEntity(i), o;
|
|
1547
|
+
for (o = a.length - 1; o >= 0; o--) a[o].keys || (a[o].keys = []), a[o].comment || (a[o].comment = ""), c.attributes.push(a[o]), v.debug("Added attribute ", a[o].name);
|
|
1549
1548
|
}
|
|
1550
|
-
addRelationship(i, a,
|
|
1551
|
-
let
|
|
1552
|
-
if (!
|
|
1553
|
-
let
|
|
1554
|
-
entityA:
|
|
1549
|
+
addRelationship(i, a, c, o) {
|
|
1550
|
+
let d = this.entities.get(i), p = this.entities.get(c);
|
|
1551
|
+
if (!d || !p) return;
|
|
1552
|
+
let h = {
|
|
1553
|
+
entityA: d.id,
|
|
1555
1554
|
roleA: a,
|
|
1556
1555
|
entityB: p.id,
|
|
1557
1556
|
relSpec: o
|
|
1558
1557
|
};
|
|
1559
|
-
this.relationships.push(
|
|
1558
|
+
this.relationships.push(h), v.debug("Added new relationship :", h);
|
|
1560
1559
|
}
|
|
1561
1560
|
getRelationships() {
|
|
1562
1561
|
return this.relationships;
|
|
@@ -1569,56 +1568,56 @@ var te = gt, D, ee = (D = class {
|
|
|
1569
1568
|
}
|
|
1570
1569
|
getCompiledStyles(i) {
|
|
1571
1570
|
let a = [];
|
|
1572
|
-
for (let
|
|
1573
|
-
let o = this.classes.get(
|
|
1574
|
-
o
|
|
1571
|
+
for (let c of i) {
|
|
1572
|
+
let o = this.classes.get(c);
|
|
1573
|
+
o?.styles && (a = [...a, ...o.styles ?? []].map((d) => d.trim())), o?.textStyles && (a = [...a, ...o.textStyles ?? []].map((d) => d.trim()));
|
|
1575
1574
|
}
|
|
1576
1575
|
return a;
|
|
1577
1576
|
}
|
|
1578
1577
|
addCssStyles(i, a) {
|
|
1579
|
-
for (let
|
|
1580
|
-
let o = this.entities.get(
|
|
1578
|
+
for (let c of i) {
|
|
1579
|
+
let o = this.entities.get(c);
|
|
1581
1580
|
if (!a || !o) return;
|
|
1582
|
-
for (let
|
|
1581
|
+
for (let d of a) o.cssStyles.push(d);
|
|
1583
1582
|
}
|
|
1584
1583
|
}
|
|
1585
1584
|
addClass(i, a) {
|
|
1586
|
-
i.forEach((
|
|
1587
|
-
let o = this.classes.get(
|
|
1585
|
+
i.forEach((c) => {
|
|
1586
|
+
let o = this.classes.get(c);
|
|
1588
1587
|
o === void 0 && (o = {
|
|
1589
|
-
id:
|
|
1588
|
+
id: c,
|
|
1590
1589
|
styles: [],
|
|
1591
1590
|
textStyles: []
|
|
1592
|
-
}, this.classes.set(
|
|
1593
|
-
if (/color/.exec(
|
|
1594
|
-
let p =
|
|
1591
|
+
}, this.classes.set(c, o)), a && a.forEach(function(d) {
|
|
1592
|
+
if (/color/.exec(d)) {
|
|
1593
|
+
let p = d.replace("fill", "bgFill");
|
|
1595
1594
|
o.textStyles.push(p);
|
|
1596
1595
|
}
|
|
1597
|
-
o.styles.push(
|
|
1596
|
+
o.styles.push(d);
|
|
1598
1597
|
});
|
|
1599
1598
|
});
|
|
1600
1599
|
}
|
|
1601
1600
|
setClass(i, a) {
|
|
1602
|
-
for (let
|
|
1603
|
-
let o = this.entities.get(
|
|
1604
|
-
if (o) for (let
|
|
1601
|
+
for (let c of i) {
|
|
1602
|
+
let o = this.entities.get(c);
|
|
1603
|
+
if (o) for (let d of a) o.cssClasses += " " + d;
|
|
1605
1604
|
}
|
|
1606
1605
|
}
|
|
1607
1606
|
clear() {
|
|
1608
1607
|
this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], Ut();
|
|
1609
1608
|
}
|
|
1610
1609
|
getData() {
|
|
1611
|
-
let i = [], a = [],
|
|
1610
|
+
let i = [], a = [], c = it(), o = 0;
|
|
1612
1611
|
for (let p of this.entities.keys()) {
|
|
1613
|
-
let
|
|
1614
|
-
|
|
1612
|
+
let h = this.entities.get(p);
|
|
1613
|
+
h && (h.cssCompiledStyles = this.getCompiledStyles(h.cssClasses.split(" ")), h.colorIndex = o++, i.push(h));
|
|
1615
1614
|
}
|
|
1616
|
-
let
|
|
1615
|
+
let d = 0;
|
|
1617
1616
|
for (let p of this.relationships) {
|
|
1618
|
-
let
|
|
1617
|
+
let h = {
|
|
1619
1618
|
id: Zt(p.entityA, p.entityB, {
|
|
1620
1619
|
prefix: "id",
|
|
1621
|
-
counter:
|
|
1620
|
+
counter: d++
|
|
1622
1621
|
}),
|
|
1623
1622
|
type: "normal",
|
|
1624
1623
|
curve: "basis",
|
|
@@ -1631,37 +1630,37 @@ var te = gt, D, ee = (D = class {
|
|
|
1631
1630
|
arrowTypeStart: p.relSpec.cardB.toLowerCase(),
|
|
1632
1631
|
arrowTypeEnd: p.relSpec.cardA.toLowerCase(),
|
|
1633
1632
|
pattern: p.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
|
|
1634
|
-
look:
|
|
1633
|
+
look: c.look,
|
|
1635
1634
|
labelType: "markdown"
|
|
1636
1635
|
};
|
|
1637
|
-
a.push(
|
|
1636
|
+
a.push(h);
|
|
1638
1637
|
}
|
|
1639
1638
|
return {
|
|
1640
1639
|
nodes: i,
|
|
1641
1640
|
edges: a,
|
|
1642
1641
|
other: {},
|
|
1643
|
-
config:
|
|
1642
|
+
config: c,
|
|
1644
1643
|
direction: "TB"
|
|
1645
1644
|
};
|
|
1646
1645
|
}
|
|
1647
|
-
},
|
|
1646
|
+
}, u(D, "ErDB"), D), xt = {};
|
|
1648
1647
|
Wt(xt, { draw: () => se });
|
|
1649
|
-
var se = /* @__PURE__ */
|
|
1648
|
+
var se = /* @__PURE__ */ u(async function(s, i, a, c) {
|
|
1650
1649
|
v.info("REF0:"), v.info("Drawing er diagram (unified)", i);
|
|
1651
|
-
let { securityLevel: o, er:
|
|
1652
|
-
|
|
1653
|
-
let { config: W } =
|
|
1654
|
-
j === "neo" ?
|
|
1650
|
+
let { securityLevel: o, er: d, layout: p } = it(), h = c.db.getData(), E = Jt(i, o);
|
|
1651
|
+
h.type = c.type, h.layoutAlgorithm = jt(p), h.config.flowchart.nodeSpacing = d?.nodeSpacing || 140, h.config.flowchart.rankSpacing = d?.rankSpacing || 80, h.direction = c.db.getDirection();
|
|
1652
|
+
let { config: W } = h, { look: j } = W;
|
|
1653
|
+
j === "neo" ? h.markers = [
|
|
1655
1654
|
"only_one_neo",
|
|
1656
1655
|
"zero_or_one_neo",
|
|
1657
1656
|
"one_or_more_neo",
|
|
1658
1657
|
"zero_or_more_neo"
|
|
1659
|
-
] :
|
|
1658
|
+
] : h.markers = [
|
|
1660
1659
|
"only_one",
|
|
1661
1660
|
"zero_or_one",
|
|
1662
1661
|
"one_or_more",
|
|
1663
1662
|
"zero_or_more"
|
|
1664
|
-
],
|
|
1663
|
+
], h.diagramId = i, await Xt(h, E), h.layoutAlgorithm === "elk" && E.select(".edges").lower();
|
|
1665
1664
|
let O = E.selectAll('[id*="-background"]');
|
|
1666
1665
|
Array.from(O).length > 0 && O.each(function() {
|
|
1667
1666
|
let L = qt(this), X = L.attr("id").replace("-background", ""), T = E.select(`#${CSS.escape(X)}`);
|
|
@@ -1669,24 +1668,24 @@ var se = /* @__PURE__ */ y(async function(s, i, a, l) {
|
|
|
1669
1668
|
let I = T.attr("transform");
|
|
1670
1669
|
L.attr("transform", I);
|
|
1671
1670
|
}
|
|
1672
|
-
}), Ht.insertTitle(E, "erDiagramTitleText",
|
|
1673
|
-
}, "draw"), Ct = /* @__PURE__ */
|
|
1671
|
+
}), Ht.insertTitle(E, "erDiagramTitleText", d?.titleTopMargin ?? 25, c.db.getDiagramTitle()), Vt(E, 8, "erDiagram", d?.useMaxWidth ?? !0);
|
|
1672
|
+
}, "draw"), Ct = /* @__PURE__ */ u((s, i) => {
|
|
1674
1673
|
let a = Qt;
|
|
1675
1674
|
return Bt(a(s, "r"), a(s, "g"), a(s, "b"), i);
|
|
1676
|
-
}, "fade"), rt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), ie = /* @__PURE__ */
|
|
1677
|
-
let { theme: i, look: a, bkgColorArray:
|
|
1675
|
+
}, "fade"), rt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), ie = /* @__PURE__ */ u((s) => {
|
|
1676
|
+
let { theme: i, look: a, bkgColorArray: c, borderColorArray: o } = s;
|
|
1678
1677
|
if (!rt.has(i)) return "";
|
|
1679
|
-
let
|
|
1680
|
-
for (let
|
|
1678
|
+
let d = c?.length > 0, p = "";
|
|
1679
|
+
for (let h = 0; h < s.THEME_COLOR_LIMIT; h++) p += `
|
|
1681
1680
|
|
|
1682
|
-
[data-look="${a}"][data-color-id="color-${
|
|
1683
|
-
stroke: ${o[
|
|
1684
|
-
${
|
|
1681
|
+
[data-look="${a}"][data-color-id="color-${h}"].node path {
|
|
1682
|
+
stroke: ${o[h]};
|
|
1683
|
+
${d ? `fill: ${c[h]};` : ""}
|
|
1685
1684
|
}
|
|
1686
1685
|
|
|
1687
|
-
[data-look="${a}"][data-color-id="color-${
|
|
1688
|
-
stroke: ${o[
|
|
1689
|
-
${
|
|
1686
|
+
[data-look="${a}"][data-color-id="color-${h}"].node rect {
|
|
1687
|
+
stroke: ${o[h]};
|
|
1688
|
+
${d ? `fill: ${c[h]};` : ""}
|
|
1690
1689
|
}
|
|
1691
1690
|
`;
|
|
1692
1691
|
return p;
|
|
@@ -1696,8 +1695,8 @@ var se = /* @__PURE__ */ y(async function(s, i, a, l) {
|
|
|
1696
1695
|
return new ee();
|
|
1697
1696
|
},
|
|
1698
1697
|
renderer: xt,
|
|
1699
|
-
styles: /* @__PURE__ */
|
|
1700
|
-
let { look: i, theme: a, erEdgeLabelBackground:
|
|
1698
|
+
styles: /* @__PURE__ */ u((s) => {
|
|
1699
|
+
let { look: i, theme: a, erEdgeLabelBackground: c, strokeWidth: o } = s;
|
|
1701
1700
|
return `
|
|
1702
1701
|
${ie(s)}
|
|
1703
1702
|
.entityBox {
|
|
@@ -1715,14 +1714,14 @@ var se = /* @__PURE__ */ y(async function(s, i, a, l) {
|
|
|
1715
1714
|
}
|
|
1716
1715
|
|
|
1717
1716
|
.labelBkg {
|
|
1718
|
-
background-color: ${rt.has(a) &&
|
|
1717
|
+
background-color: ${rt.has(a) && c ? c : Ct(s.tertiaryColor, 0.5)};
|
|
1719
1718
|
}
|
|
1720
1719
|
|
|
1721
1720
|
.edgeLabel {
|
|
1722
|
-
background-color: ${rt.has(a) &&
|
|
1721
|
+
background-color: ${rt.has(a) && c ? c : s.edgeLabelBackground};
|
|
1723
1722
|
}
|
|
1724
1723
|
.edgeLabel .label rect {
|
|
1725
|
-
fill: ${rt.has(a) &&
|
|
1724
|
+
fill: ${rt.has(a) && c ? c : s.edgeLabelBackground};
|
|
1726
1725
|
}
|
|
1727
1726
|
.edgeLabel .label text {
|
|
1728
1727
|
fill: ${s.textColor};
|