@peasant-labs/fairtrade 0.0.51 → 0.0.52

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 (116) hide show
  1. package/dist/lib/commons.js +544 -522
  2. package/dist/lib/components.css +1 -1
  3. package/dist/lib/share.js +2 -2
  4. package/dist/lib/tokens.css +2 -2
  5. package/dist/lib/tokens.json +2 -2
  6. package/dist/lib/types/AppSidebar.d.ts +9 -11
  7. package/dist/lib/types/Avatar.d.ts +2 -2
  8. package/dist/lib/types/Dialog.d.ts +1 -1
  9. package/dist/lib/types/Input.d.ts +3 -3
  10. package/dist/lib/types/OverflowList.d.ts +1 -1
  11. package/dist/lib/types/RepoPicker.d.ts +3 -1
  12. package/dist/lib/types/Switch.d.ts +1 -1
  13. package/dist/lib/types/commons/Explore.d.ts +1 -1
  14. package/dist/lib/types/commons/types.d.ts +12 -0
  15. package/dist/lib/{ui-Do7A_I-0.js → ui-BVkbnMN5.js} +1637 -1597
  16. package/dist/lib/ui.js +1 -1
  17. package/package.json +1 -1
  18. package/dist/lib/abnfDiagram-WEYOIA3C-D4LMNFIJ.js +0 -89
  19. package/dist/lib/arc-1xTxsoRi.js +0 -80
  20. package/dist/lib/architecture-WOLXFQ4H-c6RsZuzu.js +0 -3
  21. package/dist/lib/architectureDiagram-ZHVYKT53-DTINqD5R.js +0 -4145
  22. package/dist/lib/array-CApNbSU9.js +0 -6
  23. package/dist/lib/blockDiagram-RJAE7QA3-CUYHoR3g.js +0 -1946
  24. package/dist/lib/c4Diagram-XDPPPE54-Cdx6_DsI.js +0 -2990
  25. package/dist/lib/channel-DagAO2vE.js +0 -5
  26. package/dist/lib/chunk-2E7WHVMD-BzhgXW3b.js +0 -490
  27. package/dist/lib/chunk-2Q5K7J3B-DWNwIK5Y.js +0 -15
  28. package/dist/lib/chunk-4EMNKR2T-DhFrQz9k.js +0 -236
  29. package/dist/lib/chunk-55XCU76K-CI0GXDkJ.js +0 -61
  30. package/dist/lib/chunk-5VM5RSS4-BAQ-46g4.js +0 -5
  31. package/dist/lib/chunk-7S6XSTFO-CMt_p-O6.js +0 -1373
  32. package/dist/lib/chunk-AQDTSKZB-DrZccIQa.js +0 -1847
  33. package/dist/lib/chunk-DSNLSHJZ-CpA9d2CJ.js +0 -4044
  34. package/dist/lib/chunk-DUW6YSOI-C-tN4Kiv.js +0 -10
  35. package/dist/lib/chunk-EJLWFMJV-B30MNYvY.js +0 -75
  36. package/dist/lib/chunk-HAGFOTED-DMU2JNZM.js +0 -4487
  37. package/dist/lib/chunk-HNE4Q36P-BIA0n2gA.js +0 -363
  38. package/dist/lib/chunk-J5ZVWO5B-CA_-jk8G.js +0 -12
  39. package/dist/lib/chunk-JWPE2WC7-KRpHbrIX.js +0 -8
  40. package/dist/lib/chunk-LNGE3PJU-CMGaAEAh.js +0 -1513
  41. package/dist/lib/chunk-NGNAAXSQ-D7Dvct7J.js +0 -19774
  42. package/dist/lib/chunk-NQOKRVIF-MK9F46y3.js +0 -4258
  43. package/dist/lib/chunk-OYAV6JZA-B1yICcbU.js +0 -10
  44. package/dist/lib/chunk-UHW7PFBP-CLrOaA0y.js +0 -67
  45. package/dist/lib/chunk-VQ5W62QI-_ZR3gKe4.js +0 -26
  46. package/dist/lib/chunk-WQQL4CDK-DFtyhYZq.js +0 -693
  47. package/dist/lib/chunk-XXDRQBXY-uzyNBbgx.js +0 -9
  48. package/dist/lib/chunk-Y2CYZVJY-BYzrzvCI.js +0 -12
  49. package/dist/lib/chunk-YZO67HFG-D1jKt78p.js +0 -275
  50. package/dist/lib/chunk-ZAUX2LTX-7XO0Yj1z.js +0 -37
  51. package/dist/lib/chunk-ZCHMQSOR-CxoKltfF.js +0 -349
  52. package/dist/lib/classDiagram-v2-4MYWR3UA-BPvwhZqw.js +0 -3397
  53. package/dist/lib/cose-bilkent-JH36ORCC-Oj79uOIQ.js +0 -2250
  54. package/dist/lib/cynefin-EF2NZ3EQ-COX3NRum.js +0 -3
  55. package/dist/lib/cynefinDiagram-WF24UDRP-UzTptNAX.js +0 -349
  56. package/dist/lib/cytoscape.esm-0ojxgO9x.js +0 -18161
  57. package/dist/lib/dagre-NK4GIZVX-DWZr-NGm.js +0 -2356
  58. package/dist/lib/defaultLocale-BbgDuMnp.js +0 -201
  59. package/dist/lib/diagram-CBK3MWTC-CsyKuv-w.js +0 -525
  60. package/dist/lib/diagram-I5XIIV2D-DWY2JSPC.js +0 -134
  61. package/dist/lib/diagram-ODIL2UCW-DUptj0JZ.js +0 -301
  62. package/dist/lib/diagram-PFBEJUXE-N5XnIBqM.js +0 -447
  63. package/dist/lib/diagram-RJA3I4VV-B9XgohYo.js +0 -214
  64. package/dist/lib/diagram-TYUNFSNR-XnsJIeAd.js +0 -5084
  65. package/dist/lib/dist-AMlsjiDX.js +0 -59
  66. package/dist/lib/ebnfDiagram-V4P3TTPT-BssHqFox.js +0 -100
  67. package/dist/lib/elk-QONTBCTQ-DwmwqYgP.js +0 -47944
  68. package/dist/lib/erDiagram-KYQIGQAA-BQiXw1Tw.js +0 -1970
  69. package/dist/lib/eventmodeling-K75KTNOO-DDb--yMc.js +0 -3
  70. package/dist/lib/flowDiagram-IUGLLWBU-BEqqF1y2.js +0 -17
  71. package/dist/lib/ganttDiagram-R7GPNTJY-BWtGXxEF.js +0 -3094
  72. package/dist/lib/gitGraph-VSP46ZUC-BSwOaak_.js +0 -3
  73. package/dist/lib/gitGraphDiagram-PDYL7XHY-CHGNuGbk.js +0 -729
  74. package/dist/lib/graphlib-Dndp26xU.js +0 -1267
  75. package/dist/lib/info-OHQRW6UA-Dk06sZRe.js +0 -3
  76. package/dist/lib/infoDiagram-MVDRKAX5-Cdhxnjmi.js +0 -20
  77. package/dist/lib/init-Bwwdo3M6.js +0 -15
  78. package/dist/lib/ishikawaDiagram-HPEHV2GE-Dzhti-GJ.js +0 -719
  79. package/dist/lib/journeyDiagram-BOSHW7O7-C3_vsSjw.js +0 -884
  80. package/dist/lib/kanban-definition-FNSA4HC5-XsfCEsjn.js +0 -976
  81. package/dist/lib/katex-Dw0PnoPU.js +0 -21850
  82. package/dist/lib/line-C9krU3Sv.js +0 -34
  83. package/dist/lib/linear-Cvilv3OA.js +0 -289
  84. package/dist/lib/mermaid-parser.core-I7qQ_fxz.js +0 -638
  85. package/dist/lib/mermaid.core-UNHMAbBP.js +0 -1126
  86. package/dist/lib/mindmap-definition-6OY57UG3-CAua-JvB.js +0 -1011
  87. package/dist/lib/ordinal-C55HfHHp.js +0 -65
  88. package/dist/lib/packet-JDAUHWVQ-DZ-MKx4I.js +0 -3
  89. package/dist/lib/path-DNvJyUE8.js +0 -85
  90. package/dist/lib/pegDiagram-ECIUJNBX-BCxa_IO0.js +0 -94
  91. package/dist/lib/pie-XZMESJXO-DpCa-Nnq.js +0 -3
  92. package/dist/lib/pieDiagram-GNMPY74T-CE_C3dCB.js +0 -205
  93. package/dist/lib/quadrantDiagram-D57K4MC3-CDgzdMoL.js +0 -2001
  94. package/dist/lib/radar-ABXABTNO-BOVK7L9p.js +0 -3
  95. package/dist/lib/railroad-I3PHUGI6-B6spKM0Z.js +0 -3
  96. package/dist/lib/railroad-abnf-LNEFI6M7-DEWqfByZ.js +0 -3
  97. package/dist/lib/railroad-ebnf-DWYD2UWJ-CWRLtxHB.js +0 -3
  98. package/dist/lib/railroad-peg-JR7BVNR7-C-3NHSsk.js +0 -3
  99. package/dist/lib/railroadDiagram-Y72NRBL7-a8YVk8LT.js +0 -76
  100. package/dist/lib/requirementDiagram-EQYSW5RA-B9HolqxU.js +0 -2228
  101. package/dist/lib/rough.esm-a8mysczE.js +0 -1352
  102. package/dist/lib/sankeyDiagram-SY24JHO5-CLFMtMJG.js +0 -970
  103. package/dist/lib/sequenceDiagram-BLEHNHQU-B5wfSV85.js +0 -4253
  104. package/dist/lib/sizeCapture-INFHLROL-BWGCc9aa.js +0 -46
  105. package/dist/lib/src-Dcy0zUZH.js +0 -2153
  106. package/dist/lib/stateDiagram-v2-A6IESKWZ-C92vye4N.js +0 -2143
  107. package/dist/lib/swimlanes-B3ENRKFQ-B6-i-tPc.js +0 -4764
  108. package/dist/lib/swimlanesDiagram-AYQRV4AK-CbkBeql-.js +0 -28
  109. package/dist/lib/timeline-definition-JXYKGLGB-D2Ip4r72.js +0 -1073
  110. package/dist/lib/treeView-D4JQ5SDB-CFaKQ_2T.js +0 -3
  111. package/dist/lib/treemap-SAJKECNS-BQ6z7Z3g.js +0 -3
  112. package/dist/lib/usecaseDiagram-WPOLBNNX-BK1Anch1.js +0 -7190
  113. package/dist/lib/vennDiagram-Q3Y3IDCW-B6YTBqTS.js +0 -1880
  114. package/dist/lib/wardley-7MLQ67FV-DChYwu4i.js +0 -3
  115. package/dist/lib/wardleyDiagram-IVAIDKWA-D5I1qLUK.js +0 -645
  116. package/dist/lib/xychartDiagram-4URNHDU4-B6RXyhTO.js +0 -2218
