react-docs-ui 0.6.17 → 0.6.18
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/{AIChatDialog-W60DtiEW.js → AIChatDialog-BnAX3dRn.js} +2 -2
- package/dist/{AISelectionTrigger-MaBGhxTE.js → AISelectionTrigger-SLyb8Vep.js} +2 -2
- package/dist/{AISettingsPanel-aiMnncnQ.js → AISettingsPanel-Bsd_wLP4.js} +3 -3
- package/dist/{DocsApp-BN6Bo0YD.js → DocsApp-CNVM_Zcf.js} +3505 -3208
- package/dist/{GlobalContextMenu-DG6x5Y5w.js → GlobalContextMenu-BtVjQk0v.js} +1 -1
- package/dist/{MdxContent-CMB8ZbXo.js → MdxContent-D2l4Au7Z.js} +310 -306
- package/dist/{MdxContent.lazy-C4rcCv4v.js → MdxContent.lazy-BirC7wrH.js} +1 -1
- package/dist/{SearchDialog-tUSKKsxW.js → SearchDialog-DWVre6R9.js} +66 -56
- package/dist/{SearchRuntime-5fXpxDsi.js → SearchRuntime-D0rSMKV3.js} +6 -5
- package/dist/_basePickBy-3HEi44E5.js +166 -0
- package/dist/_baseUniq-CyOGXr0t.js +682 -0
- package/dist/arc-DULIiw5L.js +80 -0
- package/dist/architecture-PBZL5I3N-DT4oHaWT.js +3 -0
- package/dist/architectureDiagram-2XIMDMQ5-CqinFxzU.js +4045 -0
- package/dist/array-DHiPsILf.js +6 -0
- package/dist/blockDiagram-WCTKOSBZ-4JAhKeqm.js +3025 -0
- package/dist/c4Diagram-IC4MRINW-DtmtzsQQ.js +2964 -0
- package/dist/channel-BPONoOHQ.js +5 -0
- package/dist/chunk-4BX2VUAB-Bv5NGtUU.js +8 -0
- package/dist/chunk-55IACEB6-BXL-F-QI.js +8 -0
- package/dist/chunk-7E7YKBS2-CuTUVGrY.js +23 -0
- package/dist/chunk-7R4GIKGN-Qkaxl46X.js +2596 -0
- package/dist/chunk-C72U2L5F-42ScKBi2.js +23 -0
- package/dist/chunk-EGIJ26TM-D9jfybGA.js +23 -0
- package/dist/chunk-FMBD7UC4-DZXaweDk.js +5 -0
- package/dist/chunk-GEFDOKGD-OXBFFBXI.js +1121 -0
- package/dist/chunk-GLR3WWYH-BNwKwdNm.js +41 -0
- package/dist/chunk-HHEYEP7N-BQ3EJT5G.js +9 -0
- package/dist/chunk-JSJVCQXG-DNkHiMyV.js +60 -0
- package/dist/chunk-KX2RTZJC-DuTfSwwu.js +25 -0
- package/dist/chunk-KYZI473N-COpLSX52.js +3434 -0
- package/dist/chunk-L3YUKLVL-BdSnx12A.js +23 -0
- package/dist/chunk-MX3YWQON-CrwNXQjz.js +80 -0
- package/dist/chunk-NBPlniwU.js +23 -0
- package/dist/chunk-NQ4KR5QH-Y07nfCMJ.js +2002 -0
- package/dist/chunk-O4XLMI2P-CuexQiBs.js +511 -0
- package/dist/chunk-OZEHJAEY-D6vfkGpv.js +64 -0
- package/dist/chunk-PQ6SQG4A-6cI0SCcc.js +67 -0
- package/dist/chunk-PU5JKC2W-an2DzREj.js +1885 -0
- package/dist/chunk-QZHKN3VN-BKMQ36H3.js +15 -0
- package/dist/chunk-R5LLSJPH-DOyud7qN.js +35 -0
- package/dist/chunk-WL4C6EOR-y1gU9zpd.js +3194 -0
- package/dist/chunk-XIRO2GV7-BD1Cp5pB.js +30 -0
- package/dist/chunk-XPW4576I-DOBR2ORN.js +1146 -0
- package/dist/chunk-XZSTWKYB-BQ9uqNJe.js +15797 -0
- package/dist/chunk-YBOYWFTD-BT3l76Xm.js +32 -0
- package/dist/classDiagram-VBA2DB6C-AUxID939.js +29 -0
- package/dist/classDiagram-v2-RAHNMMFH-tupy2OPi.js +29 -0
- package/dist/clone-CRTZj7kp.js +8 -0
- package/dist/cose-bilkent-S5V4N54A-Bbd2d2j7.js +2250 -0
- package/dist/cytoscape.esm-CQKQOqRt.js +18100 -0
- package/dist/dagre-Cyr5_x2X.js +1483 -0
- package/dist/dagre-KLK3FWXG-Bjsq-TtB.js +294 -0
- package/dist/defaultLocale-P2nWjZJu.js +201 -0
- package/dist/diagram-E7M64L7V-CCTuI46e.js +527 -0
- package/dist/diagram-IFDJBPK2-DI_KTvRx.js +213 -0
- package/dist/diagram-P4PSJMXO-D3SeWDdU.js +133 -0
- package/dist/dist-CSS39H68.js +50 -0
- package/dist/docs-app.es.js +1 -1
- package/dist/erDiagram-INFDFZHY-Db_DAoTf.js +1666 -0
- package/dist/flowDiagram-PKNHOUZH-TqyNp9Dn.js +4161 -0
- package/dist/ganttDiagram-A5KZAMGK-DqNVbtHo.js +3072 -0
- package/dist/gitGraph-HDMCJU4V-DQudxfzL.js +3 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-Cga9Wfgb.js +625 -0
- package/dist/graphlib-CexrUFs9.js +225 -0
- package/dist/info-3K5VOQVL-DiuN3kw6.js +3 -0
- package/dist/infoDiagram-LFFYTUFH-bvABxJph.js +19 -0
- package/dist/init-GWRygwCo.js +15 -0
- package/dist/isArrayLikeObject-CG2kGrxR.js +578 -0
- package/dist/isEmpty-C8iIdTg-.js +35 -0
- package/dist/ishikawaDiagram-PHBUUO56-DKGPu-hu.js +717 -0
- package/dist/journeyDiagram-4ABVD52K-DefcNau0.js +883 -0
- package/dist/kanban-definition-K7BYSVSG-BXvFQzdZ.js +971 -0
- package/dist/line-ChPoSgrf.js +34 -0
- package/dist/linear-BeQrMQNe.js +289 -0
- package/dist/math-CgS6d5p2.js +10 -0
- package/dist/{shiki-highlighter-BmQSSJpS.js → mdx-components-Bz45lgrV.js} +1387 -1288
- package/dist/mermaid-parser.core-CDTyVXPe.js +59 -0
- package/dist/mermaid.core-CHJrGTZ9.js +919 -0
- package/dist/mindmap-definition-YRQLILUH-CqsMcFhX.js +964 -0
- package/dist/ordinal-DUEC8Lr4.js +65 -0
- package/dist/packet-RMMSAZCW-ZLaHU0Ov.js +3 -0
- package/dist/path-CzRXOvk1.js +85 -0
- package/dist/pie-UPGHQEXC-COgIbE0j.js +3 -0
- package/dist/pieDiagram-SKSYHLDU-C8Y5Bc8d.js +165 -0
- package/dist/quadrantDiagram-337W2JSQ-DRWBX5cn.js +1974 -0
- package/dist/radar-KQ55EAFF-ABFVVcns.js +3 -0
- package/dist/react-docs-ui.css +1 -1
- package/dist/react-docs-ui.es.js +19 -19
- package/dist/requirementDiagram-Z7DCOOCP-EkyUnFq8.js +2201 -0
- package/dist/rough.esm-qTNNhHn7.js +1352 -0
- package/dist/sankeyDiagram-WA2Y5GQK-Cmas7IuZ.js +920 -0
- package/dist/sequenceDiagram-2WXFIKYE-B7TrFw3o.js +4109 -0
- package/dist/src-B8kKzJ6p.js +2146 -0
- package/dist/stateDiagram-RAJIS63D-DyqZyFdt.js +217 -0
- package/dist/stateDiagram-v2-FVOUBMTO-5UjWXgt6.js +27 -0
- package/dist/timeline-definition-YZTLITO2-qhoXPOhL.js +830 -0
- package/dist/treemap-KZPCXAKY-CRdRsoRo.js +3 -0
- package/dist/types/components/AnnouncementBar.d.ts +12 -0
- package/dist/types/components/AnnouncementBar.d.ts.map +1 -0
- package/dist/types/components/DocsLayout.d.ts +8 -2
- package/dist/types/components/DocsLayout.d.ts.map +1 -1
- package/dist/types/components/HeaderNav.d.ts +17 -1
- package/dist/types/components/HeaderNav.d.ts.map +1 -1
- package/dist/types/components/MdxContent.d.ts.map +1 -1
- package/dist/types/components/MobileSidebar.d.ts +2 -1
- package/dist/types/components/MobileSidebar.d.ts.map +1 -1
- package/dist/types/components/PageFeedback.d.ts +11 -0
- package/dist/types/components/PageFeedback.d.ts.map +1 -0
- package/dist/types/components/PageMetaActions.d.ts +15 -0
- package/dist/types/components/PageMetaActions.d.ts.map +1 -0
- package/dist/types/components/PageNavigation.d.ts +2 -1
- package/dist/types/components/PageNavigation.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/SidebarNav.d.ts +2 -1
- package/dist/types/components/SidebarNav.d.ts.map +1 -1
- package/dist/types/components/mdx-components/Mermaid.d.ts +6 -0
- package/dist/types/components/mdx-components/Mermaid.d.ts.map +1 -0
- package/dist/types/components/mdx-components/Tabs.d.ts +13 -0
- package/dist/types/components/mdx-components/Tabs.d.ts.map +1 -0
- package/dist/types/components/mdx-components/index.d.ts +2 -0
- package/dist/types/components/mdx-components/index.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/lib/component-scanner.d.ts.map +1 -1
- package/dist/types/lib/config.d.ts +42 -0
- package/dist/types/lib/config.d.ts.map +1 -1
- package/dist/types/lib/navigation.d.ts +1 -1
- package/dist/types/lib/navigation.d.ts.map +1 -1
- package/dist/types/lib/page-meta.d.ts +16 -0
- package/dist/types/lib/page-meta.d.ts.map +1 -0
- package/dist/types/lib/search/build/index-generator.d.ts.map +1 -1
- package/dist/types/lib/search/build/types.d.ts +1 -0
- package/dist/types/lib/search/build/types.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/dist/types/lib/versioning.d.ts +6 -0
- package/dist/types/lib/versioning.d.ts.map +1 -0
- package/dist/vennDiagram-LZ73GAT5-DlUUn7LI.js +1858 -0
- package/dist/xychartDiagram-JWTSCODW-oT2IR7c0.js +2041 -0
- package/package.json +4 -1
- /package/dist/{AIProvider-C1_b1iKH.js → AIProvider-niZNPSGi.js} +0 -0
- /package/dist/{context-menu-CB7erSoV.js → context-menu-BIQsQup7.js} +0 -0
- /package/dist/{dialog-DQ6nkP0y.js → dialog-D8otbqQL.js} +0 -0
- /package/dist/{mdx-components-Dxpipc50.js → mdx-components-TEc3uhbY.js} +0 -0
- /package/dist/{use-toast-d9VPBjMn.js → use-toast-DK69oadB.js} +0 -0
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
import { r as e } from "./chunk-GEFDOKGD-OXBFFBXI.js";
|
|
2
|
+
import { g as t, h as n, p as r } from "./src-B8kKzJ6p.js";
|
|
3
|
+
import { B as i, C as a, V as o, W as s, _ as c, a as l, c as u, d, v as f, y as p } from "./chunk-7R4GIKGN-Qkaxl46X.js";
|
|
4
|
+
import { t as m } from "./ordinal-DUEC8Lr4.js";
|
|
5
|
+
import { t as h } from "./defaultLocale-P2nWjZJu.js";
|
|
6
|
+
import { t as g } from "./chunk-HHEYEP7N-BQ3EJT5G.js";
|
|
7
|
+
import { t as _ } from "./chunk-4BX2VUAB-Bv5NGtUU.js";
|
|
8
|
+
import { t as v } from "./mermaid-parser.core-CDTyVXPe.js";
|
|
9
|
+
import { t as y } from "./chunk-KX2RTZJC-DuTfSwwu.js";
|
|
10
|
+
import { i as b, n as x } from "./chunk-PQ6SQG4A-6cI0SCcc.js";
|
|
11
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/count.js
|
|
12
|
+
function S(e) {
|
|
13
|
+
var t = 0, n = e.children, r = n && n.length;
|
|
14
|
+
if (!r) t = 1;
|
|
15
|
+
else for (; --r >= 0;) t += n[r].value;
|
|
16
|
+
e.value = t;
|
|
17
|
+
}
|
|
18
|
+
function C() {
|
|
19
|
+
return this.eachAfter(S);
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/each.js
|
|
23
|
+
function w(e, t) {
|
|
24
|
+
let n = -1;
|
|
25
|
+
for (let r of this) e.call(t, r, ++n, this);
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js
|
|
30
|
+
function T(e, t) {
|
|
31
|
+
for (var n = this, r = [n], i, a, o = -1; n = r.pop();) if (e.call(t, n, ++o, this), i = n.children) for (a = i.length - 1; a >= 0; --a) r.push(i[a]);
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js
|
|
36
|
+
function E(e, t) {
|
|
37
|
+
for (var n = this, r = [n], i = [], a, o, s, c = -1; n = r.pop();) if (i.push(n), a = n.children) for (o = 0, s = a.length; o < s; ++o) r.push(a[o]);
|
|
38
|
+
for (; n = i.pop();) e.call(t, n, ++c, this);
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/find.js
|
|
43
|
+
function D(e, t) {
|
|
44
|
+
let n = -1;
|
|
45
|
+
for (let r of this) if (e.call(t, r, ++n, this)) return r;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/sum.js
|
|
49
|
+
function O(e) {
|
|
50
|
+
return this.eachAfter(function(t) {
|
|
51
|
+
for (var n = +e(t.data) || 0, r = t.children, i = r && r.length; --i >= 0;) n += r[i].value;
|
|
52
|
+
t.value = n;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/sort.js
|
|
57
|
+
function k(e) {
|
|
58
|
+
return this.eachBefore(function(t) {
|
|
59
|
+
t.children && t.children.sort(e);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/path.js
|
|
64
|
+
function A(e) {
|
|
65
|
+
for (var t = this, n = j(t, e), r = [t]; t !== n;) t = t.parent, r.push(t);
|
|
66
|
+
for (var i = r.length; e !== n;) r.splice(i, 0, e), e = e.parent;
|
|
67
|
+
return r;
|
|
68
|
+
}
|
|
69
|
+
function j(e, t) {
|
|
70
|
+
if (e === t) return e;
|
|
71
|
+
var n = e.ancestors(), r = t.ancestors(), i = null;
|
|
72
|
+
for (e = n.pop(), t = r.pop(); e === t;) i = e, e = n.pop(), t = r.pop();
|
|
73
|
+
return i;
|
|
74
|
+
}
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/ancestors.js
|
|
77
|
+
function M() {
|
|
78
|
+
for (var e = this, t = [e]; e = e.parent;) t.push(e);
|
|
79
|
+
return t;
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/descendants.js
|
|
83
|
+
function N() {
|
|
84
|
+
return Array.from(this);
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/leaves.js
|
|
88
|
+
function P() {
|
|
89
|
+
var e = [];
|
|
90
|
+
return this.eachBefore(function(t) {
|
|
91
|
+
t.children || e.push(t);
|
|
92
|
+
}), e;
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/links.js
|
|
96
|
+
function F() {
|
|
97
|
+
var e = this, t = [];
|
|
98
|
+
return e.each(function(n) {
|
|
99
|
+
n !== e && t.push({
|
|
100
|
+
source: n.parent,
|
|
101
|
+
target: n
|
|
102
|
+
});
|
|
103
|
+
}), t;
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/iterator.js
|
|
107
|
+
function* I() {
|
|
108
|
+
var e = this, t, n = [e], r, i, a;
|
|
109
|
+
do
|
|
110
|
+
for (t = n.reverse(), n = []; e = t.pop();) if (yield e, r = e.children) for (i = 0, a = r.length; i < a; ++i) n.push(r[i]);
|
|
111
|
+
while (n.length);
|
|
112
|
+
}
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/hierarchy/index.js
|
|
115
|
+
function L(e, t) {
|
|
116
|
+
e instanceof Map ? (e = [void 0, e], t === void 0 && (t = B)) : t === void 0 && (t = z);
|
|
117
|
+
for (var n = new U(e), r, i = [n], a, o, s, c; r = i.pop();) if ((o = t(r.data)) && (c = (o = Array.from(o)).length)) for (r.children = o, s = c - 1; s >= 0; --s) i.push(a = o[s] = new U(o[s])), a.parent = r, a.depth = r.depth + 1;
|
|
118
|
+
return n.eachBefore(H);
|
|
119
|
+
}
|
|
120
|
+
function R() {
|
|
121
|
+
return L(this).eachBefore(V);
|
|
122
|
+
}
|
|
123
|
+
function z(e) {
|
|
124
|
+
return e.children;
|
|
125
|
+
}
|
|
126
|
+
function B(e) {
|
|
127
|
+
return Array.isArray(e) ? e[1] : null;
|
|
128
|
+
}
|
|
129
|
+
function V(e) {
|
|
130
|
+
e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
|
|
131
|
+
}
|
|
132
|
+
function H(e) {
|
|
133
|
+
var t = 0;
|
|
134
|
+
do
|
|
135
|
+
e.height = t;
|
|
136
|
+
while ((e = e.parent) && e.height < ++t);
|
|
137
|
+
}
|
|
138
|
+
function U(e) {
|
|
139
|
+
this.data = e, this.depth = this.height = 0, this.parent = null;
|
|
140
|
+
}
|
|
141
|
+
U.prototype = L.prototype = {
|
|
142
|
+
constructor: U,
|
|
143
|
+
count: C,
|
|
144
|
+
each: w,
|
|
145
|
+
eachAfter: E,
|
|
146
|
+
eachBefore: T,
|
|
147
|
+
find: D,
|
|
148
|
+
sum: O,
|
|
149
|
+
sort: k,
|
|
150
|
+
path: A,
|
|
151
|
+
ancestors: M,
|
|
152
|
+
descendants: N,
|
|
153
|
+
leaves: P,
|
|
154
|
+
links: F,
|
|
155
|
+
copy: R,
|
|
156
|
+
[Symbol.iterator]: I
|
|
157
|
+
};
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/accessors.js
|
|
160
|
+
function W(e) {
|
|
161
|
+
if (typeof e != "function") throw Error();
|
|
162
|
+
return e;
|
|
163
|
+
}
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/constant.js
|
|
166
|
+
function G() {
|
|
167
|
+
return 0;
|
|
168
|
+
}
|
|
169
|
+
function K(e) {
|
|
170
|
+
return function() {
|
|
171
|
+
return e;
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/treemap/round.js
|
|
176
|
+
function q(e) {
|
|
177
|
+
e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
|
|
178
|
+
}
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/treemap/dice.js
|
|
181
|
+
function J(e, t, n, r, i) {
|
|
182
|
+
for (var a = e.children, o, s = -1, c = a.length, l = e.value && (r - t) / e.value; ++s < c;) o = a[s], o.y0 = n, o.y1 = i, o.x0 = t, o.x1 = t += o.value * l;
|
|
183
|
+
}
|
|
184
|
+
//#endregion
|
|
185
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/treemap/slice.js
|
|
186
|
+
function ee(e, t, n, r, i) {
|
|
187
|
+
for (var a = e.children, o, s = -1, c = a.length, l = e.value && (i - n) / e.value; ++s < c;) o = a[s], o.x0 = t, o.x1 = r, o.y0 = n, o.y1 = n += o.value * l;
|
|
188
|
+
}
|
|
189
|
+
//#endregion
|
|
190
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/treemap/squarify.js
|
|
191
|
+
var te = (1 + Math.sqrt(5)) / 2;
|
|
192
|
+
function ne(e, t, n, r, i, a) {
|
|
193
|
+
for (var o = [], s = t.children, c, l, u = 0, d = 0, f = s.length, p, m, h = t.value, g, _, v, y, b, x, S; u < f;) {
|
|
194
|
+
p = i - n, m = a - r;
|
|
195
|
+
do
|
|
196
|
+
g = s[d++].value;
|
|
197
|
+
while (!g && d < f);
|
|
198
|
+
for (_ = v = g, x = Math.max(m / p, p / m) / (h * e), S = g * g * x, b = Math.max(v / S, S / _); d < f; ++d) {
|
|
199
|
+
if (g += l = s[d].value, l < _ && (_ = l), l > v && (v = l), S = g * g * x, y = Math.max(v / S, S / _), y > b) {
|
|
200
|
+
g -= l;
|
|
201
|
+
break;
|
|
202
|
+
}
|
|
203
|
+
b = y;
|
|
204
|
+
}
|
|
205
|
+
o.push(c = {
|
|
206
|
+
value: g,
|
|
207
|
+
dice: p < m,
|
|
208
|
+
children: s.slice(u, d)
|
|
209
|
+
}), c.dice ? J(c, n, r, i, h ? r += m * g / h : a) : ee(c, n, r, h ? n += p * g / h : i, a), h -= g, u = d;
|
|
210
|
+
}
|
|
211
|
+
return o;
|
|
212
|
+
}
|
|
213
|
+
var re = (function e(t) {
|
|
214
|
+
function n(e, n, r, i, a) {
|
|
215
|
+
ne(t, e, n, r, i, a);
|
|
216
|
+
}
|
|
217
|
+
return n.ratio = function(t) {
|
|
218
|
+
return e((t = +t) > 1 ? t : 1);
|
|
219
|
+
}, n;
|
|
220
|
+
})(te);
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region node_modules/.pnpm/d3-hierarchy@3.1.2/node_modules/d3-hierarchy/src/treemap/index.js
|
|
223
|
+
function ie() {
|
|
224
|
+
var e = re, t = !1, n = 1, r = 1, i = [0], a = G, o = G, s = G, c = G, l = G;
|
|
225
|
+
function u(e) {
|
|
226
|
+
return e.x0 = e.y0 = 0, e.x1 = n, e.y1 = r, e.eachBefore(d), i = [0], t && e.eachBefore(q), e;
|
|
227
|
+
}
|
|
228
|
+
function d(t) {
|
|
229
|
+
var n = i[t.depth], r = t.x0 + n, u = t.y0 + n, d = t.x1 - n, f = t.y1 - n;
|
|
230
|
+
d < r && (r = d = (r + d) / 2), f < u && (u = f = (u + f) / 2), t.x0 = r, t.y0 = u, t.x1 = d, t.y1 = f, t.children && (n = i[t.depth + 1] = a(t) / 2, r += l(t) - n, u += o(t) - n, d -= s(t) - n, f -= c(t) - n, d < r && (r = d = (r + d) / 2), f < u && (u = f = (u + f) / 2), e(t, r, u, d, f));
|
|
231
|
+
}
|
|
232
|
+
return u.round = function(e) {
|
|
233
|
+
return arguments.length ? (t = !!e, u) : t;
|
|
234
|
+
}, u.size = function(e) {
|
|
235
|
+
return arguments.length ? (n = +e[0], r = +e[1], u) : [n, r];
|
|
236
|
+
}, u.tile = function(t) {
|
|
237
|
+
return arguments.length ? (e = W(t), u) : e;
|
|
238
|
+
}, u.padding = function(e) {
|
|
239
|
+
return arguments.length ? u.paddingInner(e).paddingOuter(e) : u.paddingInner();
|
|
240
|
+
}, u.paddingInner = function(e) {
|
|
241
|
+
return arguments.length ? (a = typeof e == "function" ? e : K(+e), u) : a;
|
|
242
|
+
}, u.paddingOuter = function(e) {
|
|
243
|
+
return arguments.length ? u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e) : u.paddingTop();
|
|
244
|
+
}, u.paddingTop = function(e) {
|
|
245
|
+
return arguments.length ? (o = typeof e == "function" ? e : K(+e), u) : o;
|
|
246
|
+
}, u.paddingRight = function(e) {
|
|
247
|
+
return arguments.length ? (s = typeof e == "function" ? e : K(+e), u) : s;
|
|
248
|
+
}, u.paddingBottom = function(e) {
|
|
249
|
+
return arguments.length ? (c = typeof e == "function" ? e : K(+e), u) : c;
|
|
250
|
+
}, u.paddingLeft = function(e) {
|
|
251
|
+
return arguments.length ? (l = typeof e == "function" ? e : K(+e), u) : l;
|
|
252
|
+
}, u;
|
|
253
|
+
}
|
|
254
|
+
//#endregion
|
|
255
|
+
//#region node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-E7M64L7V.mjs
|
|
256
|
+
var Y = class {
|
|
257
|
+
constructor() {
|
|
258
|
+
this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = o, this.getAccTitle = f, this.setDiagramTitle = s, this.getDiagramTitle = a, this.getAccDescription = c, this.setAccDescription = i;
|
|
259
|
+
}
|
|
260
|
+
static {
|
|
261
|
+
n(this, "TreeMapDB");
|
|
262
|
+
}
|
|
263
|
+
getNodes() {
|
|
264
|
+
return this.nodes;
|
|
265
|
+
}
|
|
266
|
+
getConfig() {
|
|
267
|
+
let t = d, n = p();
|
|
268
|
+
return e({
|
|
269
|
+
...t.treemap,
|
|
270
|
+
...n.treemap ?? {}
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
addNode(e, t) {
|
|
274
|
+
this.nodes.push(e), this.levels.set(e, t), t === 0 && (this.outerNodes.push(e), this.root ??= e);
|
|
275
|
+
}
|
|
276
|
+
getRoot() {
|
|
277
|
+
return {
|
|
278
|
+
name: "",
|
|
279
|
+
children: this.outerNodes
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
addClass(e, t) {
|
|
283
|
+
let n = this.classes.get(e) ?? {
|
|
284
|
+
id: e,
|
|
285
|
+
styles: [],
|
|
286
|
+
textStyles: []
|
|
287
|
+
}, r = t.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
|
|
288
|
+
r && r.forEach((e) => {
|
|
289
|
+
x(e) && (n?.textStyles ? n.textStyles.push(e) : n.textStyles = [e]), n?.styles ? n.styles.push(e) : n.styles = [e];
|
|
290
|
+
}), this.classes.set(e, n);
|
|
291
|
+
}
|
|
292
|
+
getClasses() {
|
|
293
|
+
return this.classes;
|
|
294
|
+
}
|
|
295
|
+
getStylesForClass(e) {
|
|
296
|
+
return this.classes.get(e)?.styles ?? [];
|
|
297
|
+
}
|
|
298
|
+
clear() {
|
|
299
|
+
l(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
|
|
300
|
+
}
|
|
301
|
+
};
|
|
302
|
+
function X(e) {
|
|
303
|
+
if (!e.length) return [];
|
|
304
|
+
let t = [], n = [];
|
|
305
|
+
return e.forEach((e) => {
|
|
306
|
+
let r = {
|
|
307
|
+
name: e.name,
|
|
308
|
+
children: e.type === "Leaf" ? void 0 : []
|
|
309
|
+
};
|
|
310
|
+
for (r.classSelector = e?.classSelector, e?.cssCompiledStyles && (r.cssCompiledStyles = e.cssCompiledStyles), e.type === "Leaf" && e.value !== void 0 && (r.value = e.value); n.length > 0 && n[n.length - 1].level >= e.level;) n.pop();
|
|
311
|
+
if (n.length === 0) t.push(r);
|
|
312
|
+
else {
|
|
313
|
+
let e = n[n.length - 1].node;
|
|
314
|
+
e.children ? e.children.push(r) : e.children = [r];
|
|
315
|
+
}
|
|
316
|
+
e.type !== "Leaf" && n.push({
|
|
317
|
+
node: r,
|
|
318
|
+
level: e.level
|
|
319
|
+
});
|
|
320
|
+
}), t;
|
|
321
|
+
}
|
|
322
|
+
n(X, "buildHierarchy");
|
|
323
|
+
var ae = /* @__PURE__ */ n((e, t) => {
|
|
324
|
+
_(e, t);
|
|
325
|
+
let r = [];
|
|
326
|
+
for (let n of e.TreemapRows ?? []) n.$type === "ClassDefStatement" && t.addClass(n.className ?? "", n.styleText ?? "");
|
|
327
|
+
for (let n of e.TreemapRows ?? []) {
|
|
328
|
+
let e = n.item;
|
|
329
|
+
if (!e) continue;
|
|
330
|
+
let i = n.indent ? parseInt(n.indent) : 0, a = oe(e), o = e.classSelector ? t.getStylesForClass(e.classSelector) : [], s = o.length > 0 ? o : void 0, c = {
|
|
331
|
+
level: i,
|
|
332
|
+
name: a,
|
|
333
|
+
type: e.$type,
|
|
334
|
+
value: e.value,
|
|
335
|
+
classSelector: e.classSelector,
|
|
336
|
+
cssCompiledStyles: s
|
|
337
|
+
};
|
|
338
|
+
r.push(c);
|
|
339
|
+
}
|
|
340
|
+
let i = X(r), a = /* @__PURE__ */ n((e, n) => {
|
|
341
|
+
for (let r of e) t.addNode(r, n), r.children && r.children.length > 0 && a(r.children, n + 1);
|
|
342
|
+
}, "addNodesRecursively");
|
|
343
|
+
a(i, 0);
|
|
344
|
+
}, "populate"), oe = /* @__PURE__ */ n((e) => e.name ? String(e.name) : "", "getItemName"), Z = {
|
|
345
|
+
parser: { yy: void 0 },
|
|
346
|
+
parse: /* @__PURE__ */ n(async (e) => {
|
|
347
|
+
try {
|
|
348
|
+
let n = await v("treemap", e);
|
|
349
|
+
t.debug("Treemap AST:", n);
|
|
350
|
+
let r = Z.parser?.yy;
|
|
351
|
+
if (!(r instanceof Y)) throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
|
|
352
|
+
ae(n, r);
|
|
353
|
+
} catch (e) {
|
|
354
|
+
throw t.error("Error parsing treemap:", e), e;
|
|
355
|
+
}
|
|
356
|
+
}, "parse")
|
|
357
|
+
}, se = 10, Q = 10, $ = 25, ce = {
|
|
358
|
+
draw: /* @__PURE__ */ n((e, i, a, o) => {
|
|
359
|
+
let s = o.db, c = s.getConfig(), l = c.padding ?? se, d = s.getDiagramTitle(), f = s.getRoot(), { themeVariables: _ } = p();
|
|
360
|
+
if (!f) return;
|
|
361
|
+
let v = d ? 30 : 0, x = g(i), S = c.nodeWidth ? c.nodeWidth * Q : 960, C = c.nodeHeight ? c.nodeHeight * Q : 500, w = S, T = C + v;
|
|
362
|
+
x.attr("viewBox", `0 0 ${w} ${T}`), u(x, T, w, c.useMaxWidth);
|
|
363
|
+
let E;
|
|
364
|
+
try {
|
|
365
|
+
let e = c.valueFormat || ",";
|
|
366
|
+
if (e === "$0,0") E = /* @__PURE__ */ n((e) => "$" + h(",")(e), "valueFormat");
|
|
367
|
+
else if (e.startsWith("$") && e.includes(",")) {
|
|
368
|
+
let t = /\.\d+/.exec(e), r = t ? t[0] : "";
|
|
369
|
+
E = /* @__PURE__ */ n((e) => "$" + h("," + r)(e), "valueFormat");
|
|
370
|
+
} else if (e.startsWith("$")) {
|
|
371
|
+
let t = e.substring(1);
|
|
372
|
+
E = /* @__PURE__ */ n((e) => "$" + h(t || "")(e), "valueFormat");
|
|
373
|
+
} else E = h(e);
|
|
374
|
+
} catch (e) {
|
|
375
|
+
t.error("Error creating format function:", e), E = h(",");
|
|
376
|
+
}
|
|
377
|
+
let D = m().range([
|
|
378
|
+
"transparent",
|
|
379
|
+
_.cScale0,
|
|
380
|
+
_.cScale1,
|
|
381
|
+
_.cScale2,
|
|
382
|
+
_.cScale3,
|
|
383
|
+
_.cScale4,
|
|
384
|
+
_.cScale5,
|
|
385
|
+
_.cScale6,
|
|
386
|
+
_.cScale7,
|
|
387
|
+
_.cScale8,
|
|
388
|
+
_.cScale9,
|
|
389
|
+
_.cScale10,
|
|
390
|
+
_.cScale11
|
|
391
|
+
]), O = m().range([
|
|
392
|
+
"transparent",
|
|
393
|
+
_.cScalePeer0,
|
|
394
|
+
_.cScalePeer1,
|
|
395
|
+
_.cScalePeer2,
|
|
396
|
+
_.cScalePeer3,
|
|
397
|
+
_.cScalePeer4,
|
|
398
|
+
_.cScalePeer5,
|
|
399
|
+
_.cScalePeer6,
|
|
400
|
+
_.cScalePeer7,
|
|
401
|
+
_.cScalePeer8,
|
|
402
|
+
_.cScalePeer9,
|
|
403
|
+
_.cScalePeer10,
|
|
404
|
+
_.cScalePeer11
|
|
405
|
+
]), k = m().range([
|
|
406
|
+
_.cScaleLabel0,
|
|
407
|
+
_.cScaleLabel1,
|
|
408
|
+
_.cScaleLabel2,
|
|
409
|
+
_.cScaleLabel3,
|
|
410
|
+
_.cScaleLabel4,
|
|
411
|
+
_.cScaleLabel5,
|
|
412
|
+
_.cScaleLabel6,
|
|
413
|
+
_.cScaleLabel7,
|
|
414
|
+
_.cScaleLabel8,
|
|
415
|
+
_.cScaleLabel9,
|
|
416
|
+
_.cScaleLabel10,
|
|
417
|
+
_.cScaleLabel11
|
|
418
|
+
]);
|
|
419
|
+
d && x.append("text").attr("x", w / 2).attr("y", v / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(d);
|
|
420
|
+
let A = x.append("g").attr("transform", `translate(0, ${v})`).attr("class", "treemapContainer"), j = L(f).sum((e) => e.value ?? 0).sort((e, t) => (t.value ?? 0) - (e.value ?? 0)), M = ie().size([S, C]).paddingTop((e) => e.children && e.children.length > 0 ? $ + Q : 0).paddingInner(l).paddingLeft((e) => e.children && e.children.length > 0 ? Q : 0).paddingRight((e) => e.children && e.children.length > 0 ? Q : 0).paddingBottom((e) => e.children && e.children.length > 0 ? Q : 0).round(!0)(j), N = M.descendants().filter((e) => e.children && e.children.length > 0), P = A.selectAll(".treemapSection").data(N).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
421
|
+
P.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", $).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", .6).attr("stroke-width", .6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), P.append("clipPath").attr("id", (e, t) => `clip-section-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", $), P.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, t) => `treemapSection section${t}`).attr("fill", (e) => D(e.data.name)).attr("fill-opacity", .6).attr("stroke", (e) => O(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", .4).attr("style", (e) => {
|
|
422
|
+
if (e.depth === 0) return "display: none;";
|
|
423
|
+
let t = b({ cssCompiledStyles: e.data.cssCompiledStyles });
|
|
424
|
+
return t.nodeStyles + ";" + t.borderStyles.join(";");
|
|
425
|
+
}), P.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", $ / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(e) {
|
|
426
|
+
if (e.depth === 0) return;
|
|
427
|
+
let t = r(this), n = e.data.name;
|
|
428
|
+
t.text(n);
|
|
429
|
+
let i = e.x1 - e.x0, a;
|
|
430
|
+
a = c.showValues !== !1 && e.value ? i - 10 - 30 - 10 - 6 : i - 6 - 6;
|
|
431
|
+
let o = Math.max(15, a), s = t.node();
|
|
432
|
+
if (s.getComputedTextLength() > o) {
|
|
433
|
+
let e = n;
|
|
434
|
+
for (; e.length > 0;) {
|
|
435
|
+
if (e = n.substring(0, e.length - 1), e.length === 0) {
|
|
436
|
+
t.text("..."), s.getComputedTextLength() > o && t.text("");
|
|
437
|
+
break;
|
|
438
|
+
}
|
|
439
|
+
if (t.text(e + "..."), s.getComputedTextLength() <= o) break;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}), c.showValues !== !1 && P.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", $ / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? E(e.value) : "").attr("font-style", "italic").attr("style", (e) => e.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
|
|
443
|
+
let F = M.leaves(), I = A.selectAll(".treemapLeafGroup").data(F).enter().append("g").attr("class", (e, t) => `treemapNode treemapLeafGroup leaf${t}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
444
|
+
I.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("style", (e) => b({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", .3).attr("stroke", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("stroke-width", 3), I.append("clipPath").attr("id", (e, t) => `clip-${i}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), I.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => "text-anchor: middle; dominant-baseline: middle; font-size: 38px;fill:" + k(e.data.name) + ";" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.data.name).each(function(e) {
|
|
445
|
+
let t = r(this), n = e.x1 - e.x0, i = e.y1 - e.y0, a = t.node(), o = n - 8, s = i - 8;
|
|
446
|
+
if (o < 10 || s < 10) {
|
|
447
|
+
t.style("display", "none");
|
|
448
|
+
return;
|
|
449
|
+
}
|
|
450
|
+
let c = parseInt(t.style("font-size"), 10), l = .6;
|
|
451
|
+
for (; a.getComputedTextLength() > o && c > 8;) c--, t.style("font-size", `${c}px`);
|
|
452
|
+
let u = Math.max(6, Math.min(28, Math.round(c * l))), d = c + 2 + u;
|
|
453
|
+
for (; d > s && c > 8 && (c--, u = Math.max(6, Math.min(28, Math.round(c * l))), !(u < 6 && c === 8));) t.style("font-size", `${c}px`), d = c + 2 + u;
|
|
454
|
+
t.style("font-size", `${c}px`), (a.getComputedTextLength() > o || c < 8 || s < c) && t.style("display", "none");
|
|
455
|
+
}), c.showValues !== !1 && I.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
|
|
456
|
+
return (e.y1 - e.y0) / 2;
|
|
457
|
+
}).attr("style", (e) => "text-anchor: middle; dominant-baseline: hanging; font-size: 28px;fill:" + k(e.data.name) + ";" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${i}-${t})`).text((e) => e.value ? E(e.value) : "").each(function(e) {
|
|
458
|
+
let t = r(this), n = this.parentNode;
|
|
459
|
+
if (!n) {
|
|
460
|
+
t.style("display", "none");
|
|
461
|
+
return;
|
|
462
|
+
}
|
|
463
|
+
let i = r(n).select(".treemapLabel");
|
|
464
|
+
if (i.empty() || i.style("display") === "none") {
|
|
465
|
+
t.style("display", "none");
|
|
466
|
+
return;
|
|
467
|
+
}
|
|
468
|
+
let a = parseFloat(i.style("font-size")), o = Math.max(6, Math.min(28, Math.round(a * .6)));
|
|
469
|
+
t.style("font-size", `${o}px`);
|
|
470
|
+
let s = (e.y1 - e.y0) / 2 + a / 2 + 2;
|
|
471
|
+
t.attr("y", s);
|
|
472
|
+
let c = e.x1 - e.x0, l = e.y1 - e.y0 - 4, u = c - 8;
|
|
473
|
+
t.node().getComputedTextLength() > u || s + o > l || o < 6 ? t.style("display", "none") : t.style("display", null);
|
|
474
|
+
}), y(x, c.diagramPadding ?? 8, "flowchart", c?.useMaxWidth || !1);
|
|
475
|
+
}, "draw"),
|
|
476
|
+
getClasses: /* @__PURE__ */ n(function(e, t) {
|
|
477
|
+
return t.db.getClasses();
|
|
478
|
+
}, "getClasses")
|
|
479
|
+
}, le = {
|
|
480
|
+
sectionStrokeColor: "black",
|
|
481
|
+
sectionStrokeWidth: "1",
|
|
482
|
+
sectionFillColor: "#efefef",
|
|
483
|
+
leafStrokeColor: "black",
|
|
484
|
+
leafStrokeWidth: "1",
|
|
485
|
+
leafFillColor: "#efefef",
|
|
486
|
+
labelColor: "black",
|
|
487
|
+
labelFontSize: "12px",
|
|
488
|
+
valueFontSize: "10px",
|
|
489
|
+
valueColor: "black",
|
|
490
|
+
titleColor: "black",
|
|
491
|
+
titleFontSize: "14px"
|
|
492
|
+
}, ue = {
|
|
493
|
+
parser: Z,
|
|
494
|
+
get db() {
|
|
495
|
+
return new Y();
|
|
496
|
+
},
|
|
497
|
+
renderer: ce,
|
|
498
|
+
styles: /* @__PURE__ */ n(({ treemap: t } = {}) => {
|
|
499
|
+
let n = e(le, t);
|
|
500
|
+
return `
|
|
501
|
+
.treemapNode.section {
|
|
502
|
+
stroke: ${n.sectionStrokeColor};
|
|
503
|
+
stroke-width: ${n.sectionStrokeWidth};
|
|
504
|
+
fill: ${n.sectionFillColor};
|
|
505
|
+
}
|
|
506
|
+
.treemapNode.leaf {
|
|
507
|
+
stroke: ${n.leafStrokeColor};
|
|
508
|
+
stroke-width: ${n.leafStrokeWidth};
|
|
509
|
+
fill: ${n.leafFillColor};
|
|
510
|
+
}
|
|
511
|
+
.treemapLabel {
|
|
512
|
+
fill: ${n.labelColor};
|
|
513
|
+
font-size: ${n.labelFontSize};
|
|
514
|
+
}
|
|
515
|
+
.treemapValue {
|
|
516
|
+
fill: ${n.valueColor};
|
|
517
|
+
font-size: ${n.valueFontSize};
|
|
518
|
+
}
|
|
519
|
+
.treemapTitle {
|
|
520
|
+
fill: ${n.titleColor};
|
|
521
|
+
font-size: ${n.titleFontSize};
|
|
522
|
+
}
|
|
523
|
+
`;
|
|
524
|
+
}, "getStyles")
|
|
525
|
+
};
|
|
526
|
+
//#endregion
|
|
527
|
+
export { ue as diagram };
|