@aiquants/markdown 6.1.0 → 6.3.0
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/README.md +75 -2
- package/dist/{abnfDiagram-VRR7QNED-DRNsVB-u.cjs → abnfDiagram-VRR7QNED-BGUmgNQ4.cjs} +1 -1
- package/dist/{abnfDiagram-VRR7QNED-0ow9i3L-.js → abnfDiagram-VRR7QNED-D3L_2hCD.js} +3 -3
- package/dist/{arc-BWR9_qMf.cjs → arc-B48_ucR0.cjs} +1 -1
- package/dist/arc-ChEpDr_9.js +83 -0
- package/dist/{architectureDiagram-ZJ3FMSHR-DtrqDlxV.cjs → architectureDiagram-ZJ3FMSHR-Bg0dBVnf.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-CsFXQcxx.js → architectureDiagram-ZJ3FMSHR-D4ta1ajC.js} +2 -2
- package/dist/{blockDiagram-677ZJIJ3-CqQ43viF.js → blockDiagram-677ZJIJ3-CupyE7nK.js} +3 -3
- package/dist/{blockDiagram-677ZJIJ3-CoZEeE0C.cjs → blockDiagram-677ZJIJ3-DkWMy8pP.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-QPgNg4El.js → c4Diagram-LMCZKHZV-Cy1lIde9.js} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-DGA2gxp-.cjs → c4Diagram-LMCZKHZV-DxOKAkJI.cjs} +1 -1
- package/dist/{channel-PnA15jK3.js → channel-C9c0_XwC.js} +1 -1
- package/dist/{channel-Jkgg7NV4.cjs → channel-TOZvPft0.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-1iQ5h7FK.cjs → chunk-2Q5K7J3B-DaGwwho3.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-DOWfHP5s.js → chunk-2Q5K7J3B-DahzXbiI.js} +1 -1
- package/dist/{chunk-32BRIVSS-XUAL4SUU.cjs → chunk-32BRIVSS-BddWRgx3.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-94iTIA-u.js → chunk-32BRIVSS-DFLtYkrI.js} +1 -1
- package/dist/{chunk-5VM5RSS4-CKgpuXOS.cjs → chunk-5VM5RSS4-DSg2-2mp.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-OANQKmQE.js → chunk-5VM5RSS4-DiwEVqol.js} +1 -1
- package/dist/{chunk-EX3LRPZG-BQDQ1MdS.js → chunk-EX3LRPZG-Ca4uquaA.js} +37 -37
- package/dist/{chunk-EX3LRPZG-BrRRbskW.cjs → chunk-EX3LRPZG-OD-kvRfM.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-Bz9dXsLZ.cjs → chunk-JWPE2WC7-BGdnK7yg.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-Djg6Qi23.js → chunk-JWPE2WC7-njgGfGvE.js} +1 -1
- package/dist/{chunk-MOJQB5TN-1pZNp2Wl.js → chunk-MOJQB5TN-B-H_fDpi.js} +11 -11
- package/dist/{chunk-MOJQB5TN-DUk2Jy4_.cjs → chunk-MOJQB5TN-DPs_chEk.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-G5JYyEiR.js → chunk-PUDLZKDR-9xQzJ025.js} +11 -11
- package/dist/{chunk-PUDLZKDR-CVedetzB.cjs → chunk-PUDLZKDR-DZphdeDg.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-D0y50t5B.cjs → chunk-RYQCIY6F-8Qpsw4iJ.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-Crmt36sO.js → chunk-RYQCIY6F-BNzT71C4.js} +10 -10
- package/dist/{chunk-V7JOEXUC-DXSQM1ea.cjs → chunk-V7JOEXUC-BPE4_Rfd.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-BNo-X7NC.js → chunk-V7JOEXUC-DG6RRlOY.js} +10 -10
- package/dist/{chunk-VR4S4FIN-Bc567umS.cjs → chunk-VR4S4FIN-C-Pbv_Mm.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-BGGITgpQ.js → chunk-VR4S4FIN-CLtgFgby.js} +1 -1
- package/dist/{chunk-XXDRQBXY-DOuLpiJ4.cjs → chunk-XXDRQBXY-B0bOz96Q.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-Drnpl-KK.js → chunk-XXDRQBXY-DEXdwwNg.js} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-Cneye7qT.js → classDiagram-OUVF2IWQ-B9uAd2dg.js} +2 -2
- package/dist/{classDiagram-OUVF2IWQ-mmjBEYmN.cjs → classDiagram-OUVF2IWQ-DMqQXVMf.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-Cneye7qT.js → classDiagram-v2-EOCWNBFH-B9uAd2dg.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-mmjBEYmN.cjs → classDiagram-v2-EOCWNBFH-DMqQXVMf.cjs} +1 -1
- package/dist/components/HostedScrollArea.d.ts +15 -0
- package/dist/components/MarkdownViewer.d.ts +3 -1
- package/dist/components/MermaidDiagram.d.ts +1 -0
- package/dist/components/mdastNodes/CodeNode.d.ts +2 -1
- package/dist/components/mermaidInteraction.d.ts +1 -0
- package/dist/{cose-bilkent-JH36ORCC-BQWfGE1G.js → cose-bilkent-JH36ORCC-DVB8IdFe.js} +5 -5
- package/dist/{cose-bilkent-JH36ORCC-BaEdcRlX.cjs → cose-bilkent-JH36ORCC-DxpO_Qhk.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-CTDDSUz7.js → cynefinDiagram-TSTJHNR4-C-iEKX8r.js} +28 -28
- package/dist/{cynefinDiagram-TSTJHNR4-DPQl09kC.cjs → cynefinDiagram-TSTJHNR4-Dvc8nHOe.cjs} +1 -1
- package/dist/{dagre-VKFMJZFB-BMRdJgZy.js → dagre-VKFMJZFB-CI1hyGqk.js} +9 -9
- package/dist/{dagre-VKFMJZFB-DZ4E-Szs.cjs → dagre-VKFMJZFB-DqU8jG6A.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-mK9YHIy1.cjs → diagram-FQU43EPY-DQHw46B-.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-CmEpNw5i.js → diagram-FQU43EPY-iMIQEr1Q.js} +25 -25
- package/dist/{diagram-G47NLZAW-BX8Lj_uD.cjs → diagram-G47NLZAW-Dxkn-83c.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-eJRQFjAg.js → diagram-G47NLZAW-L7A0K5es.js} +25 -25
- package/dist/{diagram-NH7WQ7WH-BOOj_4-N.js → diagram-NH7WQ7WH-8BnG6h8J.js} +19 -19
- package/dist/{diagram-NH7WQ7WH-3r1_3TrC.cjs → diagram-NH7WQ7WH-CBMFD5SB.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-DnDIHtcW.js → diagram-OA4YK3LP-C24uGaef.js} +13 -13
- package/dist/{diagram-OA4YK3LP-CkDJzLOy.cjs → diagram-OA4YK3LP-DrD1SsZM.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-BpCCo_Ty.cjs → diagram-WEI45ONY-BYN2qTiw.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-BHpuPTt-.js → diagram-WEI45ONY-kBWsy9sQ.js} +35 -35
- package/dist/{ebnfDiagram-CCIWWBDH-CfdalXdM.cjs → ebnfDiagram-CCIWWBDH-C7whdHrV.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-BDLB-AVF.js → ebnfDiagram-CCIWWBDH-DRfaz75o.js} +3 -3
- package/dist/embeds/testing.cjs +1 -1
- package/dist/embeds/testing.js +1 -1
- package/dist/embeds.cjs +1 -1
- package/dist/embeds.js +1 -1
- package/dist/{erDiagram-Q63AITRT-CviOyQsx.cjs → erDiagram-Q63AITRT-Cbh7ns6U.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-DZlcgZfp.js → erDiagram-Q63AITRT-CvcOag5w.js} +4 -4
- package/dist/extractHeadings-By3kC3b_.cjs +311 -0
- package/dist/{extractHeadings-CtiYkq2z.js → extractHeadings-Dz8gnhsx.js} +5108 -5006
- package/dist/flowDiagram-23GEKE2U-C5ygxVuP.js +7 -0
- package/dist/flowDiagram-23GEKE2U-DSpM0zzA.cjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-DO0HAbYg.js → ganttDiagram-NO4QXBWP-Ccrw6Vga.js} +2 -2
- package/dist/{ganttDiagram-NO4QXBWP-CJa-hKPU.cjs → ganttDiagram-NO4QXBWP-YWoWQpTa.cjs} +1 -1
- package/dist/gen/markdown/v1/markdown_pb.d.ts +1 -0
- package/dist/{gitGraphDiagram-IHSO6WYX-CXStgPQs.js → gitGraphDiagram-IHSO6WYX-C-mHT-ew.js} +3 -3
- package/dist/{gitGraphDiagram-IHSO6WYX-CXcPHbkt.cjs → gitGraphDiagram-IHSO6WYX-nKm0aLrL.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.d.ts +1 -0
- package/dist/index.client.js +33 -32
- package/dist/index.js +33 -32
- package/dist/index.server.cjs +1 -1
- package/dist/index.server.js +59 -38
- package/dist/{infoDiagram-FWYZ7A6U-BByoHihL.cjs → infoDiagram-FWYZ7A6U-B6uUqDCC.cjs} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-K0__ySEG.js → infoDiagram-FWYZ7A6U-HBcwdQ6Z.js} +3 -3
- package/dist/{ishikawaDiagram-FXEZZL3T-C8QlwQP1.js → ishikawaDiagram-FXEZZL3T-CcSYEsTJ.js} +18 -18
- package/dist/{ishikawaDiagram-FXEZZL3T-DZOMdeTI.cjs → ishikawaDiagram-FXEZZL3T-D9WZm1OZ.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-RvC77rKo.cjs → journeyDiagram-5HDEW3XC-BC3ajweK.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-CZ9PFNNN.js → journeyDiagram-5HDEW3XC-PJm-8Gz8.js} +30 -30
- package/dist/{kanban-definition-HUTT4EX6-Q12F4vHx.js → kanban-definition-HUTT4EX6-42_dEzBV.js} +120 -120
- package/dist/{kanban-definition-HUTT4EX6-BL1jihGl.cjs → kanban-definition-HUTT4EX6-BR-C1joQ.cjs} +1 -1
- package/dist/{linear-LWjATjog.js → linear-B7J7VKh9.js} +8 -8
- package/dist/{linear-lDvPoqlB.cjs → linear-CoCezkp4.cjs} +1 -1
- package/dist/markdown.css +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-TVYKONRm.cjs → mindmap-definition-LN4V7U3C-BO555Yeu.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-CM1XvwJX.js → mindmap-definition-LN4V7U3C-e4fXdr28.js} +16 -16
- package/dist/{pegDiagram-2B236MQR-a9Up0ERY.cjs → pegDiagram-2B236MQR-CqN17IwE.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-Dlrnikqd.js → pegDiagram-2B236MQR-nN-jUv5o.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-ClakmSma.cjs → pieDiagram-ENE6RG2P-D_EIGKcE.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-WYrEJp8U.js → pieDiagram-ENE6RG2P-EvhF_8o2.js} +60 -60
- package/dist/providers-BO7J62-7.cjs +1 -0
- package/dist/{providers-Drq7MT_K.js → providers-L5RM3KgR.js} +23 -23
- package/dist/{quadrantDiagram-ABIIQ3AL-BkgMVDaX.js → quadrantDiagram-ABIIQ3AL-2gTiccyy.js} +18 -18
- package/dist/{quadrantDiagram-ABIIQ3AL-Cb01YcqR.cjs → quadrantDiagram-ABIIQ3AL-HNTFSQzi.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-Bob4WSMz.cjs → railroadDiagram-RFXS5EU6-CRuA7qqW.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-RfCtZGUR.js → railroadDiagram-RFXS5EU6-CYAI9-bK.js} +3 -3
- package/dist/remarkProcessor.server.d.ts +1 -0
- package/dist/{requirementDiagram-TGXJPOKE-C1yJPMp1.js → requirementDiagram-TGXJPOKE-BZc_cLKC.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-BP5h9mCj.cjs → requirementDiagram-TGXJPOKE-DesNyieJ.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-D5G9Dcmr.js → sankeyDiagram-HTMAVEWB-B1QsmzsN.js} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-shq9WK4t.cjs → sankeyDiagram-HTMAVEWB-wLwqusl2.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-BRxcK5-5.cjs → sequenceDiagram-DBY2YBRQ-D3ciEWOE.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-8EJMQxiB.js → sequenceDiagram-DBY2YBRQ-OTeHr40Q.js} +3 -3
- package/dist/{sizeCapture-X5ZJPWSS-DJG85IuR.js → sizeCapture-X5ZJPWSS-BhcQlLlw.js} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-BtBRJO2R.cjs → sizeCapture-X5ZJPWSS-LlzRMz8i.cjs} +1 -1
- package/dist/source-lines.cjs +1 -0
- package/dist/source-lines.d.ts +6 -0
- package/dist/source-lines.js +11 -0
- package/dist/{stateDiagram-2N3HPSRC-Czgkv_ey.cjs → stateDiagram-2N3HPSRC-D0q856z6.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-CAd-NU-f.js → stateDiagram-2N3HPSRC-DjLE1--n.js} +11 -11
- package/dist/{stateDiagram-v2-6OUMAXLB-BNP5Lx0Y.cjs → stateDiagram-v2-6OUMAXLB-DJHUGWBX.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-x_Zps-d5.js → stateDiagram-v2-6OUMAXLB-DKU0HsD1.js} +2 -2
- package/dist/styles/markdown.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-CfdkDd3q.cjs → swimlanes-5IMT3BWC-DC6qS8iI.cjs} +1 -1
- package/dist/{swimlanes-5IMT3BWC-D8brzzxb.js → swimlanes-5IMT3BWC-cxcj_GGS.js} +3 -3
- package/dist/{swimlanesDiagram-G3AALYLV-Bc9-lR2e.js → swimlanesDiagram-G3AALYLV-B95OToWo.js} +2 -2
- package/dist/{swimlanesDiagram-G3AALYLV-dvJpSdGV.cjs → swimlanesDiagram-G3AALYLV-Dv76fKaH.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-CKW3NJOF.js → timeline-definition-FHXFAJF6-P-5kO0xQ.js} +38 -38
- package/dist/{timeline-definition-FHXFAJF6-BSqACati.cjs → timeline-definition-FHXFAJF6-wD6O9DDR.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-ChKxsFyJ.cjs → vennDiagram-L72KCM5P-BXHvaRtm.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-vPmq984y.js → vennDiagram-L72KCM5P-BwinGtNb.js} +102 -102
- package/dist/{wardleyDiagram-EHGQE667-CxzlR7km.cjs → wardleyDiagram-EHGQE667-BDgwIQTf.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-CwN9zwBX.js → wardleyDiagram-EHGQE667-BeYbREE2.js} +18 -18
- package/dist/{xychartDiagram-FW5EYKEG-DBSKTLuc.js → xychartDiagram-FW5EYKEG-BXjx9Zgc.js} +27 -27
- package/dist/{xychartDiagram-FW5EYKEG-wJqYRInm.cjs → xychartDiagram-FW5EYKEG-DLCCDPGO.cjs} +1 -1
- package/package.json +14 -7
- package/dist/arc-Bh12k776.js +0 -83
- package/dist/extractHeadings-D1A8WzVy.cjs +0 -311
- package/dist/flowDiagram-23GEKE2U-C_FW0q38.js +0 -7
- package/dist/flowDiagram-23GEKE2U-Cb0U58EU.cjs +0 -1
- package/dist/providers-Bxr2Wb-j.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as gt } from "./chunk-5VM5RSS4-
|
|
2
|
-
import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-
|
|
3
|
-
import {
|
|
4
|
-
import { d as it } from "./arc-
|
|
1
|
+
import { g as gt } from "./chunk-5VM5RSS4-DiwEVqol.js";
|
|
2
|
+
import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-DFLtYkrI.js";
|
|
3
|
+
import { A as _t, z as vt, G as bt, J as wt, a7 as Tt, a6 as St, _ as s, K as V, O as H, R as $t, ac as Mt } from "./extractHeadings-Dz8gnhsx.js";
|
|
4
|
+
import { d as it } from "./arc-ChEpDr_9.js";
|
|
5
5
|
var U = (function() {
|
|
6
6
|
var t = /* @__PURE__ */ s(function(h, r, n, l) {
|
|
7
7
|
for (n = n || {}, l = h.length; l--; n[h[l]] = r) ;
|
|
@@ -61,7 +61,7 @@ var U = (function() {
|
|
|
61
61
|
}
|
|
62
62
|
}, "parseError"),
|
|
63
63
|
parse: /* @__PURE__ */ s(function(r) {
|
|
64
|
-
var n = this, l = [0], y = [], d = [null], c = [], v = this.table, k = "", C = 0,
|
|
64
|
+
var n = this, l = [0], y = [], d = [null], c = [], v = this.table, k = "", C = 0, Q = 0, yt = 2, D = 1, dt = c.slice.call(arguments, 1), _ = Object.create(this.lexer), I = { yy: {} };
|
|
65
65
|
for (var O in this.yy)
|
|
66
66
|
Object.prototype.hasOwnProperty.call(this.yy, O) && (I.yy[O] = this.yy[O]);
|
|
67
67
|
_.setInput(r, I.yy), I.yy.lexer = _, I.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
|
|
@@ -98,7 +98,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
|
|
|
98
98
|
throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + b);
|
|
99
99
|
switch (T[0]) {
|
|
100
100
|
case 1:
|
|
101
|
-
l.push(b), d.push(_.yytext), c.push(_.yylloc), l.push(T[1]), b = null,
|
|
101
|
+
l.push(b), d.push(_.yytext), c.push(_.yylloc), l.push(T[1]), b = null, Q = _.yyleng, k = _.yytext, C = _.yylineno, Y = _.yylloc;
|
|
102
102
|
break;
|
|
103
103
|
case 2:
|
|
104
104
|
if (M = this.productions_[T[1]][1], F.$ = d[d.length - M], F._$ = {
|
|
@@ -111,7 +111,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
|
|
|
111
111
|
c[c.length - 1].range[1]
|
|
112
112
|
]), q = this.performAction.apply(F, [
|
|
113
113
|
k,
|
|
114
|
-
|
|
114
|
+
Q,
|
|
115
115
|
C,
|
|
116
116
|
I.yy,
|
|
117
117
|
T[1],
|
|
@@ -355,10 +355,10 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
|
|
|
355
355
|
return s(x, "Parser"), x.prototype = g, g.Parser = x, new x();
|
|
356
356
|
})();
|
|
357
357
|
U.parser = U;
|
|
358
|
-
var Et = U,
|
|
359
|
-
K.length = 0, L.length = 0,
|
|
358
|
+
var Et = U, R = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
359
|
+
K.length = 0, L.length = 0, R = "", B.length = 0, Mt();
|
|
360
360
|
}, "clear"), Pt = /* @__PURE__ */ s(function(t) {
|
|
361
|
-
|
|
361
|
+
R = t, K.push(t);
|
|
362
362
|
}, "addSection"), It = /* @__PURE__ */ s(function() {
|
|
363
363
|
return K;
|
|
364
364
|
}, "getSections"), At = /* @__PURE__ */ s(function() {
|
|
@@ -373,22 +373,22 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
373
373
|
return L.forEach((a) => {
|
|
374
374
|
a.people && t.push(...a.people);
|
|
375
375
|
}), [...new Set(t)].sort();
|
|
376
|
-
}, "updateActors"),
|
|
376
|
+
}, "updateActors"), Rt = /* @__PURE__ */ s(function(t, e) {
|
|
377
377
|
const a = e.substr(1).split(":");
|
|
378
378
|
let f = 0, i = [];
|
|
379
379
|
a.length === 1 ? (f = Number(a[0]), i = []) : (f = Number(a[0]), i = a[1].split(","));
|
|
380
380
|
const u = i.map((o) => o.trim()), p = {
|
|
381
|
-
section:
|
|
382
|
-
type:
|
|
381
|
+
section: R,
|
|
382
|
+
type: R,
|
|
383
383
|
people: u,
|
|
384
384
|
task: t,
|
|
385
385
|
score: f
|
|
386
386
|
};
|
|
387
387
|
B.push(p);
|
|
388
|
-
}, "addTask"),
|
|
388
|
+
}, "addTask"), Vt = /* @__PURE__ */ s(function(t) {
|
|
389
389
|
const e = {
|
|
390
|
-
section:
|
|
391
|
-
type:
|
|
390
|
+
section: R,
|
|
391
|
+
type: R,
|
|
392
392
|
description: t,
|
|
393
393
|
task: t,
|
|
394
394
|
classes: []
|
|
@@ -405,7 +405,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
405
405
|
}, "compileTasks"), Lt = /* @__PURE__ */ s(function() {
|
|
406
406
|
return Ft();
|
|
407
407
|
}, "getActors"), nt = {
|
|
408
|
-
getConfig: /* @__PURE__ */ s(() =>
|
|
408
|
+
getConfig: /* @__PURE__ */ s(() => V().journey, "getConfig"),
|
|
409
409
|
clear: Ct,
|
|
410
410
|
setDiagramTitle: St,
|
|
411
411
|
getDiagramTitle: Tt,
|
|
@@ -416,8 +416,8 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
416
416
|
addSection: Pt,
|
|
417
417
|
getSections: It,
|
|
418
418
|
getTasks: At,
|
|
419
|
-
addTask:
|
|
420
|
-
addTaskOrg:
|
|
419
|
+
addTask: Rt,
|
|
420
|
+
addTaskOrg: Vt,
|
|
421
421
|
getActors: Lt
|
|
422
422
|
}, Bt = /* @__PURE__ */ s((t) => `.label {
|
|
423
423
|
font-family: ${t.fontFamily};
|
|
@@ -552,7 +552,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
552
552
|
${t.actor5 ? `fill: ${t.actor5}` : ""};
|
|
553
553
|
}
|
|
554
554
|
${gt()}
|
|
555
|
-
`, "getStyles"), jt = Bt,
|
|
555
|
+
`, "getStyles"), jt = Bt, Z = /* @__PURE__ */ s(function(t, e) {
|
|
556
556
|
return kt(t, e);
|
|
557
557
|
}, "drawRect"), Nt = /* @__PURE__ */ s(function(t, e) {
|
|
558
558
|
const f = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = t.append("g");
|
|
@@ -586,7 +586,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
586
586
|
}, "drawLabel"), Wt = /* @__PURE__ */ s(function(t, e, a) {
|
|
587
587
|
const f = t.append("g"), i = lt();
|
|
588
588
|
i.x = e.x, i.y = e.y, i.fill = e.fill, i.width = a.width * e.taskCount + // width of the tasks
|
|
589
|
-
a.diagramMarginX * (e.taskCount - 1), i.height = a.height, i.class = "journey-section section-type-" + e.num, i.rx = 3, i.ry = 3,
|
|
589
|
+
a.diagramMarginX * (e.taskCount - 1), i.height = a.height, i.class = "journey-section section-type-" + e.num, i.rx = 3, i.ry = 3, Z(f, i), ht(a)(
|
|
590
590
|
e.text,
|
|
591
591
|
f,
|
|
592
592
|
i.x,
|
|
@@ -605,7 +605,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
605
605
|
score: e.score
|
|
606
606
|
});
|
|
607
607
|
const o = lt();
|
|
608
|
-
o.x = e.x, o.y = e.y, o.fill = e.fill, o.width = a.width, o.height = a.height, o.class = "task task-type-" + e.num, o.rx = 3, o.ry = 3,
|
|
608
|
+
o.x = e.x, o.y = e.y, o.fill = e.fill, o.width = a.width, o.height = a.height, o.class = "task task-type-" + e.num, o.rx = 3, o.ry = 3, Z(u, o);
|
|
609
609
|
let g = e.x + 14;
|
|
610
610
|
e.people.forEach((m) => {
|
|
611
611
|
const x = e.actors[m].color, h = {
|
|
@@ -660,7 +660,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
660
660
|
})(), qt = /* @__PURE__ */ s(function(t, e) {
|
|
661
661
|
J = -1, t.append("defs").append("marker").attr("id", e + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
|
|
662
662
|
}, "initGraphics"), j = {
|
|
663
|
-
drawRect:
|
|
663
|
+
drawRect: Z,
|
|
664
664
|
drawCircle: ot,
|
|
665
665
|
drawSection: Wt,
|
|
666
666
|
drawText: ct,
|
|
@@ -674,7 +674,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
674
674
|
});
|
|
675
675
|
}, "setConf"), E = {}, W = 0;
|
|
676
676
|
function ut(t) {
|
|
677
|
-
const e =
|
|
677
|
+
const e = V().journey, a = e.maxLabelWidth;
|
|
678
678
|
W = 0;
|
|
679
679
|
let f = 60;
|
|
680
680
|
Object.keys(E).forEach((i) => {
|
|
@@ -722,8 +722,8 @@ function ut(t) {
|
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
724
|
s(ut, "drawActorLegend");
|
|
725
|
-
var $ =
|
|
726
|
-
const i =
|
|
725
|
+
var $ = V().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
726
|
+
const i = V(), u = i.journey.titleColor, p = i.journey.titleFontSize, o = i.journey.titleFontFamily, g = i.securityLevel;
|
|
727
727
|
let m;
|
|
728
728
|
g === "sandbox" && (m = H("#i" + e));
|
|
729
729
|
const x = g === "sandbox" ? H(m.nodes()[0].contentDocument.body) : H("body");
|
|
@@ -767,7 +767,7 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
|
767
767
|
t[e] === void 0 ? t[e] = a : t[e] = f(a, t[e]);
|
|
768
768
|
}, "updateVal"),
|
|
769
769
|
updateBounds: /* @__PURE__ */ s(function(t, e, a, f) {
|
|
770
|
-
const i =
|
|
770
|
+
const i = V().journey, u = this;
|
|
771
771
|
let p = 0;
|
|
772
772
|
function o(g) {
|
|
773
773
|
return /* @__PURE__ */ s(function(x) {
|
|
@@ -792,7 +792,7 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
|
792
792
|
return this.data;
|
|
793
793
|
}, "getBounds")
|
|
794
794
|
}, X = $.sectionFills, st = $.sectionColours, Xt = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
795
|
-
const i =
|
|
795
|
+
const i = V().journey;
|
|
796
796
|
let u = "";
|
|
797
797
|
const p = i.height * 2 + i.diagramMarginY, o = a + p;
|
|
798
798
|
let g = 0, m = "#CCC", x = "black", h = 0;
|
|
@@ -820,7 +820,7 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
|
820
820
|
}, "drawTasks"), at = {
|
|
821
821
|
setConf: Gt,
|
|
822
822
|
draw: Ht
|
|
823
|
-
},
|
|
823
|
+
}, Qt = {
|
|
824
824
|
parser: Et,
|
|
825
825
|
db: nt,
|
|
826
826
|
renderer: at,
|
|
@@ -830,5 +830,5 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
|
830
830
|
}, "init")
|
|
831
831
|
};
|
|
832
832
|
export {
|
|
833
|
-
|
|
833
|
+
Qt as diagram
|
|
834
834
|
};
|