@antdv-next/x 1.0.2-beta.2 → 1.0.2-beta.4
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/Actions.js +1 -1
- package/dist/attachments/index.js +1 -1
- package/dist/conversations/index.js +1 -1
- package/dist/file-card/FileCard.js +1 -1
- package/dist/file-card/List.js +1 -1
- package/dist/index.umd.js +25 -25
- package/dist/locale/useLocale.js +1 -1
- package/dist/mermaid/Mermaid.js +1 -1
- package/dist/package.js +1 -1
- package/dist/prompts/Prompts.js +1 -1
- package/dist/sender/Sender.js +1 -1
- package/dist/sender/SenderHeader.js +1 -1
- package/dist/sender/SenderSwitch.js +1 -1
- package/dist/sources/Sources.js +1 -1
- package/dist/suggestion/Suggestion.js +1 -1
- package/dist/theme/genStyleUtils.js +1 -1
- package/dist/think/Think.js +1 -1
- package/dist/thought-chain/Item.js +1 -1
- package/dist/thought-chain/Node.js +1 -1
- package/dist/thought-chain/ThoughtChain.js +1 -1
- package/dist/welcome/index.js +1 -1
- package/dist/x-provider/hooks/use-x-provider-context.js +1 -1
- package/es/{Serializer-y_SfSPKv.js → Serializer-D1JYN1kI.js} +4 -4
- package/es/{_basePickBy-DPqob0cQ.js → _basePickBy-DFHEGO2M.js} +23 -23
- package/es/{_baseUniq-AMhRdOMz.js → _baseUniq-BlS7rXTs.js} +83 -83
- package/es/antdv-next-x.esm.js +44833 -7290
- package/es/{arc-caEkbRYF.js → arc-BuXEd18J.js} +3 -3
- package/es/architecture-PBZL5I3N-D7tS55xM.js +3 -0
- package/es/{architectureDiagram-2XIMDMQ5-ZOgJV9Kg.js → architectureDiagram-2XIMDMQ5-CmfsCwJk.js} +85 -85
- package/es/{blockDiagram-WCTKOSBZ-8iZwAKBK.js → blockDiagram-WCTKOSBZ-lJAan65A.js} +530 -530
- package/es/{c4Diagram-IC4MRINW-DrH9eRMR.js → c4Diagram-IC4MRINW-B1c2x_1Q.js} +170 -170
- package/es/channel-DFgF_2F7.js +5 -0
- package/es/{chunk-4BX2VUAB-DUVpjbJi.js → chunk-4BX2VUAB-J2N81Fpp.js} +2 -2
- package/es/{chunk-55IACEB6-RlJ-J3tE.js → chunk-55IACEB6-DGtfGRgi.js} +2 -2
- package/es/{chunk-7E7YKBS2-ChLFamzc.js → chunk-7E7YKBS2-CL2d4WAf.js} +2 -2
- package/es/{chunk-7R4GIKGN-B9vamSzt.js → chunk-7R4GIKGN-QT6IorJ_.js} +3 -3
- package/es/{chunk-C72U2L5F-BV-rXau1.js → chunk-C72U2L5F-OHTVpS-m.js} +2 -2
- package/es/{chunk-EGIJ26TM-GvsuORRL.js → chunk-EGIJ26TM-DyMPGYrB.js} +2 -2
- package/es/{chunk-FMBD7UC4-D6ZlqqMC.js → chunk-FMBD7UC4-DCcRjunY.js} +2 -2
- package/es/{chunk-GEFDOKGD-DM6dsEsk.js → chunk-GEFDOKGD-BWpC-zoH.js} +278 -278
- package/es/chunk-GLR3WWYH-DiXcKb5Y.js +41 -0
- package/es/{chunk-HHEYEP7N-FVfYw94p.js → chunk-HHEYEP7N-Cxc7E4dX.js} +3 -3
- package/es/{chunk-JSJVCQXG-Wr9uPcCh.js → chunk-JSJVCQXG-D8_heHOp.js} +4 -4
- package/es/{chunk-KX2RTZJC-BGffjoxB.js → chunk-KX2RTZJC-D5cc4rj6.js} +3 -3
- package/es/{chunk-KYZI473N-Bit5smNE.js → chunk-KYZI473N-BHJ3T5Zv.js} +573 -573
- package/es/{chunk-L3YUKLVL-DBuHDpQ2.js → chunk-L3YUKLVL-7oGaUOdc.js} +2 -2
- package/es/{chunk-MX3YWQON-Cbj2WwUZ.js → chunk-MX3YWQON-BxE-Aq9c.js} +2 -2
- package/es/{chunk-NQ4KR5QH-FPQ-IHJN.js → chunk-NQ4KR5QH-EYQBXkqP.js} +120 -120
- package/es/{chunk-O4XLMI2P-BCDk0ZIW.js → chunk-O4XLMI2P-qjOoGpnx.js} +238 -238
- package/es/{chunk-OZEHJAEY-BZ24IOgQ.js → chunk-OZEHJAEY-D82nx27s.js} +2 -2
- package/es/{chunk-PQ6SQG4A-DpwBx6Hx.js → chunk-PQ6SQG4A-D3jtNCWN.js} +3 -3
- package/es/{chunk-PU5JKC2W-BNpJuXxn.js → chunk-PU5JKC2W-DdP8BS-S.js} +76 -76
- package/es/{chunk-QZHKN3VN-NEMwPryC.js → chunk-QZHKN3VN-CW3cFN-h.js} +2 -2
- package/es/{chunk-R5LLSJPH-g44vgerl.js → chunk-R5LLSJPH-CreI2kO9.js} +2 -2
- package/es/{chunk-WL4C6EOR-B6l-Yy2t.js → chunk-WL4C6EOR-BDbxJyGk.js} +120 -120
- package/es/{chunk-XIRO2GV7-CaFInIOW.js → chunk-XIRO2GV7-S5KkbVnN.js} +2 -2
- package/es/{chunk-XPW4576I-Cp1j6iTN.js → chunk-XPW4576I-B0KVSHwE.js} +2 -2
- package/es/{chunk-XZSTWKYB-CGk7ipHd.js → chunk-XZSTWKYB-CucN1XvM.js} +93 -93
- package/es/{chunk-YBOYWFTD-dOTBpTYs.js → chunk-YBOYWFTD-CvaddD9G.js} +8 -8
- package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +29 -0
- package/es/clone-r3YukIBB.js +8 -0
- package/es/{cose-bilkent-S5V4N54A-DlmXyn6m.js → cose-bilkent-S5V4N54A-B5OQuIhl.js} +3 -3
- package/es/{cytoscape.esm-BY3wHcbp.js → cytoscape.esm-i2CZcWd-.js} +1 -1
- package/es/{dagre-B1qTL793.js → dagre-5aGJFKmT.js} +57 -57
- package/es/dagre-KLK3FWXG-BI5QQMXo.js +294 -0
- package/es/{defaultLocale-BaPFSbai.js → defaultLocale-bckJcYh1.js} +12 -12
- package/es/{diagram-E7M64L7V-Dnd8N74o.js → diagram-E7M64L7V-Dz62Vz_a.js} +83 -83
- package/es/{diagram-IFDJBPK2-Dan7RsGr.js → diagram-IFDJBPK2-9fjvFkSc.js} +31 -31
- package/es/{diagram-P4PSJMXO-DwKJpttH.js → diagram-P4PSJMXO-BlX6jFjZ.js} +32 -32
- package/es/{dist-DltyvPj3.js → dist-BX_roQzC.js} +1 -1
- package/es/{erDiagram-INFDFZHY-CGO6k23w.js → erDiagram-INFDFZHY-BcRXu8Cp.js} +128 -128
- package/es/{flowDiagram-PKNHOUZH-DFN1GsRx.js → flowDiagram-PKNHOUZH-UeyfgU8z.js} +156 -156
- package/es/{ganttDiagram-A5KZAMGK-Cf5NxH1w.js → ganttDiagram-A5KZAMGK-txCzqgQ5.js} +625 -622
- package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +3 -0
- package/es/{gitGraphDiagram-K3NZZRJ6-BgE6aSZO.js → gitGraphDiagram-K3NZZRJ6-DghWYaFU.js} +176 -176
- package/es/{graphlib-DFxSohCv.js → graphlib-dRkI1OCL.js} +4 -4
- package/es/{html-C2-_98S6.js → html-B6UxjOv0.js} +1 -1
- package/es/html-Hb1oe8XT.js +2 -0
- package/es/info-3K5VOQVL-COqdvM99.js +3 -0
- package/es/{infoDiagram-LFFYTUFH-WcApcdl5.js → infoDiagram-LFFYTUFH-CA-vlAvP.js} +5 -5
- package/es/{init-PAs0hR-b.js → init-B75p2clj.js} +1 -1
- package/es/{isArrayLikeObject-BEG9p74d.js → isArrayLikeObject-jl2bjkAJ.js} +80 -80
- package/es/{isEmpty-B1YrVV8B.js → isEmpty-CmA-HYrg.js} +3 -3
- package/es/{ishikawaDiagram-PHBUUO56-DwK7J31a.js → ishikawaDiagram-PHBUUO56-DjdpS9Lb.js} +67 -67
- package/es/{journeyDiagram-4ABVD52K-CWuA57by.js → journeyDiagram-4ABVD52K-CIJfC1fp.js} +6 -6
- package/es/{kanban-definition-K7BYSVSG-DBt3gYRQ.js → kanban-definition-K7BYSVSG-CC2vwGck.js} +11 -11
- package/es/{katex-OR8z_f6I.js → katex-DCMiIo1z.js} +1 -1
- package/es/{line-zOBKZCP5.js → line-Cu9NTacD.js} +4 -4
- package/es/{linear-DttXWw4q.js → linear-C0rAYYmp.js} +23 -23
- package/es/{math-DPzKeDKn.js → math-CoDOuve-.js} +1 -1
- package/es/{mermaid-parser.core-CWNEdmZ_.js → mermaid-parser.core-7Wn2L29P.js} +16 -16
- package/es/{mermaid.core-DPBXXViR.js → mermaid.core-Bvy_Q6Hu.js} +208 -208
- package/es/{mindmap-definition-YRQLILUH-Bq2xqboX.js → mindmap-definition-YRQLILUH-BzTYDYmK.js} +16 -16
- package/es/{ordinal-D8PKtxfM.js → ordinal-F3U6aXtP.js} +3 -3
- package/es/packet-RMMSAZCW-2PTjWKLd.js +3 -0
- package/es/{path-DZ-6AyWK.js → path-Dm3C8WEs.js} +3 -3
- package/es/pie-UPGHQEXC-Du8-k-EA.js +3 -0
- package/es/{pieDiagram-SKSYHLDU-D4iMzwzH.js → pieDiagram-SKSYHLDU-COvqE_C6.js} +32 -32
- package/es/{quadrantDiagram-337W2JSQ-DSbXC0z6.js → quadrantDiagram-337W2JSQ-Dgv8ccjt.js} +4 -4
- package/es/radar-KQ55EAFF-jJOhyjxC.js +3 -0
- package/es/{requirementDiagram-Z7DCOOCP-D7eLn3fs.js → requirementDiagram-Z7DCOOCP-B2NyhxO-.js} +59 -59
- package/es/{rough.esm-C_hJ3ICT.js → rough.esm-BhGP2Udb.js} +1 -1
- package/es/{sankeyDiagram-WA2Y5GQK-DN5ZPgWU.js → sankeyDiagram-WA2Y5GQK-BfnH_gpl.js} +18 -18
- package/es/{sequenceDiagram-2WXFIKYE-CRFEBP8-.js → sequenceDiagram-2WXFIKYE-DXssVQOF.js} +390 -390
- package/es/{src-BH16DVv0.js → src-CUQ6oOYk.js} +86 -86
- package/es/{stateDiagram-RAJIS63D-CfO23QJX.js → stateDiagram-RAJIS63D-DvDLfupV.js} +68 -68
- package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +27 -0
- package/es/{timeline-definition-YZTLITO2-DmpPrD-3.js → timeline-definition-YZTLITO2-ErcRjbZf.js} +4 -4
- package/es/treemap-KZPCXAKY-CvZAIYVa.js +3 -0
- package/es/{vennDiagram-LZ73GAT5-B80Xr4jV.js → vennDiagram-LZ73GAT5-CDTZUtc8.js} +107 -107
- package/es/{vue-DTiWrQBM.js → vue-2aJw7p5p.js} +2 -2
- package/es/{vue-html-BG3Xflut.js → vue-html-DEjI8X9t.js} +1 -1
- package/es/{xychartDiagram-JWTSCODW-DvQyPDr4.js → xychartDiagram-JWTSCODW-Y21jBOTg.js} +103 -103
- package/package.json +1 -1
- package/es/architecture-PBZL5I3N-CBmkTWjb.js +0 -3
- package/es/channel-DIQFjdG3.js +0 -5
- package/es/chunk-GLR3WWYH-CqFdLic9.js +0 -41
- package/es/classDiagram-VBA2DB6C-B3yBiQy3.js +0 -29
- package/es/classDiagram-v2-RAHNMMFH-jbFYm_Xj.js +0 -29
- package/es/clone-DXVS0uSx.js +0 -8
- package/es/dagre-KLK3FWXG-CEhXRLVR.js +0 -294
- package/es/gitGraph-HDMCJU4V-CrEEHSZS.js +0 -3
- package/es/html-JbFqcNgP.js +0 -2
- package/es/info-3K5VOQVL-Dg3DCp4F.js +0 -3
- package/es/packet-RMMSAZCW-Dk7mKMJ4.js +0 -3
- package/es/pie-UPGHQEXC-CnM5YLNO.js +0 -3
- package/es/radar-KQ55EAFF-BwfADDx8.js +0 -3
- package/es/stateDiagram-v2-FVOUBMTO-BGWbXepL.js +0 -27
- package/es/treemap-KZPCXAKY-BWfn7JxQ.js +0 -3
package/es/{mindmap-definition-YRQLILUH-Bq2xqboX.js → mindmap-definition-YRQLILUH-BzTYDYmK.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
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 { r as d, t as f } from "./chunk-GLR3WWYH-
|
|
13
|
-
//#region ../../node_modules/uuid/dist/esm-browser/stringify.js
|
|
1
|
+
import { g as e, h as t } from "./src-CUQ6oOYk.js";
|
|
2
|
+
import "./chunk-GEFDOKGD-BWpC-zoH.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-QT6IorJ_.js";
|
|
4
|
+
import "./chunk-PU5JKC2W-DdP8BS-S.js";
|
|
5
|
+
import "./chunk-MX3YWQON-BxE-Aq9c.js";
|
|
6
|
+
import "./chunk-YBOYWFTD-CvaddD9G.js";
|
|
7
|
+
import { t as l } from "./chunk-55IACEB6-DGtfGRgi.js";
|
|
8
|
+
import { t as u } from "./chunk-KX2RTZJC-D5cc4rj6.js";
|
|
9
|
+
import "./chunk-PQ6SQG4A-D3jtNCWN.js";
|
|
10
|
+
import "./chunk-KYZI473N-BHJ3T5Zv.js";
|
|
11
|
+
import "./chunk-O4XLMI2P-qjOoGpnx.js";
|
|
12
|
+
import { r as d, t as f } from "./chunk-GLR3WWYH-DiXcKb5Y.js";
|
|
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));
|
|
16
16
|
function m(e, t = 0) {
|
|
17
17
|
return (p[e[t + 0]] + p[e[t + 1]] + p[e[t + 2]] + p[e[t + 3]] + "-" + p[e[t + 4]] + p[e[t + 5]] + "-" + p[e[t + 6]] + p[e[t + 7]] + "-" + p[e[t + 8]] + p[e[t + 9]] + "-" + p[e[t + 10]] + p[e[t + 11]] + p[e[t + 12]] + p[e[t + 13]] + p[e[t + 14]] + p[e[t + 15]]).toLowerCase();
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
|
-
//#region ../../node_modules/uuid/dist/esm-browser/rng.js
|
|
20
|
+
//#region ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js
|
|
21
21
|
var h, g = new Uint8Array(16);
|
|
22
22
|
function _() {
|
|
23
23
|
if (!h) {
|
|
@@ -28,7 +28,7 @@ function _() {
|
|
|
28
28
|
}
|
|
29
29
|
var v = { randomUUID: typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region ../../node_modules/uuid/dist/esm-browser/v4.js
|
|
31
|
+
//#region ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js
|
|
32
32
|
function y(e, t, n) {
|
|
33
33
|
if (v.randomUUID && !t && !e) return v.randomUUID();
|
|
34
34
|
e ||= {};
|
|
@@ -42,7 +42,7 @@ function y(e, t, n) {
|
|
|
42
42
|
return m(r);
|
|
43
43
|
}
|
|
44
44
|
//#endregion
|
|
45
|
-
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-YRQLILUH.mjs
|
|
45
|
+
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-YRQLILUH.mjs
|
|
46
46
|
var b = (function() {
|
|
47
47
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
48
48
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./init-
|
|
2
|
-
//#region ../../node_modules/internmap/src/index.js
|
|
1
|
+
import { t as e } from "./init-B75p2clj.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.js
|
|
3
3
|
var t = class extends Map {
|
|
4
4
|
constructor(e, t = a) {
|
|
5
5
|
if (super(), Object.defineProperties(this, {
|
|
@@ -36,7 +36,7 @@ function a(e) {
|
|
|
36
36
|
return typeof e == "object" && e ? e.valueOf() : e;
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
|
-
//#region ../../node_modules/d3-scale/src/ordinal.js
|
|
39
|
+
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.js
|
|
40
40
|
var o = Symbol("implicit");
|
|
41
41
|
function s() {
|
|
42
42
|
var n = new t(), r = [], i = [], a = o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/d3-path/src/path.js
|
|
1
|
+
//#region ../../node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.js
|
|
2
2
|
var e = Math.PI, t = 2 * e, n = 1e-6, r = t - n;
|
|
3
3
|
function i(e) {
|
|
4
4
|
this._ += e[0];
|
|
@@ -60,14 +60,14 @@ function s() {
|
|
|
60
60
|
}
|
|
61
61
|
s.prototype = o.prototype;
|
|
62
62
|
//#endregion
|
|
63
|
-
//#region ../../node_modules/d3-shape/src/constant.js
|
|
63
|
+
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.js
|
|
64
64
|
function c(e) {
|
|
65
65
|
return function() {
|
|
66
66
|
return e;
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
//#endregion
|
|
70
|
-
//#region ../../node_modules/d3-shape/src/path.js
|
|
70
|
+
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.js
|
|
71
71
|
function l(e) {
|
|
72
72
|
let t = 3;
|
|
73
73
|
return e.digits = function(n) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, c as d, d as f, v as p } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as m } from "./ordinal-
|
|
5
|
-
import { n as h } from "./path-
|
|
6
|
-
import { p as g } from "./math-
|
|
7
|
-
import { t as _ } from "./arc-
|
|
1
|
+
import { g as e, h as t } from "./src-CUQ6oOYk.js";
|
|
2
|
+
import { f as n, r } from "./chunk-GEFDOKGD-BWpC-zoH.js";
|
|
3
|
+
import { B as i, C as a, V as o, W as s, _ as c, a as l, b as u, c as d, d as f, v as p } from "./chunk-7R4GIKGN-QT6IorJ_.js";
|
|
4
|
+
import { t as m } from "./ordinal-F3U6aXtP.js";
|
|
5
|
+
import { n as h } from "./path-Dm3C8WEs.js";
|
|
6
|
+
import { p as g } from "./math-CoDOuve-.js";
|
|
7
|
+
import { t as _ } from "./arc-BuXEd18J.js";
|
|
8
8
|
import { t as v } from "./array-CWNufkl9.js";
|
|
9
|
-
import { t as y } from "./chunk-HHEYEP7N-
|
|
10
|
-
import { t as b } from "./chunk-4BX2VUAB-
|
|
11
|
-
import { t as x } from "./mermaid-parser.core-
|
|
12
|
-
//#region ../../node_modules/d3-shape/src/descending.js
|
|
9
|
+
import { t as y } from "./chunk-HHEYEP7N-Cxc7E4dX.js";
|
|
10
|
+
import { t as b } from "./chunk-4BX2VUAB-J2N81Fpp.js";
|
|
11
|
+
import { t as x } from "./mermaid-parser.core-7Wn2L29P.js";
|
|
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;
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region ../../node_modules/d3-shape/src/identity.js
|
|
17
|
+
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.js
|
|
18
18
|
function C(e) {
|
|
19
19
|
return e;
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region ../../node_modules/d3-shape/src/pie.js
|
|
22
|
+
//#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.js
|
|
23
23
|
function w() {
|
|
24
24
|
var e = C, t = S, n = null, r = h(0), i = h(g), a = h(0);
|
|
25
25
|
function o(o) {
|
|
@@ -54,14 +54,14 @@ function w() {
|
|
|
54
54
|
}, o;
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
|
-
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-SKSYHLDU.mjs
|
|
57
|
+
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-SKSYHLDU.mjs
|
|
58
58
|
var T = f.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
|
-
getConfig: /* @__PURE__ */
|
|
64
|
-
clear: /* @__PURE__ */
|
|
63
|
+
getConfig: /* @__PURE__ */ t(() => structuredClone(k), "getConfig"),
|
|
64
|
+
clear: /* @__PURE__ */ t(() => {
|
|
65
65
|
D = /* @__PURE__ */ new Map(), O = E.showData, l();
|
|
66
66
|
}, "clear"),
|
|
67
67
|
setDiagramTitle: s,
|
|
@@ -70,21 +70,21 @@ var T = f.pie, E = {
|
|
|
70
70
|
getAccTitle: p,
|
|
71
71
|
setAccDescription: i,
|
|
72
72
|
getAccDescription: c,
|
|
73
|
-
addSection: /* @__PURE__ */
|
|
74
|
-
if (
|
|
75
|
-
D.has(
|
|
73
|
+
addSection: /* @__PURE__ */ t(({ label: t, value: n }) => {
|
|
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
|
+
D.has(t) || (D.set(t, n), e.debug(`added new section: ${t}, with value: ${n}`));
|
|
76
76
|
}, "addSection"),
|
|
77
|
-
getSections: /* @__PURE__ */
|
|
78
|
-
setShowData: /* @__PURE__ */
|
|
77
|
+
getSections: /* @__PURE__ */ t(() => D, "getSections"),
|
|
78
|
+
setShowData: /* @__PURE__ */ t((e) => {
|
|
79
79
|
O = e;
|
|
80
80
|
}, "setShowData"),
|
|
81
|
-
getShowData: /* @__PURE__ */
|
|
82
|
-
}, j = /* @__PURE__ */
|
|
81
|
+
getShowData: /* @__PURE__ */ t(() => O, "getShowData")
|
|
82
|
+
}, j = /* @__PURE__ */ t((e, t) => {
|
|
83
83
|
b(e, t), t.setShowData(e.showData), e.sections.map(t.addSection);
|
|
84
|
-
}, "populateDb"), M = { parse: /* @__PURE__ */
|
|
85
|
-
let
|
|
86
|
-
|
|
87
|
-
}, "parse") }, N = /* @__PURE__ */
|
|
84
|
+
}, "populateDb"), M = { parse: /* @__PURE__ */ t(async (t) => {
|
|
85
|
+
let n = await x("pie", t);
|
|
86
|
+
e.debug(n), j(n, A);
|
|
87
|
+
}, "parse") }, N = /* @__PURE__ */ t((e) => `
|
|
88
88
|
.pieCircle{
|
|
89
89
|
stroke: ${e.pieStrokeColor};
|
|
90
90
|
stroke-width : ${e.pieStrokeWidth};
|
|
@@ -112,7 +112,7 @@ var T = f.pie, E = {
|
|
|
112
112
|
font-family: ${e.fontFamily};
|
|
113
113
|
font-size: ${e.pieLegendTextSize};
|
|
114
114
|
}
|
|
115
|
-
`, "getStyles"), P = /* @__PURE__ */
|
|
115
|
+
`, "getStyles"), P = /* @__PURE__ */ t((e) => {
|
|
116
116
|
let t = [...e.values()].reduce((e, t) => e + t, 0), n = [...e.entries()].map(([e, t]) => ({
|
|
117
117
|
label: e,
|
|
118
118
|
value: t
|
|
@@ -121,11 +121,11 @@ var T = f.pie, E = {
|
|
|
121
121
|
}, "createPieArcs"), F = {
|
|
122
122
|
parser: M,
|
|
123
123
|
db: A,
|
|
124
|
-
renderer: { draw: /* @__PURE__ */
|
|
125
|
-
|
|
126
|
-
let s = o.db, c = u(), l =
|
|
124
|
+
renderer: { draw: /* @__PURE__ */ t((t, i, a, o) => {
|
|
125
|
+
e.debug("rendering pie chart\n" + t);
|
|
126
|
+
let s = o.db, c = u(), l = r(s.getConfig(), c.pie), f = y(i), p = f.append("g");
|
|
127
127
|
p.attr("transform", "translate(225,225)");
|
|
128
|
-
let { themeVariables: h } = c, [g] =
|
|
128
|
+
let { themeVariables: h } = c, [g] = n(h.pieOuterStrokeWidth);
|
|
129
129
|
g ??= 2;
|
|
130
130
|
let v = l.textPosition, b = _().innerRadius(0).outerRadius(185), x = _().innerRadius(185 * v).outerRadius(185 * v);
|
|
131
131
|
p.append("circle").attr("cx", 0).attr("cy", 0).attr("r", 185 + g / 2).attr("class", "pieOuterCircle");
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-337W2JSQ.mjs
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-CUQ6oOYk.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-QT6IorJ_.js";
|
|
3
|
+
import { t as h } from "./linear-C0rAYYmp.js";
|
|
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) {
|
|
7
7
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
package/es/{requirementDiagram-Z7DCOOCP-D7eLn3fs.js → requirementDiagram-Z7DCOOCP-B2NyhxO-.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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 { r as m, t as h } from "./chunk-GLR3WWYH-
|
|
13
|
-
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-Z7DCOOCP.mjs
|
|
1
|
+
import { g as e, h as t, m as n } from "./src-CUQ6oOYk.js";
|
|
2
|
+
import { h as r } from "./chunk-GEFDOKGD-BWpC-zoH.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-QT6IorJ_.js";
|
|
4
|
+
import "./chunk-PU5JKC2W-DdP8BS-S.js";
|
|
5
|
+
import "./chunk-MX3YWQON-BxE-Aq9c.js";
|
|
6
|
+
import "./chunk-YBOYWFTD-CvaddD9G.js";
|
|
7
|
+
import { t as f } from "./chunk-55IACEB6-DGtfGRgi.js";
|
|
8
|
+
import { t as p } from "./chunk-KX2RTZJC-D5cc4rj6.js";
|
|
9
|
+
import "./chunk-PQ6SQG4A-D3jtNCWN.js";
|
|
10
|
+
import "./chunk-KYZI473N-BHJ3T5Zv.js";
|
|
11
|
+
import "./chunk-O4XLMI2P-qjOoGpnx.js";
|
|
12
|
+
import { r as m, t as h } from "./chunk-GLR3WWYH-DiXcKb5Y.js";
|
|
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
|
-
var e = /* @__PURE__ */
|
|
15
|
+
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
16
16
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
17
17
|
return n;
|
|
18
|
-
}, "o"),
|
|
18
|
+
}, "o"), n = [1, 3], r = [1, 4], i = [1, 5], a = [1, 6], o = [
|
|
19
19
|
5,
|
|
20
20
|
6,
|
|
21
21
|
8,
|
|
@@ -188,7 +188,7 @@ var g = (function() {
|
|
|
188
188
|
89,
|
|
189
189
|
90
|
|
190
190
|
], W = [1, 110], G = [1, 106], K = [1, 107], q = [1, 108], J = [1, 109], Y = [1, 111], X = [1, 116], Z = [1, 117], Q = [1, 114], $ = [1, 115], le = {
|
|
191
|
-
trace: /* @__PURE__ */
|
|
191
|
+
trace: /* @__PURE__ */ t(function() {}, "trace"),
|
|
192
192
|
yy: {},
|
|
193
193
|
symbols_: {
|
|
194
194
|
error: 2,
|
|
@@ -441,7 +441,7 @@ var g = (function() {
|
|
|
441
441
|
[60, 1],
|
|
442
442
|
[60, 1]
|
|
443
443
|
],
|
|
444
|
-
performAction: /* @__PURE__ */
|
|
444
|
+
performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
|
|
445
445
|
var s = a.length - 1;
|
|
446
446
|
switch (i) {
|
|
447
447
|
case 4:
|
|
@@ -597,7 +597,7 @@ var g = (function() {
|
|
|
597
597
|
{
|
|
598
598
|
3: 1,
|
|
599
599
|
4: 2,
|
|
600
|
-
6:
|
|
600
|
+
6: n,
|
|
601
601
|
9: r,
|
|
602
602
|
11: i,
|
|
603
603
|
13: a
|
|
@@ -607,7 +607,7 @@ var g = (function() {
|
|
|
607
607
|
3: 8,
|
|
608
608
|
4: 2,
|
|
609
609
|
5: [1, 7],
|
|
610
|
-
6:
|
|
610
|
+
6: n,
|
|
611
611
|
9: r,
|
|
612
612
|
11: i,
|
|
613
613
|
13: a
|
|
@@ -619,7 +619,7 @@ var g = (function() {
|
|
|
619
619
|
{
|
|
620
620
|
3: 12,
|
|
621
621
|
4: 2,
|
|
622
|
-
6:
|
|
622
|
+
6: n,
|
|
623
623
|
9: r,
|
|
624
624
|
11: i,
|
|
625
625
|
13: a
|
|
@@ -1417,15 +1417,15 @@ var g = (function() {
|
|
|
1417
1417
|
150: [2, 89],
|
|
1418
1418
|
151: [2, 90]
|
|
1419
1419
|
},
|
|
1420
|
-
parseError: /* @__PURE__ */
|
|
1420
|
+
parseError: /* @__PURE__ */ t(function(e, t) {
|
|
1421
1421
|
if (t.recoverable) this.trace(e);
|
|
1422
1422
|
else {
|
|
1423
1423
|
var n = Error(e);
|
|
1424
1424
|
throw n.hash = t, n;
|
|
1425
1425
|
}
|
|
1426
1426
|
}, "parseError"),
|
|
1427
|
-
parse: /* @__PURE__ */
|
|
1428
|
-
var
|
|
1427
|
+
parse: /* @__PURE__ */ t(function(e) {
|
|
1428
|
+
var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
1429
1429
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
1430
1430
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
1431
1431
|
var v = h.yylloc;
|
|
@@ -1435,12 +1435,12 @@ var g = (function() {
|
|
|
1435
1435
|
function b(e) {
|
|
1436
1436
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1437
1437
|
}
|
|
1438
|
-
|
|
1438
|
+
t(b, "popStack");
|
|
1439
1439
|
function x() {
|
|
1440
1440
|
var e = i.pop() || h.lex() || p;
|
|
1441
|
-
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e =
|
|
1441
|
+
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
|
|
1442
1442
|
}
|
|
1443
|
-
|
|
1443
|
+
t(x, "lex");
|
|
1444
1444
|
for (var S, C, w, T, E, D = {}, O, k, ee, A;;) {
|
|
1445
1445
|
if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
1446
1446
|
var te = "";
|
|
@@ -1484,11 +1484,11 @@ var g = (function() {
|
|
|
1484
1484
|
le.lexer = /* @__PURE__ */ (function() {
|
|
1485
1485
|
return {
|
|
1486
1486
|
EOF: 1,
|
|
1487
|
-
parseError: /* @__PURE__ */
|
|
1487
|
+
parseError: /* @__PURE__ */ t(function(e, t) {
|
|
1488
1488
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
1489
1489
|
else throw Error(e);
|
|
1490
1490
|
}, "parseError"),
|
|
1491
|
-
setInput: /* @__PURE__ */
|
|
1491
|
+
setInput: /* @__PURE__ */ t(function(e, t) {
|
|
1492
1492
|
return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
1493
1493
|
first_line: 1,
|
|
1494
1494
|
first_column: 0,
|
|
@@ -1496,11 +1496,11 @@ var g = (function() {
|
|
|
1496
1496
|
last_column: 0
|
|
1497
1497
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
1498
1498
|
}, "setInput"),
|
|
1499
|
-
input: /* @__PURE__ */
|
|
1499
|
+
input: /* @__PURE__ */ t(function() {
|
|
1500
1500
|
var e = this._input[0];
|
|
1501
1501
|
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
1502
1502
|
}, "input"),
|
|
1503
|
-
unput: /* @__PURE__ */
|
|
1503
|
+
unput: /* @__PURE__ */ t(function(e) {
|
|
1504
1504
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
1505
1505
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
1506
1506
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -1513,10 +1513,10 @@ var g = (function() {
|
|
|
1513
1513
|
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
|
|
1514
1514
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
1515
1515
|
}, "unput"),
|
|
1516
|
-
more: /* @__PURE__ */
|
|
1516
|
+
more: /* @__PURE__ */ t(function() {
|
|
1517
1517
|
return this._more = !0, this;
|
|
1518
1518
|
}, "more"),
|
|
1519
|
-
reject: /* @__PURE__ */
|
|
1519
|
+
reject: /* @__PURE__ */ t(function() {
|
|
1520
1520
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
1521
1521
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
1522
1522
|
text: "",
|
|
@@ -1525,22 +1525,22 @@ var g = (function() {
|
|
|
1525
1525
|
});
|
|
1526
1526
|
return this;
|
|
1527
1527
|
}, "reject"),
|
|
1528
|
-
less: /* @__PURE__ */
|
|
1528
|
+
less: /* @__PURE__ */ t(function(e) {
|
|
1529
1529
|
this.unput(this.match.slice(e));
|
|
1530
1530
|
}, "less"),
|
|
1531
|
-
pastInput: /* @__PURE__ */
|
|
1531
|
+
pastInput: /* @__PURE__ */ t(function() {
|
|
1532
1532
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
1533
1533
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
1534
1534
|
}, "pastInput"),
|
|
1535
|
-
upcomingInput: /* @__PURE__ */
|
|
1535
|
+
upcomingInput: /* @__PURE__ */ t(function() {
|
|
1536
1536
|
var e = this.match;
|
|
1537
1537
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
1538
1538
|
}, "upcomingInput"),
|
|
1539
|
-
showPosition: /* @__PURE__ */
|
|
1539
|
+
showPosition: /* @__PURE__ */ t(function() {
|
|
1540
1540
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
1541
1541
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
1542
1542
|
}, "showPosition"),
|
|
1543
|
-
test_match: /* @__PURE__ */
|
|
1543
|
+
test_match: /* @__PURE__ */ t(function(e, t) {
|
|
1544
1544
|
var n, r, i;
|
|
1545
1545
|
if (this.options.backtrack_lexer && (i = {
|
|
1546
1546
|
yylineno: this.yylineno,
|
|
@@ -1573,7 +1573,7 @@ var g = (function() {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
return !1;
|
|
1575
1575
|
}, "test_match"),
|
|
1576
|
-
next: /* @__PURE__ */
|
|
1576
|
+
next: /* @__PURE__ */ t(function() {
|
|
1577
1577
|
if (this.done) return this.EOF;
|
|
1578
1578
|
this._input || (this.done = !0);
|
|
1579
1579
|
var e, t, n, r;
|
|
@@ -1593,29 +1593,29 @@ var g = (function() {
|
|
|
1593
1593
|
line: this.yylineno
|
|
1594
1594
|
});
|
|
1595
1595
|
}, "next"),
|
|
1596
|
-
lex: /* @__PURE__ */
|
|
1596
|
+
lex: /* @__PURE__ */ t(function() {
|
|
1597
1597
|
return this.next() || this.lex();
|
|
1598
1598
|
}, "lex"),
|
|
1599
|
-
begin: /* @__PURE__ */
|
|
1599
|
+
begin: /* @__PURE__ */ t(function(e) {
|
|
1600
1600
|
this.conditionStack.push(e);
|
|
1601
1601
|
}, "begin"),
|
|
1602
|
-
popState: /* @__PURE__ */
|
|
1602
|
+
popState: /* @__PURE__ */ t(function() {
|
|
1603
1603
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1604
1604
|
}, "popState"),
|
|
1605
|
-
_currentRules: /* @__PURE__ */
|
|
1605
|
+
_currentRules: /* @__PURE__ */ t(function() {
|
|
1606
1606
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1607
1607
|
}, "_currentRules"),
|
|
1608
|
-
topState: /* @__PURE__ */
|
|
1608
|
+
topState: /* @__PURE__ */ t(function(e) {
|
|
1609
1609
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
1610
1610
|
}, "topState"),
|
|
1611
|
-
pushState: /* @__PURE__ */
|
|
1611
|
+
pushState: /* @__PURE__ */ t(function(e) {
|
|
1612
1612
|
this.begin(e);
|
|
1613
1613
|
}, "pushState"),
|
|
1614
|
-
stateStackSize: /* @__PURE__ */
|
|
1614
|
+
stateStackSize: /* @__PURE__ */ t(function() {
|
|
1615
1615
|
return this.conditionStack.length;
|
|
1616
1616
|
}, "stateStackSize"),
|
|
1617
1617
|
options: { "case-insensitive": !0 },
|
|
1618
|
-
performAction: /* @__PURE__ */
|
|
1618
|
+
performAction: /* @__PURE__ */ t(function(e, t, n, r) {
|
|
1619
1619
|
switch (n) {
|
|
1620
1620
|
case 0: return "title";
|
|
1621
1621
|
case 1: return this.begin("acc_title"), 9;
|
|
@@ -1914,7 +1914,7 @@ var g = (function() {
|
|
|
1914
1914
|
function ue() {
|
|
1915
1915
|
this.yy = {};
|
|
1916
1916
|
}
|
|
1917
|
-
return
|
|
1917
|
+
return t(ue, "Parser"), ue.prototype = le, le.Parser = ue, new ue();
|
|
1918
1918
|
})();
|
|
1919
1919
|
g.parser = g;
|
|
1920
1920
|
var _ = g, v = class {
|
|
@@ -1943,10 +1943,10 @@ var _ = g, v = class {
|
|
|
1943
1943
|
VERIFIES: "verifies",
|
|
1944
1944
|
REFINES: "refines",
|
|
1945
1945
|
TRACES: "traces"
|
|
1946
|
-
}, this.setAccTitle = o, this.getAccTitle = d, this.setAccDescription = i, this.getAccDescription = c, this.setDiagramTitle = s, this.getDiagramTitle = a, this.getConfig = /* @__PURE__ */
|
|
1946
|
+
}, this.setAccTitle = o, this.getAccTitle = d, this.setAccDescription = i, this.getAccDescription = c, this.setDiagramTitle = s, this.getDiagramTitle = a, this.getConfig = /* @__PURE__ */ t(() => u().requirement, "getConfig"), this.clear(), this.setDirection = this.setDirection.bind(this), this.addRequirement = this.addRequirement.bind(this), this.setNewReqId = this.setNewReqId.bind(this), this.setNewReqRisk = this.setNewReqRisk.bind(this), this.setNewReqText = this.setNewReqText.bind(this), this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this), this.addElement = this.addElement.bind(this), this.setNewElementType = this.setNewElementType.bind(this), this.setNewElementDocRef = this.setNewElementDocRef.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setCssStyle = this.setCssStyle.bind(this), this.setClass = this.setClass.bind(this), this.defineClass = this.defineClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
|
|
1947
1947
|
}
|
|
1948
1948
|
static {
|
|
1949
|
-
|
|
1949
|
+
t(this, "RequirementDB");
|
|
1950
1950
|
}
|
|
1951
1951
|
getDirection() {
|
|
1952
1952
|
return this.direction;
|
|
@@ -2008,14 +2008,14 @@ var _ = g, v = class {
|
|
|
2008
2008
|
setNewReqVerifyMethod(e) {
|
|
2009
2009
|
this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod = e);
|
|
2010
2010
|
}
|
|
2011
|
-
addElement(
|
|
2012
|
-
return this.elements.has(
|
|
2013
|
-
name:
|
|
2011
|
+
addElement(t) {
|
|
2012
|
+
return this.elements.has(t) || (this.elements.set(t, {
|
|
2013
|
+
name: t,
|
|
2014
2014
|
type: this.latestElement.type,
|
|
2015
2015
|
docRef: this.latestElement.docRef,
|
|
2016
2016
|
cssStyles: [],
|
|
2017
2017
|
classes: ["default"]
|
|
2018
|
-
}),
|
|
2018
|
+
}), e.info("Added new element: ", t)), this.resetLatestElement(), this.elements.get(t);
|
|
2019
2019
|
}
|
|
2020
2020
|
getElements() {
|
|
2021
2021
|
return this.elements;
|
|
@@ -2116,7 +2116,7 @@ var _ = g, v = class {
|
|
|
2116
2116
|
direction: this.getDirection()
|
|
2117
2117
|
};
|
|
2118
2118
|
}
|
|
2119
|
-
}, y = /* @__PURE__ */
|
|
2119
|
+
}, y = /* @__PURE__ */ t((e) => `
|
|
2120
2120
|
|
|
2121
2121
|
marker {
|
|
2122
2122
|
fill: ${e.relationColor};
|
|
@@ -2184,11 +2184,11 @@ var _ = g, v = class {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
|
|
2186
2186
|
`, "getStyles"), b = {};
|
|
2187
|
-
|
|
2188
|
-
var x = /* @__PURE__ */
|
|
2189
|
-
|
|
2190
|
-
let { securityLevel: o, state: s, layout: c } = u(), l = a.db.getData(), d = f(
|
|
2191
|
-
l.type = a.type, l.layoutAlgorithm = h(c), l.nodeSpacing = s?.nodeSpacing ?? 50, l.rankSpacing = s?.rankSpacing ?? 50, l.markers = ["requirement_contains", "requirement_arrow"], l.diagramId =
|
|
2187
|
+
n(b, { draw: () => x });
|
|
2188
|
+
var x = /* @__PURE__ */ t(async function(t, n, i, a) {
|
|
2189
|
+
e.info("REF0:"), e.info("Drawing requirement diagram (unified)", n);
|
|
2190
|
+
let { securityLevel: o, state: s, layout: c } = u(), l = a.db.getData(), d = f(n, o);
|
|
2191
|
+
l.type = a.type, l.layoutAlgorithm = h(c), l.nodeSpacing = s?.nodeSpacing ?? 50, l.rankSpacing = s?.rankSpacing ?? 50, l.markers = ["requirement_contains", "requirement_arrow"], l.diagramId = n, await m(l, d), r.insertTitle(d, "requirementDiagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), p(d, 8, "requirementDiagram", s?.useMaxWidth ?? !0);
|
|
2192
2192
|
}, "draw"), S = {
|
|
2193
2193
|
parser: _,
|
|
2194
2194
|
get db() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/roughjs/bundled/rough.esm.js
|
|
1
|
+
//#region ../../node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.js
|
|
2
2
|
function e(e, t, n) {
|
|
3
3
|
if (e && e.length) {
|
|
4
4
|
let [r, i] = t, a = Math.PI / 180 * n, o = Math.cos(a), s = Math.sin(a);
|