@aiquants/markdown 12.3.0 → 13.1.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 +551 -76
- package/dist/{abnfDiagram-VRR7QNED-B_QmXzWv.js → abnfDiagram-VRR7QNED-B3Q9attM.js} +9 -9
- package/dist/abnfDiagram-VRR7QNED-QW4YM2AY.cjs +1 -0
- package/dist/arc-BBLXr5EU.js +83 -0
- package/dist/arc-Cn8XXgbN.cjs +1 -0
- package/dist/{architectureDiagram-ZJ3FMSHR-CEb923Bc.js → architectureDiagram-ZJ3FMSHR-BaSp0hC2.js} +123 -123
- package/dist/architectureDiagram-ZJ3FMSHR-BfmjNYww.cjs +36 -0
- package/dist/{blockDiagram-677ZJIJ3-CmKMdhaS.js → blockDiagram-677ZJIJ3-DFcPQ19k.js} +166 -166
- package/dist/{blockDiagram-677ZJIJ3-D7RRzjUx.cjs → blockDiagram-677ZJIJ3-u7d3VCxA.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-CG6fvZQo.js → c4Diagram-LMCZKHZV-DW0yo5tR.js} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-W7Qa-ecL.cjs → c4Diagram-LMCZKHZV-nScsMUE3.cjs} +1 -1
- package/dist/{channel-TsF8sms_.js → channel-B2FBCr9X.js} +1 -1
- package/dist/channel-DlkTPSf_.cjs +1 -0
- package/dist/{chunk-2Q5K7J3B-CopwR1m3.js → chunk-2Q5K7J3B-BkE4Fsuz.js} +1 -1
- package/dist/chunk-2Q5K7J3B-evSha-HP.cjs +1 -0
- package/dist/{chunk-32BRIVSS-BnNlhc1M.js → chunk-32BRIVSS-CqpDiZD2.js} +1 -1
- package/dist/chunk-32BRIVSS-rIw6tBRO.cjs +1 -0
- package/dist/{chunk-5VM5RSS4-lKwSmIqG.cjs → chunk-5VM5RSS4-CYVpj2mc.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-O28FGAOF.js → chunk-5VM5RSS4-DAgNhPcU.js} +1 -1
- package/dist/{chunk-EX3LRPZG-CtFe4olX.cjs → chunk-EX3LRPZG-Ct2cyGh-.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-C36gZH3_.js → chunk-EX3LRPZG-QFjD28UF.js} +21 -21
- package/dist/{chunk-JWPE2WC7-DG0ebjV4.js → chunk-JWPE2WC7-Bj2m1SXZ.js} +1 -1
- package/dist/chunk-JWPE2WC7-Dgw1ILoe.cjs +1 -0
- package/dist/{chunk-MOJQB5TN-nqR_swpx.js → chunk-MOJQB5TN-B1fdnpCz.js} +122 -122
- package/dist/{chunk-MOJQB5TN-DADVbG98.cjs → chunk-MOJQB5TN-yjlPYCh4.cjs} +3 -3
- package/dist/{chunk-PUDLZKDR-BUSFO-Gx.cjs → chunk-PUDLZKDR-BlQ3qKcC.cjs} +4 -4
- package/dist/{chunk-PUDLZKDR-CD96jce3.js → chunk-PUDLZKDR-CIcw3cpm.js} +21 -21
- package/dist/chunk-RYQCIY6F-B-V6UOJy.cjs +1 -0
- package/dist/{chunk-RYQCIY6F-DJkrr1sD.js → chunk-RYQCIY6F-DyVk8fNp.js} +5 -5
- package/dist/{chunk-V7JOEXUC-BzCaDGop.cjs → chunk-V7JOEXUC-B1EgagKh.cjs} +3 -3
- package/dist/{chunk-V7JOEXUC-eBy2sAXD.js → chunk-V7JOEXUC-C776k7_V.js} +15 -15
- package/dist/{chunk-VR4S4FIN-C-qPzUSR.js → chunk-VR4S4FIN-CyqARa17.js} +5 -5
- package/dist/chunk-VR4S4FIN-Sx71KwIQ.cjs +1 -0
- package/dist/{chunk-XXDRQBXY-BK6HOWf6.js → chunk-XXDRQBXY-B-99Fbs_.js} +3 -3
- package/dist/chunk-XXDRQBXY-BgeRIUG1.cjs +1 -0
- package/dist/classDiagram-OUVF2IWQ-BLAiuPPL.cjs +1 -0
- package/dist/{classDiagram-v2-EOCWNBFH-CPDmG5kI.js → classDiagram-OUVF2IWQ-DJ0hW16Q.js} +2 -2
- package/dist/classDiagram-v2-EOCWNBFH-BLAiuPPL.cjs +1 -0
- package/dist/{classDiagram-OUVF2IWQ-CPDmG5kI.js → classDiagram-v2-EOCWNBFH-DJ0hW16Q.js} +2 -2
- package/dist/{code-blocks-BWr5Xg1I.js → code-blocks-C6J8rVTc.js} +23 -22
- package/dist/{code-blocks-BdKjppKq.cjs → code-blocks-CTESwslp.cjs} +3 -3
- package/dist/code-blocks.cjs +1 -1
- package/dist/code-blocks.d.ts +1 -0
- package/dist/code-blocks.js +15 -14
- package/dist/components/CopyButton.d.ts +1 -2
- package/dist/components/MarkdownRenderer.d.ts +36 -3
- package/dist/components/MarkdownViewer.d.ts +11 -2
- package/dist/components/MermaidDiagram.d.ts +21 -0
- package/dist/components/ReadingPlaceKeeper.d.ts +32 -0
- package/dist/components/SelectionKeeper.d.ts +38 -0
- package/dist/components/SpreadsheetBlock.d.ts +2 -1
- package/dist/components/blockKeys.d.ts +9 -2
- package/dist/components/blockNotice.d.ts +15 -0
- package/dist/components/blockOffsets.d.ts +3 -0
- package/dist/components/clipboard.d.ts +1 -0
- package/dist/components/embeds/ClientFrame.d.ts +1 -0
- package/dist/components/embeds/ProviderEmbed.d.ts +2 -1
- package/dist/components/embeds/embedLabels.d.ts +1 -1
- package/dist/components/embeds/linkCardFetch.d.ts +2 -0
- package/dist/components/embeds.d.ts +5 -0
- package/dist/components/fileSave.d.ts +1 -0
- package/dist/components/headingLevels.d.ts +6 -0
- package/dist/components/htmlNodes.d.ts +2 -0
- package/dist/components/htmlSanitizer.d.ts +15 -2
- package/dist/components/labels.d.ts +3 -2
- package/dist/components/links.d.ts +1 -0
- package/dist/components/mdastNodes/CodeNode.d.ts +3 -1
- package/dist/components/mermaidAccessibility.d.ts +11 -0
- package/dist/components/mermaidExport.d.ts +24 -0
- package/dist/components/mermaidLabels.d.ts +89 -0
- package/dist/components/mermaidSetup.d.ts +10 -0
- package/dist/components/missingImageLabels.d.ts +2 -0
- package/dist/components/ownPixels.d.ts +1 -0
- package/dist/components/rawHtml.d.ts +7 -3
- package/dist/components/spreadsheetClipboard.d.ts +1 -1
- package/dist/components/spreadsheetModel.d.ts +1 -0
- package/dist/components/svgRaster.d.ts +2 -2
- package/dist/components/viewerLabels.d.ts +13 -3
- package/dist/contentColors.d.ts +21 -0
- package/dist/conversion.d.ts +7 -0
- package/dist/converter/NOTICES.md +6 -6
- package/dist/converter/createMarkdownConverter.d.ts +1 -0
- package/dist/converter/protocol.d.ts +4 -0
- package/dist/converter.cjs +1 -1
- package/dist/converter.js +89 -71
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-BxO1rjEU.js → cose-bilkent-JH36ORCC-CR6Hdvto.js} +24 -24
- package/dist/cose-bilkent-JH36ORCC-reAbGeDU.cjs +1 -0
- package/dist/cynefinDiagram-TSTJHNR4-2qz-sUtp.cjs +62 -0
- package/dist/{cynefinDiagram-TSTJHNR4-DBD-B_Un.js → cynefinDiagram-TSTJHNR4-D1eY-FSf.js} +65 -65
- package/dist/dagre-VKFMJZFB-Byr9WPjb.cjs +4 -0
- package/dist/{dagre-VKFMJZFB-B8vZCPJg.js → dagre-VKFMJZFB-CXSczF8v.js} +26 -26
- package/dist/{diagram-FQU43EPY-DwhEcKWF.cjs → diagram-FQU43EPY-2YWng437.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-YrRTNuX-.js → diagram-FQU43EPY-BZo0xcaj.js} +54 -54
- package/dist/diagram-G47NLZAW-CQS7BN4F.cjs +24 -0
- package/dist/{diagram-G47NLZAW-D4vmirJw.js → diagram-G47NLZAW-CvJW9ny8.js} +65 -65
- package/dist/{diagram-NH7WQ7WH-Drekwiur.js → diagram-NH7WQ7WH-C6VIkj-R.js} +18 -18
- package/dist/diagram-NH7WQ7WH-DXUwOBe7.cjs +24 -0
- package/dist/{diagram-OA4YK3LP-DZsM4Fpo.js → diagram-OA4YK3LP-Co6nMbJc.js} +29 -29
- package/dist/{diagram-OA4YK3LP-DeJ7pMIO.cjs → diagram-OA4YK3LP-DBUm2qxb.cjs} +3 -3
- package/dist/{diagram-WEI45ONY-CjRbsbkF.js → diagram-WEI45ONY-BaMbc5o2.js} +76 -76
- package/dist/diagram-WEI45ONY-ChpK2gP3.cjs +41 -0
- package/dist/ebnfDiagram-CCIWWBDH-DMIRHp8N.cjs +1 -0
- package/dist/{ebnfDiagram-CCIWWBDH-D0kt5Zdu.js → ebnfDiagram-CCIWWBDH-i7CR-FU0.js} +3 -3
- package/dist/embeds/frames.d.ts +4 -0
- package/dist/embeds/linkCards.d.ts +3 -1
- package/dist/embeds/providers.d.ts +1 -0
- package/dist/embeds/testing.cjs +1 -1
- package/dist/embeds/testing.js +1 -1
- package/dist/embeds-B4g6w7Tf.cjs +1 -0
- package/dist/embeds-Dra-dGKD.js +64 -0
- package/dist/embeds.cjs +1 -1
- package/dist/embeds.d.ts +2 -2
- package/dist/embeds.js +31 -70
- package/dist/{erDiagram-Q63AITRT-Ce4GpK2Z.js → erDiagram-Q63AITRT-DC-HhdaO.js} +69 -69
- package/dist/{erDiagram-Q63AITRT-DqFANbZx.cjs → erDiagram-Q63AITRT-DjRvJyWK.cjs} +1 -1
- package/dist/errors-BWZJx2MD.cjs +1 -0
- package/dist/errors-CapTNE7l.js +62 -0
- package/dist/errors.d.ts +2 -2
- package/dist/extractHeadings-BfYlTVvN.js +6773 -0
- package/dist/extractHeadings-CZPJi4gM.cjs +12 -0
- package/dist/flowDiagram-23GEKE2U-CiNzp6BS.js +7 -0
- package/dist/flowDiagram-23GEKE2U-DzZNPkRJ.cjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-DjpANtqX.js → ganttDiagram-NO4QXBWP-BwbtaPxc.js} +69 -69
- package/dist/ganttDiagram-NO4QXBWP-CJv5UQ4O.cjs +292 -0
- package/dist/gen/markdown/v1/linkcard_connect.d.ts +19 -0
- package/dist/gen/markdown/v1/linkcard_pb.d.ts +87 -0
- package/dist/gen/markdown/v1/markdown_pb.d.ts +4 -0
- package/dist/{gitGraphDiagram-IHSO6WYX-DzhnsGXo.js → gitGraphDiagram-IHSO6WYX--yebcp4V.js} +26 -26
- package/dist/gitGraphDiagram-IHSO6WYX-dSwtW7X6.cjs +106 -0
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.d.ts +6 -3
- package/dist/index.client.js +54 -46
- package/dist/index.js +54 -46
- package/dist/index.server.cjs +1 -1
- package/dist/index.server.d.ts +2 -1
- package/dist/index.server.js +126 -873
- package/dist/{infoDiagram-FWYZ7A6U-hraoyboI.js → infoDiagram-FWYZ7A6U-B4AiTiqD.js} +9 -9
- package/dist/infoDiagram-FWYZ7A6U-BOj0VF20.cjs +2 -0
- package/dist/{ishikawaDiagram-FXEZZL3T-cBJei3wJ.js → ishikawaDiagram-FXEZZL3T-BsYs_qnQ.js} +55 -55
- package/dist/{ishikawaDiagram-FXEZZL3T-D5b25aDN.cjs → ishikawaDiagram-FXEZZL3T-CisV4kPO.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-DrNyUSsx.cjs → journeyDiagram-5HDEW3XC-BAvgWwpr.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-IkQqMl8f.js → journeyDiagram-5HDEW3XC-DbDo-dqu.js} +29 -29
- package/dist/{kanban-definition-HUTT4EX6-D2UL88Cz.js → kanban-definition-HUTT4EX6-BlPZISwH.js} +111 -111
- package/dist/{kanban-definition-HUTT4EX6-CvBgN3eX.cjs → kanban-definition-HUTT4EX6-RjzOWas9.cjs} +2 -2
- package/dist/{linear-BiJV9gYf.js → linear-BXWX8YXI.js} +33 -33
- package/dist/linear-CKPQExK8.cjs +1 -0
- package/dist/linkCardServer/linkCardCore.d.ts +10 -0
- package/dist/linkCardServer/linkCardHandler.server.d.ts +1 -6
- package/dist/linkCardServer/pageFetchPort.d.ts +19 -0
- package/dist/linkCardServer/{pageMetadata.server.d.ts → pageMetadata.d.ts} +11 -3
- package/dist/linkCards-BikpIncf.cjs +1 -0
- package/dist/linkCards-DfSLqLPF.js +50 -0
- package/dist/linkCards.cjs +1 -0
- package/dist/linkCards.d.ts +2 -0
- package/dist/linkCards.js +5 -0
- package/dist/markdownServiceClient-C47z3Ynu.cjs +1 -0
- package/dist/markdownServiceClient-uDeklhtG.js +480 -0
- package/dist/markdownServiceClient.d.ts +20 -0
- package/dist/mermaid.core-C4EClWgB.js +15595 -0
- package/dist/mermaid.core-CRP55Hm1.cjs +305 -0
- package/dist/mermaidFrame/NOTICES.md +1345 -0
- package/dist/mermaidFrame/browserPaintView.d.ts +3 -0
- package/dist/mermaidFrame/cssCleaner.d.ts +29 -0
- package/dist/mermaidFrame/diagramPalette.d.ts +24 -0
- package/dist/mermaidFrame/diagramTheme.d.ts +7 -0
- package/dist/mermaidFrame/drawableTypes.d.ts +6 -0
- package/dist/mermaidFrame/drawer.d.ts +47 -0
- package/dist/mermaidFrame/frame.d.ts +1 -0
- package/dist/mermaidFrame/frame.js +3308 -0
- package/dist/mermaidFrame/insertion.d.ts +11 -0
- package/dist/mermaidFrame/katexInert.d.ts +4 -0
- package/dist/mermaidFrame/namespaces.d.ts +3 -0
- package/dist/mermaidFrame/paintCheck.d.ts +2 -0
- package/dist/mermaidFrame/paintContract.d.ts +3 -0
- package/dist/mermaidFrame/paintDiagram.d.ts +3 -0
- package/dist/mermaidFrame/paintMap.d.ts +103 -0
- package/dist/mermaidFrame/paintRules.d.ts +18 -0
- package/dist/mermaidFrame/protocol.d.ts +43 -0
- package/dist/mermaidFrame/serve.d.ts +19 -0
- package/dist/mermaidFrame/svgCleaner.d.ts +4 -0
- package/dist/{mindmap-definition-LN4V7U3C-CK67hf6V.js → mindmap-definition-LN4V7U3C-BEWpoMMG.js} +75 -75
- package/dist/{mindmap-definition-LN4V7U3C-CBrUse7P.cjs → mindmap-definition-LN4V7U3C-DnbSfqWP.cjs} +3 -3
- package/dist/pageFetchPort-2H18xcdi.cjs +1 -0
- package/dist/pageFetchPort-DVpXsKCz.js +624 -0
- package/dist/{pegDiagram-2B236MQR-CwWX4Irn.js → pegDiagram-2B236MQR-BF7gLiB-.js} +3 -3
- package/dist/pegDiagram-2B236MQR-BJysMObA.cjs +1 -0
- package/dist/{pieDiagram-ENE6RG2P-MO42pSl8.js → pieDiagram-ENE6RG2P-D_YzC3qc.js} +65 -65
- package/dist/{pieDiagram-ENE6RG2P-BKvggS7k.cjs → pieDiagram-ENE6RG2P-UMpeIUyV.cjs} +2 -2
- package/dist/{providers-BwQK7hZa.js → providers-CSvkTZsr.js} +17 -2
- package/dist/{providers-DO2t7ks4.cjs → providers-Cx0FuVQU.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-BHhoAvLS.cjs → quadrantDiagram-ABIIQ3AL-DANY0ipQ.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-CzHgLdS3.js → quadrantDiagram-ABIIQ3AL-DDm-r_6D.js} +57 -57
- package/dist/railroadDiagram-RFXS5EU6-CDUd4th1.cjs +1 -0
- package/dist/{railroadDiagram-RFXS5EU6-Bu_Fhi5x.js → railroadDiagram-RFXS5EU6-hJ6uB90G.js} +3 -3
- package/dist/remarkProcessor.server.d.ts +2 -0
- package/dist/{requirementDiagram-TGXJPOKE-CY-JYM-P.js → requirementDiagram-TGXJPOKE-BJef5Jb0.js} +29 -29
- package/dist/{requirementDiagram-TGXJPOKE-BhdvQnjG.cjs → requirementDiagram-TGXJPOKE-DaoCo7go.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-BmHtjxlW.js → sankeyDiagram-HTMAVEWB-BZQs0bE-.js} +48 -48
- package/dist/{sankeyDiagram-HTMAVEWB-CUeYKZeQ.cjs → sankeyDiagram-HTMAVEWB-DXiv0YOu.cjs} +3 -3
- package/dist/{sequenceDiagram-DBY2YBRQ-GepntdDB.cjs → sequenceDiagram-DBY2YBRQ-CJGpsnsv.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-Cn2CC9BC.js → sequenceDiagram-DBY2YBRQ-D05U2w26.js} +86 -86
- package/dist/serviceClient.cjs +1 -0
- package/dist/serviceClient.d.ts +3 -0
- package/dist/serviceClient.js +9 -0
- package/dist/{sizeCapture-X5ZJPWSS-CZF99dy_.js → sizeCapture-X5ZJPWSS-DTr0Vm61.js} +1 -1
- package/dist/sizeCapture-X5ZJPWSS-DjuH1zNP.cjs +1 -0
- package/dist/{stateDiagram-2N3HPSRC-CCbBvBua.js → stateDiagram-2N3HPSRC-B8nvJKpB.js} +20 -20
- package/dist/stateDiagram-2N3HPSRC-BrB47FD-.cjs +1 -0
- package/dist/stateDiagram-v2-6OUMAXLB-CC8gOGDK.cjs +1 -0
- package/dist/{stateDiagram-v2-6OUMAXLB-_A1QESxx.js → stateDiagram-v2-6OUMAXLB-CV-JqAeP.js} +2 -2
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/markdown.standalone.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-B-BDM_Ae.js → swimlanes-5IMT3BWC-BPtufzUd.js} +3 -3
- package/dist/swimlanes-5IMT3BWC-WAbDPRgt.cjs +1 -0
- package/dist/{swimlanesDiagram-G3AALYLV-BysT2rWl.js → swimlanesDiagram-G3AALYLV-BQKEmJFX.js} +2 -2
- package/dist/{swimlanesDiagram-G3AALYLV-DZuQxKuB.cjs → swimlanesDiagram-G3AALYLV-BTwwtLZL.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-DVzdzbl1.js → timeline-definition-FHXFAJF6-DJ6GV7Fz.js} +34 -34
- package/dist/{timeline-definition-FHXFAJF6-oFf_sUOI.cjs → timeline-definition-FHXFAJF6-qdkrah7t.cjs} +1 -1
- package/dist/vennDiagram-L72KCM5P-B5onSWPA.cjs +34 -0
- package/dist/{vennDiagram-L72KCM5P-Bm1TGZux.js → vennDiagram-L72KCM5P-DWnnndTj.js} +196 -196
- package/dist/viewer-settings.cjs +1 -1
- package/dist/viewer-settings.d.ts +8 -0
- package/dist/viewer-settings.js +11 -5
- package/dist/{wardleyDiagram-EHGQE667-BC_1RAbp.js → wardleyDiagram-EHGQE667-DFmDgQSb.js} +41 -41
- package/dist/{wardleyDiagram-EHGQE667-CqB3gLCH.cjs → wardleyDiagram-EHGQE667-DdeBbvVM.cjs} +2 -2
- package/dist/{xychartDiagram-FW5EYKEG-a1vb5UxD.cjs → xychartDiagram-FW5EYKEG-CiJQMClv.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-ClITdEhV.js → xychartDiagram-FW5EYKEG-L2Kj4cZA.js} +28 -28
- package/package.json +31 -13
- package/dist/abnfDiagram-VRR7QNED-Crz-ChMJ.cjs +0 -1
- package/dist/arc-BKGy6Me1.js +0 -83
- package/dist/arc-CYJCyviq.cjs +0 -1
- package/dist/architectureDiagram-ZJ3FMSHR-gTB8pttO.cjs +0 -36
- package/dist/channel-BKoPLS2j.cjs +0 -1
- package/dist/chunk-2Q5K7J3B-DgtYKcDs.cjs +0 -1
- package/dist/chunk-32BRIVSS-D-6GBFtx.cjs +0 -1
- package/dist/chunk-JWPE2WC7-5sd39cpa.cjs +0 -1
- package/dist/chunk-RYQCIY6F-BBTBydZd.cjs +0 -1
- package/dist/chunk-VR4S4FIN-CHKLwvYh.cjs +0 -1
- package/dist/chunk-XXDRQBXY-DttkP7wv.cjs +0 -1
- package/dist/classDiagram-OUVF2IWQ-BKruajP_.cjs +0 -1
- package/dist/classDiagram-v2-EOCWNBFH-BKruajP_.cjs +0 -1
- package/dist/cose-bilkent-JH36ORCC-Cjfa6NyL.cjs +0 -1
- package/dist/cynefinDiagram-TSTJHNR4-B3boTACW.cjs +0 -62
- package/dist/dagre-VKFMJZFB-DF3Mvuas.cjs +0 -4
- package/dist/diagram-G47NLZAW-CKIEbGLS.cjs +0 -24
- package/dist/diagram-NH7WQ7WH-D6wMwkLQ.cjs +0 -24
- package/dist/diagram-WEI45ONY-SYHw7k8b.cjs +0 -41
- package/dist/ebnfDiagram-CCIWWBDH-23bjk9FU.cjs +0 -1
- package/dist/errors-BW5JXRoX.cjs +0 -1
- package/dist/errors-Blk_XJ9C.js +0 -55
- package/dist/extractHeadings-DlQcPv5N.js +0 -20361
- package/dist/extractHeadings-wWAipplS.cjs +0 -315
- package/dist/flowDiagram-23GEKE2U-CRC9U6qD.cjs +0 -1
- package/dist/flowDiagram-23GEKE2U-CRo7TM3K.js +0 -7
- package/dist/ganttDiagram-NO4QXBWP-CR55KG5d.cjs +0 -292
- package/dist/gitGraphDiagram-IHSO6WYX-BWYUn1Bi.cjs +0 -106
- package/dist/infoDiagram-FWYZ7A6U-CsUGc58_.cjs +0 -2
- package/dist/linear-DwqXGYLc.cjs +0 -1
- package/dist/linkCardServer/addressGuard.server.d.ts +0 -25
- package/dist/linkCardServer/pageFetch.server.d.ts +0 -37
- package/dist/linkCards-1JxY8wdm.js +0 -48
- package/dist/linkCards-Bjd_vW39.cjs +0 -1
- package/dist/pegDiagram-2B236MQR-C5pLIpKI.cjs +0 -1
- package/dist/railroadDiagram-RFXS5EU6-CwGmOFD_.cjs +0 -1
- package/dist/sizeCapture-X5ZJPWSS-Cd-k8xwk.cjs +0 -1
- package/dist/stateDiagram-2N3HPSRC-D2cvrAtN.cjs +0 -1
- package/dist/stateDiagram-v2-6OUMAXLB-BaktPIVY.cjs +0 -1
- package/dist/swimlanes-5IMT3BWC-DtdLK5z3.cjs +0 -1
- package/dist/vennDiagram-L72KCM5P-Ba2FGeN1.cjs +0 -34
- /package/dist/linkCardServer/{htmlEncoding.server.d.ts → htmlEncoding.d.ts} +0 -0
- /package/dist/linkCardServer/{metadataCache.server.d.ts → metadataCache.d.ts} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as a, l as s, I as o, e as i } from "./mermaid.core-C4EClWgB.js";
|
|
2
2
|
import { p as g } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
3
3
|
var p = {
|
|
4
|
-
parse: /* @__PURE__ */
|
|
5
|
-
const
|
|
6
|
-
s.debug(
|
|
4
|
+
parse: /* @__PURE__ */ a(async (r) => {
|
|
5
|
+
const e = await g("info", r);
|
|
6
|
+
s.debug(e);
|
|
7
7
|
}, "parse")
|
|
8
8
|
}, v = {
|
|
9
9
|
version: "11.16.0"
|
|
10
|
-
}, d = /* @__PURE__ */
|
|
10
|
+
}, d = /* @__PURE__ */ a(() => v.version, "getVersion"), m = {
|
|
11
11
|
getVersion: d
|
|
12
|
-
}, c = /* @__PURE__ */
|
|
12
|
+
}, c = /* @__PURE__ */ a((r, e, n) => {
|
|
13
13
|
s.debug(`rendering info diagram
|
|
14
14
|
` + r);
|
|
15
|
-
const t = o(
|
|
15
|
+
const t = o(e);
|
|
16
16
|
i(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}`);
|
|
17
|
-
}, "draw"),
|
|
17
|
+
}, "draw"), l = { draw: c }, _ = {
|
|
18
18
|
parser: p,
|
|
19
19
|
db: m,
|
|
20
|
-
renderer:
|
|
20
|
+
renderer: l
|
|
21
21
|
};
|
|
22
22
|
export {
|
|
23
23
|
_ as diagram
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid.core-CRP55Hm1.cjs"),o=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var s={parse:e.__name(async r=>{const a=await o.parse("info",r);e.log.debug(a)},"parse")},i={version:"11.16.0"},g=e.__name(()=>i.version,"getVersion"),d={getVersion:g},v=e.__name((r,a,n)=>{e.log.debug(`rendering info diagram
|
|
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},m={parser:s,db:d,renderer:c};exports.diagram=m;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o,
|
|
1
|
+
import { _ as o, c as ot, N as ut, I as dt, an as yt, z as ft, k as pt, q as it, a as gt, b as kt, g as mt, s as wt, t as _t, e as bt } from "./mermaid.core-C4EClWgB.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) ;
|
|
@@ -36,64 +36,64 @@ var J = (function() {
|
|
|
36
36
|
}, "parseError"),
|
|
37
37
|
parse: /* @__PURE__ */ o(function(t) {
|
|
38
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
|
-
for (var
|
|
40
|
-
Object.prototype.hasOwnProperty.call(this.yy,
|
|
39
|
+
for (var N in this.yy)
|
|
40
|
+
Object.prototype.hasOwnProperty.call(this.yy, N) && (S.yy[N] = this.yy[N]);
|
|
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 G = 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
|
|
47
|
-
i.length = i.length - 2 *
|
|
46
|
+
function Y(P) {
|
|
47
|
+
i.length = i.length - 2 * P, p.length = p.length - P, n.length = n.length - P;
|
|
48
48
|
}
|
|
49
|
-
o(
|
|
49
|
+
o(Y, "popStack");
|
|
50
50
|
function tt() {
|
|
51
|
-
var
|
|
52
|
-
return
|
|
51
|
+
var P;
|
|
52
|
+
return P = c.pop() || b.lex() || A, typeof P != "number" && (P instanceof Array && (c = P, P = c.pop()), P = s.symbols_[P] || P), P;
|
|
53
53
|
}
|
|
54
54
|
o(tt, "lex");
|
|
55
|
-
for (var M, W,
|
|
56
|
-
if (W = i[i.length - 1], this.defaultActions[W] ?
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
for (
|
|
60
|
-
this.terminals_[
|
|
61
|
-
b.showPosition ?
|
|
55
|
+
for (var M, W, B, q, z = {}, U, V, et, Z; ; ) {
|
|
56
|
+
if (W = i[i.length - 1], this.defaultActions[W] ? B = this.defaultActions[W] : ((M === null || typeof M > "u") && (M = tt()), B = v[W] && v[W][M]), typeof B > "u" || !B.length || !B[0]) {
|
|
57
|
+
var K = "";
|
|
58
|
+
Z = [];
|
|
59
|
+
for (U in v[W])
|
|
60
|
+
this.terminals_[U] && U > L && Z.push("'" + this.terminals_[U] + "'");
|
|
61
|
+
b.showPosition ? K = "Parse error on line " + (I + 1) + `:
|
|
62
62
|
` + b.showPosition() + `
|
|
63
|
-
Expecting ` +
|
|
63
|
+
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, {
|
|
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: Z
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
if (
|
|
71
|
+
if (B[0] instanceof Array && B.length > 1)
|
|
72
72
|
throw new Error("Parse Error: multiple actions possible at state: " + W + ", token: " + M);
|
|
73
|
-
switch (
|
|
73
|
+
switch (B[0]) {
|
|
74
74
|
case 1:
|
|
75
|
-
i.push(M), p.push(b.yytext), n.push(b.yylloc), i.push(
|
|
75
|
+
i.push(M), p.push(b.yytext), n.push(b.yylloc), i.push(B[1]), M = null, $ = b.yyleng, w = b.yytext, I = b.yylineno, R = b.yylloc;
|
|
76
76
|
break;
|
|
77
77
|
case 2:
|
|
78
|
-
if (V = this.productions_[
|
|
78
|
+
if (V = this.productions_[B[1]][1], z.$ = p[p.length - V], z._$ = {
|
|
79
79
|
first_line: n[n.length - (V || 1)].first_line,
|
|
80
80
|
last_line: n[n.length - 1].last_line,
|
|
81
81
|
first_column: n[n.length - (V || 1)].first_column,
|
|
82
82
|
last_column: n[n.length - 1].last_column
|
|
83
|
-
},
|
|
83
|
+
}, G && (z._$.range = [
|
|
84
84
|
n[n.length - (V || 1)].range[0],
|
|
85
85
|
n[n.length - 1].range[1]
|
|
86
|
-
]),
|
|
86
|
+
]), q = this.performAction.apply(z, [
|
|
87
87
|
w,
|
|
88
88
|
$,
|
|
89
89
|
I,
|
|
90
90
|
S.yy,
|
|
91
|
-
|
|
91
|
+
B[1],
|
|
92
92
|
p,
|
|
93
93
|
n
|
|
94
|
-
].concat(C)), typeof
|
|
95
|
-
return
|
|
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_[
|
|
94
|
+
].concat(C)), typeof q < "u")
|
|
95
|
+
return q;
|
|
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_[B[1]][0]), p.push(z.$), n.push(z._$), et = v[i[i.length - 2]][i[i.length - 1]], i.push(et);
|
|
97
97
|
break;
|
|
98
98
|
case 3:
|
|
99
99
|
return !0;
|
|
@@ -344,7 +344,7 @@ var xt = J, H, vt = (H = class {
|
|
|
344
344
|
setDiagramTitle(h) {
|
|
345
345
|
it(h);
|
|
346
346
|
}
|
|
347
|
-
}, o(H, "IshikawaDB"), H), St = 14,
|
|
347
|
+
}, o(H, "IshikawaDB"), H), St = 14, F = 250, $t = 30, Et = 60, At = 5, ht = 82 * Math.PI / 180, st = Math.cos(ht), nt = Math.sin(ht), at = /* @__PURE__ */ o((e, h, r) => {
|
|
348
348
|
const a = e.node().getBBox(), l = a.width + h * 2, y = a.height + h * 2;
|
|
349
349
|
bt(e, y, l, r), e.attr("viewBox", `${a.x - h} ${a.y - h} ${l} ${y}`);
|
|
350
350
|
}, "applyPaddedViewBox"), It = /* @__PURE__ */ o((e, h, r, a) => {
|
|
@@ -358,33 +358,33 @@ var xt = J, H, vt = (H = class {
|
|
|
358
358
|
fillColor: u?.mainBkg ?? "#fff"
|
|
359
359
|
} : void 0, s = `ishikawa-arrow-${h}`;
|
|
360
360
|
g || E.append("defs").append("marker").attr("id", s).attr("viewBox", "0 0 10 10").attr("refX", 0).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 Z").attr("class", "ishikawa-arrow");
|
|
361
|
-
let i = 0, c =
|
|
362
|
-
const p = g ? void 0 :
|
|
361
|
+
let i = 0, c = F;
|
|
362
|
+
const p = g ? void 0 : j(E, i, c, i, c, "ishikawa-spine");
|
|
363
363
|
if (Lt(E, i, c, y.text, k, t), !_.length) {
|
|
364
|
-
g &&
|
|
364
|
+
g && j(E, i, c, i, c, "ishikawa-spine", t), at(O, x, D);
|
|
365
365
|
return;
|
|
366
366
|
}
|
|
367
367
|
i -= 20;
|
|
368
|
-
const n = _.filter((S,
|
|
369
|
-
let L =
|
|
368
|
+
const n = _.filter((S, N) => N % 2 === 0), v = _.filter((S, N) => N % 2 === 1), w = rt(n), I = rt(v), $ = w.total + I.total;
|
|
369
|
+
let L = F, A = F;
|
|
370
370
|
if ($ > 0) {
|
|
371
|
-
const S =
|
|
372
|
-
L = Math.max(
|
|
371
|
+
const S = F * 2, N = F * 0.3;
|
|
372
|
+
L = Math.max(N, S * (w.total / $)), A = Math.max(N, S * (I.total / $));
|
|
373
373
|
}
|
|
374
374
|
const C = k * 2;
|
|
375
|
-
L = Math.max(L, w.max * C), A = Math.max(A, I.max * C), c = Math.max(L,
|
|
375
|
+
L = Math.max(L, w.max * C), A = Math.max(A, I.max * C), c = Math.max(L, F), 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
|
-
const
|
|
379
|
-
for (const [R,
|
|
378
|
+
const N = E.append("g").attr("class", "ishikawa-pair");
|
|
379
|
+
for (const [R, G, Y] of [
|
|
380
380
|
[_[S * 2], -1, L],
|
|
381
381
|
[_[S * 2 + 1], 1, A]
|
|
382
382
|
])
|
|
383
|
-
R &&
|
|
384
|
-
i =
|
|
383
|
+
R && Nt(N, R, i, c, G, Y, k, t);
|
|
384
|
+
i = N.selectAll("text").nodes().reduce((R, G) => Math.min(R, G.getBBox().x), 1 / 0);
|
|
385
385
|
}
|
|
386
386
|
if (g)
|
|
387
|
-
|
|
387
|
+
j(E, i, c, 0, c, "ishikawa-spine", t);
|
|
388
388
|
else {
|
|
389
389
|
p.attr("x1", i);
|
|
390
390
|
const S = `url(#${s})`;
|
|
@@ -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 = X(
|
|
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 = X(
|
|
444
444
|
d,
|
|
445
445
|
h,
|
|
446
446
|
r,
|
|
@@ -469,7 +469,7 @@ var xt = J, H, vt = (H = class {
|
|
|
469
469
|
d.insert(() => k, ":first-child").attr("class", "ishikawa-label-box");
|
|
470
470
|
} else
|
|
471
471
|
d.insert("rect", ":first-child").attr("class", "ishikawa-label-box").attr("x", u.x - 20).attr("y", u.y - 2).attr("width", u.width + 40).attr("height", u.height + 4);
|
|
472
|
-
}, "drawCauseLabel"),
|
|
472
|
+
}, "drawCauseLabel"), Q = /* @__PURE__ */ o((e, h, r, a, l, y) => {
|
|
473
473
|
const f = Math.sqrt(a * a + l * l);
|
|
474
474
|
if (f === 0)
|
|
475
475
|
return;
|
|
@@ -482,9 +482,9 @@ var xt = J, H, vt = (H = class {
|
|
|
482
482
|
strokeWidth: 1
|
|
483
483
|
});
|
|
484
484
|
e.append(() => O);
|
|
485
|
-
}, "drawArrowMarker"),
|
|
485
|
+
}, "drawArrowMarker"), Nt = /* @__PURE__ */ o((e, h, r, a, l, y, f, d) => {
|
|
486
486
|
const m = h.children ?? [], u = y * (m.length ? 1 : 0.2), k = -st * u, g = nt * u * l, _ = r + k, x = a + g;
|
|
487
|
-
if (
|
|
487
|
+
if (j(e, r, a, _, x, "ishikawa-branch", d), d && Q(e, r, a, r - _, a - x, d), Mt(e, h.text, _, x, l, f, d), !m.length)
|
|
488
488
|
return;
|
|
489
489
|
const { entries: D, yOrder: O } = Tt(m, l), E = D.length, T = new Array(E);
|
|
490
490
|
for (const [p, n] of O.entries())
|
|
@@ -504,10 +504,10 @@ var xt = J, H, vt = (H = class {
|
|
|
504
504
|
let $ = 0, L = 0, A = 0;
|
|
505
505
|
if (n.depth % 2 === 0) {
|
|
506
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),
|
|
507
|
+
$ = lt(w.x0, w.x1, C ? (v - w.y0) / C : 0.5), L = v, A = $ - (n.childCount > 0 ? Et + n.childCount * At : $t), j(I, $, v, A, v, "ishikawa-sub-branch", d), d && Q(I, $, v, 1, 0, d), X(I, n.text, A, v, "ishikawa-label align", "end", f);
|
|
508
508
|
} else {
|
|
509
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),
|
|
510
|
+
$ = lt(w.x0, w.x1, (w.childCount - C) / (w.childCount + 1)), L = w.y0, A = $ + s * ((v - L) / i), j(I, $, L, A, v, "ishikawa-sub-branch", d), d && Q(I, $, L, $ - A, L - v, d), X(I, n.text, A, v, c, "end", f);
|
|
511
511
|
}
|
|
512
512
|
n.childCount > 0 && t.set(p, {
|
|
513
513
|
x0: $,
|
|
@@ -518,7 +518,7 @@ var xt = J, H, vt = (H = class {
|
|
|
518
518
|
childrenDrawn: 0
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
|
-
}, "drawBranch"),
|
|
521
|
+
}, "drawBranch"), Pt = /* @__PURE__ */ o((e) => e.split(/<br\s*\/?>|\n/), "splitLines"), ct = /* @__PURE__ */ o((e, h) => {
|
|
522
522
|
if (e.length <= h)
|
|
523
523
|
return e;
|
|
524
524
|
const r = [];
|
|
@@ -528,12 +528,12 @@ var xt = J, H, vt = (H = class {
|
|
|
528
528
|
}
|
|
529
529
|
return r.join(`
|
|
530
530
|
`);
|
|
531
|
-
}, "wrapText"),
|
|
532
|
-
const d =
|
|
531
|
+
}, "wrapText"), X = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
|
|
532
|
+
const d = Pt(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);
|
|
535
535
|
return u;
|
|
536
|
-
}, "drawMultilineText"), lt = /* @__PURE__ */ o((e, h, r) => e + (h - e) * r, "lerp"),
|
|
536
|
+
}, "drawMultilineText"), lt = /* @__PURE__ */ o((e, h, r) => e + (h - e) * r, "lerp"), j = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
|
|
537
537
|
if (f) {
|
|
538
538
|
const d = f.roughSvg.line(h, r, a, l, {
|
|
539
539
|
roughness: 1.5,
|
|
@@ -545,7 +545,7 @@ var xt = J, H, vt = (H = class {
|
|
|
545
545
|
return;
|
|
546
546
|
}
|
|
547
547
|
return e.append("line").attr("class", y).attr("x1", h).attr("y1", r).attr("x2", a).attr("y2", l);
|
|
548
|
-
}, "drawLine"),
|
|
548
|
+
}, "drawLine"), Bt = { draw: It }, Dt = /* @__PURE__ */ o((e) => `
|
|
549
549
|
.ishikawa .ishikawa-spine,
|
|
550
550
|
.ishikawa .ishikawa-branch,
|
|
551
551
|
.ishikawa .ishikawa-sub-branch {
|
|
@@ -613,7 +613,7 @@ var xt = J, H, vt = (H = class {
|
|
|
613
613
|
get db() {
|
|
614
614
|
return new vt();
|
|
615
615
|
},
|
|
616
|
-
renderer:
|
|
616
|
+
renderer: Bt,
|
|
617
617
|
styles: Ot
|
|
618
618
|
};
|
|
619
619
|
export {
|
package/dist/{ishikawaDiagram-FXEZZL3T-D5b25aDN.cjs → ishikawaDiagram-FXEZZL3T-CisV4kPO.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid.core-CRP55Hm1.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
|
-
"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-CYVpj2mc.cjs"),j=require("./chunk-32BRIVSS-rIw6tBRO.cjs"),n=require("./mermaid.core-CRP55Hm1.cjs"),et=require("./arc-Cn8XXgbN.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-DAgNhPcU.js";
|
|
2
|
+
import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-CqpDiZD2.js";
|
|
3
|
+
import { g as _t, s as vt, a as bt, b as wt, t as Tt, q as St, _ as s, c as R, d as X, e as $t, z as Mt } from "./mermaid.core-C4EClWgB.js";
|
|
4
|
+
import { d as it } from "./arc-BBLXr5EU.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 = {});
|
|
@@ -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 H = "";
|
|
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 ? H = "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) + "'" : H = "Parse error on line " + (C + 1) + ": Unexpected " + (b == D ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(H, {
|
|
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) + "'" : X = "
|
|
|
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) + "'" : X = "
|
|
|
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,12 +355,12 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : X = "
|
|
|
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 = "", J = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
359
|
+
J.length = 0, L.length = 0, V = "", B.length = 0, Mt();
|
|
360
360
|
}, "clear"), Pt = /* @__PURE__ */ s(function(t) {
|
|
361
|
-
V = t,
|
|
361
|
+
V = t, J.push(t);
|
|
362
362
|
}, "addSection"), It = /* @__PURE__ */ s(function() {
|
|
363
|
-
return
|
|
363
|
+
return J;
|
|
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 = "", Q = [], 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, K = /* @__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 = "", Q = [], 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, K(f, i), ht(a)(
|
|
590
590
|
e.text,
|
|
591
591
|
f,
|
|
592
592
|
i.x,
|
|
@@ -597,15 +597,15 @@ var Et = U, V = "", Q = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
597
597
|
a,
|
|
598
598
|
e.colour
|
|
599
599
|
);
|
|
600
|
-
}, "drawSection"),
|
|
600
|
+
}, "drawSection"), Z = -1, Ot = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
601
601
|
const i = e.x + a.width / 2, u = t.append("g");
|
|
602
|
-
|
|
602
|
+
Z++, u.append("line").attr("id", f + "-task" + Z).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, K(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 = "", Q = [], 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
|
+
Z = -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: K,
|
|
664
664
|
drawCircle: ot,
|
|
665
665
|
drawSection: Wt,
|
|
666
666
|
drawText: ct,
|
|
@@ -668,7 +668,7 @@ var Et = U, V = "", Q = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
|
668
668
|
drawTask: Ot,
|
|
669
669
|
drawBackgroundRect: Yt,
|
|
670
670
|
initGraphics: qt
|
|
671
|
-
},
|
|
671
|
+
}, Ht = /* @__PURE__ */ s(function(t) {
|
|
672
672
|
Object.keys(t).forEach(function(a) {
|
|
673
673
|
$[a] = t[a];
|
|
674
674
|
});
|
|
@@ -722,11 +722,11 @@ function ut(t) {
|
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
724
|
s(ut, "drawActorLegend");
|
|
725
|
-
var $ = R().journey, P = 0,
|
|
725
|
+
var $ = R().journey, P = 0, Xt = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
726
726
|
const i = R(), u = i.journey.titleColor, p = i.journey.titleFontSize, o = i.journey.titleFontFamily, g = i.securityLevel;
|
|
727
727
|
let m;
|
|
728
|
-
g === "sandbox" && (m =
|
|
729
|
-
const x = g === "sandbox" ?
|
|
728
|
+
g === "sandbox" && (m = X("#i" + e));
|
|
729
|
+
const x = g === "sandbox" ? X(m.nodes()[0].contentDocument.body) : X("body");
|
|
730
730
|
S.init();
|
|
731
731
|
const h = x.select("#" + e);
|
|
732
732
|
j.initGraphics(h, e);
|
|
@@ -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:
|
|
822
|
-
draw:
|
|
823
|
-
},
|
|
821
|
+
setConf: Ht,
|
|
822
|
+
draw: Xt
|
|
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
|
};
|