@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.
Files changed (63) hide show
  1. package/dist/{arc-DZdQjcG8-C_2Dx6GQ.js → arc-DZdQjcG8-CduayE88.js} +2 -2
  2. package/dist/{architectureDiagram-3BPJPVTR-By_DXDyu-DTj86bUZ.js → architectureDiagram-3BPJPVTR-By_DXDyu-U3MSLbOU.js} +1506 -1513
  3. package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CKP-SiVG.js +3268 -0
  4. package/dist/{c4Diagram-AAUBKEIU-ftdwlfdB-CYiERTWJ.js → c4Diagram-AAUBKEIU-ftdwlfdB-D3A61SdV.js} +11 -12
  5. package/dist/{channel-DM9j7IFL-CjNPz4Hd.js → channel-DM9j7IFL-DxqBUxfY.js} +1 -1
  6. package/dist/{chunk-2J33WTMH-CBbjVzWb-BAAd-TK5.js → chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js} +7 -8
  7. package/dist/chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js +8 -0
  8. package/dist/{chunk-55IACEB6-DZn1aNO0-_bs5ibIB.js → chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js} +1 -1
  9. package/dist/{chunk-727SXJPM-B2_6_WLv-CzbzsbtK.js → chunk-727SXJPM-B2_6_WLv-Bs3CxHaX.js} +548 -549
  10. package/dist/{chunk-AQP2D5EJ-DEAEiJjW-BPr5JvkB.js → chunk-AQP2D5EJ-DEAEiJjW-DTbwZT8N.js} +446 -458
  11. package/dist/{chunk-FMBD7UC4-D_tZ4Dxg-BUygZnCT.js → chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js} +1 -1
  12. package/dist/{chunk-ND2GUHAM-Duw3k8MU-Dr8SD23L.js → chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js} +1 -1
  13. package/dist/{chunk-QZHKN3VN-DN6nBdn0-DxWE5zsM.js → chunk-QZHKN3VN-DN6nBdn0-BvQOETVz.js} +1 -1
  14. package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-BqXc0etQ.js +17 -0
  15. package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-BqXc0etQ.js +17 -0
  16. package/dist/{cose-bilkent-S5V4N54A-0ZumbVgj-BKcFQWbE.js → cose-bilkent-S5V4N54A-0ZumbVgj-0z7CQbIH.js} +465 -465
  17. package/dist/{cytoscape.esm-BDIiOYYO-BbddfVIJ.js → cytoscape.esm-BDIiOYYO-C1jMBhD8.js} +356 -371
  18. package/dist/dagre-BM42HDAG-qMWMsyLb-DGMrq3i3.js +288 -0
  19. package/dist/{dagre-DJxg_nfI-BzVw7cNP.js → dagre-DJxg_nfI-hVOVexz-.js} +9 -9
  20. package/dist/{diagram-2AECGRRQ-B2gF_dHe-DCRSlKG-.js → diagram-2AECGRRQ-B2gF_dHe-Bv_EpxRz.js} +10 -14
  21. package/dist/{diagram-5GNKFQAL-DJ9WwRrD-DtSWJY6-.js → diagram-5GNKFQAL-DJ9WwRrD-WVvm0Icu.js} +4 -4
  22. package/dist/{diagram-KO2AKTUF-RfkqD-VW-ZR9mxccc.js → diagram-KO2AKTUF-RfkqD-VW-yyAds1Qq.js} +153 -156
  23. package/dist/{diagram-LMA3HP47-Ct7s9hIt-DXtPBRn4.js → diagram-LMA3HP47-Ct7s9hIt-Dy6f9BAO.js} +21 -22
  24. package/dist/{diagram-OG6HWLK6-BSYJ2CoI-DX1BfXw6.js → diagram-OG6HWLK6-BSYJ2CoI-ckmfat-L.js} +79 -81
  25. package/dist/documentation.es.js +1 -1
  26. package/dist/documentation.umd.js +374 -374
  27. package/dist/{erDiagram-TEJ5UH35-BudwiSYX-BPA5-1u6.js → erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js} +134 -135
  28. package/dist/{flowDiagram-I6XJVG4X-B23Smlxp-Cb24VZnb.js → flowDiagram-I6XJVG4X-B23Smlxp-ClHvdCdJ.js} +842 -849
  29. package/dist/{ganttDiagram-6RSMTGT7-C-i89z_P-DEdTFlTH.js → ganttDiagram-6RSMTGT7-C-i89z_P-t5UAyRM5.js} +46 -46
  30. package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-Cg3smOdz.js +734 -0
  31. package/dist/{graphlib-D2YdGpuK-CM8PX5pf.js → graphlib-D2YdGpuK-CnQPmzkS.js} +17 -17
  32. package/dist/{index-Dpyqhws4.js → index-DfVKdDwj.js} +16258 -16515
  33. package/dist/{infoDiagram-5YYISTIA-CDUwzFql-BsbTK2Me.js → infoDiagram-5YYISTIA-CDUwzFql-Bmthmcp4.js} +2 -2
  34. package/dist/{ishikawaDiagram-YF4QCWOH-MfYdx0rK-DsWP0O6d.js → ishikawaDiagram-YF4QCWOH-MfYdx0rK-cbltssua.js} +137 -138
  35. package/dist/{journeyDiagram-JHISSGLW-C_udOPtJ-BkIf9B4Q.js → journeyDiagram-JHISSGLW-C_udOPtJ-BjAvgSAR.js} +13 -13
  36. package/dist/{kanban-definition-UN3LZRKU-C1Su-UOY-6sw-wDwK.js → kanban-definition-UN3LZRKU-C1Su-UOY-DZ93dsWZ.js} +334 -336
  37. package/dist/{katex-D7tFlpqA-B7yKriH4.js → katex-D7tFlpqA-BOSQxXe1.js} +254 -256
  38. package/dist/{linear-1MXhYum8-CfR5ywK4.js → linear-1MXhYum8-9C1jno9G.js} +5 -5
  39. package/dist/{mindmap-definition-RKZ34NQL-MuSV765K-Cv2rDIFS.js → mindmap-definition-RKZ34NQL-MuSV765K-Kub1iXFv.js} +94 -97
  40. package/dist/{ordinal-D9ksOc8y-CrGveXkB.js → ordinal-D9ksOc8y-2hZwLyEk.js} +1 -1
  41. package/dist/{pieDiagram-4H26LBE5-TgFp7J6_-C8m2xJbj.js → pieDiagram-4H26LBE5-TgFp7J6_-i6NxP3Xz.js} +43 -44
  42. package/dist/{quadrantDiagram-W4KKPZXB-DKPne3o_-D0Tfl8NQ.js → quadrantDiagram-W4KKPZXB-DKPne3o_-DXLHqRuR.js} +351 -353
  43. package/dist/{requirementDiagram-4Y6WPE33-vh8uUAp_-C5zLx-_o.js → requirementDiagram-4Y6WPE33-vh8uUAp_-CHtsISxP.js} +384 -386
  44. package/dist/{sankeyDiagram-5OEKKPKP-Cgs6W_El-DBrv4QL_.js → sankeyDiagram-5OEKKPKP-Cgs6W_El-D7GZyd8n.js} +178 -178
  45. package/dist/{sequenceDiagram-3UESZ5HK-C5F57Dkt-D6DqZiJP.js → sequenceDiagram-3UESZ5HK-C5F57Dkt-BW1Hb7UW.js} +643 -653
  46. package/dist/{stateDiagram-AJRCARHV-09dUKG6Y-9QhAIhCk.js → stateDiagram-AJRCARHV-09dUKG6Y-Dm2a1vNu.js} +5 -5
  47. package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-DbWzZ-j-.js +16 -0
  48. package/dist/style.css +1 -1
  49. package/dist/timeline-definition-PNZ67QCA-CCndyx0V-B5CT96H-.js +1095 -0
  50. package/dist/{vennDiagram-CIIHVFJN-DQfKxM3L-086u82L3.js → vennDiagram-CIIHVFJN-DQfKxM3L-qUaKEl7l.js} +596 -603
  51. package/dist/{wardley-L42UT6IY-BjAkE_cs-li1xYed9.js → wardley-L42UT6IY-BjAkE_cs-C-giFqos.js} +5760 -5809
  52. package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-DXPF2Ee9.js +639 -0
  53. package/dist/{xychartDiagram-2RQKCTM6-ChNH3q1U--vbcTXH5.js → xychartDiagram-2RQKCTM6-ChNH3q1U-a59DsJDA.js} +10 -10
  54. package/package.json +4 -4
  55. package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CSQRWfog.js +0 -3278
  56. package/dist/chunk-4BX2VUAB-C_NnimAy-B-8x_g6K.js +0 -9
  57. package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-DLmqgbj1.js +0 -17
  58. package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-DLmqgbj1.js +0 -17
  59. package/dist/dagre-BM42HDAG-qMWMsyLb-BzK2-5zM.js +0 -291
  60. package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-BtfdBLxW.js +0 -747
  61. package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-Br5eF-5b.js +0 -16
  62. package/dist/timeline-definition-PNZ67QCA-CCndyx0V-CkhwKYjQ.js +0 -1106
  63. package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-CCMCDU5F.js +0 -647
