@nxgt/material-vue 0.15.3 → 0.19.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 (157) hide show
  1. package/README.md +5 -1
  2. package/dist/_baseIsEqual-Cj6hHjs0.js +226 -0
  3. package/dist/abnfDiagram-O67JEVCF-Cl_I9xuI.js +89 -0
  4. package/dist/arc-DNNg1pxp.js +80 -0
  5. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  6. package/dist/architectureDiagram-NJMV4G6O-CVS4UUCi.js +4146 -0
  7. package/dist/array-CApNbSU9.js +6 -0
  8. package/dist/blockDiagram-BEXU5L5S-B5Z0jbc8.js +1946 -0
  9. package/dist/c4Diagram-YGBWAQC7-B6jKsl3h.js +2990 -0
  10. package/dist/{camera-DmcoWLY_.js → camera-oxz1xItP.js} +4 -4
  11. package/dist/channel-BA1GJyZ7.js +5 -0
  12. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  13. package/dist/chunk-3FUC2YCW-CX-v_TQz.js +364 -0
  14. package/dist/chunk-5DYCD2WN-B9vjeX2u.js +37 -0
  15. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  16. package/dist/chunk-6AEJRKK7-D9IaQdwq.js +10 -0
  17. package/dist/chunk-742MDFTN-BIhVe9GR.js +275 -0
  18. package/dist/chunk-7INBJB4K-CwPgdc2G.js +4487 -0
  19. package/dist/chunk-7M6MHVWA-Deh_-m6x.js +4256 -0
  20. package/dist/chunk-7PRAP22T-CofnNOEr.js +67 -0
  21. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  22. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  23. package/dist/chunk-GNY47TPC-rS2K544k.js +75 -0
  24. package/dist/chunk-GTNCS2PH-BR0O70z_.js +490 -0
  25. package/dist/chunk-GWA4HPMP-DU9lUCZD.js +61 -0
  26. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  27. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  28. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  29. package/dist/chunk-MBY4JIJT-HYVRUG_P.js +1847 -0
  30. package/dist/chunk-NETBCI7D-C8amwD_P.js +236 -0
  31. package/dist/chunk-O7XYJQB3-WMQqqzRb.js +3922 -0
  32. package/dist/chunk-UA2S7LBM-DtBatid7.js +363 -0
  33. package/dist/chunk-WEXAMYUT-Cc10h8ed.js +26 -0
  34. package/dist/chunk-XXDRQBXY-B2pGFcse.js +9 -0
  35. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  36. package/dist/chunk-Z7XXMR3K-CJmsOGTV.js +676 -0
  37. package/dist/chunk-ZIGJFQKS-DBdWb0bj.js +1366 -0
  38. package/dist/classDiagram-v2-NBCMYWYE-Caqw5P6A.js +3397 -0
  39. package/dist/{components-CzlSXpgn.js → components-IbdMALGv.js} +43231 -18341
  40. package/dist/components.js +5 -5
  41. package/dist/{composables-CJfjxkud.js → composables-6zV0t-y7.js} +1 -1
  42. package/dist/composables.js +1 -1
  43. package/dist/cose-bilkent-JH36ORCC-DStMi-eo.js +2251 -0
  44. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  45. package/dist/cynefinDiagram-VND7K2PF-0Mq0e5NQ.js +349 -0
  46. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  47. package/dist/dagre-6A5THRUB-EHXNn6Wq.js +2192 -0
  48. package/dist/defaultLocale-DnzPsei5.js +201 -0
  49. package/dist/diagram-22UHCM2B-B3RAQlqQ.js +5084 -0
  50. package/dist/diagram-3UASUU5V-BznCZHss.js +525 -0
  51. package/dist/diagram-ATOU4E4O-DtIUxSAn.js +432 -0
  52. package/dist/diagram-CDSNMT55-DOjN3BR2.js +301 -0
  53. package/dist/diagram-MLGK6HIB-Dx2UboD6.js +134 -0
  54. package/dist/diagram-MPIPVDR6-DnPL3RV0.js +214 -0
  55. package/dist/dist-D9zvfe2i.js +59 -0
  56. package/dist/{dnd-CnXShic8.js → dnd-CaDeYjQx.js} +1 -1
  57. package/dist/dnd.js +1 -1
  58. package/dist/ebnfDiagram-ZINNZB2B-BNbxCL0b.js +100 -0
  59. package/dist/elk-276RUBZZ-B9WeHolc.js +47597 -0
  60. package/dist/erDiagram-OPXOYQCR-DReZElBu.js +1970 -0
  61. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  62. package/dist/flowDiagram-KWPJA3E3-DYss4vEI.js +17 -0
  63. package/dist/ganttDiagram-FUAMR5RP-64EZDDmC.js +3083 -0
  64. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  65. package/dist/gitGraphDiagram-X574FWY7-DmMMrp5A.js +729 -0
  66. package/dist/graphlib-CrmIPC4m.js +372 -0
  67. package/dist/{i18n-weSTOoFJ.js → i18n-OBzfa-B7.js} +247 -926
  68. package/dist/i18n.js +2 -2
  69. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  70. package/dist/infoDiagram-VRGFBTTK-XlBUAu0t.js +20 -0
  71. package/dist/init-MwSGRDIl.js +15 -0
  72. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  73. package/dist/isEmpty-CMjyBU-a.js +136 -0
  74. package/dist/ishikawaDiagram-OU5B5YK6-C9cMWMPO.js +719 -0
  75. package/dist/journeyDiagram-ZHPQQLJL-DXdfP9BW.js +884 -0
  76. package/dist/kanban-definition-PNTS6WVX-DhOBy3A0.js +976 -0
  77. package/dist/katex-BMQ6LGsM.js +21962 -0
  78. package/dist/lib/components/index.d.ts +4 -0
  79. package/dist/lib/components/ui/chat/chat-composer-mentions.vue.d.ts +13 -0
  80. package/dist/lib/components/ui/chat/chat-composer.vue.d.ts +6 -2
  81. package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
  82. package/dist/lib/components/ui/emoji/emoji-list.vue.d.ts +11 -0
  83. package/dist/lib/components/ui/emoji/emoji-picker.vue.d.ts +12 -0
  84. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  85. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  86. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  87. package/dist/lib/components/ui/markdown/index.d.ts +2 -0
  88. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +10 -0
  89. package/dist/lib/components/ui/markdown/markdown.vue.d.ts +10 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.vue.d.ts +7 -0
  92. package/dist/lib/components/ui/mentions/index.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/mention-list.vue.d.ts +16 -0
  94. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  95. package/dist/lib/components/ui/mentions/types.d.ts +5 -0
  96. package/dist/lib/components/ui/terminal/index.d.ts +3 -0
  97. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  98. package/dist/lib/components/ui/terminal/terminal.vue.d.ts +17 -0
  99. package/dist/lib/i18n/resources/en/index.d.ts +13 -0
  100. package/dist/lib/i18n/resources/en/material.json.d.ts +14 -1
  101. package/dist/lib/i18n/resources/fr/index.d.ts +13 -0
  102. package/dist/lib/i18n/resources/fr/material.json.d.ts +14 -1
  103. package/dist/lib/i18n/resources/index.d.ts +26 -0
  104. package/dist/lib/i18n/translator.d.ts +1 -1
  105. package/dist/lib/nuxt/component-names.d.ts +1 -1
  106. package/dist/lib-B9AHrvmh.js +389 -0
  107. package/dist/lib.js +1 -1
  108. package/dist/line-UP6dkL36.js +34 -0
  109. package/dist/linear-bD_QoED_.js +289 -0
  110. package/dist/main.js +9 -9
  111. package/dist/material-vue.css +1 -1
  112. package/dist/merge-B4IBXGaq.js +170 -0
  113. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  114. package/dist/mermaid.core-C_Rtflmc.js +1096 -0
  115. package/dist/mindmap-definition-NLK3R4M7-CO6s2Afv.js +1008 -0
  116. package/dist/ordinal-D_ZgubzR.js +65 -0
  117. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  118. package/dist/path-DGNPZRdx.js +85 -0
  119. package/dist/{pdf-outline-sidebar-iX41cMWg.js → pdf-outline-sidebar-D5VedBgk.js} +3 -2
  120. package/dist/{pdf-page-D_i3wZ_q.js → pdf-page-B1Ze518d.js} +1 -1
  121. package/dist/{pdf-page-list-bB0_8jk4.js → pdf-page-list-CBJziavm.js} +3 -2
  122. package/dist/{pdf-reader-CRipdUQO.js → pdf-reader-Cn1uxtJN.js} +13 -13
  123. package/dist/{pdf-sidebar-BLZLycW6.js → pdf-sidebar-PXfgGlmq.js} +4 -4
  124. package/dist/{pdf-thumbnail-sidebar-CStX_EPU.js → pdf-thumbnail-sidebar-7agqWsXT.js} +4 -3
  125. package/dist/{pdf-toolbar-Cp2i5Vhc.js → pdf-toolbar-Blm9CFvh.js} +22 -21
  126. package/dist/pegDiagram-GJSIUBJH-gvsGke9W.js +94 -0
  127. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  128. package/dist/pieDiagram-5QR66LMP-DLBcErnI.js +205 -0
  129. package/dist/quadrantDiagram-O4NWA36T-Bn3CmGxM.js +2001 -0
  130. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  131. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  132. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  133. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  134. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  135. package/dist/railroadDiagram-XR7U4H2S-DLeBxWbV.js +76 -0
  136. package/dist/requirementDiagram-PLB6GJNP-JpWB5sEv.js +2228 -0
  137. package/dist/rolldown-runtime-CWhphoD1.js +23 -0
  138. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  139. package/dist/sankeyDiagram-IPEJSGJF-a4rFl5rR.js +970 -0
  140. package/dist/sequenceDiagram-PO4LG4MO-CjUigcL2.js +4200 -0
  141. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  142. package/dist/src-CNRY2AUH.js +2142 -0
  143. package/dist/stateDiagram-v2-GCMORJYK-DJkVDIb0.js +2143 -0
  144. package/dist/{stx-player-DNXToHKV.js → stx-player-rs3uH0iI.js} +17 -17
  145. package/dist/swimlanes-2SLR337P-D7Ff0hLr.js +4763 -0
  146. package/dist/swimlanesDiagram-TC7HE7FX-DZZ9d76C.js +28 -0
  147. package/dist/timeline-definition-EJHVYXUP-C0aHlt9K.js +1073 -0
  148. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  149. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  150. package/dist/usecaseDiagram-POWQR4AR-BrRAt7Wu.js +9932 -0
  151. package/dist/vennDiagram-UO4OBE2U-B22Jhju8.js +1880 -0
  152. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  153. package/dist/wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js +645 -0
  154. package/dist/xychartDiagram-PMCCYNJV-DtuDs9I7.js +2214 -0
  155. package/lib/nuxt/component-names.ts +2 -0
  156. package/package.json +5 -1
  157. package/dist/lib-DfpwxO6u.js +0 -611
