react-docs-ui 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DocsApp-B-VaP4ms.js → DocsApp-CCFHuucK.js} +138 -124
- package/dist/{MdxContent-CZLqZlNp.js → MdxContent-CJydH4kW.js} +1 -1
- package/dist/{MdxContent.lazy-i9phqEH3.js → MdxContent.lazy-ChT4eAlU.js} +1 -1
- package/dist/{SearchDialog-DWVre6R9.js → SearchDialog-Dh1RvEgs.js} +87 -85
- package/dist/{SearchRuntime-D0rSMKV3.js → SearchRuntime-wdAGDBv4.js} +5 -4
- package/dist/{architectureDiagram-2XIMDMQ5-DmhcSwl7.js → architectureDiagram-2XIMDMQ5-D5B3Bc8w.js} +1 -1
- package/dist/{chunk-GLR3WWYH-ShSppUzV.js → chunk-GLR3WWYH-C7t8eN-i.js} +1 -1
- package/dist/{chunk-NQ4KR5QH-BWRGvKed.js → chunk-NQ4KR5QH-ygKrPhgw.js} +1 -1
- package/dist/{chunk-WL4C6EOR-DLbU3P3W.js → chunk-WL4C6EOR-BX4P121X.js} +1 -1
- package/dist/{classDiagram-VBA2DB6C-D4y64v83.js → classDiagram-VBA2DB6C-CWWKW2ZN.js} +2 -2
- package/dist/{classDiagram-v2-RAHNMMFH-DXkt0Wd4.js → classDiagram-v2-RAHNMMFH-9SKKaVzh.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-BX63fiTJ.js → cose-bilkent-S5V4N54A-DCXUWrka.js} +1 -1
- package/dist/docs-app.es.js +1 -1
- package/dist/{erDiagram-INFDFZHY-DjNq2UqZ.js → erDiagram-INFDFZHY-DdivnAXH.js} +1 -1
- package/dist/{flowDiagram-PKNHOUZH-AUeVhXRc.js → flowDiagram-PKNHOUZH-CgCGjn11.js} +1 -1
- package/dist/{mdx-components-m1cGPhc8.js → mdx-components-BLq-Umts.js} +1 -1
- package/dist/{mermaid.core-CtkJeRVj.js → mermaid.core-Dg_svxvF.js} +12 -12
- package/dist/{mindmap-definition-YRQLILUH-Cnl-qPDR.js → mindmap-definition-YRQLILUH-3st_5tCe.js} +1 -1
- package/dist/react-docs-ui.es.js +4 -4
- package/dist/{requirementDiagram-Z7DCOOCP-Bx6NAgqy.js → requirementDiagram-Z7DCOOCP-ClKKAQ0C.js} +1 -1
- package/dist/{stateDiagram-RAJIS63D-DFmbSHPX.js → stateDiagram-RAJIS63D-C8Ab__vp.js} +2 -2
- package/dist/{stateDiagram-v2-FVOUBMTO-TjYtTjLB.js → stateDiagram-v2-FVOUBMTO-BhQBkYI5.js} +2 -2
- package/dist/types/components/DocsLayout.d.ts.map +1 -1
- package/dist/types/components/ExportToolbar.d.ts +8 -1
- package/dist/types/components/ExportToolbar.d.ts.map +1 -1
- package/dist/types/components/HeaderNav.d.ts.map +1 -1
- package/dist/types/components/MobileSidebar.d.ts +2 -7
- package/dist/types/components/MobileSidebar.d.ts.map +1 -1
- package/dist/types/components/SearchLauncher.d.ts +2 -1
- package/dist/types/components/SearchLauncher.d.ts.map +1 -1
- package/dist/types/components/search/SearchProvider.d.ts +2 -1
- package/dist/types/components/search/SearchProvider.d.ts.map +1 -1
- package/dist/types/components/search/SearchRuntime.d.ts +2 -1
- package/dist/types/components/search/SearchRuntime.d.ts.map +1 -1
- package/dist/types/hooks/useScrollPosition.d.ts.map +1 -1
- package/dist/types/lib/config.d.ts +1 -0
- package/dist/types/lib/config.d.ts.map +1 -1
- package/dist/types/lib/search/runtime/search-engine.d.ts.map +1 -1
- package/dist/types/lib/search/runtime/types.d.ts +1 -0
- package/dist/types/lib/search/runtime/types.d.ts.map +1 -1
- package/package.json +143 -136
- package/scripts/cli.mjs +18 -0
- package/scripts/generate-changelog-index.mjs +89 -0
- package/scripts/generate-doc-git-meta.mjs +63 -0
- package/scripts/generate-llms-files.mjs +34 -0
- package/scripts/generate-search-index.mjs +236 -0
- package/scripts/generate-shiki-bundle.mjs +80 -0
|
@@ -6,7 +6,7 @@ import { useNavigate as g } from "react-router-dom";
|
|
|
6
6
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
7
7
|
import y from "flexsearch";
|
|
8
8
|
//#region src/lib/search/runtime/search-engine.ts
|
|
9
|
-
var b = 20, x = class {
|
|
9
|
+
var b = 20, x = 150, S = class {
|
|
10
10
|
index;
|
|
11
11
|
sections = /* @__PURE__ */ new Map();
|
|
12
12
|
initialized = !1;
|
|
@@ -31,10 +31,10 @@ var b = 20, x = class {
|
|
|
31
31
|
}
|
|
32
32
|
search(e) {
|
|
33
33
|
if (!this.initialized) return [];
|
|
34
|
-
let { query: t, version: n, limit: r = b } = e,
|
|
35
|
-
if (!
|
|
36
|
-
let
|
|
37
|
-
return this.index.search(
|
|
34
|
+
let { query: t, version: n, limit: r = b, snippetLength: i = x } = e, a = t.toLowerCase().trim();
|
|
35
|
+
if (!a) return [];
|
|
36
|
+
let o = Math.max(r * 5, r);
|
|
37
|
+
return this.index.search(a, { limit: o }).map((e) => {
|
|
38
38
|
let t = this.sections.get(e);
|
|
39
39
|
if (!t) return null;
|
|
40
40
|
if (n) {
|
|
@@ -44,24 +44,24 @@ var b = 20, x = class {
|
|
|
44
44
|
id: t.id,
|
|
45
45
|
pageTitle: t.pageTitle,
|
|
46
46
|
sectionTitle: t.sectionTitle,
|
|
47
|
-
snippet: this.generateSnippet(t.content, i),
|
|
47
|
+
snippet: this.generateSnippet(t.content, a, i),
|
|
48
48
|
url: t.url,
|
|
49
49
|
score: 1
|
|
50
50
|
};
|
|
51
51
|
}).filter((e) => e !== null).slice(0, r);
|
|
52
52
|
}
|
|
53
|
-
generateSnippet(e, t) {
|
|
53
|
+
generateSnippet(e, t, n) {
|
|
54
54
|
if (!e) return "";
|
|
55
|
-
let
|
|
56
|
-
for (let e of
|
|
57
|
-
let t =
|
|
55
|
+
let r = e.toLowerCase(), i = t.split(/\s+/).filter(Boolean), a = 0;
|
|
56
|
+
for (let e of i) {
|
|
57
|
+
let t = r.indexOf(e);
|
|
58
58
|
if (t !== -1) {
|
|
59
|
-
|
|
59
|
+
a = t;
|
|
60
60
|
break;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
let
|
|
64
|
-
return
|
|
63
|
+
let o = Math.max(0, a - 30), s = Math.min(e.length, o + n), c = e.slice(o, s);
|
|
64
|
+
return o > 0 && (c = "..." + c), s < e.length && (c += "..."), c;
|
|
65
65
|
}
|
|
66
66
|
isInitialized() {
|
|
67
67
|
return this.initialized;
|
|
@@ -69,10 +69,10 @@ var b = 20, x = class {
|
|
|
69
69
|
getSectionCount() {
|
|
70
70
|
return this.sections.size;
|
|
71
71
|
}
|
|
72
|
-
},
|
|
72
|
+
}, C = new S();
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region src/lib/search/runtime/highlighter.ts
|
|
75
|
-
function
|
|
75
|
+
function w(e, t, n = "mark") {
|
|
76
76
|
if (!e || t.length === 0) return e;
|
|
77
77
|
let r = e.toLowerCase(), i = [];
|
|
78
78
|
for (let e of t) {
|
|
@@ -87,11 +87,11 @@ function C(e, t, n = "mark") {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
if (i.length === 0) return e;
|
|
90
|
-
let a =
|
|
90
|
+
let a = T(i), o = "", s = 0;
|
|
91
91
|
for (let t of a) o += e.slice(s, t.start), o += `<${n}>`, o += e.slice(t.start, t.end), o += `</${n}>`, s = t.end;
|
|
92
92
|
return o += e.slice(s), o;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function T(e) {
|
|
95
95
|
if (e.length === 0) return [];
|
|
96
96
|
let t = [...e].sort((e, t) => e.start - t.start), n = [t[0]];
|
|
97
97
|
for (let e = 1; e < t.length; e++) {
|
|
@@ -100,7 +100,7 @@ function w(e) {
|
|
|
100
100
|
}
|
|
101
101
|
return n;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function E(e, t, n = {}) {
|
|
104
104
|
let { maxLength: r = 120, contextBefore: i = 30, contextAfter: a = 80 } = n;
|
|
105
105
|
if (!e) return "";
|
|
106
106
|
if (t.length === 0) return e.slice(0, r) + (e.length > r ? "..." : "");
|
|
@@ -113,110 +113,112 @@ function T(e, t, n = {}) {
|
|
|
113
113
|
let l = Math.max(0, s - i), u = Math.min(e.length, s + c.length + a), d = e.slice(l, u);
|
|
114
114
|
return l > 0 && (d = "..." + d), u < e.length && (d += "..."), d;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
116
|
+
function D(e, t, n = {}) {
|
|
117
|
+
return w(E(e, t, n), t, n.tag || "mark");
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function O(e) {
|
|
120
120
|
return e.toLowerCase().split(/[\s\-_]+/).filter((e) => e.length > 0);
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region src/components/search/SearchProvider.tsx
|
|
124
|
-
var
|
|
125
|
-
function
|
|
126
|
-
let e = c(
|
|
124
|
+
var k = a(null);
|
|
125
|
+
function A() {
|
|
126
|
+
let e = c(k);
|
|
127
127
|
if (!e) throw Error("useSearch must be used within a SearchProvider");
|
|
128
128
|
return e;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
let [
|
|
132
|
-
l(() => (
|
|
133
|
-
|
|
130
|
+
function j({ children: e, lang: t = "zh-cn", version: n, enabled: r = !0, maxResults: i = 20, snippetLength: a, enableHotkeys: o = !0 }) {
|
|
131
|
+
let [c, f] = d(!1), [p, m] = d(!1), [h, g] = d(null), [v, y] = d([]), [b, x] = d(""), [C, w] = d(!1), T = u(null), E = u(null), D = u(null), O = u(!1);
|
|
132
|
+
l(() => (T.current = new S(), () => {
|
|
133
|
+
T.current &&= (T.current.clear(), null);
|
|
134
134
|
}), []), l(() => {
|
|
135
|
-
|
|
135
|
+
D.current && D.current !== t && (f(!1), D.current = null, y([]), x(""), T.current && T.current.clear());
|
|
136
136
|
}, [t]), l(() => {
|
|
137
|
-
|
|
137
|
+
y([]);
|
|
138
138
|
}, [n]);
|
|
139
|
-
let
|
|
140
|
-
if (!(
|
|
141
|
-
|
|
139
|
+
let A = s(async () => {
|
|
140
|
+
if (!(c && D.current === t || O.current || !r)) {
|
|
141
|
+
O.current = !0, m(!0), g(null);
|
|
142
142
|
try {
|
|
143
143
|
let e = await fetch(`/search-index-${t}.json`);
|
|
144
144
|
if (!e.ok) throw Error(`Failed to load search index: ${e.status}`);
|
|
145
145
|
let n = await e.json();
|
|
146
|
-
|
|
146
|
+
T.current && T.current.init(n), D.current = t, f(!0);
|
|
147
147
|
} catch (e) {
|
|
148
|
-
|
|
148
|
+
g(e instanceof Error ? e.message : "Failed to load search index");
|
|
149
149
|
} finally {
|
|
150
|
-
|
|
150
|
+
m(!1), O.current = !1;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
}, [
|
|
154
154
|
t,
|
|
155
|
-
|
|
155
|
+
c,
|
|
156
156
|
r
|
|
157
|
-
]),
|
|
158
|
-
if (!e.trim()) return
|
|
159
|
-
|
|
157
|
+
]), j = s(async (e) => {
|
|
158
|
+
if (!e.trim()) return y([]), [];
|
|
159
|
+
T.current?.isInitialized() || await A();
|
|
160
160
|
let r = {
|
|
161
161
|
query: e,
|
|
162
162
|
lang: t,
|
|
163
163
|
version: n,
|
|
164
|
-
limit: i
|
|
164
|
+
limit: i,
|
|
165
|
+
snippetLength: a
|
|
165
166
|
};
|
|
166
|
-
if (
|
|
167
|
-
let e =
|
|
168
|
-
return
|
|
167
|
+
if (T.current) {
|
|
168
|
+
let e = T.current.search(r);
|
|
169
|
+
return y(e), e;
|
|
169
170
|
}
|
|
170
171
|
return [];
|
|
171
172
|
}, [
|
|
172
173
|
t,
|
|
173
174
|
n,
|
|
174
|
-
|
|
175
|
-
i
|
|
175
|
+
A,
|
|
176
|
+
i,
|
|
177
|
+
a
|
|
176
178
|
]);
|
|
177
179
|
l(() => {
|
|
178
|
-
if (!
|
|
179
|
-
|
|
180
|
+
if (!b.trim()) {
|
|
181
|
+
y([]);
|
|
180
182
|
return;
|
|
181
183
|
}
|
|
182
|
-
return
|
|
183
|
-
|
|
184
|
+
return E.current && clearTimeout(E.current), E.current = setTimeout(() => {
|
|
185
|
+
j(b);
|
|
184
186
|
}, 150), () => {
|
|
185
|
-
|
|
187
|
+
E.current && clearTimeout(E.current);
|
|
186
188
|
};
|
|
187
|
-
}, [
|
|
188
|
-
|
|
189
|
+
}, [b, j]), l(() => {
|
|
190
|
+
C && !c && !O.current && A();
|
|
189
191
|
}, [
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
C,
|
|
193
|
+
c,
|
|
194
|
+
A
|
|
193
195
|
]), l(() => {
|
|
194
|
-
if (!
|
|
196
|
+
if (!o) return;
|
|
195
197
|
let e = (e) => {
|
|
196
|
-
(e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(),
|
|
198
|
+
(e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), w((e) => !e)), e.key === "Escape" && C && w(!1);
|
|
197
199
|
};
|
|
198
200
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
199
|
-
}, [
|
|
200
|
-
let
|
|
201
|
-
isLoaded:
|
|
202
|
-
isLoading:
|
|
203
|
-
error:
|
|
204
|
-
search:
|
|
205
|
-
results:
|
|
206
|
-
query:
|
|
207
|
-
setQuery:
|
|
208
|
-
open:
|
|
209
|
-
setOpen:
|
|
210
|
-
loadIndex:
|
|
201
|
+
}, [o, C]);
|
|
202
|
+
let M = {
|
|
203
|
+
isLoaded: c,
|
|
204
|
+
isLoading: p,
|
|
205
|
+
error: h,
|
|
206
|
+
search: j,
|
|
207
|
+
results: v,
|
|
208
|
+
query: b,
|
|
209
|
+
setQuery: x,
|
|
210
|
+
open: C,
|
|
211
|
+
setOpen: w,
|
|
212
|
+
loadIndex: A
|
|
211
213
|
};
|
|
212
|
-
return /* @__PURE__ */ _(
|
|
213
|
-
value:
|
|
214
|
+
return /* @__PURE__ */ _(k.Provider, {
|
|
215
|
+
value: M,
|
|
214
216
|
children: e
|
|
215
217
|
});
|
|
216
218
|
}
|
|
217
219
|
//#endregion
|
|
218
220
|
//#region src/components/search/SearchInput.tsx
|
|
219
|
-
var
|
|
221
|
+
var M = o(({ value: t, onChange: n, onClear: r, className: i, placeholder: a, ...o }, s) => /* @__PURE__ */ v("div", {
|
|
220
222
|
className: "flex items-center gap-3 px-4 py-3 border-b",
|
|
221
223
|
children: [
|
|
222
224
|
/* @__PURE__ */ _(m, { className: "h-5 w-5 shrink-0 text-muted-foreground" }),
|
|
@@ -237,15 +239,15 @@ var j = o(({ value: t, onChange: n, onClear: r, className: i, placeholder: a, ..
|
|
|
237
239
|
})
|
|
238
240
|
]
|
|
239
241
|
}));
|
|
240
|
-
|
|
242
|
+
M.displayName = "SearchInput";
|
|
241
243
|
//#endregion
|
|
242
244
|
//#region src/components/search/SearchItem.tsx
|
|
243
|
-
var
|
|
244
|
-
let s =
|
|
245
|
+
var N = o(({ result: t, query: n, isSelected: r, onClick: i, onMouseEnter: a }, o) => {
|
|
246
|
+
let s = O(n), c = D(t.sectionTitle, s, {
|
|
245
247
|
maxLength: 100,
|
|
246
248
|
contextBefore: 0,
|
|
247
249
|
contextAfter: 0
|
|
248
|
-
}), l =
|
|
250
|
+
}), l = D(t.snippet, s, { maxLength: 150 });
|
|
249
251
|
return /* @__PURE__ */ v("div", {
|
|
250
252
|
ref: o,
|
|
251
253
|
onClick: i,
|
|
@@ -273,10 +275,10 @@ var M = o(({ result: t, query: n, isSelected: r, onClick: i, onMouseEnter: a },
|
|
|
273
275
|
})]
|
|
274
276
|
});
|
|
275
277
|
});
|
|
276
|
-
|
|
278
|
+
N.displayName = "SearchItem";
|
|
277
279
|
//#endregion
|
|
278
280
|
//#region src/components/search/SearchResults.tsx
|
|
279
|
-
function
|
|
281
|
+
function P({ results: e, query: t, onSelect: n }) {
|
|
280
282
|
let [r, i] = d(0), a = u(null), o = u(null);
|
|
281
283
|
l(() => {
|
|
282
284
|
i(0);
|
|
@@ -307,7 +309,7 @@ function N({ results: e, query: t, onSelect: n }) {
|
|
|
307
309
|
return /* @__PURE__ */ _("div", {
|
|
308
310
|
ref: a,
|
|
309
311
|
className: "py-2",
|
|
310
|
-
children: e.map((e, n) => /* @__PURE__ */ _(
|
|
312
|
+
children: e.map((e, n) => /* @__PURE__ */ _(N, {
|
|
311
313
|
result: e,
|
|
312
314
|
query: t,
|
|
313
315
|
isSelected: n === r,
|
|
@@ -319,8 +321,8 @@ function N({ results: e, query: t, onSelect: n }) {
|
|
|
319
321
|
}
|
|
320
322
|
//#endregion
|
|
321
323
|
//#region src/components/search/SearchDialog.tsx
|
|
322
|
-
function
|
|
323
|
-
let { open: a, setOpen: o, query: s, setQuery: c, results: d, isLoading: f, error: m, isLoaded: h } =
|
|
324
|
+
function F({ placeholder: e }) {
|
|
325
|
+
let { open: a, setOpen: o, query: s, setQuery: c, results: d, isLoading: f, error: m, isLoaded: h } = A(), y = g(), b = u(null);
|
|
324
326
|
return l(() => {
|
|
325
327
|
a && b.current && setTimeout(() => b.current?.focus(), 0);
|
|
326
328
|
}, [a]), l(() => {
|
|
@@ -339,7 +341,7 @@ function P({ placeholder: e }) {
|
|
|
339
341
|
/* @__PURE__ */ v("div", {
|
|
340
342
|
className: "flex flex-col",
|
|
341
343
|
children: [
|
|
342
|
-
/* @__PURE__ */ _(
|
|
344
|
+
/* @__PURE__ */ _(M, {
|
|
343
345
|
ref: b,
|
|
344
346
|
value: s,
|
|
345
347
|
onChange: c,
|
|
@@ -369,7 +371,7 @@ function P({ placeholder: e }) {
|
|
|
369
371
|
"\" 相关结果"
|
|
370
372
|
]
|
|
371
373
|
}),
|
|
372
|
-
d.length > 0 && /* @__PURE__ */ _(
|
|
374
|
+
d.length > 0 && /* @__PURE__ */ _(P, {
|
|
373
375
|
results: d,
|
|
374
376
|
query: s,
|
|
375
377
|
onSelect: (e) => {
|
|
@@ -410,4 +412,4 @@ function P({ placeholder: e }) {
|
|
|
410
412
|
});
|
|
411
413
|
}
|
|
412
414
|
//#endregion
|
|
413
|
-
export {
|
|
415
|
+
export { j as a, D as c, S as d, C as f, M as i, w as l, P as n, A as o, N as r, E as s, F as t, O as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, o as t, t as n } from "./SearchDialog-
|
|
1
|
+
import { a as e, o as t, t as n } from "./SearchDialog-Dh1RvEgs.js";
|
|
2
2
|
import { useEffect as r } from "react";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/search/SearchRuntime.tsx
|
|
@@ -8,15 +8,16 @@ function a({ openSignal: e, placeholder: a }) {
|
|
|
8
8
|
e > 0 && o(!0);
|
|
9
9
|
}, [e, o]), /* @__PURE__ */ i(n, { placeholder: a });
|
|
10
10
|
}
|
|
11
|
-
function o({ lang: t, version: n, maxResults: r,
|
|
11
|
+
function o({ lang: t, version: n, maxResults: r, snippetLength: o, placeholder: s, openSignal: c }) {
|
|
12
12
|
return /* @__PURE__ */ i(e, {
|
|
13
13
|
lang: t,
|
|
14
14
|
version: n,
|
|
15
15
|
maxResults: r,
|
|
16
|
+
snippetLength: o,
|
|
16
17
|
enableHotkeys: !1,
|
|
17
18
|
children: /* @__PURE__ */ i(a, {
|
|
18
|
-
openSignal:
|
|
19
|
-
placeholder:
|
|
19
|
+
openSignal: c,
|
|
20
|
+
placeholder: s
|
|
20
21
|
})
|
|
21
22
|
});
|
|
22
23
|
}
|
package/dist/{architectureDiagram-2XIMDMQ5-DmhcSwl7.js → architectureDiagram-2XIMDMQ5-D5B3Bc8w.js}
RENAMED
|
@@ -7,7 +7,7 @@ import { a as b, i as x, n as S, r as C } from "./chunk-PU5JKC2W-CeOPBYeP.js";
|
|
|
7
7
|
import { t as w } from "./chunk-4BX2VUAB-D3p73nhw.js";
|
|
8
8
|
import { t as T } from "./mermaid-parser.core-l4wHnGuN.js";
|
|
9
9
|
import { t as E } from "./cytoscape.esm-D1tmL96B.js";
|
|
10
|
-
//#region node_modules/
|
|
10
|
+
//#region node_modules/layout-base/layout-base.js
|
|
11
11
|
var D = /* @__PURE__ */ t(((e, t) => {
|
|
12
12
|
(function(n, r) {
|
|
13
13
|
typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.layoutBase = r() : n.layoutBase = r();
|
|
@@ -25,7 +25,7 @@ var f = {
|
|
|
25
25
|
loader: /* @__PURE__ */ n(async () => await import("./dagre-KLK3FWXG-BkGeaeJf.js"), "loader")
|
|
26
26
|
}, ...[{
|
|
27
27
|
name: "cose-bilkent",
|
|
28
|
-
loader: /* @__PURE__ */ n(async () => await import("./cose-bilkent-S5V4N54A-
|
|
28
|
+
loader: /* @__PURE__ */ n(async () => await import("./cose-bilkent-S5V4N54A-DCXUWrka.js"), "loader")
|
|
29
29
|
}]]);
|
|
30
30
|
}, "registerDefaultLayoutLoaders"))();
|
|
31
31
|
var h = /* @__PURE__ */ n(async (e, t) => {
|
|
@@ -3,7 +3,7 @@ import { g as n, h as r } from "./src-DI0MZP4m.js";
|
|
|
3
3
|
import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, s as d, v as f } from "./chunk-7R4GIKGN-C19ZEV_b.js";
|
|
4
4
|
import { t as p } from "./chunk-55IACEB6-CLgZJbYv.js";
|
|
5
5
|
import { t as m } from "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
6
|
-
import { r as h } from "./chunk-GLR3WWYH-
|
|
6
|
+
import { r as h } from "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
7
7
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-NQ4KR5QH.mjs
|
|
8
8
|
var g = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ r(function(e, t, n, r) {
|
|
@@ -5,7 +5,7 @@ import { t as _ } from "./chunk-FMBD7UC4-D-Ronn4l.js";
|
|
|
5
5
|
import { t as v } from "./chunk-JSJVCQXG-D49UMhzO.js";
|
|
6
6
|
import { t as y } from "./chunk-55IACEB6-CLgZJbYv.js";
|
|
7
7
|
import { t as b } from "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
8
|
-
import { r as x, t as S } from "./chunk-GLR3WWYH-
|
|
8
|
+
import { r as x, t as S } from "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
9
9
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-WL4C6EOR.mjs
|
|
10
10
|
var C = (function() {
|
|
11
11
|
var e = /* @__PURE__ */ r(function(e, t, n, r) {
|
|
@@ -11,8 +11,8 @@ import "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
|
11
11
|
import "./chunk-PQ6SQG4A-BggLWIDB.js";
|
|
12
12
|
import "./chunk-KYZI473N-B9L8Kk83.js";
|
|
13
13
|
import "./chunk-O4XLMI2P-BlC0d_Zr.js";
|
|
14
|
-
import "./chunk-GLR3WWYH-
|
|
15
|
-
import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-
|
|
14
|
+
import "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
15
|
+
import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-BX4P121X.js";
|
|
16
16
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-VBA2DB6C.mjs
|
|
17
17
|
var a = {
|
|
18
18
|
parser: n,
|
|
@@ -11,8 +11,8 @@ import "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
|
11
11
|
import "./chunk-PQ6SQG4A-BggLWIDB.js";
|
|
12
12
|
import "./chunk-KYZI473N-B9L8Kk83.js";
|
|
13
13
|
import "./chunk-O4XLMI2P-BlC0d_Zr.js";
|
|
14
|
-
import "./chunk-GLR3WWYH-
|
|
15
|
-
import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-
|
|
14
|
+
import "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
15
|
+
import { i as t, n, r, t as i } from "./chunk-WL4C6EOR-BX4P121X.js";
|
|
16
16
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-RAHNMMFH.mjs
|
|
17
17
|
var a = {
|
|
18
18
|
parser: n,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as e, t } from "./chunk-NBPlniwU.js";
|
|
2
2
|
import { g as n, h as r, p as i } from "./src-DI0MZP4m.js";
|
|
3
3
|
import { t as a } from "./cytoscape.esm-D1tmL96B.js";
|
|
4
|
-
//#region node_modules/layout-base/layout-base.js
|
|
4
|
+
//#region node_modules/cytoscape-cose-bilkent/node_modules/layout-base/layout-base.js
|
|
5
5
|
var o = /* @__PURE__ */ t(((e, t) => {
|
|
6
6
|
(function(n, r) {
|
|
7
7
|
typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.layoutBase = r() : n.layoutBase = r();
|
package/dist/docs-app.es.js
CHANGED
|
@@ -10,7 +10,7 @@ import { t as _ } from "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
|
10
10
|
import "./chunk-PQ6SQG4A-BggLWIDB.js";
|
|
11
11
|
import "./chunk-KYZI473N-B9L8Kk83.js";
|
|
12
12
|
import "./chunk-O4XLMI2P-BlC0d_Zr.js";
|
|
13
|
-
import { r as v, t as y } from "./chunk-GLR3WWYH-
|
|
13
|
+
import { r as v, t as y } from "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
14
14
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-INFDFZHY.mjs
|
|
15
15
|
var b = (function() {
|
|
16
16
|
var e = /* @__PURE__ */ r(function(e, t, n, r) {
|
|
@@ -12,7 +12,7 @@ import { t as y } from "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
|
12
12
|
import "./chunk-PQ6SQG4A-BggLWIDB.js";
|
|
13
13
|
import { o as b } from "./chunk-KYZI473N-B9L8Kk83.js";
|
|
14
14
|
import "./chunk-O4XLMI2P-BlC0d_Zr.js";
|
|
15
|
-
import { r as x, t as S } from "./chunk-GLR3WWYH-
|
|
15
|
+
import { r as x, t as S } from "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
16
16
|
import { n as C, t as w } from "./chunk-XPW4576I-Bu03pPNP.js";
|
|
17
17
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-PKNHOUZH.mjs
|
|
18
18
|
var T = "flowchart-", E = class {
|
|
@@ -7261,7 +7261,7 @@ function Pc({ defaultValue: e, children: t }) {
|
|
|
7261
7261
|
//#region src/components/mdx-components/Mermaid.tsx
|
|
7262
7262
|
var Fc = null, Ic = !1;
|
|
7263
7263
|
function Lc() {
|
|
7264
|
-
return Fc ||= import("./mermaid.core-
|
|
7264
|
+
return Fc ||= import("./mermaid.core-Dg_svxvF.js"), Fc;
|
|
7265
7265
|
}
|
|
7266
7266
|
function Rc({ chart: e }) {
|
|
7267
7267
|
let t = n.useId().replace(/:/g, ""), [r, i] = n.useState("");
|
|
@@ -9,7 +9,7 @@ import "./chunk-YBOYWFTD-BAPGCoDq.js";
|
|
|
9
9
|
import "./chunk-PQ6SQG4A-BggLWIDB.js";
|
|
10
10
|
import "./chunk-KYZI473N-B9L8Kk83.js";
|
|
11
11
|
import "./chunk-O4XLMI2P-BlC0d_Zr.js";
|
|
12
|
-
import { n as ue } from "./chunk-GLR3WWYH-
|
|
12
|
+
import { n as ue } from "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
13
13
|
import { n as de, t as fe } from "./chunk-XPW4576I-Bu03pPNP.js";
|
|
14
14
|
//#region node_modules/stylis/src/Enum.js
|
|
15
15
|
var pe = "comm", me = "rule", he = "decl", ge = "@import", _e = "@namespace", ve = "@keyframes", ye = "@layer", be = Math.abs, O = String.fromCharCode;
|
|
@@ -266,7 +266,7 @@ var Re = "c4", ze = {
|
|
|
266
266
|
id: Be,
|
|
267
267
|
detector: /* @__PURE__ */ l((e, t) => t?.flowchart?.defaultRenderer === "dagre-wrapper" || t?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"),
|
|
268
268
|
loader: /* @__PURE__ */ l(async () => {
|
|
269
|
-
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-
|
|
269
|
+
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-CgCGjn11.js");
|
|
270
270
|
return {
|
|
271
271
|
id: Be,
|
|
272
272
|
diagram: e
|
|
@@ -276,7 +276,7 @@ var Re = "c4", ze = {
|
|
|
276
276
|
id: He,
|
|
277
277
|
detector: /* @__PURE__ */ l((e, t) => t?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (t?.flowchart?.defaultRenderer === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && t?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"),
|
|
278
278
|
loader: /* @__PURE__ */ l(async () => {
|
|
279
|
-
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-
|
|
279
|
+
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-CgCGjn11.js");
|
|
280
280
|
return {
|
|
281
281
|
id: He,
|
|
282
282
|
diagram: e
|
|
@@ -286,7 +286,7 @@ var Re = "c4", ze = {
|
|
|
286
286
|
id: We,
|
|
287
287
|
detector: /* @__PURE__ */ l((e) => /^\s*erDiagram/.test(e), "detector"),
|
|
288
288
|
loader: /* @__PURE__ */ l(async () => {
|
|
289
|
-
let { diagram: e } = await import("./erDiagram-INFDFZHY-
|
|
289
|
+
let { diagram: e } = await import("./erDiagram-INFDFZHY-DdivnAXH.js");
|
|
290
290
|
return {
|
|
291
291
|
id: We,
|
|
292
292
|
diagram: e
|
|
@@ -356,7 +356,7 @@ var Re = "c4", ze = {
|
|
|
356
356
|
id: it,
|
|
357
357
|
detector: /* @__PURE__ */ l((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
|
|
358
358
|
loader: /* @__PURE__ */ l(async () => {
|
|
359
|
-
let { diagram: e } = await import("./requirementDiagram-Z7DCOOCP-
|
|
359
|
+
let { diagram: e } = await import("./requirementDiagram-Z7DCOOCP-ClKKAQ0C.js");
|
|
360
360
|
return {
|
|
361
361
|
id: it,
|
|
362
362
|
diagram: e
|
|
@@ -376,7 +376,7 @@ var Re = "c4", ze = {
|
|
|
376
376
|
id: ct,
|
|
377
377
|
detector: /* @__PURE__ */ l((e, t) => t?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e), "detector"),
|
|
378
378
|
loader: /* @__PURE__ */ l(async () => {
|
|
379
|
-
let { diagram: e } = await import("./classDiagram-VBA2DB6C-
|
|
379
|
+
let { diagram: e } = await import("./classDiagram-VBA2DB6C-CWWKW2ZN.js");
|
|
380
380
|
return {
|
|
381
381
|
id: ct,
|
|
382
382
|
diagram: e
|
|
@@ -386,7 +386,7 @@ var Re = "c4", ze = {
|
|
|
386
386
|
id: ut,
|
|
387
387
|
detector: /* @__PURE__ */ l((e, t) => /^\s*classDiagram/.test(e) && t?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"),
|
|
388
388
|
loader: /* @__PURE__ */ l(async () => {
|
|
389
|
-
let { diagram: e } = await import("./classDiagram-v2-RAHNMMFH-
|
|
389
|
+
let { diagram: e } = await import("./classDiagram-v2-RAHNMMFH-9SKKaVzh.js");
|
|
390
390
|
return {
|
|
391
391
|
id: ut,
|
|
392
392
|
diagram: e
|
|
@@ -396,7 +396,7 @@ var Re = "c4", ze = {
|
|
|
396
396
|
id: ft,
|
|
397
397
|
detector: /* @__PURE__ */ l((e, t) => t?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e), "detector"),
|
|
398
398
|
loader: /* @__PURE__ */ l(async () => {
|
|
399
|
-
let { diagram: e } = await import("./stateDiagram-RAJIS63D-
|
|
399
|
+
let { diagram: e } = await import("./stateDiagram-RAJIS63D-C8Ab__vp.js");
|
|
400
400
|
return {
|
|
401
401
|
id: ft,
|
|
402
402
|
diagram: e
|
|
@@ -406,7 +406,7 @@ var Re = "c4", ze = {
|
|
|
406
406
|
id: mt,
|
|
407
407
|
detector: /* @__PURE__ */ l((e, t) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && t?.state?.defaultRenderer === "dagre-wrapper"), "detector"),
|
|
408
408
|
loader: /* @__PURE__ */ l(async () => {
|
|
409
|
-
let { diagram: e } = await import("./stateDiagram-v2-FVOUBMTO-
|
|
409
|
+
let { diagram: e } = await import("./stateDiagram-v2-FVOUBMTO-BhQBkYI5.js");
|
|
410
410
|
return {
|
|
411
411
|
id: mt,
|
|
412
412
|
diagram: e
|
|
@@ -434,7 +434,7 @@ var Re = "c4", ze = {
|
|
|
434
434
|
id: xt,
|
|
435
435
|
detector: /* @__PURE__ */ l((e, t = {}) => /^\s*flowchart-elk/.test(e) || /^\s*(flowchart|graph)/.test(e) && t?.flowchart?.defaultRenderer === "elk" ? (t.layout = "elk", !0) : !1, "detector"),
|
|
436
436
|
loader: /* @__PURE__ */ l(async () => {
|
|
437
|
-
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-
|
|
437
|
+
let { diagram: e } = await import("./flowDiagram-PKNHOUZH-CgCGjn11.js");
|
|
438
438
|
return {
|
|
439
439
|
id: xt,
|
|
440
440
|
diagram: e
|
|
@@ -454,7 +454,7 @@ var Re = "c4", ze = {
|
|
|
454
454
|
id: Tt,
|
|
455
455
|
detector: /* @__PURE__ */ l((e) => /^\s*mindmap/.test(e), "detector"),
|
|
456
456
|
loader: /* @__PURE__ */ l(async () => {
|
|
457
|
-
let { diagram: e } = await import("./mindmap-definition-YRQLILUH-
|
|
457
|
+
let { diagram: e } = await import("./mindmap-definition-YRQLILUH-3st_5tCe.js");
|
|
458
458
|
return {
|
|
459
459
|
id: Tt,
|
|
460
460
|
diagram: e
|
|
@@ -514,7 +514,7 @@ var Re = "c4", ze = {
|
|
|
514
514
|
id: Lt,
|
|
515
515
|
detector: /* @__PURE__ */ l((e) => /^\s*architecture/.test(e), "detector"),
|
|
516
516
|
loader: /* @__PURE__ */ l(async () => {
|
|
517
|
-
let { diagram: e } = await import("./architectureDiagram-2XIMDMQ5-
|
|
517
|
+
let { diagram: e } = await import("./architectureDiagram-2XIMDMQ5-D5B3Bc8w.js");
|
|
518
518
|
return {
|
|
519
519
|
id: Lt,
|
|
520
520
|
diagram: e
|
package/dist/{mindmap-definition-YRQLILUH-Cnl-qPDR.js → mindmap-definition-YRQLILUH-3st_5tCe.js}
RENAMED
|
@@ -9,7 +9,7 @@ import { t as u } from "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
|
9
9
|
import "./chunk-PQ6SQG4A-BggLWIDB.js";
|
|
10
10
|
import "./chunk-KYZI473N-B9L8Kk83.js";
|
|
11
11
|
import "./chunk-O4XLMI2P-BlC0d_Zr.js";
|
|
12
|
-
import { r as d, t as f } from "./chunk-GLR3WWYH-
|
|
12
|
+
import { r as d, t as f } from "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
13
13
|
//#region node_modules/uuid/dist/esm-browser/stringify.js
|
|
14
14
|
var p = [];
|
|
15
15
|
for (let e = 0; e < 256; ++e) p.push((e + 256).toString(16).slice(1));
|
package/dist/react-docs-ui.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as e, t } from "./theme-provider-fNhx9xK0.js";
|
|
2
|
-
import { A as n, B as r, C as i, D as a, E as o, F as ee, G as te, H as ne, I as re, J as ie, K as ae, L as oe, M as se, N as ce, O as le, P as ue, R as s, S as c, T as l, U as u, V as d, W as f, X as p, Y as m, _ as h, a as g, b as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, o as D, p as O, q as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./DocsApp-
|
|
2
|
+
import { A as n, B as r, C as i, D as a, E as o, F as ee, G as te, H as ne, I as re, J as ie, K as ae, L as oe, M as se, N as ce, O as le, P as ue, R as s, S as c, T as l, U as u, V as d, W as f, X as p, Y as m, _ as h, a as g, b as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, o as D, p as O, q as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./DocsApp-CCFHuucK.js";
|
|
3
3
|
import { t as z } from "./utils-Ct96Mtjw.js";
|
|
4
|
-
import { C as B, S as V, a as H, b as U, f as de, i as fe, o as pe, p as me, v as he, x as ge, y as _e } from "./mdx-components-
|
|
4
|
+
import { C as B, S as V, a as H, b as U, f as de, i as fe, o as pe, p as me, v as he, x as ge, y as _e } from "./mdx-components-BLq-Umts.js";
|
|
5
5
|
import { a as ve, c as ye, i as W, n as be, o as G, r as K, s as q, t as J } from "./dialog-D8otbqQL.js";
|
|
6
6
|
import { a as xe, c as Se, d as Ce, f as we, l as Te, m as Ee, n as De, o as Oe, p as Y, r as ke, s as Ae, t as je, u as Me } from "./context-menu-BIQsQup7.js";
|
|
7
|
-
import { n as Ne, t as Pe } from "./MdxContent-
|
|
7
|
+
import { n as Ne, t as Pe } from "./MdxContent-CJydH4kW.js";
|
|
8
8
|
import { S as Fe, _ as Ie, a as Le, b as Re, c as ze, d as Be, f as Ve, g as He, i as Ue, l as We, m as Ge, n as Ke, o as qe, p as Je, r as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } from "./AIProvider-niZNPSGi.js";
|
|
9
9
|
import { t as nt } from "./AISelectionTrigger-SLyb8Vep.js";
|
|
10
10
|
import { i as rt, r as it, t as at } from "./AIChatDialog-BnAX3dRn.js";
|
|
11
11
|
import { t as ot } from "./AISettingsPanel-Bsd_wLP4.js";
|
|
12
|
-
import { a as st, c as ct, d as lt, f as ut, i as dt, l as ft, n as pt, o as X, r as mt, s as ht, t as gt, u as _t } from "./SearchDialog-
|
|
12
|
+
import { a as st, c as ct, d as lt, f as ut, i as dt, l as ft, n as pt, o as X, r as mt, s as ht, t as gt, u as _t } from "./SearchDialog-Dh1RvEgs.js";
|
|
13
13
|
import "react";
|
|
14
14
|
import { Search as vt } from "lucide-react";
|
|
15
15
|
import { jsx as Z, jsxs as Q } from "react/jsx-runtime";
|
package/dist/{requirementDiagram-Z7DCOOCP-Bx6NAgqy.js → requirementDiagram-Z7DCOOCP-ClKKAQ0C.js}
RENAMED
|
@@ -9,7 +9,7 @@ import { t as p } from "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
|
9
9
|
import "./chunk-PQ6SQG4A-BggLWIDB.js";
|
|
10
10
|
import "./chunk-KYZI473N-B9L8Kk83.js";
|
|
11
11
|
import "./chunk-O4XLMI2P-BlC0d_Zr.js";
|
|
12
|
-
import { r as m, t as h } from "./chunk-GLR3WWYH-
|
|
12
|
+
import { r as m, t as h } from "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
13
13
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-Z7DCOOCP.mjs
|
|
14
14
|
var g = (function() {
|
|
15
15
|
var e = /* @__PURE__ */ n(function(e, t, n, r) {
|
|
@@ -12,8 +12,8 @@ import "./chunk-KX2RTZJC-BDcxmH0D.js";
|
|
|
12
12
|
import "./chunk-PQ6SQG4A-BggLWIDB.js";
|
|
13
13
|
import "./chunk-KYZI473N-B9L8Kk83.js";
|
|
14
14
|
import "./chunk-O4XLMI2P-BlC0d_Zr.js";
|
|
15
|
-
import "./chunk-GLR3WWYH-
|
|
16
|
-
import { i as f, n as p, t as m } from "./chunk-NQ4KR5QH-
|
|
15
|
+
import "./chunk-GLR3WWYH-C7t8eN-i.js";
|
|
16
|
+
import { i as f, n as p, t as m } from "./chunk-NQ4KR5QH-ygKrPhgw.js";
|
|
17
17
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-RAJIS63D.mjs
|
|
18
18
|
var h = /* @__PURE__ */ a((e) => e.append("circle").attr("class", "start-state").attr("r", c().state.sizeUnit).attr("cx", c().state.padding + c().state.sizeUnit).attr("cy", c().state.padding + c().state.sizeUnit), "drawStartState"), g = /* @__PURE__ */ a((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", c().state.textHeight).attr("class", "divider").attr("x2", c().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), _ = /* @__PURE__ */ a((e, t) => {
|
|
19
19
|
let n = e.append("text").attr("x", 2 * c().state.padding).attr("y", c().state.textHeight + 2 * c().state.padding).attr("font-size", c().state.fontSize).attr("class", "state-title").text(t.id), r = n.node().getBBox();
|