@peasant-labs/fairtrade 0.0.50 → 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 (126) hide show
  1. package/dist/lib/{adapter-CVKibszh.js → adapter-VlAohr64.js} +107 -102
  2. package/dist/lib/commons.js +544 -522
  3. package/dist/lib/components.css +1 -1
  4. package/dist/lib/share.js +3 -3
  5. package/dist/lib/tokens.css +2 -2
  6. package/dist/lib/tokens.json +2 -2
  7. package/dist/lib/types/AppSidebar.d.ts +9 -11
  8. package/dist/lib/types/Avatar.d.ts +2 -2
  9. package/dist/lib/types/Dialog.d.ts +1 -1
  10. package/dist/lib/types/Input.d.ts +3 -3
  11. package/dist/lib/types/OverflowList.d.ts +1 -1
  12. package/dist/lib/types/RepoPicker.d.ts +3 -1
  13. package/dist/lib/types/Switch.d.ts +1 -1
  14. package/dist/lib/types/commons/Explore.d.ts +1 -1
  15. package/dist/lib/types/commons/types.d.ts +12 -0
  16. package/dist/lib/types/transcript/IntegrityBadge.d.ts +21 -0
  17. package/dist/lib/types/transcript/TranscriptViewer.d.ts +1 -1
  18. package/dist/lib/types/transcript/TurnCard.d.ts +7 -1
  19. package/dist/lib/types/transcript/WorkGroup.d.ts +3 -1
  20. package/dist/lib/types/transcript/integrity.d.ts +36 -0
  21. package/dist/lib/types/transcript/state-capabilities.d.ts +12 -0
  22. package/dist/lib/types/transcript/view-model.d.ts +4 -0
  23. package/dist/lib/types/transcript/work-summary.d.ts +9 -0
  24. package/dist/lib/types/ui/transcript/view-model.d.ts +4 -0
  25. package/dist/lib/{ui-BOGaFxV-.js → ui-BVkbnMN5.js} +2573 -2341
  26. package/dist/lib/ui.js +2 -2
  27. package/package.json +8 -4
  28. package/dist/lib/abnfDiagram-WEYOIA3C-D4LMNFIJ.js +0 -89
  29. package/dist/lib/arc-1xTxsoRi.js +0 -80
  30. package/dist/lib/architecture-WOLXFQ4H-c6RsZuzu.js +0 -3
  31. package/dist/lib/architectureDiagram-ZHVYKT53-DTINqD5R.js +0 -4145
  32. package/dist/lib/array-CApNbSU9.js +0 -6
  33. package/dist/lib/blockDiagram-RJAE7QA3-CUYHoR3g.js +0 -1946
  34. package/dist/lib/c4Diagram-XDPPPE54-Cdx6_DsI.js +0 -2990
  35. package/dist/lib/channel-DagAO2vE.js +0 -5
  36. package/dist/lib/chunk-2E7WHVMD-BzhgXW3b.js +0 -490
  37. package/dist/lib/chunk-2Q5K7J3B-DWNwIK5Y.js +0 -15
  38. package/dist/lib/chunk-4EMNKR2T-DhFrQz9k.js +0 -236
  39. package/dist/lib/chunk-55XCU76K-CI0GXDkJ.js +0 -61
  40. package/dist/lib/chunk-5VM5RSS4-BAQ-46g4.js +0 -5
  41. package/dist/lib/chunk-7S6XSTFO-CMt_p-O6.js +0 -1373
  42. package/dist/lib/chunk-AQDTSKZB-DrZccIQa.js +0 -1847
  43. package/dist/lib/chunk-DSNLSHJZ-CpA9d2CJ.js +0 -4044
  44. package/dist/lib/chunk-DUW6YSOI-C-tN4Kiv.js +0 -10
  45. package/dist/lib/chunk-EJLWFMJV-B30MNYvY.js +0 -75
  46. package/dist/lib/chunk-HAGFOTED-DMU2JNZM.js +0 -4487
  47. package/dist/lib/chunk-HNE4Q36P-BIA0n2gA.js +0 -363
  48. package/dist/lib/chunk-J5ZVWO5B-CA_-jk8G.js +0 -12
  49. package/dist/lib/chunk-JWPE2WC7-KRpHbrIX.js +0 -8
  50. package/dist/lib/chunk-LNGE3PJU-CMGaAEAh.js +0 -1513
  51. package/dist/lib/chunk-NGNAAXSQ-D7Dvct7J.js +0 -19774
  52. package/dist/lib/chunk-NQOKRVIF-MK9F46y3.js +0 -4258
  53. package/dist/lib/chunk-OYAV6JZA-B1yICcbU.js +0 -10
  54. package/dist/lib/chunk-UHW7PFBP-CLrOaA0y.js +0 -67
  55. package/dist/lib/chunk-VQ5W62QI-_ZR3gKe4.js +0 -26
  56. package/dist/lib/chunk-WQQL4CDK-DFtyhYZq.js +0 -693
  57. package/dist/lib/chunk-XXDRQBXY-uzyNBbgx.js +0 -9
  58. package/dist/lib/chunk-Y2CYZVJY-BYzrzvCI.js +0 -12
  59. package/dist/lib/chunk-YZO67HFG-D1jKt78p.js +0 -275
  60. package/dist/lib/chunk-ZAUX2LTX-7XO0Yj1z.js +0 -37
  61. package/dist/lib/chunk-ZCHMQSOR-CxoKltfF.js +0 -349
  62. package/dist/lib/classDiagram-v2-4MYWR3UA-BPvwhZqw.js +0 -3397
  63. package/dist/lib/cose-bilkent-JH36ORCC-Oj79uOIQ.js +0 -2250
  64. package/dist/lib/cynefin-EF2NZ3EQ-COX3NRum.js +0 -3
  65. package/dist/lib/cynefinDiagram-WF24UDRP-UzTptNAX.js +0 -349
  66. package/dist/lib/cytoscape.esm-0ojxgO9x.js +0 -18161
  67. package/dist/lib/dagre-NK4GIZVX-DWZr-NGm.js +0 -2356
  68. package/dist/lib/defaultLocale-BbgDuMnp.js +0 -201
  69. package/dist/lib/diagram-CBK3MWTC-CsyKuv-w.js +0 -525
  70. package/dist/lib/diagram-I5XIIV2D-DWY2JSPC.js +0 -134
  71. package/dist/lib/diagram-ODIL2UCW-DUptj0JZ.js +0 -301
  72. package/dist/lib/diagram-PFBEJUXE-N5XnIBqM.js +0 -447
  73. package/dist/lib/diagram-RJA3I4VV-B9XgohYo.js +0 -214
  74. package/dist/lib/diagram-TYUNFSNR-XnsJIeAd.js +0 -5084
  75. package/dist/lib/dist-AMlsjiDX.js +0 -59
  76. package/dist/lib/ebnfDiagram-V4P3TTPT-BssHqFox.js +0 -100
  77. package/dist/lib/elk-QONTBCTQ-DwmwqYgP.js +0 -47944
  78. package/dist/lib/erDiagram-KYQIGQAA-BQiXw1Tw.js +0 -1970
  79. package/dist/lib/eventmodeling-K75KTNOO-DDb--yMc.js +0 -3
  80. package/dist/lib/flowDiagram-IUGLLWBU-BEqqF1y2.js +0 -17
  81. package/dist/lib/ganttDiagram-R7GPNTJY-BWtGXxEF.js +0 -3094
  82. package/dist/lib/gitGraph-VSP46ZUC-BSwOaak_.js +0 -3
  83. package/dist/lib/gitGraphDiagram-PDYL7XHY-CHGNuGbk.js +0 -729
  84. package/dist/lib/graphlib-Dndp26xU.js +0 -1267
  85. package/dist/lib/info-OHQRW6UA-Dk06sZRe.js +0 -3
  86. package/dist/lib/infoDiagram-MVDRKAX5-Cdhxnjmi.js +0 -20
  87. package/dist/lib/init-Bwwdo3M6.js +0 -15
  88. package/dist/lib/ishikawaDiagram-HPEHV2GE-Dzhti-GJ.js +0 -719
  89. package/dist/lib/journeyDiagram-BOSHW7O7-C3_vsSjw.js +0 -884
  90. package/dist/lib/kanban-definition-FNSA4HC5-XsfCEsjn.js +0 -976
  91. package/dist/lib/katex-Dw0PnoPU.js +0 -21850
  92. package/dist/lib/line-C9krU3Sv.js +0 -34
  93. package/dist/lib/linear-Cvilv3OA.js +0 -289
  94. package/dist/lib/mermaid-parser.core-I7qQ_fxz.js +0 -638
  95. package/dist/lib/mermaid.core-UNHMAbBP.js +0 -1126
  96. package/dist/lib/mindmap-definition-6OY57UG3-CAua-JvB.js +0 -1011
  97. package/dist/lib/ordinal-C55HfHHp.js +0 -65
  98. package/dist/lib/packet-JDAUHWVQ-DZ-MKx4I.js +0 -3
  99. package/dist/lib/path-DNvJyUE8.js +0 -85
  100. package/dist/lib/pegDiagram-ECIUJNBX-BCxa_IO0.js +0 -94
  101. package/dist/lib/pie-XZMESJXO-DpCa-Nnq.js +0 -3
  102. package/dist/lib/pieDiagram-GNMPY74T-CE_C3dCB.js +0 -205
  103. package/dist/lib/quadrantDiagram-D57K4MC3-CDgzdMoL.js +0 -2001
  104. package/dist/lib/radar-ABXABTNO-BOVK7L9p.js +0 -3
  105. package/dist/lib/railroad-I3PHUGI6-B6spKM0Z.js +0 -3
  106. package/dist/lib/railroad-abnf-LNEFI6M7-DEWqfByZ.js +0 -3
  107. package/dist/lib/railroad-ebnf-DWYD2UWJ-CWRLtxHB.js +0 -3
  108. package/dist/lib/railroad-peg-JR7BVNR7-C-3NHSsk.js +0 -3
  109. package/dist/lib/railroadDiagram-Y72NRBL7-a8YVk8LT.js +0 -76
  110. package/dist/lib/requirementDiagram-EQYSW5RA-B9HolqxU.js +0 -2228
  111. package/dist/lib/rough.esm-a8mysczE.js +0 -1352
  112. package/dist/lib/sankeyDiagram-SY24JHO5-CLFMtMJG.js +0 -970
  113. package/dist/lib/sequenceDiagram-BLEHNHQU-B5wfSV85.js +0 -4253
  114. package/dist/lib/sizeCapture-INFHLROL-BWGCc9aa.js +0 -46
  115. package/dist/lib/src-Dcy0zUZH.js +0 -2153
  116. package/dist/lib/stateDiagram-v2-A6IESKWZ-C92vye4N.js +0 -2143
  117. package/dist/lib/swimlanes-B3ENRKFQ-B6-i-tPc.js +0 -4764
  118. package/dist/lib/swimlanesDiagram-AYQRV4AK-CbkBeql-.js +0 -28
  119. package/dist/lib/timeline-definition-JXYKGLGB-D2Ip4r72.js +0 -1073
  120. package/dist/lib/treeView-D4JQ5SDB-CFaKQ_2T.js +0 -3
  121. package/dist/lib/treemap-SAJKECNS-BQ6z7Z3g.js +0 -3
  122. package/dist/lib/usecaseDiagram-WPOLBNNX-BK1Anch1.js +0 -7190
  123. package/dist/lib/vennDiagram-Q3Y3IDCW-B6YTBqTS.js +0 -1880
  124. package/dist/lib/wardley-7MLQ67FV-DChYwu4i.js +0 -3
  125. package/dist/lib/wardleyDiagram-IVAIDKWA-D5I1qLUK.js +0 -645
  126. package/dist/lib/xychartDiagram-4URNHDU4-B6RXyhTO.js +0 -2218