@@ -0,0 +1,976 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
2
+ import { m as t } from "./src-CNRY2AUH.js";
3
+ import { Y as n, f as r, it as i, nt as a, tt as o, x as s, z as c } from "./chunk-O7XYJQB3-WMQqqzRb.js";
4
+ import "./chunk-ZIGJFQKS-DBdWb0bj.js";
5
+ import { t as l } from "./chunk-6AEJRKK7-D9IaQdwq.js";
6
+ import "./chunk-742MDFTN-BIhVe9GR.js";
7
+ import "./chunk-MBY4JIJT-HYVRUG_P.js";
8
+ import { t as u } from "./chunk-5VM5RSS4-Cr17nBXp.js";
9
+ import "./chunk-7PRAP22T-CofnNOEr.js";
10
+ import "./chunk-7INBJB4K-CwPgdc2G.js";
11
+ import { i as d, r as f } from "./chunk-5DYCD2WN-B9vjeX2u.js";
12
+ import { r as p } from "./chunk-UA2S7LBM-DtBatid7.js";
13
+ import { n as m, t as h } from "./chunk-LNGE3PJU-CiGrDO_F.js";
14
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-PNTS6WVX.mjs
15
+ var g = (function() {
16
+ var t = /* @__PURE__ */ e(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__ */ e(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__ */ e(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
+ t(l, [2, 3]),
231
+ { 1: [2, 2] },
232
+ t(l, [2, 4]),
233
+ t(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
+ t(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
+ t(p, [2, 19]),
276
+ t(p, [2, 21], {
277
+ 15: 30,
278
+ 24: m
279
+ }),
280
+ t(p, [2, 22]),
281
+ t(p, [2, 23]),
282
+ t(h, [2, 25]),
283
+ t(h, [2, 26]),
284
+ t(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
+ t(g, [2, 14], {
306
+ 7: _,
307
+ 11: v
308
+ }),
309
+ t(y, [2, 8]),
310
+ t(y, [2, 9]),
311
+ t(y, [2, 10]),
312
+ t(p, [2, 16], {
313
+ 15: 37,
314
+ 24: m
315
+ }),
316
+ t(p, [2, 17]),
317
+ t(p, [2, 18]),
318
+ t(p, [2, 20], { 24: b }),
319
+ t(h, [2, 31]),
320
+ { 21: [1, 39] },
321
+ { 22: [1, 40] },
322
+ t(g, [2, 13], {
323
+ 7: _,
324
+ 11: v
325
+ }),
326
+ t(y, [2, 11]),
327
+ t(y, [2, 12]),
328
+ t(p, [2, 15], { 24: b }),
329
+ t(h, [2, 30]),
330
+ { 22: [1, 41] },
331
+ t(h, [2, 27]),
332
+ t(h, [2, 29])
333
+ ],
334
+ defaultActions: {
335
+ 2: [2, 1],
336
+ 6: [2, 2]
337
+ },
338
+ parseError: /* @__PURE__ */ e(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__ */ e(function(t) {
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(t, 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
+ e(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
+ e(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__ */ e(function(e, t) {
406
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
407
+ else throw Error(e);
408
+ }, "parseError"),
409
+ setInput: /* @__PURE__ */ e(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__ */ e(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__ */ e(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__ */ e(function() {
435
+ return this._more = !0, this;
436
+ }, "more"),
437
+ reject: /* @__PURE__ */ e(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__ */ e(function(e) {
447
+ this.unput(this.match.slice(e));
448
+ }, "less"),
449
+ pastInput: /* @__PURE__ */ e(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__ */ e(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__ */ e(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__ */ e(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__ */ e(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 && 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__ */ e(function() {
515
+ return this.next() || this.lex();
516
+ }, "lex"),
517
+ begin: /* @__PURE__ */ e(function(e) {
518
+ this.conditionStack.push(e);
519
+ }, "begin"),
520
+ popState: /* @__PURE__ */ e(function() {
521
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
522
+ }, "popState"),
523
+ _currentRules: /* @__PURE__ */ e(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__ */ e(function(e) {
527
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
528
+ }, "topState"),
529
+ pushState: /* @__PURE__ */ e(function(e) {
530
+ this.begin(e);
531
+ }, "pushState"),
532
+ stateStackSize: /* @__PURE__ */ e(function() {
533
+ return this.conditionStack.length;
534
+ }, "stateStackSize"),
535
+ options: { "case-insensitive": !0 },
536
+ performAction: /* @__PURE__ */ e(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 e(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__ */ e(() => {
729
+ v = [], y = [], b = 0, x = {};
730
+ }, "clear"), C = /* @__PURE__ */ e((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__ */ e(function() {
736
+ return y;
737
+ }, "getSections"), T = /* @__PURE__ */ e(function() {
738
+ let e = [], t = [], n = w(), r = s();
739
+ for (let e of n) {
740
+ let n = {
741
+ id: e.id,
742
+ label: c(e.label ?? "", r),
743
+ labelType: "markdown",
744
+ isGroup: !0,
745
+ ticket: e.ticket,
746
+ shape: "kanbanSection",
747
+ level: e.level,
748
+ look: r.look
749
+ };
750
+ t.push(n);
751
+ let i = v.filter((t) => t.parentId === e.id);
752
+ for (let n of i) {
753
+ let i = {
754
+ id: n.id,
755
+ parentId: e.id,
756
+ label: c(n.label ?? "", r),
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(i);
770
+ }
771
+ }
772
+ return {
773
+ nodes: t,
774
+ edges: e,
775
+ other: {},
776
+ config: s()
777
+ };
778
+ }, "getData"), E = /* @__PURE__ */ e((e, t, n, i, a) => {
779
+ let o = s(), l = o.mindmap?.padding ?? r.mindmap.padding;
780
+ switch (i) {
781
+ case D.ROUNDED_RECT:
782
+ case D.RECT:
783
+ case D.HEXAGON: l *= 2;
784
+ }
785
+ let u = {
786
+ id: c(t, o) || "kbn" + b++,
787
+ level: e,
788
+ label: c(n, o),
789
+ width: o.mindmap?.maxNodeWidth ?? r.mindmap.maxNodeWidth,
790
+ padding: l,
791
+ isGroup: !1
792
+ };
793
+ if (a !== void 0) {
794
+ let e;
795
+ e = a.includes("\n") ? a + "\n" : "{\n" + a + "\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__ */ e((e, n) => {
818
+ switch (t.debug("In get type", e, n), e) {
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__ */ e((e, t) => {
829
+ x[e] = t;
830
+ }, "setElementForId"),
831
+ decorateNode: /* @__PURE__ */ e((e) => {
832
+ if (!e) return;
833
+ let t = s(), 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__ */ e((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__ */ e(() => t, "getLogger"),
849
+ getElementById: /* @__PURE__ */ e((e) => x[e], "getElementById")
850
+ }, k = { draw: /* @__PURE__ */ e(async (e, i, a, o) => {
851
+ t.debug("Rendering kanban diagram\n" + e);
852
+ let c = o.db.getData(), u = s();
853
+ u.htmlLabels = !1;
854
+ let m = l(i);
855
+ for (let e of c.nodes) e.domId = `${i}-${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 ?? r.kanban.padding, u.mindmap?.useMaxWidth ?? r.kanban.useMaxWidth);
882
+ }, "draw") }, A = /* @__PURE__ */ e((t) => {
883
+ let n = "";
884
+ for (let e = 0; e < t.THEME_COLOR_LIMIT; e++) t["lineColor" + e] = t["lineColor" + e] || t["cScaleInv" + e], i(t["lineColor" + e]) ? t["lineColor" + e] = a(t["lineColor" + e], 20) : t["lineColor" + e] = o(t["lineColor" + e], 20);
885
+ let r = /* @__PURE__ */ e((e, n) => t.darkMode ? o(e, n) : a(e, n), "adjuster");
886
+ for (let e = 0; e < t.THEME_COLOR_LIMIT; e++) {
887
+ let i = "" + (17 - 3 * e);
888
+ n += `
889
+ .section-${e - 1} rect, .section-${e - 1} path, .section-${e - 1} circle, .section-${e - 1} polygon, .section-${e - 1} path {
890
+ fill: ${r(t["cScale" + e], 10)};
891
+ stroke: ${r(t["cScale" + e], 10)};
892
+
893
+ }
894
+ .section-${e - 1} text {
895
+ fill: ${t["cScaleLabel" + e]};
896
+ }
897
+ .node-icon-${e - 1} {
898
+ font-size: 40px;
899
+ color: ${t["cScaleLabel" + e]};
900
+ }
901
+ .section-edge-${e - 1}{
902
+ stroke: ${t["cScale" + e]};
903
+ }
904
+ .edge-depth-${e - 1}{
905
+ stroke-width: ${i};
906
+ }
907
+ .section-${e - 1} line {
908
+ stroke: ${t["cScaleInv" + e]} ;
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: ${t.background};
925
+ stroke: ${t.nodeBorder};
926
+ stroke-width: 1px;
927
+ }
928
+
929
+ .kanban-ticket-link {
930
+ fill: ${t.background};
931
+ stroke: ${t.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__ */ e((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 };