@aiquants/markdown 12.3.0 → 13.0.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 +276 -65
- 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 +31 -2
- package/dist/components/MarkdownViewer.d.ts +11 -2
- package/dist/components/MermaidDiagram.d.ts +1 -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/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/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/mermaidLabels.d.ts +5 -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/spreadsheetModel.d.ts +1 -0
- package/dist/components/viewerLabels.d.ts +11 -2
- 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-BAhmauKo.js +5296 -0
- package/dist/extractHeadings-qiJXegCx.cjs +11 -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 +2 -2
- package/dist/index.client.js +42 -36
- package/dist/index.js +42 -36
- 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/cssCleaner.d.ts +13 -0
- package/dist/mermaidFrame/drawer.d.ts +34 -0
- package/dist/mermaidFrame/frame.d.ts +1 -0
- package/dist/mermaidFrame/frame.js +3307 -0
- package/dist/mermaidFrame/katexInert.d.ts +4 -0
- package/dist/mermaidFrame/protocol.d.ts +38 -0
- package/dist/mermaidFrame/serve.d.ts +14 -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 +29 -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
package/dist/{kanban-definition-HUTT4EX6-D2UL88Cz.js → kanban-definition-HUTT4EX6-BlPZISwH.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as o,
|
|
2
|
-
import { g as Ne } from "./chunk-5VM5RSS4-
|
|
1
|
+
import { _ as o, l as te, c as H, I as fe, af as ye, ag as be, ah as me, Y as _e, G as Y, i as j, v as ke, J as Ee, V as Se, W as ce, X as le } from "./mermaid.core-C4EClWgB.js";
|
|
2
|
+
import { g as Ne } from "./chunk-5VM5RSS4-DAgNhPcU.js";
|
|
3
3
|
var $ = (function() {
|
|
4
|
-
var e = /* @__PURE__ */ o(function(O,
|
|
5
|
-
for (n = n || {}, r = O.length; r--; n[O[r]] =
|
|
4
|
+
var e = /* @__PURE__ */ o(function(O, i, n, r) {
|
|
5
|
+
for (n = n || {}, r = O.length; r--; n[O[r]] = i) ;
|
|
6
6
|
return n;
|
|
7
|
-
}, "o"), h = [1, 4], p = [1, 13],
|
|
7
|
+
}, "o"), h = [1, 4], p = [1, 13], s = [1, 12], d = [1, 15], _ = [1, 16], m = [1, 20], l = [1, 19], D = [6, 7, 8], I = [1, 26], g = [1, 24], w = [1, 25], k = [6, 7, 11], F = [1, 31], N = [6, 7, 11, 24], V = [1, 6, 13, 16, 17, 20, 23], f = [1, 35], A = [1, 36], L = [1, 6, 7, 11, 13, 16, 17, 20, 23], M = [1, 38], T = {
|
|
8
8
|
trace: /* @__PURE__ */ o(function() {
|
|
9
9
|
}, "trace"),
|
|
10
10
|
yy: {},
|
|
11
11
|
symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, KANBAN: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, shapeData: 15, ICON: 16, CLASS: 17, nodeWithId: 18, nodeWithoutId: 19, NODE_DSTART: 20, NODE_DESCR: 21, NODE_DEND: 22, NODE_ID: 23, SHAPE_DATA: 24, $accept: 0, $end: 1 },
|
|
12
12
|
terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "KANBAN", 11: "EOF", 13: "SPACELIST", 16: "ICON", 17: "CLASS", 20: "NODE_DSTART", 21: "NODE_DESCR", 22: "NODE_DEND", 23: "NODE_ID", 24: "SHAPE_DATA" },
|
|
13
13
|
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, 3], [12, 2], [12, 2], [12, 2], [12, 1], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [19, 3], [18, 1], [18, 4], [15, 2], [15, 1]],
|
|
14
|
-
performAction: /* @__PURE__ */ o(function(
|
|
14
|
+
performAction: /* @__PURE__ */ o(function(i, n, r, a, u, t, U) {
|
|
15
15
|
var c = t.length - 1;
|
|
16
16
|
switch (u) {
|
|
17
17
|
case 6:
|
|
@@ -71,21 +71,21 @@ var $ = (function() {
|
|
|
71
71
|
break;
|
|
72
72
|
}
|
|
73
73
|
}, "anonymous"),
|
|
74
|
-
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: p, 7: [1, 10], 9: 9, 12: 11, 13:
|
|
74
|
+
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: p, 7: [1, 10], 9: 9, 12: 11, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, e(D, [2, 3]), { 1: [2, 2] }, e(D, [2, 4]), e(D, [2, 5]), { 1: [2, 6], 6: p, 12: 21, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, { 6: p, 9: 22, 12: 11, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, { 6: I, 7: g, 10: 23, 11: w }, e(k, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: m, 23: l }), e(k, [2, 19]), e(k, [2, 21], { 15: 30, 24: F }), e(k, [2, 22]), e(k, [2, 23]), e(N, [2, 25]), e(N, [2, 26]), e(N, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: I, 7: g, 10: 34, 11: w }, { 1: [2, 7], 6: p, 12: 21, 13: s, 14: 14, 16: d, 17: _, 18: 17, 19: 18, 20: m, 23: l }, e(V, [2, 14], { 7: f, 11: A }), e(L, [2, 8]), e(L, [2, 9]), e(L, [2, 10]), e(k, [2, 16], { 15: 37, 24: F }), e(k, [2, 17]), e(k, [2, 18]), e(k, [2, 20], { 24: M }), e(N, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, e(V, [2, 13], { 7: f, 11: A }), e(L, [2, 11]), e(L, [2, 12]), e(k, [2, 15], { 24: M }), e(N, [2, 30]), { 22: [1, 41] }, e(N, [2, 27]), e(N, [2, 29])],
|
|
75
75
|
defaultActions: { 2: [2, 1], 6: [2, 2] },
|
|
76
|
-
parseError: /* @__PURE__ */ o(function(
|
|
76
|
+
parseError: /* @__PURE__ */ o(function(i, n) {
|
|
77
77
|
if (n.recoverable)
|
|
78
|
-
this.trace(
|
|
78
|
+
this.trace(i);
|
|
79
79
|
else {
|
|
80
|
-
var r = new Error(
|
|
80
|
+
var r = new Error(i);
|
|
81
81
|
throw r.hash = n, r;
|
|
82
82
|
}
|
|
83
83
|
}, "parseError"),
|
|
84
|
-
parse: /* @__PURE__ */ o(function(
|
|
85
|
-
var n = this, r = [0], a = [], u = [null], t = [],
|
|
84
|
+
parse: /* @__PURE__ */ o(function(i) {
|
|
85
|
+
var n = this, r = [0], a = [], u = [null], t = [], U = this.table, c = "", W = 0, se = 0, ue = 2, re = 1, ge = t.slice.call(arguments, 1), b = Object.create(this.lexer), R = { yy: {} };
|
|
86
86
|
for (var J in this.yy)
|
|
87
87
|
Object.prototype.hasOwnProperty.call(this.yy, J) && (R.yy[J] = this.yy[J]);
|
|
88
|
-
b.setInput(
|
|
88
|
+
b.setInput(i, R.yy), R.yy.lexer = b, R.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
|
|
89
89
|
var q = b.yylloc;
|
|
90
90
|
t.push(q);
|
|
91
91
|
var de = b.options && b.options.ranges;
|
|
@@ -99,40 +99,40 @@ var $ = (function() {
|
|
|
99
99
|
return S = a.pop() || b.lex() || re, typeof S != "number" && (S instanceof Array && (a = S, S = a.pop()), S = n.symbols_[S] || S), S;
|
|
100
100
|
}
|
|
101
101
|
o(ae, "lex");
|
|
102
|
-
for (var
|
|
103
|
-
if (P = r[r.length - 1], this.defaultActions[P] ? x = this.defaultActions[P] : ((
|
|
102
|
+
for (var E, P, x, Q, G = {}, z, C, oe, X; ; ) {
|
|
103
|
+
if (P = r[r.length - 1], this.defaultActions[P] ? x = this.defaultActions[P] : ((E === null || typeof E > "u") && (E = ae()), x = U[P] && U[P][E]), typeof x > "u" || !x.length || !x[0]) {
|
|
104
104
|
var Z = "";
|
|
105
105
|
X = [];
|
|
106
|
-
for (z in
|
|
106
|
+
for (z in U[P])
|
|
107
107
|
this.terminals_[z] && z > ue && X.push("'" + this.terminals_[z] + "'");
|
|
108
108
|
b.showPosition ? Z = "Parse error on line " + (W + 1) + `:
|
|
109
109
|
` + b.showPosition() + `
|
|
110
|
-
Expecting ` + X.join(", ") + ", got '" + (this.terminals_[
|
|
110
|
+
Expecting ` + X.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "Parse error on line " + (W + 1) + ": Unexpected " + (E == re ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(Z, {
|
|
111
111
|
text: b.match,
|
|
112
|
-
token: this.terminals_[
|
|
112
|
+
token: this.terminals_[E] || E,
|
|
113
113
|
line: b.yylineno,
|
|
114
114
|
loc: q,
|
|
115
115
|
expected: X
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
if (x[0] instanceof Array && x.length > 1)
|
|
119
|
-
throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " +
|
|
119
|
+
throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + E);
|
|
120
120
|
switch (x[0]) {
|
|
121
121
|
case 1:
|
|
122
|
-
r.push(
|
|
122
|
+
r.push(E), u.push(b.yytext), t.push(b.yylloc), r.push(x[1]), E = null, se = b.yyleng, c = b.yytext, W = b.yylineno, q = b.yylloc;
|
|
123
123
|
break;
|
|
124
124
|
case 2:
|
|
125
|
-
if (C = this.productions_[x[1]][1],
|
|
125
|
+
if (C = this.productions_[x[1]][1], G.$ = u[u.length - C], G._$ = {
|
|
126
126
|
first_line: t[t.length - (C || 1)].first_line,
|
|
127
127
|
last_line: t[t.length - 1].last_line,
|
|
128
128
|
first_column: t[t.length - (C || 1)].first_column,
|
|
129
129
|
last_column: t[t.length - 1].last_column
|
|
130
|
-
}, de && (
|
|
130
|
+
}, de && (G._$.range = [
|
|
131
131
|
t[t.length - (C || 1)].range[0],
|
|
132
132
|
t[t.length - 1].range[1]
|
|
133
|
-
]), Q = this.performAction.apply(
|
|
133
|
+
]), Q = this.performAction.apply(G, [
|
|
134
134
|
c,
|
|
135
|
-
|
|
135
|
+
se,
|
|
136
136
|
W,
|
|
137
137
|
R.yy,
|
|
138
138
|
x[1],
|
|
@@ -140,7 +140,7 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
140
140
|
t
|
|
141
141
|
].concat(ge)), typeof Q < "u")
|
|
142
142
|
return Q;
|
|
143
|
-
C && (r = r.slice(0, -1 * C * 2), u = u.slice(0, -1 * C), t = t.slice(0, -1 * C)), r.push(this.productions_[x[1]][0]), u.push(
|
|
143
|
+
C && (r = r.slice(0, -1 * C * 2), u = u.slice(0, -1 * C), t = t.slice(0, -1 * C)), r.push(this.productions_[x[1]][0]), u.push(G.$), t.push(G._$), oe = U[r[r.length - 2]][r[r.length - 1]], r.push(oe);
|
|
144
144
|
break;
|
|
145
145
|
case 3:
|
|
146
146
|
return !0;
|
|
@@ -158,8 +158,8 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
158
158
|
throw new Error(n);
|
|
159
159
|
}, "parseError"),
|
|
160
160
|
// resets the lexer, sets new input
|
|
161
|
-
setInput: /* @__PURE__ */ o(function(
|
|
162
|
-
return this.yy = n || this.yy || {}, this._input =
|
|
161
|
+
setInput: /* @__PURE__ */ o(function(i, n) {
|
|
162
|
+
return this.yy = n || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
163
163
|
first_line: 1,
|
|
164
164
|
first_column: 0,
|
|
165
165
|
last_line: 1,
|
|
@@ -168,15 +168,15 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
168
168
|
}, "setInput"),
|
|
169
169
|
// consumes and returns one char from the input
|
|
170
170
|
input: /* @__PURE__ */ o(function() {
|
|
171
|
-
var
|
|
172
|
-
this.yytext +=
|
|
173
|
-
var n =
|
|
174
|
-
return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1),
|
|
171
|
+
var i = this._input[0];
|
|
172
|
+
this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
|
|
173
|
+
var n = i.match(/(?:\r\n?|\n).*/g);
|
|
174
|
+
return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
|
|
175
175
|
}, "input"),
|
|
176
176
|
// unshifts one char (or a string) into the input
|
|
177
|
-
unput: /* @__PURE__ */ o(function(
|
|
178
|
-
var n =
|
|
179
|
-
this._input =
|
|
177
|
+
unput: /* @__PURE__ */ o(function(i) {
|
|
178
|
+
var n = i.length, r = i.split(/(?:\r\n?|\n)/g);
|
|
179
|
+
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
|
|
180
180
|
var a = this.match.split(/(?:\r\n?|\n)/g);
|
|
181
181
|
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), r.length - 1 && (this.yylineno -= r.length - 1);
|
|
182
182
|
var u = this.yylloc.range;
|
|
@@ -205,27 +205,27 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
205
205
|
return this;
|
|
206
206
|
}, "reject"),
|
|
207
207
|
// retain first n characters of the match
|
|
208
|
-
less: /* @__PURE__ */ o(function(
|
|
209
|
-
this.unput(this.match.slice(
|
|
208
|
+
less: /* @__PURE__ */ o(function(i) {
|
|
209
|
+
this.unput(this.match.slice(i));
|
|
210
210
|
}, "less"),
|
|
211
211
|
// displays already matched input, i.e. for error messages
|
|
212
212
|
pastInput: /* @__PURE__ */ o(function() {
|
|
213
|
-
var
|
|
214
|
-
return (
|
|
213
|
+
var i = this.matched.substr(0, this.matched.length - this.match.length);
|
|
214
|
+
return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
|
|
215
215
|
}, "pastInput"),
|
|
216
216
|
// displays upcoming input, i.e. for error messages
|
|
217
217
|
upcomingInput: /* @__PURE__ */ o(function() {
|
|
218
|
-
var
|
|
219
|
-
return
|
|
218
|
+
var i = this.match;
|
|
219
|
+
return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
220
220
|
}, "upcomingInput"),
|
|
221
221
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
222
222
|
showPosition: /* @__PURE__ */ o(function() {
|
|
223
|
-
var
|
|
224
|
-
return
|
|
223
|
+
var i = this.pastInput(), n = new Array(i.length + 1).join("-");
|
|
224
|
+
return i + this.upcomingInput() + `
|
|
225
225
|
` + n + "^";
|
|
226
226
|
}, "showPosition"),
|
|
227
227
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
228
|
-
test_match: /* @__PURE__ */ o(function(
|
|
228
|
+
test_match: /* @__PURE__ */ o(function(i, n) {
|
|
229
229
|
var r, a, u;
|
|
230
230
|
if (this.options.backtrack_lexer && (u = {
|
|
231
231
|
yylineno: this.yylineno,
|
|
@@ -246,12 +246,12 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
246
246
|
yy: this.yy,
|
|
247
247
|
conditionStack: this.conditionStack.slice(0),
|
|
248
248
|
done: this.done
|
|
249
|
-
}, this.options.ranges && (u.yylloc.range = this.yylloc.range.slice(0))), a =
|
|
249
|
+
}, this.options.ranges && (u.yylloc.range = this.yylloc.range.slice(0))), a = i[0].match(/(?:\r\n?|\n).*/g), a && (this.yylineno += a.length), this.yylloc = {
|
|
250
250
|
first_line: this.yylloc.last_line,
|
|
251
251
|
last_line: this.yylineno + 1,
|
|
252
252
|
first_column: this.yylloc.last_column,
|
|
253
|
-
last_column: a ? a[a.length - 1].length - a[a.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column +
|
|
254
|
-
}, this.yytext +=
|
|
253
|
+
last_column: a ? a[a.length - 1].length - a[a.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
|
|
254
|
+
}, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], r = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), r)
|
|
255
255
|
return r;
|
|
256
256
|
if (this._backtrack) {
|
|
257
257
|
for (var t in u)
|
|
@@ -265,13 +265,13 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
265
265
|
if (this.done)
|
|
266
266
|
return this.EOF;
|
|
267
267
|
this._input || (this.done = !0);
|
|
268
|
-
var
|
|
268
|
+
var i, n, r, a;
|
|
269
269
|
this._more || (this.yytext = "", this.match = "");
|
|
270
270
|
for (var u = this._currentRules(), t = 0; t < u.length; t++)
|
|
271
271
|
if (r = this._input.match(this.rules[u[t]]), r && (!n || r[0].length > n[0].length)) {
|
|
272
272
|
if (n = r, a = t, this.options.backtrack_lexer) {
|
|
273
|
-
if (
|
|
274
|
-
return
|
|
273
|
+
if (i = this.test_match(r, u[t]), i !== !1)
|
|
274
|
+
return i;
|
|
275
275
|
if (this._backtrack) {
|
|
276
276
|
n = !1;
|
|
277
277
|
continue;
|
|
@@ -280,7 +280,7 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
280
280
|
} else if (!this.options.flex)
|
|
281
281
|
break;
|
|
282
282
|
}
|
|
283
|
-
return n ? (
|
|
283
|
+
return n ? (i = this.test_match(n, u[a]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
284
284
|
` + this.showPosition(), {
|
|
285
285
|
text: "",
|
|
286
286
|
token: null,
|
|
@@ -430,39 +430,39 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
430
430
|
return o(B, "Parser"), B.prototype = T, T.Parser = B, new B();
|
|
431
431
|
})();
|
|
432
432
|
$.parser = $;
|
|
433
|
-
var xe = $, v = [], ne = [], ee = 0,
|
|
434
|
-
v = [], ne = [], ee = 0,
|
|
433
|
+
var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
|
|
434
|
+
v = [], ne = [], ee = 0, ie = {};
|
|
435
435
|
}, "clear"), De = /* @__PURE__ */ o((e) => {
|
|
436
436
|
if (v.length === 0)
|
|
437
437
|
return null;
|
|
438
438
|
const h = v[0].level;
|
|
439
439
|
let p = null;
|
|
440
|
-
for (let
|
|
441
|
-
if (v[
|
|
442
|
-
throw new Error('Items without section detected, found section ("' + v[
|
|
440
|
+
for (let s = v.length - 1; s >= 0; s--)
|
|
441
|
+
if (v[s].level === h && !p && (p = v[s]), v[s].level < h)
|
|
442
|
+
throw new Error('Items without section detected, found section ("' + v[s].label + '")');
|
|
443
443
|
return e === p?.level ? null : p;
|
|
444
444
|
}, "getSection"), he = /* @__PURE__ */ o(function() {
|
|
445
445
|
return ne;
|
|
446
446
|
}, "getSections"), Le = /* @__PURE__ */ o(function() {
|
|
447
|
-
const e = [], h = [], p = he(),
|
|
447
|
+
const e = [], h = [], p = he(), s = H();
|
|
448
448
|
for (const d of p) {
|
|
449
|
-
const
|
|
449
|
+
const _ = {
|
|
450
450
|
id: d.id,
|
|
451
|
-
label: j(d.label ?? "",
|
|
451
|
+
label: j(d.label ?? "", s),
|
|
452
452
|
labelType: "markdown",
|
|
453
453
|
isGroup: !0,
|
|
454
454
|
ticket: d.ticket,
|
|
455
455
|
shape: "kanbanSection",
|
|
456
456
|
level: d.level,
|
|
457
|
-
look:
|
|
457
|
+
look: s.look
|
|
458
458
|
};
|
|
459
|
-
h.push(
|
|
459
|
+
h.push(_);
|
|
460
460
|
const m = v.filter((l) => l.parentId === d.id);
|
|
461
461
|
for (const l of m) {
|
|
462
462
|
const D = {
|
|
463
463
|
id: l.id,
|
|
464
464
|
parentId: d.id,
|
|
465
|
-
label: j(l.label ?? "",
|
|
465
|
+
label: j(l.label ?? "", s),
|
|
466
466
|
labelType: "markdown",
|
|
467
467
|
isGroup: !1,
|
|
468
468
|
ticket: l?.ticket,
|
|
@@ -479,20 +479,20 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
return { nodes: h, edges: e, other: {}, config: H() };
|
|
482
|
-
}, "getData"), Oe = /* @__PURE__ */ o((e, h, p,
|
|
483
|
-
const
|
|
484
|
-
let m =
|
|
485
|
-
switch (
|
|
482
|
+
}, "getData"), Oe = /* @__PURE__ */ o((e, h, p, s, d) => {
|
|
483
|
+
const _ = H();
|
|
484
|
+
let m = _.mindmap?.padding ?? Y.mindmap.padding;
|
|
485
|
+
switch (s) {
|
|
486
486
|
case y.ROUNDED_RECT:
|
|
487
487
|
case y.RECT:
|
|
488
488
|
case y.HEXAGON:
|
|
489
489
|
m *= 2;
|
|
490
490
|
}
|
|
491
491
|
const l = {
|
|
492
|
-
id: j(h,
|
|
492
|
+
id: j(h, _) || "kbn" + ee++,
|
|
493
493
|
level: e,
|
|
494
|
-
label: j(p,
|
|
495
|
-
width:
|
|
494
|
+
label: j(p, _),
|
|
495
|
+
width: _.mindmap?.maxNodeWidth ?? Y.mindmap.maxNodeWidth,
|
|
496
496
|
padding: m,
|
|
497
497
|
isGroup: !1
|
|
498
498
|
};
|
|
@@ -503,7 +503,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
503
503
|
` : I = `{
|
|
504
504
|
` + d + `
|
|
505
505
|
}`;
|
|
506
|
-
const g =
|
|
506
|
+
const g = ke(I, { schema: Ee });
|
|
507
507
|
if (g.shape && (g.shape !== g.shape.toLowerCase() || g.shape.includes("_")))
|
|
508
508
|
throw new Error(`No such shape: ${g.shape}. Shape names should be lowercase.`);
|
|
509
509
|
g?.shape && g.shape === "kanbanItem" && (l.shape = g?.shape), g?.label && (l.label = g?.label), g?.icon && (l.icon = g?.icon.toString()), g?.assigned && (l.assigned = g?.assigned.toString()), g?.ticket && (l.ticket = g?.ticket.toString()), g?.priority && (l.priority = g?.priority);
|
|
@@ -537,7 +537,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
537
537
|
return y.DEFAULT;
|
|
538
538
|
}
|
|
539
539
|
}, "getType"), Ce = /* @__PURE__ */ o((e, h) => {
|
|
540
|
-
|
|
540
|
+
ie[e] = h;
|
|
541
541
|
}, "setElementForId"), we = /* @__PURE__ */ o((e) => {
|
|
542
542
|
if (!e)
|
|
543
543
|
return;
|
|
@@ -563,7 +563,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
563
563
|
default:
|
|
564
564
|
return "no-border";
|
|
565
565
|
}
|
|
566
|
-
}, "type2Str"), Te = /* @__PURE__ */ o(() => te, "getLogger"), Re = /* @__PURE__ */ o((e) =>
|
|
566
|
+
}, "type2Str"), Te = /* @__PURE__ */ o(() => te, "getLogger"), Re = /* @__PURE__ */ o((e) => ie[e], "getElementById"), Pe = {
|
|
567
567
|
clear: ve,
|
|
568
568
|
addNode: Oe,
|
|
569
569
|
getSections: he,
|
|
@@ -575,84 +575,84 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
575
575
|
type2Str: Ae,
|
|
576
576
|
getLogger: Te,
|
|
577
577
|
getElementById: Re
|
|
578
|
-
}, Ve = Pe, Be = /* @__PURE__ */ o(async (e, h, p,
|
|
578
|
+
}, Ve = Pe, Be = /* @__PURE__ */ o(async (e, h, p, s) => {
|
|
579
579
|
te.debug(`Rendering kanban diagram
|
|
580
580
|
` + e);
|
|
581
|
-
const
|
|
581
|
+
const _ = s.db.getData(), m = H();
|
|
582
582
|
m.htmlLabels = !1;
|
|
583
583
|
const l = fe(h);
|
|
584
|
-
for (const f of
|
|
584
|
+
for (const f of _.nodes)
|
|
585
585
|
f.domId = `${h}-${f.id}`;
|
|
586
586
|
const D = l.append("g");
|
|
587
587
|
D.attr("class", "sections");
|
|
588
588
|
const I = l.append("g");
|
|
589
589
|
I.attr("class", "items");
|
|
590
|
-
const g =
|
|
590
|
+
const g = _.nodes.filter(
|
|
591
591
|
// TODO: TypeScript 5.5 will infer this predicate automatically
|
|
592
592
|
(f) => f.isGroup
|
|
593
593
|
);
|
|
594
594
|
let w = 0;
|
|
595
|
-
const
|
|
595
|
+
const k = 10, F = [];
|
|
596
596
|
let N = 25;
|
|
597
597
|
for (const f of g) {
|
|
598
598
|
const A = m?.kanban?.sectionWidth || 200;
|
|
599
|
-
w = w + 1, f.x = A * w + (w - 1) *
|
|
599
|
+
w = w + 1, f.x = A * w + (w - 1) * k / 2, f.width = A, f.y = 0, f.height = A * 3, f.rx = 5, f.ry = 5, f.cssClasses = f.cssClasses + " section-" + w;
|
|
600
600
|
const L = await ye(D, f);
|
|
601
|
-
N = Math.max(N, L?.labelBBox?.height),
|
|
601
|
+
N = Math.max(N, L?.labelBBox?.height), F.push(L);
|
|
602
602
|
}
|
|
603
603
|
let V = 0;
|
|
604
604
|
for (const f of g) {
|
|
605
|
-
const A =
|
|
605
|
+
const A = F[V];
|
|
606
606
|
V = V + 1;
|
|
607
|
-
const L = m?.kanban?.sectionWidth || 200,
|
|
608
|
-
let T =
|
|
609
|
-
const K =
|
|
610
|
-
for (const
|
|
611
|
-
if (
|
|
607
|
+
const L = m?.kanban?.sectionWidth || 200, M = -L * 3 / 2 + N;
|
|
608
|
+
let T = M;
|
|
609
|
+
const K = _.nodes.filter((i) => i.parentId === f.id);
|
|
610
|
+
for (const i of K) {
|
|
611
|
+
if (i.isGroup)
|
|
612
612
|
throw new Error("Groups within groups are not allowed in Kanban diagrams");
|
|
613
|
-
|
|
614
|
-
const r = (await be(I,
|
|
615
|
-
|
|
613
|
+
i.x = f.x, i.width = L - 1.5 * k;
|
|
614
|
+
const r = (await be(I, i, { config: m })).node().getBBox();
|
|
615
|
+
i.y = T + r.height / 2, await me(i), T = i.y + r.height / 2 + k / 2;
|
|
616
616
|
}
|
|
617
|
-
const B = A.cluster.select("rect"), O = Math.max(T -
|
|
617
|
+
const B = A.cluster.select("rect"), O = Math.max(T - M + 3 * k, 50) + (N - 25);
|
|
618
618
|
B.attr("height", O);
|
|
619
619
|
}
|
|
620
|
-
|
|
620
|
+
_e(
|
|
621
621
|
void 0,
|
|
622
622
|
l,
|
|
623
623
|
m.mindmap?.padding ?? Y.kanban.padding,
|
|
624
624
|
m.mindmap?.useMaxWidth ?? Y.kanban.useMaxWidth
|
|
625
625
|
);
|
|
626
|
-
}, "draw"),
|
|
626
|
+
}, "draw"), Ge = {
|
|
627
627
|
draw: Be
|
|
628
628
|
}, je = /* @__PURE__ */ o((e) => {
|
|
629
629
|
let h = "";
|
|
630
|
-
for (let
|
|
631
|
-
e["lineColor" +
|
|
632
|
-
const p = /* @__PURE__ */ o((
|
|
633
|
-
for (let
|
|
634
|
-
const d = "" + (17 - 3 *
|
|
630
|
+
for (let s = 0; s < e.THEME_COLOR_LIMIT; s++)
|
|
631
|
+
e["lineColor" + s] = e["lineColor" + s] || e["cScaleInv" + s], Se(e["lineColor" + s]) ? e["lineColor" + s] = ce(e["lineColor" + s], 20) : e["lineColor" + s] = le(e["lineColor" + s], 20);
|
|
632
|
+
const p = /* @__PURE__ */ o((s, d) => e.darkMode ? le(s, d) : ce(s, d), "adjuster");
|
|
633
|
+
for (let s = 0; s < e.THEME_COLOR_LIMIT; s++) {
|
|
634
|
+
const d = "" + (17 - 3 * s);
|
|
635
635
|
h += `
|
|
636
|
-
.section-${
|
|
637
|
-
fill: ${p(e["cScale" +
|
|
638
|
-
stroke: ${p(e["cScale" +
|
|
636
|
+
.section-${s - 1} rect, .section-${s - 1} path, .section-${s - 1} circle, .section-${s - 1} polygon, .section-${s - 1} path {
|
|
637
|
+
fill: ${p(e["cScale" + s], 10)};
|
|
638
|
+
stroke: ${p(e["cScale" + s], 10)};
|
|
639
639
|
|
|
640
640
|
}
|
|
641
|
-
.section-${
|
|
642
|
-
fill: ${e["cScaleLabel" +
|
|
641
|
+
.section-${s - 1} text {
|
|
642
|
+
fill: ${e["cScaleLabel" + s]};
|
|
643
643
|
}
|
|
644
|
-
.node-icon-${
|
|
644
|
+
.node-icon-${s - 1} {
|
|
645
645
|
font-size: 40px;
|
|
646
|
-
color: ${e["cScaleLabel" +
|
|
646
|
+
color: ${e["cScaleLabel" + s]};
|
|
647
647
|
}
|
|
648
|
-
.section-edge-${
|
|
649
|
-
stroke: ${e["cScale" +
|
|
648
|
+
.section-edge-${s - 1}{
|
|
649
|
+
stroke: ${e["cScale" + s]};
|
|
650
650
|
}
|
|
651
|
-
.edge-depth-${
|
|
651
|
+
.edge-depth-${s - 1}{
|
|
652
652
|
stroke-width: ${d};
|
|
653
653
|
}
|
|
654
|
-
.section-${
|
|
655
|
-
stroke: ${e["cScaleInv" +
|
|
654
|
+
.section-${s - 1} line {
|
|
655
|
+
stroke: ${e["cScaleInv" + s]} ;
|
|
656
656
|
stroke-width: 3;
|
|
657
657
|
}
|
|
658
658
|
|
|
@@ -681,7 +681,7 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
681
681
|
`;
|
|
682
682
|
}
|
|
683
683
|
return h;
|
|
684
|
-
}, "genSections"),
|
|
684
|
+
}, "genSections"), Fe = /* @__PURE__ */ o((e) => `
|
|
685
685
|
.edge {
|
|
686
686
|
stroke-width: 3;
|
|
687
687
|
}
|
|
@@ -713,11 +713,11 @@ var xe = $, v = [], ne = [], ee = 0, se = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
713
713
|
text-align: center;
|
|
714
714
|
}
|
|
715
715
|
${Ne()}
|
|
716
|
-
`, "getStyles"),
|
|
716
|
+
`, "getStyles"), Me = Fe, We = {
|
|
717
717
|
db: Ve,
|
|
718
|
-
renderer:
|
|
718
|
+
renderer: Ge,
|
|
719
719
|
parser: xe,
|
|
720
|
-
styles:
|
|
720
|
+
styles: Me
|
|
721
721
|
};
|
|
722
722
|
export {
|
|
723
723
|
We as diagram
|
package/dist/{kanban-definition-HUTT4EX6-CvBgN3eX.cjs → kanban-definition-HUTT4EX6-RjzOWas9.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./mermaid.core-CRP55Hm1.cjs"),le=require("./chunk-5VM5RSS4-CYVpj2mc.cjs");var J=(function(){var e=n.__name(function(O,s,i,a){for(i=i||{},a=O.length;a--;i[O[a]]=s);return i},"o"),h=[1,4],p=[1,13],r=[1,12],d=[1,15],b=[1,16],y=[1,20],l=[1,19],D=[6,7,8],C=[1,26],g=[1,24],T=[1,25],k=[6,7,11],M=[1,31],x=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],w=[1,36],L=[1,6,7,11,13,16,17,20,23],F=[1,38],A={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},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,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:n.__name(function(s,i,a,o,u,t,G){var c=t.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",t[c-1].id),o.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:o.getLogger().info("Node: ",t[c].id),o.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:o.getLogger().trace("Icon: ",t[c]),o.decorateNode({icon:t[c]});break;case 18:case 23:o.decorateNode({class:t[c]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",t[c-1].id),o.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:o.getLogger().trace("Node: ",t[c].id),o.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:o.decorateNode({icon:t[c]});break;case 27:o.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:o.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];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:p,7:[1,10],9:9,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:p,9:22,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:C,7:g,10:23,11:T},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:y,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:M}),e(k,[2,22]),e(k,[2,23]),e(x,[2,25]),e(x,[2,26]),e(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:g,10:34,11:T},{1:[2,7],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(V,[2,14],{7:f,11:w}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(k,[2,16],{15:37,24:M}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:F}),e(x,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:w}),e(L,[2,11]),e(L,[2,12]),e(k,[2,15],{24:F}),e(x,[2,30]),{22:[1,41]},e(x,[2,27]),e(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:n.__name(function(s,i){if(i.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=i,a}},"parseError"),parse:n.__name(function(s){var i=this,a=[0],o=[],u=[null],t=[],G=this.table,c="",U=0,ee=0,re=2,te=1,ae=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(R.yy[X]=this.yy[X]);m.setInput(s,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var K=m.yylloc;t.push(K);var oe=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(S){a.length=a.length-2*S,u.length=u.length-S,t.length=t.length-S}n.__name(ce,"popStack");function ne(){var S;return S=o.pop()||m.lex()||te,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=i.symbols_[S]||S),S}n.__name(ne,"lex");for(var E,P,N,Y,j={},H,I,ie,z;;){if(P=a[a.length-1],this.defaultActions[P]?N=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=ne()),N=G[P]&&G[P][E]),typeof N>"u"||!N.length||!N[0]){var q="";z=[];for(H in G[P])this.terminals_[H]&&H>re&&z.push("'"+this.terminals_[H]+"'");m.showPosition?q="Parse error on line "+(U+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
|
-
Expecting `+z.join(", ")+", got '"+(this.terminals_[E]||E)+"'":q="Parse error on line "+(
|
|
3
|
+
Expecting `+z.join(", ")+", got '"+(this.terminals_[E]||E)+"'":q="Parse error on line "+(U+1)+": Unexpected "+(E==te?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(q,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:K,expected:z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(N[0]){case 1:a.push(E),u.push(m.yytext),t.push(m.yylloc),a.push(N[1]),E=null,ee=m.yyleng,c=m.yytext,U=m.yylineno,K=m.yylloc;break;case 2:if(I=this.productions_[N[1]][1],j.$=u[u.length-I],j._$={first_line:t[t.length-(I||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(I||1)].first_column,last_column:t[t.length-1].last_column},oe&&(j._$.range=[t[t.length-(I||1)].range[0],t[t.length-1].range[1]]),Y=this.performAction.apply(j,[c,ee,U,R.yy,N[1],u,t].concat(ae)),typeof Y<"u")return Y;I&&(a=a.slice(0,-1*I*2),u=u.slice(0,-1*I),t=t.slice(0,-1*I)),a.push(this.productions_[N[1]][0]),u.push(j.$),t.push(j._$),ie=G[a[a.length-2]][a[a.length-1]],a.push(ie);break;case 3:return!0}}return!0},"parse")},W=(function(){var O={EOF:1,parseError:n.__name(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:n.__name(function(s,i){return this.yy=i||this.yy||{},this._input=s,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 s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var i=s.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:n.__name(function(s){var i=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var o=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),a.length-1&&(this.yylineno-=a.length-1);var u=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:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-i]),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(s){this.unput(this.match.slice(s))},"less"),pastInput:n.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var s=this.pastInput(),i=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
5
5
|
`+i+"^"},"showPosition"),test_match:n.__name(function(s,i){var a,o,u;if(this.options.backtrack_lexer&&(u={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(u.yylloc.range=this.yylloc.range.slice(0))),o=s[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],a=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var t in u)this[t]=u[t];return!1}return!1},"test_match"),next:n.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,i,a,o;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),t=0;t<u.length;t++)if(a=this._input.match(this.rules[u[t]]),a&&(!i||a[0].length>i[0].length)){if(i=a,o=t,this.options.backtrack_lexer){if(s=this.test_match(a,u[t]),s!==!1)return s;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(s=this.test_match(i,u[o]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
6
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:n.__name(function(){var i=this.next();return i||this.lex()},"lex"),begin:n.__name(function(i){this.conditionStack.push(i)},"begin"),popState:n.__name(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:n.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:n.__name(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:n.__name(function(i){this.begin(i)},"pushState"),stateStackSize:n.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:n.__name(function(i,a,o,u){switch(o){case 0:return this.pushState("shapeData"),a.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const t=/\n\s*/g;return a.yytext=a.yytext.replace(t,"<br/>"),24;case 4:return 24;case 5:this.popState();break;case 6:return i.getLogger().trace("Found comment",a.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 10:this.popState();break;case 11:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return i.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:i.getLogger().trace("end icon"),this.popState();break;case 16:return i.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return i.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return i.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:return this.begin("NODE"),20;case 21:return this.begin("NODE"),20;case 22:return this.begin("NODE"),20;case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return i.getLogger().trace("description:",a.yytext),"NODE_DESCR";case 32:this.popState();break;case 33:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),i.getLogger().trace("node end ...",a.yytext),"NODE_DEND";case 36:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 37:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 38:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 39:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 40:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 41:return i.getLogger().trace("Long description:",a.yytext),21;case 42:return i.getLogger().trace("Long description:",a.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return O})();A.lexer=W;function B(){this.yy={}}return n.__name(B,"Parser"),B.prototype=A,A.Parser=B,new B})();J.parser=J;var he=J,v=[],Z=[],Q=0,$={},ue=n.__name(()=>{v=[],Z=[],Q=0,$={}},"clear"),ge=n.__name(e=>{if(v.length===0)return null;const h=v[0].level;let p=null;for(let r=v.length-1;r>=0;r--)if(v[r].level===h&&!p&&(p=v[r]),v[r].level<h)throw new Error('Items without section detected, found section ("'+v[r].label+'")');return e===p?.level?null:p},"getSection"),se=n.__name(function(){return Z},"getSections"),de=n.__name(function(){const e=[],h=[],p=se(),r=n.getConfig2();for(const d of p){const b={id:d.id,label:n.sanitizeText(d.label??"",r),labelType:"markdown",isGroup:!0,ticket:d.ticket,shape:"kanbanSection",level:d.level,look:r.look};h.push(b);const y=v.filter(l=>l.parentId===d.id);for(const l of y){const D={id:l.id,parentId:d.id,label:n.sanitizeText(l.label??"",r),labelType:"markdown",isGroup:!1,ticket:l?.ticket,priority:l?.priority,assigned:l?.assigned,icon:l?.icon,shape:"kanbanItem",level:l.level,rx:5,ry:5,cssStyles:["text-align: left"]};h.push(D)}}return{nodes:h,edges:e,other:{},config:n.getConfig2()}},"getData"),pe=n.__name((e,h,p,r,d)=>{const b=n.getConfig2();let y=b.mindmap?.padding??n.defaultConfig_default.mindmap.padding;switch(r){case _.ROUNDED_RECT:case _.RECT:case _.HEXAGON:y*=2}const l={id:n.sanitizeText(h,b)||"kbn"+Q++,level:e,label:n.sanitizeText(p,b),width:b.mindmap?.maxNodeWidth??n.defaultConfig_default.mindmap.maxNodeWidth,padding:y,isGroup:!1};if(d!==void 0){let C;d.includes(`
|