@kong-ui-public/documentation 1.4.17-pr.2665.525593492.0 → 1.4.17

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 (84) hide show
  1. package/dist/_basePickBy-BCsiP0lE-DJBdvZNn.js +151 -0
  2. package/dist/{_baseUniq-SAfYgIkf-buEvGj9H.js → _baseUniq-CsvgMmt0-CCBG5z_B.js} +165 -165
  3. package/dist/arc-DYb5Ak6k-js8YHzj6.js +83 -0
  4. package/dist/architecture-U656AL7Q-LZu-yAfZ-CQD6AyxA.js +5 -0
  5. package/dist/architectureDiagram-KFL7JDKH-BK_an8l5-D20M_MXF.js +4665 -0
  6. package/dist/blockDiagram-ZYB65J3Q-C0KtqCEe-pwEm3-ie.js +2265 -0
  7. package/dist/{c4Diagram-6F5ED5ID-D5yqWyf0-DzlUmurv.js → c4Diagram-AAMF2YG6-DYHWlrmc-C6NWDsTV.js} +4 -4
  8. package/dist/{channel-bVcNKbrJ-NqcPkfCx.js → channel-3QVQMCTA-BwyrTaJi.js} +1 -1
  9. package/dist/{chunk-TMUBEWPD-BRIzn5gH-alZ9Sg3f.js → chunk-ANTBXLJU-BhR1MDfy-Bec7kb00.js} +1 -1
  10. package/dist/{chunk-KFBOBJHC-nixdujtH-CrTZo7r-.js → chunk-FHKO5MBM-z_nuC8Da-Dge2Nbr5.js} +1 -1
  11. package/dist/chunk-GLLZNHP4-DgwBbAOT-BUrsAxH8.js +19 -0
  12. package/dist/chunk-JBRWN2VN-CHua2TSC-BYWS19Oz.js +1374 -0
  13. package/dist/chunk-LXBSTHXV-CoED0jHL-Cc8w4JL1.js +1382 -0
  14. package/dist/chunk-NRVI72HA-DxsqT4Dt-Bo_vu9qn.js +20 -0
  15. package/dist/{chunk-ASOPGD6M-B5bA_saK-BiT875Ve.js → chunk-OMD6QJNC-_VI6zVGr-Bb4P7zNG.js} +1 -1
  16. package/dist/chunk-WVR4S24B-C4HIWky3-CkJ0DHSJ.js +8 -0
  17. package/dist/classDiagram-3BZAVTQC-DrmNjTt_-CS9fxl_R.js +16 -0
  18. package/dist/classDiagram-v2-QTMF73CY-DrmNjTt_-CS9fxl_R.js +16 -0
  19. package/dist/{clone-_5SW34SG-DOuhA6mG.js → clone-C0dvnYv6-BozdSvey.js} +1 -1
  20. package/dist/cytoscape.esm-CjI2IsL8-DYIumutE.js +18721 -0
  21. package/dist/{dagre-4EVJKHTY-CcAruc30-B3UMlKNl.js → dagre-2BBEFEWP-Bh_bYuL8-Cej31YXN.js} +53 -53
  22. package/dist/defaultLocale-D7EN2tov-CK6dgF7Y.js +171 -0
  23. package/dist/diagram-4IRLE6MV-34TaesxP-XfF-gcP2.js +533 -0
  24. package/dist/diagram-GUPCWM2R-Cr4-5_uX-B8mxM1Uc.js +143 -0
  25. package/dist/diagram-RP2FKANI-COpvHjzI-C-_mZxuk.js +221 -0
  26. package/dist/documentation.es.js +1 -1
  27. package/dist/documentation.umd.js +860 -399
  28. package/dist/erDiagram-HZWUO2LU-Cu2MerRS-KziSgDQg.js +840 -0
  29. package/dist/flowDiagram-THRYKUMA-CfrQTB8C-BYn8LF24.js +1627 -0
  30. package/dist/ganttDiagram-WV7ZQ7D5-gkieebY_-C7YOriZ4.js +2504 -0
  31. package/dist/gitGraph-F6HP7TQM-suE5ufvy-CQDQV2yP.js +5 -0
  32. package/dist/{gitGraphDiagram-NRZ2UAAF-B-t90-9e-BkGPAEnk.js → gitGraphDiagram-OJR772UL-CYA7EIoU-Bqc1qZk4.js} +103 -103
  33. package/dist/{graph-BYZMvqpu-BXRs5843.js → graph-B_1gOUDz-Dm6REFzZ.js} +2 -2
  34. package/dist/{index-CMZig9xg.js → index-BDD0CD9m.js} +9834 -9540
  35. package/dist/info-NVLQJR56-CdsHk-Jf-tf8zb8tD.js +5 -0
  36. package/dist/infoDiagram-6WOFNB3A-ajp3t5Lm-D80dGo5F.js +24 -0
  37. package/dist/{journeyDiagram-G5WM74LC-BE7U42Ad-y6YegUqL.js → journeyDiagram-FFXJYRFH-kgCEEPLo-CakI8CyJ.js} +357 -333
  38. package/dist/{kanban-definition-QRCXZQQD-C-5-UNRm-BOYYKTAB.js → kanban-definition-KOZQBZVT-CmM4CHe6-rjuufCiO.js} +75 -73
  39. package/dist/{katex-Qk2jHgyB-_qyJ_37x.js → katex-C0Lgw_Sx-CbX2I1cQ.js} +1864 -1814
  40. package/dist/{layout-BHI4imdk-CESYC-il.js → layout-9vIfpCf3-FfABA43y.js} +81 -81
  41. package/dist/linear-C-k9vokG-Md9dfBfB.js +259 -0
  42. package/dist/{mermaid-parser.core-Ce96PX3Q-CV9ue_xr.js → mermaid-parser.core-DHL9WXVx-DeKF3RZx.js} +4080 -3590
  43. package/dist/{mindmap-definition-GWI6TPTV-C98Syvj2-DUWC1UH5.js → mindmap-definition-LNHGMQRG-BsypuFYj-DSVrvuog.js} +1112 -1100
  44. package/dist/packet-BFZMPI3H-BcK9kJ-B-BxxCPBGn.js +5 -0
  45. package/dist/pie-7BOR55EZ-Vt5px0F3-BM7egbMh.js +5 -0
  46. package/dist/pieDiagram-DBDJKBY4-Bam6gKTi-BOqYeC6c.js +161 -0
  47. package/dist/{quadrantDiagram-OS5C2QUG-M57vVPSx-BRx-dMGe.js → quadrantDiagram-YPSRARAO-CJwMw09m-CN2OO-Le.js} +2 -2
  48. package/dist/radar-NHE76QYJ-Br11XWE4-4RP4MPFA.js +5 -0
  49. package/dist/requirementDiagram-EGVEC5DT-DkRytT0X-C2zigskn.js +850 -0
  50. package/dist/{sankeyDiagram-Y46BX6SQ-D6EdYPdp-D2Qzxmhx.js → sankeyDiagram-HRAUVNP4-08s1UHMk-2j8idkNs.js} +198 -193
  51. package/dist/{sequenceDiagram-G6AWOVSC-B171TAb1-KCpoI-Ck.js → sequenceDiagram-WFGC7UMF-6_s7-CN7-D-oTpLFJ.js} +1001 -992
  52. package/dist/stateDiagram-UUKSUZ4H-eWajY90l-BlM614AN.js +263 -0
  53. package/dist/stateDiagram-v2-EYPG3UTE-Dh7Ngu1O-YVMiocHE.js +16 -0
  54. package/dist/style.css +1 -1
  55. package/dist/timeline-definition-3HZDQTIS-4TPEOhE8-fDDLVlO8.js +799 -0
  56. package/dist/treemap-KMMF4GRG-nu7WEuPi-C1YG24W8.js +5 -0
  57. package/dist/{xychartDiagram-6QU3TZC5-CqbTSF5W-CUbJ50KT.js → xychartDiagram-FDP5SA34-BbtKlU7T-D1BI5nWs.js} +459 -423
  58. package/package.json +4 -4
  59. package/dist/_basePickBy-zlkqRmFy-D6w9JBLu.js +0 -151
  60. package/dist/arc-CK9P6CkJ-DVgfRhzX.js +0 -83
  61. package/dist/architecture-I3QFYML2-DJzmbE4M-C3v7Cpg0.js +0 -5
  62. package/dist/architectureDiagram-UYN6MBPD-DkZdgpXi-BTThTJ0F.js +0 -4592
  63. package/dist/blockDiagram-ZHA2E4KO-DnCMGCMN-DBXa-baO.js +0 -2247
  64. package/dist/chunk-5HRBRIJM-BjQ8go1b-CJmT3AYe.js +0 -24
  65. package/dist/chunk-7U56Z5CX-awhAxjZ0-Cs_UWlwk.js +0 -1213
  66. package/dist/chunk-T2TOU4HS-DqOVhIzl-O3PUl7Qp.js +0 -1301
  67. package/dist/classDiagram-LNE6IOMH-fQzyXfo--DYLd8UQH.js +0 -14
  68. package/dist/classDiagram-v2-MQ7JQ4JX-fQzyXfo--DYLd8UQH.js +0 -14
  69. package/dist/cytoscape.esm-DAyNQ0qu-i5PnoWfE.js +0 -16110
  70. package/dist/diagram-QW4FP2JN-DZT_0aFO-SYzM51ke.js +0 -126
  71. package/dist/erDiagram-6RL3IURR-BfgUC5jv-BrebVho-.js +0 -937
  72. package/dist/flowDiagram-7ASYPVHJ-Bo9CnsE7-Ds2vln_y.js +0 -1484
  73. package/dist/ganttDiagram-NTVNEXSI-8E9hjd6N-fR_cmeDc.js +0 -2491
  74. package/dist/gitGraph-YCYPL57B-BnErPIwo-DXUTceC1.js +0 -5
  75. package/dist/info-46DW6VJ7-DPpbx_vA-omPXKuBd.js +0 -5
  76. package/dist/infoDiagram-A4XQUW5V-Bo9uoOcA-CnlgI27B.js +0 -22
  77. package/dist/linear-C2PheBya-BHVXLcru.js +0 -423
  78. package/dist/packet-W2GHVCYJ-BLiQbm7T-BD1xX8XM.js +0 -5
  79. package/dist/pie-BEWT4RHE-D3Mbo3mT-B4n38n6N.js +0 -5
  80. package/dist/pieDiagram-YF2LJOPJ-BJV27s9B-DA7hy5wG.js +0 -161
  81. package/dist/requirementDiagram-MIRIMTAZ-D0KDg7rf-CRMUyo68.js +0 -768
  82. package/dist/stateDiagram-MAYHULR4-D7FUnT9_-aCApnrI4.js +0 -268
  83. package/dist/stateDiagram-v2-4JROLMXI-Cyc74STT-D-7hwTRo.js +0 -14
  84. package/dist/timeline-definition-U7ZMHBDA-Bw-dp1yf-C01CsNUU.js +0 -804
