@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.
Files changed (50) hide show
  1. package/dist/{_basePickBy-zlkqRmFy-CQP0PMRw.js → _basePickBy-zlkqRmFy-Dq-PK6tA.js} +27 -27
  2. package/dist/_baseUniq-SAfYgIkf-DhYxnvgt.js +614 -0
  3. package/dist/{arc-CK9P6CkJ-B3oiAYoG.js → arc-CK9P6CkJ-lihx_wEv.js} +31 -31
  4. package/dist/{architecture-I3QFYML2-DJzmbE4M-BYAx4I-4.js → architecture-I3QFYML2-DJzmbE4M-B5s0Q1wg.js} +1 -1
  5. package/dist/{architectureDiagram-UYN6MBPD-DkZdgpXi-BC7nb0IZ.js → architectureDiagram-UYN6MBPD-DkZdgpXi-CC-fAW7y.js} +850 -850
  6. package/dist/{blockDiagram-ZHA2E4KO-DnCMGCMN-CU7ARVHN.js → blockDiagram-ZHA2E4KO-DnCMGCMN-B9tod6Dk.js} +477 -477
  7. package/dist/{c4Diagram-6F5ED5ID-D5yqWyf0-DEuKG0sN.js → c4Diagram-6F5ED5ID-D5yqWyf0-B1iuFSQ1.js} +203 -203
  8. package/dist/{channel-bVcNKbrJ-C4S-4qV3.js → channel-bVcNKbrJ-DEGmvXXN.js} +1 -1
  9. package/dist/{chunk-5HRBRIJM-BjQ8go1b-733bxiZ-.js → chunk-5HRBRIJM-BjQ8go1b-BszOhLz8.js} +4 -4
  10. package/dist/{chunk-7U56Z5CX-awhAxjZ0-DpUJ4fo1.js → chunk-7U56Z5CX-awhAxjZ0-CHd4qyz3.js} +120 -120
  11. package/dist/{chunk-ASOPGD6M-B5bA_saK-C3yF9T7p.js → chunk-ASOPGD6M-B5bA_saK-RaS3hIfR.js} +1 -1
  12. package/dist/{chunk-KFBOBJHC-nixdujtH-B4639Jmi.js → chunk-KFBOBJHC-nixdujtH-DCajFn7e.js} +1 -1
  13. package/dist/{chunk-T2TOU4HS-DqOVhIzl-piSN2Cjl.js → chunk-T2TOU4HS-DqOVhIzl-1waDvYDY.js} +229 -229
  14. package/dist/{chunk-TMUBEWPD-BRIzn5gH-SlHeKBx9.js → chunk-TMUBEWPD-BRIzn5gH-Ch1SRQ7H.js} +1 -1
  15. package/dist/{classDiagram-LNE6IOMH-fQzyXfo--C9LjXboP.js → classDiagram-LNE6IOMH-fQzyXfo--BpuwdnmV.js} +4 -4
  16. package/dist/{classDiagram-v2-MQ7JQ4JX-fQzyXfo--C9LjXboP.js → classDiagram-v2-MQ7JQ4JX-fQzyXfo--BpuwdnmV.js} +4 -4
  17. package/dist/{clone-_5SW34SG-DtUOH1l1.js → clone-_5SW34SG-BWxdvZXA.js} +1 -1
  18. package/dist/{cytoscape.esm-DAyNQ0qu-B7WxGuVh.js → cytoscape.esm-DAyNQ0qu-i5PnoWfE.js} +976 -976
  19. package/dist/{dagre-4EVJKHTY-CcAruc30-DaOjmyb6.js → dagre-4EVJKHTY-CcAruc30-H9W22Yky.js} +85 -85
  20. package/dist/{diagram-QW4FP2JN-DZT_0aFO-YCKYx1k-.js → diagram-QW4FP2JN-DZT_0aFO-AmG94tp5.js} +21 -21
  21. package/dist/documentation.es.js +1 -1
  22. package/dist/{erDiagram-6RL3IURR-BfgUC5jv-CS9Q9iKF.js → erDiagram-6RL3IURR-BfgUC5jv-BNzxBFoY.js} +201 -201
  23. package/dist/{flowDiagram-7ASYPVHJ-Bo9CnsE7-CkM-DJdr.js → flowDiagram-7ASYPVHJ-Bo9CnsE7-CSLq7kw9.js} +222 -222
  24. package/dist/{ganttDiagram-NTVNEXSI-8E9hjd6N-iN-VNXrV.js → ganttDiagram-NTVNEXSI-8E9hjd6N-CjQQCbaM.js} +16 -16
  25. package/dist/{gitGraph-YCYPL57B-BnErPIwo-DWobPBzL.js → gitGraph-YCYPL57B-BnErPIwo-DxQPpoWq.js} +1 -1
  26. package/dist/{gitGraphDiagram-NRZ2UAAF-B-t90-9e-Co4q5oQK.js → gitGraphDiagram-NRZ2UAAF-B-t90-9e-B6JY8bWo.js} +17 -17
  27. package/dist/{graph-BYZMvqpu-BpeF1PUA.js → graph-BYZMvqpu-CWGqkYZM.js} +43 -43
  28. package/dist/{index-ZM4BlVwk.js → index-BXOX6oou.js} +3487 -3487
  29. package/dist/{info-46DW6VJ7-DPpbx_vA-CnDg11wg.js → info-46DW6VJ7-DPpbx_vA-BmAPar7H.js} +1 -1
  30. package/dist/{infoDiagram-A4XQUW5V-Bo9uoOcA-WvvF1295.js → infoDiagram-A4XQUW5V-Bo9uoOcA-CtFRRRot.js} +2 -2
  31. package/dist/{journeyDiagram-G5WM74LC-BE7U42Ad-BFF_wJwi.js → journeyDiagram-G5WM74LC-BE7U42Ad-of9fN5Vr.js} +173 -173
  32. package/dist/{kanban-definition-QRCXZQQD-C-5-UNRm-LjA3yK5r.js → kanban-definition-QRCXZQQD-C-5-UNRm-DecJsseT.js} +168 -168
  33. package/dist/{katex-Qk2jHgyB-CF_fuFJb.js → katex-Qk2jHgyB-_qyJ_37x.js} +1054 -1054
  34. package/dist/{layout-BHI4imdk-DgoNZaqw.js → layout-BHI4imdk-BlkmyDbe.js} +19 -19
  35. package/dist/{linear-C2PheBya-wGRbEA3e.js → linear-C2PheBya-DijeUNjP.js} +2 -2
  36. package/dist/{mermaid-parser.core-Ce96PX3Q-DPc-bPXG.js → mermaid-parser.core-Ce96PX3Q-DtNzRUJ7.js} +32 -32
  37. package/dist/{mindmap-definition-GWI6TPTV-C98Syvj2-DOvfo2r8.js → mindmap-definition-GWI6TPTV-C98Syvj2-Btvji3Oh.js} +421 -421
  38. package/dist/{packet-W2GHVCYJ-BLiQbm7T-DbS7CM6G.js → packet-W2GHVCYJ-BLiQbm7T-E8ztaW67.js} +1 -1
  39. package/dist/{pie-BEWT4RHE-D3Mbo3mT-DB-aeuYE.js → pie-BEWT4RHE-D3Mbo3mT-BGVGE8TE.js} +1 -1
  40. package/dist/{pieDiagram-YF2LJOPJ-BJV27s9B-DS-nBsbY.js → pieDiagram-YF2LJOPJ-BJV27s9B-DVrzAwZP.js} +20 -20
  41. package/dist/{quadrantDiagram-OS5C2QUG-M57vVPSx-DMjI1wdt.js → quadrantDiagram-OS5C2QUG-M57vVPSx-DrN-qVPg.js} +131 -131
  42. package/dist/{requirementDiagram-MIRIMTAZ-D0KDg7rf-DeEsJ26T.js → requirementDiagram-MIRIMTAZ-D0KDg7rf-FCJNuddX.js} +77 -77
  43. package/dist/{sankeyDiagram-Y46BX6SQ-D6EdYPdp-BA6cRE1h.js → sankeyDiagram-Y46BX6SQ-D6EdYPdp-ClC_w0Hg.js} +108 -108
  44. package/dist/{sequenceDiagram-G6AWOVSC-B171TAb1-DMtStdxJ.js → sequenceDiagram-G6AWOVSC-B171TAb1-B6jBix6L.js} +181 -181
  45. package/dist/{stateDiagram-MAYHULR4-D7FUnT9_-Du3mnoL2.js → stateDiagram-MAYHULR4-D7FUnT9_-B7dSTUAT.js} +81 -81
  46. package/dist/{stateDiagram-v2-4JROLMXI-Cyc74STT-DR1h52WB.js → stateDiagram-v2-4JROLMXI-Cyc74STT-BhUBvhmS.js} +4 -4
  47. package/dist/{timeline-definition-U7ZMHBDA-Bw-dp1yf-BO9wUMSJ.js → timeline-definition-U7ZMHBDA-Bw-dp1yf-DAx9hgzp.js} +126 -126
  48. package/dist/{xychartDiagram-6QU3TZC5-CqbTSF5W-CwiL6udJ.js → xychartDiagram-6QU3TZC5-CqbTSF5W-Dy5Ia8cd.js} +70 -70
  49. package/package.json +2 -2
  50. package/dist/_baseUniq-SAfYgIkf-BO_CV6Oz.js +0 -614
