lowcoder-comps 0.0.26 → 0.0.28

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 (56) hide show
  1. package/000297fb.js +5 -0
  2. package/{92fb34a2.js → 0205ce17.js} +27 -27
  3. package/{3f63d12d.js → 1269154d.js} +32711 -34763
  4. package/{6fbc4c21.js → 1f088099.js} +18 -18
  5. package/{2b3b3386.js → 2ae47d58.js} +548 -548
  6. package/2ff7471d.js +9 -0
  7. package/{44cd1a62.js → 42b75267.js} +11 -11
  8. package/{ed8c376c.js → 45a7c119.js} +286 -293
  9. package/4bc5ef7f.js +881 -0
  10. package/{90d3581f.js → 4c822e6b.js} +133 -132
  11. package/5bb002c8.js +64 -0
  12. package/{82c8e71b.js → 6517e88b.js} +12 -10
  13. package/65d3daa9.js +391 -0
  14. package/{87b4699c.js → 6909d829.js} +1 -1
  15. package/{b28dda80.js → 711961f8.js} +13 -12
  16. package/77491f00.js +86 -0
  17. package/7805c934.js +455 -0
  18. package/7dc7ce37.js +19104 -0
  19. package/{c3caea77.js → 83feec48.js} +45 -43
  20. package/{c66d9114.js → 8c8fb30b.js} +25 -24
  21. package/{3220cb2e.js → 945d7302.js} +2 -1
  22. package/{4891fa68.js → 9a9b397d.js} +6 -5
  23. package/{3ebbaeae.js → a2d32dbb.js} +18 -18
  24. package/{2c0287e1.js → a39d3869.js} +2 -2
  25. package/a40faea7.js +11624 -0
  26. package/b7bda09a.js +237 -0
  27. package/{5f138044.js → b99f5b2a.js} +158 -147
  28. package/bcc07d29.js +1536 -0
  29. package/c2bf7d82.js +819 -0
  30. package/c4bd6ed7.js +1269 -0
  31. package/c4c5f13b.js +8 -0
  32. package/d2bae1f4.js +2284 -0
  33. package/d4b9d281.js +1089 -0
  34. package/{11b36d97.js → d4ba48b2.js} +148 -145
  35. package/dd0ec77a.js +48428 -0
  36. package/{c889073f.js → e0bacb89.js} +1 -1
  37. package/{b70abaaf.js → e437d53e.js} +1 -1
  38. package/e95fa522.js +1102 -0
  39. package/ed46c11a.js +1276 -0
  40. package/f2b8cbc8.js +25 -0
  41. package/index.js +2 -2
  42. package/package.json +1 -1
  43. package/33035c6f.js +0 -86
  44. package/3f82489c.js +0 -2396
  45. package/454ca826.js +0 -46724
  46. package/4938ecf8.js +0 -22
  47. package/558b96ef.js +0 -18798
  48. package/596b7f71.js +0 -365
  49. package/637a168a.js +0 -235
  50. package/765a2a38.js +0 -1055
  51. package/8ed940ee.js +0 -786
  52. package/9c1ceb2f.js +0 -448
  53. package/aad4f2fa.js +0 -1235
  54. package/b053e17f.js +0 -1000
  55. package/bed24264.js +0 -2192
  56. package/d3478475.js +0 -64