@@ -1,9 +1,10 @@
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-CMZig9xg.js";
2
- var Q = function() {
1
+ import { l as pe } from "./chunk-GLLZNHP4-DgwBbAOT-BUrsAxH8.js";
2
+ import { _ as a, l as ee, g as F, aU as ye, f as fe, i as me, p as be, bm as _e, aC as K, ad as M, ap as Ee, aq as Se, bn as ke, bo as ae, bp as le } from "./index-BDD0CD9m.js";
3
+ var Y = function() {
3
4
  var i = /* @__PURE__ */ a(function(k, e, n, r) {
4
5
  for (n = n || {}, r = k.length; r--; n[k[r]] = e) ;
5
6
  return n;
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
+ }, "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], $ = [1, 6, 13, 16, 17, 20, 23], T = [1, 35], H = [1, 36], A = [1, 6, 7, 11, 13, 16, 17, 20, 23], U = [1, 38], y = {
7
8
  trace: /* @__PURE__ */ a(function() {
8
9
  }, "trace"),
9
10
  yy: {},
@@ -70,7 +71,7 @@ var Q = function() {
70
71
  break;
71
72
  }
72
73
  }, "anonymous"),
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
+ 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($, [2, 14], { 7: T, 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($, [2, 13], { 7: T, 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
75
  defaultActions: { 2: [2, 1], 6: [2, 2] },
75
76
  parseError: /* @__PURE__ */ a(function(k, e) {
76
77
  if (e.recoverable)
@@ -82,11 +83,11 @@ var Q = function() {
82
83
  }, "parseError"),
83
84
  parse: /* @__PURE__ */ a(function(k) {
84
85
  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
- for (var X in this.yy)
86
- Object.prototype.hasOwnProperty.call(this.yy, X) && (P.yy[X] = this.yy[X]);
86
+ for (var q in this.yy)
87
+ Object.prototype.hasOwnProperty.call(this.yy, q) && (P.yy[q] = this.yy[q]);
87
88
  f.setInput(k, P.yy), P.yy.lexer = f, P.yy.parser = this, typeof f.yylloc > "u" && (f.yylloc = {});
88
- var Y = f.yylloc;
89
- t.push(Y);
89
+ var X = f.yylloc;
90
+ t.push(X);
90
91
  var ge = f.options && f.options.ranges;
91
92
  typeof P.yy.parseError == "function" ? this.parseError = P.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
92
93
  function de(N) {
@@ -98,19 +99,19 @@ var Q = function() {
98
99
  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
100
  }
100
101
  a(re, "lex");
101
- for (var E, B, x, K, F = {}, z, I, oe, V; ; ) {
102
+ for (var E, B, x, J, G = {}, z, I, oe, V; ; ) {
102
103
  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
- var J = "";
104
+ var Q = "";
104
105
  V = [];
105
106
  for (z in m[B])
106
107
  this.terminals_[z] && z > he && V.push("'" + this.terminals_[z] + "'");
107
- f.showPosition ? J = "Parse error on line " + (W + 1) + `:
108
+ f.showPosition ? Q = "Parse error on line " + (W + 1) + `:
108
109
  ` + f.showPosition() + `
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
+ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Q = "Parse error on line " + (W + 1) + ": Unexpected " + (E == se ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(Q, {
110
111
  text: f.match,
111
112
  token: this.terminals_[E] || E,
112
113
  line: f.yylineno,
113
- loc: Y,
114
+ loc: X,
114
115
  expected: V
115
116
  });
116
117
  }
@@ -118,18 +119,18 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
118
119
  throw new Error("Parse Error: multiple actions possible at state: " + B + ", token: " + E);
119
120
  switch (x[0]) {
120
121
  case 1:
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
+ 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, X = f.yylloc;
122
123
  break;
123
124
  case 2:
124
- if (I = this.productions_[x[1]][1], F.$ = c[c.length - I], F._$ = {
125
+ if (I = this.productions_[x[1]][1], G.$ = c[c.length - I], G._$ = {
125
126
  first_line: t[t.length - (I || 1)].first_line,
126
127
  last_line: t[t.length - 1].last_line,
127
128
  first_column: t[t.length - (I || 1)].first_column,
128
129
  last_column: t[t.length - 1].last_column
129
- }, ge && (F._$.range = [
130
+ }, ge && (G._$.range = [
130
131
  t[t.length - (I || 1)].range[0],
131
132
  t[t.length - 1].range[1]
132
- ]), K = this.performAction.apply(F, [
133
+ ]), J = this.performAction.apply(G, [
133
134
  l,
134
135
  ne,
135
136
  W,
@@ -137,9 +138,9 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
137
138
  x[1],
138
139
  c,
139
140
  t
140
- ].concat(ue)), typeof K < "u")
141
- return K;
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);
141
+ ].concat(ue)), typeof J < "u")
142
+ return J;
143
+ 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(G.$), t.push(G._$), oe = m[n[n.length - 2]][n[n.length - 1]], n.push(oe);
143
144
  break;
144
145
  case 3:
145
146
  return !0;
@@ -428,10 +429,10 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
428
429
  }
429
430
  return a(O, "Parser"), O.prototype = y, y.Parser = O, new O();
430
431
  }();
431
- Q.parser = Q;
432
- var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
432
+ Y.parser = Y;
433
+ var Ne = Y, L = [], te = [], Z = 0, ie = {}, De = /* @__PURE__ */ a(() => {
433
434
  L = [], te = [], Z = 0, ie = {};
434
- }, "clear"), De = /* @__PURE__ */ a((i) => {
435
+ }, "clear"), xe = /* @__PURE__ */ a((i) => {
435
436
  if (L.length === 0)
436
437
  return null;
437
438
  const u = L[0].level;
@@ -442,8 +443,8 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
442
443
  return i === (d == null ? void 0 : d.level) ? null : d;
443
444
  }, "getSection"), ce = /* @__PURE__ */ a(function() {
444
445
  return te;
445
- }, "getSections"), xe = /* @__PURE__ */ a(function() {
446
- const i = [], u = [], d = ce(), s = G();
446
+ }, "getSections"), Le = /* @__PURE__ */ a(function() {
447
+ const i = [], u = [], d = ce(), s = F();
447
448
  for (const g of d) {
448
449
  const D = {
449
450
  id: g.id,
@@ -475,11 +476,11 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
475
476
  u.push(v);
476
477
  }
477
478
  }
478
- return { nodes: u, edges: i, other: {}, config: G() };
479
- }, "getData"), Le = /* @__PURE__ */ a((i, u, d, s, g) => {
479
+ return { nodes: u, edges: i, other: {}, config: F() };
480
+ }, "getData"), ve = /* @__PURE__ */ a((i, u, d, s, g) => {
480
481
  var D, S;
481
- const h = G();
482
- let v = ((D = h.mindmap) == null ? void 0 : D.padding) ?? q.mindmap.padding;
482
+ const h = F();
483
+ let v = ((D = h.mindmap) == null ? void 0 : D.padding) ?? K.mindmap.padding;
483
484
  switch (s) {
484
485
  case p.ROUNDED_RECT:
485
486
  case p.RECT:
@@ -490,7 +491,7 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
490
491
  id: M(u, h) || "kbn" + Z++,
491
492
  level: i,
492
493
  label: M(d, h),
493
- width: ((S = h.mindmap) == null ? void 0 : S.maxNodeWidth) ?? q.mindmap.maxNodeWidth,
494
+ width: ((S = h.mindmap) == null ? void 0 : S.maxNodeWidth) ?? K.mindmap.maxNodeWidth,
494
495
  padding: v,
495
496
  isGroup: !1
496
497
  };
@@ -501,12 +502,12 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
501
502
  ` : C = `{
502
503
  ` + g + `
503
504
  }`;
504
- const o = _e(C, { schema: Ee });
505
+ const o = Ee(C, { schema: Se });
505
506
  if (o.shape && (o.shape !== o.shape.toLowerCase() || o.shape.includes("_")))
506
507
  throw new Error(`No such shape: ${o.shape}. Shape names should be lowercase.`);
507
508
  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
509
  }
509
- const _ = De(i);
510
+ const _ = xe(i);
510
511
  _ ? b.parentId = _.id || "kbn" + Z++ : te.push(b), L.push(b);
511
512
  }, "addNode"), p = {
512
513
  DEFAULT: 0,
@@ -517,7 +518,7 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
517
518
  CLOUD: 4,
518
519
  BANG: 5,
519
520
  HEXAGON: 6
520
- }, ve = /* @__PURE__ */ a((i, u) => {
521
+ }, Oe = /* @__PURE__ */ a((i, u) => {
521
522
  switch (ee.debug("In get type", i, u), i) {
522
523
  case "[":
523
524
  return p.RECT;
@@ -534,14 +535,14 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
534
535
  default:
535
536
  return p.DEFAULT;
536
537
  }
537
- }, "getType"), Oe = /* @__PURE__ */ a((i, u) => {
538
+ }, "getType"), Ce = /* @__PURE__ */ a((i, u) => {
538
539
  ie[i] = u;
539
- }, "setElementForId"), Ce = /* @__PURE__ */ a((i) => {
540
+ }, "setElementForId"), we = /* @__PURE__ */ a((i) => {
540
541
  if (!i)
541
542
  return;
542
- const u = G(), d = L[L.length - 1];
543
+ const u = F(), d = L[L.length - 1];
543
544
  i.icon && (d.icon = M(i.icon, u)), i.class && (d.cssClasses = M(i.class, u));
544
- }, "decorateNode"), we = /* @__PURE__ */ a((i) => {
545
+ }, "decorateNode"), Ae = /* @__PURE__ */ a((i) => {
545
546
  switch (i) {
546
547
  case p.DEFAULT:
547
548
  return "no-border";
@@ -560,25 +561,25 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
560
561
  default:
561
562
  return "no-border";
562
563
  }
563
- }, "type2Str"), Ae = /* @__PURE__ */ a(() => ee, "getLogger"), Ie = /* @__PURE__ */ a((i) => ie[i], "getElementById"), Te = {
564
- clear: Ne,
565
- addNode: Le,
564
+ }, "type2Str"), Ie = /* @__PURE__ */ a(() => ee, "getLogger"), $e = /* @__PURE__ */ a((i) => ie[i], "getElementById"), Te = {
565
+ clear: De,
566
+ addNode: ve,
566
567
  getSections: ce,
567
- getData: xe,
568
+ getData: Le,
568
569
  nodeType: p,
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) => {
570
+ getType: Oe,
571
+ setElementForId: Ce,
572
+ decorateNode: we,
573
+ type2Str: Ae,
574
+ getLogger: Ie,
575
+ getElementById: $e
576
+ }, Re = Te, Pe = /* @__PURE__ */ a(async (i, u, d, s) => {
576
577
  var g, D, S, h, v;
577
578
  ee.debug(`Rendering kanban diagram
578
579
  ` + i);
579
- const b = s.db.getData(), _ = G();
580
+ const b = s.db.getData(), _ = F();
580
581
  _.htmlLabels = !1;
581
- const C = pe(u), o = C.append("g");
582
+ const C = ye(u), o = C.append("g");
582
583
  o.attr("class", "sections");
583
584
  const j = C.append("g");
584
585
  j.attr("class", "items");
@@ -586,13 +587,13 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
586
587
  // TODO: TypeScript 5.5 will infer this predicate automatically
587
588
  (y) => y.isGroup
588
589
  );
589
- let T = 0;
590
- const $ = 10, H = [];
590
+ let $ = 0;
591
+ const T = 10, H = [];
591
592
  let A = 25;
592
593
  for (const y of w) {
593
594
  const R = ((g = _ == null ? void 0 : _.kanban) == null ? void 0 : g.sectionWidth) || 200;
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 ye(o, y);
595
+ $ = $ + 1, y.x = R * $ + ($ - 1) * T / 2, y.width = R, y.y = 0, y.height = R * 3, y.rx = 5, y.ry = 5, y.cssClasses = y.cssClasses + " section-" + $;
596
+ const O = await fe(o, y);
596
597
  A = Math.max(A, (D = O == null ? void 0 : O.labelBBox) == null ? void 0 : D.height), H.push(O);
597
598
  }
598
599
  let U = 0;
@@ -605,25 +606,25 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
605
606
  for (const t of n) {
606
607
  if (t.isGroup)
607
608
  throw new Error("Groups within groups are not allowed in Kanban diagrams");
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;
609
+ t.x = y.x, t.width = O - 1.5 * T;
610
+ const m = (await me(j, t, { config: _ })).node().getBBox();
611
+ t.y = e + m.height / 2, await be(t), e = t.y + m.height / 2 + T / 2;
611
612
  }
612
- const r = R.cluster.select("rect"), c = Math.max(e - k + 3 * $, 50) + (A - 25);
613
+ const r = R.cluster.select("rect"), c = Math.max(e - k + 3 * T, 50) + (A - 25);
613
614
  r.attr("height", c);
614
615
  }
615
- be(
616
+ _e(
616
617
  void 0,
617
618
  C,
618
- ((h = _.mindmap) == null ? void 0 : h.padding) ?? q.kanban.padding,
619
- ((v = _.mindmap) == null ? void 0 : v.useMaxWidth) ?? q.kanban.useMaxWidth
619
+ ((h = _.mindmap) == null ? void 0 : h.padding) ?? K.kanban.padding,
620
+ ((v = _.mindmap) == null ? void 0 : v.useMaxWidth) ?? K.kanban.useMaxWidth
620
621
  );
621
- }, "draw"), Pe = {
622
- draw: Re
623
- }, Be = /* @__PURE__ */ a((i) => {
622
+ }, "draw"), Be = {
623
+ draw: Pe
624
+ }, Ue = /* @__PURE__ */ a((i) => {
624
625
  let u = "";
625
626
  for (let s = 0; s < i.THEME_COLOR_LIMIT; s++)
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
+ i["lineColor" + s] = i["lineColor" + s] || i["cScaleInv" + s], ke(i["lineColor" + s]) ? i["lineColor" + s] = ae(i["lineColor" + s], 20) : i["lineColor" + s] = le(i["lineColor" + s], 20);
627
628
  const d = /* @__PURE__ */ a((s, g) => i.darkMode ? le(s, g) : ae(s, g), "adjuster");
628
629
  for (let s = 0; s < i.THEME_COLOR_LIMIT; s++) {
629
630
  const g = "" + (17 - 3 * s);
@@ -676,11 +677,11 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
676
677
  `;
677
678
  }
678
679
  return u;
679
- }, "genSections"), Ue = /* @__PURE__ */ a((i) => `
680
+ }, "genSections"), Ge = /* @__PURE__ */ a((i) => `
680
681
  .edge {
681
682
  stroke-width: 3;
682
683
  }
683
- ${Be(i)}
684
+ ${Ue(i)}
684
685
  .section-root rect, .section-root path, .section-root circle, .section-root polygon {
685
686
  fill: ${i.git0};
686
687
  }
@@ -707,12 +708,13 @@ var ke = Q, L = [], te = [], Z = 0, ie = {}, Ne = /* @__PURE__ */ a(() => {
707
708
  dominant-baseline: middle;
708
709
  text-align: center;
709
710
  }
710
- `, "getStyles"), Fe = Ue, je = {
711
- db: $e,
712
- renderer: Pe,
713
- parser: ke,
714
- styles: Fe
711
+ ${pe()}
712
+ `, "getStyles"), Me = Ge, Fe = {
713
+ db: Re,
714
+ renderer: Be,
715
+ parser: Ne,
716
+ styles: Me
715
717
  };
716
718
  export {
717
- je as diagram
719
+ Fe as diagram
718
720
  };