@@ -1,976 +0,0 @@
1
- import { m as e } from "./src-Dcy0zUZH.js";
2
- import { n as t } from "./chunk-Y2CYZVJY-BYzrzvCI.js";
3
- import { Y as n, b as r, f as i, it as a, nt as o, tt as s, z as c } from "./chunk-DSNLSHJZ-CpA9d2CJ.js";
4
- import "./chunk-7S6XSTFO-CMt_p-O6.js";
5
- import { t as l } from "./chunk-OYAV6JZA-B1yICcbU.js";
6
- import "./chunk-YZO67HFG-D1jKt78p.js";
7
- import "./chunk-AQDTSKZB-DrZccIQa.js";
8
- import { t as u } from "./chunk-5VM5RSS4-BAQ-46g4.js";
9
- import "./chunk-UHW7PFBP-CLrOaA0y.js";
10
- import "./chunk-HAGFOTED-DMU2JNZM.js";
11
- import { i as d, r as f } from "./chunk-ZAUX2LTX-7XO0Yj1z.js";
12
- import { r as p } from "./chunk-HNE4Q36P-BIA0n2gA.js";
13
- import { n as m, t as h } from "./chunk-LNGE3PJU-CMGaAEAh.js";
14
- //#region node_modules/.pnpm/mermaid@12.2.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-FNSA4HC5.mjs
15
- var g = (function() {
16
- var e = /* @__PURE__ */ t(function(e, t, n, r) {
17
- for (n ||= {}, r = e.length; r--; n[e[r]] = t);
18
- return n;
19
- }, "o"), n = [1, 4], r = [1, 13], i = [1, 12], a = [1, 15], o = [1, 16], s = [1, 20], c = [1, 19], l = [
20
- 6,
21
- 7,
22
- 8
23
- ], u = [1, 26], d = [1, 24], f = [1, 25], p = [
24
- 6,
25
- 7,
26
- 11
27
- ], m = [1, 31], h = [
28
- 6,
29
- 7,
30
- 11,
31
- 24
32
- ], g = [
33
- 1,
34
- 6,
35
- 13,
36
- 16,
37
- 17,
38
- 20,
39
- 23
40
- ], _ = [1, 35], v = [1, 36], y = [
41
- 1,
42
- 6,
43
- 7,
44
- 11,
45
- 13,
46
- 16,
47
- 17,
48
- 20,
49
- 23
50
- ], b = [1, 38], x = {
51
- trace: /* @__PURE__ */ t(function() {}, "trace"),
52
- yy: {},
53
- symbols_: {
54
- error: 2,
55
- start: 3,
56
- mindMap: 4,
57
- spaceLines: 5,
58
- SPACELINE: 6,
59
- NL: 7,
60
- KANBAN: 8,
61
- document: 9,
62
- stop: 10,
63
- EOF: 11,
64
- statement: 12,
65
- SPACELIST: 13,
66
- node: 14,
67
- shapeData: 15,
68
- ICON: 16,
69
- CLASS: 17,
70
- nodeWithId: 18,
71
- nodeWithoutId: 19,
72
- NODE_DSTART: 20,
73
- NODE_DESCR: 21,
74
- NODE_DEND: 22,
75
- NODE_ID: 23,
76
- SHAPE_DATA: 24,
77
- $accept: 0,
78
- $end: 1
79
- },
80
- terminals_: {
81
- 2: "error",
82
- 6: "SPACELINE",
83
- 7: "NL",
84
- 8: "KANBAN",
85
- 11: "EOF",
86
- 13: "SPACELIST",
87
- 16: "ICON",
88
- 17: "CLASS",
89
- 20: "NODE_DSTART",
90
- 21: "NODE_DESCR",
91
- 22: "NODE_DEND",
92
- 23: "NODE_ID",
93
- 24: "SHAPE_DATA"
94
- },
95
- productions_: [
96
- 0,
97
- [3, 1],
98
- [3, 2],
99
- [5, 1],
100
- [5, 2],
101
- [5, 2],
102
- [4, 2],
103
- [4, 3],
104
- [10, 1],
105
- [10, 1],
106
- [10, 1],
107
- [10, 2],
108
- [10, 2],
109
- [9, 3],
110
- [9, 2],
111
- [12, 3],
112
- [12, 2],
113
- [12, 2],
114
- [12, 2],
115
- [12, 1],
116
- [12, 2],
117
- [12, 1],
118
- [12, 1],
119
- [12, 1],
120
- [12, 1],
121
- [14, 1],
122
- [14, 1],
123
- [19, 3],
124
- [18, 1],
125
- [18, 4],
126
- [15, 2],
127
- [15, 1]
128
- ],
129
- performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
130
- var s = a.length - 1;
131
- switch (i) {
132
- case 6:
133
- case 7: return r;
134
- case 8:
135
- r.getLogger().trace("Stop NL ");
136
- break;
137
- case 9:
138
- r.getLogger().trace("Stop EOF ");
139
- break;
140
- case 11:
141
- r.getLogger().trace("Stop NL2 ");
142
- break;
143
- case 12:
144
- r.getLogger().trace("Stop EOF2 ");
145
- break;
146
- case 15:
147
- r.getLogger().info("Node: ", a[s - 1].id), r.addNode(a[s - 2].length, a[s - 1].id, a[s - 1].descr, a[s - 1].type, a[s]);
148
- break;
149
- case 16:
150
- r.getLogger().info("Node: ", a[s].id), r.addNode(a[s - 1].length, a[s].id, a[s].descr, a[s].type);
151
- break;
152
- case 17:
153
- r.getLogger().trace("Icon: ", a[s]), r.decorateNode({ icon: a[s] });
154
- break;
155
- case 18:
156
- case 23:
157
- r.decorateNode({ class: a[s] });
158
- break;
159
- case 19:
160
- r.getLogger().trace("SPACELIST");
161
- break;
162
- case 20:
163
- r.getLogger().trace("Node: ", a[s - 1].id), r.addNode(0, a[s - 1].id, a[s - 1].descr, a[s - 1].type, a[s]);
164
- break;
165
- case 21:
166
- r.getLogger().trace("Node: ", a[s].id), r.addNode(0, a[s].id, a[s].descr, a[s].type);
167
- break;
168
- case 22:
169
- r.decorateNode({ icon: a[s] });
170
- break;
171
- case 27:
172
- r.getLogger().trace("node found ..", a[s - 2]), this.$ = {
173
- id: a[s - 1],
174
- descr: a[s - 1],
175
- type: r.getType(a[s - 2], a[s])
176
- };
177
- break;
178
- case 28:
179
- this.$ = {
180
- id: a[s],
181
- descr: a[s],
182
- type: 0
183
- };
184
- break;
185
- case 29:
186
- r.getLogger().trace("node found ..", a[s - 3]), this.$ = {
187
- id: a[s - 3],
188
- descr: a[s - 1],
189
- type: r.getType(a[s - 2], a[s])
190
- };
191
- break;
192
- case 30:
193
- this.$ = a[s - 1] + a[s];
194
- break;
195
- case 31:
196
- this.$ = a[s];
197
- break;
198
- }
199
- }, "anonymous"),
200
- table: [
201
- {
202
- 3: 1,
203
- 4: 2,
204
- 5: 3,
205
- 6: [1, 5],
206
- 8: n
207
- },
208
- { 1: [3] },
209
- { 1: [2, 1] },
210
- {
211
- 4: 6,
212
- 6: [1, 7],
213
- 7: [1, 8],
214
- 8: n
215
- },
216
- {
217
- 6: r,
218
- 7: [1, 10],
219
- 9: 9,
220
- 12: 11,
221
- 13: i,
222
- 14: 14,
223
- 16: a,
224
- 17: o,
225
- 18: 17,
226
- 19: 18,
227
- 20: s,
228
- 23: c
229
- },
230
- e(l, [2, 3]),
231
- { 1: [2, 2] },
232
- e(l, [2, 4]),
233
- e(l, [2, 5]),
234
- {
235
- 1: [2, 6],
236
- 6: r,
237
- 12: 21,
238
- 13: i,
239
- 14: 14,
240
- 16: a,
241
- 17: o,
242
- 18: 17,
243
- 19: 18,
244
- 20: s,
245
- 23: c
246
- },
247
- {
248
- 6: r,
249
- 9: 22,
250
- 12: 11,
251
- 13: i,
252
- 14: 14,
253
- 16: a,
254
- 17: o,
255
- 18: 17,
256
- 19: 18,
257
- 20: s,
258
- 23: c
259
- },
260
- {
261
- 6: u,
262
- 7: d,
263
- 10: 23,
264
- 11: f
265
- },
266
- e(p, [2, 24], {
267
- 18: 17,
268
- 19: 18,
269
- 14: 27,
270
- 16: [1, 28],
271
- 17: [1, 29],
272
- 20: s,
273
- 23: c
274
- }),
275
- e(p, [2, 19]),
276
- e(p, [2, 21], {
277
- 15: 30,
278
- 24: m
279
- }),
280
- e(p, [2, 22]),
281
- e(p, [2, 23]),
282
- e(h, [2, 25]),
283
- e(h, [2, 26]),
284
- e(h, [2, 28], { 20: [1, 32] }),
285
- { 21: [1, 33] },
286
- {
287
- 6: u,
288
- 7: d,
289
- 10: 34,
290
- 11: f
291
- },
292
- {
293
- 1: [2, 7],
294
- 6: r,
295
- 12: 21,
296
- 13: i,
297
- 14: 14,
298
- 16: a,
299
- 17: o,
300
- 18: 17,
301
- 19: 18,
302
- 20: s,
303
- 23: c
304
- },
305
- e(g, [2, 14], {
306
- 7: _,
307
- 11: v
308
- }),
309
- e(y, [2, 8]),
310
- e(y, [2, 9]),
311
- e(y, [2, 10]),
312
- e(p, [2, 16], {
313
- 15: 37,
314
- 24: m
315
- }),
316
- e(p, [2, 17]),
317
- e(p, [2, 18]),
318
- e(p, [2, 20], { 24: b }),
319
- e(h, [2, 31]),
320
- { 21: [1, 39] },
321
- { 22: [1, 40] },
322
- e(g, [2, 13], {
323
- 7: _,
324
- 11: v
325
- }),
326
- e(y, [2, 11]),
327
- e(y, [2, 12]),
328
- e(p, [2, 15], { 24: b }),
329
- e(h, [2, 30]),
330
- { 22: [1, 41] },
331
- e(h, [2, 27]),
332
- e(h, [2, 29])
333
- ],
334
- defaultActions: {
335
- 2: [2, 1],
336
- 6: [2, 2]
337
- },
338
- parseError: /* @__PURE__ */ t(function(e, t) {
339
- if (t.recoverable) this.trace(e);
340
- else {
341
- var n = Error(e);
342
- throw n.hash = t, n;
343
- }
344
- }, "parseError"),
345
- parse: /* @__PURE__ */ t(function(e) {
346
- var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
347
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
348
- h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
349
- var v = h.yylloc;
350
- o.push(v);
351
- var y = h.options && h.options.ranges;
352
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
353
- function b(e) {
354
- r.length -= 2 * e, a.length -= e, o.length -= e;
355
- }
356
- t(b, "popStack");
357
- function x() {
358
- var e = i.pop() || h.lex() || p;
359
- return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
360
- }
361
- t(x, "lex");
362
- for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
363
- if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
364
- var M = "";
365
- for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
366
- M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
367
- text: h.match,
368
- token: this.terminals_[S] || S,
369
- line: h.yylineno,
370
- loc: v,
371
- expected: j
372
- });
373
- }
374
- if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
375
- switch (T[0]) {
376
- case 1:
377
- r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
378
- break;
379
- case 2:
380
- if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
381
- first_line: o[o.length - (k || 1)].first_line,
382
- last_line: o[o.length - 1].last_line,
383
- first_column: o[o.length - (k || 1)].first_column,
384
- last_column: o[o.length - 1].last_column
385
- }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
386
- c,
387
- u,
388
- l,
389
- g.yy,
390
- T[1],
391
- a,
392
- o
393
- ].concat(m)), E !== void 0) return E;
394
- k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
395
- break;
396
- case 3: return !0;
397
- }
398
- }
399
- return !0;
400
- }, "parse")
401
- };
402
- x.lexer = /* @__PURE__ */ (function() {
403
- return {
404
- EOF: 1,
405
- parseError: /* @__PURE__ */ t(function(e, t) {
406
- if (this.yy.parser) this.yy.parser.parseError(e, t);
407
- else throw Error(e);
408
- }, "parseError"),
409
- setInput: /* @__PURE__ */ t(function(e, t) {
410
- return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
411
- first_line: 1,
412
- first_column: 0,
413
- last_line: 1,
414
- last_column: 0
415
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
416
- }, "setInput"),
417
- input: /* @__PURE__ */ t(function() {
418
- var e = this._input[0];
419
- return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.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), e;
420
- }, "input"),
421
- unput: /* @__PURE__ */ t(function(e) {
422
- var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
423
- this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
424
- var r = this.match.split(/(?:\r\n?|\n)/g);
425
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
426
- var i = this.yylloc.range;
427
- return this.yylloc = {
428
- first_line: this.yylloc.first_line,
429
- last_line: this.yylineno + 1,
430
- first_column: this.yylloc.first_column,
431
- last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
432
- }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
433
- }, "unput"),
434
- more: /* @__PURE__ */ t(function() {
435
- return this._more = !0, this;
436
- }, "more"),
437
- reject: /* @__PURE__ */ t(function() {
438
- if (this.options.backtrack_lexer) this._backtrack = !0;
439
- 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).\n" + this.showPosition(), {
440
- text: "",
441
- token: null,
442
- line: this.yylineno
443
- });
444
- return this;
445
- }, "reject"),
446
- less: /* @__PURE__ */ t(function(e) {
447
- this.unput(this.match.slice(e));
448
- }, "less"),
449
- pastInput: /* @__PURE__ */ t(function() {
450
- var e = this.matched.substr(0, this.matched.length - this.match.length);
451
- return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
452
- }, "pastInput"),
453
- upcomingInput: /* @__PURE__ */ t(function() {
454
- var e = this.match;
455
- return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
456
- }, "upcomingInput"),
457
- showPosition: /* @__PURE__ */ t(function() {
458
- var e = this.pastInput(), t = Array(e.length + 1).join("-");
459
- return e + this.upcomingInput() + "\n" + t + "^";
460
- }, "showPosition"),
461
- test_match: /* @__PURE__ */ t(function(e, t) {
462
- var n, r, i;
463
- if (this.options.backtrack_lexer && (i = {
464
- yylineno: this.yylineno,
465
- yylloc: {
466
- first_line: this.yylloc.first_line,
467
- last_line: this.last_line,
468
- first_column: this.yylloc.first_column,
469
- last_column: this.yylloc.last_column
470
- },
471
- yytext: this.yytext,
472
- match: this.match,
473
- matches: this.matches,
474
- matched: this.matched,
475
- yyleng: this.yyleng,
476
- offset: this.offset,
477
- _more: this._more,
478
- _input: this._input,
479
- yy: this.yy,
480
- conditionStack: this.conditionStack.slice(0),
481
- done: this.done
482
- }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
483
- first_line: this.yylloc.last_line,
484
- last_line: this.yylineno + 1,
485
- first_column: this.yylloc.last_column,
486
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
487
- }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
488
- if (this._backtrack) {
489
- for (var a in i) this[a] = i[a];
490
- return !1;
491
- }
492
- return !1;
493
- }, "test_match"),
494
- next: /* @__PURE__ */ t(function() {
495
- if (this.done) return this.EOF;
496
- this._input || (this.done = !0);
497
- var e, t, n, r;
498
- this._more || (this.yytext = "", this.match = "");
499
- for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
500
- if (t = n, r = a, this.options.backtrack_lexer) {
501
- if (e = this.test_match(n, i[a]), e !== !1) return e;
502
- if (this._backtrack) {
503
- t = !1;
504
- continue;
505
- } else return !1;
506
- } else if (!this.options.flex) break;
507
- }
508
- return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
509
- text: "",
510
- token: null,
511
- line: this.yylineno
512
- });
513
- }, "next"),
514
- lex: /* @__PURE__ */ t(function() {
515
- return this.next() || this.lex();
516
- }, "lex"),
517
- begin: /* @__PURE__ */ t(function(e) {
518
- this.conditionStack.push(e);
519
- }, "begin"),
520
- popState: /* @__PURE__ */ t(function() {
521
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
522
- }, "popState"),
523
- _currentRules: /* @__PURE__ */ t(function() {
524
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
525
- }, "_currentRules"),
526
- topState: /* @__PURE__ */ t(function(e) {
527
- return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
528
- }, "topState"),
529
- pushState: /* @__PURE__ */ t(function(e) {
530
- this.begin(e);
531
- }, "pushState"),
532
- stateStackSize: /* @__PURE__ */ t(function() {
533
- return this.conditionStack.length;
534
- }, "stateStackSize"),
535
- options: { "case-insensitive": !0 },
536
- performAction: /* @__PURE__ */ t(function(e, t, n, r) {
537
- switch (n) {
538
- case 0: return this.pushState("shapeData"), t.yytext = "", 24;
539
- case 1: return this.pushState("shapeDataStr"), 24;
540
- case 2: return this.popState(), 24;
541
- case 3: return t.yytext = t.yytext.replace(/\n\s*/g, "<br/>"), 24;
542
- case 4: return 24;
543
- case 5:
544
- this.popState();
545
- break;
546
- case 6: return e.getLogger().trace("Found comment", t.yytext), 6;
547
- case 7: return 8;
548
- case 8:
549
- this.begin("CLASS");
550
- break;
551
- case 9: return this.popState(), 17;
552
- case 10:
553
- this.popState();
554
- break;
555
- case 11:
556
- e.getLogger().trace("Begin icon"), this.begin("ICON");
557
- break;
558
- case 12: return e.getLogger().trace("SPACELINE"), 6;
559
- case 13: return 7;
560
- case 14: return 16;
561
- case 15:
562
- e.getLogger().trace("end icon"), this.popState();
563
- break;
564
- case 16: return e.getLogger().trace("Exploding node"), this.begin("NODE"), 20;
565
- case 17: return e.getLogger().trace("Cloud"), this.begin("NODE"), 20;
566
- case 18: return e.getLogger().trace("Explosion Bang"), this.begin("NODE"), 20;
567
- case 19: return e.getLogger().trace("Cloud Bang"), this.begin("NODE"), 20;
568
- case 20: return this.begin("NODE"), 20;
569
- case 21: return this.begin("NODE"), 20;
570
- case 22: return this.begin("NODE"), 20;
571
- case 23: return this.begin("NODE"), 20;
572
- case 24: return 13;
573
- case 25: return 23;
574
- case 26: return 11;
575
- case 27:
576
- this.begin("NSTR2");
577
- break;
578
- case 28: return "NODE_DESCR";
579
- case 29:
580
- this.popState();
581
- break;
582
- case 30:
583
- e.getLogger().trace("Starting NSTR"), this.begin("NSTR");
584
- break;
585
- case 31: return e.getLogger().trace("description:", t.yytext), "NODE_DESCR";
586
- case 32:
587
- this.popState();
588
- break;
589
- case 33: return this.popState(), e.getLogger().trace("node end ))"), "NODE_DEND";
590
- case 34: return this.popState(), e.getLogger().trace("node end )"), "NODE_DEND";
591
- case 35: return this.popState(), e.getLogger().trace("node end ...", t.yytext), "NODE_DEND";
592
- case 36: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
593
- case 37: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
594
- case 38: return this.popState(), e.getLogger().trace("node end (-"), "NODE_DEND";
595
- case 39: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
596
- case 40: return this.popState(), e.getLogger().trace("node end (("), "NODE_DEND";
597
- case 41: return e.getLogger().trace("Long description:", t.yytext), 21;
598
- case 42: return e.getLogger().trace("Long description:", t.yytext), 21;
599
- }
600
- }, "anonymous"),
601
- rules: [
602
- /^(?:@\{)/i,
603
- /^(?:["])/i,
604
- /^(?:["])/i,
605
- /^(?:[^\"]+)/i,
606
- /^(?:[^}^"]+)/i,
607
- /^(?:\})/i,
608
- /^(?:\s*%%.*)/i,
609
- /^(?:kanban\b)/i,
610
- /^(?::::)/i,
611
- /^(?:.+)/i,
612
- /^(?:\n)/i,
613
- /^(?:::icon\()/i,
614
- /^(?:[\s]+[\n])/i,
615
- /^(?:[\n]+)/i,
616
- /^(?:[^\)]+)/i,
617
- /^(?:\))/i,
618
- /^(?:-\))/i,
619
- /^(?:\(-)/i,
620
- /^(?:\)\))/i,
621
- /^(?:\))/i,
622
- /^(?:\(\()/i,
623
- /^(?:\{\{)/i,
624
- /^(?:\()/i,
625
- /^(?:\[)/i,
626
- /^(?:[\s]+)/i,
627
- /^(?:[^\(\[\n\)\{\}@]+)/i,
628
- /^(?:$)/i,
629
- /^(?:["][`])/i,
630
- /^(?:[^`"]+)/i,
631
- /^(?:[`]["])/i,
632
- /^(?:["])/i,
633
- /^(?:[^"]+)/i,
634
- /^(?:["])/i,
635
- /^(?:[\)]\))/i,
636
- /^(?:[\)])/i,
637
- /^(?:[\]])/i,
638
- /^(?:\}\})/i,
639
- /^(?:\(-)/i,
640
- /^(?:-\))/i,
641
- /^(?:\(\()/i,
642
- /^(?:\()/i,
643
- /^(?:[^\)\]\(\}]+)/i,
644
- /^(?:.+(?!\(\())/i
645
- ],
646
- conditions: {
647
- shapeDataEndBracket: {
648
- rules: [],
649
- inclusive: !1
650
- },
651
- shapeDataStr: {
652
- rules: [2, 3],
653
- inclusive: !1
654
- },
655
- shapeData: {
656
- rules: [
657
- 1,
658
- 4,
659
- 5
660
- ],
661
- inclusive: !1
662
- },
663
- CLASS: {
664
- rules: [9, 10],
665
- inclusive: !1
666
- },
667
- ICON: {
668
- rules: [14, 15],
669
- inclusive: !1
670
- },
671
- NSTR2: {
672
- rules: [28, 29],
673
- inclusive: !1
674
- },
675
- NSTR: {
676
- rules: [31, 32],
677
- inclusive: !1
678
- },
679
- NODE: {
680
- rules: [
681
- 27,
682
- 30,
683
- 33,
684
- 34,
685
- 35,
686
- 36,
687
- 37,
688
- 38,
689
- 39,
690
- 40,
691
- 41,
692
- 42
693
- ],
694
- inclusive: !1
695
- },
696
- INITIAL: {
697
- rules: [
698
- 0,
699
- 6,
700
- 7,
701
- 8,
702
- 11,
703
- 12,
704
- 13,
705
- 16,
706
- 17,
707
- 18,
708
- 19,
709
- 20,
710
- 21,
711
- 22,
712
- 23,
713
- 24,
714
- 25,
715
- 26
716
- ],
717
- inclusive: !0
718
- }
719
- }
720
- };
721
- })();
722
- function S() {
723
- this.yy = {};
724
- }
725
- return t(S, "Parser"), S.prototype = x, x.Parser = S, new S();
726
- })();
727
- g.parser = g;
728
- var _ = g, v = [], y = [], b = 0, x = {}, S = /* @__PURE__ */ t(() => {
729
- v = [], y = [], b = 0, x = {};
730
- }, "clear"), C = /* @__PURE__ */ t((e) => {
731
- if (v.length === 0) return null;
732
- let t = v[0].level, n = null;
733
- for (let e = v.length - 1; e >= 0; e--) if (v[e].level === t && !n && (n = v[e]), v[e].level < t) throw Error("Items without section detected, found section (\"" + v[e].label + "\")");
734
- return e === n?.level ? null : n;
735
- }, "getSection"), w = /* @__PURE__ */ t(function() {
736
- return y;
737
- }, "getSections"), T = /* @__PURE__ */ t(function() {
738
- let e = [], t = [], n = w(), i = r();
739
- for (let e of n) {
740
- let n = {
741
- id: e.id,
742
- label: c(e.label ?? "", i),
743
- labelType: "markdown",
744
- isGroup: !0,
745
- ticket: e.ticket,
746
- shape: "kanbanSection",
747
- level: e.level,
748
- look: i.look
749
- };
750
- t.push(n);
751
- let r = v.filter((t) => t.parentId === e.id);
752
- for (let n of r) {
753
- let r = {
754
- id: n.id,
755
- parentId: e.id,
756
- label: c(n.label ?? "", i),
757
- labelType: "markdown",
758
- isGroup: !1,
759
- ticket: n?.ticket,
760
- priority: n?.priority,
761
- assigned: n?.assigned,
762
- icon: n?.icon,
763
- shape: "kanbanItem",
764
- level: n.level,
765
- rx: 5,
766
- ry: 5,
767
- cssStyles: ["text-align: left"]
768
- };
769
- t.push(r);
770
- }
771
- }
772
- return {
773
- nodes: t,
774
- edges: e,
775
- other: {},
776
- config: r()
777
- };
778
- }, "getData"), E = /* @__PURE__ */ t((e, t, n, a, o) => {
779
- let s = r(), l = s.mindmap?.padding ?? i.mindmap.padding;
780
- switch (a) {
781
- case D.ROUNDED_RECT:
782
- case D.RECT:
783
- case D.HEXAGON: l *= 2;
784
- }
785
- let u = {
786
- id: c(t, s) || "kbn" + b++,
787
- level: e,
788
- label: c(n, s),
789
- width: s.mindmap?.maxNodeWidth ?? i.mindmap.maxNodeWidth,
790
- padding: l,
791
- isGroup: !1
792
- };
793
- if (o !== void 0) {
794
- let e;
795
- e = o.includes("\n") ? o + "\n" : "{\n" + o + "\n}";
796
- let t = m(e, { schema: h });
797
- if (t.shape && (t.shape !== t.shape.toLowerCase() || t.shape.includes("_"))) throw Error(`No such shape: ${t.shape}. Shape names should be lowercase.`);
798
- t?.shape && t.shape === "kanbanItem" && (u.shape = t?.shape), t?.label && (u.label = t?.label), t?.icon && (u.icon = t?.icon.toString()), t?.assigned && (u.assigned = t?.assigned.toString()), t?.ticket && (u.ticket = t?.ticket.toString()), t?.priority && (u.priority = t?.priority);
799
- }
800
- let d = C(e);
801
- d ? u.parentId = d.id || "kbn" + b++ : y.push(u), v.push(u);
802
- }, "addNode"), D = {
803
- DEFAULT: 0,
804
- NO_BORDER: 0,
805
- ROUNDED_RECT: 1,
806
- RECT: 2,
807
- CIRCLE: 3,
808
- CLOUD: 4,
809
- BANG: 5,
810
- HEXAGON: 6
811
- }, O = {
812
- clear: S,
813
- addNode: E,
814
- getSections: w,
815
- getData: T,
816
- nodeType: D,
817
- getType: /* @__PURE__ */ t((t, n) => {
818
- switch (e.debug("In get type", t, n), t) {
819
- case "[": return D.RECT;
820
- case "(": return n === ")" ? D.ROUNDED_RECT : D.CLOUD;
821
- case "((": return D.CIRCLE;
822
- case ")": return D.CLOUD;
823
- case "))": return D.BANG;
824
- case "{{": return D.HEXAGON;
825
- default: return D.DEFAULT;
826
- }
827
- }, "getType"),
828
- setElementForId: /* @__PURE__ */ t((e, t) => {
829
- x[e] = t;
830
- }, "setElementForId"),
831
- decorateNode: /* @__PURE__ */ t((e) => {
832
- if (!e) return;
833
- let t = r(), n = v[v.length - 1];
834
- e.icon && (n.icon = c(e.icon, t)), e.class && (n.cssClasses = c(e.class, t));
835
- }, "decorateNode"),
836
- type2Str: /* @__PURE__ */ t((e) => {
837
- switch (e) {
838
- case D.DEFAULT: return "no-border";
839
- case D.RECT: return "rect";
840
- case D.ROUNDED_RECT: return "rounded-rect";
841
- case D.CIRCLE: return "circle";
842
- case D.CLOUD: return "cloud";
843
- case D.BANG: return "bang";
844
- case D.HEXAGON: return "hexgon";
845
- default: return "no-border";
846
- }
847
- }, "type2Str"),
848
- getLogger: /* @__PURE__ */ t(() => e, "getLogger"),
849
- getElementById: /* @__PURE__ */ t((e) => x[e], "getElementById")
850
- }, k = { draw: /* @__PURE__ */ t(async (t, a, o, s) => {
851
- e.debug("Rendering kanban diagram\n" + t);
852
- let c = s.db.getData(), u = r();
853
- u.htmlLabels = !1;
854
- let m = l(a);
855
- for (let e of c.nodes) e.domId = `${a}-${e.id}`;
856
- let h = m.append("g");
857
- h.attr("class", "sections");
858
- let g = m.append("g");
859
- g.attr("class", "items");
860
- let _ = c.nodes.filter((e) => e.isGroup), v = 0, y = [], b = 25;
861
- for (let e of _) {
862
- let t = u?.kanban?.sectionWidth || 200;
863
- v += 1, e.x = t * v + (v - 1) * 10 / 2, e.width = t, e.y = 0, e.height = t * 3, e.rx = 5, e.ry = 5, e.cssClasses = e.cssClasses + " section-" + v;
864
- let n = await p(h, e);
865
- b = Math.max(b, n?.labelBBox?.height), y.push(n);
866
- }
867
- let x = 0;
868
- for (let e of _) {
869
- let t = y[x];
870
- x += 1;
871
- let n = u?.kanban?.sectionWidth || 200, r = -n * 3 / 2 + b, i = r, a = c.nodes.filter((t) => t.parentId === e.id);
872
- for (let t of a) {
873
- if (t.isGroup) throw Error("Groups within groups are not allowed in Kanban diagrams");
874
- t.x = e.x, t.width = n - 1.5 * 10;
875
- let r = (await f(g, t, { config: u })).node().getBBox();
876
- t.y = i + r.height / 2, await d(t), i = t.y + r.height / 2 + 10 / 2;
877
- }
878
- let o = t.cluster.select("rect"), s = Math.max(i - r + 30, 50) + (b - 25);
879
- o.attr("height", s);
880
- }
881
- n(void 0, m, u.mindmap?.padding ?? i.kanban.padding, u.mindmap?.useMaxWidth ?? i.kanban.useMaxWidth);
882
- }, "draw") }, A = /* @__PURE__ */ t((e) => {
883
- let n = "";
884
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], a(e["lineColor" + t]) ? e["lineColor" + t] = o(e["lineColor" + t], 20) : e["lineColor" + t] = s(e["lineColor" + t], 20);
885
- let r = /* @__PURE__ */ t((t, n) => e.darkMode ? s(t, n) : o(t, n), "adjuster");
886
- for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) {
887
- let i = "" + (17 - 3 * t);
888
- n += `
889
- .section-${t - 1} rect, .section-${t - 1} path, .section-${t - 1} circle, .section-${t - 1} polygon, .section-${t - 1} path {
890
- fill: ${r(e["cScale" + t], 10)};
891
- stroke: ${r(e["cScale" + t], 10)};
892
-
893
- }
894
- .section-${t - 1} text {
895
- fill: ${e["cScaleLabel" + t]};
896
- }
897
- .node-icon-${t - 1} {
898
- font-size: 40px;
899
- color: ${e["cScaleLabel" + t]};
900
- }
901
- .section-edge-${t - 1}{
902
- stroke: ${e["cScale" + t]};
903
- }
904
- .edge-depth-${t - 1}{
905
- stroke-width: ${i};
906
- }
907
- .section-${t - 1} line {
908
- stroke: ${e["cScaleInv" + t]} ;
909
- stroke-width: 3;
910
- }
911
-
912
- .disabled, .disabled circle, .disabled text {
913
- fill: lightgray;
914
- }
915
- .disabled text {
916
- fill: #efefef;
917
- }
918
-
919
- .node rect,
920
- .node circle,
921
- .node ellipse,
922
- .node polygon,
923
- .node path {
924
- fill: ${e.background};
925
- stroke: ${e.nodeBorder};
926
- stroke-width: 1px;
927
- }
928
-
929
- .kanban-ticket-link {
930
- fill: ${e.background};
931
- stroke: ${e.nodeBorder};
932
- text-decoration: underline;
933
- }
934
- `;
935
- }
936
- return n;
937
- }, "genSections"), j = {
938
- db: O,
939
- renderer: k,
940
- parser: _,
941
- styles: /* @__PURE__ */ t((e) => `
942
- .edge {
943
- stroke-width: 3;
944
- }
945
- ${A(e)}
946
- .section-root rect, .section-root path, .section-root circle, .section-root polygon {
947
- fill: ${e.git0};
948
- }
949
- .section-root text {
950
- fill: ${e.gitBranchLabel0};
951
- }
952
- .icon-container {
953
- height:100%;
954
- display: flex;
955
- justify-content: center;
956
- align-items: center;
957
- }
958
- .edge {
959
- fill: none;
960
- }
961
- .cluster-label, .label {
962
- color: ${e.textColor};
963
- fill: ${e.textColor};
964
- }
965
- .kanban-label {
966
- dy: 1em;
967
- alignment-baseline: middle;
968
- text-anchor: middle;
969
- dominant-baseline: middle;
970
- text-align: center;
971
- }
972
- ${u()}
973
- `, "getStyles")
974
- };
975
- //#endregion
976
- export { j as diagram };