@@ -1,236 +0,0 @@
1
- import { n as e } from "./chunk-Y2CYZVJY-BYzrzvCI.js";
2
- import { o as t } from "./chunk-WQQL4CDK-DFtyhYZq.js";
3
- //#region node_modules/.pnpm/mermaid@12.2.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4EMNKR2T.mjs
4
- var n = 5, r = 1e-5, i = 2, a = .6, o = 1e-6;
5
- function s(e) {
6
- let t = [];
7
- for (let n = 0; n < e.length - 1; n++) t.push({
8
- a: e[n],
9
- b: e[n + 1]
10
- });
11
- return t;
12
- }
13
- e(s, "buildSegmentList");
14
- function c(e, t, n, r) {
15
- let i = t.x - e.x, a = t.y - e.y, s = r.x - n.x, c = r.y - n.y, l = i * c - a * s;
16
- if (l === 0) return null;
17
- let u = n.x - e.x, d = n.y - e.y, f = (u * c - d * s) / l, p = (u * a - d * i) / l;
18
- return f <= o || f >= 1 - o || p <= o || p >= 1 - o ? null : {
19
- point: {
20
- x: e.x + f * i,
21
- y: e.y + f * a
22
- },
23
- tA: f,
24
- tB: p
25
- };
26
- }
27
- e(c, "segmentIntersection");
28
- function l(e) {
29
- return Math.abs(e.b.x - e.a.x) >= Math.abs(e.b.y - e.a.y);
30
- }
31
- e(l, "isHorizontalSeg");
32
- function u(e, t, r) {
33
- if (e.curve !== "rounded") return !1;
34
- let i = e.points, a = i[t], o = i[t + 1];
35
- if (!a || !o) return !1;
36
- let s = Math.hypot(o.x - a.x, o.y - a.y), c = r * s, l = t > 0 ? _(i[t - 1], a, o, n) : null;
37
- if (l && c < l.cutLen) return !0;
38
- let u = t + 2 < i.length ? _(a, o, i[t + 2], n) : null;
39
- return u !== null && s - c < u.cutLen;
40
- }
41
- e(u, "crossingSitsInRoundedCorner");
42
- function d(e) {
43
- let t = [];
44
- for (let n = 0; n < e.length; n++) {
45
- let r = e[n], i = s(r.points);
46
- for (let a = n + 1; a < e.length; a++) {
47
- let n = e[a], o = s(n.points);
48
- for (let [e, a] of i.entries()) for (let [i, s] of o.entries()) {
49
- let o = c(a.a, a.b, s.a, s.b);
50
- if (!o || u(r, e, o.tA) || u(n, i, o.tB)) continue;
51
- let d = l(a);
52
- d !== l(s) && d ? t.push({
53
- jumpEdgeId: r.id,
54
- otherEdgeId: n.id,
55
- segIndex: e,
56
- t: o.tA,
57
- point: o.point
58
- }) : t.push({
59
- jumpEdgeId: n.id,
60
- otherEdgeId: r.id,
61
- segIndex: i,
62
- t: o.tB,
63
- point: o.point
64
- });
65
- }
66
- }
67
- }
68
- return t;
69
- }
70
- e(d, "findEdgeIntersections");
71
- function f(e) {
72
- return `${Math.round(e * 1e3) / 1e3}`;
73
- }
74
- e(f, "fmt");
75
- function p(e) {
76
- return `${f(e.x)},${f(e.y)}`;
77
- }
78
- e(p, "pointToString");
79
- function m(e) {
80
- let t = e.b.x - e.a.x, n = e.b.y - e.a.y;
81
- return Math.abs(t) >= Math.abs(n) ? +(t >= 0) : +(n >= 0);
82
- }
83
- e(m, "getArcSweepFlag");
84
- function h(e, n) {
85
- if (e.length < 2) return e.map((e) => ({ ...e }));
86
- let r = e.map((e) => ({ ...e })), i = n.arrowTypeStart && t[n.arrowTypeStart];
87
- if (i) {
88
- let t = e[0], n = e[1], a = Math.atan2(n.y - t.y, n.x - t.x);
89
- r[0].x = t.x + i * Math.cos(a), r[0].y = t.y + i * Math.sin(a);
90
- }
91
- let a = n.arrowTypeEnd && t[n.arrowTypeEnd];
92
- if (a) {
93
- let t = e.length, n = e[t - 2], i = e[t - 1], o = Math.atan2(i.y - n.y, i.x - n.x);
94
- r[t - 1].x = i.x - a * Math.cos(o), r[t - 1].y = i.y - a * Math.sin(o);
95
- }
96
- return r;
97
- }
98
- e(h, "applyMarkerOffsets");
99
- function g(e, t, n, r, i) {
100
- let a = e.point.x, o = e.point.y, s = {
101
- x: a - t * e.r,
102
- y: o - n * e.r
103
- }, c = {
104
- x: a + t * e.r,
105
- y: o + n * e.r
106
- }, l = [`L${p(s)}`];
107
- return i === "arc" ? l.push(`A${f(e.r)},${f(e.r)} 0 0 ${r} ${p(c)}`) : l.push(`M${p(c)}`), l;
108
- }
109
- e(g, "emitJump");
110
- function _(e, t, n, i) {
111
- let a = t.x - e.x, o = t.y - e.y, s = n.x - t.x, c = n.y - t.y, l = Math.hypot(a, o), u = Math.hypot(s, c);
112
- if (l < r || u < r) return null;
113
- let d = a / l, f = o / l, p = s / u, m = c / u, h = d * p + f * m, g = Math.acos(Math.max(-1, Math.min(1, h)));
114
- if (g < r || Math.abs(Math.PI - g) < r) return null;
115
- let _ = Math.min(i / Math.sin(g / 2), l / 2, u / 2);
116
- return {
117
- startX: t.x - d * _,
118
- startY: t.y - f * _,
119
- endX: t.x + p * _,
120
- endY: t.y + m * _,
121
- ctrlX: t.x,
122
- ctrlY: t.y,
123
- cutLen: _
124
- };
125
- }
126
- e(_, "computeRoundedCorner");
127
- function v(e, t, r) {
128
- let o = e.points;
129
- if (o.length < 2) return "";
130
- let c = h(o, e), l = e.curve === "rounded", u = s(c), d = /* @__PURE__ */ new Map();
131
- for (let e of t) {
132
- let t = u[e.segIndex];
133
- if (!t) continue;
134
- let n = Math.hypot(t.b.x - t.a.x, t.b.y - t.a.y), i = d.get(e.segIndex) ?? [];
135
- i.push({
136
- t: e.t,
137
- point: e.point,
138
- d: e.t * n,
139
- r: r.jumpRadius
140
- }), d.set(e.segIndex, i);
141
- }
142
- let v = [`M${p(c[0])}`];
143
- for (let e = 0; e < u.length; e++) {
144
- let t = u[e], o = Math.hypot(t.b.x - t.a.x, t.b.y - t.a.y), s = o === 0 ? 0 : (t.b.x - t.a.x) / o, h = o === 0 ? 0 : (t.b.y - t.a.y) / o, y = m(t), b = 0;
145
- if (l && e > 0) {
146
- let t = _(c[e - 1], c[e], c[e + 1] ?? c[e], n);
147
- t && (b = t.cutLen);
148
- }
149
- let x = o, S = null;
150
- l && e < u.length - 1 && (S = _(c[e], c[e + 1], c[e + 2] ?? c[e + 1], n), S && (x = o - S.cutLen));
151
- let C = r.jumpRadius * a, w = [...d.get(e) ?? []].sort((e, t) => e.t - t.t).filter((e) => {
152
- let t = Math.min(e.d - b, x - e.d) - i;
153
- return e.r = Math.min(e.r, t), e.r >= C;
154
- });
155
- for (let e = 0; e < w.length - 1; e++) {
156
- let t = w[e + 1].d - w[e].d;
157
- if (w[e].r + w[e + 1].r > t) {
158
- let n = t / 2;
159
- w[e].r = Math.min(w[e].r, n), w[e + 1].r = Math.min(w[e + 1].r, n);
160
- }
161
- }
162
- for (let e of w) e.r < C || v.push(...g(e, s, h, y, r.jumpStyle));
163
- l && S ? (v.push(`L${f(S.startX)},${f(S.startY)}`), v.push(`Q${f(S.ctrlX)},${f(S.ctrlY)} ${f(S.endX)},${f(S.endY)}`)) : v.push(`L${p(t.b)}`);
164
- }
165
- return v.join(" ");
166
- }
167
- e(v, "rewriteEdgePath");
168
- function y(e) {
169
- return /^[\d\s+,.LMelm-]*$/.test(e);
170
- }
171
- e(y, "isStraightPath");
172
- function b(e) {
173
- return e ? e === "linear" || e === "rounded" || e === "step" || e === "stepBefore" || e === "stepAfter" : !0;
174
- }
175
- e(b, "curveSupportsLineHops");
176
- function x(e) {
177
- if (!e) return null;
178
- try {
179
- let t = typeof atob == "function" ? atob(e) : Buffer.from(e, "base64").toString(), n = JSON.parse(t);
180
- if (!Array.isArray(n)) return null;
181
- let r = [];
182
- for (let e of n) e && typeof e.x == "number" && typeof e.y == "number" && r.push({
183
- x: e.x,
184
- y: e.y
185
- });
186
- return r.length >= 2 ? r : null;
187
- } catch {
188
- return null;
189
- }
190
- }
191
- e(x, "decodeDataPoints");
192
- function S(e, t, n) {
193
- if (!n.enabled) return;
194
- let r = e.node();
195
- if (!r) return;
196
- let i = /* @__PURE__ */ new Map();
197
- for (let e of t) i.set(e.id, e);
198
- let a = /* @__PURE__ */ new Map();
199
- for (let e of r.querySelectorAll("path[data-id]")) {
200
- let t = e.getAttribute("data-id");
201
- t !== null && !a.has(t) && a.set(t, e);
202
- }
203
- let o = [];
204
- for (let e of t) {
205
- let t = a.get(e.id);
206
- if (!t) continue;
207
- let n = x(t.getAttribute("data-points")) ?? e.points;
208
- o.push({
209
- ...e,
210
- points: n
211
- });
212
- }
213
- let s = d(o);
214
- if (s.length === 0) return;
215
- let c = /* @__PURE__ */ new Map();
216
- for (let e of s) {
217
- let t = c.get(e.jumpEdgeId) ?? [];
218
- t.push(e), c.set(e.jumpEdgeId, t);
219
- }
220
- for (let e of o) {
221
- let t = c.get(e.id);
222
- if (!t || t.length === 0) continue;
223
- let r = i.get(e.id)?.curve;
224
- if (r !== void 0 && !b(r)) continue;
225
- let o = a.get(e.id);
226
- if (!o || r === void 0 && !y(o.getAttribute("d") ?? "")) continue;
227
- let s = o.getAttribute("style") ?? "", l = /stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(s), u = l ? Number.parseFloat(l[1]) : null, d = l ? Number.parseFloat(l[2]) : null, f = v(e, t, n);
228
- if (o.setAttribute("d", f), u !== null && d !== null && typeof o.getTotalLength == "function") {
229
- let e = o.getTotalLength(), t = `0 ${u} ${Math.max(0, e - u - d)} ${d}`, n = s.replace(/stroke-dasharray\s*:[^;]*;?/g, `stroke-dasharray: ${t};`).replace(/;\s*;+/g, ";");
230
- o.setAttribute("style", n);
231
- }
232
- }
233
- }
234
- e(S, "applyLineJumpsToSvg");
235
- //#endregion
236
- export { S as t };
@@ -1,61 +0,0 @@
1
- import { p as e } from "./src-Dcy0zUZH.js";
2
- import { n as t } from "./chunk-Y2CYZVJY-BYzrzvCI.js";
3
- import { A as n } from "./chunk-DSNLSHJZ-CpA9d2CJ.js";
4
- import { t as r } from "./dist-AMlsjiDX.js";
5
- //#region node_modules/.pnpm/mermaid@12.2.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55XCU76K.mjs
6
- var i = r(), a = /* @__PURE__ */ t((e, t) => {
7
- let n = e.append("rect");
8
- if (n.attr("x", t.x), n.attr("y", t.y), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("width", t.width), n.attr("height", t.height), t.name && n.attr("name", t.name), t.rx && n.attr("rx", t.rx), t.ry && n.attr("ry", t.ry), t.attrs !== void 0) for (let e in t.attrs) n.attr(e, t.attrs[e]);
9
- return t.class && n.attr("class", t.class), n;
10
- }, "drawRect"), o = /* @__PURE__ */ t((e, t) => {
11
- a(e, {
12
- x: t.startx,
13
- y: t.starty,
14
- width: t.stopx - t.startx,
15
- height: t.stopy - t.starty,
16
- fill: t.fill,
17
- stroke: t.stroke,
18
- class: "rect"
19
- }).lower();
20
- }, "drawBackgroundRect"), s = /* @__PURE__ */ t((e, t) => {
21
- let r = t.text.replace(n, " "), i = e.append("text");
22
- i.attr("x", t.x), i.attr("y", t.y), i.attr("class", "legend"), i.style("text-anchor", t.anchor), t.class && i.attr("class", t.class);
23
- let a = i.append("tspan");
24
- return a.attr("x", t.x + t.textMargin * 2), a.text(r), i;
25
- }, "drawText"), c = /* @__PURE__ */ t((e, t, n, r) => {
26
- let a = e.append("image");
27
- a.attr("x", t), a.attr("y", n);
28
- let o = (0, i.sanitizeUrl)(r);
29
- a.attr("xlink:href", o);
30
- }, "drawImage"), l = /* @__PURE__ */ t((e, t, n, r) => {
31
- let a = e.append("use");
32
- a.attr("x", t), a.attr("y", n);
33
- let o = (0, i.sanitizeUrl)(r);
34
- a.attr("xlink:href", `#${o}`);
35
- }, "drawEmbeddedImage"), u = /* @__PURE__ */ t(() => ({
36
- x: 0,
37
- y: 0,
38
- width: 100,
39
- height: 100,
40
- fill: "#EDF2AE",
41
- stroke: "#666",
42
- anchor: "start",
43
- rx: 0,
44
- ry: 0
45
- }), "getNoteRect"), d = /* @__PURE__ */ t(() => ({
46
- x: 0,
47
- y: 0,
48
- width: 100,
49
- height: 100,
50
- "text-anchor": "start",
51
- style: "#666",
52
- textMargin: 0,
53
- rx: 0,
54
- ry: 0,
55
- tspan: !0
56
- }), "getTextObj"), f = /* @__PURE__ */ t(() => {
57
- let t = e(".mermaidTooltip");
58
- return t.empty() && (t = e("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0).style("position", "absolute").style("text-align", "center").style("max-width", "200px").style("padding", "2px").style("font-size", "12px").style("background", "#ffffde").style("border", "1px solid #333").style("border-radius", "2px").style("pointer-events", "none").style("z-index", "100")), t;
59
- }, "createTooltip");
60
- //#endregion
61
- export { a, d as c, c as i, o as n, s as o, l as r, u as s, f as t };
@@ -1,5 +0,0 @@
1
- import { n as e } from "./chunk-Y2CYZVJY-BYzrzvCI.js";
2
- //#region node_modules/.pnpm/mermaid@12.2.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5VM5RSS4.mjs
3
- var t = /* @__PURE__ */ e(() => "\n /* Font Awesome icon styling - consolidated */\n .label-icon {\n display: inline-block;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n }\n \n .node .label-icon path {\n fill: currentColor;\n stroke: revert;\n stroke-width: revert;\n }\n", "getIconStyles");
4
- //#endregion
5
- export { t };