@@ -1,23 +1,23 @@
1
- import { p as o, g as J, Z as M, a0 as yt, ay as ft, az as mt, aA as bt, au as _t, F as X, c as B, j as Et, z as kt, ar as Nt, as as at, at as lt } from "./index-Dpyqhws4.js";
2
- import { t as St } from "./chunk-FMBD7UC4-D_tZ4Dxg-BUygZnCT.js";
3
- var Q = function() {
4
- var i = /* @__PURE__ */ o(function(t, c, a, r) {
5
- for (a || (a = {}), r = t.length; r--; a[t[r]] = c) ;
1
+ import { p as r, g as J, Z as j, a0 as yt, ay as ft, az as mt, aA as bt, au as _t, F as X, c as T, j as Et, z as kt, ar as Nt, as as at, at as lt } from "./index-DfVKdDwj.js";
2
+ import { t as St } from "./chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js";
3
+ var Q = (function() {
4
+ var e = /* @__PURE__ */ r(function(t, l, a, s) {
5
+ for (a ||= {}, s = t.length; s--; a[t[s]] = l) ;
6
6
  return a;
7
- }, "o"), g = [1, 4], p = [1, 13], s = [1, 12], u = [1, 15], y = [1, 16], _ = [1, 20], h = [1, 19], D = [
7
+ }, "o"), u = [1, 4], y = [1, 13], n = [1, 12], g = [1, 15], m = [1, 16], E = [1, 20], c = [1, 19], D = [
8
8
  6,
9
9
  7,
10
10
  8
11
- ], C = [1, 26], L = [1, 24], $ = [1, 25], n = [
11
+ ], I = [1, 26], h = [1, 24], P = [1, 25], _ = [
12
12
  6,
13
13
  7,
14
14
  11
15
- ], F = [1, 31], O = [
15
+ ], B = [1, 31], d = [
16
16
  6,
17
17
  7,
18
18
  11,
19
19
  24
20
- ], G = [
20
+ ], v = [
21
21
  1,
22
22
  6,
23
23
  13,
@@ -25,7 +25,7 @@ var Q = function() {
25
25
  17,
26
26
  20,
27
27
  23
28
- ], U = [1, 35], j = [1, 36], A = [
28
+ ], C = [1, 35], F = [1, 36], L = [
29
29
  1,
30
30
  6,
31
31
  7,
@@ -35,8 +35,8 @@ var Q = function() {
35
35
  17,
36
36
  20,
37
37
  23
38
- ], f = [1, 38], I = {
39
- trace: /* @__PURE__ */ o(function() {
38
+ ], M = [1, 38], G = {
39
+ trace: /* @__PURE__ */ r(function() {
40
40
  }, "trace"),
41
41
  yy: {},
42
42
  symbols_: {
@@ -115,75 +115,75 @@ var Q = function() {
115
115
  [15, 2],
116
116
  [15, 1]
117
117
  ],
118
- performAction: /* @__PURE__ */ o(function(t, c, a, r, d, e, w) {
119
- var l = e.length - 1;
120
- switch (d) {
118
+ performAction: /* @__PURE__ */ r(function(t, l, a, s, p, i, U) {
119
+ var o = i.length - 1;
120
+ switch (p) {
121
121
  case 6:
122
122
  case 7:
123
- return r;
123
+ return s;
124
124
  case 8:
125
- r.getLogger().trace("Stop NL ");
125
+ s.getLogger().trace("Stop NL ");
126
126
  break;
127
127
  case 9:
128
- r.getLogger().trace("Stop EOF ");
128
+ s.getLogger().trace("Stop EOF ");
129
129
  break;
130
130
  case 11:
131
- r.getLogger().trace("Stop NL2 ");
131
+ s.getLogger().trace("Stop NL2 ");
132
132
  break;
133
133
  case 12:
134
- r.getLogger().trace("Stop EOF2 ");
134
+ s.getLogger().trace("Stop EOF2 ");
135
135
  break;
136
136
  case 15:
137
- 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]);
137
+ s.getLogger().info("Node: ", i[o - 1].id), s.addNode(i[o - 2].length, i[o - 1].id, i[o - 1].descr, i[o - 1].type, i[o]);
138
138
  break;
139
139
  case 16:
140
- r.getLogger().info("Node: ", e[l].id), r.addNode(e[l - 1].length, e[l].id, e[l].descr, e[l].type);
140
+ s.getLogger().info("Node: ", i[o].id), s.addNode(i[o - 1].length, i[o].id, i[o].descr, i[o].type);
141
141
  break;
142
142
  case 17:
143
- r.getLogger().trace("Icon: ", e[l]), r.decorateNode({ icon: e[l] });
143
+ s.getLogger().trace("Icon: ", i[o]), s.decorateNode({ icon: i[o] });
144
144
  break;
145
145
  case 18:
146
146
  case 23:
147
- r.decorateNode({ class: e[l] });
147
+ s.decorateNode({ class: i[o] });
148
148
  break;
149
149
  case 19:
150
- r.getLogger().trace("SPACELIST");
150
+ s.getLogger().trace("SPACELIST");
151
151
  break;
152
152
  case 20:
153
- 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]);
153
+ s.getLogger().trace("Node: ", i[o - 1].id), s.addNode(0, i[o - 1].id, i[o - 1].descr, i[o - 1].type, i[o]);
154
154
  break;
155
155
  case 21:
156
- r.getLogger().trace("Node: ", e[l].id), r.addNode(0, e[l].id, e[l].descr, e[l].type);
156
+ s.getLogger().trace("Node: ", i[o].id), s.addNode(0, i[o].id, i[o].descr, i[o].type);
157
157
  break;
158
158
  case 22:
159
- r.decorateNode({ icon: e[l] });
159
+ s.decorateNode({ icon: i[o] });
160
160
  break;
161
161
  case 27:
162
- r.getLogger().trace("node found ..", e[l - 2]), this.$ = {
163
- id: e[l - 1],
164
- descr: e[l - 1],
165
- type: r.getType(e[l - 2], e[l])
162
+ s.getLogger().trace("node found ..", i[o - 2]), this.$ = {
163
+ id: i[o - 1],
164
+ descr: i[o - 1],
165
+ type: s.getType(i[o - 2], i[o])
166
166
  };
167
167
  break;
168
168
  case 28:
169
169
  this.$ = {
170
- id: e[l],
171
- descr: e[l],
170
+ id: i[o],
171
+ descr: i[o],
172
172
  type: 0
173
173
  };
174
174
  break;
175
175
  case 29:
176
- r.getLogger().trace("node found ..", e[l - 3]), this.$ = {
177
- id: e[l - 3],
178
- descr: e[l - 1],
179
- type: r.getType(e[l - 2], e[l])
176
+ s.getLogger().trace("node found ..", i[o - 3]), this.$ = {
177
+ id: i[o - 3],
178
+ descr: i[o - 1],
179
+ type: s.getType(i[o - 2], i[o])
180
180
  };
181
181
  break;
182
182
  case 30:
183
- this.$ = e[l - 1] + e[l];
183
+ this.$ = i[o - 1] + i[o];
184
184
  break;
185
185
  case 31:
186
- this.$ = e[l];
186
+ this.$ = i[o];
187
187
  break;
188
188
  }
189
189
  }, "anonymous"),
@@ -193,7 +193,7 @@ var Q = function() {
193
193
  4: 2,
194
194
  5: 3,
195
195
  6: [1, 5],
196
- 8: g
196
+ 8: u
197
197
  },
198
198
  { 1: [3] },
199
199
  { 1: [2, 1] },
@@ -201,189 +201,189 @@ var Q = function() {
201
201
  4: 6,
202
202
  6: [1, 7],
203
203
  7: [1, 8],
204
- 8: g
204
+ 8: u
205
205
  },
206
206
  {
207
- 6: p,
207
+ 6: y,
208
208
  7: [1, 10],
209
209
  9: 9,
210
210
  12: 11,
211
- 13: s,
211
+ 13: n,
212
212
  14: 14,
213
- 16: u,
214
- 17: y,
213
+ 16: g,
214
+ 17: m,
215
215
  18: 17,
216
216
  19: 18,
217
- 20: _,
218
- 23: h
217
+ 20: E,
218
+ 23: c
219
219
  },
220
- i(D, [2, 3]),
220
+ e(D, [2, 3]),
221
221
  { 1: [2, 2] },
222
- i(D, [2, 4]),
223
- i(D, [2, 5]),
222
+ e(D, [2, 4]),
223
+ e(D, [2, 5]),
224
224
  {
225
225
  1: [2, 6],
226
- 6: p,
226
+ 6: y,
227
227
  12: 21,
228
- 13: s,
228
+ 13: n,
229
229
  14: 14,
230
- 16: u,
231
- 17: y,
230
+ 16: g,
231
+ 17: m,
232
232
  18: 17,
233
233
  19: 18,
234
- 20: _,
235
- 23: h
234
+ 20: E,
235
+ 23: c
236
236
  },
237
237
  {
238
- 6: p,
238
+ 6: y,
239
239
  9: 22,
240
240
  12: 11,
241
- 13: s,
241
+ 13: n,
242
242
  14: 14,
243
- 16: u,
244
- 17: y,
243
+ 16: g,
244
+ 17: m,
245
245
  18: 17,
246
246
  19: 18,
247
- 20: _,
248
- 23: h
247
+ 20: E,
248
+ 23: c
249
249
  },
250
250
  {
251
- 6: C,
252
- 7: L,
251
+ 6: I,
252
+ 7: h,
253
253
  10: 23,
254
- 11: $
254
+ 11: P
255
255
  },
256
- i(n, [2, 24], {
256
+ e(_, [2, 24], {
257
257
  18: 17,
258
258
  19: 18,
259
259
  14: 27,
260
260
  16: [1, 28],
261
261
  17: [1, 29],
262
- 20: _,
263
- 23: h
262
+ 20: E,
263
+ 23: c
264
264
  }),
265
- i(n, [2, 19]),
266
- i(n, [2, 21], {
265
+ e(_, [2, 19]),
266
+ e(_, [2, 21], {
267
267
  15: 30,
268
- 24: F
268
+ 24: B
269
269
  }),
270
- i(n, [2, 22]),
271
- i(n, [2, 23]),
272
- i(O, [2, 25]),
273
- i(O, [2, 26]),
274
- i(O, [2, 28], { 20: [1, 32] }),
270
+ e(_, [2, 22]),
271
+ e(_, [2, 23]),
272
+ e(d, [2, 25]),
273
+ e(d, [2, 26]),
274
+ e(d, [2, 28], { 20: [1, 32] }),
275
275
  { 21: [1, 33] },
276
276
  {
277
- 6: C,
278
- 7: L,
277
+ 6: I,
278
+ 7: h,
279
279
  10: 34,
280
- 11: $
280
+ 11: P
281
281
  },
282
282
  {
283
283
  1: [2, 7],
284
- 6: p,
284
+ 6: y,
285
285
  12: 21,
286
- 13: s,
286
+ 13: n,
287
287
  14: 14,
288
- 16: u,
289
- 17: y,
288
+ 16: g,
289
+ 17: m,
290
290
  18: 17,
291
291
  19: 18,
292
- 20: _,
293
- 23: h
292
+ 20: E,
293
+ 23: c
294
294
  },
295
- i(G, [2, 14], {
296
- 7: U,
297
- 11: j
295
+ e(v, [2, 14], {
296
+ 7: C,
297
+ 11: F
298
298
  }),
299
- i(A, [2, 8]),
300
- i(A, [2, 9]),
301
- i(A, [2, 10]),
302
- i(n, [2, 16], {
299
+ e(L, [2, 8]),
300
+ e(L, [2, 9]),
301
+ e(L, [2, 10]),
302
+ e(_, [2, 16], {
303
303
  15: 37,
304
- 24: F
304
+ 24: B
305
305
  }),
306
- i(n, [2, 17]),
307
- i(n, [2, 18]),
308
- i(n, [2, 20], { 24: f }),
309
- i(O, [2, 31]),
306
+ e(_, [2, 17]),
307
+ e(_, [2, 18]),
308
+ e(_, [2, 20], { 24: M }),
309
+ e(d, [2, 31]),
310
310
  { 21: [1, 39] },
311
311
  { 22: [1, 40] },
312
- i(G, [2, 13], {
313
- 7: U,
314
- 11: j
312
+ e(v, [2, 13], {
313
+ 7: C,
314
+ 11: F
315
315
  }),
316
- i(A, [2, 11]),
317
- i(A, [2, 12]),
318
- i(n, [2, 15], { 24: f }),
319
- i(O, [2, 30]),
316
+ e(L, [2, 11]),
317
+ e(L, [2, 12]),
318
+ e(_, [2, 15], { 24: M }),
319
+ e(d, [2, 30]),
320
320
  { 22: [1, 41] },
321
- i(O, [2, 27]),
322
- i(O, [2, 29])
321
+ e(d, [2, 27]),
322
+ e(d, [2, 29])
323
323
  ],
324
324
  defaultActions: {
325
325
  2: [2, 1],
326
326
  6: [2, 2]
327
327
  },
328
- parseError: /* @__PURE__ */ o(function(t, c) {
329
- if (c.recoverable) this.trace(t);
328
+ parseError: /* @__PURE__ */ r(function(t, l) {
329
+ if (l.recoverable) this.trace(t);
330
330
  else {
331
331
  var a = Error(t);
332
- throw a.hash = c, a;
332
+ throw a.hash = l, a;
333
333
  }
334
334
  }, "parseError"),
335
- parse: /* @__PURE__ */ o(function(t) {
336
- var c = this, a = [0], r = [], d = [null], e = [], w = this.table, l = "", H = 0, it = 0, ht = 0, gt = 2, nt = 1, ut = e.slice.call(arguments, 1), b = Object.create(this.lexer), R = { yy: {} };
337
- for (var K in this.yy) Object.prototype.hasOwnProperty.call(this.yy, K) && (R.yy[K] = this.yy[K]);
338
- b.setInput(t, R.yy), R.yy.lexer = b, R.yy.parser = this, b.yylloc === void 0 && (b.yylloc = {});
335
+ parse: /* @__PURE__ */ r(function(t) {
336
+ var l = this, a = [0], s = [], p = [null], i = [], U = this.table, o = "", H = 0, it = 0, ht = 0, ut = 2, nt = 1, gt = i.slice.call(arguments, 1), b = Object.create(this.lexer), $ = { yy: {} };
337
+ for (var K in this.yy) Object.prototype.hasOwnProperty.call(this.yy, K) && ($.yy[K] = this.yy[K]);
338
+ b.setInput(t, $.yy), $.yy.lexer = b, $.yy.parser = this, b.yylloc === void 0 && (b.yylloc = {});
339
339
  var Z = b.yylloc;
340
- e.push(Z);
340
+ i.push(Z);
341
341
  var dt = b.options && b.options.ranges;
342
- typeof R.yy.parseError == "function" ? this.parseError = R.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
342
+ typeof $.yy.parseError == "function" ? this.parseError = $.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
343
343
  function pt(S) {
344
- a.length -= 2 * S, d.length -= S, e.length -= S;
344
+ a.length -= 2 * S, p.length -= S, i.length -= S;
345
345
  }
346
- o(pt, "popStack");
346
+ r(pt, "popStack");
347
347
  function st() {
348
- var S = r.pop() || b.lex() || nt;
349
- return typeof S != "number" && (S instanceof Array && (r = S, S = r.pop()), S = c.symbols_[S] || S), S;
348
+ var S = s.pop() || b.lex() || nt;
349
+ return typeof S != "number" && (S instanceof Array && (s = S, S = s.pop()), S = l.symbols_[S] || S), S;
350
350
  }
351
- o(st, "lex");
352
- for (var E, Y, T, N, q, P = {}, W, v, rt, z; ; ) {
353
- if (T = a[a.length - 1], this.defaultActions[T] ? N = this.defaultActions[T] : (E ?? (E = st()), N = w[T] && w[T][E]), N === void 0 || !N.length || !N[0]) {
351
+ r(st, "lex");
352
+ for (var k, Y, A, N, q, R = {}, W, O, rt, z; ; ) {
353
+ if (A = a[a.length - 1], this.defaultActions[A] ? N = this.defaultActions[A] : (k ??= st(), N = U[A] && U[A][k]), N === void 0 || !N.length || !N[0]) {
354
354
  var ot = "";
355
- for (W in z = [], w[T]) this.terminals_[W] && W > gt && z.push("'" + this.terminals_[W] + "'");
355
+ for (W in z = [], U[A]) this.terminals_[W] && W > ut && z.push("'" + this.terminals_[W] + "'");
356
356
  ot = b.showPosition ? "Parse error on line " + (H + 1) + `:
357
357
  ` + b.showPosition() + `
358
- Expecting ` + z.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : "Parse error on line " + (H + 1) + ": Unexpected " + (E == nt ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(ot, {
358
+ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : "Parse error on line " + (H + 1) + ": Unexpected " + (k == nt ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(ot, {
359
359
  text: b.match,
360
- token: this.terminals_[E] || E,
360
+ token: this.terminals_[k] || k,
361
361
  line: b.yylineno,
362
362
  loc: Z,
363
363
  expected: z
364
364
  });
365
365
  }
366
- if (N[0] instanceof Array && N.length > 1) throw Error("Parse Error: multiple actions possible at state: " + T + ", token: " + E);
366
+ if (N[0] instanceof Array && N.length > 1) throw Error("Parse Error: multiple actions possible at state: " + A + ", token: " + k);
367
367
  switch (N[0]) {
368
368
  case 1:
369
- a.push(E), d.push(b.yytext), e.push(b.yylloc), a.push(N[1]), E = null, Y ? (E = Y, Y = null) : (it = b.yyleng, l = b.yytext, H = b.yylineno, Z = b.yylloc, ht > 0);
369
+ a.push(k), p.push(b.yytext), i.push(b.yylloc), a.push(N[1]), k = null, Y ? (k = Y, Y = null) : (it = b.yyleng, o = b.yytext, H = b.yylineno, Z = b.yylloc, ht > 0);
370
370
  break;
371
371
  case 2:
372
- if (v = this.productions_[N[1]][1], P.$ = d[d.length - v], P._$ = {
373
- first_line: e[e.length - (v || 1)].first_line,
374
- last_line: e[e.length - 1].last_line,
375
- first_column: e[e.length - (v || 1)].first_column,
376
- last_column: e[e.length - 1].last_column
377
- }, dt && (P._$.range = [e[e.length - (v || 1)].range[0], e[e.length - 1].range[1]]), q = this.performAction.apply(P, [
378
- l,
372
+ if (O = this.productions_[N[1]][1], R.$ = p[p.length - O], R._$ = {
373
+ first_line: i[i.length - (O || 1)].first_line,
374
+ last_line: i[i.length - 1].last_line,
375
+ first_column: i[i.length - (O || 1)].first_column,
376
+ last_column: i[i.length - 1].last_column
377
+ }, dt && (R._$.range = [i[i.length - (O || 1)].range[0], i[i.length - 1].range[1]]), q = this.performAction.apply(R, [
378
+ o,
379
379
  it,
380
380
  H,
381
- R.yy,
381
+ $.yy,
382
382
  N[1],
383
- d,
384
- e
385
- ].concat(ut)), q !== void 0) return q;
386
- v && (a = a.slice(0, -1 * v * 2), d = d.slice(0, -1 * v), e = e.slice(0, -1 * v)), a.push(this.productions_[N[1]][0]), d.push(P.$), e.push(P._$), rt = w[a[a.length - 2]][a[a.length - 1]], a.push(rt);
383
+ p,
384
+ i
385
+ ].concat(gt)), q !== void 0) return q;
386
+ O && (a = a.slice(0, -1 * O * 2), p = p.slice(0, -1 * O), i = i.slice(0, -1 * O)), a.push(this.productions_[N[1]][0]), p.push(R.$), i.push(R._$), rt = U[a[a.length - 2]][a[a.length - 1]], a.push(rt);
387
387
  break;
388
388
  case 3:
389
389
  return !0;
@@ -392,42 +392,42 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : "Pars
392
392
  return !0;
393
393
  }, "parse")
394
394
  };
395
- I.lexer = /* @__PURE__ */ function() {
395
+ G.lexer = /* @__PURE__ */ (function() {
396
396
  return {
397
397
  EOF: 1,
398
- parseError: /* @__PURE__ */ o(function(t, c) {
399
- if (this.yy.parser) this.yy.parser.parseError(t, c);
398
+ parseError: /* @__PURE__ */ r(function(t, l) {
399
+ if (this.yy.parser) this.yy.parser.parseError(t, l);
400
400
  else throw Error(t);
401
401
  }, "parseError"),
402
- setInput: /* @__PURE__ */ o(function(t, c) {
403
- return this.yy = c || 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 = {
402
+ setInput: /* @__PURE__ */ r(function(t, l) {
403
+ return this.yy = l || 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 = {
404
404
  first_line: 1,
405
405
  first_column: 0,
406
406
  last_line: 1,
407
407
  last_column: 0
408
408
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
409
409
  }, "setInput"),
410
- input: /* @__PURE__ */ o(function() {
410
+ input: /* @__PURE__ */ r(function() {
411
411
  var t = this._input[0];
412
412
  return this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t, t.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), t;
413
413
  }, "input"),
414
- unput: /* @__PURE__ */ o(function(t) {
415
- var c = t.length, a = t.split(/(?:\r\n?|\n)/g);
416
- this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c), this.offset -= c;
417
- var r = this.match.split(/(?:\r\n?|\n)/g);
414
+ unput: /* @__PURE__ */ r(function(t) {
415
+ var l = t.length, a = t.split(/(?:\r\n?|\n)/g);
416
+ this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - l), this.offset -= l;
417
+ var s = this.match.split(/(?:\r\n?|\n)/g);
418
418
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), a.length - 1 && (this.yylineno -= a.length - 1);
419
- var d = this.yylloc.range;
419
+ var p = this.yylloc.range;
420
420
  return this.yylloc = {
421
421
  first_line: this.yylloc.first_line,
422
422
  last_line: this.yylineno + 1,
423
423
  first_column: this.yylloc.first_column,
424
- last_column: a ? (a.length === r.length ? this.yylloc.first_column : 0) + r[r.length - a.length].length - a[0].length : this.yylloc.first_column - c
425
- }, this.options.ranges && (this.yylloc.range = [d[0], d[0] + this.yyleng - c]), this.yyleng = this.yytext.length, this;
424
+ last_column: a ? (a.length === s.length ? this.yylloc.first_column : 0) + s[s.length - a.length].length - a[0].length : this.yylloc.first_column - l
425
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - l]), this.yyleng = this.yytext.length, this;
426
426
  }, "unput"),
427
- more: /* @__PURE__ */ o(function() {
427
+ more: /* @__PURE__ */ r(function() {
428
428
  return this._more = !0, this;
429
429
  }, "more"),
430
- reject: /* @__PURE__ */ o(function() {
430
+ reject: /* @__PURE__ */ r(function() {
431
431
  if (this.options.backtrack_lexer) this._backtrack = !0;
432
432
  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).
433
433
  ` + this.showPosition(), {
@@ -437,25 +437,25 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : "Pars
437
437
  });
438
438
  return this;
439
439
  }, "reject"),
440
- less: /* @__PURE__ */ o(function(t) {
440
+ less: /* @__PURE__ */ r(function(t) {
441
441
  this.unput(this.match.slice(t));
442
442
  }, "less"),
443
- pastInput: /* @__PURE__ */ o(function() {
443
+ pastInput: /* @__PURE__ */ r(function() {
444
444
  var t = this.matched.substr(0, this.matched.length - this.match.length);
445
445
  return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
446
446
  }, "pastInput"),
447
- upcomingInput: /* @__PURE__ */ o(function() {
447
+ upcomingInput: /* @__PURE__ */ r(function() {
448
448
  var t = this.match;
449
449
  return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
450
450
  }, "upcomingInput"),
451
- showPosition: /* @__PURE__ */ o(function() {
452
- var t = this.pastInput(), c = Array(t.length + 1).join("-");
451
+ showPosition: /* @__PURE__ */ r(function() {
452
+ var t = this.pastInput(), l = Array(t.length + 1).join("-");
453
453
  return t + this.upcomingInput() + `
454
- ` + c + "^";
454
+ ` + l + "^";
455
455
  }, "showPosition"),
456
- test_match: /* @__PURE__ */ o(function(t, c) {
457
- var a, r, d;
458
- if (this.options.backtrack_lexer && (d = {
456
+ test_match: /* @__PURE__ */ r(function(t, l) {
457
+ var a, s, p;
458
+ if (this.options.backtrack_lexer && (p = {
459
459
  yylineno: this.yylineno,
460
460
  yylloc: {
461
461
  first_line: this.yylloc.first_line,
@@ -474,78 +474,78 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : "Pars
474
474
  yy: this.yy,
475
475
  conditionStack: this.conditionStack.slice(0),
476
476
  done: this.done
477
- }, this.options.ranges && (d.yylloc.range = this.yylloc.range.slice(0))), r = t[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
477
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), s = t[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
478
478
  first_line: this.yylloc.last_line,
479
479
  last_line: this.yylineno + 1,
480
480
  first_column: this.yylloc.last_column,
481
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
482
- }, 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], a = this.performAction.call(this, this.yy, this, c, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a) return a;
481
+ last_column: s ? s[s.length - 1].length - s[s.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
482
+ }, 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], a = this.performAction.call(this, this.yy, this, l, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a) return a;
483
483
  if (this._backtrack) {
484
- for (var e in d) this[e] = d[e];
484
+ for (var i in p) this[i] = p[i];
485
485
  return !1;
486
486
  }
487
487
  return !1;
488
488
  }, "test_match"),
489
- next: /* @__PURE__ */ o(function() {
489
+ next: /* @__PURE__ */ r(function() {
490
490
  if (this.done) return this.EOF;
491
491
  this._input || (this.done = !0);
492
- var t, c, a, r;
492
+ var t, l, a, s;
493
493
  this._more || (this.yytext = "", this.match = "");
494
- for (var d = this._currentRules(), e = 0; e < d.length; e++) if (a = this._input.match(this.rules[d[e]]), a && (!c || a[0].length > c[0].length)) {
495
- if (c = a, r = e, this.options.backtrack_lexer) {
496
- if (t = this.test_match(a, d[e]), t !== !1) return t;
494
+ for (var p = this._currentRules(), i = 0; i < p.length; i++) if (a = this._input.match(this.rules[p[i]]), a && (!l || a[0].length > l[0].length)) {
495
+ if (l = a, s = i, this.options.backtrack_lexer) {
496
+ if (t = this.test_match(a, p[i]), t !== !1) return t;
497
497
  if (this._backtrack) {
498
- c = !1;
498
+ l = !1;
499
499
  continue;
500
500
  } else return !1;
501
501
  } else if (!this.options.flex) break;
502
502
  }
503
- return c ? (t = this.test_match(c, d[r]), t === !1 ? !1 : t) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
503
+ return l ? (t = this.test_match(l, p[s]), t === !1 ? !1 : t) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
504
504
  ` + this.showPosition(), {
505
505
  text: "",
506
506
  token: null,
507
507
  line: this.yylineno
508
508
  });
509
509
  }, "next"),
510
- lex: /* @__PURE__ */ o(function() {
510
+ lex: /* @__PURE__ */ r(function() {
511
511
  return this.next() || this.lex();
512
512
  }, "lex"),
513
- begin: /* @__PURE__ */ o(function(t) {
513
+ begin: /* @__PURE__ */ r(function(t) {
514
514
  this.conditionStack.push(t);
515
515
  }, "begin"),
516
- popState: /* @__PURE__ */ o(function() {
516
+ popState: /* @__PURE__ */ r(function() {
517
517
  return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
518
518
  }, "popState"),
519
- _currentRules: /* @__PURE__ */ o(function() {
519
+ _currentRules: /* @__PURE__ */ r(function() {
520
520
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
521
521
  }, "_currentRules"),
522
- topState: /* @__PURE__ */ o(function(t) {
522
+ topState: /* @__PURE__ */ r(function(t) {
523
523
  return t = this.conditionStack.length - 1 - Math.abs(t || 0), t >= 0 ? this.conditionStack[t] : "INITIAL";
524
524
  }, "topState"),
525
- pushState: /* @__PURE__ */ o(function(t) {
525
+ pushState: /* @__PURE__ */ r(function(t) {
526
526
  this.begin(t);
527
527
  }, "pushState"),
528
- stateStackSize: /* @__PURE__ */ o(function() {
528
+ stateStackSize: /* @__PURE__ */ r(function() {
529
529
  return this.conditionStack.length;
530
530
  }, "stateStackSize"),
531
531
  options: { "case-insensitive": !0 },
532
- performAction: /* @__PURE__ */ o(function(t, c, a, r) {
532
+ performAction: /* @__PURE__ */ r(function(t, l, a, s) {
533
533
  switch (a) {
534
534
  case 0:
535
- return this.pushState("shapeData"), c.yytext = "", 24;
535
+ return this.pushState("shapeData"), l.yytext = "", 24;
536
536
  case 1:
537
537
  return this.pushState("shapeDataStr"), 24;
538
538
  case 2:
539
539
  return this.popState(), 24;
540
540
  case 3:
541
- return c.yytext = c.yytext.replace(/\n\s*/g, "<br/>"), 24;
541
+ return l.yytext = l.yytext.replace(/\n\s*/g, "<br/>"), 24;
542
542
  case 4:
543
543
  return 24;
544
544
  case 5:
545
545
  this.popState();
546
546
  break;
547
547
  case 6:
548
- return t.getLogger().trace("Found comment", c.yytext), 6;
548
+ return t.getLogger().trace("Found comment", l.yytext), 6;
549
549
  case 7:
550
550
  return 8;
551
551
  case 8:
@@ -602,7 +602,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : "Pars
602
602
  t.getLogger().trace("Starting NSTR"), this.begin("NSTR");
603
603
  break;
604
604
  case 31:
605
- return t.getLogger().trace("description:", c.yytext), "NODE_DESCR";
605
+ return t.getLogger().trace("description:", l.yytext), "NODE_DESCR";
606
606
  case 32:
607
607
  this.popState();
608
608
  break;
@@ -611,7 +611,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : "Pars
611
611
  case 34:
612
612
  return this.popState(), t.getLogger().trace("node end )"), "NODE_DEND";
613
613
  case 35:
614
- return this.popState(), t.getLogger().trace("node end ...", c.yytext), "NODE_DEND";
614
+ return this.popState(), t.getLogger().trace("node end ...", l.yytext), "NODE_DEND";
615
615
  case 36:
616
616
  return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
617
617
  case 37:
@@ -623,9 +623,9 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : "Pars
623
623
  case 40:
624
624
  return this.popState(), t.getLogger().trace("node end (("), "NODE_DEND";
625
625
  case 41:
626
- return t.getLogger().trace("Long description:", c.yytext), 21;
626
+ return t.getLogger().trace("Long description:", l.yytext), 21;
627
627
  case 42:
628
- return t.getLogger().trace("Long description:", c.yytext), 21;
628
+ return t.getLogger().trace("Long description:", l.yytext), 21;
629
629
  }
630
630
  }, "anonymous"),
631
631
  rules: [
@@ -748,94 +748,93 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : "Pars
748
748
  }
749
749
  }
750
750
  };
751
- }();
752
- function k() {
751
+ })();
752
+ function w() {
753
753
  this.yy = {};
754
754
  }
755
- return o(k, "Parser"), k.prototype = I, I.Parser = k, new k();
756
- }();
755
+ return r(w, "Parser"), w.prototype = G, G.Parser = w, new w();
756
+ })();
757
757
  Q.parser = Q;
758
- var xt = Q, x = [], et = [], V = 0, tt = {}, Dt = /* @__PURE__ */ o(() => {
758
+ var xt = Q, x = [], et = [], V = 0, tt = {}, Dt = /* @__PURE__ */ r(() => {
759
759
  x = [], et = [], V = 0, tt = {};
760
- }, "clear"), Lt = /* @__PURE__ */ o((i) => {
760
+ }, "clear"), Lt = /* @__PURE__ */ r((e) => {
761
761
  if (x.length === 0) return null;
762
- let g = x[0].level, p = null;
763
- for (let s = x.length - 1; s >= 0; s--) if (x[s].level === g && !p && (p = x[s]), x[s].level < g) throw Error('Items without section detected, found section ("' + x[s].label + '")');
764
- return i === (p == null ? void 0 : p.level) ? null : p;
765
- }, "getSection"), ct = /* @__PURE__ */ o(function() {
762
+ let u = x[0].level, y = null;
763
+ for (let n = x.length - 1; n >= 0; n--) if (x[n].level === u && !y && (y = x[n]), x[n].level < u) throw Error('Items without section detected, found section ("' + x[n].label + '")');
764
+ return e === y?.level ? null : y;
765
+ }, "getSection"), ct = /* @__PURE__ */ r(function() {
766
766
  return et;
767
- }, "getSections"), Ot = /* @__PURE__ */ o(function() {
768
- let i = [], g = [], p = ct(), s = M();
769
- for (let u of p) {
770
- let y = {
771
- id: u.id,
772
- label: B(u.label ?? "", s),
767
+ }, "getSections"), Ot = /* @__PURE__ */ r(function() {
768
+ let e = [], u = [], y = ct(), n = j();
769
+ for (let g of y) {
770
+ let m = {
771
+ id: g.id,
772
+ label: T(g.label ?? "", n),
773
773
  labelType: "markdown",
774
774
  isGroup: !0,
775
- ticket: u.ticket,
775
+ ticket: g.ticket,
776
776
  shape: "kanbanSection",
777
- level: u.level,
778
- look: s.look
777
+ level: g.level,
778
+ look: n.look
779
779
  };
780
- g.push(y);
781
- let _ = x.filter((h) => h.parentId === u.id);
782
- for (let h of _) {
780
+ u.push(m);
781
+ let E = x.filter((c) => c.parentId === g.id);
782
+ for (let c of E) {
783
783
  let D = {
784
- id: h.id,
785
- parentId: u.id,
786
- label: B(h.label ?? "", s),
784
+ id: c.id,
785
+ parentId: g.id,
786
+ label: T(c.label ?? "", n),
787
787
  labelType: "markdown",
788
788
  isGroup: !1,
789
- ticket: h == null ? void 0 : h.ticket,
790
- priority: h == null ? void 0 : h.priority,
791
- assigned: h == null ? void 0 : h.assigned,
792
- icon: h == null ? void 0 : h.icon,
789
+ ticket: c?.ticket,
790
+ priority: c?.priority,
791
+ assigned: c?.assigned,
792
+ icon: c?.icon,
793
793
  shape: "kanbanItem",
794
- level: h.level,
794
+ level: c.level,
795
795
  rx: 5,
796
796
  ry: 5,
797
797
  cssStyles: ["text-align: left"]
798
798
  };
799
- g.push(D);
799
+ u.push(D);
800
800
  }
801
801
  }
802
802
  return {
803
- nodes: g,
804
- edges: i,
803
+ nodes: u,
804
+ edges: e,
805
805
  other: {},
806
- config: M()
806
+ config: j()
807
807
  };
808
- }, "getData"), It = /* @__PURE__ */ o((i, g, p, s, u) => {
809
- var C, L;
810
- let y = M(), _ = ((C = y.mindmap) == null ? void 0 : C.padding) ?? X.mindmap.padding;
811
- switch (s) {
812
- case m.ROUNDED_RECT:
813
- case m.RECT:
814
- case m.HEXAGON:
815
- _ *= 2;
808
+ }, "getData"), It = /* @__PURE__ */ r((e, u, y, n, g) => {
809
+ let m = j(), E = m.mindmap?.padding ?? X.mindmap.padding;
810
+ switch (n) {
811
+ case f.ROUNDED_RECT:
812
+ case f.RECT:
813
+ case f.HEXAGON:
814
+ E *= 2;
816
815
  }
817
- let h = {
818
- id: B(g, y) || "kbn" + V++,
819
- level: i,
820
- label: B(p, y),
821
- width: ((L = y.mindmap) == null ? void 0 : L.maxNodeWidth) ?? X.mindmap.maxNodeWidth,
822
- padding: _,
816
+ let c = {
817
+ id: T(u, m) || "kbn" + V++,
818
+ level: e,
819
+ label: T(y, m),
820
+ width: m.mindmap?.maxNodeWidth ?? X.mindmap.maxNodeWidth,
821
+ padding: E,
823
822
  isGroup: !1
824
823
  };
825
- if (u !== void 0) {
826
- let $;
827
- $ = u.includes(`
828
- `) ? u + `
824
+ if (g !== void 0) {
825
+ let I;
826
+ I = g.includes(`
827
+ `) ? g + `
829
828
  ` : `{
830
- ` + u + `
829
+ ` + g + `
831
830
  }`;
832
- let n = Et($, { schema: kt });
833
- if (n.shape && (n.shape !== n.shape.toLowerCase() || n.shape.includes("_"))) throw Error(`No such shape: ${n.shape}. Shape names should be lowercase.`);
834
- n != null && n.shape && n.shape === "kanbanItem" && (h.shape = n == null ? void 0 : n.shape), n != null && n.label && (h.label = n == null ? void 0 : n.label), n != null && n.icon && (h.icon = n == null ? void 0 : n.icon.toString()), n != null && n.assigned && (h.assigned = n == null ? void 0 : n.assigned.toString()), n != null && n.ticket && (h.ticket = n == null ? void 0 : n.ticket.toString()), n != null && n.priority && (h.priority = n == null ? void 0 : n.priority);
831
+ let h = Et(I, { schema: kt });
832
+ if (h.shape && (h.shape !== h.shape.toLowerCase() || h.shape.includes("_"))) throw Error(`No such shape: ${h.shape}. Shape names should be lowercase.`);
833
+ h?.shape && h.shape === "kanbanItem" && (c.shape = h?.shape), h?.label && (c.label = h?.label), h?.icon && (c.icon = h?.icon.toString()), h?.assigned && (c.assigned = h?.assigned.toString()), h?.ticket && (c.ticket = h?.ticket.toString()), h?.priority && (c.priority = h?.priority);
835
834
  }
836
- let D = Lt(i);
837
- D ? h.parentId = D.id || "kbn" + V++ : et.push(h), x.push(h);
838
- }, "addNode"), m = {
835
+ let D = Lt(e);
836
+ D ? c.parentId = D.id || "kbn" + V++ : et.push(c), x.push(c);
837
+ }, "addNode"), f = {
839
838
  DEFAULT: 0,
840
839
  NO_BORDER: 0,
841
840
  ROUNDED_RECT: 1,
@@ -849,116 +848,115 @@ var xt = Q, x = [], et = [], V = 0, tt = {}, Dt = /* @__PURE__ */ o(() => {
849
848
  addNode: It,
850
849
  getSections: ct,
851
850
  getData: Ot,
852
- nodeType: m,
853
- getType: /* @__PURE__ */ o((i, g) => {
854
- switch (J.debug("In get type", i, g), i) {
851
+ nodeType: f,
852
+ getType: /* @__PURE__ */ r((e, u) => {
853
+ switch (J.debug("In get type", e, u), e) {
855
854
  case "[":
856
- return m.RECT;
855
+ return f.RECT;
857
856
  case "(":
858
- return g === ")" ? m.ROUNDED_RECT : m.CLOUD;
857
+ return u === ")" ? f.ROUNDED_RECT : f.CLOUD;
859
858
  case "((":
860
- return m.CIRCLE;
859
+ return f.CIRCLE;
861
860
  case ")":
862
- return m.CLOUD;
861
+ return f.CLOUD;
863
862
  case "))":
864
- return m.BANG;
863
+ return f.BANG;
865
864
  case "{{":
866
- return m.HEXAGON;
865
+ return f.HEXAGON;
867
866
  default:
868
- return m.DEFAULT;
867
+ return f.DEFAULT;
869
868
  }
870
869
  }, "getType"),
871
- setElementForId: /* @__PURE__ */ o((i, g) => {
872
- tt[i] = g;
870
+ setElementForId: /* @__PURE__ */ r((e, u) => {
871
+ tt[e] = u;
873
872
  }, "setElementForId"),
874
- decorateNode: /* @__PURE__ */ o((i) => {
875
- if (!i) return;
876
- let g = M(), p = x[x.length - 1];
877
- i.icon && (p.icon = B(i.icon, g)), i.class && (p.cssClasses = B(i.class, g));
873
+ decorateNode: /* @__PURE__ */ r((e) => {
874
+ if (!e) return;
875
+ let u = j(), y = x[x.length - 1];
876
+ e.icon && (y.icon = T(e.icon, u)), e.class && (y.cssClasses = T(e.class, u));
878
877
  }, "decorateNode"),
879
- type2Str: /* @__PURE__ */ o((i) => {
880
- switch (i) {
881
- case m.DEFAULT:
878
+ type2Str: /* @__PURE__ */ r((e) => {
879
+ switch (e) {
880
+ case f.DEFAULT:
882
881
  return "no-border";
883
- case m.RECT:
882
+ case f.RECT:
884
883
  return "rect";
885
- case m.ROUNDED_RECT:
884
+ case f.ROUNDED_RECT:
886
885
  return "rounded-rect";
887
- case m.CIRCLE:
886
+ case f.CIRCLE:
888
887
  return "circle";
889
- case m.CLOUD:
888
+ case f.CLOUD:
890
889
  return "cloud";
891
- case m.BANG:
890
+ case f.BANG:
892
891
  return "bang";
893
- case m.HEXAGON:
892
+ case f.HEXAGON:
894
893
  return "hexgon";
895
894
  default:
896
895
  return "no-border";
897
896
  }
898
897
  }, "type2Str"),
899
- getLogger: /* @__PURE__ */ o(() => J, "getLogger"),
900
- getElementById: /* @__PURE__ */ o((i) => tt[i], "getElementById")
901
- }, Ct = { draw: /* @__PURE__ */ o(async (i, g, p, s) => {
902
- var O, G, U, j, A;
898
+ getLogger: /* @__PURE__ */ r(() => J, "getLogger"),
899
+ getElementById: /* @__PURE__ */ r((e) => tt[e], "getElementById")
900
+ }, Ct = { draw: /* @__PURE__ */ r(async (e, u, y, n) => {
903
901
  J.debug(`Rendering kanban diagram
904
- ` + i);
905
- let u = s.db.getData(), y = M();
906
- y.htmlLabels = !1;
907
- let _ = yt(g);
908
- for (let f of u.nodes) f.domId = `${g}-${f.id}`;
909
- let h = _.append("g");
910
- h.attr("class", "sections");
911
- let D = _.append("g");
902
+ ` + e);
903
+ let g = n.db.getData(), m = j();
904
+ m.htmlLabels = !1;
905
+ let E = yt(u);
906
+ for (let d of g.nodes) d.domId = `${u}-${d.id}`;
907
+ let c = E.append("g");
908
+ c.attr("class", "sections");
909
+ let D = E.append("g");
912
910
  D.attr("class", "items");
913
- let C = u.nodes.filter((f) => f.isGroup), L = 0, $ = [], n = 25;
914
- for (let f of C) {
915
- let I = ((O = y == null ? void 0 : y.kanban) == null ? void 0 : O.sectionWidth) || 200;
916
- L += 1, f.x = I * L + (L - 1) * 10 / 2, f.width = I, f.y = 0, f.height = I * 3, f.rx = 5, f.ry = 5, f.cssClasses = f.cssClasses + " section-" + L;
917
- let k = await ft(h, f);
918
- n = Math.max(n, (G = k == null ? void 0 : k.labelBBox) == null ? void 0 : G.height), $.push(k);
911
+ let I = g.nodes.filter((d) => d.isGroup), h = 0, P = [], _ = 25;
912
+ for (let d of I) {
913
+ let v = m?.kanban?.sectionWidth || 200;
914
+ h += 1, d.x = v * h + (h - 1) * 10 / 2, d.width = v, d.y = 0, d.height = v * 3, d.rx = 5, d.ry = 5, d.cssClasses = d.cssClasses + " section-" + h;
915
+ let C = await ft(c, d);
916
+ _ = Math.max(_, C?.labelBBox?.height), P.push(C);
919
917
  }
920
- let F = 0;
921
- for (let f of C) {
922
- let I = $[F];
923
- F += 1;
924
- let k = ((U = y == null ? void 0 : y.kanban) == null ? void 0 : U.sectionWidth) || 200, t = -k * 3 / 2 + n, c = t, a = u.nodes.filter((e) => e.parentId === f.id);
925
- for (let e of a) {
926
- if (e.isGroup) throw Error("Groups within groups are not allowed in Kanban diagrams");
927
- e.x = f.x, e.width = k - 1.5 * 10;
928
- let w = (await mt(D, e, { config: y })).node().getBBox();
929
- e.y = c + w.height / 2, await bt(e), c = e.y + w.height / 2 + 10 / 2;
918
+ let B = 0;
919
+ for (let d of I) {
920
+ let v = P[B];
921
+ B += 1;
922
+ let C = m?.kanban?.sectionWidth || 200, F = -C * 3 / 2 + _, L = F, M = g.nodes.filter((t) => t.parentId === d.id);
923
+ for (let t of M) {
924
+ if (t.isGroup) throw Error("Groups within groups are not allowed in Kanban diagrams");
925
+ t.x = d.x, t.width = C - 1.5 * 10;
926
+ let l = (await mt(D, t, { config: m })).node().getBBox();
927
+ t.y = L + l.height / 2, await bt(t), L = t.y + l.height / 2 + 10 / 2;
930
928
  }
931
- let r = I.cluster.select("rect"), d = Math.max(c - t + 30, 50) + (n - 25);
932
- r.attr("height", d);
929
+ let G = v.cluster.select("rect"), w = Math.max(L - F + 30, 50) + (_ - 25);
930
+ G.attr("height", w);
933
931
  }
934
- _t(void 0, _, ((j = y.mindmap) == null ? void 0 : j.padding) ?? X.kanban.padding, ((A = y.mindmap) == null ? void 0 : A.useMaxWidth) ?? X.kanban.useMaxWidth);
935
- }, "draw") }, $t = /* @__PURE__ */ o((i) => {
936
- let g = "";
937
- for (let s = 0; s < i.THEME_COLOR_LIMIT; s++) i["lineColor" + s] = i["lineColor" + s] || i["cScaleInv" + s], Nt(i["lineColor" + s]) ? i["lineColor" + s] = at(i["lineColor" + s], 20) : i["lineColor" + s] = lt(i["lineColor" + s], 20);
938
- let p = /* @__PURE__ */ o((s, u) => i.darkMode ? lt(s, u) : at(s, u), "adjuster");
939
- for (let s = 0; s < i.THEME_COLOR_LIMIT; s++) {
940
- let u = "" + (17 - 3 * s);
941
- g += `
942
- .section-${s - 1} rect, .section-${s - 1} path, .section-${s - 1} circle, .section-${s - 1} polygon, .section-${s - 1} path {
943
- fill: ${p(i["cScale" + s], 10)};
944
- stroke: ${p(i["cScale" + s], 10)};
932
+ _t(void 0, E, m.mindmap?.padding ?? X.kanban.padding, m.mindmap?.useMaxWidth ?? X.kanban.useMaxWidth);
933
+ }, "draw") }, $t = /* @__PURE__ */ r((e) => {
934
+ let u = "";
935
+ for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) e["lineColor" + n] = e["lineColor" + n] || e["cScaleInv" + n], Nt(e["lineColor" + n]) ? e["lineColor" + n] = at(e["lineColor" + n], 20) : e["lineColor" + n] = lt(e["lineColor" + n], 20);
936
+ let y = /* @__PURE__ */ r((n, g) => e.darkMode ? lt(n, g) : at(n, g), "adjuster");
937
+ for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
938
+ let g = "" + (17 - 3 * n);
939
+ u += `
940
+ .section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} polygon, .section-${n - 1} path {
941
+ fill: ${y(e["cScale" + n], 10)};
942
+ stroke: ${y(e["cScale" + n], 10)};
945
943
 
946
944
  }
947
- .section-${s - 1} text {
948
- fill: ${i["cScaleLabel" + s]};
945
+ .section-${n - 1} text {
946
+ fill: ${e["cScaleLabel" + n]};
949
947
  }
950
- .node-icon-${s - 1} {
948
+ .node-icon-${n - 1} {
951
949
  font-size: 40px;
952
- color: ${i["cScaleLabel" + s]};
950
+ color: ${e["cScaleLabel" + n]};
953
951
  }
954
- .section-edge-${s - 1}{
955
- stroke: ${i["cScale" + s]};
952
+ .section-edge-${n - 1}{
953
+ stroke: ${e["cScale" + n]};
956
954
  }
957
- .edge-depth-${s - 1}{
958
- stroke-width: ${u};
955
+ .edge-depth-${n - 1}{
956
+ stroke-width: ${g};
959
957
  }
960
- .section-${s - 1} line {
961
- stroke: ${i["cScaleInv" + s]} ;
958
+ .section-${n - 1} line {
959
+ stroke: ${e["cScaleInv" + n]} ;
962
960
  stroke-width: 3;
963
961
  }
964
962
 
@@ -974,33 +972,33 @@ var xt = Q, x = [], et = [], V = 0, tt = {}, Dt = /* @__PURE__ */ o(() => {
974
972
  .node ellipse,
975
973
  .node polygon,
976
974
  .node path {
977
- fill: ${i.background};
978
- stroke: ${i.nodeBorder};
975
+ fill: ${e.background};
976
+ stroke: ${e.nodeBorder};
979
977
  stroke-width: 1px;
980
978
  }
981
979
 
982
980
  .kanban-ticket-link {
983
- fill: ${i.background};
984
- stroke: ${i.nodeBorder};
981
+ fill: ${e.background};
982
+ stroke: ${e.nodeBorder};
985
983
  text-decoration: underline;
986
984
  }
987
985
  `;
988
986
  }
989
- return g;
987
+ return u;
990
988
  }, "genSections"), Rt = {
991
989
  db: vt,
992
990
  renderer: Ct,
993
991
  parser: xt,
994
- styles: /* @__PURE__ */ o((i) => `
992
+ styles: /* @__PURE__ */ r((e) => `
995
993
  .edge {
996
994
  stroke-width: 3;
997
995
  }
998
- ${$t(i)}
996
+ ${$t(e)}
999
997
  .section-root rect, .section-root path, .section-root circle, .section-root polygon {
1000
- fill: ${i.git0};
998
+ fill: ${e.git0};
1001
999
  }
1002
1000
  .section-root text {
1003
- fill: ${i.gitBranchLabel0};
1001
+ fill: ${e.gitBranchLabel0};
1004
1002
  }
1005
1003
  .icon-container {
1006
1004
  height:100%;
@@ -1012,8 +1010,8 @@ var xt = Q, x = [], et = [], V = 0, tt = {}, Dt = /* @__PURE__ */ o(() => {
1012
1010
  fill: none;
1013
1011
  }
1014
1012
  .cluster-label, .label {
1015
- color: ${i.textColor};
1016
- fill: ${i.textColor};
1013
+ color: ${e.textColor};
1014
+ fill: ${e.textColor};
1017
1015
  }
1018
1016
  .kanban-label {
1019
1017
  dy: 1em;