@sme.up/ketchup2 2.0.0-SNAPSHOT-20250910135224 → 2.0.0-SNAPSHOT-20250911125542
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/{_basePickBy-DVGfj-F8.js → _basePickBy-CURcAh6G.js} +2 -2
- package/dist/{_basePickBy-C8wdmwXA.cjs → _basePickBy-j7F2iyIB.cjs} +1 -1
- package/dist/{_baseUniq-Be6GNF27.js → _baseUniq-3eO782v4.js} +1 -1
- package/dist/{_baseUniq-BEiQ_n6X.cjs → _baseUniq-DejB4DAK.cjs} +1 -1
- package/dist/{arc-CnPg_S9J.cjs → arc-DK4IWlYL.cjs} +1 -1
- package/dist/{arc-CKYRQMzm.js → arc-Djlg1co4.js} +1 -1
- package/dist/{architecture-O4VJ6CD3-Cu_3Nwp4.cjs → architecture-O4VJ6CD3-CnbkU39j.cjs} +1 -1
- package/dist/{architecture-O4VJ6CD3-zkc0qgRE.js → architecture-O4VJ6CD3-CqnPNLK7.js} +1 -1
- package/dist/{architectureDiagram-W76B3OCA-C6f4_SiL.cjs → architectureDiagram-W76B3OCA-BBm2i1R9.cjs} +1 -1
- package/dist/{architectureDiagram-W76B3OCA-CSrAerVq.js → architectureDiagram-W76B3OCA-D7urAQm9.js} +3 -3
- package/dist/basic-components/typography/typography.d.ts.map +1 -1
- package/dist/{blockDiagram-QIGZ2CNN-BdLGE8U6.js → blockDiagram-QIGZ2CNN-D7sd_IBH.js} +5 -5
- package/dist/{blockDiagram-QIGZ2CNN-B084cYon.cjs → blockDiagram-QIGZ2CNN-tIr1Wi9w.cjs} +1 -1
- package/dist/{c4Diagram-FPNF74CW-CRUbEzew.cjs → c4Diagram-FPNF74CW-BsfgdrAO.cjs} +1 -1
- package/dist/{c4Diagram-FPNF74CW-COSc4Hjh.js → c4Diagram-FPNF74CW-D8tmjsUL.js} +2 -2
- package/dist/channel-351C_Ts_.cjs +1 -0
- package/dist/{channel-CQTqYexY.js → channel-C1SQcRXV.js} +1 -1
- package/dist/{chunk-4BX2VUAB-X6T7WU4Q.js → chunk-4BX2VUAB-Cvdji6vD.js} +1 -1
- package/dist/{chunk-4BX2VUAB-ZXxvF_O_.cjs → chunk-4BX2VUAB-_E5KFfjO.cjs} +1 -1
- package/dist/{chunk-55IACEB6-BXU0Qpk6.cjs → chunk-55IACEB6-CC1SqW1a.cjs} +1 -1
- package/dist/{chunk-55IACEB6-BalehsR7.js → chunk-55IACEB6-dj3mdRFw.js} +1 -1
- package/dist/{chunk-FMBD7UC4-Br99Xgyk.js → chunk-FMBD7UC4-BpaUapcB.js} +1 -1
- package/dist/{chunk-FMBD7UC4-DFEb3Xo0.cjs → chunk-FMBD7UC4-C50RVFEV.cjs} +1 -1
- package/dist/{chunk-K7UQS3LO-e7KAsG6R.cjs → chunk-K7UQS3LO-CiaXk0p7.cjs} +1 -1
- package/dist/{chunk-K7UQS3LO-7JsF6CDK.js → chunk-K7UQS3LO-CsdWjRNM.js} +4 -4
- package/dist/{chunk-QN33PNHL-CBc8Ucfs.js → chunk-QN33PNHL-BIgQfC4e.js} +1 -1
- package/dist/{chunk-QN33PNHL-BmprB0Wc.cjs → chunk-QN33PNHL-Cg8o-KDz.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-GslM48tg.js → chunk-QZHKN3VN-CfZFTrqe.js} +1 -1
- package/dist/{chunk-QZHKN3VN-B1GW3co8.cjs → chunk-QZHKN3VN-DVQMNBKf.cjs} +1 -1
- package/dist/{chunk-TVAH2DTR-dAUXQJkf.cjs → chunk-TVAH2DTR-BrJTrOId.cjs} +1 -1
- package/dist/{chunk-TVAH2DTR-BjbVO3sU.js → chunk-TVAH2DTR-C1-NeA4d.js} +3 -3
- package/dist/{chunk-TZMSLE5B-CkYk0xJ7.cjs → chunk-TZMSLE5B-DlSHNzLK.cjs} +1 -1
- package/dist/{chunk-TZMSLE5B-UoVHODJd.js → chunk-TZMSLE5B-jewzQrrX.js} +1 -1
- package/dist/{classDiagram-v2-RKCZMP56-yKr2ZVVL.js → classDiagram-KNZD7YFC-Ba853BBe.js} +2 -2
- package/dist/{classDiagram-KNZD7YFC-CrgIj_JE.cjs → classDiagram-KNZD7YFC-QCxAKq1c.cjs} +1 -1
- package/dist/{classDiagram-KNZD7YFC-yKr2ZVVL.js → classDiagram-v2-RKCZMP56-Ba853BBe.js} +2 -2
- package/dist/{classDiagram-v2-RKCZMP56-CrgIj_JE.cjs → classDiagram-v2-RKCZMP56-QCxAKq1c.cjs} +1 -1
- package/dist/clone-BB_qi1s7.cjs +1 -0
- package/dist/{clone-Bq-2MXD_.js → clone-W0gRXg3s.js} +1 -1
- package/dist/components/toolbar/toolbar-node.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar-types.d.ts +2 -1
- package/dist/components/toolbar/toolbar-types.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar.d.ts.map +1 -1
- package/dist/{cose-bilkent-S5V4N54A-zVbEqBbY.cjs → cose-bilkent-S5V4N54A-BfCJCUzx.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-BEcJjG5J.js → cose-bilkent-S5V4N54A-CIRFJr1v.js} +1 -1
- package/dist/{dagre-5GWH7T2D-B5ML3qQ1.js → dagre-5GWH7T2D-CE7nvyV3.js} +6 -6
- package/dist/{dagre-5GWH7T2D-BXl-H0VL.cjs → dagre-5GWH7T2D-Dz5l0-IT.cjs} +1 -1
- package/dist/{diagram-N5W7TBWH-DyXNRCUu.js → diagram-N5W7TBWH-Dyi68lAS.js} +4 -4
- package/dist/{diagram-N5W7TBWH-CsHnzgvl.cjs → diagram-N5W7TBWH-K0z-8nld.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-B2ksetiV.js → diagram-QEK2KX5R-B58ktsHs.js} +3 -3
- package/dist/{diagram-QEK2KX5R-Bi5hURJZ.cjs → diagram-QEK2KX5R-BsmryBJo.cjs} +1 -1
- package/dist/{diagram-S2PKOQOG-CZJRECy8.cjs → diagram-S2PKOQOG-CxmIIGX4.cjs} +1 -1
- package/dist/{diagram-S2PKOQOG-B49P4Ayf.js → diagram-S2PKOQOG-D7HFlgJB.js} +3 -3
- package/dist/{erDiagram-AWTI2OKA-CsAl1M8J.js → erDiagram-AWTI2OKA-BJtnZhh2.js} +4 -4
- package/dist/{erDiagram-AWTI2OKA-BlND1fTU.cjs → erDiagram-AWTI2OKA-UjL2WyGb.cjs} +1 -1
- package/dist/{flowDiagram-PVAE7QVJ-W7VJHYxF.js → flowDiagram-PVAE7QVJ-B2DEkemN.js} +5 -5
- package/dist/{flowDiagram-PVAE7QVJ-vG4uALEf.cjs → flowDiagram-PVAE7QVJ-BkP0IZHZ.cjs} +1 -1
- package/dist/{ganttDiagram-OWAHRB6G-Di3iung-.cjs → ganttDiagram-OWAHRB6G-B3WAcxgN.cjs} +1 -1
- package/dist/{ganttDiagram-OWAHRB6G-BR-PkY7Q.js → ganttDiagram-OWAHRB6G-B3X7mQ9T.js} +2 -2
- package/dist/{gitGraph-ZV4HHKMB-5ae-0Ra3.js → gitGraph-ZV4HHKMB-D1J9QTOr.js} +1 -1
- package/dist/{gitGraph-ZV4HHKMB-DRZNB0Ko.cjs → gitGraph-ZV4HHKMB-KOvYkZKq.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-rRmM5Vva.js → gitGraphDiagram-NY62KEGX-C9T-V_K8.js} +4 -4
- package/dist/{gitGraphDiagram-NY62KEGX-D08uO8e-.cjs → gitGraphDiagram-NY62KEGX-Dhz4jsR2.cjs} +1 -1
- package/dist/{graph-7MitnCL5.js → graph-DHWyp9y3.js} +2 -2
- package/dist/{graph-G21WTV6o.cjs → graph-DRvPJrml.cjs} +1 -1
- package/dist/{index-Uroq8C7z.cjs → index-HfCMEYeO.cjs} +14 -14
- package/dist/{index-BVVhGIZS.js → index-PB8-r29R.js} +263 -248
- package/dist/info-63CPKGFF-BMaMKtR_.js +5 -0
- package/dist/{info-63CPKGFF-BDB1pKgt.cjs → info-63CPKGFF-nyciKHvm.cjs} +1 -1
- package/dist/{infoDiagram-STP46IZ2-D6xJZ5O0.js → infoDiagram-STP46IZ2-BnVp7Ty_.js} +2 -2
- package/dist/{infoDiagram-STP46IZ2-BYSNoOw2.cjs → infoDiagram-STP46IZ2-DfrOqrTR.cjs} +1 -1
- package/dist/{journeyDiagram-BIP6EPQ6-BKTGKn5U.cjs → journeyDiagram-BIP6EPQ6-Cf1DnT1W.cjs} +1 -1
- package/dist/{journeyDiagram-BIP6EPQ6-D-nDy66w.js → journeyDiagram-BIP6EPQ6-DnGpqdTC.js} +4 -4
- package/dist/{kanban-definition-6OIFK2YF-CM7-qUn4.cjs → kanban-definition-6OIFK2YF-DenJM7oI.cjs} +1 -1
- package/dist/{kanban-definition-6OIFK2YF-KwKp7VEr.js → kanban-definition-6OIFK2YF-OVCmqlgw.js} +2 -2
- package/dist/ketchup2.cjs.js +1 -1
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +1 -1
- package/dist/{layout-CotxTLyK.js → layout-CUDcVrW7.js} +4 -4
- package/dist/{layout-CEvCx3U8.cjs → layout-DRg0gGKw.cjs} +1 -1
- package/dist/{linear-CPPGtAf3.js → linear-Bkij7VKO.js} +1 -1
- package/dist/{linear-B7OlpdIy.cjs → linear-Cj3VrtNJ.cjs} +1 -1
- package/dist/{mermaid-parser.core-CDecL3CG.js → mermaid-parser.core-BIp4LgAG.js} +11 -11
- package/dist/{mermaid-parser.core-CEQy4iEm.cjs → mermaid-parser.core-D-HkooZI.cjs} +2 -2
- package/dist/{mindmap-definition-Q6HEUPPD-N3YWjLyR.cjs → mindmap-definition-Q6HEUPPD-BpXitvCN.cjs} +1 -1
- package/dist/{mindmap-definition-Q6HEUPPD-C6O_Fb_j.js → mindmap-definition-Q6HEUPPD-CDxIe2oN.js} +3 -3
- package/dist/{packet-HUATNLJX-Bn2ScGAy.js → packet-HUATNLJX-CcaRK7To.js} +1 -1
- package/dist/{packet-HUATNLJX-B2Uu4jN-.cjs → packet-HUATNLJX-DSSgnHYD.cjs} +1 -1
- package/dist/pie-WTHONI2E-BmLdlDGb.js +5 -0
- package/dist/{pie-WTHONI2E-MPZwbhxu.cjs → pie-WTHONI2E-CHSsk4RX.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-B8ZlC2R5.cjs → pieDiagram-ADFJNKIX-COxo77gD.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-DPWD7HXY.js → pieDiagram-ADFJNKIX-CXm5TDsJ.js} +4 -4
- package/dist/{quadrantDiagram-LMRXKWRM-Cbz7AkYQ.js → quadrantDiagram-LMRXKWRM-BWhMbgw7.js} +2 -2
- package/dist/{quadrantDiagram-LMRXKWRM-C52Hm7pa.cjs → quadrantDiagram-LMRXKWRM-CtODsR00.cjs} +1 -1
- package/dist/radar-NJJJXTRR-CYxFCd2h.js +5 -0
- package/dist/{radar-NJJJXTRR-Sja2oqqm.cjs → radar-NJJJXTRR-DI285myo.cjs} +1 -1
- package/dist/{requirementDiagram-4UW4RH46-DQquxWj0.cjs → requirementDiagram-4UW4RH46-B-KQ-vZQ.cjs} +1 -1
- package/dist/{requirementDiagram-4UW4RH46-DrIi5EEk.js → requirementDiagram-4UW4RH46-CTGvW1gX.js} +3 -3
- package/dist/{sankeyDiagram-GR3RE2ED-KgxYyjy9.cjs → sankeyDiagram-GR3RE2ED-BIXAvmu5.cjs} +1 -1
- package/dist/{sankeyDiagram-GR3RE2ED-Cq_DEnTE.js → sankeyDiagram-GR3RE2ED-BMK9TwGu.js} +1 -1
- package/dist/{sequenceDiagram-C3RYC4MD-Dzav7nSf.cjs → sequenceDiagram-C3RYC4MD-B02C_P8V.cjs} +1 -1
- package/dist/{sequenceDiagram-C3RYC4MD-o2An7wPv.js → sequenceDiagram-C3RYC4MD-BO0lU4at.js} +3 -3
- package/dist/{stateDiagram-KXAO66HF-ZIFRlglv.cjs → stateDiagram-KXAO66HF-Beootb4e.cjs} +1 -1
- package/dist/{stateDiagram-KXAO66HF-oliVsJZ1.js → stateDiagram-KXAO66HF-DfyviXZF.js} +4 -4
- package/dist/{stateDiagram-v2-UMBNRL4Z-Ca9Q0pmC.js → stateDiagram-v2-UMBNRL4Z-BZhRijj7.js} +2 -2
- package/dist/{stateDiagram-v2-UMBNRL4Z-eFJRn_OR.cjs → stateDiagram-v2-UMBNRL4Z-CZaIAl9h.cjs} +1 -1
- package/dist/{timeline-definition-XQNQX7LJ-Cy9jvtBJ.js → timeline-definition-XQNQX7LJ-CGF8Ag8o.js} +2 -2
- package/dist/{timeline-definition-XQNQX7LJ-D7JZ8b7s.cjs → timeline-definition-XQNQX7LJ-CXuPiStN.cjs} +1 -1
- package/dist/{treemap-75Q7IDZK-Cb_nNueQ.js → treemap-75Q7IDZK-CNUjI4Jk.js} +1 -1
- package/dist/{treemap-75Q7IDZK-CDZ38-5A.cjs → treemap-75Q7IDZK-CZCRR7ml.cjs} +1 -1
- package/dist/{xychartDiagram-6GGTOJPD-BJx0oVUp.js → xychartDiagram-6GGTOJPD-Bem8mOgQ.js} +2 -2
- package/dist/{xychartDiagram-6GGTOJPD-BMgoBW7g.cjs → xychartDiagram-6GGTOJPD-cs_qH3NA.cjs} +1 -1
- package/package.json +1 -1
- package/dist/channel-BkWzCdDL.cjs +0 -1
- package/dist/clone-mMh7t6UX.cjs +0 -1
- package/dist/info-63CPKGFF-DY_4HLxW.js +0 -5
- package/dist/pie-WTHONI2E-DiiDKc6c.js +0 -5
- package/dist/radar-NJJJXTRR-B-Hr10yF.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ma from "react";
|
|
2
|
-
import ts, { useState as
|
|
2
|
+
import ts, { useState as st, useEffect as Tt, useRef as It, useCallback as Dt, useLayoutEffect as hx, useId as Er, useMemo as In, createElement as ux } from "react";
|
|
3
3
|
import { createPortal as fx } from "react-dom";
|
|
4
4
|
function dx(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -1384,7 +1384,7 @@ const ND = (e) => {
|
|
|
1384
1384
|
tabIndex: f,
|
|
1385
1385
|
link: d
|
|
1386
1386
|
}) => {
|
|
1387
|
-
const [p, g] =
|
|
1387
|
+
const [p, g] = st(!1), y = (L) => L?.toLowerCase().endsWith(".svg") || !L?.includes("/"), b = (L) => L?.startsWith("http") || L?.startsWith("/"), x = {
|
|
1388
1388
|
img: `${c ? "smp-image-interactable" : ""}`,
|
|
1389
1389
|
svg: `smp-icon ${o ? `smp-icon-${o}` : ""} ${s ? "smp-icon-rotated" : ""} ${c ? "smp-icon-interactable" : ""} ${h ? "smp-icon-spin" : ""}`
|
|
1390
1390
|
}, w = (L) => {
|
|
@@ -1436,7 +1436,7 @@ const ND = (e) => {
|
|
|
1436
1436
|
function pr({
|
|
1437
1437
|
children: e
|
|
1438
1438
|
}) {
|
|
1439
|
-
const [t, r] =
|
|
1439
|
+
const [t, r] = st(!1);
|
|
1440
1440
|
return Tt(() => {
|
|
1441
1441
|
r(!0);
|
|
1442
1442
|
}, []), t ? fx(e, document.body) : null;
|
|
@@ -1445,7 +1445,7 @@ function gr({
|
|
|
1445
1445
|
position: e = "bottom",
|
|
1446
1446
|
open: t = !1
|
|
1447
1447
|
}) {
|
|
1448
|
-
const r = It(null), i = It(null), [n, a] =
|
|
1448
|
+
const r = It(null), i = It(null), [n, a] = st(0), o = Dt(() => {
|
|
1449
1449
|
const s = r.current, l = i.current;
|
|
1450
1450
|
if (!s || !l) return;
|
|
1451
1451
|
const { top: c, left: h, width: u, height: f } = s.getBoundingClientRect();
|
|
@@ -1547,7 +1547,7 @@ const Fo = {
|
|
|
1547
1547
|
htmlFor: r,
|
|
1548
1548
|
helper: i = ""
|
|
1549
1549
|
}) => {
|
|
1550
|
-
const [n, a] =
|
|
1550
|
+
const [n, a] = st(!1), { anchorRef: o, targetRef: s } = gr({
|
|
1551
1551
|
position: "right",
|
|
1552
1552
|
open: n
|
|
1553
1553
|
}), l = {
|
|
@@ -2043,7 +2043,7 @@ function _d({
|
|
|
2043
2043
|
containerHeight: r,
|
|
2044
2044
|
overscan: i = 5
|
|
2045
2045
|
}) {
|
|
2046
|
-
const [n, a] =
|
|
2046
|
+
const [n, a] = st(0), o = It(null), s = e.length * t, l = Math.max(0, Math.floor(n / t) - i), c = Math.min(
|
|
2047
2047
|
e.length - 1,
|
|
2048
2048
|
Math.floor((n + r) / t) + i
|
|
2049
2049
|
), h = [];
|
|
@@ -2127,9 +2127,9 @@ const Kx = 10, vc = ({
|
|
|
2127
2127
|
isOpen: h,
|
|
2128
2128
|
floating: u = !1
|
|
2129
2129
|
}) => {
|
|
2130
|
-
const [f, d] =
|
|
2130
|
+
const [f, d] = st(""), p = 40, [g, y] = st(
|
|
2131
2131
|
a !== null ? a : -1
|
|
2132
|
-
), [b, x] =
|
|
2132
|
+
), [b, x] = st(s || 200), w = It(null), C = n !== void 0 ? n : t.length > Kx, v = f ? t.filter(
|
|
2133
2133
|
(O) => O.decode?.toLowerCase()?.includes(f.toLowerCase())
|
|
2134
2134
|
) : t, E = (O) => {
|
|
2135
2135
|
d(O);
|
|
@@ -2236,15 +2236,15 @@ const Kx = 10, vc = ({
|
|
|
2236
2236
|
}
|
|
2237
2237
|
);
|
|
2238
2238
|
}, ar = {
|
|
2239
|
-
"smp-floating-toolbar-container": "_smp-floating-toolbar-
|
|
2240
|
-
"smp-toolbar-node-content": "_smp-toolbar-node-
|
|
2241
|
-
"smp-clickable": "_smp-
|
|
2242
|
-
"smp-not-clickable": "_smp-not-
|
|
2243
|
-
"smp-toolbar-node-children-container": "_smp-toolbar-node-children-
|
|
2244
|
-
"smp-expanded": "_smp-
|
|
2245
|
-
"smp-toolbar-node": "_smp-toolbar-
|
|
2246
|
-
"smp-toolbar-node-icon-text-container": "_smp-toolbar-node-icon-text-
|
|
2247
|
-
"smp-toolbar-node-text": "_smp-toolbar-node-
|
|
2239
|
+
"smp-floating-toolbar-container": "_smp-floating-toolbar-container_s0udi_11",
|
|
2240
|
+
"smp-toolbar-node-content": "_smp-toolbar-node-content_s0udi_29",
|
|
2241
|
+
"smp-clickable": "_smp-clickable_s0udi_49",
|
|
2242
|
+
"smp-not-clickable": "_smp-not-clickable_s0udi_59",
|
|
2243
|
+
"smp-toolbar-node-children-container": "_smp-toolbar-node-children-container_s0udi_69",
|
|
2244
|
+
"smp-expanded": "_smp-expanded_s0udi_89",
|
|
2245
|
+
"smp-toolbar-node": "_smp-toolbar-node_s0udi_29",
|
|
2246
|
+
"smp-toolbar-node-icon-text-container": "_smp-toolbar-node-icon-text-container_s0udi_147",
|
|
2247
|
+
"smp-toolbar-node-text": "_smp-toolbar-node-text_s0udi_161"
|
|
2248
2248
|
}, Zx = ({
|
|
2249
2249
|
node: e,
|
|
2250
2250
|
index: t,
|
|
@@ -2274,6 +2274,9 @@ const Kx = 10, vc = ({
|
|
|
2274
2274
|
return e?.shape === St.RADIO ? /* @__PURE__ */ S.jsx(
|
|
2275
2275
|
"div",
|
|
2276
2276
|
{
|
|
2277
|
+
ref: (b) => {
|
|
2278
|
+
b && n.current.set(u, b);
|
|
2279
|
+
},
|
|
2277
2280
|
className: y.node,
|
|
2278
2281
|
role: "radiogroup",
|
|
2279
2282
|
"data-node-id": u,
|
|
@@ -2361,59 +2364,66 @@ const Kx = 10, vc = ({
|
|
|
2361
2364
|
ref: t,
|
|
2362
2365
|
onToolbarLoadNodeData: r,
|
|
2363
2366
|
onToolbarLeafNodeClick: i,
|
|
2364
|
-
onToolbarLoadInitialData: n
|
|
2367
|
+
onToolbarLoadInitialData: n,
|
|
2368
|
+
registerRef: a
|
|
2365
2369
|
}) => {
|
|
2366
|
-
const
|
|
2367
|
-
|
|
2370
|
+
const o = It(/* @__PURE__ */ new Map()), [s, l] = st(e);
|
|
2371
|
+
Tt(() => {
|
|
2372
|
+
a && s && o.current.forEach((y) => {
|
|
2373
|
+
y && a({ current: y });
|
|
2374
|
+
});
|
|
2375
|
+
}, [a, s]);
|
|
2376
|
+
const { handleNodeExpand: c, handleMouseLeave: h, onToolbarRadioLeafNodeClick: u } = Vx(
|
|
2377
|
+
l,
|
|
2368
2378
|
r,
|
|
2369
2379
|
i
|
|
2370
|
-
), { handleKeyDown:
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
),
|
|
2380
|
+
), { handleKeyDown: f } = Yx(
|
|
2381
|
+
l,
|
|
2382
|
+
o,
|
|
2383
|
+
c
|
|
2384
|
+
), d = Cd(400), p = {
|
|
2375
2385
|
floatingContainer: ar["smp-floating-toolbar-container"]
|
|
2376
2386
|
};
|
|
2377
2387
|
Tt(() => {
|
|
2378
|
-
!
|
|
2379
|
-
console.error("Errore nel caricamento dati iniziali - Toolbar",
|
|
2380
|
-
}), Fa(
|
|
2381
|
-
}, [e,
|
|
2382
|
-
const
|
|
2383
|
-
(
|
|
2388
|
+
!s && n && (n().then((y) => l(y)).catch((y) => {
|
|
2389
|
+
console.error("Errore nel caricamento dati iniziali - Toolbar", y);
|
|
2390
|
+
}), Fa(o, rs(0)));
|
|
2391
|
+
}, [e, d, n, s]);
|
|
2392
|
+
const g = Dt(
|
|
2393
|
+
(y, b, x = null) => b?.length ? /* @__PURE__ */ S.jsx(S.Fragment, { children: b.map((w, C) => /* @__PURE__ */ S.jsx(
|
|
2384
2394
|
Zx,
|
|
2385
2395
|
{
|
|
2386
|
-
node:
|
|
2387
|
-
index:
|
|
2388
|
-
level:
|
|
2389
|
-
parentId:
|
|
2390
|
-
toolbarNodesRefs:
|
|
2391
|
-
handleKeyDown:
|
|
2392
|
-
handleNodeExpand:
|
|
2393
|
-
handleMouseLeave:
|
|
2396
|
+
node: w,
|
|
2397
|
+
index: C,
|
|
2398
|
+
level: y,
|
|
2399
|
+
parentId: x,
|
|
2400
|
+
toolbarNodesRefs: o,
|
|
2401
|
+
handleKeyDown: f,
|
|
2402
|
+
handleNodeExpand: c,
|
|
2403
|
+
handleMouseLeave: h,
|
|
2394
2404
|
onToolbarLeafNodeClick: i,
|
|
2395
|
-
onToolbarRadioLeafNodeClick:
|
|
2396
|
-
renderToolbarNodes:
|
|
2405
|
+
onToolbarRadioLeafNodeClick: u,
|
|
2406
|
+
renderToolbarNodes: g
|
|
2397
2407
|
},
|
|
2398
|
-
rs(
|
|
2408
|
+
rs(C, x ?? "")
|
|
2399
2409
|
)) }) : null,
|
|
2400
2410
|
[
|
|
2401
|
-
|
|
2402
|
-
l,
|
|
2411
|
+
f,
|
|
2403
2412
|
c,
|
|
2413
|
+
h,
|
|
2404
2414
|
i,
|
|
2405
|
-
|
|
2415
|
+
u
|
|
2406
2416
|
]
|
|
2407
2417
|
);
|
|
2408
|
-
return !
|
|
2418
|
+
return !s || !s?.children?.length ? null : /* @__PURE__ */ S.jsx(
|
|
2409
2419
|
"div",
|
|
2410
2420
|
{
|
|
2411
2421
|
ref: t,
|
|
2412
|
-
className: `${t ?
|
|
2422
|
+
className: `${t ? p.floatingContainer : null}`,
|
|
2413
2423
|
"aria-label": "Toolbar",
|
|
2414
2424
|
"data-component": "toolbar",
|
|
2415
2425
|
"smp-id": "toolbar-menu",
|
|
2416
|
-
children:
|
|
2426
|
+
children: g(0, s.children)
|
|
2417
2427
|
}
|
|
2418
2428
|
);
|
|
2419
2429
|
}, ea = (e, t, r) => {
|
|
@@ -2444,22 +2454,26 @@ const Kx = 10, vc = ({
|
|
|
2444
2454
|
onToolbarLoadNodeData: c,
|
|
2445
2455
|
...h
|
|
2446
2456
|
}) => {
|
|
2447
|
-
const u = Wx[e], [f, d] =
|
|
2457
|
+
const u = Wx[e], [f, d] = st([]), p = Dt((v) => {
|
|
2458
|
+
d((E) => E.some((T) => T.current === v.current) ? E : [...E, v]);
|
|
2459
|
+
}, []), [g, y] = st(!1), { anchorRef: b, targetRef: x } = gr({
|
|
2448
2460
|
position: "bottom",
|
|
2449
|
-
open:
|
|
2461
|
+
open: g
|
|
2462
|
+
});
|
|
2463
|
+
ea([x, ...f], g, () => {
|
|
2464
|
+
y(!1), d([]);
|
|
2450
2465
|
});
|
|
2451
|
-
|
|
2452
|
-
const y = {
|
|
2466
|
+
const w = {
|
|
2453
2467
|
container: `smp-typography ${e ? `smp-typography-${e}` : ""} ${h.disabled ? "smp-typography-disabled" : ""} ${n ?? ""}`
|
|
2454
|
-
},
|
|
2455
|
-
s && s(
|
|
2468
|
+
}, C = (v) => {
|
|
2469
|
+
s && s(v), y(!1);
|
|
2456
2470
|
};
|
|
2457
2471
|
return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
2458
2472
|
/* @__PURE__ */ S.jsxs(
|
|
2459
2473
|
u,
|
|
2460
2474
|
{
|
|
2461
2475
|
"data-component": "typography",
|
|
2462
|
-
className:
|
|
2476
|
+
className: w.container,
|
|
2463
2477
|
disabled: h.disabled,
|
|
2464
2478
|
style: {
|
|
2465
2479
|
"--smp-typography-color-base": r,
|
|
@@ -2468,26 +2482,27 @@ const Kx = 10, vc = ({
|
|
|
2468
2482
|
role: i,
|
|
2469
2483
|
children: [
|
|
2470
2484
|
t,
|
|
2471
|
-
o && /* @__PURE__ */ S.jsx("div", { "smp-id": "toolbar-button", ref:
|
|
2485
|
+
o && /* @__PURE__ */ S.jsx("div", { "smp-id": "toolbar-button", ref: b, children: /* @__PURE__ */ S.jsx(
|
|
2472
2486
|
Rt,
|
|
2473
2487
|
{
|
|
2474
2488
|
icon: "more_vert",
|
|
2475
2489
|
isInteractable: !0,
|
|
2476
|
-
onClick: (
|
|
2477
|
-
|
|
2490
|
+
onClick: (v) => {
|
|
2491
|
+
v.stopPropagation(), y(!0);
|
|
2478
2492
|
}
|
|
2479
2493
|
}
|
|
2480
2494
|
) })
|
|
2481
2495
|
]
|
|
2482
2496
|
}
|
|
2483
2497
|
),
|
|
2484
|
-
|
|
2498
|
+
g && /* @__PURE__ */ S.jsx(pr, { children: /* @__PURE__ */ S.jsx(
|
|
2485
2499
|
Qx,
|
|
2486
2500
|
{
|
|
2487
|
-
ref:
|
|
2488
|
-
onToolbarLeafNodeClick:
|
|
2501
|
+
ref: x,
|
|
2502
|
+
onToolbarLeafNodeClick: C,
|
|
2489
2503
|
onToolbarLoadNodeData: c,
|
|
2490
|
-
onToolbarLoadInitialData: l
|
|
2504
|
+
onToolbarLoadInitialData: l,
|
|
2505
|
+
registerRef: p
|
|
2491
2506
|
}
|
|
2492
2507
|
) })
|
|
2493
2508
|
] });
|
|
@@ -2515,7 +2530,7 @@ const Kx = 10, vc = ({
|
|
|
2515
2530
|
onToolbarLoadNodeData: o,
|
|
2516
2531
|
onToolbarLeafNodeClick: s
|
|
2517
2532
|
}) => {
|
|
2518
|
-
const [l, c] =
|
|
2533
|
+
const [l, c] = st(i ?? 0), [h, u] = st(!1), [f, d] = st(!1), p = It(null);
|
|
2519
2534
|
if (Tt(() => {
|
|
2520
2535
|
const v = p.current;
|
|
2521
2536
|
if (!v) return;
|
|
@@ -2632,7 +2647,7 @@ const Kx = 10, vc = ({
|
|
|
2632
2647
|
]
|
|
2633
2648
|
}
|
|
2634
2649
|
}) => {
|
|
2635
|
-
const [r, i] =
|
|
2650
|
+
const [r, i] = st(0), n = {};
|
|
2636
2651
|
ts.Children.forEach(e, (p) => {
|
|
2637
2652
|
ts.isValidElement(p) && (n[p.props.id] = p);
|
|
2638
2653
|
});
|
|
@@ -4388,9 +4403,9 @@ const Y1 = (e) => e?.type === "SmeupDataTree", G1 = (e) => e?.type === "SmeupDat
|
|
|
4388
4403
|
_multiActiveIndex: f,
|
|
4389
4404
|
...d
|
|
4390
4405
|
}) => {
|
|
4391
|
-
const p = It(null), [g, y] =
|
|
4406
|
+
const p = It(null), [g, y] = st(e), [b, x] = st(t), { translate: w } = vr(), [C, v] = st(!1), [E, T] = st(
|
|
4392
4407
|
r || []
|
|
4393
|
-
), [N, z] =
|
|
4408
|
+
), [N, z] = st(0), [I, k] = st([e]), { anchorRef: L, targetRef: D, anchorWidth: B } = gr({
|
|
4394
4409
|
position: "bottom",
|
|
4395
4410
|
open: C
|
|
4396
4411
|
}), O = Dt(() => {
|
|
@@ -4487,7 +4502,7 @@ const Y1 = (e) => e?.type === "SmeupDataTree", G1 = (e) => e?.type === "SmeupDat
|
|
|
4487
4502
|
onClick: d,
|
|
4488
4503
|
onOptionsRequest: p
|
|
4489
4504
|
}) => {
|
|
4490
|
-
const [g, y] =
|
|
4505
|
+
const [g, y] = st(e);
|
|
4491
4506
|
Tt(() => {
|
|
4492
4507
|
!g && p && t && p(t, void 0).then(
|
|
4493
4508
|
(w) => y(Gi(w))
|
|
@@ -4606,7 +4621,7 @@ const yl = ({
|
|
|
4606
4621
|
multiActiveIndex: l,
|
|
4607
4622
|
...c
|
|
4608
4623
|
}) => {
|
|
4609
|
-
const h = It(null), [u, f] =
|
|
4624
|
+
const h = It(null), [u, f] = st(!1), [d, p] = st(r), [g, y] = st(-1), [b, x] = st([e]), w = Er(), { anchorRef: C, targetRef: v, anchorWidth: E } = gr({
|
|
4610
4625
|
position: "bottom",
|
|
4611
4626
|
open: u
|
|
4612
4627
|
}), T = Dt(() => {
|
|
@@ -4687,13 +4702,13 @@ function Z1({
|
|
|
4687
4702
|
if (!i) return;
|
|
4688
4703
|
const R = new Date(i);
|
|
4689
4704
|
return isNaN(R.getTime()) ? void 0 : R;
|
|
4690
|
-
}, [s] =
|
|
4705
|
+
}, [s] = st(/* @__PURE__ */ new Date()), [l, c] = st(
|
|
4691
4706
|
e || o() || /* @__PURE__ */ new Date()
|
|
4692
|
-
), [h, u] =
|
|
4707
|
+
), [h, u] = st(
|
|
4693
4708
|
l ? l.getMonth() : (/* @__PURE__ */ new Date()).getMonth()
|
|
4694
|
-
), [f, d] =
|
|
4709
|
+
), [f, d] = st(
|
|
4695
4710
|
l ? l.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear()
|
|
4696
|
-
), [p, g] =
|
|
4711
|
+
), [p, g] = st(
|
|
4697
4712
|
l ? l.getDate() : null
|
|
4698
4713
|
), y = It(null), b = It([]), x = [
|
|
4699
4714
|
a(Te.JANUARY),
|
|
@@ -5069,7 +5084,7 @@ const Sc = ({
|
|
|
5069
5084
|
isOptimized: a,
|
|
5070
5085
|
...o
|
|
5071
5086
|
}) => {
|
|
5072
|
-
const s = It(null), [l, c] =
|
|
5087
|
+
const s = It(null), [l, c] = st(!1), [h, u] = st(e || ""), [f, d] = st(""), { anchorRef: p, targetRef: g } = gr({
|
|
5073
5088
|
position: "bottom",
|
|
5074
5089
|
open: l
|
|
5075
5090
|
}), y = Dt(() => {
|
|
@@ -5146,7 +5161,7 @@ const Sc = ({
|
|
|
5146
5161
|
backgroundColor: a,
|
|
5147
5162
|
isDraggable: o = !1
|
|
5148
5163
|
}) => {
|
|
5149
|
-
const [s, l] =
|
|
5164
|
+
const [s, l] = st(null), c = {
|
|
5150
5165
|
container: `${["smp-chips-container"]}`,
|
|
5151
5166
|
element: "smp-chips-element"
|
|
5152
5167
|
}, h = (d) => {
|
|
@@ -5274,7 +5289,7 @@ const Sc = ({
|
|
|
5274
5289
|
}
|
|
5275
5290
|
);
|
|
5276
5291
|
}, J1 = ({ ...e }) => {
|
|
5277
|
-
const [t, r] =
|
|
5292
|
+
const [t, r] = st(!1), i = t ? "visibility-off" : "visibility";
|
|
5278
5293
|
return /* @__PURE__ */ S.jsx(
|
|
5279
5294
|
Ze,
|
|
5280
5295
|
{
|
|
@@ -5287,7 +5302,7 @@ const Sc = ({
|
|
|
5287
5302
|
}
|
|
5288
5303
|
);
|
|
5289
5304
|
}, tv = ({ ...e }) => {
|
|
5290
|
-
const [t, r] =
|
|
5305
|
+
const [t, r] = st(e.bindValue), { translate: i } = vr(), n = (o) => {
|
|
5291
5306
|
o.key === "Enter" && (o.preventDefault(), e.onEnter?.(t));
|
|
5292
5307
|
}, a = (o) => {
|
|
5293
5308
|
r(o), e.onChange?.(o);
|
|
@@ -5379,7 +5394,7 @@ const jr = (e, t, r) => ({
|
|
|
5379
5394
|
useGrouping: !0
|
|
5380
5395
|
}).format(D),
|
|
5381
5396
|
[f]
|
|
5382
|
-
), y = Dt(z1, [d, p]), b = Dt(I1, [e, t]), x = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [w, C] =
|
|
5397
|
+
), y = Dt(z1, [d, p]), b = Dt(I1, [e, t]), x = a != null && a.toString().includes(".") ? a.toString().split(".")[1].length : 0, [w, C] = st(x), [v, E] = st(
|
|
5383
5398
|
a != null ? g(a, w) : ""
|
|
5384
5399
|
), T = It(a ?? null);
|
|
5385
5400
|
Tt(() => {
|
|
@@ -5600,7 +5615,7 @@ const bi = {
|
|
|
5600
5615
|
label: s,
|
|
5601
5616
|
...l
|
|
5602
5617
|
}) => {
|
|
5603
|
-
const [c, h] =
|
|
5618
|
+
const [c, h] = st(n), u = Er();
|
|
5604
5619
|
Tt(() => {
|
|
5605
5620
|
!c && a && o && a(o, void 0).then(
|
|
5606
5621
|
(v) => h(Gi(v))
|
|
@@ -5713,7 +5728,7 @@ const bi = {
|
|
|
5713
5728
|
isEditable: i = !0,
|
|
5714
5729
|
...n
|
|
5715
5730
|
}) => {
|
|
5716
|
-
const a = It(null), [o, s] =
|
|
5731
|
+
const a = It(null), [o, s] = st(!1), [l, c] = st(e || ""), [h, u] = st(""), { anchorRef: f, targetRef: d } = gr({
|
|
5717
5732
|
position: "bottom",
|
|
5718
5733
|
open: o
|
|
5719
5734
|
}), p = Dt(() => {
|
|
@@ -5829,7 +5844,7 @@ const $u = /* @__PURE__ */ new Map([
|
|
|
5829
5844
|
helper: l,
|
|
5830
5845
|
...c
|
|
5831
5846
|
}) => {
|
|
5832
|
-
const [h, u] =
|
|
5847
|
+
const [h, u] = st(a), f = Er(), d = (g) => {
|
|
5833
5848
|
t || c.onChange?.(g.obj.k, g.decode);
|
|
5834
5849
|
};
|
|
5835
5850
|
Tt(() => {
|
|
@@ -5906,7 +5921,7 @@ const We = {
|
|
|
5906
5921
|
onNodeClick: h,
|
|
5907
5922
|
onContextMenu: u
|
|
5908
5923
|
}) => {
|
|
5909
|
-
const [f, d] =
|
|
5924
|
+
const [f, d] = st(Ci(e)), p = Ci(e) && !!e.children?.length, g = e.cells && Object.keys(e.cells).length > 0, y = p, b = i * 16, x = () => {
|
|
5910
5925
|
p && d(!f);
|
|
5911
5926
|
}, w = {
|
|
5912
5927
|
content: `${We["smp-row"]} ${Sa(e) ? We["smp-row-data"] : ""} ${Ci(e) ? We["smp-row-clickable"] : ""} ${s ? We["smp-row-selected"] : ""}`,
|
|
@@ -6058,7 +6073,7 @@ const We = {
|
|
|
6058
6073
|
}, uv = {
|
|
6059
6074
|
"smp-tree": "_smp-tree_19u9h_1"
|
|
6060
6075
|
}, fv = ({ fun: e, onOptionsRequest: t, onClick: r }) => {
|
|
6061
|
-
const [i, n] =
|
|
6076
|
+
const [i, n] = st(void 0);
|
|
6062
6077
|
Tt(() => {
|
|
6063
6078
|
!i && t && e && t(e, void 0).then((o) => n(Gi(o))).catch((o) => {
|
|
6064
6079
|
console.error("Errore nel caricamento delle opzioni per il Tree", o);
|
|
@@ -6354,7 +6369,7 @@ const We = {
|
|
|
6354
6369
|
onEnter: r,
|
|
6355
6370
|
onContextMenu: i
|
|
6356
6371
|
}) => {
|
|
6357
|
-
const [n, a] =
|
|
6372
|
+
const [n, a] = st(), o = Dt(
|
|
6358
6373
|
(s) => {
|
|
6359
6374
|
if (!s.rows?.length || !s.columns?.length)
|
|
6360
6375
|
return {};
|
|
@@ -6583,7 +6598,7 @@ const mv = ({
|
|
|
6583
6598
|
containerRef: r,
|
|
6584
6599
|
sizingMode: i
|
|
6585
6600
|
}) => {
|
|
6586
|
-
const [n, a] =
|
|
6601
|
+
const [n, a] = st({}), o = 3, s = 7;
|
|
6587
6602
|
return Tt(() => {
|
|
6588
6603
|
if (!(!e || e.length === 0)) {
|
|
6589
6604
|
if (i === "fixed") {
|
|
@@ -6848,7 +6863,7 @@ function Fd(e, t, r) {
|
|
|
6848
6863
|
};
|
|
6849
6864
|
}
|
|
6850
6865
|
function Mv(e) {
|
|
6851
|
-
const [t, r] =
|
|
6866
|
+
const [t, r] = st(null), [i, n] = st("asc");
|
|
6852
6867
|
return {
|
|
6853
6868
|
sortedRows: In(() => t ? Fd({ ...e, rows: e.rows }, t, i).rows : e.rows, [e, t, i]),
|
|
6854
6869
|
sortBy: t,
|
|
@@ -7539,10 +7554,10 @@ const ki = {
|
|
|
7539
7554
|
onMultiSelectionChange: h,
|
|
7540
7555
|
onContextMenu: u
|
|
7541
7556
|
}) => {
|
|
7542
|
-
const [f, d] =
|
|
7557
|
+
const [f, d] = st(() => e ? {
|
|
7543
7558
|
columns: l ? Rv(e, Dv(l)) : e.columns,
|
|
7544
7559
|
rows: e.rows ?? []
|
|
7545
|
-
} : { columns: [], rows: [] }), [p, g] =
|
|
7560
|
+
} : { columns: [], rows: [] }), [p, g] = st(i || []), [y, b] = st(/* @__PURE__ */ new Set()), [x, w] = st(!1), [C, v] = st(/* @__PURE__ */ new Set()), [E, T] = st(null), N = In(() => yv(e?.columns || []), [e?.columns]), [z, I] = st(() => Mu(o, N)), k = It(null), [L, D] = mv({
|
|
7546
7561
|
columns: f?.columns ?? [],
|
|
7547
7562
|
rows: f?.rows ?? [],
|
|
7548
7563
|
containerRef: k,
|
|
@@ -7731,7 +7746,7 @@ const ki = {
|
|
|
7731
7746
|
loadOptions: l,
|
|
7732
7747
|
onContextMenu: c
|
|
7733
7748
|
}) => {
|
|
7734
|
-
const [h, u] =
|
|
7749
|
+
const [h, u] = st(), [f, d] = st(r ?? !0), p = It(null), g = n.trim() ? n : "100vh", y = Dt(
|
|
7735
7750
|
(C) => {
|
|
7736
7751
|
if (!C?.rows?.length || !C?.columns?.length)
|
|
7737
7752
|
return {};
|
|
@@ -7866,7 +7881,7 @@ const ki = {
|
|
|
7866
7881
|
onClick: c,
|
|
7867
7882
|
onOptionsRequest: h
|
|
7868
7883
|
}) => {
|
|
7869
|
-
const [u, f] =
|
|
7884
|
+
const [u, f] = st();
|
|
7870
7885
|
Tt(() => {
|
|
7871
7886
|
f(() => {
|
|
7872
7887
|
if (!e)
|
|
@@ -7968,7 +7983,7 @@ const ki = {
|
|
|
7968
7983
|
onContextMenu: f,
|
|
7969
7984
|
onButtonClick: d
|
|
7970
7985
|
}) => {
|
|
7971
|
-
const p = It(!1), g = It([]), [y, b] =
|
|
7986
|
+
const p = It(!1), g = It([]), [y, b] = st(
|
|
7972
7987
|
() => Du(e, a, r)
|
|
7973
7988
|
), { translate: x } = vr(), w = Er(), C = It(null);
|
|
7974
7989
|
Tt(() => {
|
|
@@ -15076,7 +15091,7 @@ var Pt = /* @__PURE__ */ m((e) => Array.isArray(e) ? { x: e[0], y: e[1] } : e, "
|
|
|
15076
15091
|
const [i, n] = r.split(":");
|
|
15077
15092
|
t.set(i.trim(), n?.trim());
|
|
15078
15093
|
}), t;
|
|
15079
|
-
}, "styles2Map"), Nm = /* @__PURE__ */ m((e) => e === "color" || e === "font-size" || e === "font-family" || e === "font-weight" || e === "font-style" || e === "text-decoration" || e === "text-align" || e === "text-transform" || e === "line-height" || e === "letter-spacing" || e === "word-spacing" || e === "text-shadow" || e === "text-overflow" || e === "white-space" || e === "word-wrap" || e === "word-break" || e === "overflow-wrap" || e === "hyphens", "isLabelStyle"),
|
|
15094
|
+
}, "styles2Map"), Nm = /* @__PURE__ */ m((e) => e === "color" || e === "font-size" || e === "font-family" || e === "font-weight" || e === "font-style" || e === "text-decoration" || e === "text-align" || e === "text-transform" || e === "line-height" || e === "letter-spacing" || e === "word-spacing" || e === "text-shadow" || e === "text-overflow" || e === "white-space" || e === "word-wrap" || e === "word-break" || e === "overflow-wrap" || e === "hyphens", "isLabelStyle"), lt = /* @__PURE__ */ m((e) => {
|
|
15080
15095
|
const { stylesArray: t } = Xi(e), r = [], i = [], n = [], a = [];
|
|
15081
15096
|
return t.forEach((o) => {
|
|
15082
15097
|
const s = o[0];
|
|
@@ -19117,7 +19132,7 @@ var nt = { canvas: (e, t) => new m$(e, t), svg: (e, t) => new y$(e, t), generato
|
|
|
19117
19132
|
o = l.getBoundingClientRect(), c.attr("width", o.width), c.attr("height", o.height);
|
|
19118
19133
|
}
|
|
19119
19134
|
return i ? n.attr("transform", "translate(" + -o.width / 2 + ", " + -o.height / 2 + ")") : n.attr("transform", "translate(0, " + -o.height / 2 + ")"), r.centerLabel && n.attr("transform", "translate(" + -o.width / 2 + ", " + -o.height / 2 + ")"), n.insert("rect", ":first-child"), { shapeSvg: e, bbox: o, halfPadding: s, label: n };
|
|
19120
|
-
}, "insertLabel"),
|
|
19135
|
+
}, "insertLabel"), ot = /* @__PURE__ */ m((e, t) => {
|
|
19121
19136
|
const r = t.node().getBBox();
|
|
19122
19137
|
e.width = r.width, e.height = r.height;
|
|
19123
19138
|
}, "updateNodeBounds"), gt = /* @__PURE__ */ m((e, t) => (e.look === "handDrawn" ? "rough-node" : "node") + " " + e.cssClasses + " " + (t || ""), "getNodeClasses");
|
|
@@ -19243,7 +19258,7 @@ var x$ = /* @__PURE__ */ m(async (e, t, r, i) => {
|
|
|
19243
19258
|
// Close the path
|
|
19244
19259
|
].join(" "), "createRoundedRectPathD"), zy = /* @__PURE__ */ m(async (e, t) => {
|
|
19245
19260
|
Y.info("Creating subgraph rect for ", t.id, t);
|
|
19246
|
-
const r = Mt(), { themeVariables: i, handDrawnSeed: n } = r, { clusterBkg: a, clusterBorder: o } = i, { labelStyles: s, nodeStyles: l, borderStyles: c, backgroundStyles: h } =
|
|
19261
|
+
const r = Mt(), { themeVariables: i, handDrawnSeed: n } = r, { clusterBkg: a, clusterBorder: o } = i, { labelStyles: s, nodeStyles: l, borderStyles: c, backgroundStyles: h } = lt(t), u = e.insert("g").attr("class", "cluster " + t.cssClasses).attr("id", t.id).attr("data-look", t.look), f = Kt(r.flowchart.htmlLabels), d = u.insert("g").attr("class", "cluster-label "), p = await Dr(d, t.label, {
|
|
19247
19262
|
style: t.labelStyle,
|
|
19248
19263
|
useHtmlLabels: f,
|
|
19249
19264
|
isNode: !0
|
|
@@ -19333,7 +19348,7 @@ var x$ = /* @__PURE__ */ m(async (e, t, r, i) => {
|
|
|
19333
19348
|
}, { cluster: c, labelBBox: p };
|
|
19334
19349
|
}, "roundedWithTitle"), C$ = /* @__PURE__ */ m(async (e, t) => {
|
|
19335
19350
|
Y.info("Creating subgraph rect for ", t.id, t);
|
|
19336
|
-
const r = Mt(), { themeVariables: i, handDrawnSeed: n } = r, { clusterBkg: a, clusterBorder: o } = i, { labelStyles: s, nodeStyles: l, borderStyles: c, backgroundStyles: h } =
|
|
19351
|
+
const r = Mt(), { themeVariables: i, handDrawnSeed: n } = r, { clusterBkg: a, clusterBorder: o } = i, { labelStyles: s, nodeStyles: l, borderStyles: c, backgroundStyles: h } = lt(t), u = e.insert("g").attr("class", "cluster " + t.cssClasses).attr("id", t.id).attr("data-look", t.look), f = Kt(r.flowchart.htmlLabels), d = u.insert("g").attr("class", "cluster-label "), p = await Dr(d, t.label, {
|
|
19337
19352
|
style: t.labelStyle,
|
|
19338
19353
|
useHtmlLabels: f,
|
|
19339
19354
|
isNode: !0,
|
|
@@ -19480,7 +19495,7 @@ var $$ = Vy, et = {
|
|
|
19480
19495
|
rect: Qi
|
|
19481
19496
|
};
|
|
19482
19497
|
function Xy(e, t) {
|
|
19483
|
-
const { labelStyles: r } =
|
|
19498
|
+
const { labelStyles: r } = lt(t);
|
|
19484
19499
|
t.labelStyle = r;
|
|
19485
19500
|
const i = gt(t);
|
|
19486
19501
|
let n = i;
|
|
@@ -19488,7 +19503,7 @@ function Xy(e, t) {
|
|
|
19488
19503
|
const a = e.insert("g").attr("class", n).attr("id", t.domId || t.id), o = 1, { cssStyles: s } = t, l = nt.svg(a), c = at(t, { fill: "black", stroke: "none", fillStyle: "solid" });
|
|
19489
19504
|
t.look !== "handDrawn" && (c.roughness = 0);
|
|
19490
19505
|
const h = l.circle(0, 0, o * 2, c), u = a.insert(() => h, ":first-child");
|
|
19491
|
-
return u.attr("class", "anchor").attr("style", oe(s)),
|
|
19506
|
+
return u.attr("class", "anchor").attr("style", oe(s)), ot(t, u), t.intersect = function(f) {
|
|
19492
19507
|
return Y.info("Circle intersect", t, o, f), et.circle(t, o, f);
|
|
19493
19508
|
}, a;
|
|
19494
19509
|
}
|
|
@@ -19509,7 +19524,7 @@ function oc(e, t, r, i, n, a, o) {
|
|
|
19509
19524
|
}
|
|
19510
19525
|
m(oc, "generateArcPoints");
|
|
19511
19526
|
async function Ky(e, t) {
|
|
19512
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19527
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19513
19528
|
t.labelStyle = r;
|
|
19514
19529
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = a.width + t.padding + 20, s = a.height + t.padding, l = s / 2, c = l / (2.5 + s / 50), { cssStyles: h } = t, u = [
|
|
19515
19530
|
{ x: o / 2, y: -s / 2 },
|
|
@@ -19520,7 +19535,7 @@ async function Ky(e, t) {
|
|
|
19520
19535
|
], f = nt.svg(n), d = at(t, {});
|
|
19521
19536
|
t.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
|
|
19522
19537
|
const p = _t(u), g = f.path(p, d), y = n.insert(() => g, ":first-child");
|
|
19523
|
-
return y.attr("class", "basic label-container"), h && t.look !== "handDrawn" && y.selectAll("path").attr("style", h), i && t.look !== "handDrawn" && y.selectAll("path").attr("style", i), y.attr("transform", `translate(${c / 2}, 0)`),
|
|
19538
|
+
return y.attr("class", "basic label-container"), h && t.look !== "handDrawn" && y.selectAll("path").attr("style", h), i && t.look !== "handDrawn" && y.selectAll("path").attr("style", i), y.attr("transform", `translate(${c / 2}, 0)`), ot(t, y), t.intersect = function(b) {
|
|
19524
19539
|
return et.polygon(t, u, b);
|
|
19525
19540
|
}, n;
|
|
19526
19541
|
}
|
|
@@ -19535,7 +19550,7 @@ function Fr(e, t, r, i) {
|
|
|
19535
19550
|
}
|
|
19536
19551
|
m(Fr, "insertPolygonShape");
|
|
19537
19552
|
async function Zy(e, t) {
|
|
19538
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19553
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19539
19554
|
t.labelStyle = r;
|
|
19540
19555
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = a.height + t.padding, s = 12, l = a.width + t.padding + s, c = 0, h = l, u = -o, f = 0, d = [
|
|
19541
19556
|
{ x: c + s, y: u },
|
|
@@ -19552,13 +19567,13 @@ async function Zy(e, t) {
|
|
|
19552
19567
|
p = n.insert(() => w, ":first-child").attr("transform", `translate(${-l / 2}, ${o / 2})`), g && p.attr("style", g);
|
|
19553
19568
|
} else
|
|
19554
19569
|
p = Fr(n, l, o, d);
|
|
19555
|
-
return i && p.attr("style", i),
|
|
19570
|
+
return i && p.attr("style", i), ot(t, p), t.intersect = function(y) {
|
|
19556
19571
|
return et.polygon(t, d, y);
|
|
19557
19572
|
}, n;
|
|
19558
19573
|
}
|
|
19559
19574
|
m(Zy, "card");
|
|
19560
19575
|
function Qy(e, t) {
|
|
19561
|
-
const { nodeStyles: r } =
|
|
19576
|
+
const { nodeStyles: r } = lt(t);
|
|
19562
19577
|
t.label = "";
|
|
19563
19578
|
const i = e.insert("g").attr("class", gt(t)).attr("id", t.domId ?? t.id), { cssStyles: n } = t, a = Math.max(28, t.width ?? 0), o = [
|
|
19564
19579
|
{ x: 0, y: a / 2 },
|
|
@@ -19574,7 +19589,7 @@ function Qy(e, t) {
|
|
|
19574
19589
|
}
|
|
19575
19590
|
m(Qy, "choice");
|
|
19576
19591
|
async function Ch(e, t, r) {
|
|
19577
|
-
const { labelStyles: i, nodeStyles: n } =
|
|
19592
|
+
const { labelStyles: i, nodeStyles: n } = lt(t);
|
|
19578
19593
|
t.labelStyle = i;
|
|
19579
19594
|
const { shapeSvg: a, bbox: o, halfPadding: s } = await mt(e, t, gt(t)), l = r?.padding ?? s, c = o.width / 2 + l;
|
|
19580
19595
|
let h;
|
|
@@ -19584,7 +19599,7 @@ async function Ch(e, t, r) {
|
|
|
19584
19599
|
h = a.insert(() => p, ":first-child"), h.attr("class", "basic label-container").attr("style", oe(u));
|
|
19585
19600
|
} else
|
|
19586
19601
|
h = a.insert("circle", ":first-child").attr("class", "basic label-container").attr("style", n).attr("r", c).attr("cx", 0).attr("cy", 0);
|
|
19587
|
-
return
|
|
19602
|
+
return ot(t, h), t.calcIntersect = function(f, d) {
|
|
19588
19603
|
const p = f.width / 2;
|
|
19589
19604
|
return et.circle(f, p, d);
|
|
19590
19605
|
}, t.intersect = function(f) {
|
|
@@ -19599,12 +19614,12 @@ function Jy(e) {
|
|
|
19599
19614
|
}
|
|
19600
19615
|
m(Jy, "createLine");
|
|
19601
19616
|
function t0(e, t) {
|
|
19602
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19617
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19603
19618
|
t.labelStyle = r, t.label = "";
|
|
19604
19619
|
const n = e.insert("g").attr("class", gt(t)).attr("id", t.domId ?? t.id), a = Math.max(30, t?.width ?? 0), { cssStyles: o } = t, s = nt.svg(n), l = at(t, {});
|
|
19605
19620
|
t.look !== "handDrawn" && (l.roughness = 0, l.fillStyle = "solid");
|
|
19606
19621
|
const c = s.circle(0, 0, a * 2, l), h = Jy(a), u = s.path(h, l), f = n.insert(() => c, ":first-child");
|
|
19607
|
-
return f.insert(() => u), o && t.look !== "handDrawn" && f.selectAll("path").attr("style", o), i && t.look !== "handDrawn" && f.selectAll("path").attr("style", i),
|
|
19622
|
+
return f.insert(() => u), o && t.look !== "handDrawn" && f.selectAll("path").attr("style", o), i && t.look !== "handDrawn" && f.selectAll("path").attr("style", i), ot(t, f), t.intersect = function(d) {
|
|
19608
19623
|
return Y.info("crossedCircle intersect", t, { radius: a, point: d }), et.circle(t, a, d);
|
|
19609
19624
|
}, n;
|
|
19610
19625
|
}
|
|
@@ -19619,7 +19634,7 @@ function or(e, t, r, i = 100, n = 0, a = 180) {
|
|
|
19619
19634
|
}
|
|
19620
19635
|
m(or, "generateCirclePoints");
|
|
19621
19636
|
async function e0(e, t) {
|
|
19622
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19637
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19623
19638
|
t.labelStyle = r;
|
|
19624
19639
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = a.width + (t.padding ?? 0), l = a.height + (t.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = t, u = [
|
|
19625
19640
|
...or(s / 2, -l / 2, c, 30, -90, 0),
|
|
@@ -19645,7 +19660,7 @@ async function e0(e, t) {
|
|
|
19645
19660
|
return C.insert(() => w, ":first-child").attr("stroke-opacity", 0), C.insert(() => b, ":first-child"), C.attr("class", "text"), h && t.look !== "handDrawn" && C.selectAll("path").attr("style", h), i && t.look !== "handDrawn" && C.selectAll("path").attr("style", i), C.attr("transform", `translate(${c}, 0)`), o.attr(
|
|
19646
19661
|
"transform",
|
|
19647
19662
|
`translate(${-s / 2 + c - (a.x - (a.left ?? 0))},${-l / 2 + (t.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
|
|
19648
|
-
),
|
|
19663
|
+
), ot(t, C), t.intersect = function(v) {
|
|
19649
19664
|
return et.polygon(t, f, v);
|
|
19650
19665
|
}, n;
|
|
19651
19666
|
}
|
|
@@ -19660,7 +19675,7 @@ function lr(e, t, r, i = 100, n = 0, a = 180) {
|
|
|
19660
19675
|
}
|
|
19661
19676
|
m(lr, "generateCirclePoints");
|
|
19662
19677
|
async function r0(e, t) {
|
|
19663
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19678
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19664
19679
|
t.labelStyle = r;
|
|
19665
19680
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = a.width + (t.padding ?? 0), l = a.height + (t.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = t, u = [
|
|
19666
19681
|
...lr(s / 2, -l / 2, c, 20, -90, 0),
|
|
@@ -19686,7 +19701,7 @@ async function r0(e, t) {
|
|
|
19686
19701
|
return C.insert(() => w, ":first-child").attr("stroke-opacity", 0), C.insert(() => b, ":first-child"), C.attr("class", "text"), h && t.look !== "handDrawn" && C.selectAll("path").attr("style", h), i && t.look !== "handDrawn" && C.selectAll("path").attr("style", i), C.attr("transform", `translate(${-c}, 0)`), o.attr(
|
|
19687
19702
|
"transform",
|
|
19688
19703
|
`translate(${-s / 2 + (t.padding ?? 0) / 2 - (a.x - (a.left ?? 0))},${-l / 2 + (t.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
|
|
19689
|
-
),
|
|
19704
|
+
), ot(t, C), t.intersect = function(v) {
|
|
19690
19705
|
return et.polygon(t, f, v);
|
|
19691
19706
|
}, n;
|
|
19692
19707
|
}
|
|
@@ -19701,7 +19716,7 @@ function Qt(e, t, r, i = 100, n = 0, a = 180) {
|
|
|
19701
19716
|
}
|
|
19702
19717
|
m(Qt, "generateCirclePoints");
|
|
19703
19718
|
async function i0(e, t) {
|
|
19704
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19719
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19705
19720
|
t.labelStyle = r;
|
|
19706
19721
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = a.width + (t.padding ?? 0), l = a.height + (t.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = t, u = [
|
|
19707
19722
|
...Qt(s / 2, -l / 2, c, 30, -90, 0),
|
|
@@ -19740,13 +19755,13 @@ async function i0(e, t) {
|
|
|
19740
19755
|
return N.insert(() => T, ":first-child").attr("stroke-opacity", 0), N.insert(() => x, ":first-child"), N.insert(() => v, ":first-child"), N.attr("class", "text"), h && t.look !== "handDrawn" && N.selectAll("path").attr("style", h), i && t.look !== "handDrawn" && N.selectAll("path").attr("style", i), N.attr("transform", `translate(${c - c / 4}, 0)`), o.attr(
|
|
19741
19756
|
"transform",
|
|
19742
19757
|
`translate(${-s / 2 + (t.padding ?? 0) / 2 - (a.x - (a.left ?? 0))},${-l / 2 + (t.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
|
|
19743
|
-
),
|
|
19758
|
+
), ot(t, N), t.intersect = function(z) {
|
|
19744
19759
|
return et.polygon(t, d, z);
|
|
19745
19760
|
}, n;
|
|
19746
19761
|
}
|
|
19747
19762
|
m(i0, "curlyBraces");
|
|
19748
19763
|
async function n0(e, t) {
|
|
19749
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19764
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19750
19765
|
t.labelStyle = r;
|
|
19751
19766
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = 80, s = 20, l = Math.max(o, (a.width + (t.padding ?? 0) * 2) * 1.25, t?.width ?? 0), c = Math.max(s, a.height + (t.padding ?? 0) * 2, t?.height ?? 0), h = c / 2, { cssStyles: u } = t, f = nt.svg(n), d = at(t, {});
|
|
19752
19767
|
t.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
|
|
@@ -19758,7 +19773,7 @@ async function n0(e, t) {
|
|
|
19758
19773
|
{ x: y, y: g },
|
|
19759
19774
|
...Zn(-y, -g / 2, h, 50, 270, 90)
|
|
19760
19775
|
], w = _t(x), C = f.path(w, d), v = n.insert(() => C, ":first-child");
|
|
19761
|
-
return v.attr("class", "basic label-container"), u && t.look !== "handDrawn" && v.selectChildren("path").attr("style", u), i && t.look !== "handDrawn" && v.selectChildren("path").attr("style", i), v.attr("transform", `translate(${-l / 2}, ${-c / 2})`),
|
|
19776
|
+
return v.attr("class", "basic label-container"), u && t.look !== "handDrawn" && v.selectChildren("path").attr("style", u), i && t.look !== "handDrawn" && v.selectChildren("path").attr("style", i), v.attr("transform", `translate(${-l / 2}, ${-c / 2})`), ot(t, v), t.intersect = function(E) {
|
|
19762
19777
|
return et.polygon(t, x, E);
|
|
19763
19778
|
}, n;
|
|
19764
19779
|
}
|
|
@@ -19779,7 +19794,7 @@ var M$ = /* @__PURE__ */ m((e, t, r, i, n, a) => [
|
|
|
19779
19794
|
`l0,${-i}`
|
|
19780
19795
|
].join(" "), "createOuterCylinderPathD"), O$ = /* @__PURE__ */ m((e, t, r, i, n, a) => [`M${e - r / 2},${-i / 2}`, `a${n},${a} 0,0,0 ${r},0`].join(" "), "createInnerCylinderPathD");
|
|
19781
19796
|
async function a0(e, t) {
|
|
19782
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19797
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19783
19798
|
t.labelStyle = r;
|
|
19784
19799
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + t.padding, t.width ?? 0), l = s / 2, c = l / (2.5 + s / 50), h = Math.max(a.height + c + t.padding, t.height ?? 0);
|
|
19785
19800
|
let u;
|
|
@@ -19791,7 +19806,7 @@ async function a0(e, t) {
|
|
|
19791
19806
|
const d = M$(0, 0, s, h, l, c);
|
|
19792
19807
|
u = n.insert("path", ":first-child").attr("d", d).attr("class", "basic label-container").attr("style", oe(f)).attr("style", i);
|
|
19793
19808
|
}
|
|
19794
|
-
return u.attr("label-offset-y", c), u.attr("transform", `translate(${-s / 2}, ${-(h / 2 + c)})`),
|
|
19809
|
+
return u.attr("label-offset-y", c), u.attr("transform", `translate(${-s / 2}, ${-(h / 2 + c)})`), ot(t, u), o.attr(
|
|
19795
19810
|
"transform",
|
|
19796
19811
|
`translate(${-(a.width / 2) - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + (t.padding ?? 0) / 1.5 - (a.y - (a.top ?? 0))})`
|
|
19797
19812
|
), t.intersect = function(d) {
|
|
@@ -19805,7 +19820,7 @@ async function a0(e, t) {
|
|
|
19805
19820
|
}
|
|
19806
19821
|
m(a0, "cylinder");
|
|
19807
19822
|
async function s0(e, t) {
|
|
19808
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19823
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19809
19824
|
t.labelStyle = r;
|
|
19810
19825
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = a.width + t.padding, l = a.height + t.padding, c = l * 0.2, h = -s / 2, u = -l / 2 - c / 2, { cssStyles: f } = t, d = nt.svg(n), p = at(t, {});
|
|
19811
19826
|
t.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
|
|
@@ -19824,13 +19839,13 @@ async function s0(e, t) {
|
|
|
19824
19839
|
return b.attr("class", "basic label-container"), f && t.look !== "handDrawn" && b.selectAll("path").attr("style", f), i && t.look !== "handDrawn" && b.selectAll("path").attr("style", i), o.attr(
|
|
19825
19840
|
"transform",
|
|
19826
19841
|
`translate(${h + (t.padding ?? 0) / 2 - (a.x - (a.left ?? 0))}, ${u + c + (t.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
|
|
19827
|
-
),
|
|
19842
|
+
), ot(t, b), t.intersect = function(x) {
|
|
19828
19843
|
return et.rect(t, x);
|
|
19829
19844
|
}, n;
|
|
19830
19845
|
}
|
|
19831
19846
|
m(s0, "dividedRectangle");
|
|
19832
19847
|
async function o0(e, t) {
|
|
19833
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19848
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19834
19849
|
t.labelStyle = r;
|
|
19835
19850
|
const { shapeSvg: n, bbox: a, halfPadding: o } = await mt(e, t, gt(t)), l = a.width / 2 + o + 5, c = a.width / 2 + o;
|
|
19836
19851
|
let h;
|
|
@@ -19843,24 +19858,24 @@ async function o0(e, t) {
|
|
|
19843
19858
|
const f = h.insert("circle", ":first-child"), d = h.insert("circle");
|
|
19844
19859
|
h.attr("class", "basic label-container").attr("style", i), f.attr("class", "outer-circle").attr("style", i).attr("r", l).attr("cx", 0).attr("cy", 0), d.attr("class", "inner-circle").attr("style", i).attr("r", c).attr("cx", 0).attr("cy", 0);
|
|
19845
19860
|
}
|
|
19846
|
-
return
|
|
19861
|
+
return ot(t, h), t.intersect = function(f) {
|
|
19847
19862
|
return Y.info("DoubleCircle intersect", t, l, f), et.circle(t, l, f);
|
|
19848
19863
|
}, n;
|
|
19849
19864
|
}
|
|
19850
19865
|
m(o0, "doublecircle");
|
|
19851
19866
|
function l0(e, t, { config: { themeVariables: r } }) {
|
|
19852
|
-
const { labelStyles: i, nodeStyles: n } =
|
|
19867
|
+
const { labelStyles: i, nodeStyles: n } = lt(t);
|
|
19853
19868
|
t.label = "", t.labelStyle = i;
|
|
19854
19869
|
const a = e.insert("g").attr("class", gt(t)).attr("id", t.domId ?? t.id), o = 7, { cssStyles: s } = t, l = nt.svg(a), { nodeBorder: c } = r, h = at(t, { fillStyle: "solid" });
|
|
19855
19870
|
t.look !== "handDrawn" && (h.roughness = 0);
|
|
19856
19871
|
const u = l.circle(0, 0, o * 2, h), f = a.insert(() => u, ":first-child");
|
|
19857
|
-
return f.selectAll("path").attr("style", `fill: ${c} !important;`), s && s.length > 0 && t.look !== "handDrawn" && f.selectAll("path").attr("style", s), n && t.look !== "handDrawn" && f.selectAll("path").attr("style", n),
|
|
19872
|
+
return f.selectAll("path").attr("style", `fill: ${c} !important;`), s && s.length > 0 && t.look !== "handDrawn" && f.selectAll("path").attr("style", s), n && t.look !== "handDrawn" && f.selectAll("path").attr("style", n), ot(t, f), t.intersect = function(d) {
|
|
19858
19873
|
return Y.info("filledCircle intersect", t, { radius: o, point: d }), et.circle(t, o, d);
|
|
19859
19874
|
}, a;
|
|
19860
19875
|
}
|
|
19861
19876
|
m(l0, "filledCircle");
|
|
19862
19877
|
async function c0(e, t) {
|
|
19863
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19878
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19864
19879
|
t.labelStyle = r;
|
|
19865
19880
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = a.width + (t.padding ?? 0), l = s + a.height, c = s + a.height, h = [
|
|
19866
19881
|
{ x: 0, y: -l },
|
|
@@ -19869,7 +19884,7 @@ async function c0(e, t) {
|
|
|
19869
19884
|
], { cssStyles: u } = t, f = nt.svg(n), d = at(t, {});
|
|
19870
19885
|
t.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
|
|
19871
19886
|
const p = _t(h), g = f.path(p, d), y = n.insert(() => g, ":first-child").attr("transform", `translate(${-l / 2}, ${l / 2})`);
|
|
19872
|
-
return u && t.look !== "handDrawn" && y.selectChildren("path").attr("style", u), i && t.look !== "handDrawn" && y.selectChildren("path").attr("style", i), t.width = s, t.height = l,
|
|
19887
|
+
return u && t.look !== "handDrawn" && y.selectChildren("path").attr("style", u), i && t.look !== "handDrawn" && y.selectChildren("path").attr("style", i), t.width = s, t.height = l, ot(t, y), o.attr(
|
|
19873
19888
|
"transform",
|
|
19874
19889
|
`translate(${-a.width / 2 - (a.x - (a.left ?? 0))}, ${-l / 2 + (t.padding ?? 0) / 2 + (a.y - (a.top ?? 0))})`
|
|
19875
19890
|
), t.intersect = function(b) {
|
|
@@ -19878,7 +19893,7 @@ async function c0(e, t) {
|
|
|
19878
19893
|
}
|
|
19879
19894
|
m(c0, "flippedTriangle");
|
|
19880
19895
|
function h0(e, t, { dir: r, config: { state: i, themeVariables: n } }) {
|
|
19881
|
-
const { nodeStyles: a } =
|
|
19896
|
+
const { nodeStyles: a } = lt(t);
|
|
19882
19897
|
t.label = "";
|
|
19883
19898
|
const o = e.insert("g").attr("class", gt(t)).attr("id", t.domId ?? t.id), { cssStyles: s } = t;
|
|
19884
19899
|
let l = Math.max(70, t?.width ?? 0), c = Math.max(10, t?.height ?? 0);
|
|
@@ -19889,7 +19904,7 @@ function h0(e, t, { dir: r, config: { state: i, themeVariables: n } }) {
|
|
|
19889
19904
|
});
|
|
19890
19905
|
t.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
|
|
19891
19906
|
const p = f.rectangle(h, u, l, c, d), g = o.insert(() => p, ":first-child");
|
|
19892
|
-
s && t.look !== "handDrawn" && g.selectAll("path").attr("style", s), a && t.look !== "handDrawn" && g.selectAll("path").attr("style", a),
|
|
19907
|
+
s && t.look !== "handDrawn" && g.selectAll("path").attr("style", s), a && t.look !== "handDrawn" && g.selectAll("path").attr("style", a), ot(t, g);
|
|
19893
19908
|
const y = i?.padding ?? 0;
|
|
19894
19909
|
return t.width && t.height && (t.width += y / 2 || 0, t.height += y / 2 || 0), t.intersect = function(b) {
|
|
19895
19910
|
return et.rect(t, b);
|
|
@@ -19897,7 +19912,7 @@ function h0(e, t, { dir: r, config: { state: i, themeVariables: n } }) {
|
|
|
19897
19912
|
}
|
|
19898
19913
|
m(h0, "forkJoin");
|
|
19899
19914
|
async function u0(e, t) {
|
|
19900
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19915
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19901
19916
|
t.labelStyle = r;
|
|
19902
19917
|
const n = 80, a = 50, { shapeSvg: o, bbox: s } = await mt(e, t, gt(t)), l = Math.max(n, s.width + (t.padding ?? 0) * 2, t?.width ?? 0), c = Math.max(a, s.height + (t.padding ?? 0) * 2, t?.height ?? 0), h = c / 2, { cssStyles: u } = t, f = nt.svg(o), d = at(t, {});
|
|
19903
19918
|
t.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
|
|
@@ -19908,13 +19923,13 @@ async function u0(e, t) {
|
|
|
19908
19923
|
{ x: l / 2 - h, y: c / 2 },
|
|
19909
19924
|
{ x: -l / 2, y: c / 2 }
|
|
19910
19925
|
], g = _t(p), y = f.path(g, d), b = o.insert(() => y, ":first-child");
|
|
19911
|
-
return b.attr("class", "basic label-container"), u && t.look !== "handDrawn" && b.selectChildren("path").attr("style", u), i && t.look !== "handDrawn" && b.selectChildren("path").attr("style", i),
|
|
19926
|
+
return b.attr("class", "basic label-container"), u && t.look !== "handDrawn" && b.selectChildren("path").attr("style", u), i && t.look !== "handDrawn" && b.selectChildren("path").attr("style", i), ot(t, b), t.intersect = function(x) {
|
|
19912
19927
|
return Y.info("Pill intersect", t, { radius: h, point: x }), et.polygon(t, p, x);
|
|
19913
19928
|
}, o;
|
|
19914
19929
|
}
|
|
19915
19930
|
m(u0, "halfRoundedRectangle");
|
|
19916
19931
|
async function f0(e, t) {
|
|
19917
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19932
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19918
19933
|
t.labelStyle = r;
|
|
19919
19934
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = a.height + (t.padding ?? 0), s = a.width + (t.padding ?? 0) * 2.5, { cssStyles: l } = t, c = nt.svg(n), h = at(t, {});
|
|
19920
19935
|
t.look !== "handDrawn" && (h.roughness = 0, h.fillStyle = "solid");
|
|
@@ -19931,13 +19946,13 @@ async function f0(e, t) {
|
|
|
19931
19946
|
{ x: -g, y: d },
|
|
19932
19947
|
{ x: -u, y: 0 }
|
|
19933
19948
|
], b = _t(y), x = c.path(b, h), w = n.insert(() => x, ":first-child");
|
|
19934
|
-
return w.attr("class", "basic label-container"), l && t.look !== "handDrawn" && w.selectChildren("path").attr("style", l), i && t.look !== "handDrawn" && w.selectChildren("path").attr("style", i), t.width = s, t.height = o,
|
|
19949
|
+
return w.attr("class", "basic label-container"), l && t.look !== "handDrawn" && w.selectChildren("path").attr("style", l), i && t.look !== "handDrawn" && w.selectChildren("path").attr("style", i), t.width = s, t.height = o, ot(t, w), t.intersect = function(C) {
|
|
19935
19950
|
return et.polygon(t, y, C);
|
|
19936
19951
|
}, n;
|
|
19937
19952
|
}
|
|
19938
19953
|
m(f0, "hexagon");
|
|
19939
19954
|
async function d0(e, t) {
|
|
19940
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
19955
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
19941
19956
|
t.label = "", t.labelStyle = r;
|
|
19942
19957
|
const { shapeSvg: n } = await mt(e, t, gt(t)), a = Math.max(30, t?.width ?? 0), o = Math.max(30, t?.height ?? 0), { cssStyles: s } = t, l = nt.svg(n), c = at(t, {});
|
|
19943
19958
|
t.look !== "handDrawn" && (c.roughness = 0, c.fillStyle = "solid");
|
|
@@ -19947,13 +19962,13 @@ async function d0(e, t) {
|
|
|
19947
19962
|
{ x: 0, y: o },
|
|
19948
19963
|
{ x: a, y: o }
|
|
19949
19964
|
], u = _t(h), f = l.path(u, c), d = n.insert(() => f, ":first-child");
|
|
19950
|
-
return d.attr("class", "basic label-container"), s && t.look !== "handDrawn" && d.selectChildren("path").attr("style", s), i && t.look !== "handDrawn" && d.selectChildren("path").attr("style", i), d.attr("transform", `translate(${-a / 2}, ${-o / 2})`),
|
|
19965
|
+
return d.attr("class", "basic label-container"), s && t.look !== "handDrawn" && d.selectChildren("path").attr("style", s), i && t.look !== "handDrawn" && d.selectChildren("path").attr("style", i), d.attr("transform", `translate(${-a / 2}, ${-o / 2})`), ot(t, d), t.intersect = function(p) {
|
|
19951
19966
|
return Y.info("Pill intersect", t, { points: h }), et.polygon(t, h, p);
|
|
19952
19967
|
}, n;
|
|
19953
19968
|
}
|
|
19954
19969
|
m(d0, "hourglass");
|
|
19955
19970
|
async function p0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
19956
|
-
const { labelStyles: n } =
|
|
19971
|
+
const { labelStyles: n } = lt(t);
|
|
19957
19972
|
t.labelStyle = n;
|
|
19958
19973
|
const a = t.assetHeight ?? 48, o = t.assetWidth ?? 48, s = Math.max(a, o), l = i?.wrappingWidth;
|
|
19959
19974
|
t.width = Math.max(s, l ?? 0);
|
|
@@ -19985,7 +20000,7 @@ async function p0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
19985
20000
|
), I.attr(
|
|
19986
20001
|
"transform",
|
|
19987
20002
|
`translate(0,${f ? h.height / 2 + w / 2 : -h.height / 2 - w / 2})`
|
|
19988
|
-
),
|
|
20003
|
+
), ot(t, k), t.intersect = function(L) {
|
|
19989
20004
|
if (Y.info("iconSquare intersect", t, L), !t.label)
|
|
19990
20005
|
return et.rect(t, L);
|
|
19991
20006
|
const D = t.x ?? 0, B = t.y ?? 0, O = t.height ?? 0;
|
|
@@ -20013,7 +20028,7 @@ async function p0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
20013
20028
|
}
|
|
20014
20029
|
m(p0, "icon");
|
|
20015
20030
|
async function g0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
20016
|
-
const { labelStyles: n } =
|
|
20031
|
+
const { labelStyles: n } = lt(t);
|
|
20017
20032
|
t.labelStyle = n;
|
|
20018
20033
|
const a = t.assetHeight ?? 48, o = t.assetWidth ?? 48, s = Math.max(a, o), l = i?.wrappingWidth;
|
|
20019
20034
|
t.width = Math.max(s, l ?? 0);
|
|
@@ -20043,13 +20058,13 @@ async function g0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
20043
20058
|
), M.attr(
|
|
20044
20059
|
"transform",
|
|
20045
20060
|
`translate(0,${p ? h.height / 2 + d / 2 : -h.height / 2 - d / 2})`
|
|
20046
|
-
),
|
|
20061
|
+
), ot(t, W), t.intersect = function(A) {
|
|
20047
20062
|
return Y.info("iconSquare intersect", t, A), et.rect(t, A);
|
|
20048
20063
|
}, c;
|
|
20049
20064
|
}
|
|
20050
20065
|
m(g0, "iconCircle");
|
|
20051
20066
|
async function m0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
20052
|
-
const { labelStyles: n } =
|
|
20067
|
+
const { labelStyles: n } = lt(t);
|
|
20053
20068
|
t.labelStyle = n;
|
|
20054
20069
|
const a = t.assetHeight ?? 48, o = t.assetWidth ?? 48, s = Math.max(a, o), l = i?.wrappingWidth;
|
|
20055
20070
|
t.width = Math.max(s, l ?? 0);
|
|
@@ -20087,7 +20102,7 @@ async function m0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
20087
20102
|
), D.attr(
|
|
20088
20103
|
"transform",
|
|
20089
20104
|
`translate(0,${d ? h.height / 2 + v / 2 : -h.height / 2 - v / 2})`
|
|
20090
|
-
),
|
|
20105
|
+
), ot(t, B), t.intersect = function(O) {
|
|
20091
20106
|
if (Y.info("iconSquare intersect", t, O), !t.label)
|
|
20092
20107
|
return et.rect(t, O);
|
|
20093
20108
|
const M = t.x ?? 0, W = t.y ?? 0, A = t.height ?? 0;
|
|
@@ -20115,7 +20130,7 @@ async function m0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
20115
20130
|
}
|
|
20116
20131
|
m(m0, "iconRounded");
|
|
20117
20132
|
async function y0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
20118
|
-
const { labelStyles: n } =
|
|
20133
|
+
const { labelStyles: n } = lt(t);
|
|
20119
20134
|
t.labelStyle = n;
|
|
20120
20135
|
const a = t.assetHeight ?? 48, o = t.assetWidth ?? 48, s = Math.max(a, o), l = i?.wrappingWidth;
|
|
20121
20136
|
t.width = Math.max(s, l ?? 0);
|
|
@@ -20153,7 +20168,7 @@ async function y0(e, t, { config: { themeVariables: r, flowchart: i } }) {
|
|
|
20153
20168
|
), D.attr(
|
|
20154
20169
|
"transform",
|
|
20155
20170
|
`translate(0,${d ? h.height / 2 + v / 2 : -h.height / 2 - v / 2})`
|
|
20156
|
-
),
|
|
20171
|
+
), ot(t, B), t.intersect = function(O) {
|
|
20157
20172
|
if (Y.info("iconSquare intersect", t, O), !t.label)
|
|
20158
20173
|
return et.rect(t, O);
|
|
20159
20174
|
const M = t.x ?? 0, W = t.y ?? 0, A = t.height ?? 0;
|
|
@@ -20185,7 +20200,7 @@ async function b0(e, t, { config: { flowchart: r } }) {
|
|
|
20185
20200
|
i.src = t?.img ?? "", await i.decode();
|
|
20186
20201
|
const n = Number(i.naturalWidth.toString().replace("px", "")), a = Number(i.naturalHeight.toString().replace("px", ""));
|
|
20187
20202
|
t.imageAspectRatio = n / a;
|
|
20188
|
-
const { labelStyles: o } =
|
|
20203
|
+
const { labelStyles: o } = lt(t);
|
|
20189
20204
|
t.labelStyle = o;
|
|
20190
20205
|
const s = r?.wrappingWidth;
|
|
20191
20206
|
t.defaultWidth = r?.wrappingWidth;
|
|
@@ -20214,7 +20229,7 @@ async function b0(e, t, { config: { flowchart: r } }) {
|
|
|
20214
20229
|
), N.attr(
|
|
20215
20230
|
"transform",
|
|
20216
20231
|
`translate(0,${p ? f.height / 2 + b / 2 : -f.height / 2 - b / 2})`
|
|
20217
|
-
),
|
|
20232
|
+
), ot(t, z), t.intersect = function(I) {
|
|
20218
20233
|
if (Y.info("iconSquare intersect", t, I), !t.label)
|
|
20219
20234
|
return et.rect(t, I);
|
|
20220
20235
|
const k = t.x ?? 0, L = t.y ?? 0, D = t.height ?? 0;
|
|
@@ -20242,7 +20257,7 @@ async function b0(e, t, { config: { flowchart: r } }) {
|
|
|
20242
20257
|
}
|
|
20243
20258
|
m(b0, "imageSquare");
|
|
20244
20259
|
async function x0(e, t) {
|
|
20245
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20260
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20246
20261
|
t.labelStyle = r;
|
|
20247
20262
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), s = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), l = [
|
|
20248
20263
|
{ x: 0, y: 0 },
|
|
@@ -20257,13 +20272,13 @@ async function x0(e, t) {
|
|
|
20257
20272
|
c = n.insert(() => p, ":first-child").attr("transform", `translate(${-o / 2}, ${s / 2})`), h && c.attr("style", h);
|
|
20258
20273
|
} else
|
|
20259
20274
|
c = Fr(n, o, s, l);
|
|
20260
|
-
return i && c.attr("style", i), t.width = o, t.height = s,
|
|
20275
|
+
return i && c.attr("style", i), t.width = o, t.height = s, ot(t, c), t.intersect = function(u) {
|
|
20261
20276
|
return et.polygon(t, l, u);
|
|
20262
20277
|
}, n;
|
|
20263
20278
|
}
|
|
20264
20279
|
m(x0, "inv_trapezoid");
|
|
20265
20280
|
async function mo(e, t, r) {
|
|
20266
|
-
const { labelStyles: i, nodeStyles: n } =
|
|
20281
|
+
const { labelStyles: i, nodeStyles: n } = lt(t);
|
|
20267
20282
|
t.labelStyle = i;
|
|
20268
20283
|
const { shapeSvg: a, bbox: o } = await mt(e, t, gt(t)), s = Math.max(o.width + r.labelPaddingX * 2, t?.width || 0), l = Math.max(o.height + r.labelPaddingY * 2, t?.height || 0), c = -s / 2, h = -l / 2;
|
|
20269
20284
|
let u, { rx: f, ry: d } = t;
|
|
@@ -20273,7 +20288,7 @@ async function mo(e, t, r) {
|
|
|
20273
20288
|
u = a.insert(() => b, ":first-child"), u.attr("class", "basic label-container").attr("style", oe(p));
|
|
20274
20289
|
} else
|
|
20275
20290
|
u = a.insert("rect", ":first-child"), u.attr("class", "basic label-container").attr("style", n).attr("rx", oe(f)).attr("ry", oe(d)).attr("x", c).attr("y", h).attr("width", s).attr("height", l);
|
|
20276
|
-
return
|
|
20291
|
+
return ot(t, u), t.calcIntersect = function(g, y) {
|
|
20277
20292
|
return et.rect(g, y);
|
|
20278
20293
|
}, t.intersect = function(g) {
|
|
20279
20294
|
return et.rect(t, g);
|
|
@@ -20285,13 +20300,13 @@ async function v0(e, t) {
|
|
|
20285
20300
|
return a.attr("width", 0.1).attr("height", 0.1), r.attr("class", "label edgeLabel"), n.attr(
|
|
20286
20301
|
"transform",
|
|
20287
20302
|
`translate(${-(i.width / 2) - (i.x - (i.left ?? 0))}, ${-(i.height / 2) - (i.y - (i.top ?? 0))})`
|
|
20288
|
-
),
|
|
20303
|
+
), ot(t, a), t.intersect = function(l) {
|
|
20289
20304
|
return et.rect(t, l);
|
|
20290
20305
|
}, r;
|
|
20291
20306
|
}
|
|
20292
20307
|
m(v0, "labelRect");
|
|
20293
20308
|
async function w0(e, t) {
|
|
20294
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20309
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20295
20310
|
t.labelStyle = r;
|
|
20296
20311
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = Math.max(a.width + (t.padding ?? 0), t?.width ?? 0), s = Math.max(a.height + (t.padding ?? 0), t?.height ?? 0), l = [
|
|
20297
20312
|
{ x: 0, y: 0 },
|
|
@@ -20306,13 +20321,13 @@ async function w0(e, t) {
|
|
|
20306
20321
|
c = n.insert(() => p, ":first-child").attr("transform", `translate(${-o / 2}, ${s / 2})`), h && c.attr("style", h);
|
|
20307
20322
|
} else
|
|
20308
20323
|
c = Fr(n, o, s, l);
|
|
20309
|
-
return i && c.attr("style", i), t.width = o, t.height = s,
|
|
20324
|
+
return i && c.attr("style", i), t.width = o, t.height = s, ot(t, c), t.intersect = function(u) {
|
|
20310
20325
|
return et.polygon(t, l, u);
|
|
20311
20326
|
}, n;
|
|
20312
20327
|
}
|
|
20313
20328
|
m(w0, "lean_left");
|
|
20314
20329
|
async function C0(e, t) {
|
|
20315
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20330
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20316
20331
|
t.labelStyle = r;
|
|
20317
20332
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = Math.max(a.width + (t.padding ?? 0), t?.width ?? 0), s = Math.max(a.height + (t.padding ?? 0), t?.height ?? 0), l = [
|
|
20318
20333
|
{ x: -3 * s / 6, y: 0 },
|
|
@@ -20327,13 +20342,13 @@ async function C0(e, t) {
|
|
|
20327
20342
|
c = n.insert(() => p, ":first-child").attr("transform", `translate(${-o / 2}, ${s / 2})`), h && c.attr("style", h);
|
|
20328
20343
|
} else
|
|
20329
20344
|
c = Fr(n, o, s, l);
|
|
20330
|
-
return i && c.attr("style", i), t.width = o, t.height = s,
|
|
20345
|
+
return i && c.attr("style", i), t.width = o, t.height = s, ot(t, c), t.intersect = function(u) {
|
|
20331
20346
|
return et.polygon(t, l, u);
|
|
20332
20347
|
}, n;
|
|
20333
20348
|
}
|
|
20334
20349
|
m(C0, "lean_right");
|
|
20335
20350
|
function _0(e, t) {
|
|
20336
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20351
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20337
20352
|
t.label = "", t.labelStyle = r;
|
|
20338
20353
|
const n = e.insert("g").attr("class", gt(t)).attr("id", t.domId ?? t.id), { cssStyles: a } = t, o = Math.max(35, t?.width ?? 0), s = Math.max(35, t?.height ?? 0), l = 7, c = [
|
|
20339
20354
|
{ x: o, y: 0 },
|
|
@@ -20345,7 +20360,7 @@ function _0(e, t) {
|
|
|
20345
20360
|
], h = nt.svg(n), u = at(t, {});
|
|
20346
20361
|
t.look !== "handDrawn" && (u.roughness = 0, u.fillStyle = "solid");
|
|
20347
20362
|
const f = _t(c), d = h.path(f, u), p = n.insert(() => d, ":first-child");
|
|
20348
|
-
return a && t.look !== "handDrawn" && p.selectAll("path").attr("style", a), i && t.look !== "handDrawn" && p.selectAll("path").attr("style", i), p.attr("transform", `translate(-${o / 2},${-s})`),
|
|
20363
|
+
return a && t.look !== "handDrawn" && p.selectAll("path").attr("style", a), i && t.look !== "handDrawn" && p.selectAll("path").attr("style", i), p.attr("transform", `translate(-${o / 2},${-s})`), ot(t, p), t.intersect = function(g) {
|
|
20349
20364
|
return Y.info("lightningBolt intersect", t, g), et.polygon(t, c, g);
|
|
20350
20365
|
}, n;
|
|
20351
20366
|
}
|
|
@@ -20370,7 +20385,7 @@ var D$ = /* @__PURE__ */ m((e, t, r, i, n, a, o) => [
|
|
|
20370
20385
|
`a${n},${a} 0,0,0 ${r},0`
|
|
20371
20386
|
].join(" "), "createOuterCylinderPathD"), F$ = /* @__PURE__ */ m((e, t, r, i, n, a) => [`M${e - r / 2},${-i / 2}`, `a${n},${a} 0,0,0 ${r},0`].join(" "), "createInnerCylinderPathD");
|
|
20372
20387
|
async function S0(e, t) {
|
|
20373
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20388
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20374
20389
|
t.labelStyle = r;
|
|
20375
20390
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0), t.width ?? 0), l = s / 2, c = l / (2.5 + s / 50), h = Math.max(a.height + c + (t.padding ?? 0), t.height ?? 0), u = h * 0.1;
|
|
20376
20391
|
let f;
|
|
@@ -20382,7 +20397,7 @@ async function S0(e, t) {
|
|
|
20382
20397
|
const p = D$(0, 0, s, h, l, c, u);
|
|
20383
20398
|
f = n.insert("path", ":first-child").attr("d", p).attr("class", "basic label-container").attr("style", oe(d)).attr("style", i);
|
|
20384
20399
|
}
|
|
20385
|
-
return f.attr("label-offset-y", c), f.attr("transform", `translate(${-s / 2}, ${-(h / 2 + c)})`),
|
|
20400
|
+
return f.attr("label-offset-y", c), f.attr("transform", `translate(${-s / 2}, ${-(h / 2 + c)})`), ot(t, f), o.attr(
|
|
20386
20401
|
"transform",
|
|
20387
20402
|
`translate(${-(a.width / 2) - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + c - (a.y - (a.top ?? 0))})`
|
|
20388
20403
|
), t.intersect = function(p) {
|
|
@@ -20396,7 +20411,7 @@ async function S0(e, t) {
|
|
|
20396
20411
|
}
|
|
20397
20412
|
m(S0, "linedCylinder");
|
|
20398
20413
|
async function k0(e, t) {
|
|
20399
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20414
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20400
20415
|
t.labelStyle = r;
|
|
20401
20416
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), l = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), c = l / 4, h = l + c, { cssStyles: u } = t, f = nt.svg(n), d = at(t, {});
|
|
20402
20417
|
t.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
|
|
@@ -20423,13 +20438,13 @@ async function k0(e, t) {
|
|
|
20423
20438
|
return y.attr("class", "basic label-container"), u && t.look !== "handDrawn" && y.selectAll("path").attr("style", u), i && t.look !== "handDrawn" && y.selectAll("path").attr("style", i), y.attr("transform", `translate(0,${-c / 2})`), o.attr(
|
|
20424
20439
|
"transform",
|
|
20425
20440
|
`translate(${-s / 2 + (t.padding ?? 0) + s / 2 * 0.1 / 2 - (a.x - (a.left ?? 0))},${-l / 2 + (t.padding ?? 0) - c / 2 - (a.y - (a.top ?? 0))})`
|
|
20426
|
-
),
|
|
20441
|
+
), ot(t, y), t.intersect = function(b) {
|
|
20427
20442
|
return et.polygon(t, p, b);
|
|
20428
20443
|
}, n;
|
|
20429
20444
|
}
|
|
20430
20445
|
m(k0, "linedWaveEdgedRect");
|
|
20431
20446
|
async function T0(e, t) {
|
|
20432
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20447
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20433
20448
|
t.labelStyle = r;
|
|
20434
20449
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), l = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), c = 5, h = -s / 2, u = -l / 2, { cssStyles: f } = t, d = nt.svg(n), p = at(t, {}), g = [
|
|
20435
20450
|
{ x: h - c, y: u + c },
|
|
@@ -20457,13 +20472,13 @@ async function T0(e, t) {
|
|
|
20457
20472
|
return v.insert(() => x, ":first-child"), v.attr("class", "basic label-container"), f && t.look !== "handDrawn" && v.selectAll("path").attr("style", f), i && t.look !== "handDrawn" && v.selectAll("path").attr("style", i), o.attr(
|
|
20458
20473
|
"transform",
|
|
20459
20474
|
`translate(${-(a.width / 2) - c - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + c - (a.y - (a.top ?? 0))})`
|
|
20460
|
-
),
|
|
20475
|
+
), ot(t, v), t.intersect = function(E) {
|
|
20461
20476
|
return et.polygon(t, g, E);
|
|
20462
20477
|
}, n;
|
|
20463
20478
|
}
|
|
20464
20479
|
m(T0, "multiRect");
|
|
20465
20480
|
async function E0(e, t) {
|
|
20466
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20481
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20467
20482
|
t.labelStyle = r;
|
|
20468
20483
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), l = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), c = l / 4, h = l + c, u = -s / 2, f = -h / 2, d = 5, { cssStyles: p } = t, g = Mr(
|
|
20469
20484
|
u - d,
|
|
@@ -20498,13 +20513,13 @@ async function E0(e, t) {
|
|
|
20498
20513
|
return z.insert(() => N), z.attr("class", "basic label-container"), p && t.look !== "handDrawn" && z.selectAll("path").attr("style", p), i && t.look !== "handDrawn" && z.selectAll("path").attr("style", i), z.attr("transform", `translate(0,${-c / 2})`), o.attr(
|
|
20499
20514
|
"transform",
|
|
20500
20515
|
`translate(${-(a.width / 2) - d - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + d - c / 2 - (a.y - (a.top ?? 0))})`
|
|
20501
|
-
),
|
|
20516
|
+
), ot(t, z), t.intersect = function(I) {
|
|
20502
20517
|
return et.polygon(t, b, I);
|
|
20503
20518
|
}, n;
|
|
20504
20519
|
}
|
|
20505
20520
|
m(E0, "multiWaveEdgedRectangle");
|
|
20506
20521
|
async function L0(e, t, { config: { themeVariables: r } }) {
|
|
20507
|
-
const { labelStyles: i, nodeStyles: n } =
|
|
20522
|
+
const { labelStyles: i, nodeStyles: n } = lt(t);
|
|
20508
20523
|
t.labelStyle = i, t.useHtmlLabels || ae().flowchart?.htmlLabels !== !1 || (t.centerLabel = !0);
|
|
20509
20524
|
const { shapeSvg: o, bbox: s, label: l } = await mt(e, t, gt(t)), c = Math.max(s.width + (t.padding ?? 0) * 2, t?.width ?? 0), h = Math.max(s.height + (t.padding ?? 0) * 2, t?.height ?? 0), u = -c / 2, f = -h / 2, { cssStyles: d } = t, p = nt.svg(o), g = at(t, {
|
|
20510
20525
|
fill: r.noteBkgColor,
|
|
@@ -20515,7 +20530,7 @@ async function L0(e, t, { config: { themeVariables: r } }) {
|
|
|
20515
20530
|
return b.attr("class", "basic label-container"), d && t.look !== "handDrawn" && b.selectAll("path").attr("style", d), n && t.look !== "handDrawn" && b.selectAll("path").attr("style", n), l.attr(
|
|
20516
20531
|
"transform",
|
|
20517
20532
|
`translate(${-s.width / 2 - (s.x - (s.left ?? 0))}, ${-(s.height / 2) - (s.y - (s.top ?? 0))})`
|
|
20518
|
-
),
|
|
20533
|
+
), ot(t, b), t.intersect = function(x) {
|
|
20519
20534
|
return et.rect(t, x);
|
|
20520
20535
|
}, o;
|
|
20521
20536
|
}
|
|
@@ -20528,7 +20543,7 @@ var I$ = /* @__PURE__ */ m((e, t, r) => [
|
|
|
20528
20543
|
"Z"
|
|
20529
20544
|
].join(" "), "createDecisionBoxPathD");
|
|
20530
20545
|
async function A0(e, t) {
|
|
20531
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20546
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20532
20547
|
t.labelStyle = r;
|
|
20533
20548
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = a.width + t.padding, s = a.height + t.padding, l = o + s, c = 0.5, h = [
|
|
20534
20549
|
{ x: l / 2, y: 0 },
|
|
@@ -20543,7 +20558,7 @@ async function A0(e, t) {
|
|
|
20543
20558
|
u = n.insert(() => y, ":first-child").attr("transform", `translate(${-l / 2 + c}, ${l / 2})`), f && u.attr("style", f);
|
|
20544
20559
|
} else
|
|
20545
20560
|
u = Fr(n, l, l, h), u.attr("transform", `translate(${-l / 2 + c}, ${l / 2})`);
|
|
20546
|
-
return i && u.attr("style", i),
|
|
20561
|
+
return i && u.attr("style", i), ot(t, u), t.calcIntersect = function(d, p) {
|
|
20547
20562
|
const g = d.width, y = [
|
|
20548
20563
|
{ x: g / 2, y: 0 },
|
|
20549
20564
|
{ x: g, y: -g / 2 },
|
|
@@ -20557,7 +20572,7 @@ async function A0(e, t) {
|
|
|
20557
20572
|
}
|
|
20558
20573
|
m(A0, "question");
|
|
20559
20574
|
async function $0(e, t) {
|
|
20560
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20575
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20561
20576
|
t.labelStyle = r;
|
|
20562
20577
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0), t?.width ?? 0), l = Math.max(a.height + (t.padding ?? 0), t?.height ?? 0), c = -s / 2, h = -l / 2, u = h / 2, f = [
|
|
20563
20578
|
{ x: c + u, y: h },
|
|
@@ -20571,13 +20586,13 @@ async function $0(e, t) {
|
|
|
20571
20586
|
return x.attr("class", "basic label-container"), d && t.look !== "handDrawn" && x.selectAll("path").attr("style", d), i && t.look !== "handDrawn" && x.selectAll("path").attr("style", i), x.attr("transform", `translate(${-u / 2},0)`), o.attr(
|
|
20572
20587
|
"transform",
|
|
20573
20588
|
`translate(${-u / 2 - a.width / 2 - (a.x - (a.left ?? 0))}, ${-(a.height / 2) - (a.y - (a.top ?? 0))})`
|
|
20574
|
-
),
|
|
20589
|
+
), ot(t, x), t.intersect = function(w) {
|
|
20575
20590
|
return et.polygon(t, f, w);
|
|
20576
20591
|
}, n;
|
|
20577
20592
|
}
|
|
20578
20593
|
m($0, "rect_left_inv_arrow");
|
|
20579
20594
|
async function M0(e, t) {
|
|
20580
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20595
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20581
20596
|
t.labelStyle = r;
|
|
20582
20597
|
let n;
|
|
20583
20598
|
t.cssClasses ? n = "node " + t.cssClasses : n = "node default";
|
|
@@ -20624,7 +20639,7 @@ async function M0(e, t) {
|
|
|
20624
20639
|
T = a.insert(() => (Y.debug("Rough node insert CXC", I), k), ":first-child"), E = a.insert(() => (Y.debug("Rough node insert CXC", I), I), ":first-child");
|
|
20625
20640
|
} else
|
|
20626
20641
|
E = o.insert("rect", ":first-child"), T = o.insert("line"), E.attr("class", "outer title-state").attr("style", i).attr("x", -u.width / 2 - b).attr("y", -u.height / 2 - b).attr("width", u.width + (t.padding || 0)).attr("height", u.height + (t.padding || 0)), T.attr("class", "divider").attr("x1", -u.width / 2 - b).attr("x2", u.width / 2 + b).attr("y1", -u.height / 2 - b + d.height + b).attr("y2", -u.height / 2 - b + d.height + b);
|
|
20627
|
-
return
|
|
20642
|
+
return ot(t, E), t.intersect = function(N) {
|
|
20628
20643
|
return et.rect(t, N);
|
|
20629
20644
|
}, a;
|
|
20630
20645
|
}
|
|
@@ -20645,7 +20660,7 @@ function En(e, t, r, i, n, a, o) {
|
|
|
20645
20660
|
}
|
|
20646
20661
|
m(En, "generateArcPoints");
|
|
20647
20662
|
async function B0(e, t) {
|
|
20648
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20663
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20649
20664
|
t.labelStyle = r;
|
|
20650
20665
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = t?.padding ?? 0, s = t?.padding ?? 0, l = (t?.width ? t?.width : a.width) + o * 2, c = (t?.height ? t?.height : a.height) + s * 2, h = t.radius || 5, u = t.taper || 5, { cssStyles: f } = t, d = nt.svg(n), p = at(t, {});
|
|
20651
20666
|
t.stroke && (p.stroke = t.stroke), t.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
|
|
@@ -20679,13 +20694,13 @@ async function B0(e, t) {
|
|
|
20679
20694
|
...En(-l / 2, -c / 2 + u, -l / 2 + u, -c / 2, h, h, !0)
|
|
20680
20695
|
// Top-left arc (4 to 5)
|
|
20681
20696
|
], y = _t(g), b = d.path(y, p), x = n.insert(() => b, ":first-child");
|
|
20682
|
-
return x.attr("class", "basic label-container outer-path"), f && t.look !== "handDrawn" && x.selectChildren("path").attr("style", f), i && t.look !== "handDrawn" && x.selectChildren("path").attr("style", i),
|
|
20697
|
+
return x.attr("class", "basic label-container outer-path"), f && t.look !== "handDrawn" && x.selectChildren("path").attr("style", f), i && t.look !== "handDrawn" && x.selectChildren("path").attr("style", i), ot(t, x), t.intersect = function(w) {
|
|
20683
20698
|
return et.polygon(t, g, w);
|
|
20684
20699
|
}, n;
|
|
20685
20700
|
}
|
|
20686
20701
|
m(B0, "roundedRect");
|
|
20687
20702
|
async function O0(e, t) {
|
|
20688
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20703
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20689
20704
|
t.labelStyle = r;
|
|
20690
20705
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = t?.padding ?? 0, l = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), c = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), h = -a.width / 2 - s, u = -a.height / 2 - s, { cssStyles: f } = t, d = nt.svg(n), p = at(t, {});
|
|
20691
20706
|
t.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
|
|
@@ -20704,13 +20719,13 @@ async function O0(e, t) {
|
|
|
20704
20719
|
return b.attr("class", "basic label-container").attr("style", oe(f)), i && t.look !== "handDrawn" && b.selectAll("path").attr("style", i), f && t.look !== "handDrawn" && b.selectAll("path").attr("style", i), o.attr(
|
|
20705
20720
|
"transform",
|
|
20706
20721
|
`translate(${-l / 2 + 4 + (t.padding ?? 0) - (a.x - (a.left ?? 0))},${-c / 2 + (t.padding ?? 0) - (a.y - (a.top ?? 0))})`
|
|
20707
|
-
),
|
|
20722
|
+
), ot(t, b), t.intersect = function(x) {
|
|
20708
20723
|
return et.rect(t, x);
|
|
20709
20724
|
}, n;
|
|
20710
20725
|
}
|
|
20711
20726
|
m(O0, "shadedProcess");
|
|
20712
20727
|
async function D0(e, t) {
|
|
20713
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20728
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20714
20729
|
t.labelStyle = r;
|
|
20715
20730
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), l = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), c = -s / 2, h = -l / 2, { cssStyles: u } = t, f = nt.svg(n), d = at(t, {});
|
|
20716
20731
|
t.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
|
|
@@ -20723,7 +20738,7 @@ async function D0(e, t) {
|
|
|
20723
20738
|
return b.attr("class", "basic label-container"), u && t.look !== "handDrawn" && b.selectChildren("path").attr("style", u), i && t.look !== "handDrawn" && b.selectChildren("path").attr("style", i), b.attr("transform", `translate(0, ${l / 4})`), o.attr(
|
|
20724
20739
|
"transform",
|
|
20725
20740
|
`translate(${-s / 2 + (t.padding ?? 0) - (a.x - (a.left ?? 0))}, ${-l / 4 + (t.padding ?? 0) - (a.y - (a.top ?? 0))})`
|
|
20726
|
-
),
|
|
20741
|
+
), ot(t, b), t.intersect = function(x) {
|
|
20727
20742
|
return et.polygon(t, p, x);
|
|
20728
20743
|
}, n;
|
|
20729
20744
|
}
|
|
@@ -20739,7 +20754,7 @@ async function R0(e, t) {
|
|
|
20739
20754
|
}
|
|
20740
20755
|
m(R0, "squareRect");
|
|
20741
20756
|
async function F0(e, t) {
|
|
20742
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20757
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20743
20758
|
t.labelStyle = r;
|
|
20744
20759
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = a.height + t.padding, s = a.width + o / 4 + t.padding, l = o / 2, { cssStyles: c } = t, h = nt.svg(n), u = at(t, {});
|
|
20745
20760
|
t.look !== "handDrawn" && (u.roughness = 0, u.fillStyle = "solid");
|
|
@@ -20750,7 +20765,7 @@ async function F0(e, t) {
|
|
|
20750
20765
|
{ x: s / 2 - l, y: o / 2 },
|
|
20751
20766
|
...Zn(s / 2 - l, 0, l, 50, 270, 450)
|
|
20752
20767
|
], d = _t(f), p = h.path(d, u), g = n.insert(() => p, ":first-child");
|
|
20753
|
-
return g.attr("class", "basic label-container outer-path"), c && t.look !== "handDrawn" && g.selectChildren("path").attr("style", c), i && t.look !== "handDrawn" && g.selectChildren("path").attr("style", i),
|
|
20768
|
+
return g.attr("class", "basic label-container outer-path"), c && t.look !== "handDrawn" && g.selectChildren("path").attr("style", c), i && t.look !== "handDrawn" && g.selectChildren("path").attr("style", i), ot(t, g), t.intersect = function(y) {
|
|
20754
20769
|
return et.polygon(t, f, y);
|
|
20755
20770
|
}, n;
|
|
20756
20771
|
}
|
|
@@ -20763,7 +20778,7 @@ async function I0(e, t) {
|
|
|
20763
20778
|
}
|
|
20764
20779
|
m(I0, "state");
|
|
20765
20780
|
function N0(e, t, { config: { themeVariables: r } }) {
|
|
20766
|
-
const { labelStyles: i, nodeStyles: n } =
|
|
20781
|
+
const { labelStyles: i, nodeStyles: n } = lt(t);
|
|
20767
20782
|
t.labelStyle = i;
|
|
20768
20783
|
const { cssStyles: a } = t, { lineColor: o, stateBorder: s, nodeBorder: l } = r, c = e.insert("g").attr("class", "node default").attr("id", t.domId || t.id), h = nt.svg(c), u = at(t, {});
|
|
20769
20784
|
t.look !== "handDrawn" && (u.roughness = 0, u.fillStyle = "solid");
|
|
@@ -20778,7 +20793,7 @@ function N0(e, t, { config: { themeVariables: r } }) {
|
|
|
20778
20793
|
strokeWidth: 2,
|
|
20779
20794
|
fillStyle: "solid"
|
|
20780
20795
|
}), g = c.insert(() => f, ":first-child");
|
|
20781
|
-
return g.insert(() => p), a && g.selectAll("path").attr("style", a), n && g.selectAll("path").attr("style", n),
|
|
20796
|
+
return g.insert(() => p), a && g.selectAll("path").attr("style", a), n && g.selectAll("path").attr("style", n), ot(t, g), t.intersect = function(y) {
|
|
20782
20797
|
return et.circle(t, 7, y);
|
|
20783
20798
|
}, c;
|
|
20784
20799
|
}
|
|
@@ -20791,13 +20806,13 @@ function P0(e, t, { config: { themeVariables: r } }) {
|
|
|
20791
20806
|
a = n.insert(() => s), a.attr("class", "state-start").attr("r", 7).attr("width", 14).attr("height", 14);
|
|
20792
20807
|
} else
|
|
20793
20808
|
a = n.insert("circle", ":first-child"), a.attr("class", "state-start").attr("r", 7).attr("width", 14).attr("height", 14);
|
|
20794
|
-
return
|
|
20809
|
+
return ot(t, a), t.intersect = function(o) {
|
|
20795
20810
|
return et.circle(t, 7, o);
|
|
20796
20811
|
}, n;
|
|
20797
20812
|
}
|
|
20798
20813
|
m(P0, "stateStart");
|
|
20799
20814
|
async function j0(e, t) {
|
|
20800
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20815
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20801
20816
|
t.labelStyle = r;
|
|
20802
20817
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = (t?.padding || 0) / 2, s = a.width + t.padding, l = a.height + t.padding, c = -a.width / 2 - o, h = -a.height / 2 - o, u = [
|
|
20803
20818
|
{ x: 0, y: 0 },
|
|
@@ -20815,10 +20830,10 @@ async function j0(e, t) {
|
|
|
20815
20830
|
const f = nt.svg(n), d = at(t, {}), p = f.rectangle(c - 8, h, s + 16, l, d), g = f.line(c, h, c, h + l, d), y = f.line(c + s, h, c + s, h + l, d);
|
|
20816
20831
|
n.insert(() => g, ":first-child"), n.insert(() => y, ":first-child");
|
|
20817
20832
|
const b = n.insert(() => p, ":first-child"), { cssStyles: x } = t;
|
|
20818
|
-
b.attr("class", "basic label-container").attr("style", oe(x)),
|
|
20833
|
+
b.attr("class", "basic label-container").attr("style", oe(x)), ot(t, b);
|
|
20819
20834
|
} else {
|
|
20820
20835
|
const f = Fr(n, s, l, u);
|
|
20821
|
-
i && f.attr("style", i),
|
|
20836
|
+
i && f.attr("style", i), ot(t, f);
|
|
20822
20837
|
}
|
|
20823
20838
|
return t.intersect = function(f) {
|
|
20824
20839
|
return et.polygon(t, u, f);
|
|
@@ -20826,7 +20841,7 @@ async function j0(e, t) {
|
|
|
20826
20841
|
}
|
|
20827
20842
|
m(j0, "subroutine");
|
|
20828
20843
|
async function z0(e, t) {
|
|
20829
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20844
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20830
20845
|
t.labelStyle = r;
|
|
20831
20846
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), s = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), l = -o / 2, c = -s / 2, h = 0.2 * s, u = 0.2 * s, { cssStyles: f } = t, d = nt.svg(n), p = at(t, {}), g = [
|
|
20832
20847
|
{ x: l - h / 2, y: c },
|
|
@@ -20840,13 +20855,13 @@ async function z0(e, t) {
|
|
|
20840
20855
|
];
|
|
20841
20856
|
t.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
|
|
20842
20857
|
const b = _t(g), x = d.path(b, p), w = _t(y), C = d.path(w, { ...p, fillStyle: "solid" }), v = n.insert(() => C, ":first-child");
|
|
20843
|
-
return v.insert(() => x, ":first-child"), v.attr("class", "basic label-container"), f && t.look !== "handDrawn" && v.selectAll("path").attr("style", f), i && t.look !== "handDrawn" && v.selectAll("path").attr("style", i),
|
|
20858
|
+
return v.insert(() => x, ":first-child"), v.attr("class", "basic label-container"), f && t.look !== "handDrawn" && v.selectAll("path").attr("style", f), i && t.look !== "handDrawn" && v.selectAll("path").attr("style", i), ot(t, v), t.intersect = function(E) {
|
|
20844
20859
|
return et.polygon(t, g, E);
|
|
20845
20860
|
}, n;
|
|
20846
20861
|
}
|
|
20847
20862
|
m(z0, "taggedRect");
|
|
20848
20863
|
async function W0(e, t) {
|
|
20849
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20864
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20850
20865
|
t.labelStyle = r;
|
|
20851
20866
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), l = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), c = l / 4, h = 0.2 * s, u = 0.2 * l, f = l + c, { cssStyles: d } = t, p = nt.svg(n), g = at(t, {});
|
|
20852
20867
|
t.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
|
|
@@ -20881,16 +20896,16 @@ async function W0(e, t) {
|
|
|
20881
20896
|
return N.insert(() => v, ":first-child"), N.attr("class", "basic label-container"), d && t.look !== "handDrawn" && N.selectAll("path").attr("style", d), i && t.look !== "handDrawn" && N.selectAll("path").attr("style", i), N.attr("transform", `translate(0,${-c / 2})`), o.attr(
|
|
20882
20897
|
"transform",
|
|
20883
20898
|
`translate(${-s / 2 + (t.padding ?? 0) - (a.x - (a.left ?? 0))},${-l / 2 + (t.padding ?? 0) - c / 2 - (a.y - (a.top ?? 0))})`
|
|
20884
|
-
),
|
|
20899
|
+
), ot(t, N), t.intersect = function(z) {
|
|
20885
20900
|
return et.polygon(t, y, z);
|
|
20886
20901
|
}, n;
|
|
20887
20902
|
}
|
|
20888
20903
|
m(W0, "taggedWaveEdgedRectangle");
|
|
20889
20904
|
async function q0(e, t) {
|
|
20890
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20905
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20891
20906
|
t.labelStyle = r;
|
|
20892
20907
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = Math.max(a.width + t.padding, t?.width || 0), s = Math.max(a.height + t.padding, t?.height || 0), l = -o / 2, c = -s / 2, h = n.insert("rect", ":first-child");
|
|
20893
|
-
return h.attr("class", "text").attr("style", i).attr("rx", 0).attr("ry", 0).attr("x", l).attr("y", c).attr("width", o).attr("height", s),
|
|
20908
|
+
return h.attr("class", "text").attr("style", i).attr("rx", 0).attr("ry", 0).attr("x", l).attr("y", c).attr("width", o).attr("height", s), ot(t, h), t.intersect = function(u) {
|
|
20894
20909
|
return et.rect(t, u);
|
|
20895
20910
|
}, n;
|
|
20896
20911
|
}
|
|
@@ -20910,7 +20925,7 @@ var N$ = /* @__PURE__ */ m((e, t, r, i, n, a) => `M${e},${t}
|
|
|
20910
20925
|
`l${r},0`
|
|
20911
20926
|
].join(" "), "createOuterCylinderPathD"), j$ = /* @__PURE__ */ m((e, t, r, i, n, a) => [`M${e + r / 2},${-i / 2}`, `a${n},${a} 0,0,0 0,${i}`].join(" "), "createInnerCylinderPathD");
|
|
20912
20927
|
async function H0(e, t) {
|
|
20913
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20928
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20914
20929
|
t.labelStyle = r;
|
|
20915
20930
|
const { shapeSvg: n, bbox: a, label: o, halfPadding: s } = await mt(
|
|
20916
20931
|
e,
|
|
@@ -20928,7 +20943,7 @@ async function H0(e, t) {
|
|
|
20928
20943
|
return p.attr("label-offset-x", u), p.attr("transform", `translate(${-f / 2}, ${c / 2} )`), o.attr(
|
|
20929
20944
|
"transform",
|
|
20930
20945
|
`translate(${-(a.width / 2) - u - (a.x - (a.left ?? 0))}, ${-(a.height / 2) - (a.y - (a.top ?? 0))})`
|
|
20931
|
-
),
|
|
20946
|
+
), ot(t, p), t.intersect = function(g) {
|
|
20932
20947
|
const y = et.rect(t, g), b = y.y - (t.y ?? 0);
|
|
20933
20948
|
if (h != 0 && (Math.abs(b) < (t.height ?? 0) / 2 || Math.abs(b) == (t.height ?? 0) / 2 && Math.abs(y.x - (t.x ?? 0)) > (t.width ?? 0) / 2 - u)) {
|
|
20934
20949
|
let x = u * u * (1 - b * b / (h * h));
|
|
@@ -20939,7 +20954,7 @@ async function H0(e, t) {
|
|
|
20939
20954
|
}
|
|
20940
20955
|
m(H0, "tiltedCylinder");
|
|
20941
20956
|
async function U0(e, t) {
|
|
20942
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20957
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20943
20958
|
t.labelStyle = r;
|
|
20944
20959
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = a.width + t.padding, s = a.height + t.padding, l = [
|
|
20945
20960
|
{ x: -3 * s / 6, y: 0 },
|
|
@@ -20954,13 +20969,13 @@ async function U0(e, t) {
|
|
|
20954
20969
|
c = n.insert(() => p, ":first-child").attr("transform", `translate(${-o / 2}, ${s / 2})`), h && c.attr("style", h);
|
|
20955
20970
|
} else
|
|
20956
20971
|
c = Fr(n, o, s, l);
|
|
20957
|
-
return i && c.attr("style", i), t.width = o, t.height = s,
|
|
20972
|
+
return i && c.attr("style", i), t.width = o, t.height = s, ot(t, c), t.intersect = function(u) {
|
|
20958
20973
|
return et.polygon(t, l, u);
|
|
20959
20974
|
}, n;
|
|
20960
20975
|
}
|
|
20961
20976
|
m(U0, "trapezoid");
|
|
20962
20977
|
async function Y0(e, t) {
|
|
20963
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20978
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20964
20979
|
t.labelStyle = r;
|
|
20965
20980
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = 60, s = 20, l = Math.max(o, a.width + (t.padding ?? 0) * 2, t?.width ?? 0), c = Math.max(s, a.height + (t.padding ?? 0) * 2, t?.height ?? 0), { cssStyles: h } = t, u = nt.svg(n), f = at(t, {});
|
|
20966
20981
|
t.look !== "handDrawn" && (f.roughness = 0, f.fillStyle = "solid");
|
|
@@ -20972,13 +20987,13 @@ async function Y0(e, t) {
|
|
|
20972
20987
|
{ x: -l / 2, y: c / 2 },
|
|
20973
20988
|
{ x: -l / 2, y: -c / 2 * 0.6 }
|
|
20974
20989
|
], p = _t(d), g = u.path(p, f), y = n.insert(() => g, ":first-child");
|
|
20975
|
-
return y.attr("class", "basic label-container"), h && t.look !== "handDrawn" && y.selectChildren("path").attr("style", h), i && t.look !== "handDrawn" && y.selectChildren("path").attr("style", i),
|
|
20990
|
+
return y.attr("class", "basic label-container"), h && t.look !== "handDrawn" && y.selectChildren("path").attr("style", h), i && t.look !== "handDrawn" && y.selectChildren("path").attr("style", i), ot(t, y), t.intersect = function(b) {
|
|
20976
20991
|
return et.polygon(t, d, b);
|
|
20977
20992
|
}, n;
|
|
20978
20993
|
}
|
|
20979
20994
|
m(Y0, "trapezoidalPentagon");
|
|
20980
20995
|
async function G0(e, t) {
|
|
20981
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
20996
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
20982
20997
|
t.labelStyle = r;
|
|
20983
20998
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Kt(Mt().flowchart?.htmlLabels), l = a.width + (t.padding ?? 0), c = l + a.height, h = l + a.height, u = [
|
|
20984
20999
|
{ x: 0, y: 0 },
|
|
@@ -20987,7 +21002,7 @@ async function G0(e, t) {
|
|
|
20987
21002
|
], { cssStyles: f } = t, d = nt.svg(n), p = at(t, {});
|
|
20988
21003
|
t.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
|
|
20989
21004
|
const g = _t(u), y = d.path(g, p), b = n.insert(() => y, ":first-child").attr("transform", `translate(${-c / 2}, ${c / 2})`);
|
|
20990
|
-
return f && t.look !== "handDrawn" && b.selectChildren("path").attr("style", f), i && t.look !== "handDrawn" && b.selectChildren("path").attr("style", i), t.width = l, t.height = c,
|
|
21005
|
+
return f && t.look !== "handDrawn" && b.selectChildren("path").attr("style", f), i && t.look !== "handDrawn" && b.selectChildren("path").attr("style", i), t.width = l, t.height = c, ot(t, b), o.attr(
|
|
20991
21006
|
"transform",
|
|
20992
21007
|
`translate(${-a.width / 2 - (a.x - (a.left ?? 0))}, ${c / 2 - (a.height + (t.padding ?? 0) / (s ? 2 : 1) - (a.y - (a.top ?? 0)))})`
|
|
20993
21008
|
), t.intersect = function(x) {
|
|
@@ -20996,7 +21011,7 @@ async function G0(e, t) {
|
|
|
20996
21011
|
}
|
|
20997
21012
|
m(G0, "triangle");
|
|
20998
21013
|
async function V0(e, t) {
|
|
20999
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
21014
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
21000
21015
|
t.labelStyle = r;
|
|
21001
21016
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), l = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), c = l / 8, h = l + c, { cssStyles: u } = t, d = 70 - s, p = d > 0 ? d / 2 : 0, g = nt.svg(n), y = at(t, {});
|
|
21002
21017
|
t.look !== "handDrawn" && (y.roughness = 0, y.fillStyle = "solid");
|
|
@@ -21016,13 +21031,13 @@ async function V0(e, t) {
|
|
|
21016
21031
|
return C.attr("class", "basic label-container"), u && t.look !== "handDrawn" && C.selectAll("path").attr("style", u), i && t.look !== "handDrawn" && C.selectAll("path").attr("style", i), C.attr("transform", `translate(0,${-c / 2})`), o.attr(
|
|
21017
21032
|
"transform",
|
|
21018
21033
|
`translate(${-s / 2 + (t.padding ?? 0) - (a.x - (a.left ?? 0))},${-l / 2 + (t.padding ?? 0) - c - (a.y - (a.top ?? 0))})`
|
|
21019
|
-
),
|
|
21034
|
+
), ot(t, C), t.intersect = function(v) {
|
|
21020
21035
|
return et.polygon(t, b, v);
|
|
21021
21036
|
}, n;
|
|
21022
21037
|
}
|
|
21023
21038
|
m(V0, "waveEdgedRectangle");
|
|
21024
21039
|
async function X0(e, t) {
|
|
21025
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
21040
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
21026
21041
|
t.labelStyle = r;
|
|
21027
21042
|
const { shapeSvg: n, bbox: a } = await mt(e, t, gt(t)), o = 100, s = 50, l = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), c = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), h = l / c;
|
|
21028
21043
|
let u = l, f = c;
|
|
@@ -21035,13 +21050,13 @@ async function X0(e, t) {
|
|
|
21035
21050
|
{ x: u / 2, y: -p / 2 },
|
|
21036
21051
|
...Mr(u / 2, -p / 2, -u / 2, -p / 2, d, -1)
|
|
21037
21052
|
], w = _t(x), C = y.path(w, b), v = n.insert(() => C, ":first-child");
|
|
21038
|
-
return v.attr("class", "basic label-container"), g && t.look !== "handDrawn" && v.selectAll("path").attr("style", g), i && t.look !== "handDrawn" && v.selectAll("path").attr("style", i),
|
|
21053
|
+
return v.attr("class", "basic label-container"), g && t.look !== "handDrawn" && v.selectAll("path").attr("style", g), i && t.look !== "handDrawn" && v.selectAll("path").attr("style", i), ot(t, v), t.intersect = function(E) {
|
|
21039
21054
|
return et.polygon(t, x, E);
|
|
21040
21055
|
}, n;
|
|
21041
21056
|
}
|
|
21042
21057
|
m(X0, "waveRectangle");
|
|
21043
21058
|
async function K0(e, t) {
|
|
21044
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
21059
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
21045
21060
|
t.labelStyle = r;
|
|
21046
21061
|
const { shapeSvg: n, bbox: a, label: o } = await mt(e, t, gt(t)), s = Math.max(a.width + (t.padding ?? 0) * 2, t?.width ?? 0), l = Math.max(a.height + (t.padding ?? 0) * 2, t?.height ?? 0), c = 5, h = -s / 2, u = -l / 2, { cssStyles: f } = t, d = nt.svg(n), p = at(t, {}), g = [
|
|
21047
21062
|
{ x: h - c, y: u - c },
|
|
@@ -21056,7 +21071,7 @@ async function K0(e, t) {
|
|
|
21056
21071
|
return x.attr("transform", `translate(${c / 2}, ${c / 2})`), x.attr("class", "basic label-container"), f && t.look !== "handDrawn" && x.selectAll("path").attr("style", f), i && t.look !== "handDrawn" && x.selectAll("path").attr("style", i), o.attr(
|
|
21057
21072
|
"transform",
|
|
21058
21073
|
`translate(${-(a.width / 2) + c / 2 - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + c / 2 - (a.y - (a.top ?? 0))})`
|
|
21059
|
-
),
|
|
21074
|
+
), ot(t, x), t.intersect = function(w) {
|
|
21060
21075
|
return et.polygon(t, g, w);
|
|
21061
21076
|
}, n;
|
|
21062
21077
|
}
|
|
@@ -21075,7 +21090,7 @@ async function _h(e, t) {
|
|
|
21075
21090
|
const i = ae();
|
|
21076
21091
|
t.useHtmlLabels = i.htmlLabels;
|
|
21077
21092
|
let n = i.er?.diagramPadding ?? 10, a = i.er?.entityPadding ?? 6;
|
|
21078
|
-
const { cssStyles: o } = t, { labelStyles: s, nodeStyles: l } =
|
|
21093
|
+
const { cssStyles: o } = t, { labelStyles: s, nodeStyles: l } = lt(t);
|
|
21079
21094
|
if (r.attributes.length === 0 && t.label) {
|
|
21080
21095
|
const q = {
|
|
21081
21096
|
rx: 0,
|
|
@@ -21199,7 +21214,7 @@ async function _h(e, t) {
|
|
|
21199
21214
|
u.height + B + q,
|
|
21200
21215
|
z
|
|
21201
21216
|
), h.insert(() => $).attr("class", "divider");
|
|
21202
|
-
if (
|
|
21217
|
+
if (ot(t, M), l && t.look !== "handDrawn") {
|
|
21203
21218
|
const P = l.split(";")?.filter((H) => H.includes("stroke"))?.map((H) => `${H}`).join("; ");
|
|
21204
21219
|
h.selectAll("path").attr("style", P ?? ""), h.selectAll(".row-rect-even path").attr("style", l);
|
|
21205
21220
|
}
|
|
@@ -21325,7 +21340,7 @@ m(Ln, "addText");
|
|
|
21325
21340
|
async function Q0(e, t) {
|
|
21326
21341
|
const r = Mt(), i = r.class.padding ?? 12, n = i, a = t.useHtmlLabels ?? Kt(r.htmlLabels) ?? !0, o = t;
|
|
21327
21342
|
o.annotations = o.annotations ?? [], o.members = o.members ?? [], o.methods = o.methods ?? [];
|
|
21328
|
-
const { shapeSvg: s, bbox: l } = await Z0(e, t, r, a, n), { labelStyles: c, nodeStyles: h } =
|
|
21343
|
+
const { shapeSvg: s, bbox: l } = await Z0(e, t, r, a, n), { labelStyles: c, nodeStyles: h } = lt(t);
|
|
21329
21344
|
t.labelStyle = c, t.cssStyles = o.styles || "";
|
|
21330
21345
|
const u = o.styles?.join(";") || h || "";
|
|
21331
21346
|
t.cssStyles || (t.cssStyles = u.replaceAll("!important", "").split(";"));
|
|
@@ -21391,13 +21406,13 @@ async function Q0(e, t) {
|
|
|
21391
21406
|
}
|
|
21392
21407
|
}
|
|
21393
21408
|
}
|
|
21394
|
-
return
|
|
21409
|
+
return ot(t, C), t.intersect = function(z) {
|
|
21395
21410
|
return et.rect(t, z);
|
|
21396
21411
|
}, s;
|
|
21397
21412
|
}
|
|
21398
21413
|
m(Q0, "classBox");
|
|
21399
21414
|
async function J0(e, t) {
|
|
21400
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
21415
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
21401
21416
|
t.labelStyle = r;
|
|
21402
21417
|
const n = t, a = t, o = 20, s = 20, l = "verifyMethod" in t, c = gt(t), h = e.insert("g").attr("class", c).attr("id", t.domId ?? t.id);
|
|
21403
21418
|
let u;
|
|
@@ -21478,7 +21493,7 @@ async function J0(e, t) {
|
|
|
21478
21493
|
);
|
|
21479
21494
|
h.insert(() => E).attr("style", i);
|
|
21480
21495
|
}
|
|
21481
|
-
return
|
|
21496
|
+
return ot(t, v), t.intersect = function(E) {
|
|
21482
21497
|
return et.rect(t, E);
|
|
21483
21498
|
}, h;
|
|
21484
21499
|
}
|
|
@@ -21527,7 +21542,7 @@ var z$ = /* @__PURE__ */ m((e) => {
|
|
|
21527
21542
|
}
|
|
21528
21543
|
}, "colorFromPriority");
|
|
21529
21544
|
async function tb(e, t, { config: r }) {
|
|
21530
|
-
const { labelStyles: i, nodeStyles: n } =
|
|
21545
|
+
const { labelStyles: i, nodeStyles: n } = lt(t);
|
|
21531
21546
|
t.labelStyle = i || "";
|
|
21532
21547
|
const a = 10, o = t.width;
|
|
21533
21548
|
t.width = (t.width ?? 200) - 10;
|
|
@@ -21586,13 +21601,13 @@ async function tb(e, t, { config: r }) {
|
|
|
21586
21601
|
D.attr("x1", B).attr("y1", O).attr("x2", B).attr("y2", M).attr("stroke-width", "4").attr("stroke", z$(L));
|
|
21587
21602
|
}
|
|
21588
21603
|
}
|
|
21589
|
-
return
|
|
21604
|
+
return ot(t, N), t.height = v, t.intersect = function(L) {
|
|
21590
21605
|
return et.rect(t, L);
|
|
21591
21606
|
}, s;
|
|
21592
21607
|
}
|
|
21593
21608
|
m(tb, "kanbanItem");
|
|
21594
21609
|
async function eb(e, t) {
|
|
21595
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
21610
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
21596
21611
|
t.labelStyle = r;
|
|
21597
21612
|
const { shapeSvg: n, bbox: a, halfPadding: o, label: s } = await mt(
|
|
21598
21613
|
e,
|
|
@@ -21625,7 +21640,7 @@ async function eb(e, t) {
|
|
|
21625
21640
|
y = n.insert(() => C, ":first-child"), y.attr("class", "basic label-container").attr("style", oe(u));
|
|
21626
21641
|
} else
|
|
21627
21642
|
y = n.insert("path", ":first-child").attr("class", "basic label-container").attr("style", i).attr("d", b);
|
|
21628
|
-
return y.attr("transform", `translate(${-p / 2}, ${-g / 2})`),
|
|
21643
|
+
return y.attr("transform", `translate(${-p / 2}, ${-g / 2})`), ot(t, y), t.calcIntersect = function(x, w) {
|
|
21629
21644
|
return et.rect(x, w);
|
|
21630
21645
|
}, t.intersect = function(x) {
|
|
21631
21646
|
return Y.info("Bang intersect", t, x), et.rect(t, x);
|
|
@@ -21633,7 +21648,7 @@ async function eb(e, t) {
|
|
|
21633
21648
|
}
|
|
21634
21649
|
m(eb, "bang");
|
|
21635
21650
|
async function rb(e, t) {
|
|
21636
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
21651
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
21637
21652
|
t.labelStyle = r;
|
|
21638
21653
|
const { shapeSvg: n, bbox: a, halfPadding: o, label: s } = await mt(
|
|
21639
21654
|
e,
|
|
@@ -21661,7 +21676,7 @@ async function rb(e, t) {
|
|
|
21661
21676
|
g = n.insert(() => w, ":first-child"), g.attr("class", "basic label-container").attr("style", oe(p));
|
|
21662
21677
|
} else
|
|
21663
21678
|
g = n.insert("path", ":first-child").attr("class", "basic label-container").attr("style", i).attr("d", y);
|
|
21664
|
-
return s.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), g.attr("transform", `translate(${-l / 2}, ${-c / 2})`),
|
|
21679
|
+
return s.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), g.attr("transform", `translate(${-l / 2}, ${-c / 2})`), ot(t, g), t.calcIntersect = function(b, x) {
|
|
21665
21680
|
return et.rect(b, x);
|
|
21666
21681
|
}, t.intersect = function(b) {
|
|
21667
21682
|
return Y.info("Cloud intersect", t, b), et.rect(t, b);
|
|
@@ -21669,7 +21684,7 @@ async function rb(e, t) {
|
|
|
21669
21684
|
}
|
|
21670
21685
|
m(rb, "cloud");
|
|
21671
21686
|
async function ib(e, t) {
|
|
21672
|
-
const { labelStyles: r, nodeStyles: i } =
|
|
21687
|
+
const { labelStyles: r, nodeStyles: i } = lt(t);
|
|
21673
21688
|
t.labelStyle = r;
|
|
21674
21689
|
const { shapeSvg: n, bbox: a, halfPadding: o, label: s } = await mt(
|
|
21675
21690
|
e,
|
|
@@ -21687,7 +21702,7 @@ async function ib(e, t) {
|
|
|
21687
21702
|
q-${h},0 -${h},-${h}
|
|
21688
21703
|
Z
|
|
21689
21704
|
`, f = n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr("style", i).attr("d", u);
|
|
21690
|
-
return n.append("line").attr("class", "node-line-").attr("x1", -l / 2).attr("y1", c / 2).attr("x2", l / 2).attr("y2", c / 2), s.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), n.append(() => s.node()),
|
|
21705
|
+
return n.append("line").attr("class", "node-line-").attr("x1", -l / 2).attr("y1", c / 2).attr("x2", l / 2).attr("y2", c / 2), s.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`), n.append(() => s.node()), ot(t, f), t.calcIntersect = function(d, p) {
|
|
21691
21706
|
return et.rect(d, p);
|
|
21692
21707
|
}, t.intersect = function(d) {
|
|
21693
21708
|
return et.rect(t, d);
|
|
@@ -22601,11 +22616,11 @@ var id = /* @__PURE__ */ m(function(e, t, r) {
|
|
|
22601
22616
|
lb([
|
|
22602
22617
|
{
|
|
22603
22618
|
name: "dagre",
|
|
22604
|
-
loader: /* @__PURE__ */ m(async () => await import("./dagre-5GWH7T2D-
|
|
22619
|
+
loader: /* @__PURE__ */ m(async () => await import("./dagre-5GWH7T2D-CE7nvyV3.js"), "loader")
|
|
22605
22620
|
},
|
|
22606
22621
|
{
|
|
22607
22622
|
name: "cose-bilkent",
|
|
22608
|
-
loader: /* @__PURE__ */ m(async () => await import("./cose-bilkent-S5V4N54A-
|
|
22623
|
+
loader: /* @__PURE__ */ m(async () => await import("./cose-bilkent-S5V4N54A-CIRFJr1v.js"), "loader")
|
|
22609
22624
|
}
|
|
22610
22625
|
]);
|
|
22611
22626
|
}, "registerDefaultLayoutLoaders");
|
|
@@ -22952,119 +22967,119 @@ function ud(e) {
|
|
|
22952
22967
|
return !0;
|
|
22953
22968
|
}
|
|
22954
22969
|
var gb = "c4", KM = /* @__PURE__ */ m((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), ZM = /* @__PURE__ */ m(async () => {
|
|
22955
|
-
const { diagram: e } = await import("./c4Diagram-FPNF74CW-
|
|
22970
|
+
const { diagram: e } = await import("./c4Diagram-FPNF74CW-D8tmjsUL.js");
|
|
22956
22971
|
return { id: gb, diagram: e };
|
|
22957
22972
|
}, "loader"), QM = {
|
|
22958
22973
|
id: gb,
|
|
22959
22974
|
detector: KM,
|
|
22960
22975
|
loader: ZM
|
|
22961
22976
|
}, JM = QM, mb = "flowchart", tB = /* @__PURE__ */ m((e, t) => t?.flowchart?.defaultRenderer === "dagre-wrapper" || t?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"), eB = /* @__PURE__ */ m(async () => {
|
|
22962
|
-
const { diagram: e } = await import("./flowDiagram-PVAE7QVJ-
|
|
22977
|
+
const { diagram: e } = await import("./flowDiagram-PVAE7QVJ-B2DEkemN.js");
|
|
22963
22978
|
return { id: mb, diagram: e };
|
|
22964
22979
|
}, "loader"), rB = {
|
|
22965
22980
|
id: mb,
|
|
22966
22981
|
detector: tB,
|
|
22967
22982
|
loader: eB
|
|
22968
22983
|
}, iB = rB, yb = "flowchart-v2", nB = /* @__PURE__ */ m((e, t) => t?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (t?.flowchart?.defaultRenderer === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && t?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"), aB = /* @__PURE__ */ m(async () => {
|
|
22969
|
-
const { diagram: e } = await import("./flowDiagram-PVAE7QVJ-
|
|
22984
|
+
const { diagram: e } = await import("./flowDiagram-PVAE7QVJ-B2DEkemN.js");
|
|
22970
22985
|
return { id: yb, diagram: e };
|
|
22971
22986
|
}, "loader"), sB = {
|
|
22972
22987
|
id: yb,
|
|
22973
22988
|
detector: nB,
|
|
22974
22989
|
loader: aB
|
|
22975
22990
|
}, oB = sB, bb = "er", lB = /* @__PURE__ */ m((e) => /^\s*erDiagram/.test(e), "detector"), cB = /* @__PURE__ */ m(async () => {
|
|
22976
|
-
const { diagram: e } = await import("./erDiagram-AWTI2OKA-
|
|
22991
|
+
const { diagram: e } = await import("./erDiagram-AWTI2OKA-BJtnZhh2.js");
|
|
22977
22992
|
return { id: bb, diagram: e };
|
|
22978
22993
|
}, "loader"), hB = {
|
|
22979
22994
|
id: bb,
|
|
22980
22995
|
detector: lB,
|
|
22981
22996
|
loader: cB
|
|
22982
22997
|
}, uB = hB, xb = "gitGraph", fB = /* @__PURE__ */ m((e) => /^\s*gitGraph/.test(e), "detector"), dB = /* @__PURE__ */ m(async () => {
|
|
22983
|
-
const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-
|
|
22998
|
+
const { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-C9T-V_K8.js");
|
|
22984
22999
|
return { id: xb, diagram: e };
|
|
22985
23000
|
}, "loader"), pB = {
|
|
22986
23001
|
id: xb,
|
|
22987
23002
|
detector: fB,
|
|
22988
23003
|
loader: dB
|
|
22989
23004
|
}, gB = pB, vb = "gantt", mB = /* @__PURE__ */ m((e) => /^\s*gantt/.test(e), "detector"), yB = /* @__PURE__ */ m(async () => {
|
|
22990
|
-
const { diagram: e } = await import("./ganttDiagram-OWAHRB6G-
|
|
23005
|
+
const { diagram: e } = await import("./ganttDiagram-OWAHRB6G-B3X7mQ9T.js");
|
|
22991
23006
|
return { id: vb, diagram: e };
|
|
22992
23007
|
}, "loader"), bB = {
|
|
22993
23008
|
id: vb,
|
|
22994
23009
|
detector: mB,
|
|
22995
23010
|
loader: yB
|
|
22996
23011
|
}, xB = bB, wb = "info", vB = /* @__PURE__ */ m((e) => /^\s*info/.test(e), "detector"), wB = /* @__PURE__ */ m(async () => {
|
|
22997
|
-
const { diagram: e } = await import("./infoDiagram-STP46IZ2-
|
|
23012
|
+
const { diagram: e } = await import("./infoDiagram-STP46IZ2-BnVp7Ty_.js");
|
|
22998
23013
|
return { id: wb, diagram: e };
|
|
22999
23014
|
}, "loader"), CB = {
|
|
23000
23015
|
id: wb,
|
|
23001
23016
|
detector: vB,
|
|
23002
23017
|
loader: wB
|
|
23003
23018
|
}, Cb = "pie", _B = /* @__PURE__ */ m((e) => /^\s*pie/.test(e), "detector"), SB = /* @__PURE__ */ m(async () => {
|
|
23004
|
-
const { diagram: e } = await import("./pieDiagram-ADFJNKIX-
|
|
23019
|
+
const { diagram: e } = await import("./pieDiagram-ADFJNKIX-CXm5TDsJ.js");
|
|
23005
23020
|
return { id: Cb, diagram: e };
|
|
23006
23021
|
}, "loader"), kB = {
|
|
23007
23022
|
id: Cb,
|
|
23008
23023
|
detector: _B,
|
|
23009
23024
|
loader: SB
|
|
23010
23025
|
}, _b = "quadrantChart", TB = /* @__PURE__ */ m((e) => /^\s*quadrantChart/.test(e), "detector"), EB = /* @__PURE__ */ m(async () => {
|
|
23011
|
-
const { diagram: e } = await import("./quadrantDiagram-LMRXKWRM-
|
|
23026
|
+
const { diagram: e } = await import("./quadrantDiagram-LMRXKWRM-BWhMbgw7.js");
|
|
23012
23027
|
return { id: _b, diagram: e };
|
|
23013
23028
|
}, "loader"), LB = {
|
|
23014
23029
|
id: _b,
|
|
23015
23030
|
detector: TB,
|
|
23016
23031
|
loader: EB
|
|
23017
23032
|
}, AB = LB, Sb = "xychart", $B = /* @__PURE__ */ m((e) => /^\s*xychart(-beta)?/.test(e), "detector"), MB = /* @__PURE__ */ m(async () => {
|
|
23018
|
-
const { diagram: e } = await import("./xychartDiagram-6GGTOJPD-
|
|
23033
|
+
const { diagram: e } = await import("./xychartDiagram-6GGTOJPD-Bem8mOgQ.js");
|
|
23019
23034
|
return { id: Sb, diagram: e };
|
|
23020
23035
|
}, "loader"), BB = {
|
|
23021
23036
|
id: Sb,
|
|
23022
23037
|
detector: $B,
|
|
23023
23038
|
loader: MB
|
|
23024
23039
|
}, OB = BB, kb = "requirement", DB = /* @__PURE__ */ m((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), RB = /* @__PURE__ */ m(async () => {
|
|
23025
|
-
const { diagram: e } = await import("./requirementDiagram-4UW4RH46-
|
|
23040
|
+
const { diagram: e } = await import("./requirementDiagram-4UW4RH46-CTGvW1gX.js");
|
|
23026
23041
|
return { id: kb, diagram: e };
|
|
23027
23042
|
}, "loader"), FB = {
|
|
23028
23043
|
id: kb,
|
|
23029
23044
|
detector: DB,
|
|
23030
23045
|
loader: RB
|
|
23031
23046
|
}, IB = FB, Tb = "sequence", NB = /* @__PURE__ */ m((e) => /^\s*sequenceDiagram/.test(e), "detector"), PB = /* @__PURE__ */ m(async () => {
|
|
23032
|
-
const { diagram: e } = await import("./sequenceDiagram-C3RYC4MD-
|
|
23047
|
+
const { diagram: e } = await import("./sequenceDiagram-C3RYC4MD-BO0lU4at.js");
|
|
23033
23048
|
return { id: Tb, diagram: e };
|
|
23034
23049
|
}, "loader"), jB = {
|
|
23035
23050
|
id: Tb,
|
|
23036
23051
|
detector: NB,
|
|
23037
23052
|
loader: PB
|
|
23038
23053
|
}, zB = jB, Eb = "class", WB = /* @__PURE__ */ m((e, t) => t?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e), "detector"), qB = /* @__PURE__ */ m(async () => {
|
|
23039
|
-
const { diagram: e } = await import("./classDiagram-KNZD7YFC-
|
|
23054
|
+
const { diagram: e } = await import("./classDiagram-KNZD7YFC-Ba853BBe.js");
|
|
23040
23055
|
return { id: Eb, diagram: e };
|
|
23041
23056
|
}, "loader"), HB = {
|
|
23042
23057
|
id: Eb,
|
|
23043
23058
|
detector: WB,
|
|
23044
23059
|
loader: qB
|
|
23045
23060
|
}, UB = HB, Lb = "classDiagram", YB = /* @__PURE__ */ m((e, t) => /^\s*classDiagram/.test(e) && t?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"), GB = /* @__PURE__ */ m(async () => {
|
|
23046
|
-
const { diagram: e } = await import("./classDiagram-v2-RKCZMP56-
|
|
23061
|
+
const { diagram: e } = await import("./classDiagram-v2-RKCZMP56-Ba853BBe.js");
|
|
23047
23062
|
return { id: Lb, diagram: e };
|
|
23048
23063
|
}, "loader"), VB = {
|
|
23049
23064
|
id: Lb,
|
|
23050
23065
|
detector: YB,
|
|
23051
23066
|
loader: GB
|
|
23052
23067
|
}, XB = VB, Ab = "state", KB = /* @__PURE__ */ m((e, t) => t?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e), "detector"), ZB = /* @__PURE__ */ m(async () => {
|
|
23053
|
-
const { diagram: e } = await import("./stateDiagram-KXAO66HF-
|
|
23068
|
+
const { diagram: e } = await import("./stateDiagram-KXAO66HF-DfyviXZF.js");
|
|
23054
23069
|
return { id: Ab, diagram: e };
|
|
23055
23070
|
}, "loader"), QB = {
|
|
23056
23071
|
id: Ab,
|
|
23057
23072
|
detector: KB,
|
|
23058
23073
|
loader: ZB
|
|
23059
23074
|
}, JB = QB, $b = "stateDiagram", tO = /* @__PURE__ */ m((e, t) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && t?.state?.defaultRenderer === "dagre-wrapper"), "detector"), eO = /* @__PURE__ */ m(async () => {
|
|
23060
|
-
const { diagram: e } = await import("./stateDiagram-v2-UMBNRL4Z-
|
|
23075
|
+
const { diagram: e } = await import("./stateDiagram-v2-UMBNRL4Z-BZhRijj7.js");
|
|
23061
23076
|
return { id: $b, diagram: e };
|
|
23062
23077
|
}, "loader"), rO = {
|
|
23063
23078
|
id: $b,
|
|
23064
23079
|
detector: tO,
|
|
23065
23080
|
loader: eO
|
|
23066
23081
|
}, iO = rO, Mb = "journey", nO = /* @__PURE__ */ m((e) => /^\s*journey/.test(e), "detector"), aO = /* @__PURE__ */ m(async () => {
|
|
23067
|
-
const { diagram: e } = await import("./journeyDiagram-BIP6EPQ6-
|
|
23082
|
+
const { diagram: e } = await import("./journeyDiagram-BIP6EPQ6-DnGpqdTC.js");
|
|
23068
23083
|
return { id: Mb, diagram: e };
|
|
23069
23084
|
}, "loader"), sO = {
|
|
23070
23085
|
id: Mb,
|
|
@@ -23105,70 +23120,70 @@ var gb = "c4", KM = /* @__PURE__ */ m((e) => /^\s*C4Context|C4Container|C4Compon
|
|
|
23105
23120
|
/^\s*flowchart-elk/.test(e) || // If a flowchart/graph diagram has their default renderer set to elk
|
|
23106
23121
|
/^\s*(flowchart|graph)/.test(e) && t?.flowchart?.defaultRenderer === "elk" ? (t.layout = "elk", !0) : !1
|
|
23107
23122
|
), "detector"), dO = /* @__PURE__ */ m(async () => {
|
|
23108
|
-
const { diagram: e } = await import("./flowDiagram-PVAE7QVJ-
|
|
23123
|
+
const { diagram: e } = await import("./flowDiagram-PVAE7QVJ-B2DEkemN.js");
|
|
23109
23124
|
return { id: Ob, diagram: e };
|
|
23110
23125
|
}, "loader"), pO = {
|
|
23111
23126
|
id: Ob,
|
|
23112
23127
|
detector: fO,
|
|
23113
23128
|
loader: dO
|
|
23114
23129
|
}, gO = pO, Db = "timeline", mO = /* @__PURE__ */ m((e) => /^\s*timeline/.test(e), "detector"), yO = /* @__PURE__ */ m(async () => {
|
|
23115
|
-
const { diagram: e } = await import("./timeline-definition-XQNQX7LJ-
|
|
23130
|
+
const { diagram: e } = await import("./timeline-definition-XQNQX7LJ-CGF8Ag8o.js");
|
|
23116
23131
|
return { id: Db, diagram: e };
|
|
23117
23132
|
}, "loader"), bO = {
|
|
23118
23133
|
id: Db,
|
|
23119
23134
|
detector: mO,
|
|
23120
23135
|
loader: yO
|
|
23121
23136
|
}, xO = bO, Rb = "mindmap", vO = /* @__PURE__ */ m((e) => /^\s*mindmap/.test(e), "detector"), wO = /* @__PURE__ */ m(async () => {
|
|
23122
|
-
const { diagram: e } = await import("./mindmap-definition-Q6HEUPPD-
|
|
23137
|
+
const { diagram: e } = await import("./mindmap-definition-Q6HEUPPD-CDxIe2oN.js");
|
|
23123
23138
|
return { id: Rb, diagram: e };
|
|
23124
23139
|
}, "loader"), CO = {
|
|
23125
23140
|
id: Rb,
|
|
23126
23141
|
detector: vO,
|
|
23127
23142
|
loader: wO
|
|
23128
23143
|
}, _O = CO, Fb = "kanban", SO = /* @__PURE__ */ m((e) => /^\s*kanban/.test(e), "detector"), kO = /* @__PURE__ */ m(async () => {
|
|
23129
|
-
const { diagram: e } = await import("./kanban-definition-6OIFK2YF-
|
|
23144
|
+
const { diagram: e } = await import("./kanban-definition-6OIFK2YF-OVCmqlgw.js");
|
|
23130
23145
|
return { id: Fb, diagram: e };
|
|
23131
23146
|
}, "loader"), TO = {
|
|
23132
23147
|
id: Fb,
|
|
23133
23148
|
detector: SO,
|
|
23134
23149
|
loader: kO
|
|
23135
23150
|
}, EO = TO, Ib = "sankey", LO = /* @__PURE__ */ m((e) => /^\s*sankey(-beta)?/.test(e), "detector"), AO = /* @__PURE__ */ m(async () => {
|
|
23136
|
-
const { diagram: e } = await import("./sankeyDiagram-GR3RE2ED-
|
|
23151
|
+
const { diagram: e } = await import("./sankeyDiagram-GR3RE2ED-BMK9TwGu.js");
|
|
23137
23152
|
return { id: Ib, diagram: e };
|
|
23138
23153
|
}, "loader"), $O = {
|
|
23139
23154
|
id: Ib,
|
|
23140
23155
|
detector: LO,
|
|
23141
23156
|
loader: AO
|
|
23142
23157
|
}, MO = $O, Nb = "packet", BO = /* @__PURE__ */ m((e) => /^\s*packet(-beta)?/.test(e), "detector"), OO = /* @__PURE__ */ m(async () => {
|
|
23143
|
-
const { diagram: e } = await import("./diagram-S2PKOQOG-
|
|
23158
|
+
const { diagram: e } = await import("./diagram-S2PKOQOG-D7HFlgJB.js");
|
|
23144
23159
|
return { id: Nb, diagram: e };
|
|
23145
23160
|
}, "loader"), DO = {
|
|
23146
23161
|
id: Nb,
|
|
23147
23162
|
detector: BO,
|
|
23148
23163
|
loader: OO
|
|
23149
23164
|
}, Pb = "radar", RO = /* @__PURE__ */ m((e) => /^\s*radar-beta/.test(e), "detector"), FO = /* @__PURE__ */ m(async () => {
|
|
23150
|
-
const { diagram: e } = await import("./diagram-QEK2KX5R-
|
|
23165
|
+
const { diagram: e } = await import("./diagram-QEK2KX5R-B58ktsHs.js");
|
|
23151
23166
|
return { id: Pb, diagram: e };
|
|
23152
23167
|
}, "loader"), IO = {
|
|
23153
23168
|
id: Pb,
|
|
23154
23169
|
detector: RO,
|
|
23155
23170
|
loader: FO
|
|
23156
23171
|
}, jb = "block", NO = /* @__PURE__ */ m((e) => /^\s*block(-beta)?/.test(e), "detector"), PO = /* @__PURE__ */ m(async () => {
|
|
23157
|
-
const { diagram: e } = await import("./blockDiagram-QIGZ2CNN-
|
|
23172
|
+
const { diagram: e } = await import("./blockDiagram-QIGZ2CNN-D7sd_IBH.js");
|
|
23158
23173
|
return { id: jb, diagram: e };
|
|
23159
23174
|
}, "loader"), jO = {
|
|
23160
23175
|
id: jb,
|
|
23161
23176
|
detector: NO,
|
|
23162
23177
|
loader: PO
|
|
23163
23178
|
}, zO = jO, zb = "architecture", WO = /* @__PURE__ */ m((e) => /^\s*architecture/.test(e), "detector"), qO = /* @__PURE__ */ m(async () => {
|
|
23164
|
-
const { diagram: e } = await import("./architectureDiagram-W76B3OCA-
|
|
23179
|
+
const { diagram: e } = await import("./architectureDiagram-W76B3OCA-D7urAQm9.js");
|
|
23165
23180
|
return { id: zb, diagram: e };
|
|
23166
23181
|
}, "loader"), HO = {
|
|
23167
23182
|
id: zb,
|
|
23168
23183
|
detector: WO,
|
|
23169
23184
|
loader: qO
|
|
23170
23185
|
}, UO = HO, Wb = "treemap", YO = /* @__PURE__ */ m((e) => /^\s*treemap/.test(e), "detector"), GO = /* @__PURE__ */ m(async () => {
|
|
23171
|
-
const { diagram: e } = await import("./diagram-N5W7TBWH-
|
|
23186
|
+
const { diagram: e } = await import("./diagram-N5W7TBWH-Dyi68lAS.js");
|
|
23172
23187
|
return { id: Wb, diagram: e };
|
|
23173
23188
|
}, "loader"), VO = {
|
|
23174
23189
|
id: Wb,
|
|
@@ -23668,7 +23683,7 @@ const RD = {
|
|
|
23668
23683
|
};
|
|
23669
23684
|
rx.initialize({ startOnLoad: !0, securityLevel: "loose" });
|
|
23670
23685
|
const pR = ({ data: e }) => {
|
|
23671
|
-
const [t, r] =
|
|
23686
|
+
const [t, r] = st(""), i = It(`mermaid-chart-${DD()}`), n = Dt((o) => {
|
|
23672
23687
|
if (o?.obj?.k?.trim()) return o.obj.k;
|
|
23673
23688
|
if (Array.isArray(o.children))
|
|
23674
23689
|
for (const s of o.children) {
|
|
@@ -23738,7 +23753,7 @@ export {
|
|
|
23738
23753
|
BL as Z,
|
|
23739
23754
|
m as _,
|
|
23740
23755
|
nC as a,
|
|
23741
|
-
|
|
23756
|
+
lt as a$,
|
|
23742
23757
|
$k as a0,
|
|
23743
23758
|
gf as a1,
|
|
23744
23759
|
pf as a2,
|
|
@@ -23799,7 +23814,7 @@ export {
|
|
|
23799
23814
|
cR as au,
|
|
23800
23815
|
uR as av,
|
|
23801
23816
|
oR as aw,
|
|
23802
|
-
|
|
23817
|
+
ot as ax,
|
|
23803
23818
|
lR as ay,
|
|
23804
23819
|
Q$ as az,
|
|
23805
23820
|
iC as b,
|