@aiquants/markdown 12.2.3 → 12.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 +113 -16
- package/dist/{abnfDiagram-VRR7QNED-DQ52KUbH.js → abnfDiagram-VRR7QNED-B_QmXzWv.js} +3 -3
- package/dist/{abnfDiagram-VRR7QNED-1fn6qV_P.cjs → abnfDiagram-VRR7QNED-Crz-ChMJ.cjs} +1 -1
- package/dist/{arc-D9kg3f8-.js → arc-BKGy6Me1.js} +32 -32
- package/dist/{arc-D8xGHwLe.cjs → arc-CYJCyviq.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-Cc9gQRX2.js → architectureDiagram-ZJ3FMSHR-CEb923Bc.js} +123 -123
- package/dist/{architectureDiagram-ZJ3FMSHR-C4QxQA-o.cjs → architectureDiagram-ZJ3FMSHR-gTB8pttO.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-DIpIE77y.js → blockDiagram-677ZJIJ3-CmKMdhaS.js} +166 -166
- package/dist/{blockDiagram-677ZJIJ3-BCgCtZXM.cjs → blockDiagram-677ZJIJ3-D7RRzjUx.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-jgR25uUP.js → c4Diagram-LMCZKHZV-CG6fvZQo.js} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-q0iHoZqg.cjs → c4Diagram-LMCZKHZV-W7Qa-ecL.cjs} +1 -1
- package/dist/{channel-DuWQwUVP.cjs → channel-BKoPLS2j.cjs} +1 -1
- package/dist/{channel-Bw3o-12p.js → channel-TsF8sms_.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-0amJDSXB.js → chunk-2Q5K7J3B-CopwR1m3.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-gCP3NILS.cjs → chunk-2Q5K7J3B-DgtYKcDs.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-BMqTi8UH.js → chunk-32BRIVSS-BnNlhc1M.js} +1 -1
- package/dist/{chunk-32BRIVSS-PidRQo43.cjs → chunk-32BRIVSS-D-6GBFtx.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-EGE3VaH8.js → chunk-5VM5RSS4-O28FGAOF.js} +1 -1
- package/dist/{chunk-5VM5RSS4-C0OtlojA.cjs → chunk-5VM5RSS4-lKwSmIqG.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-wasnZ2h7.js → chunk-EX3LRPZG-C36gZH3_.js} +26 -26
- package/dist/{chunk-EX3LRPZG-4qSuVZkz.cjs → chunk-EX3LRPZG-CtFe4olX.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-CHK_g5p5.cjs → chunk-JWPE2WC7-5sd39cpa.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-O891tu2Q.js → chunk-JWPE2WC7-DG0ebjV4.js} +1 -1
- package/dist/{chunk-MOJQB5TN-BSfpWEVd.cjs → chunk-MOJQB5TN-DADVbG98.cjs} +1 -1
- package/dist/{chunk-MOJQB5TN-BzuZr6pz.js → chunk-MOJQB5TN-nqR_swpx.js} +15 -15
- package/dist/{chunk-PUDLZKDR-DNbm7Xzd.cjs → chunk-PUDLZKDR-BUSFO-Gx.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-BRL3efwE.js → chunk-PUDLZKDR-CD96jce3.js} +13 -13
- package/dist/{chunk-RYQCIY6F-B_33Thwg.cjs → chunk-RYQCIY6F-BBTBydZd.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-DwmsCCiA.js → chunk-RYQCIY6F-DJkrr1sD.js} +5 -5
- package/dist/{chunk-V7JOEXUC-BowEdIo-.cjs → chunk-V7JOEXUC-BzCaDGop.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-D0oynREN.js → chunk-V7JOEXUC-eBy2sAXD.js} +15 -15
- package/dist/{chunk-VR4S4FIN-Dg_3SNs1.js → chunk-VR4S4FIN-C-qPzUSR.js} +3 -3
- package/dist/{chunk-VR4S4FIN-Ca3mlCgX.cjs → chunk-VR4S4FIN-CHKLwvYh.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-Byo5u3b_.js → chunk-XXDRQBXY-BK6HOWf6.js} +1 -1
- package/dist/{chunk-XXDRQBXY-CeZMmeIi.cjs → chunk-XXDRQBXY-DttkP7wv.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-DPzttpgE.cjs → classDiagram-OUVF2IWQ-BKruajP_.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-CVu4_B8x.js → classDiagram-OUVF2IWQ-CPDmG5kI.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-DPzttpgE.cjs → classDiagram-v2-EOCWNBFH-BKruajP_.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-CVu4_B8x.js → classDiagram-v2-EOCWNBFH-CPDmG5kI.js} +2 -2
- package/dist/components/CopyButton.d.ts +9 -0
- package/dist/components/HostedScrollArea.d.ts +2 -1
- package/dist/components/MarkdownRenderer.d.ts +7 -2
- package/dist/components/MarkdownViewer.d.ts +5 -3
- package/dist/components/SpreadsheetBlock.d.ts +3 -2
- package/dist/components/codeBlockLabels.d.ts +9 -0
- package/dist/components/cssLength.d.ts +1 -0
- package/dist/components/displayMathLabels.d.ts +11 -0
- package/dist/components/mathRendering.d.ts +3 -1
- package/dist/components/mdastNodes/CodeNode.d.ts +3 -1
- package/dist/components/mdastNodes/MathNode.d.ts +6 -5
- package/dist/components/ownPixels.d.ts +3 -0
- package/dist/components/toolbarOverlap.d.ts +4 -1
- package/dist/components/viewerLabels.d.ts +11 -1
- package/dist/components/viewerToolbarStyles.d.ts +2 -0
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-BmM-AQ-j.js → cose-bilkent-JH36ORCC-BxO1rjEU.js} +24 -24
- package/dist/{cose-bilkent-JH36ORCC-C3UAMvQQ.cjs → cose-bilkent-JH36ORCC-Cjfa6NyL.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-DStGofoE.cjs → cynefinDiagram-TSTJHNR4-B3boTACW.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-iS4n-7T_.js → cynefinDiagram-TSTJHNR4-DBD-B_Un.js} +60 -60
- package/dist/{dagre-VKFMJZFB-C1Y6S6Dm.js → dagre-VKFMJZFB-B8vZCPJg.js} +17 -17
- package/dist/{dagre-VKFMJZFB-BXsQ5-Ek.cjs → dagre-VKFMJZFB-DF3Mvuas.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-CRXs7mU1.cjs → diagram-FQU43EPY-DwhEcKWF.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-CFG9AlAq.js → diagram-FQU43EPY-YrRTNuX-.js} +36 -36
- package/dist/{diagram-G47NLZAW-BaX-jrfs.cjs → diagram-G47NLZAW-CKIEbGLS.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-Bqr76Qn5.js → diagram-G47NLZAW-D4vmirJw.js} +51 -51
- package/dist/{diagram-NH7WQ7WH-Cczq2y99.cjs → diagram-NH7WQ7WH-D6wMwkLQ.cjs} +1 -1
- package/dist/{diagram-NH7WQ7WH-BDWfQ8xs.js → diagram-NH7WQ7WH-Drekwiur.js} +10 -10
- package/dist/{diagram-OA4YK3LP-DuW90Uhk.js → diagram-OA4YK3LP-DZsM4Fpo.js} +21 -21
- package/dist/{diagram-OA4YK3LP-uBVV8yBB.cjs → diagram-OA4YK3LP-DeJ7pMIO.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-Cd3qe8Wi.js → diagram-WEI45ONY-CjRbsbkF.js} +32 -32
- package/dist/{diagram-WEI45ONY-C_L-4kui.cjs → diagram-WEI45ONY-SYHw7k8b.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-Cg7DTSlM.cjs → ebnfDiagram-CCIWWBDH-23bjk9FU.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-CMmTdVTT.js → ebnfDiagram-CCIWWBDH-D0kt5Zdu.js} +3 -3
- package/dist/{erDiagram-Q63AITRT-tOZoI25O.js → erDiagram-Q63AITRT-Ce4GpK2Z.js} +7 -7
- package/dist/{erDiagram-Q63AITRT-ONnVKrzr.cjs → erDiagram-Q63AITRT-DqFANbZx.cjs} +1 -1
- package/dist/{extractHeadings-3qWVTkb9.js → extractHeadings-DlQcPv5N.js} +8033 -7962
- package/dist/extractHeadings-wWAipplS.cjs +315 -0
- package/dist/flowDiagram-23GEKE2U-CRC9U6qD.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-CRo7TM3K.js +7 -0
- package/dist/{ganttDiagram-NO4QXBWP-CHP_muri.cjs → ganttDiagram-NO4QXBWP-CR55KG5d.cjs} +1 -1
- package/dist/{ganttDiagram-NO4QXBWP-C23vm5cK.js → ganttDiagram-NO4QXBWP-DjpANtqX.js} +2 -2
- package/dist/{gitGraphDiagram-IHSO6WYX-DOH3WBNZ.cjs → gitGraphDiagram-IHSO6WYX-BWYUn1Bi.cjs} +1 -1
- package/dist/{gitGraphDiagram-IHSO6WYX-BXWses91.js → gitGraphDiagram-IHSO6WYX-DzhnsGXo.js} +24 -24
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.d.ts +3 -1
- package/dist/index.client.js +50 -48
- package/dist/index.js +50 -48
- package/dist/{infoDiagram-FWYZ7A6U-Bj2fnr5Y.cjs → infoDiagram-FWYZ7A6U-CsUGc58_.cjs} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-C4NsbHAN.js → infoDiagram-FWYZ7A6U-hraoyboI.js} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-Cjqwv-T2.cjs → ishikawaDiagram-FXEZZL3T-D5b25aDN.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-B2bMsFnl.js → ishikawaDiagram-FXEZZL3T-cBJei3wJ.js} +32 -32
- package/dist/{journeyDiagram-5HDEW3XC-DfRiiYRf.cjs → journeyDiagram-5HDEW3XC-DrNyUSsx.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-DO1Xx-OE.js → journeyDiagram-5HDEW3XC-IkQqMl8f.js} +28 -28
- package/dist/{kanban-definition-HUTT4EX6-Cu_E-BJj.cjs → kanban-definition-HUTT4EX6-CvBgN3eX.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-RfpoaM17.js → kanban-definition-HUTT4EX6-D2UL88Cz.js} +46 -46
- package/dist/{linear-BbWOUIQi.js → linear-BiJV9gYf.js} +10 -10
- package/dist/{linear-Cz3x9Lkl.cjs → linear-DwqXGYLc.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-CB606E3L.cjs → mindmap-definition-LN4V7U3C-CBrUse7P.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-B5LpvJ9m.js → mindmap-definition-LN4V7U3C-CK67hf6V.js} +11 -11
- package/dist/{pegDiagram-2B236MQR-BCqBc3Re.cjs → pegDiagram-2B236MQR-C5pLIpKI.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-DaosueJV.js → pegDiagram-2B236MQR-CwWX4Irn.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-BUY2Dvjo.cjs → pieDiagram-ENE6RG2P-BKvggS7k.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-wfsOfWyT.js → pieDiagram-ENE6RG2P-MO42pSl8.js} +68 -68
- package/dist/{quadrantDiagram-ABIIQ3AL-BSvHqsTp.cjs → quadrantDiagram-ABIIQ3AL-BHhoAvLS.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-Bgc3vspL.js → quadrantDiagram-ABIIQ3AL-CzHgLdS3.js} +7 -7
- package/dist/{railroadDiagram-RFXS5EU6-Du2CFU9M.js → railroadDiagram-RFXS5EU6-Bu_Fhi5x.js} +3 -3
- package/dist/{railroadDiagram-RFXS5EU6-DdF2c_n3.cjs → railroadDiagram-RFXS5EU6-CwGmOFD_.cjs} +1 -1
- package/dist/{requirementDiagram-TGXJPOKE-WM3sItRw.cjs → requirementDiagram-TGXJPOKE-BhdvQnjG.cjs} +1 -1
- package/dist/{requirementDiagram-TGXJPOKE-CnafqSUP.js → requirementDiagram-TGXJPOKE-CY-JYM-P.js} +18 -18
- package/dist/{sankeyDiagram-HTMAVEWB-D4Qv4d98.js → sankeyDiagram-HTMAVEWB-BmHtjxlW.js} +10 -10
- package/dist/{sankeyDiagram-HTMAVEWB-DaZN3ZDb.cjs → sankeyDiagram-HTMAVEWB-CUeYKZeQ.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-CmP6XGGE.js → sequenceDiagram-DBY2YBRQ-Cn2CC9BC.js} +47 -47
- package/dist/{sequenceDiagram-DBY2YBRQ-C6fa7Axs.cjs → sequenceDiagram-DBY2YBRQ-GepntdDB.cjs} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-mWZkTwA5.js → sizeCapture-X5ZJPWSS-CZF99dy_.js} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-B6sRQba9.cjs → sizeCapture-X5ZJPWSS-Cd-k8xwk.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-ClDZKhLD.js → stateDiagram-2N3HPSRC-CCbBvBua.js} +18 -18
- package/dist/{stateDiagram-2N3HPSRC-B__29zPZ.cjs → stateDiagram-2N3HPSRC-D2cvrAtN.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-BA-_ovVY.cjs → stateDiagram-v2-6OUMAXLB-BaktPIVY.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-K7slPgH_.js → stateDiagram-v2-6OUMAXLB-_A1QESxx.js} +2 -2
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/markdown.standalone.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-Cpowlk7O.js → swimlanes-5IMT3BWC-B-BDM_Ae.js} +3 -3
- package/dist/{swimlanes-5IMT3BWC-BhxZhB7M.cjs → swimlanes-5IMT3BWC-DtdLK5z3.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-36K4ynZn.js → swimlanesDiagram-G3AALYLV-BysT2rWl.js} +2 -2
- package/dist/{swimlanesDiagram-G3AALYLV-BZ0eguZa.cjs → swimlanesDiagram-G3AALYLV-DZuQxKuB.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-C2xHtlkw.js → timeline-definition-FHXFAJF6-DVzdzbl1.js} +58 -58
- package/dist/{timeline-definition-FHXFAJF6-BJN69nkZ.cjs → timeline-definition-FHXFAJF6-oFf_sUOI.cjs} +1 -1
- package/dist/utils/promiseTry.d.ts +1 -0
- package/dist/{vennDiagram-L72KCM5P-3R1vuMWd.cjs → vennDiagram-L72KCM5P-Ba2FGeN1.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-DbqRaWm5.js → vennDiagram-L72KCM5P-Bm1TGZux.js} +146 -146
- package/dist/{wardleyDiagram-EHGQE667-CF5I0pM9.js → wardleyDiagram-EHGQE667-BC_1RAbp.js} +32 -32
- package/dist/{wardleyDiagram-EHGQE667-CyU76ilz.cjs → wardleyDiagram-EHGQE667-CqB3gLCH.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-spkx-w6w.js → xychartDiagram-FW5EYKEG-ClITdEhV.js} +47 -47
- package/dist/{xychartDiagram-FW5EYKEG-DaKE_uIg.cjs → xychartDiagram-FW5EYKEG-a1vb5UxD.cjs} +1 -1
- package/package.json +10 -11
- package/dist/extractHeadings-DpvwXCio.cjs +0 -315
- package/dist/flowDiagram-23GEKE2U-DfDAl_qd.cjs +0 -1
- package/dist/flowDiagram-23GEKE2U-p6ccACf3.js +0 -7
package/dist/index.client.js
CHANGED
|
@@ -1,53 +1,55 @@
|
|
|
1
|
-
import { B as s, C as o, D as
|
|
2
|
-
import { S as
|
|
3
|
-
import { CONTENT_ALIGNS as
|
|
1
|
+
import { B as s, C as o, D as L, a as r, b as A, c as E, d as t, e as d, f as n, g as N, E as _, F as T, h as D, i as S, H as m, j as i, I as k, k as M, L as B, l as I, m as l, M as C, n as F, o as R, N as O, P as g, S as H, p as c, T as U, q as p, r as G, s as K, Z as P, t as f, u as h, v as x, w, x as W, y as b, z as u, A as Z, G as V, J as Y } from "./extractHeadings-DlQcPv5N.js";
|
|
2
|
+
import { S as z, a as j } from "./code-blocks-BWr5Xg1I.js";
|
|
3
|
+
import { CONTENT_ALIGNS as y, DEFAULT_CONTENT_ALIGN as J, DEFAULT_MARKDOWN_STYLE as Q, DEFAULT_MARKDOWN_STYLES as X, toContentAlign as $ } from "./viewer-settings.js";
|
|
4
4
|
export {
|
|
5
5
|
s as BlockquoteNode,
|
|
6
|
-
|
|
6
|
+
y as CONTENT_ALIGNS,
|
|
7
7
|
o as CodeNode,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
N as
|
|
19
|
-
_ as
|
|
20
|
-
T as
|
|
21
|
-
D as
|
|
22
|
-
S as
|
|
23
|
-
m as
|
|
24
|
-
i as
|
|
25
|
-
k as
|
|
26
|
-
M as
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
8
|
+
L as DEFAULT_CODE_BLOCK_LABELS,
|
|
9
|
+
J as DEFAULT_CONTENT_ALIGN,
|
|
10
|
+
r as DEFAULT_DISPLAY_MATH_LABELS,
|
|
11
|
+
A as DEFAULT_MARKDOWN_EMBED_LABELS,
|
|
12
|
+
Q as DEFAULT_MARKDOWN_STYLE,
|
|
13
|
+
X as DEFAULT_MARKDOWN_STYLES,
|
|
14
|
+
E as DEFAULT_MARKDOWN_VIEWER_LABELS,
|
|
15
|
+
t as DEFAULT_MERMAID_DIAGRAM_LABELS,
|
|
16
|
+
d as DEFAULT_MERMAID_INTERACTION,
|
|
17
|
+
n as DEFAULT_SVG_IMAGE_LABELS,
|
|
18
|
+
N as DeleteNode,
|
|
19
|
+
_ as EmphasisNode,
|
|
20
|
+
T as FootnoteBackLinkNode,
|
|
21
|
+
D as FootnoteReferenceNode,
|
|
22
|
+
S as FootnotesSection,
|
|
23
|
+
m as HeadingNode,
|
|
24
|
+
i as HostedScrollArea,
|
|
25
|
+
k as ImageNode,
|
|
26
|
+
M as InlineCodeNode,
|
|
27
|
+
B as LinkNode,
|
|
28
|
+
I as ListItemNode,
|
|
29
|
+
l as ListNode,
|
|
30
|
+
C as MarkdownRenderer,
|
|
31
|
+
F as MarkdownViewer,
|
|
30
32
|
R as MermaidDiagram,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
33
|
+
O as NodesRenderer,
|
|
34
|
+
g as ParagraphNode,
|
|
35
|
+
z as SPREADSHEET_BLOCK_LABEL_CATALOGS,
|
|
36
|
+
j as SPREADSHEET_BLOCK_LABEL_PLACEHOLDERS,
|
|
37
|
+
H as SpreadsheetBlock,
|
|
38
|
+
c as StrongNode,
|
|
39
|
+
U as TableNode,
|
|
40
|
+
p as TableOfContents,
|
|
41
|
+
G as TextNode,
|
|
42
|
+
K as ThematicBreakNode,
|
|
43
|
+
P as ZennDetailsNode,
|
|
44
|
+
f as ZennMessageNode,
|
|
45
|
+
h as extractHeadings,
|
|
46
|
+
x as remarkCustomHeadingId,
|
|
47
|
+
w as remarkFootnoteBackLink,
|
|
48
|
+
W as remarkHtmlAnchorToLink,
|
|
49
|
+
b as remarkHtmlInHtml,
|
|
50
|
+
u as remarkImageSize,
|
|
51
|
+
Z as remarkParentNode,
|
|
52
|
+
V as remarkZennMessage,
|
|
53
|
+
$ as toContentAlign,
|
|
54
|
+
Y as useMarkdownToolbarState
|
|
53
55
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,53 +1,55 @@
|
|
|
1
|
-
import { B as s, C as o, D as
|
|
2
|
-
import { S as
|
|
3
|
-
import { CONTENT_ALIGNS as
|
|
1
|
+
import { B as s, C as o, D as L, a as r, b as A, c as E, d as t, e as d, f as n, g as N, E as _, F as T, h as D, i as S, H as m, j as i, I as k, k as M, L as B, l as I, m as l, M as C, n as F, o as R, N as O, P as g, S as H, p as c, T as U, q as p, r as G, s as K, Z as P, t as f, u as h, v as x, w, x as W, y as b, z as u, A as Z, G as V, J as Y } from "./extractHeadings-DlQcPv5N.js";
|
|
2
|
+
import { S as z, a as j } from "./code-blocks-BWr5Xg1I.js";
|
|
3
|
+
import { CONTENT_ALIGNS as y, DEFAULT_CONTENT_ALIGN as J, DEFAULT_MARKDOWN_STYLE as Q, DEFAULT_MARKDOWN_STYLES as X, toContentAlign as $ } from "./viewer-settings.js";
|
|
4
4
|
export {
|
|
5
5
|
s as BlockquoteNode,
|
|
6
|
-
|
|
6
|
+
y as CONTENT_ALIGNS,
|
|
7
7
|
o as CodeNode,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
N as
|
|
19
|
-
_ as
|
|
20
|
-
T as
|
|
21
|
-
D as
|
|
22
|
-
S as
|
|
23
|
-
m as
|
|
24
|
-
i as
|
|
25
|
-
k as
|
|
26
|
-
M as
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
8
|
+
L as DEFAULT_CODE_BLOCK_LABELS,
|
|
9
|
+
J as DEFAULT_CONTENT_ALIGN,
|
|
10
|
+
r as DEFAULT_DISPLAY_MATH_LABELS,
|
|
11
|
+
A as DEFAULT_MARKDOWN_EMBED_LABELS,
|
|
12
|
+
Q as DEFAULT_MARKDOWN_STYLE,
|
|
13
|
+
X as DEFAULT_MARKDOWN_STYLES,
|
|
14
|
+
E as DEFAULT_MARKDOWN_VIEWER_LABELS,
|
|
15
|
+
t as DEFAULT_MERMAID_DIAGRAM_LABELS,
|
|
16
|
+
d as DEFAULT_MERMAID_INTERACTION,
|
|
17
|
+
n as DEFAULT_SVG_IMAGE_LABELS,
|
|
18
|
+
N as DeleteNode,
|
|
19
|
+
_ as EmphasisNode,
|
|
20
|
+
T as FootnoteBackLinkNode,
|
|
21
|
+
D as FootnoteReferenceNode,
|
|
22
|
+
S as FootnotesSection,
|
|
23
|
+
m as HeadingNode,
|
|
24
|
+
i as HostedScrollArea,
|
|
25
|
+
k as ImageNode,
|
|
26
|
+
M as InlineCodeNode,
|
|
27
|
+
B as LinkNode,
|
|
28
|
+
I as ListItemNode,
|
|
29
|
+
l as ListNode,
|
|
30
|
+
C as MarkdownRenderer,
|
|
31
|
+
F as MarkdownViewer,
|
|
30
32
|
R as MermaidDiagram,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
33
|
+
O as NodesRenderer,
|
|
34
|
+
g as ParagraphNode,
|
|
35
|
+
z as SPREADSHEET_BLOCK_LABEL_CATALOGS,
|
|
36
|
+
j as SPREADSHEET_BLOCK_LABEL_PLACEHOLDERS,
|
|
37
|
+
H as SpreadsheetBlock,
|
|
38
|
+
c as StrongNode,
|
|
39
|
+
U as TableNode,
|
|
40
|
+
p as TableOfContents,
|
|
41
|
+
G as TextNode,
|
|
42
|
+
K as ThematicBreakNode,
|
|
43
|
+
P as ZennDetailsNode,
|
|
44
|
+
f as ZennMessageNode,
|
|
45
|
+
h as extractHeadings,
|
|
46
|
+
x as remarkCustomHeadingId,
|
|
47
|
+
w as remarkFootnoteBackLink,
|
|
48
|
+
W as remarkHtmlAnchorToLink,
|
|
49
|
+
b as remarkHtmlInHtml,
|
|
50
|
+
u as remarkImageSize,
|
|
51
|
+
Z as remarkParentNode,
|
|
52
|
+
V as remarkZennMessage,
|
|
53
|
+
$ as toContentAlign,
|
|
54
|
+
Y as useMarkdownToolbarState
|
|
53
55
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-wWAipplS.cjs"),s=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var i={parse:e.__name(async r=>{const a=await s.parse("info",r);e.log.debug(a)},"parse")},o={version:"11.16.0"},g=e.__name(()=>o.version,"getVersion"),d={getVersion:g},v=e.__name((r,a,n)=>{e.log.debug(`rendering info diagram
|
|
2
2
|
`+r);const t=e.selectSvgElement(a);e.configureSvgSize(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)},"draw"),c={draw:v},p={parser:i,db:d,renderer:c};exports.diagram=p;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e,
|
|
1
|
+
import { _ as e, W as s, ap as o, X as i } from "./extractHeadings-DlQcPv5N.js";
|
|
2
2
|
import { p as g } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
3
3
|
var p = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
package/dist/{ishikawaDiagram-FXEZZL3T-Cjqwv-T2.cjs → ishikawaDiagram-FXEZZL3T-D5b25aDN.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-wWAipplS.cjs");var J=(function(){var i=e.__name(function(T,t,s,n){for(s=s||{},n=T.length;n--;s[T[n]]=t);return s},"o"),h=[1,4],l=[1,14],r=[1,12],o=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],g=[1,6,13,14],_=[1,23],w=[1,24],x=[1,6,7,11,13,14],D={trace:e.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e.__name(function(t,s,n,c,p,a,v){var k=a.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(a[k-1].length,a[k].trim());break;case 16:c.addNode(0,a[k].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:l,7:[1,10],9:9,12:11,13:r,14:o},i(y,[2,3]),{1:[2,2]},i(y,[2,4]),i(y,[2,5]),{1:[2,6],6:l,12:15,13:r,14:o},{6:l,9:16,12:11,13:r,14:o},{6:f,7:d,10:17,11:m},i(u,[2,18],{14:[1,21]}),i(u,[2,16]),i(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:l,12:15,13:r,14:o},i(g,[2,14],{7:_,11:w}),i(x,[2,8]),i(x,[2,9]),i(x,[2,10]),i(u,[2,15]),i(g,[2,13],{7:_,11:w}),i(x,[2,11]),i(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e.__name(function(t,s){if(s.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=s,n}},"parseError"),parse:e.__name(function(t){var s=this,n=[0],c=[],p=[null],a=[],v=this.table,k="",I=0,$=0,L=2,A=1,C=a.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;a.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){n.length=n.length-2*B,p.length=p.length-B,a.length=a.length-B}e.__name(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}e.__name(tt,"lex");for(var M,W,N,q,j={},U,V,et,Z;;){if(W=n[n.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var K="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?K="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":K="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(K,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:n.push(M),p.push(b.yytext),a.push(b.yylloc),n.push(N[1]),M=null,$=b.yyleng,k=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],j.$=p[p.length-V],j._$={first_line:a[a.length-(V||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(V||1)].first_column,last_column:a[a.length-1].last_column},G&&(j._$.range=[a[a.length-(V||1)].range[0],a[a.length-1].range[1]]),q=this.performAction.apply(j,[k,$,I,S.yy,N[1],p,a].concat(C)),typeof q<"u")return q;V&&(n=n.slice(0,-1*V*2),p=p.slice(0,-1*V),a=a.slice(0,-1*V)),n.push(this.productions_[N[1]][0]),p.push(j.$),a.push(j._$),et=v[n[n.length-2]][n[n.length-1]],n.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:e.__name(function(s,n){if(this.yy.parser)this.yy.parser.parseError(s,n);else throw new Error(s)},"parseError"),setInput:e.__name(function(t,s){return this.yy=s||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:e.__name(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:e.__name(function(t){var s=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===c.length?this.yylloc.first_column:0)+c[c.length-n.length].length-n[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:e.__name(function(){return this._more=!0,this},"more"),reject:e.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:e.__name(function(t){this.unput(this.match.slice(t))},"less"),pastInput:e.__name(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e.__name(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e.__name(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o,
|
|
1
|
+
import { _ as o, U as ot, at as ut, ap as dt, b2 as yt, ag as ft, a3 as pt, aa as it, Q as gt, R as kt, O as mt, K as wt, ab as _t, X as bt } from "./extractHeadings-DlQcPv5N.js";
|
|
2
2
|
var J = (function() {
|
|
3
3
|
var e = /* @__PURE__ */ o(function(T, t, s, i) {
|
|
4
4
|
for (s = s || {}, i = T.length; i--; s[T[i]] = t) ;
|
|
@@ -35,37 +35,37 @@ var J = (function() {
|
|
|
35
35
|
}
|
|
36
36
|
}, "parseError"),
|
|
37
37
|
parse: /* @__PURE__ */ o(function(t) {
|
|
38
|
-
var s = this, i = [0], c = [], p = [null], n = [], v = this.table, w = "", I = 0, $ = 0, L = 2, A = 1,
|
|
38
|
+
var s = this, i = [0], c = [], p = [null], n = [], v = this.table, w = "", I = 0, $ = 0, L = 2, A = 1, C = n.slice.call(arguments, 1), b = Object.create(this.lexer), S = { yy: {} };
|
|
39
39
|
for (var P in this.yy)
|
|
40
40
|
Object.prototype.hasOwnProperty.call(this.yy, P) && (S.yy[P] = this.yy[P]);
|
|
41
41
|
b.setInput(t, S.yy), S.yy.lexer = b, S.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
|
|
42
42
|
var R = b.yylloc;
|
|
43
43
|
n.push(R);
|
|
44
|
-
var
|
|
44
|
+
var U = b.options && b.options.ranges;
|
|
45
45
|
typeof S.yy.parseError == "function" ? this.parseError = S.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
46
|
-
function
|
|
46
|
+
function K(B) {
|
|
47
47
|
i.length = i.length - 2 * B, p.length = p.length - B, n.length = n.length - B;
|
|
48
48
|
}
|
|
49
|
-
o(
|
|
49
|
+
o(K, "popStack");
|
|
50
50
|
function tt() {
|
|
51
51
|
var B;
|
|
52
52
|
return B = c.pop() || b.lex() || A, typeof B != "number" && (B instanceof Array && (c = B, B = c.pop()), B = s.symbols_[B] || B), B;
|
|
53
53
|
}
|
|
54
54
|
o(tt, "lex");
|
|
55
|
-
for (var M, W, N, Y, F = {},
|
|
55
|
+
for (var M, W, N, Y, F = {}, G, V, et, X; ; ) {
|
|
56
56
|
if (W = i[i.length - 1], this.defaultActions[W] ? N = this.defaultActions[W] : ((M === null || typeof M > "u") && (M = tt()), N = v[W] && v[W][M]), typeof N > "u" || !N.length || !N[0]) {
|
|
57
57
|
var Q = "";
|
|
58
|
-
|
|
59
|
-
for (
|
|
60
|
-
this.terminals_[
|
|
58
|
+
X = [];
|
|
59
|
+
for (G in v[W])
|
|
60
|
+
this.terminals_[G] && G > L && X.push("'" + this.terminals_[G] + "'");
|
|
61
61
|
b.showPosition ? Q = "Parse error on line " + (I + 1) + `:
|
|
62
62
|
` + b.showPosition() + `
|
|
63
|
-
Expecting ` +
|
|
63
|
+
Expecting ` + X.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "Parse error on line " + (I + 1) + ": Unexpected " + (M == A ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(Q, {
|
|
64
64
|
text: b.match,
|
|
65
65
|
token: this.terminals_[M] || M,
|
|
66
66
|
line: b.yylineno,
|
|
67
67
|
loc: R,
|
|
68
|
-
expected:
|
|
68
|
+
expected: X
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
if (N[0] instanceof Array && N.length > 1)
|
|
@@ -75,13 +75,13 @@ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "
|
|
|
75
75
|
i.push(M), p.push(b.yytext), n.push(b.yylloc), i.push(N[1]), M = null, $ = b.yyleng, w = b.yytext, I = b.yylineno, R = b.yylloc;
|
|
76
76
|
break;
|
|
77
77
|
case 2:
|
|
78
|
-
if (
|
|
79
|
-
first_line: n[n.length - (
|
|
78
|
+
if (V = this.productions_[N[1]][1], F.$ = p[p.length - V], F._$ = {
|
|
79
|
+
first_line: n[n.length - (V || 1)].first_line,
|
|
80
80
|
last_line: n[n.length - 1].last_line,
|
|
81
|
-
first_column: n[n.length - (
|
|
81
|
+
first_column: n[n.length - (V || 1)].first_column,
|
|
82
82
|
last_column: n[n.length - 1].last_column
|
|
83
|
-
},
|
|
84
|
-
n[n.length - (
|
|
83
|
+
}, U && (F._$.range = [
|
|
84
|
+
n[n.length - (V || 1)].range[0],
|
|
85
85
|
n[n.length - 1].range[1]
|
|
86
86
|
]), Y = this.performAction.apply(F, [
|
|
87
87
|
w,
|
|
@@ -91,9 +91,9 @@ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "
|
|
|
91
91
|
N[1],
|
|
92
92
|
p,
|
|
93
93
|
n
|
|
94
|
-
].concat(
|
|
94
|
+
].concat(C)), typeof Y < "u")
|
|
95
95
|
return Y;
|
|
96
|
-
|
|
96
|
+
V && (i = i.slice(0, -1 * V * 2), p = p.slice(0, -1 * V), n = n.slice(0, -1 * V)), i.push(this.productions_[N[1]][0]), p.push(F.$), n.push(F._$), et = v[i[i.length - 2]][i[i.length - 1]], i.push(et);
|
|
97
97
|
break;
|
|
98
98
|
case 3:
|
|
99
99
|
return !0;
|
|
@@ -371,17 +371,17 @@ var xt = J, H, vt = (H = class {
|
|
|
371
371
|
const S = j * 2, P = j * 0.3;
|
|
372
372
|
L = Math.max(P, S * (w.total / $)), A = Math.max(P, S * (I.total / $));
|
|
373
373
|
}
|
|
374
|
-
const
|
|
375
|
-
L = Math.max(L, w.max *
|
|
374
|
+
const C = k * 2;
|
|
375
|
+
L = Math.max(L, w.max * C), A = Math.max(A, I.max * C), c = Math.max(L, j), p && p.attr("y1", c).attr("y2", c), E.select(".ishikawa-head-group").attr("transform", `translate(0,${c})`);
|
|
376
376
|
const b = Math.ceil(_.length / 2);
|
|
377
377
|
for (let S = 0; S < b; S++) {
|
|
378
378
|
const P = E.append("g").attr("class", "ishikawa-pair");
|
|
379
|
-
for (const [R,
|
|
379
|
+
for (const [R, U, K] of [
|
|
380
380
|
[_[S * 2], -1, L],
|
|
381
381
|
[_[S * 2 + 1], 1, A]
|
|
382
382
|
])
|
|
383
|
-
R && Pt(P, R, i, c,
|
|
384
|
-
i = P.selectAll("text").nodes().reduce((R,
|
|
383
|
+
R && Pt(P, R, i, c, U, K, k, t);
|
|
384
|
+
i = P.selectAll("text").nodes().reduce((R, U) => Math.min(R, U.getBBox().x), 1 / 0);
|
|
385
385
|
}
|
|
386
386
|
if (g)
|
|
387
387
|
z(E, i, c, 0, c, "ishikawa-spine", t);
|
|
@@ -401,7 +401,7 @@ var xt = J, H, vt = (H = class {
|
|
|
401
401
|
{ total: 0, max: 0 }
|
|
402
402
|
);
|
|
403
403
|
}, "sideStats"), Lt = /* @__PURE__ */ o((e, h, r, a, l, y) => {
|
|
404
|
-
const f = Math.max(6, Math.floor(110 / (l * 0.6))), d = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${h},${r})`), m =
|
|
404
|
+
const f = Math.max(6, Math.floor(110 / (l * 0.6))), d = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${h},${r})`), m = Z(
|
|
405
405
|
d,
|
|
406
406
|
ct(a, f),
|
|
407
407
|
0,
|
|
@@ -440,7 +440,7 @@ var xt = J, H, vt = (H = class {
|
|
|
440
440
|
}, "walk");
|
|
441
441
|
return l(e, -1, 2), { entries: r, yOrder: a };
|
|
442
442
|
}, "flattenTree"), Mt = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
|
|
443
|
-
const d = e.append("g").attr("class", "ishikawa-label-group"), u =
|
|
443
|
+
const d = e.append("g").attr("class", "ishikawa-label-group"), u = Z(
|
|
444
444
|
d,
|
|
445
445
|
h,
|
|
446
446
|
r,
|
|
@@ -503,11 +503,11 @@ var xt = J, H, vt = (H = class {
|
|
|
503
503
|
const v = T[p], w = t.get(n.parentIndex), I = e.append("g").attr("class", "ishikawa-sub-group");
|
|
504
504
|
let $ = 0, L = 0, A = 0;
|
|
505
505
|
if (n.depth % 2 === 0) {
|
|
506
|
-
const
|
|
507
|
-
$ = lt(w.x0, w.x1,
|
|
506
|
+
const C = w.y1 - w.y0;
|
|
507
|
+
$ = lt(w.x0, w.x1, C ? (v - w.y0) / C : 0.5), L = v, A = $ - (n.childCount > 0 ? Et + n.childCount * At : $t), z(I, $, v, A, v, "ishikawa-sub-branch", d), d && q(I, $, v, 1, 0, d), Z(I, n.text, A, v, "ishikawa-label align", "end", f);
|
|
508
508
|
} else {
|
|
509
|
-
const
|
|
510
|
-
$ = lt(w.x0, w.x1, (w.childCount -
|
|
509
|
+
const C = w.childrenDrawn++;
|
|
510
|
+
$ = lt(w.x0, w.x1, (w.childCount - C) / (w.childCount + 1)), L = w.y0, A = $ + s * ((v - L) / i), z(I, $, L, A, v, "ishikawa-sub-branch", d), d && q(I, $, L, $ - A, L - v, d), Z(I, n.text, A, v, c, "end", f);
|
|
511
511
|
}
|
|
512
512
|
n.childCount > 0 && t.set(p, {
|
|
513
513
|
x0: $,
|
|
@@ -528,7 +528,7 @@ var xt = J, H, vt = (H = class {
|
|
|
528
528
|
}
|
|
529
529
|
return r.join(`
|
|
530
530
|
`);
|
|
531
|
-
}, "wrapText"),
|
|
531
|
+
}, "wrapText"), Z = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
|
|
532
532
|
const d = Bt(h), m = f * 1.05, u = e.append("text").attr("class", l).attr("text-anchor", y).attr("x", r).attr("y", a - (d.length - 1) * m / 2);
|
|
533
533
|
for (const [k, g] of d.entries())
|
|
534
534
|
u.append("tspan").attr("x", r).attr("dy", k === 0 ? 0 : m).text(g);
|
|
@@ -608,7 +608,7 @@ var xt = J, H, vt = (H = class {
|
|
|
608
608
|
.ishikawa .ishikawa-label.down {
|
|
609
609
|
dominant-baseline: hanging;
|
|
610
610
|
}
|
|
611
|
-
`, "getStyles"), Ot = Dt,
|
|
611
|
+
`, "getStyles"), Ot = Dt, Vt = {
|
|
612
612
|
parser: xt,
|
|
613
613
|
get db() {
|
|
614
614
|
return new vt();
|
|
@@ -617,5 +617,5 @@ var xt = J, H, vt = (H = class {
|
|
|
617
617
|
styles: Ot
|
|
618
618
|
};
|
|
619
619
|
export {
|
|
620
|
-
|
|
620
|
+
Vt as diagram
|
|
621
621
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./chunk-5VM5RSS4-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./chunk-5VM5RSS4-lKwSmIqG.cjs"),j=require("./chunk-32BRIVSS-D-6GBFtx.cjs"),n=require("./extractHeadings-wWAipplS.cjs"),et=require("./arc-CYJCyviq.cjs");var G=(function(){var t=n.__name(function(h,r,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],_={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:n.__name(function(r,a,l,y,d,c,v){var x=c.length-1;switch(d){case 1:return c[x-1];case 2:this.$=[];break;case 3:c[x-1].push(c[x]),this.$=c[x-1];break;case 4:case 5:this.$=c[x];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[x].substr(6)),this.$=c[x].substr(6);break;case 9:this.$=c[x].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[x].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[x].substr(8)),this.$=c[x].substr(8);break;case 13:y.addTask(c[x-1],c[x]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:n.__name(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:n.__name(function(r){var a=this,l=[0],y=[],d=[null],c=[],v=this.table,x="",E=0,K=0,ht=2,Q=1,ut=c.slice.call(arguments,1),k=Object.create(this.lexer),A={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(A.yy[q]=this.yy[q]);k.setInput(r,A.yy),A.yy.lexer=k,A.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var O=k.yylloc;c.push(O);var yt=k.options&&k.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}n.__name(dt,"popStack");function D(){var w;return w=y.pop()||k.lex()||Q,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=a.symbols_[w]||w),w}n.__name(D,"lex");for(var b,I,T,Y,R={},N,M,tt,z;;){if(I=l[l.length-1],this.defaultActions[I]?T=this.defaultActions[I]:((b===null||typeof b>"u")&&(b=D()),T=v[I]&&v[I][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[I])this.terminals_[N]&&N>ht&&z.push("'"+this.terminals_[N]+"'");k.showPosition?H="Parse error on line "+(E+1)+`:
|
|
2
2
|
`+k.showPosition()+`
|
|
3
3
|
Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(E+1)+": Unexpected "+(b==Q?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:k.match,token:this.terminals_[b]||b,line:k.yylineno,loc:O,expected:z})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(k.yytext),c.push(k.yylloc),l.push(T[1]),b=null,K=k.yyleng,x=k.yytext,E=k.yylineno,O=k.yylloc;break;case 2:if(M=this.productions_[T[1]][1],R.$=d[d.length-M],R._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},yt&&(R._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),Y=this.performAction.apply(R,[x,K,E,A.yy,T[1],d,c].concat(ut)),typeof Y<"u")return Y;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(R.$),c.push(R._$),tt=v[l[l.length-2]][l[l.length-1]],l.push(tt);break;case 3:return!0}}return!0},"parse")},g=(function(){var h={EOF:1,parseError:n.__name(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:n.__name(function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n.__name(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n.__name(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n.__name(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -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-O28FGAOF.js";
|
|
2
|
+
import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-BnNlhc1M.js";
|
|
3
|
+
import { O as _t, K as vt, Q as bt, R as wt, ab as Tt, aa as St, _ as s, U as R, V as H, X as $t, ag as Mt } from "./extractHeadings-DlQcPv5N.js";
|
|
4
|
+
import { d as it } from "./arc-BKGy6Me1.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, J = 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 = {});
|
|
@@ -80,13 +80,13 @@ var U = (function() {
|
|
|
80
80
|
s(tt, "lex");
|
|
81
81
|
for (var b, A, T, q, F = {}, N, M, et, z; ; ) {
|
|
82
82
|
if (A = l[l.length - 1], this.defaultActions[A] ? T = this.defaultActions[A] : ((b === null || typeof b > "u") && (b = tt()), T = v[A] && v[A][b]), typeof T > "u" || !T.length || !T[0]) {
|
|
83
|
-
var
|
|
83
|
+
var X = "";
|
|
84
84
|
z = [];
|
|
85
85
|
for (N in v[A])
|
|
86
86
|
this.terminals_[N] && N > yt && z.push("'" + this.terminals_[N] + "'");
|
|
87
|
-
_.showPosition ?
|
|
87
|
+
_.showPosition ? X = "Parse error on line " + (C + 1) + `:
|
|
88
88
|
` + _.showPosition() + `
|
|
89
|
-
Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" :
|
|
89
|
+
Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "Parse error on line " + (C + 1) + ": Unexpected " + (b == D ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(X, {
|
|
90
90
|
text: _.match,
|
|
91
91
|
token: this.terminals_[b] || b,
|
|
92
92
|
line: _.yylineno,
|
|
@@ -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, J = _.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
|
+
J,
|
|
115
115
|
C,
|
|
116
116
|
I.yy,
|
|
117
117
|
T[1],
|
|
@@ -355,12 +355,12 @@ 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, V = "",
|
|
359
|
-
|
|
358
|
+
var Et = U, V = "", Q = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
359
|
+
Q.length = 0, L.length = 0, V = "", B.length = 0, Mt();
|
|
360
360
|
}, "clear"), Pt = /* @__PURE__ */ s(function(t) {
|
|
361
|
-
V = t,
|
|
361
|
+
V = t, Q.push(t);
|
|
362
362
|
}, "addSection"), It = /* @__PURE__ */ s(function() {
|
|
363
|
-
return
|
|
363
|
+
return Q;
|
|
364
364
|
}, "getSections"), At = /* @__PURE__ */ s(function() {
|
|
365
365
|
let t = rt();
|
|
366
366
|
const e = 100;
|
|
@@ -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,
|
|
@@ -597,15 +597,15 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
597
597
|
a,
|
|
598
598
|
e.colour
|
|
599
599
|
);
|
|
600
|
-
}, "drawSection"),
|
|
600
|
+
}, "drawSection"), K = -1, Ot = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
601
601
|
const i = e.x + a.width / 2, u = t.append("g");
|
|
602
|
-
|
|
602
|
+
K++, u.append("line").attr("id", f + "-task" + K).attr("x1", i).attr("y1", e.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Nt(u, {
|
|
603
603
|
cx: i,
|
|
604
604
|
cy: 300 + (5 - e.score) * 30,
|
|
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 = {
|
|
@@ -658,9 +658,9 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
658
658
|
return i.textPlacement === "fo" ? a : i.textPlacement === "old" ? t : e;
|
|
659
659
|
};
|
|
660
660
|
})(), qt = /* @__PURE__ */ s(function(t, e) {
|
|
661
|
-
|
|
661
|
+
K = -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,
|
|
@@ -668,7 +668,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
668
668
|
drawTask: Ot,
|
|
669
669
|
drawBackgroundRect: Yt,
|
|
670
670
|
initGraphics: qt
|
|
671
|
-
},
|
|
671
|
+
}, Xt = /* @__PURE__ */ s(function(t) {
|
|
672
672
|
Object.keys(t).forEach(function(a) {
|
|
673
673
|
$[a] = t[a];
|
|
674
674
|
});
|
|
@@ -739,7 +739,7 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
|
739
739
|
color: $.actorColours[y % $.actorColours.length],
|
|
740
740
|
position: y
|
|
741
741
|
}, y++;
|
|
742
|
-
}), ut(h), P = $.leftMargin + W, S.insert(0, 0, P, Object.keys(E).length * 50),
|
|
742
|
+
}), ut(h), P = $.leftMargin + W, S.insert(0, 0, P, Object.keys(E).length * 50), Gt(h, r, 0, e);
|
|
743
743
|
const d = S.getBounds();
|
|
744
744
|
n && h.append("text").text(n).attr("x", P).attr("font-size", p).attr("font-weight", "bold").attr("y", 25).attr("fill", u).attr("font-family", o);
|
|
745
745
|
const c = d.stopy - d.starty + 2 * $.diagramMarginY, v = P + d.stopx + 2 * $.diagramMarginX;
|
|
@@ -791,14 +791,14 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
|
791
791
|
getBounds: /* @__PURE__ */ s(function() {
|
|
792
792
|
return this.data;
|
|
793
793
|
}, "getBounds")
|
|
794
|
-
},
|
|
794
|
+
}, G = $.sectionFills, st = $.sectionColours, Gt = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
795
795
|
const i = R().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;
|
|
799
799
|
for (const [r, n] of e.entries()) {
|
|
800
800
|
if (u !== n.section) {
|
|
801
|
-
m =
|
|
801
|
+
m = G[g % G.length], h = g % G.length, x = st[g % st.length];
|
|
802
802
|
let y = 0;
|
|
803
803
|
const d = n.section;
|
|
804
804
|
for (let v = r; v < e.length && e[v].section == d; v++)
|
|
@@ -818,9 +818,9 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
|
818
818
|
n.x = r * i.taskMargin + r * i.width + P, n.y = o, n.width = i.diagramMarginX, n.height = i.diagramMarginY, n.colour = x, n.fill = m, n.num = h, n.actors = l, j.drawTask(t, n, i, f), S.insert(n.x, n.y, n.x + n.width + i.taskMargin, 450);
|
|
819
819
|
}
|
|
820
820
|
}, "drawTasks"), at = {
|
|
821
|
-
setConf:
|
|
821
|
+
setConf: Xt,
|
|
822
822
|
draw: Ht
|
|
823
|
-
},
|
|
823
|
+
}, Jt = {
|
|
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
|
+
Jt as diagram
|
|
834
834
|
};
|