package/765a2a38.js DELETED
@@ -1,1055 +0,0 @@
1
- import { s as Xe, g as We, a as qe, b as He, c as F, B as Je, D as Ze, j as v, E as $e, l as et, z as Pe, h as U, d as tt, G as ye } from "./3f63d12d.js";
2
- var De = function() {
3
- var e = function(L, u, a, o) {
4
- for (a = a || {}, o = L.length; o--; a[L[o]] = u)
5
- ;
6
- return a;
7
- }, n = [1, 16], r = [1, 17], h = [1, 18], l = [1, 37], A = [1, 38], g = [1, 24], D = [1, 22], B = [1, 23], _ = [1, 29], ne = [1, 30], ue = [1, 31], re = [1, 32], ae = [1, 33], le = [1, 34], ce = [1, 25], oe = [1, 26], he = [1, 27], Ae = [1, 28], d = [1, 42], E = [1, 39], C = [1, 40], m = [1, 41], k = [1, 43], pe = [1, 9], c = [1, 8, 9], Y = [1, 54], K = [1, 55], j = [1, 56], Q = [1, 57], X = [1, 58], fe = [1, 59], de = [1, 60], W = [1, 8, 9, 38], Ne = [1, 71], V = [1, 8, 9, 12, 13, 21, 36, 38, 41, 58, 59, 60, 61, 62, 63, 64, 69, 71], q = [1, 8, 9, 12, 13, 19, 21, 36, 38, 41, 45, 58, 59, 60, 61, 62, 63, 64, 69, 71, 84, 86, 87, 88, 89], H = [13, 84, 86, 87, 88, 89], G = [13, 63, 64, 84, 86, 87, 88, 89], ve = [13, 58, 59, 60, 61, 62, 84, 86, 87, 88, 89], Ee = [1, 90], Ce = [1, 8, 9, 36, 38, 41], J = [1, 8, 9, 21], me = {
8
- trace: function() {
9
- },
10
- yy: {},
11
- symbols_: { error: 2, start: 3, mermaidDoc: 4, statements: 5, graphConfig: 6, CLASS_DIAGRAM: 7, NEWLINE: 8, EOF: 9, statement: 10, classLabel: 11, SQS: 12, STR: 13, SQE: 14, namespaceName: 15, alphaNumToken: 16, className: 17, classLiteralName: 18, GENERICTYPE: 19, relationStatement: 20, LABEL: 21, namespaceStatement: 22, classStatement: 23, memberStatement: 24, annotationStatement: 25, clickStatement: 26, cssClassStatement: 27, noteStatement: 28, direction: 29, acc_title: 30, acc_title_value: 31, acc_descr: 32, acc_descr_value: 33, acc_descr_multiline_value: 34, namespaceIdentifier: 35, STRUCT_START: 36, classStatements: 37, STRUCT_STOP: 38, NAMESPACE: 39, classIdentifier: 40, STYLE_SEPARATOR: 41, members: 42, CLASS: 43, ANNOTATION_START: 44, ANNOTATION_END: 45, MEMBER: 46, SEPARATOR: 47, relation: 48, NOTE_FOR: 49, noteText: 50, NOTE: 51, direction_tb: 52, direction_bt: 53, direction_rl: 54, direction_lr: 55, relationType: 56, lineType: 57, AGGREGATION: 58, EXTENSION: 59, COMPOSITION: 60, DEPENDENCY: 61, LOLLIPOP: 62, LINE: 63, DOTTED_LINE: 64, CALLBACK: 65, LINK: 66, LINK_TARGET: 67, CLICK: 68, CALLBACK_NAME: 69, CALLBACK_ARGS: 70, HREF: 71, CSSCLASS: 72, commentToken: 73, textToken: 74, graphCodeTokens: 75, textNoTagsToken: 76, TAGSTART: 77, TAGEND: 78, "==": 79, "--": 80, PCT: 81, DEFAULT: 82, SPACE: 83, MINUS: 84, keywords: 85, UNICODE_TEXT: 86, NUM: 87, ALPHA: 88, BQUOTE_STR: 89, $accept: 0, $end: 1 },
12
- terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 19: "GENERICTYPE", 21: "LABEL", 30: "acc_title", 31: "acc_title_value", 32: "acc_descr", 33: "acc_descr_value", 34: "acc_descr_multiline_value", 36: "STRUCT_START", 38: "STRUCT_STOP", 39: "NAMESPACE", 41: "STYLE_SEPARATOR", 43: "CLASS", 44: "ANNOTATION_START", 45: "ANNOTATION_END", 46: "MEMBER", 47: "SEPARATOR", 49: "NOTE_FOR", 51: "NOTE", 52: "direction_tb", 53: "direction_bt", 54: "direction_rl", 55: "direction_lr", 58: "AGGREGATION", 59: "EXTENSION", 60: "COMPOSITION", 61: "DEPENDENCY", 62: "LOLLIPOP", 63: "LINE", 64: "DOTTED_LINE", 65: "CALLBACK", 66: "LINK", 67: "LINK_TARGET", 68: "CLICK", 69: "CALLBACK_NAME", 70: "CALLBACK_ARGS", 71: "HREF", 72: "CSSCLASS", 75: "graphCodeTokens", 77: "TAGSTART", 78: "TAGEND", 79: "==", 80: "--", 81: "PCT", 82: "DEFAULT", 83: "SPACE", 84: "MINUS", 85: "keywords", 86: "UNICODE_TEXT", 87: "NUM", 88: "ALPHA", 89: "BQUOTE_STR" },
13
- productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 2], [17, 1], [17, 1], [17, 2], [17, 2], [17, 2], [10, 1], [10, 2], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [10, 1], [22, 4], [22, 5], [35, 2], [37, 1], [37, 2], [37, 3], [23, 1], [23, 3], [23, 4], [23, 6], [40, 2], [40, 3], [25, 4], [42, 1], [42, 2], [24, 1], [24, 2], [24, 1], [24, 1], [20, 3], [20, 4], [20, 4], [20, 5], [28, 3], [28, 2], [29, 1], [29, 1], [29, 1], [29, 1], [48, 3], [48, 2], [48, 2], [48, 1], [56, 1], [56, 1], [56, 1], [56, 1], [56, 1], [57, 1], [57, 1], [26, 3], [26, 4], [26, 3], [26, 4], [26, 4], [26, 5], [26, 3], [26, 4], [26, 4], [26, 5], [26, 4], [26, 5], [26, 5], [26, 6], [27, 3], [73, 1], [73, 1], [74, 1], [74, 1], [74, 1], [74, 1], [74, 1], [74, 1], [74, 1], [76, 1], [76, 1], [76, 1], [76, 1], [16, 1], [16, 1], [16, 1], [16, 1], [18, 1], [50, 1]],
14
- performAction: function(u, a, o, i, p, t, M) {
15
- var s = t.length - 1;
16
- switch (p) {
17
- case 8:
18
- this.$ = t[s - 1];
19
- break;
20
- case 9:
21
- case 11:
22
- case 12:
23
- this.$ = t[s];
24
- break;
25
- case 10:
26
- case 13:
27
- this.$ = t[s - 1] + t[s];
28
- break;
29
- case 14:
30
- case 15:
31
- this.$ = t[s - 1] + "~" + t[s] + "~";
32
- break;
33
- case 16:
34
- i.addRelation(t[s]);
35
- break;
36
- case 17:
37
- t[s - 1].title = i.cleanupLabel(t[s]), i.addRelation(t[s - 1]);
38
- break;
39
- case 26:
40
- this.$ = t[s].trim(), i.setAccTitle(this.$);
41
- break;
42
- case 27:
43
- case 28:
44
- this.$ = t[s].trim(), i.setAccDescription(this.$);
45
- break;
46
- case 29:
47
- i.addClassesToNamespace(t[s - 3], t[s - 1]);
48
- break;
49
- case 30:
50
- i.addClassesToNamespace(t[s - 4], t[s - 1]);
51
- break;
52
- case 31:
53
- this.$ = t[s], i.addNamespace(t[s]);
54
- break;
55
- case 32:
56
- this.$ = [t[s]];
57
- break;
58
- case 33:
59
- this.$ = [t[s - 1]];
60
- break;
61
- case 34:
62
- t[s].unshift(t[s - 2]), this.$ = t[s];
63
- break;
64
- case 36:
65
- i.setCssClass(t[s - 2], t[s]);
66
- break;
67
- case 37:
68
- i.addMembers(t[s - 3], t[s - 1]);
69
- break;
70
- case 38:
71
- i.setCssClass(t[s - 5], t[s - 3]), i.addMembers(t[s - 5], t[s - 1]);
72
- break;
73
- case 39:
74
- this.$ = t[s], i.addClass(t[s]);
75
- break;
76
- case 40:
77
- this.$ = t[s - 1], i.addClass(t[s - 1]), i.setClassLabel(t[s - 1], t[s]);
78
- break;
79
- case 41:
80
- i.addAnnotation(t[s], t[s - 2]);
81
- break;
82
- case 42:
83
- this.$ = [t[s]];
84
- break;
85
- case 43:
86
- t[s].push(t[s - 1]), this.$ = t[s];
87
- break;
88
- case 44:
89
- break;
90
- case 45:
91
- i.addMember(t[s - 1], i.cleanupLabel(t[s]));
92
- break;
93
- case 46:
94
- break;
95
- case 47:
96
- break;
97
- case 48:
98
- this.$ = { id1: t[s - 2], id2: t[s], relation: t[s - 1], relationTitle1: "none", relationTitle2: "none" };
99
- break;
100
- case 49:
101
- this.$ = { id1: t[s - 3], id2: t[s], relation: t[s - 1], relationTitle1: t[s - 2], relationTitle2: "none" };
102
- break;
103
- case 50:
104
- this.$ = { id1: t[s - 3], id2: t[s], relation: t[s - 2], relationTitle1: "none", relationTitle2: t[s - 1] };
105
- break;
106
- case 51:
107
- this.$ = { id1: t[s - 4], id2: t[s], relation: t[s - 2], relationTitle1: t[s - 3], relationTitle2: t[s - 1] };
108
- break;
109
- case 52:
110
- i.addNote(t[s], t[s - 1]);
111
- break;
112
- case 53:
113
- i.addNote(t[s]);
114
- break;
115
- case 54:
116
- i.setDirection("TB");
117
- break;
118
- case 55:
119
- i.setDirection("BT");
120
- break;
121
- case 56:
122
- i.setDirection("RL");
123
- break;
124
- case 57:
125
- i.setDirection("LR");
126
- break;
127
- case 58:
128
- this.$ = { type1: t[s - 2], type2: t[s], lineType: t[s - 1] };
129
- break;
130
- case 59:
131
- this.$ = { type1: "none", type2: t[s], lineType: t[s - 1] };
132
- break;
133
- case 60:
134
- this.$ = { type1: t[s - 1], type2: "none", lineType: t[s] };
135
- break;
136
- case 61:
137
- this.$ = { type1: "none", type2: "none", lineType: t[s] };
138
- break;
139
- case 62:
140
- this.$ = i.relationType.AGGREGATION;
141
- break;
142
- case 63:
143
- this.$ = i.relationType.EXTENSION;
144
- break;
145
- case 64:
146
- this.$ = i.relationType.COMPOSITION;
147
- break;
148
- case 65:
149
- this.$ = i.relationType.DEPENDENCY;
150
- break;
151
- case 66:
152
- this.$ = i.relationType.LOLLIPOP;
153
- break;
154
- case 67:
155
- this.$ = i.lineType.LINE;
156
- break;
157
- case 68:
158
- this.$ = i.lineType.DOTTED_LINE;
159
- break;
160
- case 69:
161
- case 75:
162
- this.$ = t[s - 2], i.setClickEvent(t[s - 1], t[s]);
163
- break;
164
- case 70:
165
- case 76:
166
- this.$ = t[s - 3], i.setClickEvent(t[s - 2], t[s - 1]), i.setTooltip(t[s - 2], t[s]);
167
- break;
168
- case 71:
169
- this.$ = t[s - 2], i.setLink(t[s - 1], t[s]);
170
- break;
171
- case 72:
172
- this.$ = t[s - 3], i.setLink(t[s - 2], t[s - 1], t[s]);
173
- break;
174
- case 73:
175
- this.$ = t[s - 3], i.setLink(t[s - 2], t[s - 1]), i.setTooltip(t[s - 2], t[s]);
176
- break;
177
- case 74:
178
- this.$ = t[s - 4], i.setLink(t[s - 3], t[s - 2], t[s]), i.setTooltip(t[s - 3], t[s - 1]);
179
- break;
180
- case 77:
181
- this.$ = t[s - 3], i.setClickEvent(t[s - 2], t[s - 1], t[s]);
182
- break;
183
- case 78:
184
- this.$ = t[s - 4], i.setClickEvent(t[s - 3], t[s - 2], t[s - 1]), i.setTooltip(t[s - 3], t[s]);
185
- break;
186
- case 79:
187
- this.$ = t[s - 3], i.setLink(t[s - 2], t[s]);
188
- break;
189
- case 80:
190
- this.$ = t[s - 4], i.setLink(t[s - 3], t[s - 1], t[s]);
191
- break;
192
- case 81:
193
- this.$ = t[s - 4], i.setLink(t[s - 3], t[s - 1]), i.setTooltip(t[s - 3], t[s]);
194
- break;
195
- case 82:
196
- this.$ = t[s - 5], i.setLink(t[s - 4], t[s - 2], t[s]), i.setTooltip(t[s - 4], t[s - 1]);
197
- break;
198
- case 83:
199
- i.setCssClass(t[s - 1], t[s]);
200
- break;
201
- }
202
- },
203
- table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 35, 17: 19, 18: 36, 20: 7, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 27: 13, 28: 14, 29: 15, 30: n, 32: r, 34: h, 35: 20, 39: l, 40: 21, 43: A, 44: g, 46: D, 47: B, 49: _, 51: ne, 52: ue, 53: re, 54: ae, 55: le, 65: ce, 66: oe, 68: he, 72: Ae, 84: d, 86: E, 87: C, 88: m, 89: k }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, e(pe, [2, 5], { 8: [1, 44] }), { 8: [1, 45] }, e(c, [2, 16], { 21: [1, 46] }), e(c, [2, 18]), e(c, [2, 19]), e(c, [2, 20]), e(c, [2, 21]), e(c, [2, 22]), e(c, [2, 23]), e(c, [2, 24]), e(c, [2, 25]), { 31: [1, 47] }, { 33: [1, 48] }, e(c, [2, 28]), e(c, [2, 44], { 48: 49, 56: 52, 57: 53, 13: [1, 50], 21: [1, 51], 58: Y, 59: K, 60: j, 61: Q, 62: X, 63: fe, 64: de }), { 36: [1, 61] }, e(W, [2, 35], { 36: [1, 63], 41: [1, 62] }), e(c, [2, 46]), e(c, [2, 47]), { 16: 64, 84: d, 86: E, 87: C, 88: m }, { 16: 35, 17: 65, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, { 16: 35, 17: 66, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, { 16: 35, 17: 67, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, { 13: [1, 68] }, { 16: 35, 17: 69, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, { 13: Ne, 50: 70 }, e(c, [2, 54]), e(c, [2, 55]), e(c, [2, 56]), e(c, [2, 57]), e(V, [2, 11], { 16: 35, 18: 36, 17: 72, 19: [1, 73], 84: d, 86: E, 87: C, 88: m, 89: k }), e(V, [2, 12], { 19: [1, 74] }), { 15: 75, 16: 76, 84: d, 86: E, 87: C, 88: m }, { 16: 35, 17: 77, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, e(q, [2, 97]), e(q, [2, 98]), e(q, [2, 99]), e(q, [2, 100]), e([1, 8, 9, 12, 13, 19, 21, 36, 38, 41, 58, 59, 60, 61, 62, 63, 64, 69, 71], [2, 101]), e(pe, [2, 6], { 10: 5, 20: 7, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 27: 13, 28: 14, 29: 15, 17: 19, 35: 20, 40: 21, 16: 35, 18: 36, 5: 78, 30: n, 32: r, 34: h, 39: l, 43: A, 44: g, 46: D, 47: B, 49: _, 51: ne, 52: ue, 53: re, 54: ae, 55: le, 65: ce, 66: oe, 68: he, 72: Ae, 84: d, 86: E, 87: C, 88: m, 89: k }), { 5: 79, 10: 5, 16: 35, 17: 19, 18: 36, 20: 7, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 27: 13, 28: 14, 29: 15, 30: n, 32: r, 34: h, 35: 20, 39: l, 40: 21, 43: A, 44: g, 46: D, 47: B, 49: _, 51: ne, 52: ue, 53: re, 54: ae, 55: le, 65: ce, 66: oe, 68: he, 72: Ae, 84: d, 86: E, 87: C, 88: m, 89: k }, e(c, [2, 17]), e(c, [2, 26]), e(c, [2, 27]), { 13: [1, 81], 16: 35, 17: 80, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, { 48: 82, 56: 52, 57: 53, 58: Y, 59: K, 60: j, 61: Q, 62: X, 63: fe, 64: de }, e(c, [2, 45]), { 57: 83, 63: fe, 64: de }, e(H, [2, 61], { 56: 84, 58: Y, 59: K, 60: j, 61: Q, 62: X }), e(G, [2, 62]), e(G, [2, 63]), e(G, [2, 64]), e(G, [2, 65]), e(G, [2, 66]), e(ve, [2, 67]), e(ve, [2, 68]), { 8: [1, 86], 23: 87, 37: 85, 40: 21, 43: A }, { 16: 88, 84: d, 86: E, 87: C, 88: m }, { 42: 89, 46: Ee }, { 45: [1, 91] }, { 13: [1, 92] }, { 13: [1, 93] }, { 69: [1, 94], 71: [1, 95] }, { 16: 96, 84: d, 86: E, 87: C, 88: m }, { 13: Ne, 50: 97 }, e(c, [2, 53]), e(c, [2, 102]), e(V, [2, 13]), e(V, [2, 14]), e(V, [2, 15]), { 36: [2, 31] }, { 15: 98, 16: 76, 36: [2, 9], 84: d, 86: E, 87: C, 88: m }, e(Ce, [2, 39], { 11: 99, 12: [1, 100] }), e(pe, [2, 7]), { 9: [1, 101] }, e(J, [2, 48]), { 16: 35, 17: 102, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, { 13: [1, 104], 16: 35, 17: 103, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, e(H, [2, 60], { 56: 105, 58: Y, 59: K, 60: j, 61: Q, 62: X }), e(H, [2, 59]), { 38: [1, 106] }, { 23: 87, 37: 107, 40: 21, 43: A }, { 8: [1, 108], 38: [2, 32] }, e(W, [2, 36], { 36: [1, 109] }), { 38: [1, 110] }, { 38: [2, 42], 42: 111, 46: Ee }, { 16: 35, 17: 112, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, e(c, [2, 69], { 13: [1, 113] }), e(c, [2, 71], { 13: [1, 115], 67: [1, 114] }), e(c, [2, 75], { 13: [1, 116], 70: [1, 117] }), { 13: [1, 118] }, e(c, [2, 83]), e(c, [2, 52]), { 36: [2, 10] }, e(Ce, [2, 40]), { 13: [1, 119] }, { 1: [2, 4] }, e(J, [2, 50]), e(J, [2, 49]), { 16: 35, 17: 120, 18: 36, 84: d, 86: E, 87: C, 88: m, 89: k }, e(H, [2, 58]), e(c, [2, 29]), { 38: [1, 121] }, { 23: 87, 37: 122, 38: [2, 33], 40: 21, 43: A }, { 42: 123, 46: Ee }, e(W, [2, 37]), { 38: [2, 43] }, e(c, [2, 41]), e(c, [2, 70]), e(c, [2, 72]), e(c, [2, 73], { 67: [1, 124] }), e(c, [2, 76]), e(c, [2, 77], { 13: [1, 125] }), e(c, [2, 79], { 13: [1, 127], 67: [1, 126] }), { 14: [1, 128] }, e(J, [2, 51]), e(c, [2, 30]), { 38: [2, 34] }, { 38: [1, 129] }, e(c, [2, 74]), e(c, [2, 78]), e(c, [2, 80]), e(c, [2, 81], { 67: [1, 130] }), e(Ce, [2, 8]), e(W, [2, 38]), e(c, [2, 82])],
204
- defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 75: [2, 31], 98: [2, 10], 101: [2, 4], 111: [2, 43], 122: [2, 34] },
205
- parseError: function(u, a) {
206
- if (a.recoverable)
207
- this.trace(u);
208
- else {
209
- var o = new Error(u);
210
- throw o.hash = a, o;
211
- }
212
- },
213
- parse: function(u) {
214
- var a = this, o = [0], i = [], p = [null], t = [], M = this.table, s = "", Z = 0, Le = 0, Ye = 2, xe = 1, Ke = t.slice.call(arguments, 1), b = Object.create(this.lexer), I = { yy: {} };
215
- for (var ge in this.yy)
216
- Object.prototype.hasOwnProperty.call(this.yy, ge) && (I.yy[ge] = this.yy[ge]);
217
- b.setInput(u, I.yy), I.yy.lexer = b, I.yy.parser = this, typeof b.yylloc == "undefined" && (b.yylloc = {});
218
- var ke = b.yylloc;
219
- t.push(ke);
220
- var je = b.options && b.options.ranges;
221
- typeof I.yy.parseError == "function" ? this.parseError = I.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
222
- function Qe() {
223
- var N;
224
- return N = i.pop() || b.lex() || xe, typeof N != "number" && (N instanceof Array && (i = N, N = i.pop()), N = a.symbols_[N] || N), N;
225
- }
226
- for (var T, O, y, Te, w = {}, $, S, Ie, ee; ; ) {
227
- if (O = o[o.length - 1], this.defaultActions[O] ? y = this.defaultActions[O] : ((T === null || typeof T == "undefined") && (T = Qe()), y = M[O] && M[O][T]), typeof y == "undefined" || !y.length || !y[0]) {
228
- var Fe = "";
229
- ee = [];
230
- for ($ in M[O])
231
- this.terminals_[$] && $ > Ye && ee.push("'" + this.terminals_[$] + "'");
232
- b.showPosition ? Fe = "Parse error on line " + (Z + 1) + `:
233
- ` + b.showPosition() + `
234
- Expecting ` + ee.join(", ") + ", got '" + (this.terminals_[T] || T) + "'" : Fe = "Parse error on line " + (Z + 1) + ": Unexpected " + (T == xe ? "end of input" : "'" + (this.terminals_[T] || T) + "'"), this.parseError(Fe, {
235
- text: b.match,
236
- token: this.terminals_[T] || T,
237
- line: b.yylineno,
238
- loc: ke,
239
- expected: ee
240
- });
241
- }
242
- if (y[0] instanceof Array && y.length > 1)
243
- throw new Error("Parse Error: multiple actions possible at state: " + O + ", token: " + T);
244
- switch (y[0]) {
245
- case 1:
246
- o.push(T), p.push(b.yytext), t.push(b.yylloc), o.push(y[1]), T = null, Le = b.yyleng, s = b.yytext, Z = b.yylineno, ke = b.yylloc;
247
- break;
248
- case 2:
249
- if (S = this.productions_[y[1]][1], w.$ = p[p.length - S], w._$ = {
250
- first_line: t[t.length - (S || 1)].first_line,
251
- last_line: t[t.length - 1].last_line,
252
- first_column: t[t.length - (S || 1)].first_column,
253
- last_column: t[t.length - 1].last_column
254
- }, je && (w._$.range = [
255
- t[t.length - (S || 1)].range[0],
256
- t[t.length - 1].range[1]
257
- ]), Te = this.performAction.apply(w, [
258
- s,
259
- Le,
260
- Z,
261
- I.yy,
262
- y[1],
263
- p,
264
- t
265
- ].concat(Ke)), typeof Te != "undefined")
266
- return Te;
267
- S && (o = o.slice(0, -1 * S * 2), p = p.slice(0, -1 * S), t = t.slice(0, -1 * S)), o.push(this.productions_[y[1]][0]), p.push(w.$), t.push(w._$), Ie = M[o[o.length - 2]][o[o.length - 1]], o.push(Ie);
268
- break;
269
- case 3:
270
- return !0;
271
- }
272
- }
273
- return !0;
274
- }
275
- }, ze = function() {
276
- var L = {
277
- EOF: 1,
278
- parseError: function(a, o) {
279
- if (this.yy.parser)
280
- this.yy.parser.parseError(a, o);
281
- else
282
- throw new Error(a);
283
- },
284
- // resets the lexer, sets new input
285
- setInput: function(u, a) {
286
- return this.yy = a || this.yy || {}, this._input = u, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
287
- first_line: 1,
288
- first_column: 0,
289
- last_line: 1,
290
- last_column: 0
291
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
292
- },
293
- // consumes and returns one char from the input
294
- input: function() {
295
- var u = this._input[0];
296
- this.yytext += u, this.yyleng++, this.offset++, this.match += u, this.matched += u;
297
- var a = u.match(/(?:\r\n?|\n).*/g);
298
- return a ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), u;
299
- },
300
- // unshifts one char (or a string) into the input
301
- unput: function(u) {
302
- var a = u.length, o = u.split(/(?:\r\n?|\n)/g);
303
- this._input = u + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
304
- var i = this.match.split(/(?:\r\n?|\n)/g);
305
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), o.length - 1 && (this.yylineno -= o.length - 1);
306
- var p = this.yylloc.range;
307
- return this.yylloc = {
308
- first_line: this.yylloc.first_line,
309
- last_line: this.yylineno + 1,
310
- first_column: this.yylloc.first_column,
311
- last_column: o ? (o.length === i.length ? this.yylloc.first_column : 0) + i[i.length - o.length].length - o[0].length : this.yylloc.first_column - a
312
- }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - a]), this.yyleng = this.yytext.length, this;
313
- },
314
- // When called from action, caches matched text and appends it on next action
315
- more: function() {
316
- return this._more = !0, this;
317
- },
318
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
319
- reject: function() {
320
- if (this.options.backtrack_lexer)
321
- this._backtrack = !0;
322
- else
323
- 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).
324
- ` + this.showPosition(), {
325
- text: "",
326
- token: null,
327
- line: this.yylineno
328
- });
329
- return this;
330
- },
331
- // retain first n characters of the match
332
- less: function(u) {
333
- this.unput(this.match.slice(u));
334
- },
335
- // displays already matched input, i.e. for error messages
336
- pastInput: function() {
337
- var u = this.matched.substr(0, this.matched.length - this.match.length);
338
- return (u.length > 20 ? "..." : "") + u.substr(-20).replace(/\n/g, "");
339
- },
340
- // displays upcoming input, i.e. for error messages
341
- upcomingInput: function() {
342
- var u = this.match;
343
- return u.length < 20 && (u += this._input.substr(0, 20 - u.length)), (u.substr(0, 20) + (u.length > 20 ? "..." : "")).replace(/\n/g, "");
344
- },
345
- // displays the character position where the lexing error occurred, i.e. for error messages
346
- showPosition: function() {
347
- var u = this.pastInput(), a = new Array(u.length + 1).join("-");
348
- return u + this.upcomingInput() + `
349
- ` + a + "^";
350
- },
351
- // test the lexed token: return FALSE when not a match, otherwise return token
352
- test_match: function(u, a) {
353
- var o, i, p;
354
- if (this.options.backtrack_lexer && (p = {
355
- yylineno: this.yylineno,
356
- yylloc: {
357
- first_line: this.yylloc.first_line,
358
- last_line: this.last_line,
359
- first_column: this.yylloc.first_column,
360
- last_column: this.yylloc.last_column
361
- },
362
- yytext: this.yytext,
363
- match: this.match,
364
- matches: this.matches,
365
- matched: this.matched,
366
- yyleng: this.yyleng,
367
- offset: this.offset,
368
- _more: this._more,
369
- _input: this._input,
370
- yy: this.yy,
371
- conditionStack: this.conditionStack.slice(0),
372
- done: this.done
373
- }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), i = u[0].match(/(?:\r\n?|\n).*/g), i && (this.yylineno += i.length), this.yylloc = {
374
- first_line: this.yylloc.last_line,
375
- last_line: this.yylineno + 1,
376
- first_column: this.yylloc.last_column,
377
- last_column: i ? i[i.length - 1].length - i[i.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + u[0].length
378
- }, this.yytext += u[0], this.match += u[0], this.matches = u, 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(u[0].length), this.matched += u[0], o = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
379
- return o;
380
- if (this._backtrack) {
381
- for (var t in p)
382
- this[t] = p[t];
383
- return !1;
384
- }
385
- return !1;
386
- },
387
- // return next match in input
388
- next: function() {
389
- if (this.done)
390
- return this.EOF;
391
- this._input || (this.done = !0);
392
- var u, a, o, i;
393
- this._more || (this.yytext = "", this.match = "");
394
- for (var p = this._currentRules(), t = 0; t < p.length; t++)
395
- if (o = this._input.match(this.rules[p[t]]), o && (!a || o[0].length > a[0].length)) {
396
- if (a = o, i = t, this.options.backtrack_lexer) {
397
- if (u = this.test_match(o, p[t]), u !== !1)
398
- return u;
399
- if (this._backtrack) {
400
- a = !1;
401
- continue;
402
- } else
403
- return !1;
404
- } else if (!this.options.flex)
405
- break;
406
- }
407
- return a ? (u = this.test_match(a, p[i]), u !== !1 ? u : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
408
- ` + this.showPosition(), {
409
- text: "",
410
- token: null,
411
- line: this.yylineno
412
- });
413
- },
414
- // return next match that has a token
415
- lex: function() {
416
- var a = this.next();
417
- return a || this.lex();
418
- },
419
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
420
- begin: function(a) {
421
- this.conditionStack.push(a);
422
- },
423
- // pop the previously active lexer condition state off the condition stack
424
- popState: function() {
425
- var a = this.conditionStack.length - 1;
426
- return a > 0 ? this.conditionStack.pop() : this.conditionStack[0];
427
- },
428
- // produce the lexer rule set which is active for the currently active lexer condition state
429
- _currentRules: function() {
430
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
431
- },
432
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
433
- topState: function(a) {
434
- return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
435
- },
436
- // alias for begin(condition)
437
- pushState: function(a) {
438
- this.begin(a);
439
- },
440
- // return the number of states currently on the stack
441
- stateStackSize: function() {
442
- return this.conditionStack.length;
443
- },
444
- options: {},
445
- performAction: function(a, o, i, p) {
446
- switch (i) {
447
- case 0:
448
- return 52;
449
- case 1:
450
- return 53;
451
- case 2:
452
- return 54;
453
- case 3:
454
- return 55;
455
- case 4:
456
- break;
457
- case 5:
458
- break;
459
- case 6:
460
- return this.begin("acc_title"), 30;
461
- case 7:
462
- return this.popState(), "acc_title_value";
463
- case 8:
464
- return this.begin("acc_descr"), 32;
465
- case 9:
466
- return this.popState(), "acc_descr_value";
467
- case 10:
468
- this.begin("acc_descr_multiline");
469
- break;
470
- case 11:
471
- this.popState();
472
- break;
473
- case 12:
474
- return "acc_descr_multiline_value";
475
- case 13:
476
- return 8;
477
- case 14:
478
- break;
479
- case 15:
480
- return 7;
481
- case 16:
482
- return 7;
483
- case 17:
484
- return "EDGE_STATE";
485
- case 18:
486
- this.begin("callback_name");
487
- break;
488
- case 19:
489
- this.popState();
490
- break;
491
- case 20:
492
- this.popState(), this.begin("callback_args");
493
- break;
494
- case 21:
495
- return 69;
496
- case 22:
497
- this.popState();
498
- break;
499
- case 23:
500
- return 70;
501
- case 24:
502
- this.popState();
503
- break;
504
- case 25:
505
- return "STR";
506
- case 26:
507
- this.begin("string");
508
- break;
509
- case 27:
510
- return this.begin("namespace"), 39;
511
- case 28:
512
- return this.popState(), 8;
513
- case 29:
514
- break;
515
- case 30:
516
- return this.begin("namespace-body"), 36;
517
- case 31:
518
- return this.popState(), 38;
519
- case 32:
520
- return "EOF_IN_STRUCT";
521
- case 33:
522
- return 8;
523
- case 34:
524
- break;
525
- case 35:
526
- return "EDGE_STATE";
527
- case 36:
528
- return this.begin("class"), 43;
529
- case 37:
530
- return this.popState(), 8;
531
- case 38:
532
- break;
533
- case 39:
534
- return this.popState(), this.popState(), 38;
535
- case 40:
536
- return this.begin("class-body"), 36;
537
- case 41:
538
- return this.popState(), 38;
539
- case 42:
540
- return "EOF_IN_STRUCT";
541
- case 43:
542
- return "EDGE_STATE";
543
- case 44:
544
- return "OPEN_IN_STRUCT";
545
- case 45:
546
- break;
547
- case 46:
548
- return "MEMBER";
549
- case 47:
550
- return 72;
551
- case 48:
552
- return 65;
553
- case 49:
554
- return 66;
555
- case 50:
556
- return 68;
557
- case 51:
558
- return 49;
559
- case 52:
560
- return 51;
561
- case 53:
562
- return 44;
563
- case 54:
564
- return 45;
565
- case 55:
566
- return 71;
567
- case 56:
568
- this.popState();
569
- break;
570
- case 57:
571
- return "GENERICTYPE";
572
- case 58:
573
- this.begin("generic");
574
- break;
575
- case 59:
576
- this.popState();
577
- break;
578
- case 60:
579
- return "BQUOTE_STR";
580
- case 61:
581
- this.begin("bqstring");
582
- break;
583
- case 62:
584
- return 67;
585
- case 63:
586
- return 67;
587
- case 64:
588
- return 67;
589
- case 65:
590
- return 67;
591
- case 66:
592
- return 59;
593
- case 67:
594
- return 59;
595
- case 68:
596
- return 61;
597
- case 69:
598
- return 61;
599
- case 70:
600
- return 60;
601
- case 71:
602
- return 58;
603
- case 72:
604
- return 62;
605
- case 73:
606
- return 63;
607
- case 74:
608
- return 64;
609
- case 75:
610
- return 21;
611
- case 76:
612
- return 41;
613
- case 77:
614
- return 84;
615
- case 78:
616
- return "DOT";
617
- case 79:
618
- return "PLUS";
619
- case 80:
620
- return 81;
621
- case 81:
622
- return "EQUALS";
623
- case 82:
624
- return "EQUALS";
625
- case 83:
626
- return 88;
627
- case 84:
628
- return 12;
629
- case 85:
630
- return 14;
631
- case 86:
632
- return "PUNCTUATION";
633
- case 87:
634
- return 87;
635
- case 88:
636
- return 86;
637
- case 89:
638
- return 83;
639
- case 90:
640
- return 9;
641
- }
642
- },
643
- rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:classDiagram-v2\b)/, /^(?:classDiagram\b)/, /^(?:\[\*\])/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:["])/, /^(?:[^"]*)/, /^(?:["])/, /^(?:namespace\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:\[\*\])/, /^(?:class\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[}])/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\[\*\])/, /^(?:[{])/, /^(?:[\n])/, /^(?:[^{}\n]*)/, /^(?:cssClass\b)/, /^(?:callback\b)/, /^(?:link\b)/, /^(?:click\b)/, /^(?:note for\b)/, /^(?:note\b)/, /^(?:<<)/, /^(?:>>)/, /^(?:href\b)/, /^(?:[~])/, /^(?:[^~]*)/, /^(?:~)/, /^(?:[`])/, /^(?:[^`]+)/, /^(?:[`])/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:\s*<\|)/, /^(?:\s*\|>)/, /^(?:\s*>)/, /^(?:\s*<)/, /^(?:\s*\*)/, /^(?:\s*o\b)/, /^(?:\s*\(\))/, /^(?:--)/, /^(?:\.\.)/, /^(?::{1}[^:\n;]+)/, /^(?::{3})/, /^(?:-)/, /^(?:\.)/, /^(?:\+)/, /^(?:%)/, /^(?:=)/, /^(?:=)/, /^(?:\w+)/, /^(?:\[)/, /^(?:\])/, /^(?:[!"#$%&'*+,-.`?\\/])/, /^(?:[0-9]+)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\s)/, /^(?:$)/],
644
- conditions: { "namespace-body": { rules: [26, 31, 32, 33, 34, 35, 36, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, namespace: { rules: [26, 27, 28, 29, 30, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, "class-body": { rules: [26, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, class: { rules: [26, 37, 38, 39, 40, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, acc_descr_multiline: { rules: [11, 12, 26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, acc_descr: { rules: [9, 26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, acc_title: { rules: [7, 26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, callback_args: { rules: [22, 23, 26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, callback_name: { rules: [19, 20, 21, 26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, href: { rules: [26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, struct: { rules: [26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, generic: { rules: [26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, bqstring: { rules: [26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, string: { rules: [24, 25, 26, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 36, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], inclusive: !0 } }
645
- };
646
- return L;
647
- }();
648
- me.lexer = ze;
649
- function be() {
650
- this.yy = {};
651
- }
652
- return be.prototype = me, me.Parser = be, new be();
653
- }();
654
- De.parser = De;
655
- const Nt = De, Oe = ["#", "+", "~", "-", ""];
656
- class Re {
657
- constructor(n, r) {
658
- this.memberType = r, this.visibility = "", this.classifier = "";
659
- const h = tt(n, F());
660
- this.parseMember(h);
661
- }
662
- getDisplayDetails() {
663
- let n = this.visibility + ye(this.id);
664
- this.memberType === "method" && (n += `(${ye(this.parameters.trim())})`, this.returnType && (n += " : " + ye(this.returnType))), n = n.trim();
665
- const r = this.parseClassifier();
666
- return {
667
- displayText: n,
668
- cssStyle: r
669
- };
670
- }
671
- parseMember(n) {
672
- let r = "";
673
- if (this.memberType === "method") {
674
- const h = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/, l = n.match(h);
675
- if (l) {
676
- const A = l[1] ? l[1].trim() : "";
677
- if (Oe.includes(A) && (this.visibility = A), this.id = l[2].trim(), this.parameters = l[3] ? l[3].trim() : "", r = l[4] ? l[4].trim() : "", this.returnType = l[5] ? l[5].trim() : "", r === "") {
678
- const g = this.returnType.substring(this.returnType.length - 1);
679
- g.match(/[$*]/) && (r = g, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
680
- }
681
- }
682
- } else {
683
- const h = n.length, l = n.substring(0, 1), A = n.substring(h - 1);
684
- Oe.includes(l) && (this.visibility = l), A.match(/[*?]/) && (r = A), this.id = n.substring(
685
- this.visibility === "" ? 0 : 1,
686
- r === "" ? h : h - 1
687
- );
688
- }
689
- this.classifier = r;
690
- }
691
- parseClassifier() {
692
- switch (this.classifier) {
693
- case "*":
694
- return "font-style:italic;";
695
- case "$":
696
- return "text-decoration:underline;";
697
- default:
698
- return "";
699
- }
700
- }
701
- }
702
- const ie = "classId-";
703
- let _e = [], f = {}, te = [], we = 0, x = {}, Be = 0, z = [];
704
- const R = (e) => v.sanitizeText(e, F()), P = function(e) {
705
- const n = v.sanitizeText(e, F());
706
- let r = "", h = n;
707
- if (n.indexOf("~") > 0) {
708
- const l = n.split("~");
709
- h = R(l[0]), r = R(l[1]);
710
- }
711
- return { className: h, type: r };
712
- }, st = function(e, n) {
713
- const r = v.sanitizeText(e, F());
714
- n && (n = R(n));
715
- const { className: h } = P(r);
716
- f[h].label = n;
717
- }, se = function(e) {
718
- const n = v.sanitizeText(e, F()), { className: r, type: h } = P(n);
719
- if (Object.hasOwn(f, r))
720
- return;
721
- const l = v.sanitizeText(r, F());
722
- f[l] = {
723
- id: l,
724
- type: h,
725
- label: l,
726
- cssClasses: [],
727
- methods: [],
728
- members: [],
729
- annotations: [],
730
- domId: ie + l + "-" + we
731
- }, we++;
732
- }, Ve = function(e) {
733
- const n = v.sanitizeText(e, F());
734
- if (n in f)
735
- return f[n].domId;
736
- throw new Error("Class not found: " + n);
737
- }, it = function() {
738
- _e = [], f = {}, te = [], z = [], z.push(Me), x = {}, Be = 0, $e();
739
- }, nt = function(e) {
740
- return f[e];
741
- }, ut = function() {
742
- return f;
743
- }, rt = function() {
744
- return _e;
745
- }, at = function() {
746
- return te;
747
- }, lt = function(e) {
748
- et.debug("Adding relation: " + JSON.stringify(e)), se(e.id1), se(e.id2), e.id1 = P(e.id1).className, e.id2 = P(e.id2).className, e.relationTitle1 = v.sanitizeText(e.relationTitle1.trim(), F()), e.relationTitle2 = v.sanitizeText(e.relationTitle2.trim(), F()), _e.push(e);
749
- }, ct = function(e, n) {
750
- const r = P(e).className;
751
- f[r].annotations.push(n);
752
- }, Ge = function(e, n) {
753
- se(e);
754
- const r = P(e).className, h = f[r];
755
- if (typeof n == "string") {
756
- const l = n.trim();
757
- l.startsWith("<<") && l.endsWith(">>") ? h.annotations.push(R(l.substring(2, l.length - 2))) : l.indexOf(")") > 0 ? h.methods.push(new Re(l, "method")) : l && h.members.push(new Re(l, "attribute"));
758
- }
759
- }, ot = function(e, n) {
760
- Array.isArray(n) && (n.reverse(), n.forEach((r) => Ge(e, r)));
761
- }, ht = function(e, n) {
762
- const r = {
763
- id: `note${te.length}`,
764
- class: n,
765
- text: e
766
- };
767
- te.push(r);
768
- }, At = function(e) {
769
- return e.startsWith(":") && (e = e.substring(1)), R(e.trim());
770
- }, Se = function(e, n) {
771
- e.split(",").forEach(function(r) {
772
- let h = r;
773
- r[0].match(/\d/) && (h = ie + h), f[h] !== void 0 && f[h].cssClasses.push(n);
774
- });
775
- }, pt = function(e, n) {
776
- e.split(",").forEach(function(r) {
777
- n !== void 0 && (f[r].tooltip = R(n));
778
- });
779
- }, ft = function(e, n) {
780
- return n ? x[n].classes[e].tooltip : f[e].tooltip;
781
- }, dt = function(e, n, r) {
782
- const h = F();
783
- e.split(",").forEach(function(l) {
784
- let A = l;
785
- l[0].match(/\d/) && (A = ie + A), f[A] !== void 0 && (f[A].link = Pe.formatUrl(n, h), h.securityLevel === "sandbox" ? f[A].linkTarget = "_top" : typeof r == "string" ? f[A].linkTarget = R(r) : f[A].linkTarget = "_blank");
786
- }), Se(e, "clickable");
787
- }, Et = function(e, n, r) {
788
- e.split(",").forEach(function(h) {
789
- Ct(h, n, r), f[h].haveCallback = !0;
790
- }), Se(e, "clickable");
791
- }, Ct = function(e, n, r) {
792
- const h = v.sanitizeText(e, F());
793
- if (F().securityLevel !== "loose" || n === void 0)
794
- return;
795
- const A = h;
796
- if (f[A] !== void 0) {
797
- const g = Ve(A);
798
- let D = [];
799
- if (typeof r == "string") {
800
- D = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
801
- for (let B = 0; B < D.length; B++) {
802
- let _ = D[B].trim();
803
- _.charAt(0) === '"' && _.charAt(_.length - 1) === '"' && (_ = _.substr(1, _.length - 2)), D[B] = _;
804
- }
805
- }
806
- D.length === 0 && D.push(g), z.push(function() {
807
- const B = document.querySelector(`[id="${g}"]`);
808
- B !== null && B.addEventListener(
809
- "click",
810
- function() {
811
- Pe.runFunc(n, ...D);
812
- },
813
- !1
814
- );
815
- });
816
- }
817
- }, mt = function(e) {
818
- z.forEach(function(n) {
819
- n(e);
820
- });
821
- }, bt = {
822
- LINE: 0,
823
- DOTTED_LINE: 1
824
- }, gt = {
825
- AGGREGATION: 0,
826
- EXTENSION: 1,
827
- COMPOSITION: 2,
828
- DEPENDENCY: 3,
829
- LOLLIPOP: 4
830
- }, Me = function(e) {
831
- let n = U(".mermaidTooltip");
832
- (n._groups || n)[0][0] === null && (n = U("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), U(e).select("svg").selectAll("g.node").on("mouseover", function() {
833
- const l = U(this);
834
- if (l.attr("title") === null)
835
- return;
836
- const g = this.getBoundingClientRect();
837
- n.transition().duration(200).style("opacity", ".9"), n.text(l.attr("title")).style("left", window.scrollX + g.left + (g.right - g.left) / 2 + "px").style("top", window.scrollY + g.top - 14 + document.body.scrollTop + "px"), n.html(n.html().replace(/&lt;br\/&gt;/g, "<br/>")), l.classed("hover", !0);
838
- }).on("mouseout", function() {
839
- n.transition().duration(500).style("opacity", 0), U(this).classed("hover", !1);
840
- });
841
- };
842
- z.push(Me);
843
- let Ue = "TB";
844
- const kt = () => Ue, Tt = (e) => {
845
- Ue = e;
846
- }, Ft = function(e) {
847
- x[e] === void 0 && (x[e] = {
848
- id: e,
849
- classes: {},
850
- children: {},
851
- domId: ie + e + "-" + Be
852
- }, Be++);
853
- }, yt = function(e) {
854
- return x[e];
855
- }, Dt = function() {
856
- return x;
857
- }, Bt = function(e, n) {
858
- x[e] !== void 0 && n.map((r) => {
859
- f[r].parent = e, x[e].classes[r] = f[r];
860
- });
861
- }, vt = {
862
- setAccTitle: Xe,
863
- getAccTitle: We,
864
- getAccDescription: qe,
865
- setAccDescription: He,
866
- getConfig: () => F().class,
867
- addClass: se,
868
- bindFunctions: mt,
869
- clear: it,
870
- getClass: nt,
871
- getClasses: ut,
872
- getNotes: at,
873
- addAnnotation: ct,
874
- addNote: ht,
875
- getRelations: rt,
876
- addRelation: lt,
877
- getDirection: kt,
878
- setDirection: Tt,
879
- addMember: Ge,
880
- addMembers: ot,
881
- cleanupLabel: At,
882
- lineType: bt,
883
- relationType: gt,
884
- setClickEvent: Et,
885
- setCssClass: Se,
886
- setLink: dt,
887
- getTooltip: ft,
888
- setTooltip: pt,
889
- lookUpDomId: Ve,
890
- setDiagramTitle: Je,
891
- getDiagramTitle: Ze,
892
- setClassLabel: st,
893
- addNamespace: Ft,
894
- addClassesToNamespace: Bt,
895
- getNamespace: yt,
896
- getNamespaces: Dt
897
- }, _t = (e) => `g.classGroup text {
898
- fill: ${e.nodeBorder || e.classText};
899
- stroke: none;
900
- font-family: ${e.fontFamily};
901
- font-size: 10px;
902
-
903
- .title {
904
- font-weight: bolder;
905
- }
906
-
907
- }
908
-
909
- .nodeLabel, .edgeLabel {
910
- color: ${e.classText};
911
- }
912
- .edgeLabel .label rect {
913
- fill: ${e.mainBkg};
914
- }
915
- .label text {
916
- fill: ${e.classText};
917
- }
918
- .edgeLabel .label span {
919
- background: ${e.mainBkg};
920
- }
921
-
922
- .classTitle {
923
- font-weight: bolder;
924
- }
925
- .node rect,
926
- .node circle,
927
- .node ellipse,
928
- .node polygon,
929
- .node path {
930
- fill: ${e.mainBkg};
931
- stroke: ${e.nodeBorder};
932
- stroke-width: 1px;
933
- }
934
-
935
-
936
- .divider {
937
- stroke: ${e.nodeBorder};
938
- stroke-width: 1;
939
- }
940
-
941
- g.clickable {
942
- cursor: pointer;
943
- }
944
-
945
- g.classGroup rect {
946
- fill: ${e.mainBkg};
947
- stroke: ${e.nodeBorder};
948
- }
949
-
950
- g.classGroup line {
951
- stroke: ${e.nodeBorder};
952
- stroke-width: 1;
953
- }
954
-
955
- .classLabel .box {
956
- stroke: none;
957
- stroke-width: 0;
958
- fill: ${e.mainBkg};
959
- opacity: 0.5;
960
- }
961
-
962
- .classLabel .label {
963
- fill: ${e.nodeBorder};
964
- font-size: 10px;
965
- }
966
-
967
- .relation {
968
- stroke: ${e.lineColor};
969
- stroke-width: 1;
970
- fill: none;
971
- }
972
-
973
- .dashed-line{
974
- stroke-dasharray: 3;
975
- }
976
-
977
- .dotted-line{
978
- stroke-dasharray: 1 2;
979
- }
980
-
981
- #compositionStart, .composition {
982
- fill: ${e.lineColor} !important;
983
- stroke: ${e.lineColor} !important;
984
- stroke-width: 1;
985
- }
986
-
987
- #compositionEnd, .composition {
988
- fill: ${e.lineColor} !important;
989
- stroke: ${e.lineColor} !important;
990
- stroke-width: 1;
991
- }
992
-
993
- #dependencyStart, .dependency {
994
- fill: ${e.lineColor} !important;
995
- stroke: ${e.lineColor} !important;
996
- stroke-width: 1;
997
- }
998
-
999
- #dependencyStart, .dependency {
1000
- fill: ${e.lineColor} !important;
1001
- stroke: ${e.lineColor} !important;
1002
- stroke-width: 1;
1003
- }
1004
-
1005
- #extensionStart, .extension {
1006
- fill: transparent !important;
1007
- stroke: ${e.lineColor} !important;
1008
- stroke-width: 1;
1009
- }
1010
-
1011
- #extensionEnd, .extension {
1012
- fill: transparent !important;
1013
- stroke: ${e.lineColor} !important;
1014
- stroke-width: 1;
1015
- }
1016
-
1017
- #aggregationStart, .aggregation {
1018
- fill: transparent !important;
1019
- stroke: ${e.lineColor} !important;
1020
- stroke-width: 1;
1021
- }
1022
-
1023
- #aggregationEnd, .aggregation {
1024
- fill: transparent !important;
1025
- stroke: ${e.lineColor} !important;
1026
- stroke-width: 1;
1027
- }
1028
-
1029
- #lollipopStart, .lollipop {
1030
- fill: ${e.mainBkg} !important;
1031
- stroke: ${e.lineColor} !important;
1032
- stroke-width: 1;
1033
- }
1034
-
1035
- #lollipopEnd, .lollipop {
1036
- fill: ${e.mainBkg} !important;
1037
- stroke: ${e.lineColor} !important;
1038
- stroke-width: 1;
1039
- }
1040
-
1041
- .edgeTerminals {
1042
- font-size: 11px;
1043
- }
1044
-
1045
- .classTitleText {
1046
- text-anchor: middle;
1047
- font-size: 18px;
1048
- fill: ${e.textColor};
1049
- }
1050
- `, Lt = _t;
1051
- export {
1052
- vt as d,
1053
- Nt as p,
1054
- Lt as s
1055
- };