@antdv-next/x 1.2.0 → 1.2.1-beta.1
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/actions/ActionsFeedback.js +1 -1
- package/dist/actions/ActionsItem.js +1 -1
- package/dist/bubble/hooks/useCompatibleScroll.js +1 -1
- package/dist/code-highlighter/CodeHighlighter.js +2 -1
- package/dist/code-highlighter/shiki.js +1 -1
- package/dist/code-highlighter/style/index.d.ts +40 -0
- package/dist/code-highlighter/style/index.js +25 -13
- package/dist/folder/Folder.js +2 -1
- package/dist/index.umd.js +63 -40
- package/dist/mermaid/Mermaid.js +1 -1
- package/dist/package.js +1 -1
- package/dist/sender/components/SlotTextArea.js +3 -2
- package/dist/sender/components/SpeechButton/RecordingIcon.js +1 -1
- package/dist/sender/hooks/use-speech.js +2 -1
- package/dist/suggestion/useActive.js +0 -2
- package/dist/theme/themes/seed.js +3 -0
- package/dist/theme/util/alias.js +5 -5
- package/dist/think/Think.js +3 -2
- package/dist/thought-chain/Node.js +3 -2
- package/dist/thought-chain/ThoughtChain.js +2 -2
- package/dist/x-provider/index.js +3 -2
- package/es/Serializer-Sc9uEpQk.js +262 -0
- package/es/{_basePickBy-DFHEGO2M.js → _basePickBy-CrbncDqR.js} +2 -2
- package/es/{_baseUniq-BlS7rXTs.js → _baseUniq-B-qU_Imh.js} +9 -9
- package/es/antdv-next-x.esm.js +2887 -2875
- package/es/{arc-BuXEd18J.js → arc-NI3ROx5X.js} +2 -2
- package/es/architecture-PBZL5I3N-BRGGaMu3.js +3 -0
- package/es/{architectureDiagram-2XIMDMQ5-CmfsCwJk.js → architectureDiagram-2XIMDMQ5-OvuktNfv.js} +100 -110
- package/es/{blockDiagram-WCTKOSBZ-lJAan65A.js → blockDiagram-WCTKOSBZ-CS-kh74L.js} +42 -43
- package/es/{c4Diagram-IC4MRINW-B1c2x_1Q.js → c4Diagram-IC4MRINW-BZGIF4Dk.js} +17 -25
- package/es/{channel-DFgF_2F7.js → channel-DrSSYyxp.js} +1 -1
- package/es/{chunk-4BX2VUAB-J2N81Fpp.js → chunk-4BX2VUAB-Rm8-te6i.js} +1 -1
- package/es/{chunk-55IACEB6-DGtfGRgi.js → chunk-55IACEB6-Tre45n-8.js} +1 -1
- package/es/{chunk-7R4GIKGN-QT6IorJ_.js → chunk-7R4GIKGN-scch4dXY.js} +10 -10
- package/es/{chunk-FMBD7UC4-DCcRjunY.js → chunk-FMBD7UC4-JmekSPZP.js} +1 -1
- package/es/{chunk-GEFDOKGD-BWpC-zoH.js → chunk-GEFDOKGD-BEzc6NZw.js} +31 -71
- package/es/{chunk-JSJVCQXG-D8_heHOp.js → chunk-JSJVCQXG-_l_UVbaa.js} +3 -3
- package/es/{chunk-KX2RTZJC-D5cc4rj6.js → chunk-KX2RTZJC-BUWM8pJz.js} +2 -2
- package/es/{chunk-KYZI473N-BHJ3T5Zv.js → chunk-KYZI473N-BSgb_E0Q.js} +11 -11
- package/es/{chunk-MX3YWQON-BxE-Aq9c.js → chunk-MX3YWQON-D602L8pU.js} +1 -1
- package/es/{chunk-NQ4KR5QH-EYQBXkqP.js → chunk-NQ4KR5QH-BPQV0i93.js} +41 -45
- package/es/{chunk-O4XLMI2P-qjOoGpnx.js → chunk-O4XLMI2P-BMqc3iYa.js} +15 -14
- package/es/{chunk-PQ6SQG4A-D3jtNCWN.js → chunk-PQ6SQG4A-DcYrzB1X.js} +2 -2
- package/es/{chunk-PU5JKC2W-DdP8BS-S.js → chunk-PU5JKC2W-TuGY6X1n.js} +28 -24
- package/es/{chunk-QZHKN3VN-CW3cFN-h.js → chunk-QZHKN3VN-CKbD02cl.js} +1 -1
- package/es/{chunk-WL4C6EOR-BDbxJyGk.js → chunk-WL4C6EOR-B31ErTFp.js} +19 -17
- package/es/{chunk-XZSTWKYB-CucN1XvM.js → chunk-XZSTWKYB-DYKLwCEy.js} +1888 -1785
- package/es/{chunk-YBOYWFTD-CvaddD9G.js → chunk-YBOYWFTD-CRiKEIiS.js} +5 -5
- package/es/classDiagram-VBA2DB6C-BDqwxUdU.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-DdmOjeUb.js +29 -0
- package/es/{clone-r3YukIBB.js → clone-yzFtXY5G.js} +1 -1
- package/es/{cose-bilkent-S5V4N54A-B5OQuIhl.js → cose-bilkent-S5V4N54A-BM90wTBk.js} +43 -48
- package/es/css-CRY9BUqw.js +2 -0
- package/es/{cytoscape.esm-i2CZcWd-.js → cytoscape.esm-B_-hKv4-.js} +276 -321
- package/es/{dagre-5aGJFKmT.js → dagre-DCYVBij1.js} +25 -27
- package/es/{dagre-KLK3FWXG-BI5QQMXo.js → dagre-KLK3FWXG-Ced70SgJ.js} +21 -17
- package/es/{defaultLocale-bckJcYh1.js → defaultLocale-yzzuPw6P.js} +1 -4
- package/es/{diagram-E7M64L7V-Dz62Vz_a.js → diagram-E7M64L7V-xZCloH_i.js} +72 -70
- package/es/{diagram-IFDJBPK2-9fjvFkSc.js → diagram-IFDJBPK2-BTmFZhvz.js} +21 -21
- package/es/{diagram-P4PSJMXO-BlX6jFjZ.js → diagram-P4PSJMXO-DX_3B0LB.js} +16 -16
- package/es/{dist-BX_roQzC.js → dist-h4ggShny.js} +1 -1
- package/es/{erDiagram-INFDFZHY-BcRXu8Cp.js → erDiagram-INFDFZHY-MJ_HVY-7.js} +22 -22
- package/es/{flowDiagram-PKNHOUZH-UeyfgU8z.js → flowDiagram-PKNHOUZH-CQIRy1sx.js} +35 -42
- package/es/{ganttDiagram-A5KZAMGK-txCzqgQ5.js → ganttDiagram-A5KZAMGK-Dw9bjWjx.js} +39 -52
- package/es/gitGraph-HDMCJU4V-oForq_Vw.js +3 -0
- package/es/{gitGraphDiagram-K3NZZRJ6-DghWYaFU.js → gitGraphDiagram-K3NZZRJ6-Gk6FiGbZ.js} +21 -21
- package/es/{graphlib-dRkI1OCL.js → graphlib-BMvIh7N7.js} +4 -4
- package/es/{html-CWvNBSxv.js → html-C4rrmxbP.js} +2 -2
- package/es/info-3K5VOQVL-0F-ZLEMx.js +3 -0
- package/es/{infoDiagram-LFFYTUFH-CA-vlAvP.js → infoDiagram-LFFYTUFH-CS64-uil.js} +9 -9
- package/es/{init-B75p2clj.js → init-sjaVZO3f.js} +1 -3
- package/es/{isArrayLikeObject-jl2bjkAJ.js → isArrayLikeObject-Dqk_yOP-.js} +5 -4
- package/es/{ishikawaDiagram-PHBUUO56-DjdpS9Lb.js → ishikawaDiagram-PHBUUO56-C_Hw5UnV.js} +13 -13
- package/es/javascript--0qAxhnA.js +2 -0
- package/es/{journeyDiagram-4ABVD52K-CIJfC1fp.js → journeyDiagram-4ABVD52K-CFFyM4Ar.js} +16 -16
- package/es/{kanban-definition-K7BYSVSG-CC2vwGck.js → kanban-definition-K7BYSVSG-B_R-mA10.js} +27 -28
- package/es/{katex-DCMiIo1z.js → katex-C-qdUNlg.js} +78 -68
- package/es/{line-Cu9NTacD.js → line-D05MESIS.js} +3 -3
- package/es/{linear-C0rAYYmp.js → linear-B8tPH2Pw.js} +4 -6
- package/es/mermaid-parser.core-C_69nk7j.js +259 -0
- package/es/mermaid.core-BVGVwWcu.js +1914 -0
- package/es/{mindmap-definition-YRQLILUH-BzTYDYmK.js → mindmap-definition-YRQLILUH-qgGUYYe3.js} +26 -28
- package/es/{ordinal-F3U6aXtP.js → ordinal-CNQzPcrr.js} +1 -1
- package/es/packet-RMMSAZCW-CeqtQQ_e.js +3 -0
- package/es/{path-Dm3C8WEs.js → path-CqWAdh69.js} +4 -7
- package/es/pie-UPGHQEXC-BI60FhK4.js +3 -0
- package/es/{pieDiagram-SKSYHLDU-COvqE_C6.js → pieDiagram-SKSYHLDU-B8-AVOmP.js} +47 -47
- package/es/{quadrantDiagram-337W2JSQ-Dgv8ccjt.js → quadrantDiagram-337W2JSQ-C2Z0CN4Z.js} +10 -10
- package/es/radar-KQ55EAFF-CRwOOFw0.js +3 -0
- package/es/{requirementDiagram-Z7DCOOCP-B2NyhxO-.js → requirementDiagram-Z7DCOOCP-Cdj7PwWC.js} +19 -19
- package/es/{chunk-WQLz0Won.js → rolldown-runtime-CEY2VRuR.js} +10 -3
- package/es/{rough.esm-BhGP2Udb.js → rough.esm-D1ibUQD-.js} +1 -1
- package/es/{sankeyDiagram-WA2Y5GQK-BfnH_gpl.js → sankeyDiagram-WA2Y5GQK-BNmU-dM1.js} +10 -10
- package/es/{sequenceDiagram-2WXFIKYE-DXssVQOF.js → sequenceDiagram-2WXFIKYE-pj0uPf22.js} +114 -126
- package/es/{shiki-runtime-D0MO6er5.js → shiki-runtime-7QG17np_.js} +978 -983
- package/es/{src-CUQ6oOYk.js → src-Dynw_Lub.js} +26 -26
- package/es/{stateDiagram-RAJIS63D-DvDLfupV.js → stateDiagram-RAJIS63D-BgCfMnGb.js} +18 -18
- package/es/stateDiagram-v2-FVOUBMTO-ByMhP6Xo.js +27 -0
- package/es/{timeline-definition-YZTLITO2-ErcRjbZf.js → timeline-definition-YZTLITO2-Bj5QKnBI.js} +10 -10
- package/es/treemap-KZPCXAKY-BlOAFUbR.js +3 -0
- package/es/{vennDiagram-LZ73GAT5-CDTZUtc8.js → vennDiagram-LZ73GAT5-lpWcIvN6.js} +16 -16
- package/es/{xychartDiagram-JWTSCODW-Y21jBOTg.js → xychartDiagram-JWTSCODW-De1M-7Yz.js} +26 -30
- package/package.json +1 -1
- package/es/Serializer-D1JYN1kI.js +0 -262
- package/es/architecture-PBZL5I3N-D7tS55xM.js +0 -3
- package/es/chunk-7E7YKBS2-CL2d4WAf.js +0 -23
- package/es/chunk-C72U2L5F-OHTVpS-m.js +0 -23
- package/es/chunk-EGIJ26TM-DyMPGYrB.js +0 -23
- package/es/chunk-GLR3WWYH-DiXcKb5Y.js +0 -41
- package/es/chunk-HHEYEP7N-Cxc7E4dX.js +0 -9
- package/es/chunk-L3YUKLVL-7oGaUOdc.js +0 -23
- package/es/chunk-OZEHJAEY-D82nx27s.js +0 -64
- package/es/chunk-R5LLSJPH-CreI2kO9.js +0 -35
- package/es/chunk-XIRO2GV7-S5KkbVnN.js +0 -30
- package/es/chunk-XPW4576I-B0KVSHwE.js +0 -1146
- package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +0 -29
- package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +0 -29
- package/es/css-Bi5OTYo2.js +0 -2
- package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +0 -3
- package/es/info-3K5VOQVL-COqdvM99.js +0 -3
- package/es/isEmpty-CmA-HYrg.js +0 -35
- package/es/javascript-CjdDmufJ.js +0 -2
- package/es/mermaid-parser.core-7Wn2L29P.js +0 -59
- package/es/mermaid.core-Bvy_Q6Hu.js +0 -680
- package/es/packet-RMMSAZCW-2PTjWKLd.js +0 -3
- package/es/pie-UPGHQEXC-Du8-k-EA.js +0 -3
- package/es/radar-KQ55EAFF-jJOhyjxC.js +0 -3
- package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +0 -27
- package/es/treemap-KZPCXAKY-CvZAIYVa.js +0 -3
- /package/es/{array-CWNufkl9.js → array-CApNbSU9.js} +0 -0
- /package/es/{css-v5r4VtJ6.js → css-DVAQAvTD.js} +0 -0
- /package/es/{javascript-o_jd8Ivw.js → javascript-Bk0bJ4nQ.js} +0 -0
- /package/es/{json-DqMXJlo0.js → json-CAwkMa5O.js} +0 -0
- /package/es/{math-CoDOuve-.js → math-BZ_bUCIA.js} +0 -0
- /package/es/{python-CQPNJfOt.js → python-D0AaDoWC.js} +0 -0
- /package/es/{typescript-Ck7Pr_E3.js → typescript-DWy2KXvB.js} +0 -0
package/es/{mindmap-definition-YRQLILUH-BzTYDYmK.js → mindmap-definition-YRQLILUH-qgGUYYe3.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import "./chunk-GEFDOKGD-
|
|
3
|
-
import { $ as n, L as r, O as i, Q as a, b as o, d as s, tt as c } from "./chunk-7R4GIKGN-
|
|
4
|
-
import "./chunk-PU5JKC2W-
|
|
5
|
-
import "./chunk-MX3YWQON-
|
|
6
|
-
import "./chunk-YBOYWFTD-
|
|
7
|
-
import { t as l } from "./chunk-55IACEB6-
|
|
8
|
-
import { t as u } from "./chunk-KX2RTZJC-
|
|
9
|
-
import "./chunk-PQ6SQG4A-
|
|
10
|
-
import "./chunk-KYZI473N-
|
|
11
|
-
import "./chunk-O4XLMI2P-
|
|
12
|
-
import {
|
|
1
|
+
import { g as e, h as t } from "./src-Dynw_Lub.js";
|
|
2
|
+
import "./chunk-GEFDOKGD-BEzc6NZw.js";
|
|
3
|
+
import { $ as n, L as r, O as i, Q as a, b as o, d as s, tt as c } from "./chunk-7R4GIKGN-scch4dXY.js";
|
|
4
|
+
import "./chunk-PU5JKC2W-TuGY6X1n.js";
|
|
5
|
+
import "./chunk-MX3YWQON-D602L8pU.js";
|
|
6
|
+
import "./chunk-YBOYWFTD-CRiKEIiS.js";
|
|
7
|
+
import { t as l } from "./chunk-55IACEB6-Tre45n-8.js";
|
|
8
|
+
import { t as u } from "./chunk-KX2RTZJC-BUWM8pJz.js";
|
|
9
|
+
import "./chunk-PQ6SQG4A-DcYrzB1X.js";
|
|
10
|
+
import "./chunk-KYZI473N-BSgb_E0Q.js";
|
|
11
|
+
import "./chunk-O4XLMI2P-BMqc3iYa.js";
|
|
12
|
+
import { i as d, r as f } from "./mermaid.core-BVGVwWcu.js";
|
|
13
13
|
//#region ../../node_modules/.pnpm/uuid@11.1.0/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));
|
|
@@ -18,7 +18,7 @@ function m(e, t = 0) {
|
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js
|
|
21
|
-
var h, g = new Uint8Array(16);
|
|
21
|
+
var h, g = /* @__PURE__ */ new Uint8Array(16);
|
|
22
22
|
function _() {
|
|
23
23
|
if (!h) {
|
|
24
24
|
if (typeof crypto > "u" || !crypto.getRandomValues) throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
@@ -195,13 +195,11 @@ var b = (function() {
|
|
|
195
195
|
type: r.nodeType.DEFAULT
|
|
196
196
|
};
|
|
197
197
|
break;
|
|
198
|
-
case 27:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
};
|
|
204
|
-
break;
|
|
198
|
+
case 27: r.getLogger().trace("node found ..", a[s - 3]), this.$ = {
|
|
199
|
+
id: a[s - 3],
|
|
200
|
+
descr: a[s - 1],
|
|
201
|
+
type: r.getType(a[s - 2], a[s])
|
|
202
|
+
};
|
|
205
203
|
}
|
|
206
204
|
}, "anonymous"),
|
|
207
205
|
table: [
|
|
@@ -346,7 +344,7 @@ var b = (function() {
|
|
|
346
344
|
var v = h.yylloc;
|
|
347
345
|
o.push(v);
|
|
348
346
|
var y = h.options && h.options.ranges;
|
|
349
|
-
typeof g.yy.parseError == "function" ?
|
|
347
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
350
348
|
function b(e) {
|
|
351
349
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
352
350
|
}
|
|
@@ -499,10 +497,12 @@ var b = (function() {
|
|
|
499
497
|
if (this._backtrack) {
|
|
500
498
|
t = !1;
|
|
501
499
|
continue;
|
|
502
|
-
}
|
|
503
|
-
|
|
500
|
+
}
|
|
501
|
+
return !1;
|
|
502
|
+
}
|
|
503
|
+
if (!this.options.flex) break;
|
|
504
504
|
}
|
|
505
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
505
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
506
506
|
text: "",
|
|
507
507
|
token: null,
|
|
508
508
|
line: this.yylineno
|
|
@@ -725,9 +725,7 @@ var x = b, S = 12, C = {
|
|
|
725
725
|
switch (a) {
|
|
726
726
|
case this.nodeType.ROUNDED_RECT:
|
|
727
727
|
case this.nodeType.RECT:
|
|
728
|
-
case this.nodeType.HEXAGON:
|
|
729
|
-
u *= 2;
|
|
730
|
-
break;
|
|
728
|
+
case this.nodeType.HEXAGON: u *= 2;
|
|
731
729
|
}
|
|
732
730
|
let d = {
|
|
733
731
|
id: this.count++,
|
|
@@ -779,7 +777,7 @@ var x = b, S = 12, C = {
|
|
|
779
777
|
}
|
|
780
778
|
}
|
|
781
779
|
assignSections(e, t) {
|
|
782
|
-
if (e.level === 0 ?
|
|
780
|
+
if (e.section = e.level === 0 ? void 0 : t, e.children) for (let [n, r] of e.children.entries()) {
|
|
783
781
|
let i = e.level === 0 ? n % (S - 1) : t;
|
|
784
782
|
this.assignSections(r, i);
|
|
785
783
|
}
|
|
@@ -55,20 +55,17 @@ var o = class {
|
|
|
55
55
|
return this._;
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
|
-
|
|
59
|
-
return new o();
|
|
60
|
-
}
|
|
61
|
-
s.prototype = o.prototype;
|
|
58
|
+
o.prototype;
|
|
62
59
|
//#endregion
|
|
63
60
|
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.js
|
|
64
|
-
function
|
|
61
|
+
function s(e) {
|
|
65
62
|
return function() {
|
|
66
63
|
return e;
|
|
67
64
|
};
|
|
68
65
|
}
|
|
69
66
|
//#endregion
|
|
70
67
|
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.js
|
|
71
|
-
function
|
|
68
|
+
function c(e) {
|
|
72
69
|
let t = 3;
|
|
73
70
|
return e.digits = function(n) {
|
|
74
71
|
if (!arguments.length) return t;
|
|
@@ -82,4 +79,4 @@ function l(e) {
|
|
|
82
79
|
}, () => new o(t);
|
|
83
80
|
}
|
|
84
81
|
//#endregion
|
|
85
|
-
export {
|
|
82
|
+
export { s as n, c as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as e, h as t } from "./src-
|
|
2
|
-
import { f as n, r } from "./chunk-GEFDOKGD-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as v } from "./
|
|
9
|
-
import { t as y } from "./
|
|
10
|
-
import { t as b } from "./chunk-4BX2VUAB-
|
|
11
|
-
import {
|
|
1
|
+
import { g as e, h as t } from "./src-Dynw_Lub.js";
|
|
2
|
+
import { f as n, r } from "./chunk-GEFDOKGD-BEzc6NZw.js";
|
|
3
|
+
import { t as i } from "./mermaid-parser.core-C_69nk7j.js";
|
|
4
|
+
import { B as a, C as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-scch4dXY.js";
|
|
5
|
+
import { t as h } from "./ordinal-CNQzPcrr.js";
|
|
6
|
+
import { n as g } from "./path-CqWAdh69.js";
|
|
7
|
+
import { p as _ } from "./math-BZ_bUCIA.js";
|
|
8
|
+
import { t as v } from "./arc-NI3ROx5X.js";
|
|
9
|
+
import { t as y } from "./array-CApNbSU9.js";
|
|
10
|
+
import { t as b } from "./chunk-4BX2VUAB-Rm8-te6i.js";
|
|
11
|
+
import { a as x } from "./mermaid.core-BVGVwWcu.js";
|
|
12
12
|
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.js
|
|
13
13
|
function S(e, t) {
|
|
14
14
|
return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
@@ -21,55 +21,55 @@ function C(e) {
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.js
|
|
23
23
|
function w() {
|
|
24
|
-
var e = C, t = S, n = null, r =
|
|
24
|
+
var e = C, t = S, n = null, r = g(0), i = g(_), a = g(0);
|
|
25
25
|
function o(o) {
|
|
26
|
-
var s, c = (o =
|
|
26
|
+
var s, c = (o = y(o)).length, l, u, d = 0, f = Array(c), p = Array(c), m = +r.apply(this, arguments), h = Math.min(_, Math.max(-_, i.apply(this, arguments) - m)), g, v = Math.min(Math.abs(h) / c, a.apply(this, arguments)), b = v * (h < 0 ? -1 : 1), x;
|
|
27
27
|
for (s = 0; s < c; ++s) (x = p[f[s] = s] = +e(o[s], s, o)) > 0 && (d += x);
|
|
28
28
|
for (t == null ? n != null && f.sort(function(e, t) {
|
|
29
29
|
return n(o[e], o[t]);
|
|
30
30
|
}) : f.sort(function(e, n) {
|
|
31
31
|
return t(p[e], p[n]);
|
|
32
|
-
}), s = 0, u = d ? (h - c * b) / d : 0; s < c; ++s, m =
|
|
32
|
+
}), s = 0, u = d ? (h - c * b) / d : 0; s < c; ++s, m = g) l = f[s], x = p[l], g = m + (x > 0 ? x * u : 0) + b, p[l] = {
|
|
33
33
|
data: o[l],
|
|
34
34
|
index: s,
|
|
35
35
|
value: x,
|
|
36
36
|
startAngle: m,
|
|
37
|
-
endAngle:
|
|
38
|
-
padAngle:
|
|
37
|
+
endAngle: g,
|
|
38
|
+
padAngle: v
|
|
39
39
|
};
|
|
40
40
|
return p;
|
|
41
41
|
}
|
|
42
42
|
return o.value = function(t) {
|
|
43
|
-
return arguments.length ? (e = typeof t == "function" ? t :
|
|
43
|
+
return arguments.length ? (e = typeof t == "function" ? t : g(+t), o) : e;
|
|
44
44
|
}, o.sortValues = function(e) {
|
|
45
45
|
return arguments.length ? (t = e, n = null, o) : t;
|
|
46
46
|
}, o.sort = function(e) {
|
|
47
47
|
return arguments.length ? (n = e, t = null, o) : n;
|
|
48
48
|
}, o.startAngle = function(e) {
|
|
49
|
-
return arguments.length ? (r = typeof e == "function" ? e :
|
|
49
|
+
return arguments.length ? (r = typeof e == "function" ? e : g(+e), o) : r;
|
|
50
50
|
}, o.endAngle = function(e) {
|
|
51
|
-
return arguments.length ? (i = typeof e == "function" ? e :
|
|
51
|
+
return arguments.length ? (i = typeof e == "function" ? e : g(+e), o) : i;
|
|
52
52
|
}, o.padAngle = function(e) {
|
|
53
|
-
return arguments.length ? (a = typeof e == "function" ? e :
|
|
53
|
+
return arguments.length ? (a = typeof e == "function" ? e : g(+e), o) : a;
|
|
54
54
|
}, o;
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-SKSYHLDU.mjs
|
|
58
|
-
var T =
|
|
58
|
+
var T = p.pie, E = {
|
|
59
59
|
sections: /* @__PURE__ */ new Map(),
|
|
60
60
|
showData: !1,
|
|
61
61
|
config: T
|
|
62
62
|
}, D = E.sections, O = E.showData, k = structuredClone(T), A = {
|
|
63
63
|
getConfig: /* @__PURE__ */ t(() => structuredClone(k), "getConfig"),
|
|
64
64
|
clear: /* @__PURE__ */ t(() => {
|
|
65
|
-
D = /* @__PURE__ */ new Map(), O = E.showData,
|
|
65
|
+
D = /* @__PURE__ */ new Map(), O = E.showData, u();
|
|
66
66
|
}, "clear"),
|
|
67
|
-
setDiagramTitle:
|
|
68
|
-
getDiagramTitle:
|
|
69
|
-
setAccTitle:
|
|
70
|
-
getAccTitle:
|
|
71
|
-
setAccDescription:
|
|
72
|
-
getAccDescription:
|
|
67
|
+
setDiagramTitle: c,
|
|
68
|
+
getDiagramTitle: o,
|
|
69
|
+
setAccTitle: s,
|
|
70
|
+
getAccTitle: m,
|
|
71
|
+
setAccDescription: a,
|
|
72
|
+
getAccDescription: l,
|
|
73
73
|
addSection: /* @__PURE__ */ t(({ label: t, value: n }) => {
|
|
74
74
|
if (n < 0) throw Error(`"${t}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);
|
|
75
75
|
D.has(t) || (D.set(t, n), e.debug(`added new section: ${t}, with value: ${n}`));
|
|
@@ -82,7 +82,7 @@ var T = f.pie, E = {
|
|
|
82
82
|
}, j = /* @__PURE__ */ t((e, t) => {
|
|
83
83
|
b(e, t), t.setShowData(e.showData), e.sections.map(t.addSection);
|
|
84
84
|
}, "populateDb"), M = { parse: /* @__PURE__ */ t(async (t) => {
|
|
85
|
-
let n = await
|
|
85
|
+
let n = await i("pie", t);
|
|
86
86
|
e.debug(n), j(n, A);
|
|
87
87
|
}, "parse") }, N = /* @__PURE__ */ t((e) => `
|
|
88
88
|
.pieCircle{
|
|
@@ -123,31 +123,31 @@ var T = f.pie, E = {
|
|
|
123
123
|
db: A,
|
|
124
124
|
renderer: { draw: /* @__PURE__ */ t((t, i, a, o) => {
|
|
125
125
|
e.debug("rendering pie chart\n" + t);
|
|
126
|
-
let s = o.db, c =
|
|
126
|
+
let s = o.db, c = d(), l = r(s.getConfig(), c.pie), u = x(i), p = u.append("g");
|
|
127
127
|
p.attr("transform", "translate(225,225)");
|
|
128
|
-
let { themeVariables:
|
|
128
|
+
let { themeVariables: m } = c, [g] = n(m.pieOuterStrokeWidth);
|
|
129
129
|
g ??= 2;
|
|
130
|
-
let
|
|
130
|
+
let _ = l.textPosition, y = v().innerRadius(0).outerRadius(185), b = v().innerRadius(185 * _).outerRadius(185 * _);
|
|
131
131
|
p.append("circle").attr("cx", 0).attr("cy", 0).attr("r", 185 + g / 2).attr("class", "pieOuterCircle");
|
|
132
132
|
let S = s.getSections(), C = P(S), w = [
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
133
|
+
m.pie1,
|
|
134
|
+
m.pie2,
|
|
135
|
+
m.pie3,
|
|
136
|
+
m.pie4,
|
|
137
|
+
m.pie5,
|
|
138
|
+
m.pie6,
|
|
139
|
+
m.pie7,
|
|
140
|
+
m.pie8,
|
|
141
|
+
m.pie9,
|
|
142
|
+
m.pie10,
|
|
143
|
+
m.pie11,
|
|
144
|
+
m.pie12
|
|
145
145
|
], T = 0;
|
|
146
146
|
S.forEach((e) => {
|
|
147
147
|
T += e;
|
|
148
148
|
});
|
|
149
|
-
let E = C.filter((e) => (e.data.value / T * 100).toFixed(0) !== "0"), D =
|
|
150
|
-
p.selectAll("mySlices").data(E).enter().append("path").attr("d",
|
|
149
|
+
let E = C.filter((e) => (e.data.value / T * 100).toFixed(0) !== "0"), D = h(w);
|
|
150
|
+
p.selectAll("mySlices").data(E).enter().append("path").attr("d", y).attr("fill", (e) => D(e.data.label)).attr("class", "pieCircle"), p.selectAll("mySlices").data(E).enter().append("text").text((e) => (e.data.value / T * 100).toFixed(0) + "%").attr("transform", (e) => "translate(" + b.centroid(e) + ")").style("text-anchor", "middle").attr("class", "slice"), p.append("text").text(s.getDiagramTitle()).attr("x", 0).attr("y", -400 / 2).attr("class", "pieTitleText");
|
|
151
151
|
let O = [...S.entries()].map(([e, t]) => ({
|
|
152
152
|
label: e,
|
|
153
153
|
value: t
|
|
@@ -157,7 +157,7 @@ var T = f.pie, E = {
|
|
|
157
157
|
});
|
|
158
158
|
k.append("rect").attr("width", 18).attr("height", 18).style("fill", (e) => D(e.label)).style("stroke", (e) => D(e.label)), k.append("text").attr("x", 22).attr("y", 14).text((e) => s.getShowData() ? `${e.label} [${e.value}]` : e.label);
|
|
159
159
|
let A = 512 + Math.max(...k.selectAll("text").nodes().map((e) => e?.getBoundingClientRect().width ?? 0));
|
|
160
|
-
|
|
160
|
+
u.attr("viewBox", `0 0 ${A} 450`), f(u, 450, A, l.useMaxWidth);
|
|
161
161
|
}, "draw") },
|
|
162
162
|
styles: N
|
|
163
163
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as e, h as t, p as n } from "./src-
|
|
2
|
-
import { B as r, C as i, E as a, L as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-
|
|
3
|
-
import { t as h } from "./linear-
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-Dynw_Lub.js";
|
|
2
|
+
import { B as r, C as i, E as a, L as o, V as s, W as c, _ as l, a as u, b as d, c as f, d as p, v as m } from "./chunk-7R4GIKGN-scch4dXY.js";
|
|
3
|
+
import { t as h } from "./linear-B8tPH2Pw.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-337W2JSQ.mjs
|
|
5
5
|
var g = (function() {
|
|
6
6
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -442,9 +442,7 @@ var g = (function() {
|
|
|
442
442
|
case 68:
|
|
443
443
|
this.$ = a[s];
|
|
444
444
|
break;
|
|
445
|
-
case 69:
|
|
446
|
-
this.$ = a[s - 1] + "" + a[s];
|
|
447
|
-
break;
|
|
445
|
+
case 69: this.$ = a[s - 1] + "" + a[s];
|
|
448
446
|
}
|
|
449
447
|
}, "anonymous"),
|
|
450
448
|
table: [
|
|
@@ -1057,7 +1055,7 @@ var g = (function() {
|
|
|
1057
1055
|
var v = h.yylloc;
|
|
1058
1056
|
o.push(v);
|
|
1059
1057
|
var y = h.options && h.options.ranges;
|
|
1060
|
-
typeof g.yy.parseError == "function" ?
|
|
1058
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
1061
1059
|
function b(e) {
|
|
1062
1060
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1063
1061
|
}
|
|
@@ -1210,10 +1208,12 @@ var g = (function() {
|
|
|
1210
1208
|
if (this._backtrack) {
|
|
1211
1209
|
t = !1;
|
|
1212
1210
|
continue;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1211
|
+
}
|
|
1212
|
+
return !1;
|
|
1213
|
+
}
|
|
1214
|
+
if (!this.options.flex) break;
|
|
1215
1215
|
}
|
|
1216
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
1216
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1217
1217
|
text: "",
|
|
1218
1218
|
token: null,
|
|
1219
1219
|
line: this.yylineno
|
package/es/{requirementDiagram-Z7DCOOCP-B2NyhxO-.js → requirementDiagram-Z7DCOOCP-Cdj7PwWC.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { g as e, h as t, m as n } from "./src-
|
|
2
|
-
import { h as r } from "./chunk-GEFDOKGD-
|
|
3
|
-
import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, v as d } from "./chunk-7R4GIKGN-
|
|
4
|
-
import "./chunk-PU5JKC2W-
|
|
5
|
-
import "./chunk-MX3YWQON-
|
|
6
|
-
import "./chunk-YBOYWFTD-
|
|
7
|
-
import { t as f } from "./chunk-55IACEB6-
|
|
8
|
-
import { t as p } from "./chunk-KX2RTZJC-
|
|
9
|
-
import "./chunk-PQ6SQG4A-
|
|
10
|
-
import "./chunk-KYZI473N-
|
|
11
|
-
import "./chunk-O4XLMI2P-
|
|
12
|
-
import {
|
|
1
|
+
import { g as e, h as t, m as n } from "./src-Dynw_Lub.js";
|
|
2
|
+
import { h as r } from "./chunk-GEFDOKGD-BEzc6NZw.js";
|
|
3
|
+
import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, v as d } from "./chunk-7R4GIKGN-scch4dXY.js";
|
|
4
|
+
import "./chunk-PU5JKC2W-TuGY6X1n.js";
|
|
5
|
+
import "./chunk-MX3YWQON-D602L8pU.js";
|
|
6
|
+
import "./chunk-YBOYWFTD-CRiKEIiS.js";
|
|
7
|
+
import { t as f } from "./chunk-55IACEB6-Tre45n-8.js";
|
|
8
|
+
import { t as p } from "./chunk-KX2RTZJC-BUWM8pJz.js";
|
|
9
|
+
import "./chunk-PQ6SQG4A-DcYrzB1X.js";
|
|
10
|
+
import "./chunk-KYZI473N-BSgb_E0Q.js";
|
|
11
|
+
import "./chunk-O4XLMI2P-BMqc3iYa.js";
|
|
12
|
+
import { i as m, r as h } from "./mermaid.core-BVGVwWcu.js";
|
|
13
13
|
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-Z7DCOOCP.mjs
|
|
14
14
|
var g = (function() {
|
|
15
15
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -588,9 +588,7 @@ var g = (function() {
|
|
|
588
588
|
case 66:
|
|
589
589
|
a[s - 2].push(a[s]), this.$ = a[s - 2];
|
|
590
590
|
break;
|
|
591
|
-
case 68:
|
|
592
|
-
this.$ = a[s - 1] + a[s];
|
|
593
|
-
break;
|
|
591
|
+
case 68: this.$ = a[s - 1] + a[s];
|
|
594
592
|
}
|
|
595
593
|
}, "anonymous"),
|
|
596
594
|
table: [
|
|
@@ -1431,7 +1429,7 @@ var g = (function() {
|
|
|
1431
1429
|
var v = h.yylloc;
|
|
1432
1430
|
o.push(v);
|
|
1433
1431
|
var y = h.options && h.options.ranges;
|
|
1434
|
-
typeof g.yy.parseError == "function" ?
|
|
1432
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
1435
1433
|
function b(e) {
|
|
1436
1434
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1437
1435
|
}
|
|
@@ -1584,10 +1582,12 @@ var g = (function() {
|
|
|
1584
1582
|
if (this._backtrack) {
|
|
1585
1583
|
t = !1;
|
|
1586
1584
|
continue;
|
|
1587
|
-
}
|
|
1588
|
-
|
|
1585
|
+
}
|
|
1586
|
+
return !1;
|
|
1587
|
+
}
|
|
1588
|
+
if (!this.options.flex) break;
|
|
1589
1589
|
}
|
|
1590
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
1590
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1591
1591
|
text: "",
|
|
1592
1592
|
token: null,
|
|
1593
1593
|
line: this.yylineno
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
//#region \0rolldown/runtime.js
|
|
2
|
-
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t, n) => () => {
|
|
3
|
+
if (n) throw n[0];
|
|
4
|
+
try {
|
|
5
|
+
return e && (t = e(e = 0)), t;
|
|
6
|
+
} catch (e) {
|
|
7
|
+
throw n = [e], e;
|
|
8
|
+
}
|
|
9
|
+
}, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
|
|
3
10
|
let r = {};
|
|
4
11
|
for (var i in e) t(r, i, {
|
|
5
12
|
get: e[i],
|
|
@@ -12,9 +19,9 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
12
19
|
enumerable: !(s = n(i, d)) || s.enumerable
|
|
13
20
|
});
|
|
14
21
|
return e;
|
|
15
|
-
}, u = (e, t, n) => (l(e, t, "default"), n && l(n, t, "default")), d = (n, r,
|
|
22
|
+
}, u = (e, t, n) => (l(e, t, "default"), n && l(n, t, "default")), d = (n, r, o) => (o = n == null ? {} : e(i(n)), l(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
|
|
16
23
|
value: n,
|
|
17
24
|
enumerable: !0
|
|
18
|
-
}) :
|
|
25
|
+
}) : o, n)), f = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e);
|
|
19
26
|
//#endregion
|
|
20
27
|
export { f as a, u as i, o as n, d as o, c as r, s as t };
|
|
@@ -931,7 +931,7 @@ function J(e, t, n, r) {
|
|
|
931
931
|
return l *= l, o < c && (o = c), s < l && (s = l), o + s;
|
|
932
932
|
}(e, t) < n) {
|
|
933
933
|
let n = e[t + 0];
|
|
934
|
-
i.length ? (a = i[i.length - 1], o = n, Math.sqrt(K(a, o))
|
|
934
|
+
i.length ? (a = i[i.length - 1], o = n, Math.sqrt(K(a, o)) > 1 && i.push(n)) : i.push(n), i.push(e[t + 3]);
|
|
935
935
|
} else {
|
|
936
936
|
let r = .5, a = e[t + 0], o = e[t + 1], s = e[t + 2], c = e[t + 3], l = q(a, o, r), u = q(o, s, r), d = q(s, c, r), f = q(l, u, r), p = q(u, d, r), m = q(f, p, r);
|
|
937
937
|
J([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as e, p as t } from "./src-
|
|
2
|
-
import { B as n, C as r, K as i, V as a, W as o, _ as s, a as c, b as l, s as u, u as d, v as f } from "./chunk-7R4GIKGN-
|
|
3
|
-
import { t as p } from "./ordinal-
|
|
1
|
+
import { h as e, p as t } from "./src-Dynw_Lub.js";
|
|
2
|
+
import { B as n, C as r, K as i, V as a, W as o, _ as s, a as c, b as l, s as u, u as d, v as f } from "./chunk-7R4GIKGN-scch4dXY.js";
|
|
3
|
+
import { t as p } from "./ordinal-CNQzPcrr.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.js
|
|
5
5
|
function m(e) {
|
|
6
6
|
for (var t = e.length / 6 | 0, n = Array(t), r = 0; r < t;) n[r] = "#" + e.slice(r * 6, ++r * 6);
|
|
@@ -473,9 +473,7 @@ var J = (function() {
|
|
|
473
473
|
case 11:
|
|
474
474
|
this.$ = a[s];
|
|
475
475
|
break;
|
|
476
|
-
case 10:
|
|
477
|
-
this.$ = a[s - 1];
|
|
478
|
-
break;
|
|
476
|
+
case 10: this.$ = a[s - 1];
|
|
479
477
|
}
|
|
480
478
|
}, "anonymous"),
|
|
481
479
|
table: [
|
|
@@ -562,7 +560,7 @@ var J = (function() {
|
|
|
562
560
|
var v = h.yylloc;
|
|
563
561
|
o.push(v);
|
|
564
562
|
var y = h.options && h.options.ranges;
|
|
565
|
-
typeof g.yy.parseError == "function" ?
|
|
563
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
566
564
|
function b(e) {
|
|
567
565
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
568
566
|
}
|
|
@@ -715,10 +713,12 @@ var J = (function() {
|
|
|
715
713
|
if (this._backtrack) {
|
|
716
714
|
t = !1;
|
|
717
715
|
continue;
|
|
718
|
-
}
|
|
719
|
-
|
|
716
|
+
}
|
|
717
|
+
return !1;
|
|
718
|
+
}
|
|
719
|
+
if (!this.options.flex) break;
|
|
720
720
|
}
|
|
721
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
721
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
722
722
|
text: "",
|
|
723
723
|
token: null,
|
|
724
724
|
line: this.yylineno
|