@@ -1,7 +1,7 @@
1
- import { _ as a, l as tt, g as G, aW as pt, f as yt, i as ft, p as mt, bm as bt, aB as q, ae as M, an as _t, ao as Et, bn as St, bo as at, bp as lt } from "./index-ZM4BlVwk.js";
1
+ import { _ as a, l as ee, g as G, aW as pe, f as ye, i as fe, p as me, bk as be, aE as q, ad as M, ar as _e, as as Ee, bl as Se, bm as ae, bn as le } from "./index-BXOX6oou.js";
2
2
  var Q = function() {
3
- var i = /* @__PURE__ */ a(function(k, t, n, r) {
4
- for (n = n || {}, r = k.length; r--; n[k[r]] = t) ;
3
+ var i = /* @__PURE__ */ a(function(k, e, n, r) {
4
+ for (n = n || {}, r = k.length; r--; n[k[r]] = e) ;
5
5
  return n;
6
6
  }, "o"), u = [1, 4], d = [1, 13], s = [1, 12], g = [1, 15], D = [1, 16], S = [1, 20], h = [1, 19], v = [6, 7, 8], b = [1, 26], _ = [1, 24], C = [1, 25], o = [6, 7, 11], j = [1, 31], w = [6, 7, 11, 24], T = [1, 6, 13, 16, 17, 20, 23], $ = [1, 35], H = [1, 36], A = [1, 6, 7, 11, 13, 16, 17, 20, 23], U = [1, 38], y = {
7
7
  trace: /* @__PURE__ */ a(function() {
@@ -10,8 +10,8 @@ var Q = function() {
10
10
  symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, KANBAN: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, shapeData: 15, ICON: 16, CLASS: 17, nodeWithId: 18, nodeWithoutId: 19, NODE_DSTART: 20, NODE_DESCR: 21, NODE_DEND: 22, NODE_ID: 23, SHAPE_DATA: 24, $accept: 0, $end: 1 },
11
11
  terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "KANBAN", 11: "EOF", 13: "SPACELIST", 16: "ICON", 17: "CLASS", 20: "NODE_DSTART", 21: "NODE_DESCR", 22: "NODE_DEND", 23: "NODE_ID", 24: "SHAPE_DATA" },
12
12
  productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 3], [12, 2], [12, 2], [12, 2], [12, 1], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [19, 3], [18, 1], [18, 4], [15, 2], [15, 1]],
13
- performAction: /* @__PURE__ */ a(function(k, t, n, r, c, e, m) {
14
- var l = e.length - 1;
13
+ performAction: /* @__PURE__ */ a(function(k, e, n, r, c, t, m) {
14
+ var l = t.length - 1;
15
15
  switch (c) {
16
16
  case 6:
17
17
  case 7:
@@ -29,84 +29,84 @@ var Q = function() {
29
29
  r.getLogger().trace("Stop EOF2 ");
30
30
  break;
31
31
  case 15:
32
- r.getLogger().info("Node: ", e[l - 1].id), r.addNode(e[l - 2].length, e[l - 1].id, e[l - 1].descr, e[l - 1].type, e[l]);
32
+ r.getLogger().info("Node: ", t[l - 1].id), r.addNode(t[l - 2].length, t[l - 1].id, t[l - 1].descr, t[l - 1].type, t[l]);
33
33
  break;
34
34
  case 16:
35
- r.getLogger().info("Node: ", e[l].id), r.addNode(e[l - 1].length, e[l].id, e[l].descr, e[l].type);
35
+ r.getLogger().info("Node: ", t[l].id), r.addNode(t[l - 1].length, t[l].id, t[l].descr, t[l].type);
36
36
  break;
37
37
  case 17:
38
- r.getLogger().trace("Icon: ", e[l]), r.decorateNode({ icon: e[l] });
38
+ r.getLogger().trace("Icon: ", t[l]), r.decorateNode({ icon: t[l] });
39
39
  break;
40
40
  case 18:
41
41
  case 23:
42
- r.decorateNode({ class: e[l] });
42
+ r.decorateNode({ class: t[l] });
43
43
  break;
44
44
  case 19:
45
45
  r.getLogger().trace("SPACELIST");
46
46
  break;
47
47
  case 20:
48
- r.getLogger().trace("Node: ", e[l - 1].id), r.addNode(0, e[l - 1].id, e[l - 1].descr, e[l - 1].type, e[l]);
48
+ r.getLogger().trace("Node: ", t[l - 1].id), r.addNode(0, t[l - 1].id, t[l - 1].descr, t[l - 1].type, t[l]);
49
49
  break;
50
50
  case 21:
51
- r.getLogger().trace("Node: ", e[l].id), r.addNode(0, e[l].id, e[l].descr, e[l].type);
51
+ r.getLogger().trace("Node: ", t[l].id), r.addNode(0, t[l].id, t[l].descr, t[l].type);
52
52
  break;
53
53
  case 22:
54
- r.decorateNode({ icon: e[l] });
54
+ r.decorateNode({ icon: t[l] });
55
55
  break;
56
56
  case 27:
57
- r.getLogger().trace("node found ..", e[l - 2]), this.$ = { id: e[l - 1], descr: e[l - 1], type: r.getType(e[l - 2], e[l]) };
57
+ r.getLogger().trace("node found ..", t[l - 2]), this.$ = { id: t[l - 1], descr: t[l - 1], type: r.getType(t[l - 2], t[l]) };
58
58
  break;
59
59
  case 28:
60
- this.$ = { id: e[l], descr: e[l], type: 0 };
60
+ this.$ = { id: t[l], descr: t[l], type: 0 };
61
61
  break;
62
62
  case 29:
63
- r.getLogger().trace("node found ..", e[l - 3]), this.$ = { id: e[l - 3], descr: e[l - 1], type: r.getType(e[l - 2], e[l]) };
63
+ r.getLogger().trace("node found ..", t[l - 3]), this.$ = { id: t[l - 3], descr: t[l - 1], type: r.getType(t[l - 2], t[l]) };
64
64
  break;
65
65
  case 30:
66
- this.$ = e[l - 1] + e[l];
66
+ this.$ = t[l - 1] + t[l];
67
67
  break;
68
68
  case 31:
69
- this.$ = e[l];
69
+ this.$ = t[l];
70
70
  break;
71
71
  }
72
72
  }, "anonymous"),
73
73
  table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: u }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: u }, { 6: d, 7: [1, 10], 9: 9, 12: 11, 13: s, 14: 14, 16: g, 17: D, 18: 17, 19: 18, 20: S, 23: h }, i(v, [2, 3]), { 1: [2, 2] }, i(v, [2, 4]), i(v, [2, 5]), { 1: [2, 6], 6: d, 12: 21, 13: s, 14: 14, 16: g, 17: D, 18: 17, 19: 18, 20: S, 23: h }, { 6: d, 9: 22, 12: 11, 13: s, 14: 14, 16: g, 17: D, 18: 17, 19: 18, 20: S, 23: h }, { 6: b, 7: _, 10: 23, 11: C }, i(o, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: S, 23: h }), i(o, [2, 19]), i(o, [2, 21], { 15: 30, 24: j }), i(o, [2, 22]), i(o, [2, 23]), i(w, [2, 25]), i(w, [2, 26]), i(w, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: b, 7: _, 10: 34, 11: C }, { 1: [2, 7], 6: d, 12: 21, 13: s, 14: 14, 16: g, 17: D, 18: 17, 19: 18, 20: S, 23: h }, i(T, [2, 14], { 7: $, 11: H }), i(A, [2, 8]), i(A, [2, 9]), i(A, [2, 10]), i(o, [2, 16], { 15: 37, 24: j }), i(o, [2, 17]), i(o, [2, 18]), i(o, [2, 20], { 24: U }), i(w, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, i(T, [2, 13], { 7: $, 11: H }), i(A, [2, 11]), i(A, [2, 12]), i(o, [2, 15], { 24: U }), i(w, [2, 30]), { 22: [1, 41] }, i(w, [2, 27]), i(w, [2, 29])],
74
74
  defaultActions: { 2: [2, 1], 6: [2, 2] },
75
- parseError: /* @__PURE__ */ a(function(k, t) {
76
- if (t.recoverable)
75
+ parseError: /* @__PURE__ */ a(function(k, e) {
76
+ if (e.recoverable)
77
77
  this.trace(k);
78
78
  else {
79
79
  var n = new Error(k);
80
- throw n.hash = t, n;
80
+ throw n.hash = e, n;
81
81
  }
82
82
  }, "parseError"),
83
83
  parse: /* @__PURE__ */ a(function(k) {
84
- var t = this, n = [0], r = [], c = [null], e = [], m = this.table, l = "", W = 0, nt = 0, ht = 2, st = 1, ut = e.slice.call(arguments, 1), f = Object.create(this.lexer), P = { yy: {} };
84
+ var e = this, n = [0], r = [], c = [null], t = [], m = this.table, l = "", W = 0, ne = 0, he = 2, se = 1, ue = t.slice.call(arguments, 1), f = Object.create(this.lexer), P = { yy: {} };
85
85
  for (var X in this.yy)
86
86
  Object.prototype.hasOwnProperty.call(this.yy, X) && (P.yy[X] = this.yy[X]);
87
87
  f.setInput(k, P.yy), P.yy.lexer = f, P.yy.parser = this, typeof f.yylloc > "u" && (f.yylloc = {});
88
88
  var Y = f.yylloc;
89
- e.push(Y);
90
- var gt = f.options && f.options.ranges;
89
+ t.push(Y);
90
+ var ge = f.options && f.options.ranges;
91
91
  typeof P.yy.parseError == "function" ? this.parseError = P.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
92
- function dt(N) {
93
- n.length = n.length - 2 * N, c.length = c.length - N, e.length = e.length - N;
92
+ function de(N) {
93
+ n.length = n.length - 2 * N, c.length = c.length - N, t.length = t.length - N;
94
94
  }
95
- a(dt, "popStack");
96
- function rt() {
95
+ a(de, "popStack");
96
+ function re() {
97
97
  var N;
98
- return N = r.pop() || f.lex() || st, typeof N != "number" && (N instanceof Array && (r = N, N = r.pop()), N = t.symbols_[N] || N), N;
98
+ return N = r.pop() || f.lex() || se, typeof N != "number" && (N instanceof Array && (r = N, N = r.pop()), N = e.symbols_[N] || N), N;
99
99
  }
100
- a(rt, "lex");
101
- for (var E, B, x, K, F = {}, z, I, ot, V; ; ) {
102
- if (B = n[n.length - 1], this.defaultActions[B] ? x = this.defaultActions[B] : ((E === null || typeof E > "u") && (E = rt()), x = m[B] && m[B][E]), typeof x > "u" || !x.length || !x[0]) {
100
+ a(re, "lex");
101
+ for (var E, B, x, K, F = {}, z, I, oe, V; ; ) {
102
+ if (B = n[n.length - 1], this.defaultActions[B] ? x = this.defaultActions[B] : ((E === null || typeof E > "u") && (E = re()), x = m[B] && m[B][E]), typeof x > "u" || !x.length || !x[0]) {
103
103
  var J = "";
104
104
  V = [];
105
105
  for (z in m[B])
106
- this.terminals_[z] && z > ht && V.push("'" + this.terminals_[z] + "'");
106
+ this.terminals_[z] && z > he && V.push("'" + this.terminals_[z] + "'");
107
107
  f.showPosition ? J = "Parse error on line " + (W + 1) + `:
108
108
  ` + f.showPosition() + `
109
- Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "Parse error on line " + (W + 1) + ": Unexpected " + (E == st ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(J, {
109
+ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "Parse error on line " + (W + 1) + ": Unexpected " + (E == se ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(J, {
110
110
  text: f.match,
111
111
  token: this.terminals_[E] || E,
112
112
  line: f.yylineno,
@@ -118,28 +118,28 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
118
118
  throw new Error("Parse Error: multiple actions possible at state: " + B + ", token: " + E);
119
119
  switch (x[0]) {
120
120
  case 1:
121
- n.push(E), c.push(f.yytext), e.push(f.yylloc), n.push(x[1]), E = null, nt = f.yyleng, l = f.yytext, W = f.yylineno, Y = f.yylloc;
121
+ n.push(E), c.push(f.yytext), t.push(f.yylloc), n.push(x[1]), E = null, ne = f.yyleng, l = f.yytext, W = f.yylineno, Y = f.yylloc;
122
122
  break;
123
123
  case 2:
124
124
  if (I = this.productions_[x[1]][1], F.$ = c[c.length - I], F._$ = {
125
- first_line: e[e.length - (I || 1)].first_line,
126
- last_line: e[e.length - 1].last_line,
127
- first_column: e[e.length - (I || 1)].first_column,
128
- last_column: e[e.length - 1].last_column
129
- }, gt && (F._$.range = [
130
- e[e.length - (I || 1)].range[0],
131
- e[e.length - 1].range[1]
125
+ first_line: t[t.length - (I || 1)].first_line,
126
+ last_line: t[t.length - 1].last_line,
127
+ first_column: t[t.length - (I || 1)].first_column,
128
+ last_column: t[t.length - 1].last_column
129
+ }, ge && (F._$.range = [
130
+ t[t.length - (I || 1)].range[0],
131
+ t[t.length - 1].range[1]
132
132
  ]), K = this.performAction.apply(F, [
133
133
  l,
134
- nt,
134
+ ne,
135
135
  W,
136
136
  P.yy,
137
137
  x[1],
138
138
  c,
139
- e
140
- ].concat(ut)), typeof K < "u")
139
+ t
140
+ ].concat(ue)), typeof K < "u")
141
141
  return K;
142
- I && (n = n.slice(0, -1 * I * 2), c = c.slice(0, -1 * I), e = e.slice(0, -1 * I)), n.push(this.productions_[x[1]][0]), c.push(F.$), e.push(F._$), ot = m[n[n.length - 2]][n[n.length - 1]], n.push(ot);
142
+ I && (n = n.slice(0, -1 * I * 2), c = c.slice(0, -1 * I), t = t.slice(0, -1 * I)), n.push(this.productions_[x[1]][0]), c.push(F.$), t.push(F._$), oe = m[n[n.length - 2]][n[n.length - 1]], n.push(oe);
143
143
  break;
144
144
  case 3:
145
145
  return !0;
@@ -150,15 +150,15 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
150
150
  }, R = /* @__PURE__ */ function() {
151
151
  var k = {
152
152
  EOF: 1,
153
- parseError: /* @__PURE__ */ a(function(t, n) {
153
+ parseError: /* @__PURE__ */ a(function(e, n) {
154
154
  if (this.yy.parser)
155
- this.yy.parser.parseError(t, n);
155
+ this.yy.parser.parseError(e, n);
156
156
  else
157
- throw new Error(t);
157
+ throw new Error(e);
158
158
  }, "parseError"),
159
159
  // resets the lexer, sets new input
160
- setInput: /* @__PURE__ */ a(function(t, n) {
161
- return this.yy = n || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
160
+ setInput: /* @__PURE__ */ a(function(e, n) {
161
+ return this.yy = n || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
162
162
  first_line: 1,
163
163
  first_column: 0,
164
164
  last_line: 1,
@@ -167,24 +167,24 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
167
167
  }, "setInput"),
168
168
  // consumes and returns one char from the input
169
169
  input: /* @__PURE__ */ a(function() {
170
- var t = this._input[0];
171
- this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
172
- var n = t.match(/(?:\r\n?|\n).*/g);
173
- return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
170
+ var e = this._input[0];
171
+ this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e;
172
+ var n = e.match(/(?:\r\n?|\n).*/g);
173
+ return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
174
174
  }, "input"),
175
175
  // unshifts one char (or a string) into the input
176
- unput: /* @__PURE__ */ a(function(t) {
177
- var n = t.length, r = t.split(/(?:\r\n?|\n)/g);
178
- this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
176
+ unput: /* @__PURE__ */ a(function(e) {
177
+ var n = e.length, r = e.split(/(?:\r\n?|\n)/g);
178
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
179
179
  var c = this.match.split(/(?:\r\n?|\n)/g);
180
180
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), r.length - 1 && (this.yylineno -= r.length - 1);
181
- var e = this.yylloc.range;
181
+ var t = this.yylloc.range;
182
182
  return this.yylloc = {
183
183
  first_line: this.yylloc.first_line,
184
184
  last_line: this.yylineno + 1,
185
185
  first_column: this.yylloc.first_column,
186
186
  last_column: r ? (r.length === c.length ? this.yylloc.first_column : 0) + c[c.length - r.length].length - r[0].length : this.yylloc.first_column - n
187
- }, this.options.ranges && (this.yylloc.range = [e[0], e[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
187
+ }, this.options.ranges && (this.yylloc.range = [t[0], t[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
188
188
  }, "unput"),
189
189
  // When called from action, caches matched text and appends it on next action
190
190
  more: /* @__PURE__ */ a(function() {
@@ -204,29 +204,29 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
204
204
  return this;
205
205
  }, "reject"),
206
206
  // retain first n characters of the match
207
- less: /* @__PURE__ */ a(function(t) {
208
- this.unput(this.match.slice(t));
207
+ less: /* @__PURE__ */ a(function(e) {
208
+ this.unput(this.match.slice(e));
209
209
  }, "less"),
210
210
  // displays already matched input, i.e. for error messages
211
211
  pastInput: /* @__PURE__ */ a(function() {
212
- var t = this.matched.substr(0, this.matched.length - this.match.length);
213
- return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
212
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
213
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
214
214
  }, "pastInput"),
215
215
  // displays upcoming input, i.e. for error messages
216
216
  upcomingInput: /* @__PURE__ */ a(function() {
217
- var t = this.match;
218
- return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
217
+ var e = this.match;
218
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
219
219
  }, "upcomingInput"),
220
220
  // displays the character position where the lexing error occurred, i.e. for error messages
221
221
  showPosition: /* @__PURE__ */ a(function() {
222
- var t = this.pastInput(), n = new Array(t.length + 1).join("-");
223
- return t + this.upcomingInput() + `
222
+ var e = this.pastInput(), n = new Array(e.length + 1).join("-");
223
+ return e + this.upcomingInput() + `
224
224
  ` + n + "^";
225
225
  }, "showPosition"),
226
226
  // test the lexed token: return FALSE when not a match, otherwise return token
227
- test_match: /* @__PURE__ */ a(function(t, n) {
228
- var r, c, e;
229
- if (this.options.backtrack_lexer && (e = {
227
+ test_match: /* @__PURE__ */ a(function(e, n) {
228
+ var r, c, t;
229
+ if (this.options.backtrack_lexer && (t = {
230
230
  yylineno: this.yylineno,
231
231
  yylloc: {
232
232
  first_line: this.yylloc.first_line,
@@ -245,16 +245,16 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
245
245
  yy: this.yy,
246
246
  conditionStack: this.conditionStack.slice(0),
247
247
  done: this.done
248
- }, this.options.ranges && (e.yylloc.range = this.yylloc.range.slice(0))), c = t[0].match(/(?:\r\n?|\n).*/g), c && (this.yylineno += c.length), this.yylloc = {
248
+ }, this.options.ranges && (t.yylloc.range = this.yylloc.range.slice(0))), c = e[0].match(/(?:\r\n?|\n).*/g), c && (this.yylineno += c.length), this.yylloc = {
249
249
  first_line: this.yylloc.last_line,
250
250
  last_line: this.yylineno + 1,
251
251
  first_column: this.yylloc.last_column,
252
- last_column: c ? c[c.length - 1].length - c[c.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
253
- }, this.yytext += t[0], this.match += t[0], this.matches = t, 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(t[0].length), this.matched += t[0], r = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), r)
252
+ last_column: c ? c[c.length - 1].length - c[c.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
253
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, 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(e[0].length), this.matched += e[0], r = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), r)
254
254
  return r;
255
255
  if (this._backtrack) {
256
- for (var m in e)
257
- this[m] = e[m];
256
+ for (var m in t)
257
+ this[m] = t[m];
258
258
  return !1;
259
259
  }
260
260
  return !1;
@@ -264,13 +264,13 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
264
264
  if (this.done)
265
265
  return this.EOF;
266
266
  this._input || (this.done = !0);
267
- var t, n, r, c;
267
+ var e, n, r, c;
268
268
  this._more || (this.yytext = "", this.match = "");
269
- for (var e = this._currentRules(), m = 0; m < e.length; m++)
270
- if (r = this._input.match(this.rules[e[m]]), r && (!n || r[0].length > n[0].length)) {
269
+ for (var t = this._currentRules(), m = 0; m < t.length; m++)
270
+ if (r = this._input.match(this.rules[t[m]]), r && (!n || r[0].length > n[0].length)) {
271
271
  if (n = r, c = m, this.options.backtrack_lexer) {
272
- if (t = this.test_match(r, e[m]), t !== !1)
273
- return t;
272
+ if (e = this.test_match(r, t[m]), e !== !1)
273
+ return e;
274
274
  if (this._backtrack) {
275
275
  n = !1;
276
276
  continue;
@@ -279,7 +279,7 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
279
279
  } else if (!this.options.flex)
280
280
  break;
281
281
  }
282
- return n ? (t = this.test_match(n, e[c]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
282
+ return n ? (e = this.test_match(n, t[c]), e !== !1 ? e : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
283
283
  ` + this.showPosition(), {
284
284
  text: "",
285
285
  token: null,
@@ -288,36 +288,36 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
288
288
  }, "next"),
289
289
  // return next match that has a token
290
290
  lex: /* @__PURE__ */ a(function() {
291
- var t = this.next();
292
- return t || this.lex();
291
+ var e = this.next();
292
+ return e || this.lex();
293
293
  }, "lex"),
294
294
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
295
- begin: /* @__PURE__ */ a(function(t) {
296
- this.conditionStack.push(t);
295
+ begin: /* @__PURE__ */ a(function(e) {
296
+ this.conditionStack.push(e);
297
297
  }, "begin"),
298
298
  // pop the previously active lexer condition state off the condition stack
299
299
  popState: /* @__PURE__ */ a(function() {
300
- var t = this.conditionStack.length - 1;
301
- return t > 0 ? this.conditionStack.pop() : this.conditionStack[0];
300
+ var e = this.conditionStack.length - 1;
301
+ return e > 0 ? this.conditionStack.pop() : this.conditionStack[0];
302
302
  }, "popState"),
303
303
  // produce the lexer rule set which is active for the currently active lexer condition state
304
304
  _currentRules: /* @__PURE__ */ a(function() {
305
305
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
306
306
  }, "_currentRules"),
307
307
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
308
- topState: /* @__PURE__ */ a(function(t) {
309
- return t = this.conditionStack.length - 1 - Math.abs(t || 0), t >= 0 ? this.conditionStack[t] : "INITIAL";
308
+ topState: /* @__PURE__ */ a(function(e) {
309
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
310
310
  }, "topState"),
311
311
  // alias for begin(condition)
312
- pushState: /* @__PURE__ */ a(function(t) {
313
- this.begin(t);
312
+ pushState: /* @__PURE__ */ a(function(e) {
313
+ this.begin(e);
314
314
  }, "pushState"),
315
315
  // return the number of states currently on the stack
316
316
  stateStackSize: /* @__PURE__ */ a(function() {
317
317
  return this.conditionStack.length;
318
318
  }, "stateStackSize"),
319
319
  options: { "case-insensitive": !0 },
320
- performAction: /* @__PURE__ */ a(function(t, n, r, c) {
320
+ performAction: /* @__PURE__ */ a(function(e, n, r, c) {
321
321
  switch (r) {
322
322
  case 0:
323
323
  return this.pushState("shapeData"), n.yytext = "", 24;
@@ -326,15 +326,15 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
326
326
  case 2:
327
327
  return this.popState(), 24;
328
328
  case 3:
329
- const e = /\n\s*/g;
330
- return n.yytext = n.yytext.replace(e, "<br/>"), 24;
329
+ const t = /\n\s*/g;
330
+ return n.yytext = n.yytext.replace(t, "<br/>"), 24;
331
331
  case 4:
332
332
  return 24;
333
333
  case 5:
334
334
  this.popState();
335
335
  break;
336
336
  case 6:
337
- return t.getLogger().trace("Found comment", n.yytext), 6;
337
+ return e.getLogger().trace("Found comment", n.yytext), 6;
338
338
  case 7:
339
339
  return 8;
340
340
  case 8:
@@ -346,25 +346,25 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
346
346
  this.popState();
347
347
  break;
348
348
  case 11:
349
- t.getLogger().trace("Begin icon"), this.begin("ICON");
349
+ e.getLogger().trace("Begin icon"), this.begin("ICON");
350
350
  break;
351
351
  case 12:
352
- return t.getLogger().trace("SPACELINE"), 6;
352
+ return e.getLogger().trace("SPACELINE"), 6;
353
353
  case 13:
354
354
  return 7;
355
355
  case 14:
356
356
  return 16;
357
357
  case 15:
358
- t.getLogger().trace("end icon"), this.popState();
358
+ e.getLogger().trace("end icon"), this.popState();
359
359
  break;
360
360
  case 16:
361
- return t.getLogger().trace("Exploding node"), this.begin("NODE"), 20;
361
+ return e.getLogger().trace("Exploding node"), this.begin("NODE"), 20;
362
362
  case 17:
363
- return t.getLogger().trace("Cloud"), this.begin("NODE"), 20;
363
+ return e.getLogger().trace("Cloud"), this.begin("NODE"), 20;
364
364
  case 18:
365
- return t.getLogger().trace("Explosion Bang"), this.begin("NODE"), 20;
365
+ return e.getLogger().trace("Explosion Bang"), this.begin("NODE"), 20;
366
366
  case 19:
367
- return t.getLogger().trace("Cloud Bang"), this.begin("NODE"), 20;
367
+ return e.getLogger().trace("Cloud Bang"), this.begin("NODE"), 20;
368
368
  case 20:
369
369
  return this.begin("NODE"), 20;
370
370
  case 21:
@@ -388,33 +388,33 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
388
388
  this.popState();
389
389
  break;
390
390
  case 30:
391
- t.getLogger().trace("Starting NSTR"), this.begin("NSTR");
391
+ e.getLogger().trace("Starting NSTR"), this.begin("NSTR");
392
392
  break;
393
393
  case 31:
394
- return t.getLogger().trace("description:", n.yytext), "NODE_DESCR";
394
+ return e.getLogger().trace("description:", n.yytext), "NODE_DESCR";
395
395
  case 32:
396
396
  this.popState();
397
397
  break;
398
398
  case 33:
399
- return this.popState(), t.getLogger().trace("node end ))"), "NODE_DEND";
399
+ return this.popState(), e.getLogger().trace("node end ))"), "NODE_DEND";
400
400
  case 34:
401
- return this.popState(), t.getLogger().trace("node end )"), "NODE_DEND";
401
+ return this.popState(), e.getLogger().trace("node end )"), "NODE_DEND";
402
402
  case 35:
403
- return this.popState(), t.getLogger().trace("node end ...", n.yytext), "NODE_DEND";
403
+ return this.popState(), e.getLogger().trace("node end ...", n.yytext), "NODE_DEND";
404
404
  case 36:
405
- return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
405
+ return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
406
406
  case 37:
407
- return this.popState(), t.getLogger().trace("node end (-"), "NODE_DEND";
407
+ return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
408
408
  case 38:
409
- return this.popState(), t.getLogger().trace("node end (-"), "NODE_DEND";
409
+ return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
410
410
  case 39:
411
- return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
411
+ return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
412
412
  case 40:
413
- return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
413
+ return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
414
414
  case 41:
415
- return t.getLogger().trace("Long description:", n.yytext), 21;
415
+ return e.getLogger().trace("Long description:", n.yytext), 21;
416
416
  case 42:
417
- return t.getLogger().trace("Long description:", n.yytext), 21;
417
+ return e.getLogger().trace("Long description:", n.yytext), 21;
418
418
  }
419
419
  }, "anonymous"),
420
420
  rules: [/^(?:@\{)/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^\"]+)/i, /^(?:[^}^"]+)/i, /^(?:\})/i, /^(?:\s*%%.*)/i, /^(?:kanban\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}@]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
@@ -429,9 +429,9 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
429
429
  return a(O, "Parser"), O.prototype = y, y.Parser = O, new O();
430
430
  }();
431
431
  Q.parser = Q;
432
- var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
433
- L = [], et = [], Z = 0, it = {};
434
- }, "clear"), Dt = /* @__PURE__ */ a((i) => {
432
+ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
433
+ L = [], te = [], Z = 0, ie = {};
434
+ }, "clear"), De = /* @__PURE__ */ a((i) => {
435
435
  if (L.length === 0)
436
436
  return null;
437
437
  const u = L[0].level;
@@ -440,10 +440,10 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
440
440
  if (L[s].level === u && !d && (d = L[s]), L[s].level < u)
441
441
  throw new Error('Items without section detected, found section ("' + L[s].label + '")');
442
442
  return i === (d == null ? void 0 : d.level) ? null : d;
443
- }, "getSection"), ct = /* @__PURE__ */ a(function() {
444
- return et;
445
- }, "getSections"), xt = /* @__PURE__ */ a(function() {
446
- const i = [], u = [], d = ct(), s = G();
443
+ }, "getSection"), ce = /* @__PURE__ */ a(function() {
444
+ return te;
445
+ }, "getSections"), xe = /* @__PURE__ */ a(function() {
446
+ const i = [], u = [], d = ce(), s = G();
447
447
  for (const g of d) {
448
448
  const D = {
449
449
  id: g.id,
@@ -476,7 +476,7 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
476
476
  }
477
477
  }
478
478
  return { nodes: u, edges: i, other: {}, config: G() };
479
- }, "getData"), Lt = /* @__PURE__ */ a((i, u, d, s, g) => {
479
+ }, "getData"), Le = /* @__PURE__ */ a((i, u, d, s, g) => {
480
480
  var D, S;
481
481
  const h = G();
482
482
  let v = ((D = h.mindmap) == null ? void 0 : D.padding) ?? q.mindmap.padding;
@@ -501,13 +501,13 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
501
501
  ` : C = `{
502
502
  ` + g + `
503
503
  }`;
504
- const o = _t(C, { schema: Et });
504
+ const o = _e(C, { schema: Ee });
505
505
  if (o.shape && (o.shape !== o.shape.toLowerCase() || o.shape.includes("_")))
506
506
  throw new Error(`No such shape: ${o.shape}. Shape names should be lowercase.`);
507
507
  o != null && o.shape && o.shape === "kanbanItem" && (b.shape = o == null ? void 0 : o.shape), o != null && o.label && (b.label = o == null ? void 0 : o.label), o != null && o.icon && (b.icon = o == null ? void 0 : o.icon.toString()), o != null && o.assigned && (b.assigned = o == null ? void 0 : o.assigned.toString()), o != null && o.ticket && (b.ticket = o == null ? void 0 : o.ticket.toString()), o != null && o.priority && (b.priority = o == null ? void 0 : o.priority);
508
508
  }
509
- const _ = Dt(i);
510
- _ ? b.parentId = _.id || "kbn" + Z++ : et.push(b), L.push(b);
509
+ const _ = De(i);
510
+ _ ? b.parentId = _.id || "kbn" + Z++ : te.push(b), L.push(b);
511
511
  }, "addNode"), p = {
512
512
  DEFAULT: 0,
513
513
  NO_BORDER: 0,
@@ -517,8 +517,8 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
517
517
  CLOUD: 4,
518
518
  BANG: 5,
519
519
  HEXAGON: 6
520
- }, vt = /* @__PURE__ */ a((i, u) => {
521
- switch (tt.debug("In get type", i, u), i) {
520
+ }, ve = /* @__PURE__ */ a((i, u) => {
521
+ switch (ee.debug("In get type", i, u), i) {
522
522
  case "[":
523
523
  return p.RECT;
524
524
  case "(":
@@ -534,14 +534,14 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
534
534
  default:
535
535
  return p.DEFAULT;
536
536
  }
537
- }, "getType"), Ot = /* @__PURE__ */ a((i, u) => {
538
- it[i] = u;
539
- }, "setElementForId"), Ct = /* @__PURE__ */ a((i) => {
537
+ }, "getType"), Oe = /* @__PURE__ */ a((i, u) => {
538
+ ie[i] = u;
539
+ }, "setElementForId"), Ce = /* @__PURE__ */ a((i) => {
540
540
  if (!i)
541
541
  return;
542
542
  const u = G(), d = L[L.length - 1];
543
543
  i.icon && (d.icon = M(i.icon, u)), i.class && (d.cssClasses = M(i.class, u));
544
- }, "decorateNode"), wt = /* @__PURE__ */ a((i) => {
544
+ }, "decorateNode"), we = /* @__PURE__ */ a((i) => {
545
545
  switch (i) {
546
546
  case p.DEFAULT:
547
547
  return "no-border";
@@ -560,25 +560,25 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
560
560
  default:
561
561
  return "no-border";
562
562
  }
563
- }, "type2Str"), At = /* @__PURE__ */ a(() => tt, "getLogger"), It = /* @__PURE__ */ a((i) => it[i], "getElementById"), Tt = {
564
- clear: Nt,
565
- addNode: Lt,
566
- getSections: ct,
567
- getData: xt,
563
+ }, "type2Str"), Ae = /* @__PURE__ */ a(() => ee, "getLogger"), Ie = /* @__PURE__ */ a((i) => ie[i], "getElementById"), Te = {
564
+ clear: Ne,
565
+ addNode: Le,
566
+ getSections: ce,
567
+ getData: xe,
568
568
  nodeType: p,
569
- getType: vt,
570
- setElementForId: Ot,
571
- decorateNode: Ct,
572
- type2Str: wt,
573
- getLogger: At,
574
- getElementById: It
575
- }, $t = Tt, Rt = /* @__PURE__ */ a(async (i, u, d, s) => {
569
+ getType: ve,
570
+ setElementForId: Oe,
571
+ decorateNode: Ce,
572
+ type2Str: we,
573
+ getLogger: Ae,
574
+ getElementById: Ie
575
+ }, $e = Te, Re = /* @__PURE__ */ a(async (i, u, d, s) => {
576
576
  var g, D, S, h, v;
577
- tt.debug(`Rendering kanban diagram
577
+ ee.debug(`Rendering kanban diagram
578
578
  ` + i);
579
579
  const b = s.db.getData(), _ = G();
580
580
  _.htmlLabels = !1;
581
- const C = pt(u), o = C.append("g");
581
+ const C = pe(u), o = C.append("g");
582
582
  o.attr("class", "sections");
583
583
  const j = C.append("g");
584
584
  j.attr("class", "items");
@@ -592,7 +592,7 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
592
592
  for (const y of w) {
593
593
  const R = ((g = _ == null ? void 0 : _.kanban) == null ? void 0 : g.sectionWidth) || 200;
594
594
  T = T + 1, y.x = R * T + (T - 1) * $ / 2, y.width = R, y.y = 0, y.height = R * 3, y.rx = 5, y.ry = 5, y.cssClasses = y.cssClasses + " section-" + T;
595
- const O = await yt(o, y);
595
+ const O = await ye(o, y);
596
596
  A = Math.max(A, (D = O == null ? void 0 : O.labelBBox) == null ? void 0 : D.height), H.push(O);
597
597
  }
598
598
  let U = 0;
@@ -600,31 +600,31 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
600
600
  const R = H[U];
601
601
  U = U + 1;
602
602
  const O = ((S = _ == null ? void 0 : _.kanban) == null ? void 0 : S.sectionWidth) || 200, k = -O * 3 / 2 + A;
603
- let t = k;
604
- const n = b.nodes.filter((e) => e.parentId === y.id);
605
- for (const e of n) {
606
- if (e.isGroup)
603
+ let e = k;
604
+ const n = b.nodes.filter((t) => t.parentId === y.id);
605
+ for (const t of n) {
606
+ if (t.isGroup)
607
607
  throw new Error("Groups within groups are not allowed in Kanban diagrams");
608
- e.x = y.x, e.width = O - 1.5 * $;
609
- const m = (await ft(j, e, { config: _ })).node().getBBox();
610
- e.y = t + m.height / 2, await mt(e), t = e.y + m.height / 2 + $ / 2;
608
+ t.x = y.x, t.width = O - 1.5 * $;
609
+ const m = (await fe(j, t, { config: _ })).node().getBBox();
610
+ t.y = e + m.height / 2, await me(t), e = t.y + m.height / 2 + $ / 2;
611
611
  }
612
- const r = R.cluster.select("rect"), c = Math.max(t - k + 3 * $, 50) + (A - 25);
612
+ const r = R.cluster.select("rect"), c = Math.max(e - k + 3 * $, 50) + (A - 25);
613
613
  r.attr("height", c);
614
614
  }
615
- bt(
615
+ be(
616
616
  void 0,
617
617
  C,
618
618
  ((h = _.mindmap) == null ? void 0 : h.padding) ?? q.kanban.padding,
619
619
  ((v = _.mindmap) == null ? void 0 : v.useMaxWidth) ?? q.kanban.useMaxWidth
620
620
  );
621
- }, "draw"), Pt = {
622
- draw: Rt
623
- }, Bt = /* @__PURE__ */ a((i) => {
621
+ }, "draw"), Pe = {
622
+ draw: Re
623
+ }, Be = /* @__PURE__ */ a((i) => {
624
624
  let u = "";
625
625
  for (let s = 0; s < i.THEME_COLOR_LIMIT; s++)
626
- i["lineColor" + s] = i["lineColor" + s] || i["cScaleInv" + s], St(i["lineColor" + s]) ? i["lineColor" + s] = at(i["lineColor" + s], 20) : i["lineColor" + s] = lt(i["lineColor" + s], 20);
627
- const d = /* @__PURE__ */ a((s, g) => i.darkMode ? lt(s, g) : at(s, g), "adjuster");
626
+ i["lineColor" + s] = i["lineColor" + s] || i["cScaleInv" + s], Se(i["lineColor" + s]) ? i["lineColor" + s] = ae(i["lineColor" + s], 20) : i["lineColor" + s] = le(i["lineColor" + s], 20);
627
+ const d = /* @__PURE__ */ a((s, g) => i.darkMode ? le(s, g) : ae(s, g), "adjuster");
628
628
  for (let s = 0; s < i.THEME_COLOR_LIMIT; s++) {
629
629
  const g = "" + (17 - 3 * s);
630
630
  u += `
@@ -676,11 +676,11 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
676
676
  `;
677
677
  }
678
678
  return u;
679
- }, "genSections"), Ut = /* @__PURE__ */ a((i) => `
679
+ }, "genSections"), Ue = /* @__PURE__ */ a((i) => `
680
680
  .edge {
681
681
  stroke-width: 3;
682
682
  }
683
- ${Bt(i)}
683
+ ${Be(i)}
684
684
  .section-root rect, .section-root path, .section-root circle, .section-root polygon {
685
685
  fill: ${i.git0};
686
686
  }
@@ -707,12 +707,12 @@ var kt = Q, L = [], et = [], Z = 0, it = {}, Nt = /* @__PURE__ */ a(() => {
707
707
  dominant-baseline: middle;
708
708
  text-align: center;
709
709
  }
710
- `, "getStyles"), Ft = Ut, jt = {
711
- db: $t,
712
- renderer: Pt,
713
- parser: kt,
714
- styles: Ft
710
+ `, "getStyles"), Fe = Ue, je = {
711
+ db: $e,
712
+ renderer: Pe,
713
+ parser: ke,
714
+ styles: Fe
715
715
  };
716
716
  export {
717
- jt as diagram
717
+ je as diagram
718
718
  };