@kong-ui-public/documentation 1.5.78 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{arc-DZdQjcG8-C_2Dx6GQ.js → arc-DZdQjcG8-CduayE88.js} +2 -2
- package/dist/{architectureDiagram-3BPJPVTR-By_DXDyu-DTj86bUZ.js → architectureDiagram-3BPJPVTR-By_DXDyu-U3MSLbOU.js} +1506 -1513
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CKP-SiVG.js +3268 -0
- package/dist/{c4Diagram-AAUBKEIU-ftdwlfdB-CYiERTWJ.js → c4Diagram-AAUBKEIU-ftdwlfdB-D3A61SdV.js} +11 -12
- package/dist/{channel-DM9j7IFL-CjNPz4Hd.js → channel-DM9j7IFL-DxqBUxfY.js} +1 -1
- package/dist/{chunk-2J33WTMH-CBbjVzWb-BAAd-TK5.js → chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js} +7 -8
- package/dist/chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js +8 -0
- package/dist/{chunk-55IACEB6-DZn1aNO0-_bs5ibIB.js → chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js} +1 -1
- package/dist/{chunk-727SXJPM-B2_6_WLv-CzbzsbtK.js → chunk-727SXJPM-B2_6_WLv-Bs3CxHaX.js} +548 -549
- package/dist/{chunk-AQP2D5EJ-DEAEiJjW-BPr5JvkB.js → chunk-AQP2D5EJ-DEAEiJjW-DTbwZT8N.js} +446 -458
- package/dist/{chunk-FMBD7UC4-D_tZ4Dxg-BUygZnCT.js → chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js} +1 -1
- package/dist/{chunk-ND2GUHAM-Duw3k8MU-Dr8SD23L.js → chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DN6nBdn0-DxWE5zsM.js → chunk-QZHKN3VN-DN6nBdn0-BvQOETVz.js} +1 -1
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-BqXc0etQ.js +17 -0
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-BqXc0etQ.js +17 -0
- package/dist/{cose-bilkent-S5V4N54A-0ZumbVgj-BKcFQWbE.js → cose-bilkent-S5V4N54A-0ZumbVgj-0z7CQbIH.js} +465 -465
- package/dist/{cytoscape.esm-BDIiOYYO-BbddfVIJ.js → cytoscape.esm-BDIiOYYO-C1jMBhD8.js} +356 -371
- package/dist/dagre-BM42HDAG-qMWMsyLb-DGMrq3i3.js +288 -0
- package/dist/{dagre-DJxg_nfI-BzVw7cNP.js → dagre-DJxg_nfI-hVOVexz-.js} +9 -9
- package/dist/{diagram-2AECGRRQ-B2gF_dHe-DCRSlKG-.js → diagram-2AECGRRQ-B2gF_dHe-Bv_EpxRz.js} +10 -14
- package/dist/{diagram-5GNKFQAL-DJ9WwRrD-DtSWJY6-.js → diagram-5GNKFQAL-DJ9WwRrD-WVvm0Icu.js} +4 -4
- package/dist/{diagram-KO2AKTUF-RfkqD-VW-ZR9mxccc.js → diagram-KO2AKTUF-RfkqD-VW-yyAds1Qq.js} +153 -156
- package/dist/{diagram-LMA3HP47-Ct7s9hIt-DXtPBRn4.js → diagram-LMA3HP47-Ct7s9hIt-Dy6f9BAO.js} +21 -22
- package/dist/{diagram-OG6HWLK6-BSYJ2CoI-DX1BfXw6.js → diagram-OG6HWLK6-BSYJ2CoI-ckmfat-L.js} +79 -81
- package/dist/documentation.es.js +1 -1
- package/dist/documentation.umd.js +374 -374
- package/dist/{erDiagram-TEJ5UH35-BudwiSYX-BPA5-1u6.js → erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js} +134 -135
- package/dist/{flowDiagram-I6XJVG4X-B23Smlxp-Cb24VZnb.js → flowDiagram-I6XJVG4X-B23Smlxp-ClHvdCdJ.js} +842 -849
- package/dist/{ganttDiagram-6RSMTGT7-C-i89z_P-DEdTFlTH.js → ganttDiagram-6RSMTGT7-C-i89z_P-t5UAyRM5.js} +46 -46
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-Cg3smOdz.js +734 -0
- package/dist/{graphlib-D2YdGpuK-CM8PX5pf.js → graphlib-D2YdGpuK-CnQPmzkS.js} +17 -17
- package/dist/{index-Dpyqhws4.js → index-DfVKdDwj.js} +16258 -16515
- package/dist/{infoDiagram-5YYISTIA-CDUwzFql-BsbTK2Me.js → infoDiagram-5YYISTIA-CDUwzFql-Bmthmcp4.js} +2 -2
- package/dist/{ishikawaDiagram-YF4QCWOH-MfYdx0rK-DsWP0O6d.js → ishikawaDiagram-YF4QCWOH-MfYdx0rK-cbltssua.js} +137 -138
- package/dist/{journeyDiagram-JHISSGLW-C_udOPtJ-BkIf9B4Q.js → journeyDiagram-JHISSGLW-C_udOPtJ-BjAvgSAR.js} +13 -13
- package/dist/{kanban-definition-UN3LZRKU-C1Su-UOY-6sw-wDwK.js → kanban-definition-UN3LZRKU-C1Su-UOY-DZ93dsWZ.js} +334 -336
- package/dist/{katex-D7tFlpqA-B7yKriH4.js → katex-D7tFlpqA-BOSQxXe1.js} +254 -256
- package/dist/{linear-1MXhYum8-CfR5ywK4.js → linear-1MXhYum8-9C1jno9G.js} +5 -5
- package/dist/{mindmap-definition-RKZ34NQL-MuSV765K-Cv2rDIFS.js → mindmap-definition-RKZ34NQL-MuSV765K-Kub1iXFv.js} +94 -97
- package/dist/{ordinal-D9ksOc8y-CrGveXkB.js → ordinal-D9ksOc8y-2hZwLyEk.js} +1 -1
- package/dist/{pieDiagram-4H26LBE5-TgFp7J6_-C8m2xJbj.js → pieDiagram-4H26LBE5-TgFp7J6_-i6NxP3Xz.js} +43 -44
- package/dist/{quadrantDiagram-W4KKPZXB-DKPne3o_-D0Tfl8NQ.js → quadrantDiagram-W4KKPZXB-DKPne3o_-DXLHqRuR.js} +351 -353
- package/dist/{requirementDiagram-4Y6WPE33-vh8uUAp_-C5zLx-_o.js → requirementDiagram-4Y6WPE33-vh8uUAp_-CHtsISxP.js} +384 -386
- package/dist/{sankeyDiagram-5OEKKPKP-Cgs6W_El-DBrv4QL_.js → sankeyDiagram-5OEKKPKP-Cgs6W_El-D7GZyd8n.js} +178 -178
- package/dist/{sequenceDiagram-3UESZ5HK-C5F57Dkt-D6DqZiJP.js → sequenceDiagram-3UESZ5HK-C5F57Dkt-BW1Hb7UW.js} +643 -653
- package/dist/{stateDiagram-AJRCARHV-09dUKG6Y-9QhAIhCk.js → stateDiagram-AJRCARHV-09dUKG6Y-Dm2a1vNu.js} +5 -5
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-DbWzZ-j-.js +16 -0
- package/dist/style.css +1 -1
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-B5CT96H-.js +1095 -0
- package/dist/{vennDiagram-CIIHVFJN-DQfKxM3L-086u82L3.js → vennDiagram-CIIHVFJN-DQfKxM3L-qUaKEl7l.js} +596 -603
- package/dist/{wardley-L42UT6IY-BjAkE_cs-li1xYed9.js → wardley-L42UT6IY-BjAkE_cs-C-giFqos.js} +5760 -5809
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-DXPF2Ee9.js +639 -0
- package/dist/{xychartDiagram-2RQKCTM6-ChNH3q1U--vbcTXH5.js → xychartDiagram-2RQKCTM6-ChNH3q1U-a59DsJDA.js} +10 -10
- package/package.json +7 -7
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CSQRWfog.js +0 -3278
- package/dist/chunk-4BX2VUAB-C_NnimAy-B-8x_g6K.js +0 -9
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-DLmqgbj1.js +0 -17
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-DLmqgbj1.js +0 -17
- package/dist/dagre-BM42HDAG-qMWMsyLb-BzK2-5zM.js +0 -291
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-BtfdBLxW.js +0 -747
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-Br5eF-5b.js +0 -16
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-CkhwKYjQ.js +0 -1106
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-CCMCDU5F.js +0 -647
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { t as St } from "./chunk-FMBD7UC4-D_tZ4Dxg-
|
|
3
|
-
var Q = function() {
|
|
4
|
-
var
|
|
5
|
-
for (a
|
|
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"),
|
|
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
|
-
],
|
|
11
|
+
], I = [1, 26], h = [1, 24], P = [1, 25], _ = [
|
|
12
12
|
6,
|
|
13
13
|
7,
|
|
14
14
|
11
|
|
15
|
-
],
|
|
15
|
+
], B = [1, 31], d = [
|
|
16
16
|
6,
|
|
17
17
|
7,
|
|
18
18
|
11,
|
|
19
19
|
24
|
|
20
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
39
|
-
trace: /* @__PURE__ */
|
|
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__ */
|
|
119
|
-
var
|
|
120
|
-
switch (
|
|
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
|
|
123
|
+
return s;
|
|
124
124
|
case 8:
|
|
125
|
-
|
|
125
|
+
s.getLogger().trace("Stop NL ");
|
|
126
126
|
break;
|
|
127
127
|
case 9:
|
|
128
|
-
|
|
128
|
+
s.getLogger().trace("Stop EOF ");
|
|
129
129
|
break;
|
|
130
130
|
case 11:
|
|
131
|
-
|
|
131
|
+
s.getLogger().trace("Stop NL2 ");
|
|
132
132
|
break;
|
|
133
133
|
case 12:
|
|
134
|
-
|
|
134
|
+
s.getLogger().trace("Stop EOF2 ");
|
|
135
135
|
break;
|
|
136
136
|
case 15:
|
|
137
|
-
|
|
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
|
-
|
|
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
|
-
|
|
143
|
+
s.getLogger().trace("Icon: ", i[o]), s.decorateNode({ icon: i[o] });
|
|
144
144
|
break;
|
|
145
145
|
case 18:
|
|
146
146
|
case 23:
|
|
147
|
-
|
|
147
|
+
s.decorateNode({ class: i[o] });
|
|
148
148
|
break;
|
|
149
149
|
case 19:
|
|
150
|
-
|
|
150
|
+
s.getLogger().trace("SPACELIST");
|
|
151
151
|
break;
|
|
152
152
|
case 20:
|
|
153
|
-
|
|
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
|
-
|
|
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
|
-
|
|
159
|
+
s.decorateNode({ icon: i[o] });
|
|
160
160
|
break;
|
|
161
161
|
case 27:
|
|
162
|
-
|
|
163
|
-
id:
|
|
164
|
-
descr:
|
|
165
|
-
type:
|
|
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:
|
|
171
|
-
descr:
|
|
170
|
+
id: i[o],
|
|
171
|
+
descr: i[o],
|
|
172
172
|
type: 0
|
|
173
173
|
};
|
|
174
174
|
break;
|
|
175
175
|
case 29:
|
|
176
|
-
|
|
177
|
-
id:
|
|
178
|
-
descr:
|
|
179
|
-
type:
|
|
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.$ =
|
|
183
|
+
this.$ = i[o - 1] + i[o];
|
|
184
184
|
break;
|
|
185
185
|
case 31:
|
|
186
|
-
this.$ =
|
|
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:
|
|
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:
|
|
204
|
+
8: u
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
|
-
6:
|
|
207
|
+
6: y,
|
|
208
208
|
7: [1, 10],
|
|
209
209
|
9: 9,
|
|
210
210
|
12: 11,
|
|
211
|
-
13:
|
|
211
|
+
13: n,
|
|
212
212
|
14: 14,
|
|
213
|
-
16:
|
|
214
|
-
17:
|
|
213
|
+
16: g,
|
|
214
|
+
17: m,
|
|
215
215
|
18: 17,
|
|
216
216
|
19: 18,
|
|
217
|
-
20:
|
|
218
|
-
23:
|
|
217
|
+
20: E,
|
|
218
|
+
23: c
|
|
219
219
|
},
|
|
220
|
-
|
|
220
|
+
e(D, [2, 3]),
|
|
221
221
|
{ 1: [2, 2] },
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
e(D, [2, 4]),
|
|
223
|
+
e(D, [2, 5]),
|
|
224
224
|
{
|
|
225
225
|
1: [2, 6],
|
|
226
|
-
6:
|
|
226
|
+
6: y,
|
|
227
227
|
12: 21,
|
|
228
|
-
13:
|
|
228
|
+
13: n,
|
|
229
229
|
14: 14,
|
|
230
|
-
16:
|
|
231
|
-
17:
|
|
230
|
+
16: g,
|
|
231
|
+
17: m,
|
|
232
232
|
18: 17,
|
|
233
233
|
19: 18,
|
|
234
|
-
20:
|
|
235
|
-
23:
|
|
234
|
+
20: E,
|
|
235
|
+
23: c
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
|
-
6:
|
|
238
|
+
6: y,
|
|
239
239
|
9: 22,
|
|
240
240
|
12: 11,
|
|
241
|
-
13:
|
|
241
|
+
13: n,
|
|
242
242
|
14: 14,
|
|
243
|
-
16:
|
|
244
|
-
17:
|
|
243
|
+
16: g,
|
|
244
|
+
17: m,
|
|
245
245
|
18: 17,
|
|
246
246
|
19: 18,
|
|
247
|
-
20:
|
|
248
|
-
23:
|
|
247
|
+
20: E,
|
|
248
|
+
23: c
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
|
-
6:
|
|
252
|
-
7:
|
|
251
|
+
6: I,
|
|
252
|
+
7: h,
|
|
253
253
|
10: 23,
|
|
254
|
-
11:
|
|
254
|
+
11: P
|
|
255
255
|
},
|
|
256
|
-
|
|
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:
|
|
262
|
+
20: E,
|
|
263
|
+
23: c
|
|
264
264
|
}),
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
e(_, [2, 19]),
|
|
266
|
+
e(_, [2, 21], {
|
|
267
267
|
15: 30,
|
|
268
|
-
24:
|
|
268
|
+
24: B
|
|
269
269
|
}),
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
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:
|
|
278
|
-
7:
|
|
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:
|
|
284
|
+
6: y,
|
|
285
285
|
12: 21,
|
|
286
|
-
13:
|
|
286
|
+
13: n,
|
|
287
287
|
14: 14,
|
|
288
|
-
16:
|
|
289
|
-
17:
|
|
288
|
+
16: g,
|
|
289
|
+
17: m,
|
|
290
290
|
18: 17,
|
|
291
291
|
19: 18,
|
|
292
|
-
20:
|
|
293
|
-
23:
|
|
292
|
+
20: E,
|
|
293
|
+
23: c
|
|
294
294
|
},
|
|
295
|
-
|
|
296
|
-
7:
|
|
297
|
-
11:
|
|
295
|
+
e(v, [2, 14], {
|
|
296
|
+
7: C,
|
|
297
|
+
11: F
|
|
298
298
|
}),
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
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:
|
|
304
|
+
24: B
|
|
305
305
|
}),
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
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
|
-
|
|
313
|
-
7:
|
|
314
|
-
11:
|
|
312
|
+
e(v, [2, 13], {
|
|
313
|
+
7: C,
|
|
314
|
+
11: F
|
|
315
315
|
}),
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
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
|
-
|
|
322
|
-
|
|
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__ */
|
|
329
|
-
if (
|
|
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 =
|
|
332
|
+
throw a.hash = l, a;
|
|
333
333
|
}
|
|
334
334
|
}, "parseError"),
|
|
335
|
-
parse: /* @__PURE__ */
|
|
336
|
-
var
|
|
337
|
-
for (var K in this.yy) Object.prototype.hasOwnProperty.call(this.yy, K) && (
|
|
338
|
-
b.setInput(t,
|
|
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
|
-
|
|
340
|
+
i.push(Z);
|
|
341
341
|
var dt = b.options && b.options.ranges;
|
|
342
|
-
typeof
|
|
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,
|
|
344
|
+
a.length -= 2 * S, p.length -= S, i.length -= S;
|
|
345
345
|
}
|
|
346
|
-
|
|
346
|
+
r(pt, "popStack");
|
|
347
347
|
function st() {
|
|
348
|
-
var S =
|
|
349
|
-
return typeof S != "number" && (S instanceof Array && (
|
|
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
|
-
|
|
352
|
-
for (var
|
|
353
|
-
if (
|
|
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 = [],
|
|
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_[
|
|
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_[
|
|
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: " +
|
|
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(
|
|
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 (
|
|
373
|
-
first_line:
|
|
374
|
-
last_line:
|
|
375
|
-
first_column:
|
|
376
|
-
last_column:
|
|
377
|
-
}, dt && (
|
|
378
|
-
|
|
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
|
-
|
|
381
|
+
$.yy,
|
|
382
382
|
N[1],
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
].concat(
|
|
386
|
-
|
|
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
|
-
|
|
395
|
+
G.lexer = /* @__PURE__ */ (function() {
|
|
396
396
|
return {
|
|
397
397
|
EOF: 1,
|
|
398
|
-
parseError: /* @__PURE__ */
|
|
399
|
-
if (this.yy.parser) this.yy.parser.parseError(t,
|
|
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__ */
|
|
403
|
-
return this.yy =
|
|
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__ */
|
|
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__ */
|
|
415
|
-
var
|
|
416
|
-
this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
417
|
-
var
|
|
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
|
|
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 ===
|
|
425
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
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__ */
|
|
427
|
+
more: /* @__PURE__ */ r(function() {
|
|
428
428
|
return this._more = !0, this;
|
|
429
429
|
}, "more"),
|
|
430
|
-
reject: /* @__PURE__ */
|
|
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__ */
|
|
440
|
+
less: /* @__PURE__ */ r(function(t) {
|
|
441
441
|
this.unput(this.match.slice(t));
|
|
442
442
|
}, "less"),
|
|
443
|
-
pastInput: /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
452
|
-
var t = this.pastInput(),
|
|
451
|
+
showPosition: /* @__PURE__ */ r(function() {
|
|
452
|
+
var t = this.pastInput(), l = Array(t.length + 1).join("-");
|
|
453
453
|
return t + this.upcomingInput() + `
|
|
454
|
-
` +
|
|
454
|
+
` + l + "^";
|
|
455
455
|
}, "showPosition"),
|
|
456
|
-
test_match: /* @__PURE__ */
|
|
457
|
-
var a,
|
|
458
|
-
if (this.options.backtrack_lexer && (
|
|
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 && (
|
|
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:
|
|
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,
|
|
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
|
|
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__ */
|
|
489
|
+
next: /* @__PURE__ */ r(function() {
|
|
490
490
|
if (this.done) return this.EOF;
|
|
491
491
|
this._input || (this.done = !0);
|
|
492
|
-
var t,
|
|
492
|
+
var t, l, a, s;
|
|
493
493
|
this._more || (this.yytext = "", this.match = "");
|
|
494
|
-
for (var
|
|
495
|
-
if (
|
|
496
|
-
if (t = this.test_match(a,
|
|
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
|
-
|
|
498
|
+
l = !1;
|
|
499
499
|
continue;
|
|
500
500
|
} else return !1;
|
|
501
501
|
} else if (!this.options.flex) break;
|
|
502
502
|
}
|
|
503
|
-
return
|
|
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__ */
|
|
510
|
+
lex: /* @__PURE__ */ r(function() {
|
|
511
511
|
return this.next() || this.lex();
|
|
512
512
|
}, "lex"),
|
|
513
|
-
begin: /* @__PURE__ */
|
|
513
|
+
begin: /* @__PURE__ */ r(function(t) {
|
|
514
514
|
this.conditionStack.push(t);
|
|
515
515
|
}, "begin"),
|
|
516
|
-
popState: /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
525
|
+
pushState: /* @__PURE__ */ r(function(t) {
|
|
526
526
|
this.begin(t);
|
|
527
527
|
}, "pushState"),
|
|
528
|
-
stateStackSize: /* @__PURE__ */
|
|
528
|
+
stateStackSize: /* @__PURE__ */ r(function() {
|
|
529
529
|
return this.conditionStack.length;
|
|
530
530
|
}, "stateStackSize"),
|
|
531
531
|
options: { "case-insensitive": !0 },
|
|
532
|
-
performAction: /* @__PURE__ */
|
|
532
|
+
performAction: /* @__PURE__ */ r(function(t, l, a, s) {
|
|
533
533
|
switch (a) {
|
|
534
534
|
case 0:
|
|
535
|
-
return this.pushState("shapeData"),
|
|
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
|
|
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",
|
|
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:",
|
|
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 ...",
|
|
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:",
|
|
626
|
+
return t.getLogger().trace("Long description:", l.yytext), 21;
|
|
627
627
|
case 42:
|
|
628
|
-
return t.getLogger().trace("Long description:",
|
|
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
|
|
751
|
+
})();
|
|
752
|
+
function w() {
|
|
753
753
|
this.yy = {};
|
|
754
754
|
}
|
|
755
|
-
return
|
|
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__ */
|
|
758
|
+
var xt = Q, x = [], et = [], V = 0, tt = {}, Dt = /* @__PURE__ */ r(() => {
|
|
759
759
|
x = [], et = [], V = 0, tt = {};
|
|
760
|
-
}, "clear"), Lt = /* @__PURE__ */
|
|
760
|
+
}, "clear"), Lt = /* @__PURE__ */ r((e) => {
|
|
761
761
|
if (x.length === 0) return null;
|
|
762
|
-
let
|
|
763
|
-
for (let
|
|
764
|
-
return
|
|
765
|
-
}, "getSection"), ct = /* @__PURE__ */
|
|
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__ */
|
|
768
|
-
let
|
|
769
|
-
for (let
|
|
770
|
-
let
|
|
771
|
-
id:
|
|
772
|
-
label:
|
|
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:
|
|
775
|
+
ticket: g.ticket,
|
|
776
776
|
shape: "kanbanSection",
|
|
777
|
-
level:
|
|
778
|
-
look:
|
|
777
|
+
level: g.level,
|
|
778
|
+
look: n.look
|
|
779
779
|
};
|
|
780
|
-
|
|
781
|
-
let
|
|
782
|
-
for (let
|
|
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:
|
|
785
|
-
parentId:
|
|
786
|
-
label:
|
|
784
|
+
id: c.id,
|
|
785
|
+
parentId: g.id,
|
|
786
|
+
label: T(c.label ?? "", n),
|
|
787
787
|
labelType: "markdown",
|
|
788
788
|
isGroup: !1,
|
|
789
|
-
ticket:
|
|
790
|
-
priority:
|
|
791
|
-
assigned:
|
|
792
|
-
icon:
|
|
789
|
+
ticket: c?.ticket,
|
|
790
|
+
priority: c?.priority,
|
|
791
|
+
assigned: c?.assigned,
|
|
792
|
+
icon: c?.icon,
|
|
793
793
|
shape: "kanbanItem",
|
|
794
|
-
level:
|
|
794
|
+
level: c.level,
|
|
795
795
|
rx: 5,
|
|
796
796
|
ry: 5,
|
|
797
797
|
cssStyles: ["text-align: left"]
|
|
798
798
|
};
|
|
799
|
-
|
|
799
|
+
u.push(D);
|
|
800
800
|
}
|
|
801
801
|
}
|
|
802
802
|
return {
|
|
803
|
-
nodes:
|
|
804
|
-
edges:
|
|
803
|
+
nodes: u,
|
|
804
|
+
edges: e,
|
|
805
805
|
other: {},
|
|
806
|
-
config:
|
|
806
|
+
config: j()
|
|
807
807
|
};
|
|
808
|
-
}, "getData"), It = /* @__PURE__ */
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
case
|
|
813
|
-
case
|
|
814
|
-
|
|
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
|
|
818
|
-
id:
|
|
819
|
-
level:
|
|
820
|
-
label:
|
|
821
|
-
width:
|
|
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 (
|
|
826
|
-
let
|
|
827
|
-
|
|
828
|
-
`) ?
|
|
824
|
+
if (g !== void 0) {
|
|
825
|
+
let I;
|
|
826
|
+
I = g.includes(`
|
|
827
|
+
`) ? g + `
|
|
829
828
|
` : `{
|
|
830
|
-
` +
|
|
829
|
+
` + g + `
|
|
831
830
|
}`;
|
|
832
|
-
let
|
|
833
|
-
if (
|
|
834
|
-
|
|
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(
|
|
837
|
-
D ?
|
|
838
|
-
}, "addNode"),
|
|
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:
|
|
853
|
-
getType: /* @__PURE__ */
|
|
854
|
-
switch (J.debug("In get type",
|
|
851
|
+
nodeType: f,
|
|
852
|
+
getType: /* @__PURE__ */ r((e, u) => {
|
|
853
|
+
switch (J.debug("In get type", e, u), e) {
|
|
855
854
|
case "[":
|
|
856
|
-
return
|
|
855
|
+
return f.RECT;
|
|
857
856
|
case "(":
|
|
858
|
-
return
|
|
857
|
+
return u === ")" ? f.ROUNDED_RECT : f.CLOUD;
|
|
859
858
|
case "((":
|
|
860
|
-
return
|
|
859
|
+
return f.CIRCLE;
|
|
861
860
|
case ")":
|
|
862
|
-
return
|
|
861
|
+
return f.CLOUD;
|
|
863
862
|
case "))":
|
|
864
|
-
return
|
|
863
|
+
return f.BANG;
|
|
865
864
|
case "{{":
|
|
866
|
-
return
|
|
865
|
+
return f.HEXAGON;
|
|
867
866
|
default:
|
|
868
|
-
return
|
|
867
|
+
return f.DEFAULT;
|
|
869
868
|
}
|
|
870
869
|
}, "getType"),
|
|
871
|
-
setElementForId: /* @__PURE__ */
|
|
872
|
-
tt[
|
|
870
|
+
setElementForId: /* @__PURE__ */ r((e, u) => {
|
|
871
|
+
tt[e] = u;
|
|
873
872
|
}, "setElementForId"),
|
|
874
|
-
decorateNode: /* @__PURE__ */
|
|
875
|
-
if (!
|
|
876
|
-
let
|
|
877
|
-
|
|
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__ */
|
|
880
|
-
switch (
|
|
881
|
-
case
|
|
878
|
+
type2Str: /* @__PURE__ */ r((e) => {
|
|
879
|
+
switch (e) {
|
|
880
|
+
case f.DEFAULT:
|
|
882
881
|
return "no-border";
|
|
883
|
-
case
|
|
882
|
+
case f.RECT:
|
|
884
883
|
return "rect";
|
|
885
|
-
case
|
|
884
|
+
case f.ROUNDED_RECT:
|
|
886
885
|
return "rounded-rect";
|
|
887
|
-
case
|
|
886
|
+
case f.CIRCLE:
|
|
888
887
|
return "circle";
|
|
889
|
-
case
|
|
888
|
+
case f.CLOUD:
|
|
890
889
|
return "cloud";
|
|
891
|
-
case
|
|
890
|
+
case f.BANG:
|
|
892
891
|
return "bang";
|
|
893
|
-
case
|
|
892
|
+
case f.HEXAGON:
|
|
894
893
|
return "hexgon";
|
|
895
894
|
default:
|
|
896
895
|
return "no-border";
|
|
897
896
|
}
|
|
898
897
|
}, "type2Str"),
|
|
899
|
-
getLogger: /* @__PURE__ */
|
|
900
|
-
getElementById: /* @__PURE__ */
|
|
901
|
-
}, Ct = { draw: /* @__PURE__ */
|
|
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
|
-
` +
|
|
905
|
-
let
|
|
906
|
-
|
|
907
|
-
let
|
|
908
|
-
for (let
|
|
909
|
-
let
|
|
910
|
-
|
|
911
|
-
let D =
|
|
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
|
|
914
|
-
for (let
|
|
915
|
-
let
|
|
916
|
-
|
|
917
|
-
let
|
|
918
|
-
|
|
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
|
|
921
|
-
for (let
|
|
922
|
-
let
|
|
923
|
-
|
|
924
|
-
let
|
|
925
|
-
for (let
|
|
926
|
-
if (
|
|
927
|
-
|
|
928
|
-
let
|
|
929
|
-
|
|
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
|
|
932
|
-
|
|
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,
|
|
935
|
-
}, "draw") }, $t = /* @__PURE__ */
|
|
936
|
-
let
|
|
937
|
-
for (let
|
|
938
|
-
let
|
|
939
|
-
for (let
|
|
940
|
-
let
|
|
941
|
-
|
|
942
|
-
.section-${
|
|
943
|
-
fill: ${
|
|
944
|
-
stroke: ${
|
|
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-${
|
|
948
|
-
fill: ${
|
|
945
|
+
.section-${n - 1} text {
|
|
946
|
+
fill: ${e["cScaleLabel" + n]};
|
|
949
947
|
}
|
|
950
|
-
.node-icon-${
|
|
948
|
+
.node-icon-${n - 1} {
|
|
951
949
|
font-size: 40px;
|
|
952
|
-
color: ${
|
|
950
|
+
color: ${e["cScaleLabel" + n]};
|
|
953
951
|
}
|
|
954
|
-
.section-edge-${
|
|
955
|
-
stroke: ${
|
|
952
|
+
.section-edge-${n - 1}{
|
|
953
|
+
stroke: ${e["cScale" + n]};
|
|
956
954
|
}
|
|
957
|
-
.edge-depth-${
|
|
958
|
-
stroke-width: ${
|
|
955
|
+
.edge-depth-${n - 1}{
|
|
956
|
+
stroke-width: ${g};
|
|
959
957
|
}
|
|
960
|
-
.section-${
|
|
961
|
-
stroke: ${
|
|
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: ${
|
|
978
|
-
stroke: ${
|
|
975
|
+
fill: ${e.background};
|
|
976
|
+
stroke: ${e.nodeBorder};
|
|
979
977
|
stroke-width: 1px;
|
|
980
978
|
}
|
|
981
979
|
|
|
982
980
|
.kanban-ticket-link {
|
|
983
|
-
fill: ${
|
|
984
|
-
stroke: ${
|
|
981
|
+
fill: ${e.background};
|
|
982
|
+
stroke: ${e.nodeBorder};
|
|
985
983
|
text-decoration: underline;
|
|
986
984
|
}
|
|
987
985
|
`;
|
|
988
986
|
}
|
|
989
|
-
return
|
|
987
|
+
return u;
|
|
990
988
|
}, "genSections"), Rt = {
|
|
991
989
|
db: vt,
|
|
992
990
|
renderer: Ct,
|
|
993
991
|
parser: xt,
|
|
994
|
-
styles: /* @__PURE__ */
|
|
992
|
+
styles: /* @__PURE__ */ r((e) => `
|
|
995
993
|
.edge {
|
|
996
994
|
stroke-width: 3;
|
|
997
995
|
}
|
|
998
|
-
${$t(
|
|
996
|
+
${$t(e)}
|
|
999
997
|
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
1000
|
-
fill: ${
|
|
998
|
+
fill: ${e.git0};
|
|
1001
999
|
}
|
|
1002
1000
|
.section-root text {
|
|
1003
|
-
fill: ${
|
|
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: ${
|
|
1016
|
-
fill: ${
|
|
1013
|
+
color: ${e.textColor};
|
|
1014
|
+
fill: ${e.textColor};
|
|
1017
1015
|
}
|
|
1018
1016
|
.kanban-label {
|
|
1019
1017
|
dy: 1em;
|