@pi-outpost/embed 0.15.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PdfViewer-BEdoeHbS.cjs +1 -0
- package/dist/{PdfViewer-BHP5lV-o.js → PdfViewer-DvoTT6jM.js} +5 -5
- package/dist/{abnfDiagram-N423BO3Z-WMOVzCba.js → abnfDiagram-VCTEODGH-CYuCmqs8.js} +6 -6
- package/dist/abnfDiagram-VCTEODGH-SjZtzoAs.cjs +1 -0
- package/dist/{arc-BBnpgwVQ.js → arc-CtDF59mU.js} +8 -6
- package/dist/arc-Dh2Zrypi.cjs +1 -0
- package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +1 -0
- package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +3 -0
- package/dist/{architectureDiagram-T3A2C74G-BH-F8FzB.js → architectureDiagram-5GKGNRK7-D2-hmLgN.js} +327 -318
- package/dist/architectureDiagram-5GKGNRK7-wrDPdf3y.cjs +36 -0
- package/dist/blockDiagram-OSKFZWR5-Boo8WJyt.cjs +129 -0
- package/dist/blockDiagram-OSKFZWR5-Bvi4xQOy.js +1922 -0
- package/dist/{browser-CynjNfkw.js → browser-BmmG9yeb.js} +40 -34
- package/dist/{browser-CAyUayTx.cjs → browser-CUQnQIhV.cjs} +5 -5
- package/dist/c-AHDGPWiJ.cjs +1 -0
- package/dist/{c-Cw4FsAeJ.js → c-BCMbpktW.js} +42 -31
- package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +38 -0
- package/dist/{c4Diagram-5PPSVZJV-Cfnl6tZM.js → c4Diagram-7LVT6UL2-CU4tNaf1.js} +751 -703
- package/dist/{channel-Bq-0ENlK.js → channel-Cuipqk56.js} +1 -1
- package/dist/channel-DcrLLvcO.cjs +1 -0
- package/dist/{chunk-JQJVKLGR-CZorbEP3.js → chunk-3NF5O7KM-B-2znsHr.js} +155 -115
- package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +168 -0
- package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +62 -0
- package/dist/chunk-4HAMMTFA-dRm_HqMI.js +4188 -0
- package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +2 -0
- package/dist/{chunk-NSK5VX7P-DPxIxDdV.js → chunk-75Z2AOVW-Eg_bFxBJ.js} +60 -96
- package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +127 -0
- package/dist/{chunk-I66GZJ75-DexfhZwA.js → chunk-DU6HZSFF-CaHy-FdL.js} +527 -478
- package/dist/{chunk-2GRJ4B5K-DzaxUd3W.cjs → chunk-F27PBJKO-3UPgzIlN.cjs} +1 -1
- package/dist/{chunk-2GRJ4B5K-DXwE-yr5.js → chunk-F27PBJKO-BriqLvNp.js} +4 -4
- package/dist/{chunk-KEIR6QF5-BVnxrdHo.js → chunk-FOHPRMQF-BNNbqxGX.js} +424 -356
- package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +161 -0
- package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +72 -0
- package/dist/{chunk-WRU74C26-D4huAZcy.js → chunk-GMAD6QVW-DCCx2Rg1.js} +503 -267
- package/dist/chunk-GVQU2GXP-BRMv2gX3.js +37 -0
- package/dist/chunk-GVQU2GXP-iZT_vNLp.cjs +1 -0
- package/dist/{chunk-GF5L2VYU-BPBMCCz5.js → chunk-HLEWEB6X-DlG0X171.js} +16 -16
- package/dist/{chunk-GF5L2VYU-DgG-wovM.cjs → chunk-HLEWEB6X-aqFoPl02.cjs} +4 -4
- package/dist/chunk-L3NEJ4N5-DkoFQHrz.js +245 -0
- package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +1 -0
- package/dist/{chunk-7Z6QIM7H-CIoK8R3m.js → chunk-OSK3NFVY-CxjvZYNR.js} +232 -150
- package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +10 -0
- package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +1 -0
- package/dist/{chunk-W5SLKNZC-Djmw_p6f.js → chunk-P2QGCYS3-uCJfSNHC.js} +19 -19
- package/dist/{chunk-KBJHAD2P-CthZVYG5.cjs → chunk-POPQ4Y6H-BRQPB1-9.cjs} +1 -1
- package/dist/{chunk-KBJHAD2P-BlQyFndF.js → chunk-POPQ4Y6H-D2Z11lA3.js} +3 -3
- package/dist/{chunk-4I5QYGJK-LCSWSJfh.cjs → chunk-PWAF6VOD-CZZKCekP.cjs} +1 -1
- package/dist/{chunk-4I5QYGJK-JZmvuONC.js → chunk-PWAF6VOD-j4sFqhOF.js} +7 -9
- package/dist/{chunk-6Q2QTUOP-C5n08EA-.cjs → chunk-SVP7TREG-CTKSOFlx.cjs} +2 -2
- package/dist/{chunk-6Q2QTUOP-DvJxCxMM.js → chunk-SVP7TREG-CtJsmAIb.js} +4 -4
- package/dist/{chunk-XXDRQBXY-DsVp5qjg.js → chunk-XXDRQBXY-fOrVUHLI.js} +1 -1
- package/dist/{chunk-XXDRQBXY-gWcN0uCZ.cjs → chunk-XXDRQBXY-yMT3rT5Y.cjs} +1 -1
- package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +231 -0
- package/dist/{chunk-5RXB4S5H-JthGygoA.js → chunk-ZLD2IHE6-tqumZV0E.js} +44 -48
- package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +1 -0
- package/dist/classDiagram-CYGNFDIV-DIu4rTyR.js +30 -0
- package/dist/classDiagram-v2-TLXNO2FR-BsYK4QnI.js +30 -0
- package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +1 -0
- package/dist/{core-BO2hTFeF.js → core-B9pe29T7.js} +8 -7
- package/dist/core-BrupIPpc.cjs +3 -0
- package/dist/{cose-bilkent-JH36ORCC-BFo5zomD.js → cose-bilkent-JH36ORCC-1Ad4jvll.js} +65 -62
- package/dist/cose-bilkent-JH36ORCC-Cc2qvpLA.cjs +1 -0
- package/dist/{cpp-CeyO6lBG.js → cpp-CL2nTisp.js} +25 -14
- package/dist/cpp-DpAsh4uT.cjs +1 -0
- package/dist/{csharp-Ck6Fet_o.js → csharp-CK75iOSn.js} +37 -37
- package/dist/csharp-TOr_W-v9.cjs +1 -0
- package/dist/css-4wogsuks.cjs +1 -0
- package/dist/{css-ClSGJRju.js → css-DJr8nnnu.js} +6 -1
- package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +1 -0
- package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +3 -0
- package/dist/{cynefinDiagram-MW4NZA55-CB4ZzMEN.js → cynefinDiagram-5FMLGOSQ-BSRTnQvp.js} +29 -23
- package/dist/cynefinDiagram-5FMLGOSQ-GvGZco52.cjs +62 -0
- package/dist/{cytoscape.esm-asYnbYTy.js → cytoscape.esm-Cq7KPj0t.js} +2480 -2480
- package/dist/cytoscape.esm-uHsEX1XI.cjs +321 -0
- package/dist/{dagre-BpqwxFKp.js → dagre-BMKbPnPh.js} +689 -456
- package/dist/dagre-EEW2OxRU.cjs +1 -0
- package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +4 -0
- package/dist/dagre-OS7QT2EB-DcpSzxsR.js +425 -0
- package/dist/{defaultLocale-up9-vqhM.js → defaultLocale-B4ncmkvI.js} +1 -4
- package/dist/defaultLocale-ybN1Vtvg.cjs +1 -0
- package/dist/diagram-S7CK7UJ4-BA67ZpiO.cjs +30 -0
- package/dist/{diagram-7IWD3JNH-Cschro8T.js → diagram-S7CK7UJ4-Cx2fQdp6.js} +39 -38
- package/dist/{diagram-UB23O5K3-D-yL2fvd.js → diagram-UQ7AKVKN-CvQH-Box.js} +12 -12
- package/dist/diagram-UQ7AKVKN-OteiyKD9.cjs +41 -0
- package/dist/{diagram-B4RE2ZJO-DKbKOwkP.cjs → diagram-VSXAHHWV-BjsZz1JJ.cjs} +1 -1
- package/dist/{diagram-B4RE2ZJO-B94mhDmV.js → diagram-VSXAHHWV-CCpCVOIq.js} +6 -6
- package/dist/diagram-VX7I27RA-Bx9fEhR0.cjs +24 -0
- package/dist/{diagram-Q27KOJAE-Cqn3IliP.js → diagram-VX7I27RA-HE5nQAXN.js} +64 -62
- package/dist/{diagram-LBJQPF4R-D0MEwBt6.js → diagram-Z3DM3KII-BEu4c4pP.js} +11 -11
- package/dist/diagram-Z3DM3KII-jy895UiZ.cjs +24 -0
- package/dist/{dist-D6LMt8nW.js → dist-Dtt9eY41.js} +1 -1
- package/dist/{dist-DNGlMOWd.cjs → dist-Dwv2VYAL.cjs} +1 -1
- package/dist/{ebnfDiagram-BXEA7PRR-B2HDWFYF.js → ebnfDiagram-PWID7BFC-B06rGL3A.js} +6 -6
- package/dist/ebnfDiagram-PWID7BFC-BQZKHpUr.cjs +1 -0
- package/dist/erDiagram-2YWLMYGG-CuEEIv1I.cjs +99 -0
- package/dist/{erDiagram-JOGREHBK-Badv_hu8.js → erDiagram-2YWLMYGG-IL4IhNXb.js} +1046 -807
- package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +1 -0
- package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +3 -0
- package/dist/flowDiagram-T62WH6J4-DdJo3Te1.js +16 -0
- package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +1 -0
- package/dist/{ganttDiagram-PKOTCBZU-By0w7TmO.js → ganttDiagram-EL5Y4UJY-CIBhrOW6.js} +26 -36
- package/dist/ganttDiagram-EL5Y4UJY-PTWIufq8.cjs +292 -0
- package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +3 -0
- package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +1 -0
- package/dist/{gitGraphDiagram-DS77QQ5N-B1uJYchG.js → gitGraphDiagram-WWUBYQGX-CjeedV4i.js} +16 -12
- package/dist/{gitGraphDiagram-DS77QQ5N-Fw8a66di.cjs → gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs} +3 -3
- package/dist/{go-rg7jg1mu.js → go-B2E3I9E3.js} +4 -0
- package/dist/{go-D-pz-dmd.cjs → go-BDkypVKn.cjs} +1 -1
- package/dist/{graphlib-CkkG5MuS.cjs → graphlib-BaETKKSa.cjs} +1 -1
- package/dist/{graphlib-B0GbLif1.js → graphlib-CQa_B3rm.js} +5 -5
- package/dist/info-A6RAGUB7-Cx39sHYM.js +3 -0
- package/dist/info-A6RAGUB7-DT06-FB3.cjs +1 -0
- package/dist/{infoDiagram-6WML65LV-CkWm_KTB.js → infoDiagram-FKFFQAWI-BalzsRT4.js} +6 -6
- package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +2 -0
- package/dist/init-BJdqMO10.cjs +1 -0
- package/dist/{init-CirqLVcp.js → init-CuXVI8k2.js} +1 -3
- package/dist/{ishikawaDiagram-WSZJBQD7-DTeFqC8L.js → ishikawaDiagram-5VMMS53U-BC2vrJSo.js} +14 -14
- package/dist/{ishikawaDiagram-WSZJBQD7-CQWHhozU.cjs → ishikawaDiagram-5VMMS53U-DN23jmFw.cjs} +3 -3
- package/dist/java-DFBMvIUR.cjs +1 -0
- package/dist/{java-HguKEfA2.js → java-T8Nr25pJ.js} +27 -22
- package/dist/{javascript-C8NCH8DE.js → javascript-CIP6I0eT.js} +6 -4
- package/dist/javascript-Gn0piXHk.cjs +1 -0
- package/dist/{journeyDiagram-NVQOT4AX-Cg6C3dFy.js → journeyDiagram-EYS64GPL-CLMBONXO.js} +14 -14
- package/dist/{journeyDiagram-NVQOT4AX-DLomv_vN.cjs → journeyDiagram-EYS64GPL-Co9rp-Q1.cjs} +3 -3
- package/dist/json-DOqjN5nI.js +42 -0
- package/dist/json-LMrXTXZM.cjs +1 -0
- package/dist/{kanban-definition-27J2QSJJ-B9Fog3W7.cjs → kanban-definition-UXKFOSKX-DzKPVjAq.cjs} +5 -5
- package/dist/{kanban-definition-27J2QSJJ-Bb7nb0gX.js → kanban-definition-UXKFOSKX-SNTHZo65.js} +31 -31
- package/dist/katex-CEF6MvLx.cjs +257 -0
- package/dist/katex-ohtLbxXc.js +21977 -0
- package/dist/{line-yqcJYv29.js → line-4_dF7rOW.js} +2 -2
- package/dist/{line-pOZ7Sdj7.cjs → line-D6gR53Af.cjs} +1 -1
- package/dist/{linear-CVhyaVzf.js → linear-C1gZJMVz.js} +8 -9
- package/dist/linear-Nt9BuHfn.cjs +1 -0
- package/dist/{markdown-CzgRofaE.js → markdown-BW-hB0s4.js} +2 -5
- package/dist/markdown-CTkHoGys.cjs +1 -0
- package/dist/{mermaid-parser.core-Cgsz0CdK.cjs → mermaid-parser.core-CBiDgMLi.cjs} +2 -2
- package/dist/{mermaid-parser.core-B8DQcCaz.js → mermaid-parser.core-DLNlSmfj.js} +31 -31
- package/dist/mermaid.core-B3QcBB1O.cjs +43 -0
- package/dist/mermaid.core-BIqYA7q2.js +3012 -0
- package/dist/{mindmap-definition-FAOFIHXS-9wa1P9NT.cjs → mindmap-definition-THT77NOG-Bo3D8RRT.cjs} +4 -4
- package/dist/{mindmap-definition-FAOFIHXS-DFG0Zs_1.js → mindmap-definition-THT77NOG-BtDuvAQ_.js} +27 -29
- package/dist/{ordinal-D0iNZ43g.cjs → ordinal-Bm_chml2.cjs} +1 -1
- package/dist/{ordinal-C1oQzsBn.js → ordinal-D3SPD7Kk.js} +2 -2
- package/dist/packet-AYTQ26CC-BGX2McoE.cjs +1 -0
- package/dist/packet-AYTQ26CC-IgkU2VYK.js +3 -0
- package/dist/path-DIS6ck99.cjs +1 -0
- package/dist/{path-mKa7UESy.js → path-PGqhG0Rz.js} +10 -11
- package/dist/{pdf-DyDm1M1B.js → pdf-B6zVkETi.js} +182 -220
- package/dist/pdf-cYqATYeW.cjs +54 -0
- package/dist/pegDiagram-XKGWAZYB-Cx-wZf4B.cjs +1 -0
- package/dist/{pegDiagram-VL7TDLO6-XOjprD-j.js → pegDiagram-XKGWAZYB-Ucd8o52_.js} +6 -6
- package/dist/{php-C9FOMGEA.js → php-Cn7gPoxt.js} +6 -0
- package/dist/{php-j6EhDZDE.cjs → php-DQmdBizx.cjs} +1 -1
- package/dist/pi-outpost-embed.cjs +62 -62
- package/dist/pi-outpost-embed.js +5192 -5152
- package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +1 -0
- package/dist/pie-WAS4IAKB-odE0A7fM.js +3 -0
- package/dist/pieDiagram-E7YTZNPT-BC-pW4cK.cjs +39 -0
- package/dist/{pieDiagram-7S7Q4E2Y-Cwe7fXgJ.js → pieDiagram-E7YTZNPT-DSx5wFMY.js} +20 -22
- package/dist/{python-DKAazMIE.js → python-BUfdXZqP.js} +6 -6
- package/dist/python-CrsffQw-.cjs +1 -0
- package/dist/{quadrantDiagram-CIZ2JOQS-CbaMHmYB.js → quadrantDiagram-AXDQQJYC-D8Y50xmh.js} +11 -11
- package/dist/{quadrantDiagram-CIZ2JOQS-CDfrU0dm.cjs → quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs} +2 -2
- package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +1 -0
- package/dist/radar-RG4KPBEZ-DqbNqlJH.js +3 -0
- package/dist/railroad-74A4TZTK-Dzt4afqg.js +3 -0
- package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +1 -0
- package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +1 -0
- package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +3 -0
- package/dist/railroadDiagram-O6MQD6OU-3JsgWyLe.cjs +1 -0
- package/dist/{railroadDiagram-AXF67PYL-CVXAv-Uu.js → railroadDiagram-O6MQD6OU-BTg2KtZO.js} +6 -6
- package/dist/{requirementDiagram-LRYGKXZP-Bzik4kgS.js → requirementDiagram-IS5BZ75X-C1OrS7DV.js} +25 -24
- package/dist/{requirementDiagram-LRYGKXZP-BGlGCftH.cjs → requirementDiagram-IS5BZ75X-D1BMLxZg.cjs} +4 -4
- package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/{rolldown-runtime-mLOUI7ql.cjs → rolldown-runtime-DF3sbh8G.cjs} +1 -1
- package/dist/{rough.esm-r0QOSzHM.cjs → rough.esm-ChRLLRha.cjs} +1 -1
- package/dist/{rough.esm-C5XyeDCN.js → rough.esm-D2JJJ0Ot.js} +60 -51
- package/dist/{ruby-ClR4zp-1.cjs → ruby-B1inj-Q8.cjs} +1 -1
- package/dist/{ruby-BAUeZQKZ.js → ruby-DYVKXPXk.js} +1 -1
- package/dist/{rust-DiTjMjP5.js → rust-BihXqTNi.js} +38 -25
- package/dist/rust-D39kF6re.cjs +1 -0
- package/dist/{sankeyDiagram-W5VNT64P-OeLUMuT6.cjs → sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs} +2 -2
- package/dist/{sankeyDiagram-W5VNT64P-_8xZpo45.js → sankeyDiagram-P5KCCOFB-DTnkE4oO.js} +17 -15
- package/dist/{scss-CckAvQOx.js → scss-CzfrZ5cc.js} +6 -1
- package/dist/scss-t-vKjRr4.cjs +1 -0
- package/dist/{sequenceDiagram-SI44F4Z6-X4mzY21C.js → sequenceDiagram-WJ2MYXX4-Ba-z2rSx.js} +36 -48
- package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +162 -0
- package/dist/{sizeCapture-X5ZJPWSS-DKbHZNyz.js → sizeCapture-INFHLROL-B5Lg3qGn.js} +1 -1
- package/dist/{src-DJ4x3y2O.js → src-BMMAFeC3.js} +288 -291
- package/dist/src-D9o9TOtH.cjs +1 -0
- package/dist/{stateDiagram-OKZ733FA-CMM1orC_.js → stateDiagram-XQSTLZYL-BtcUS_dg.js} +21 -21
- package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +1 -0
- package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +1 -0
- package/dist/stateDiagram-v2-IH3M54BS-E_Rhduzm.js +30 -0
- package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +1 -0
- package/dist/{swimlanes-SLNWSIFB-C7LLK1V2.js → swimlanes-V6O3JKXN-xxlpXv1f.js} +1022 -1109
- package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +8 -0
- package/dist/swimlanesDiagram-JKAHXJPX-DyQwD-QO.js +30 -0
- package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +120 -0
- package/dist/{timeline-definition-Z64GVDOM-Cgc-2OmU.js → timeline-definition-24CTP7MA-Dr8ouzBO.js} +19 -19
- package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +1 -0
- package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +3 -0
- package/dist/treemap-WGGIJYW6-CGULpntJ.js +3 -0
- package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +1 -0
- package/dist/typescript-BarIi8q9.cjs +1 -0
- package/dist/{typescript-mdYq8uqf.js → typescript-C93MG6Zk.js} +26 -24
- package/dist/vennDiagram-4TSXK5OY-D5MMYyff.cjs +34 -0
- package/dist/{vennDiagram-T6HMQDX7-BWj1BhMh.js → vennDiagram-4TSXK5OY-i6B1rhUA.js} +15 -15
- package/dist/wardley-WFR3VGLG-9zHZLKh9.js +3 -0
- package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +1 -0
- package/dist/{wardleyDiagram-T6FBY63Y-d_t4oVLE.js → wardleyDiagram-VM6X3IG4-1SFyFcXg.js} +46 -46
- package/dist/{wardleyDiagram-T6FBY63Y-OomvVIFj.cjs → wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs} +36 -36
- package/dist/{workspacePath-BScUv3M_.js → workspacePath-CfDl0V4n.js} +1 -1
- package/dist/{workspacePath-kqTwbSP1.cjs → workspacePath-EgAFT36l.cjs} +1 -1
- package/dist/{xml-BamqaQOf.cjs → xml-B0vjUBag.cjs} +1 -1
- package/dist/{xml-DVYfB8uY.js → xml-GxASmsT7.js} +2 -6
- package/dist/{xychartDiagram-ELKLHX3M-BOSOdubI.cjs → xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs} +4 -4
- package/dist/{xychartDiagram-ELKLHX3M-Ce-ai3a8.js → xychartDiagram-S5SC5T6Z-D6QDBBGJ.js} +263 -158
- package/dist/{yaml-_1BORZTQ.js → yaml-CHhF1kKQ.js} +25 -25
- package/dist/yaml-DZS9gzaB.cjs +1 -0
- package/package.json +2 -2
- package/dist/PdfViewer-BBmVq73v.cjs +0 -1
- package/dist/abnfDiagram-N423BO3Z-DOZfbvMH.cjs +0 -1
- package/dist/arc-DcUn9_NX.cjs +0 -1
- package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +0 -1
- package/dist/architecture-TIHT7OUA-DDyMqjR1.js +0 -3
- package/dist/architectureDiagram-T3A2C74G-RJUsi-Sx.cjs +0 -36
- package/dist/blockDiagram-VBNYF7ZC-Bz8oqXJQ.cjs +0 -132
- package/dist/blockDiagram-VBNYF7ZC-DYMmF9bV.js +0 -3160
- package/dist/c-4QgYfi8K.cjs +0 -1
- package/dist/c4Diagram-5PPSVZJV-DM6x-BYG.cjs +0 -10
- package/dist/channel-DoxF0tZj.cjs +0 -1
- package/dist/chunk-3NCLNEKW-CO28EZBG.cjs +0 -1
- package/dist/chunk-3NCLNEKW-dTH67Ne_.js +0 -10
- package/dist/chunk-5RXB4S5H-B5b3tdRl.cjs +0 -231
- package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +0 -82
- package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +0 -1
- package/dist/chunk-7Z6QIM7H-Ctljl7Vq.cjs +0 -10
- package/dist/chunk-I66GZJ75-CrpH-Rmq.cjs +0 -127
- package/dist/chunk-J7OUQ5F2-DhMpZbAr.js +0 -57
- package/dist/chunk-J7OUQ5F2-b-MfW4O9.cjs +0 -1
- package/dist/chunk-JQJVKLGR-2AQwaWbm.cjs +0 -156
- package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +0 -161
- package/dist/chunk-NSK5VX7P-D5CepZHI.cjs +0 -2
- package/dist/chunk-QR6OTTB3-CQ_jjYb-.js +0 -3736
- package/dist/chunk-QR6OTTB3-DSg3ZWNW.cjs +0 -62
- package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +0 -1
- package/dist/chunk-RYQCIY6F-C-YC3QS_.js +0 -239
- package/dist/chunk-UBXNYLIW-BBncokef.js +0 -32
- package/dist/chunk-UBXNYLIW-DlNyCWjj.cjs +0 -1
- package/dist/chunk-W5SLKNZC-bHBkM2CL.cjs +0 -1
- package/dist/chunk-WRU74C26-9KZxhHnn.cjs +0 -70
- package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +0 -32
- package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +0 -1146
- package/dist/classDiagram-JCYQIIEL-DeHc-x8i.cjs +0 -1
- package/dist/classDiagram-JCYQIIEL-DlHKjVPc.js +0 -30
- package/dist/classDiagram-v2-OCEON4UE-DeHc-x8i.cjs +0 -1
- package/dist/classDiagram-v2-OCEON4UE-DlhHN57j.js +0 -30
- package/dist/core-2nR1zkKb.cjs +0 -3
- package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +0 -1
- package/dist/cpp-BUtp-HE2.cjs +0 -1
- package/dist/csharp-BJu4kEpt.cjs +0 -1
- package/dist/css-DeFr0lev.cjs +0 -1
- package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +0 -1
- package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +0 -3
- package/dist/cynefinDiagram-MW4NZA55-By102s5I.cjs +0 -62
- package/dist/cytoscape.esm-ByjvpCPI.cjs +0 -321
- package/dist/dagre-BBlCxSvR.cjs +0 -1
- package/dist/dagre-VZM6K2ZE-5zrH2LqV.js +0 -328
- package/dist/dagre-VZM6K2ZE-CNe7-jhy.cjs +0 -4
- package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
- package/dist/diagram-7IWD3JNH-CSzLXhRw.cjs +0 -30
- package/dist/diagram-LBJQPF4R-DgD0a56I.cjs +0 -24
- package/dist/diagram-Q27KOJAE-DNWfiaD5.cjs +0 -24
- package/dist/diagram-UB23O5K3-DguyM6v_.cjs +0 -41
- package/dist/ebnfDiagram-BXEA7PRR-DuJrkFn-.cjs +0 -1
- package/dist/erDiagram-JOGREHBK-DtyaQROs.cjs +0 -85
- package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +0 -3
- package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +0 -1
- package/dist/flowDiagram-UKHOOZJN-C7t5VpYH.js +0 -17
- package/dist/flowDiagram-UKHOOZJN-CdkElxh8.cjs +0 -1
- package/dist/ganttDiagram-PKOTCBZU-CFgz4r57.cjs +0 -292
- package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +0 -3
- package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +0 -1
- package/dist/info-DKCQHKI2-BEYhR6ip.cjs +0 -1
- package/dist/info-DKCQHKI2-BPF6-pOb.js +0 -3
- package/dist/infoDiagram-6WML65LV-CB6z_iKE.cjs +0 -2
- package/dist/init-07zIhv_j.cjs +0 -1
- package/dist/java-CUN_usaq.cjs +0 -1
- package/dist/javascript-UZXSyUuu.cjs +0 -1
- package/dist/json-Cp01TR_B.js +0 -36
- package/dist/json-usH_MUzR.cjs +0 -1
- package/dist/linear-Cl2-QuPP.cjs +0 -1
- package/dist/map-CwPlMWPw.cjs +0 -1
- package/dist/map-DU12fF3s.js +0 -241
- package/dist/markdown-qeo95R0i.cjs +0 -1
- package/dist/mermaid.core-BIq27e0A.js +0 -1068
- package/dist/mermaid.core-DpsSj3iy.cjs +0 -10
- package/dist/packet-7NZHBO7P-DqvBYJTR.js +0 -3
- package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +0 -1
- package/dist/path-Kklx0M1v.cjs +0 -1
- package/dist/pdf-aU0TN69t.cjs +0 -54
- package/dist/pegDiagram-VL7TDLO6-B4FslsmM.cjs +0 -1
- package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +0 -1
- package/dist/pie-RZYD4A2V-qnruo9sH.js +0 -3
- package/dist/pieDiagram-7S7Q4E2Y-CNzUVS2d.cjs +0 -39
- package/dist/python-BYJzTRkK.cjs +0 -1
- package/dist/radar-I7S5WNFK-Dqdssa34.cjs +0 -1
- package/dist/radar-I7S5WNFK-np_pJCO-.js +0 -3
- package/dist/railroad-3IZDKUUU-NILjDQft.cjs +0 -1
- package/dist/railroad-3IZDKUUU-sjKBeXxB.js +0 -3
- package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +0 -1
- package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +0 -3
- package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +0 -3
- package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +0 -3
- package/dist/railroadDiagram-AXF67PYL-EO1cBHEj.cjs +0 -1
- package/dist/rust-ghVvEWhm.cjs +0 -1
- package/dist/scss-CKxh5HRg.cjs +0 -1
- package/dist/sequenceDiagram-SI44F4Z6-CuaCFBtR.cjs +0 -162
- package/dist/src-CR--T_NF.cjs +0 -1
- package/dist/stateDiagram-OKZ733FA-Dq6hI_pq.cjs +0 -1
- package/dist/stateDiagram-v2-UEYNNEHI-BmWUstzl.js +0 -30
- package/dist/stateDiagram-v2-UEYNNEHI-DZULVhS9.cjs +0 -1
- package/dist/swimlanes-SLNWSIFB-BMS6R0BK.cjs +0 -1
- package/dist/swimlanesDiagram-ULZ7WXOC-DxHKX_pj.cjs +0 -8
- package/dist/swimlanesDiagram-ULZ7WXOC-uXMuqsao.js +0 -31
- package/dist/timeline-definition-Z64GVDOM-PPJqDdOy.cjs +0 -120
- package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +0 -1
- package/dist/treeView-QDETBFTQ-DdpEhzZX.js +0 -3
- package/dist/treemap-6X3UGDF4-BeCuRpkA.js +0 -3
- package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +0 -1
- package/dist/typescript-clWeqIBY.cjs +0 -1
- package/dist/vennDiagram-T6HMQDX7-DqY7YgNx.cjs +0 -34
- package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +0 -1
- package/dist/wardley-OPB4EBWU-DlIk2K0J.js +0 -3
- package/dist/yaml-bAgWofBg.cjs +0 -1
- /package/dist/{sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs → sizeCapture-INFHLROL-bJ2ZX4Du.cjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
|
-
import { p as t } from "./src-
|
|
3
|
-
import { H as n, K as r, U as i, a, b as o, c as s, et as c, f as l, nt as u, rt as d, tt as f, v as p, w as m, y as h } from "./chunk-
|
|
4
|
-
import { i as g } from "./chunk-
|
|
5
|
-
import { t as _ } from "./
|
|
6
|
-
import {
|
|
2
|
+
import { p as t } from "./src-BMMAFeC3.js";
|
|
3
|
+
import { H as n, K as r, U as i, a, b as o, c as s, et as c, f as l, nt as u, rt as d, tt as f, v as p, w as m, y as h } from "./chunk-DU6HZSFF-CaHy-FdL.js";
|
|
4
|
+
import { i as g } from "./chunk-75Z2AOVW-Eg_bFxBJ.js";
|
|
5
|
+
import { t as _ } from "./rough.esm-D2JJJ0Ot.js";
|
|
6
|
+
import { f as v } from "./mermaid.core-BIqYA7q2.js";
|
|
7
7
|
//#region ../node_modules/khroma/dist/methods/transparentize.js
|
|
8
8
|
var y = (e, t) => u(e, "a", -t), b = 1e-10;
|
|
9
9
|
function x(e, t) {
|
|
@@ -908,7 +908,7 @@ function we(e, t = {}) {
|
|
|
908
908
|
}));
|
|
909
909
|
}
|
|
910
910
|
//#endregion
|
|
911
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-
|
|
911
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-4TSXK5OY.mjs
|
|
912
912
|
var W = (function() {
|
|
913
913
|
var t = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
914
914
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
@@ -1171,9 +1171,7 @@ var W = (function() {
|
|
|
1171
1171
|
a[s - 1].push(a[s]), this.$ = a[s - 1];
|
|
1172
1172
|
break;
|
|
1173
1173
|
case 43:
|
|
1174
|
-
case 44:
|
|
1175
|
-
this.$ = a[s];
|
|
1176
|
-
break;
|
|
1174
|
+
case 44: this.$ = a[s];
|
|
1177
1175
|
}
|
|
1178
1176
|
}, "anonymous"),
|
|
1179
1177
|
table: [
|
|
@@ -1337,7 +1335,7 @@ var W = (function() {
|
|
|
1337
1335
|
var v = h.yylloc;
|
|
1338
1336
|
o.push(v);
|
|
1339
1337
|
var y = h.options && h.options.ranges;
|
|
1340
|
-
typeof g.yy.parseError == "function" ?
|
|
1338
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
1341
1339
|
function b(e) {
|
|
1342
1340
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1343
1341
|
}
|
|
@@ -1490,10 +1488,12 @@ var W = (function() {
|
|
|
1490
1488
|
if (this._backtrack) {
|
|
1491
1489
|
t = !1;
|
|
1492
1490
|
continue;
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1491
|
+
}
|
|
1492
|
+
return !1;
|
|
1493
|
+
}
|
|
1494
|
+
if (!this.options.flex) break;
|
|
1495
1495
|
}
|
|
1496
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
1496
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1497
1497
|
text: "",
|
|
1498
1498
|
token: null,
|
|
1499
1499
|
line: this.yylineno
|
|
@@ -1751,11 +1751,11 @@ var He = /* @__PURE__ */ e((e, n, r, i) => {
|
|
|
1751
1751
|
u.venn6,
|
|
1752
1752
|
u.venn7,
|
|
1753
1753
|
u.venn8
|
|
1754
|
-
].filter(Boolean), b = a.getDiagramTitle?.(), x = a.getSubsetData(), S = a.getTextData(), C = Ve(a.getStyleData()), w = We(x), T = l?.width ?? 800, E = l?.height ?? 450, D = T / 1600, O = b ? 48 * D : 0, k = u.primaryTextColor ?? u.textColor, A =
|
|
1754
|
+
].filter(Boolean), b = a.getDiagramTitle?.(), x = a.getSubsetData(), S = a.getTextData(), C = Ve(a.getStyleData()), w = We(x), T = l?.width ?? 800, E = l?.height ?? 450, D = T / 1600, O = b ? 48 * D : 0, k = u.primaryTextColor ?? u.textColor, A = v(n);
|
|
1755
1755
|
A.attr("viewBox", `0 0 ${T} ${E}`), b && A.append("text").text(b).attr("class", "venn-title").attr("font-size", `${32 * D}px`).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("x", "50%").attr("y", 32 * D).style("fill", u.vennTitleTextColor || u.titleColor);
|
|
1756
1756
|
let j = t(document.createElement("div")), M = he().width(T).height(E - O);
|
|
1757
1757
|
j.datum(w).call(M);
|
|
1758
|
-
let N = h ?
|
|
1758
|
+
let N = h ? _.svg(j.select("svg").node()) : void 0, P = we(w, {
|
|
1759
1759
|
width: T,
|
|
1760
1760
|
height: E - O,
|
|
1761
1761
|
padding: l?.padding ?? 15
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("./chunk-FOHPRMQF-tmTlwTeH.cjs");const e=require("./mermaid-parser.core-CBiDgMLi.cjs");exports.createWardleyServices=e.i;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e } from "./mermaid-parser.core-
|
|
1
|
+
import { n as e } from "./mermaid-parser.core-DLNlSmfj.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
3
|
-
import { m as n } from "./src-
|
|
4
|
-
import { D as r, H as i, K as a, U as o, a as s, b as c, c as l, v as u, w as d, x as f, y as p } from "./chunk-
|
|
5
|
-
import { i as m } from "./chunk-
|
|
6
|
-
import { t as h } from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-
|
|
3
|
+
import { m as n } from "./src-BMMAFeC3.js";
|
|
4
|
+
import { D as r, H as i, K as a, U as o, a as s, b as c, c as l, v as u, w as d, x as f, y as p } from "./chunk-DU6HZSFF-CaHy-FdL.js";
|
|
5
|
+
import { i as m } from "./chunk-75Z2AOVW-Eg_bFxBJ.js";
|
|
6
|
+
import { t as h } from "./chunk-JWPE2WC7-B_J6qwQL.js";
|
|
7
|
+
import { f as g } from "./mermaid.core-BIqYA7q2.js";
|
|
8
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-VM6X3IG4.mjs
|
|
9
9
|
var _ = /* @__PURE__ */ t((e, t) => {
|
|
10
10
|
let n = e <= 1 ? e * 100 : e;
|
|
11
11
|
if (n < 0 || n > 100) throw Error(`${t} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${e}`);
|
|
@@ -33,7 +33,7 @@ var _ = /* @__PURE__ */ t((e, t) => {
|
|
|
33
33
|
label: t
|
|
34
34
|
} : { label: t };
|
|
35
35
|
}, "extractFlowFromArrow"), x = /* @__PURE__ */ t((e, t) => {
|
|
36
|
-
if (
|
|
36
|
+
if (h(e, t), e.size && t.setSize(e.size.width, e.size.height), e.evolution) {
|
|
37
37
|
let n = e.evolution.stages.map((e) => e.secondName ? `${e.name.trim()} / ${e.secondName.trim()}` : e.name.trim()), r = e.evolution.stages.filter((e) => e.boundary !== void 0).map((e) => e.boundary);
|
|
38
38
|
t.updateAxes({
|
|
39
39
|
stages: n,
|
|
@@ -363,9 +363,9 @@ var V = {
|
|
|
363
363
|
db: V,
|
|
364
364
|
renderer: { draw: /* @__PURE__ */ t((e, r, i, a) => {
|
|
365
365
|
n.debug("Rendering Wardley map\n" + e);
|
|
366
|
-
let o = W(), s = U(), c = o.nodeRadius * 1.6, u = a.db, d = u.getWardleyData(), f = u.getDiagramTitle(), p = d.size?.width ?? o.width, m = d.size?.height ?? o.height,
|
|
367
|
-
|
|
368
|
-
let _ =
|
|
366
|
+
let o = W(), s = U(), c = o.nodeRadius * 1.6, u = a.db, d = u.getWardleyData(), f = u.getDiagramTitle(), p = d.size?.width ?? o.width, m = d.size?.height ?? o.height, h = g(r);
|
|
367
|
+
h.selectAll("*").remove(), l(h, m, p, o.useMaxWidth), h.attr("viewBox", `0 0 ${p} ${m}`);
|
|
368
|
+
let _ = h.append("g").attr("class", "wardley-map"), v = h.append("defs");
|
|
369
369
|
v.append("marker").attr("id", `arrow-${r}`).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("fill", s.evolutionStroke).attr("stroke", "none"), v.append("marker").attr("id", `link-arrow-end-${r}`).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 5).attr("markerHeight", 5).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("fill", s.linkStroke).attr("stroke", "none"), v.append("marker").attr("id", `link-arrow-start-${r}`).attr("viewBox", "0 0 10 10").attr("refX", 1).attr("refY", 5).attr("markerWidth", 5).attr("markerHeight", 5).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z").attr("fill", s.linkStroke).attr("stroke", "none"), _.append("rect").attr("class", "wardley-background").attr("width", p).attr("height", m).attr("fill", s.backgroundColor);
|
|
370
370
|
let y = p - o.padding * 2, b = m - o.padding * 2;
|
|
371
371
|
f && _.append("text").attr("class", "wardley-title").attr("x", p / 2).attr("y", o.padding / 2).attr("fill", s.axisTextColor).attr("font-size", o.axisFontSize * 1.05).attr("font-weight", "bold").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(f);
|
|
@@ -549,94 +549,94 @@ var V = {
|
|
|
549
549
|
let e = _.append("g").attr("class", "wardley-accelerators");
|
|
550
550
|
d.accelerators.forEach((t) => {
|
|
551
551
|
let n = x(t.x), r = S(t.y), i = `
|
|
552
|
-
M ${n} ${r -
|
|
553
|
-
L ${n + 60 - 20} ${r -
|
|
554
|
-
L ${n + 60 - 20} ${r -
|
|
552
|
+
M ${n} ${r - 15}
|
|
553
|
+
L ${n + 60 - 20} ${r - 15}
|
|
554
|
+
L ${n + 60 - 20} ${r - 15 - 8}
|
|
555
555
|
L ${n + 60} ${r}
|
|
556
|
-
L ${n + 60 - 20} ${r +
|
|
557
|
-
L ${n + 60 - 20} ${r +
|
|
558
|
-
L ${n} ${r +
|
|
556
|
+
L ${n + 60 - 20} ${r + 15 + 8}
|
|
557
|
+
L ${n + 60 - 20} ${r + 15}
|
|
558
|
+
L ${n} ${r + 15}
|
|
559
559
|
Z
|
|
560
560
|
`;
|
|
561
|
-
e.append("path").attr("d", i).attr("fill", "white").attr("stroke", s.componentStroke).attr("stroke-width", 1), e.append("text").attr("x", n +
|
|
561
|
+
e.append("path").attr("d", i).attr("fill", "white").attr("stroke", s.componentStroke).attr("stroke-width", 1), e.append("text").attr("x", n + 30).attr("y", r + 15 + 15).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", s.axisTextColor).attr("font-weight", "bold").text(t.name);
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
564
|
if (d.deaccelerators.length > 0) {
|
|
565
565
|
let e = _.append("g").attr("class", "wardley-deaccelerators");
|
|
566
566
|
d.deaccelerators.forEach((t) => {
|
|
567
567
|
let n = x(t.x), r = S(t.y), i = `
|
|
568
|
-
M ${n + 60} ${r -
|
|
569
|
-
L ${n + 20} ${r -
|
|
570
|
-
L ${n + 20} ${r -
|
|
568
|
+
M ${n + 60} ${r - 15}
|
|
569
|
+
L ${n + 20} ${r - 15}
|
|
570
|
+
L ${n + 20} ${r - 15 - 8}
|
|
571
571
|
L ${n} ${r}
|
|
572
|
-
L ${n + 20} ${r +
|
|
573
|
-
L ${n + 20} ${r +
|
|
574
|
-
L ${n + 60} ${r +
|
|
572
|
+
L ${n + 20} ${r + 15 + 8}
|
|
573
|
+
L ${n + 20} ${r + 15}
|
|
574
|
+
L ${n + 60} ${r + 15}
|
|
575
575
|
Z
|
|
576
576
|
`;
|
|
577
|
-
e.append("path").attr("d", i).attr("fill", "white").attr("stroke", s.componentStroke).attr("stroke-width", 1), e.append("text").attr("x", n +
|
|
577
|
+
e.append("path").attr("d", i).attr("fill", "white").attr("stroke", s.componentStroke).attr("stroke-width", 1), e.append("text").attr("x", n + 30).attr("y", r + 15 + 15).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", s.axisTextColor).attr("font-weight", "bold").text(t.name);
|
|
578
578
|
});
|
|
579
579
|
}
|
|
580
580
|
}, "draw") },
|
|
581
581
|
styles: /* @__PURE__ */ t(({ wardley: e } = {}) => {
|
|
582
|
-
let t =
|
|
582
|
+
let t = r(), n = c(), i = m(t, n.themeVariables), a = m(i.wardley, e);
|
|
583
583
|
return `
|
|
584
584
|
.wardley-background {
|
|
585
|
-
fill: ${
|
|
585
|
+
fill: ${a.backgroundColor};
|
|
586
586
|
}
|
|
587
587
|
.wardley-axes line, .wardley-axes path {
|
|
588
|
-
stroke: ${
|
|
588
|
+
stroke: ${a.axisColor};
|
|
589
589
|
}
|
|
590
590
|
.wardley-axis-label {
|
|
591
|
-
fill: ${
|
|
591
|
+
fill: ${a.axisTextColor};
|
|
592
592
|
}
|
|
593
593
|
.wardley-stage-label {
|
|
594
|
-
fill: ${
|
|
594
|
+
fill: ${a.axisTextColor};
|
|
595
595
|
}
|
|
596
596
|
.wardley-grid line {
|
|
597
|
-
stroke: ${
|
|
597
|
+
stroke: ${a.gridColor};
|
|
598
598
|
}
|
|
599
599
|
.wardley-node circle {
|
|
600
|
-
fill: ${
|
|
601
|
-
stroke: ${
|
|
600
|
+
fill: ${a.componentFill};
|
|
601
|
+
stroke: ${a.componentStroke};
|
|
602
602
|
}
|
|
603
603
|
.wardley-node-label {
|
|
604
|
-
fill: ${
|
|
604
|
+
fill: ${a.componentLabelColor};
|
|
605
605
|
}
|
|
606
606
|
.wardley-link {
|
|
607
|
-
stroke: ${
|
|
607
|
+
stroke: ${a.linkStroke};
|
|
608
608
|
}
|
|
609
609
|
.wardley-link--dashed {
|
|
610
610
|
stroke-dasharray: 4 4;
|
|
611
611
|
}
|
|
612
612
|
.wardley-link-label {
|
|
613
|
-
fill: ${
|
|
613
|
+
fill: ${a.axisTextColor};
|
|
614
614
|
}
|
|
615
615
|
.wardley-trend line {
|
|
616
|
-
stroke: ${
|
|
616
|
+
stroke: ${a.evolutionStroke};
|
|
617
617
|
}
|
|
618
618
|
.wardley-annotation-line {
|
|
619
|
-
stroke: ${
|
|
619
|
+
stroke: ${a.annotationStroke};
|
|
620
620
|
}
|
|
621
621
|
.wardley-annotation circle {
|
|
622
|
-
fill: ${
|
|
623
|
-
stroke: ${
|
|
622
|
+
fill: ${a.annotationFill};
|
|
623
|
+
stroke: ${a.annotationStroke};
|
|
624
624
|
}
|
|
625
625
|
.wardley-annotation text {
|
|
626
|
-
fill: ${
|
|
626
|
+
fill: ${a.annotationTextColor};
|
|
627
627
|
}
|
|
628
628
|
.wardley-annotations-box rect {
|
|
629
|
-
fill: ${
|
|
630
|
-
stroke: ${
|
|
629
|
+
fill: ${a.annotationFill};
|
|
630
|
+
stroke: ${a.annotationStroke};
|
|
631
631
|
}
|
|
632
632
|
.wardley-annotations-box text {
|
|
633
|
-
fill: ${
|
|
633
|
+
fill: ${a.annotationTextColor};
|
|
634
634
|
}
|
|
635
635
|
.wardley-pipeline-box {
|
|
636
|
-
stroke: ${
|
|
636
|
+
stroke: ${a.componentStroke};
|
|
637
637
|
}
|
|
638
638
|
.wardley-notes text {
|
|
639
|
-
fill: ${
|
|
639
|
+
fill: ${a.axisTextColor};
|
|
640
640
|
}
|
|
641
641
|
`;
|
|
642
642
|
}, "styles")
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
const e=require("./mermaid-parser.core-
|
|
2
|
-
`+e);let c=P(),l=N(),u=c.nodeRadius*1.6,d=s.db,f=d.getWardleyData(),p=d.getDiagramTitle(),m=f.size?.width??c.width,h=f.size?.height??c.height,g=a.t(i);g.selectAll(`*`).remove(),r.c(g,h,m,c.useMaxWidth),g.attr(`viewBox`,`0 0 ${m} ${h}`);let _=g.append(`g`).attr(`class`,`wardley-map`),v=g.append(`defs`);v.append(`marker`).attr(`id`,`arrow-${i}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,9).attr(`refY`,5).attr(`markerWidth`,6).attr(`markerHeight`,6).attr(`orient`,`auto-start-reverse`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`fill`,l.evolutionStroke).attr(`stroke`,`none`),v.append(`marker`).attr(`id`,`link-arrow-end-${i}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,9).attr(`refY`,5).attr(`markerWidth`,5).attr(`markerHeight`,5).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`fill`,l.linkStroke).attr(`stroke`,`none`),v.append(`marker`).attr(`id`,`link-arrow-start-${i}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,1).attr(`refY`,5).attr(`markerWidth`,5).attr(`markerHeight`,5).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 10 0 L 0 5 L 10 10 z`).attr(`fill`,l.linkStroke).attr(`stroke`,`none`),_.append(`rect`).attr(`class`,`wardley-background`).attr(`width`,m).attr(`height`,h).attr(`fill`,l.backgroundColor);let y=m-c.padding*2,b=h-c.padding*2;p&&_.append(`text`).attr(`class`,`wardley-title`).attr(`x`,m/2).attr(`y`,c.padding/2).attr(`fill`,l.axisTextColor).attr(`font-size`,c.axisFontSize*1.05).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`middle`).text(p);let x=t.n(e=>c.padding+e/100*y,`projectX`),S=t.n(e=>h-c.padding-e/100*b,`projectY`),C=_.append(`g`).attr(`class`,`wardley-axes`);C.append(`line`).attr(`x1`,c.padding).attr(`x2`,m-c.padding).attr(`y1`,h-c.padding).attr(`y2`,h-c.padding).attr(`stroke`,l.axisColor).attr(`stroke-width`,1),C.append(`line`).attr(`x1`,c.padding).attr(`x2`,c.padding).attr(`y1`,c.padding).attr(`y2`,h-c.padding).attr(`stroke`,l.axisColor).attr(`stroke-width`,1);let w=f.axes.xLabel??`Evolution`,T=f.axes.yLabel??`Visibility`;C.append(`text`).attr(`class`,`wardley-axis-label wardley-axis-label-x`).attr(`x`,c.padding+y/2).attr(`y`,h-c.padding/4).attr(`fill`,l.axisTextColor).attr(`font-size`,c.axisFontSize).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).text(w),C.append(`text`).attr(`class`,`wardley-axis-label wardley-axis-label-y`).attr(`x`,c.padding/3).attr(`y`,c.padding+b/2).attr(`fill`,l.axisTextColor).attr(`font-size`,c.axisFontSize).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).attr(`transform`,`rotate(-90 ${c.padding/3} ${c.padding+b/2})`).text(T);let E=f.axes.stages&&f.axes.stages.length>0?f.axes.stages:M;if(E.length>0){let e=_.append(`g`).attr(`class`,`wardley-stages`),t=f.axes.stageBoundaries,n=[];if(t&&t.length===E.length){let e=0;t.forEach(t=>{n.push({start:e,end:t}),e=t})}else{let e=1/E.length;E.forEach((t,r)=>{n.push({start:r*e,end:(r+1)*e})})}E.forEach((t,r)=>{let i=n[r],a=c.padding+i.start*y,o=(a+(c.padding+i.end*y))/2;r>0&&e.append(`line`).attr(`x1`,a).attr(`x2`,a).attr(`y1`,c.padding).attr(`y2`,h-c.padding).attr(`stroke`,`#000`).attr(`stroke-width`,1).attr(`stroke-dasharray`,`5 5`).attr(`opacity`,.8),e.append(`text`).attr(`class`,`wardley-stage-label`).attr(`x`,o).attr(`y`,h-c.padding/1.5).attr(`fill`,l.axisTextColor).attr(`font-size`,c.axisFontSize-2).attr(`text-anchor`,`middle`).text(t)})}if(c.showGrid){let e=_.append(`g`).attr(`class`,`wardley-grid`);for(let t=1;t<4;t++){let n=t/4,r=c.padding+y*n;e.append(`line`).attr(`x1`,r).attr(`x2`,r).attr(`y1`,c.padding).attr(`y2`,h-c.padding).attr(`stroke`,l.gridColor).attr(`stroke-dasharray`,`2 6`),e.append(`line`).attr(`x1`,c.padding).attr(`x2`,m-c.padding).attr(`y1`,h-c.padding-b*n).attr(`y2`,h-c.padding-b*n).attr(`stroke`,l.gridColor).attr(`stroke-dasharray`,`2 6`)}}let D=new Map;if(f.nodes.forEach(e=>{D.set(e.id,{x:x(e.x),y:S(e.y),node:e})}),f.pipelines.length>0){let e=_.append(`g`).attr(`class`,`wardley-pipelines`),t=_.append(`g`).attr(`class`,`wardley-pipeline-links`);f.pipelines.forEach(n=>{if(n.componentIds.length===0)return;let r=n.componentIds.map(e=>({id:e,pos:D.get(e),node:f.nodes.find(t=>t.id===e)})).filter(e=>e.pos&&e.node).sort((e,t)=>e.node.x-t.node.x);for(let e=0;e<r.length-1;e++){let n=r[e],i=r[e+1];t.append(`line`).attr(`class`,`wardley-pipeline-evolution-link`).attr(`x1`,n.pos.x).attr(`y1`,n.pos.y).attr(`x2`,i.pos.x).attr(`y2`,i.pos.y).attr(`stroke`,l.linkStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,`4 4`)}let i=1/0,a=-1/0,o=0;if(n.componentIds.forEach(e=>{let t=D.get(e);t&&(i=Math.min(i,t.x),a=Math.max(a,t.x),o=t.y)}),i!==1/0&&a!==-1/0){let t=c.nodeRadius*4,r=o-t/2,s=D.get(n.nodeId);s&&(s.x=(i+a)/2,s.y=r-u/6),e.append(`rect`).attr(`class`,`wardley-pipeline-box`).attr(`x`,i-15).attr(`y`,r).attr(`width`,a-i+30).attr(`height`,t).attr(`fill`,`none`).attr(`stroke`,l.axisColor).attr(`stroke-width`,1.5).attr(`rx`,4).attr(`ry`,4)}})}let O=_.append(`g`).attr(`class`,`wardley-links`),k=new Map;f.pipelines.forEach(e=>{k.set(e.nodeId,new Set(e.componentIds))});let A=f.links.filter(e=>!(!D.has(e.source)||!D.has(e.target)||k.get(e.target)?.has(e.source)));O.selectAll(`line`).data(A).enter().append(`line`).attr(`class`,e=>`wardley-link${e.dashed?` wardley-link--dashed`:``}`).attr(`x1`,e=>{let t=D.get(e.source),n=D.get(e.target),r=f.nodes.find(t=>t.id===e.source).isPipelineParent?u/Math.sqrt(2):c.nodeRadius,i=n.x-t.x,a=n.y-t.y,o=Math.sqrt(i*i+a*a);return t.x+i/o*r}).attr(`y1`,e=>{let t=D.get(e.source),n=D.get(e.target),r=f.nodes.find(t=>t.id===e.source).isPipelineParent?u/Math.sqrt(2):c.nodeRadius,i=n.x-t.x,a=n.y-t.y,o=Math.sqrt(i*i+a*a);return t.y+a/o*r}).attr(`x2`,e=>{let t=D.get(e.source),n=D.get(e.target),r=f.nodes.find(t=>t.id===e.target).isPipelineParent?u/Math.sqrt(2):c.nodeRadius,i=t.x-n.x,a=t.y-n.y,o=Math.sqrt(i*i+a*a);return n.x+i/o*r}).attr(`y2`,e=>{let t=D.get(e.source),n=D.get(e.target),r=f.nodes.find(t=>t.id===e.target).isPipelineParent?u/Math.sqrt(2):c.nodeRadius,i=t.x-n.x,a=t.y-n.y,o=Math.sqrt(i*i+a*a);return n.y+a/o*r}).attr(`stroke`,l.linkStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,e=>e.dashed?`6 6`:null).attr(`marker-end`,e=>e.flow===`forward`||e.flow===`bidirectional`?`url(#link-arrow-end-${i})`:null).attr(`marker-start`,e=>e.flow===`backward`||e.flow===`bidirectional`?`url(#link-arrow-start-${i})`:null),O.selectAll(`text`).data(A.filter(e=>e.label)).enter().append(`text`).attr(`class`,`wardley-link-label`).attr(`x`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.x+n.x)/2,i=n.y-t.y,a=n.x-t.x;return r+i/Math.sqrt(a*a+i*i)*8}).attr(`y`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.y+n.y)/2,i=n.x-t.x,a=n.y-t.y,o=Math.sqrt(i*i+a*a);return r+-i/o*8}).attr(`fill`,l.axisTextColor).attr(`font-size`,c.labelFontSize).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`middle`).attr(`transform`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.x+n.x)/2,i=(t.y+n.y)/2,a=n.x-t.x,o=n.y-t.y,s=Math.sqrt(a*a+o*o),c=o/s,l=-a/s,u=r+c*8,d=i+l*8,f=Math.atan2(o,a)*180/Math.PI;return(f>90||f<-90)&&(f+=180),`rotate(${f} ${u} ${d})`}).text(e=>e.label);let j=_.append(`g`).attr(`class`,`wardley-trends`),F=f.trends.map(e=>{let t=D.get(e.nodeId);if(!t)return null;let n=x(e.targetX),r=S(e.targetY),i=n-t.x,a=r-t.y,o=Math.sqrt(i*i+a*a),s=c.nodeRadius+2;return{origin:t,targetX:n,targetY:r,adjustedX2:o>s?n-i/o*s:n,adjustedY2:o>s?r-a/o*s:r}}).filter(e=>e!==null);j.selectAll(`line`).data(F).enter().append(`line`).attr(`class`,`wardley-trend`).attr(`x1`,e=>e.origin.x).attr(`y1`,e=>e.origin.y).attr(`x2`,e=>e.adjustedX2).attr(`y2`,e=>e.adjustedY2).attr(`stroke`,l.evolutionStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,`4 4`).attr(`marker-end`,`url(#arrow-${i})`);let I=_.append(`g`).attr(`class`,`wardley-nodes`).selectAll(`g`).data(f.nodes).enter().append(`g`).attr(`class`,e=>[`wardley-node`,e.className?`wardley-node--${e.className}`:``].filter(Boolean).join(` `));I.filter(e=>e.sourceStrategy===`outsource`).append(`circle`).attr(`class`,`wardley-outsource-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius*2).attr(`fill`,`#666`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),I.filter(e=>e.sourceStrategy===`buy`).append(`circle`).attr(`class`,`wardley-buy-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius*2).attr(`fill`,`#ccc`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),I.filter(e=>e.sourceStrategy===`build`).append(`circle`).attr(`class`,`wardley-build-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius*2).attr(`fill`,`#eee`).attr(`stroke`,`#000`).attr(`stroke-width`,1);let L=I.filter(e=>e.sourceStrategy===`market`);L.append(`circle`).attr(`class`,`wardley-market-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius*2).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),I.filter(e=>!e.isPipelineParent&&e.sourceStrategy!==`market`&&e.className!==`anchor`).append(`circle`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius).attr(`fill`,l.componentFill).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1);let R=c.nodeRadius*.7,z=c.nodeRadius*1.2;if(L.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x).attr(`y1`,e=>D.get(e.id).y-z).attr(`x2`,e=>D.get(e.id).x-z*Math.cos(Math.PI/6)).attr(`y2`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),L.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x-z*Math.cos(Math.PI/6)).attr(`y1`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`x2`,e=>D.get(e.id).x+z*Math.cos(Math.PI/6)).attr(`y2`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),L.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x+z*Math.cos(Math.PI/6)).attr(`y1`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`x2`,e=>D.get(e.id).x).attr(`y2`,e=>D.get(e.id).y-z).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),L.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y-z).attr(`r`,R).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,2),L.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x-z*Math.cos(Math.PI/6)).attr(`cy`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`r`,R).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,2),L.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x+z*Math.cos(Math.PI/6)).attr(`cy`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`r`,R).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,2),I.filter(e=>e.isPipelineParent===!0).append(`rect`).attr(`x`,e=>D.get(e.id).x-u/2).attr(`y`,e=>D.get(e.id).y-u/2).attr(`width`,u).attr(`height`,u).attr(`fill`,l.componentFill).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),I.filter(e=>e.inertia===!0).append(`line`).attr(`class`,`wardley-inertia`).attr(`x1`,e=>{let t=D.get(e.id),n=e.isPipelineParent?u/2+15:c.nodeRadius+15;return e.sourceStrategy&&(n+=c.nodeRadius+10),t.x+n}).attr(`y1`,e=>{let t=D.get(e.id),n=e.isPipelineParent?u:c.nodeRadius*2;return t.y-n/2}).attr(`x2`,e=>{let t=D.get(e.id),n=e.isPipelineParent?u/2+15:c.nodeRadius+15;return e.sourceStrategy&&(n+=c.nodeRadius+10),t.x+n}).attr(`y2`,e=>{let t=D.get(e.id),n=e.isPipelineParent?u:c.nodeRadius*2;return t.y+n/2}).attr(`stroke`,l.componentStroke).attr(`stroke-width`,6),I.append(`text`).attr(`x`,e=>{let t=D.get(e.id);if(e.className===`anchor`)return e.labelOffsetX===void 0?t.x:t.x+e.labelOffsetX;let n=c.nodeLabelOffset;e.sourceStrategy&&e.labelOffsetX===void 0&&(n+=10);let r=e.labelOffsetX??n;return t.x+r}).attr(`y`,e=>{let t=D.get(e.id);if(e.className===`anchor`)return e.labelOffsetY===void 0?t.y-3:t.y+e.labelOffsetY;let n=-c.nodeLabelOffset;e.sourceStrategy&&e.labelOffsetY===void 0&&(n-=10);let r=e.labelOffsetY??n;return t.y+r}).attr(`class`,`wardley-node-label`).attr(`fill`,e=>e.className===`evolved`?l.evolutionStroke:e.className===`anchor`?`#000`:l.componentLabelColor).attr(`font-size`,c.labelFontSize).attr(`font-weight`,e=>e.className===`anchor`?`bold`:`normal`).attr(`text-anchor`,e=>e.className===`anchor`?`middle`:`start`).attr(`dominant-baseline`,e=>e.className===`anchor`?`middle`:`auto`).text(e=>e.label),f.annotations.length>0){let e=_.append(`g`).attr(`class`,`wardley-annotations`);if(f.annotations.forEach(t=>{let n=t.coordinates.map(e=>({x:x(e.x),y:S(e.y)}));if(n.length>1)for(let t=0;t<n.length-1;t++)e.append(`line`).attr(`class`,`wardley-annotation-line`).attr(`x1`,n[t].x).attr(`y1`,n[t].y).attr(`x2`,n[t+1].x).attr(`y2`,n[t+1].y).attr(`stroke`,l.axisColor).attr(`stroke-width`,1.5).attr(`stroke-dasharray`,`4 4`);n.forEach(n=>{let r=e.append(`g`).attr(`class`,`wardley-annotation`);r.append(`circle`).attr(`cx`,n.x).attr(`cy`,n.y).attr(`r`,10).attr(`fill`,`white`).attr(`stroke`,l.axisColor).attr(`stroke-width`,1.5),r.append(`text`).attr(`x`,n.x).attr(`y`,n.y).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`central`).attr(`font-size`,10).attr(`fill`,l.axisTextColor).attr(`font-weight`,`bold`).text(t.number)})}),f.annotationsBox){let t=x(f.annotationsBox.x),n=S(f.annotationsBox.y),r=e.append(`g`).attr(`class`,`wardley-annotations-box`),i=[...f.annotations].filter(e=>e.text).sort((e,t)=>e.number-t.number),a=[];if(i.forEach((e,i)=>{let o=r.append(`text`).attr(`x`,t+10).attr(`y`,n+10+(i+1)*16).attr(`font-size`,11).attr(`fill`,l.axisTextColor).attr(`text-anchor`,`start`).attr(`dominant-baseline`,`middle`).text(`${e.number}. ${e.text}`);a.push(o)}),a.length>0){let e=0,o=0;a.forEach(t=>{let n=t.node(),r=n.getComputedTextLength();e=Math.max(e,r);let i=n.getBBox();o=Math.max(o,i.height)});let s=e+20+105,u=i.length*16+20+o/2,d=c.padding,f=m-c.padding-s,p=c.padding,g=h-c.padding-u;t=Math.max(d,Math.min(t,f)),n=Math.max(p,Math.min(n,g)),a.forEach((e,r)=>{e.attr(`x`,t+10).attr(`y`,n+10+(r+1)*16)}),r.insert(`rect`,`text`).attr(`x`,t).attr(`y`,n).attr(`width`,s).attr(`height`,u).attr(`fill`,`white`).attr(`stroke`,l.axisColor).attr(`stroke-width`,1.5).attr(`rx`,4).attr(`ry`,4)}}}if(f.notes.length>0){let e=_.append(`g`).attr(`class`,`wardley-notes`);f.notes.forEach(t=>{let n=x(t.x),r=S(t.y);e.append(`text`).attr(`x`,n).attr(`y`,r).attr(`text-anchor`,`start`).attr(`font-size`,11).attr(`fill`,l.axisTextColor).attr(`font-weight`,`bold`).text(t.text)})}if(f.accelerators.length>0){let e=_.append(`g`).attr(`class`,`wardley-accelerators`);f.accelerators.forEach(t=>{let n=x(t.x),r=S(t.y),i=`
|
|
3
|
-
M ${n} ${r-
|
|
4
|
-
L ${n+60-20} ${r-
|
|
5
|
-
L ${n+60-20} ${r-
|
|
1
|
+
const e=require("./mermaid-parser.core-CBiDgMLi.cjs"),t=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),n=require("./src-D9o9TOtH.cjs"),r=require("./chunk-DU6HZSFF-3Hhp3Fo5.cjs"),i=require("./chunk-75Z2AOVW-DOXS9ORa.cjs"),a=require("./chunk-JWPE2WC7-Cs1kjq8S.cjs"),o=require("./mermaid.core-B3QcBB1O.cjs");var s=t.n((e,t)=>{let n=e<=1?e*100:e;if(n<0||n>100)throw Error(`${t} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${e}`);return n},`toPercent`),c=t.n((e,t,n)=>({x:s(t,`${n} evolution`),y:s(e,`${n} visibility`)}),`toCoordinates`),l=t.n(e=>{if(e){if(e===`+<>`)return`bidirectional`;if(e===`+<`)return`backward`;if(e===`+>`)return`forward`}},`getFlowFromPort`),u=t.n(e=>{if(!e?.startsWith(`+`))return{};let t=/^\+'([^']*)'/.exec(e)?.[1];return e.includes(`<>`)?{flow:`bidirectional`,label:t}:e.includes(`<`)?{flow:`backward`,label:t}:e.includes(`>`)?{flow:`forward`,label:t}:{label:t}},`extractFlowFromArrow`),d=t.n((e,t)=>{if(a.t(e,t),e.size&&t.setSize(e.size.width,e.size.height),e.evolution){let n=e.evolution.stages.map(e=>e.secondName?`${e.name.trim()} / ${e.secondName.trim()}`:e.name.trim()),r=e.evolution.stages.filter(e=>e.boundary!==void 0).map(e=>e.boundary);t.updateAxes({stages:n,stageBoundaries:r})}if(e.anchors.forEach(e=>{let n=c(e.visibility,e.evolution,`Anchor "${e.name}"`);t.addNode(e.name,e.name,n.x,n.y,`anchor`)}),e.components.forEach(e=>{let n=c(e.visibility,e.evolution,`Component "${e.name}"`),r=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,i=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,a=e.decorator?.strategy;t.addNode(e.name,e.name,n.x,n.y,`component`,r,i,e.inertia,a)}),e.notes.forEach(e=>{let n=c(e.visibility,e.evolution,`Note "${e.text}"`);t.addNote(e.text,n.x,n.y)}),e.pipelines.forEach(e=>{let n=t.getNode(e.parent);if(!n||typeof n.y!=`number`)throw Error(`Pipeline "${e.parent}" must reference an existing component with coordinates.`);let r=n.y;t.startPipeline(e.parent),e.components.forEach(n=>{let i=`${e.parent}_${n.name}`,a=n.label?(n.label.negX?-1:1)*n.label.offsetX:void 0,o=n.label?(n.label.negY?-1:1)*n.label.offsetY:void 0,c=s(n.evolution,`Pipeline component "${n.name}" evolution`);t.addNode(i,n.name,c,r,`pipeline-component`,a,o),t.addPipelineComponent(e.parent,i)})}),e.links.forEach(e=>{let n=!!e.arrow&&(e.arrow.includes(`-.->`)||e.arrow.includes(`.-.`)),r=l(e.fromPort)??l(e.toPort),{flow:i,label:a}=u(e.arrow);!r&&i&&(r=i);let o=e.linkLabel,s=a??o;t.addLink(t.resolveNodeId(e.from),t.resolveNodeId(e.to),n,s,r)}),e.evolves.forEach(e=>{let n=t.getNode(e.component);if(n?.y!==void 0){let r=s(e.target,`Evolve target for "${e.component}"`);t.addTrend(e.component,r,n.y)}}),e.annotations.length>0){let n=e.annotations[0],r=c(n.x,n.y,`Annotations box`);t.setAnnotationsBox(r.x,r.y)}e.annotation.forEach(e=>{let n=c(e.x,e.y,`Annotation ${e.number}`);t.addAnnotation(e.number,[{x:n.x,y:n.y}],e.text)}),e.accelerators.forEach(e=>{let n=c(e.x,e.y,`Accelerator "${e.name}"`);t.addAccelerator(e.name,n.x,n.y)}),e.deaccelerators.forEach(e=>{let n=c(e.x,e.y,`Deaccelerator "${e.name}"`);t.addDeaccelerator(e.name,n.x,n.y)})},`populateDb`),f={parser:{yy:void 0},parse:t.n(async t=>{let r=await e.n(`wardley`,t);n.m.debug(r);let i=f.parser?.yy;if(!i||typeof i.addNode!=`function`)throw Error(`parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.`);d(r,i)},`parse`)},p=new class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{t.n(this,`WardleyBuilder`)}addNode(e){let t=this.nodes.get(e.id)??{id:e.id,label:e.label},n={...t,...e,className:e.className??t.className,labelOffsetX:e.labelOffsetX??t.labelOffsetX,labelOffsetY:e.labelOffsetY??t.labelOffsetY};this.nodes.set(e.id,n)}addLink(e){this.links.push(e)}addTrend(e){this.trends.set(e.nodeId,e)}startPipeline(e){this.pipelines.set(e,{nodeId:e,componentIds:[]});let t=this.nodes.get(e);t&&(t.isPipelineParent=!0)}addPipelineComponent(e,t){let n=this.pipelines.get(e);n&&n.componentIds.push(t);let r=this.nodes.get(t);r&&(r.inPipeline=!0)}addAnnotation(e){this.annotations.push(e)}addNote(e){this.notes.push(e)}addAccelerator(e){this.accelerators.push(e)}addDeaccelerator(e){this.deaccelerators.push(e)}setAnnotationsBox(e,t){this.annotationsBox={x:e,y:t}}setAxes(e){this.axes={...this.axes,...e}}setSize(e,t){this.size={width:e,height:t}}getNode(e){return this.nodes.get(e)}resolveNodeId(e){if(this.nodes.has(e))return e;for(let[t,n]of this.nodes)if(n.label===e)return t;return e}build(){let e=[];for(let t of this.nodes.values()){if(typeof t.x!=`number`||typeof t.y!=`number`)throw Error(`Node "${t.label}" is missing coordinates`);e.push(t)}return{nodes:e,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}};function m(){return r.x()[`wardley-beta`]}t.n(m,`getConfig`);function h(e,t,n,r,i,a,o,s,c){p.addNode({id:e,label:t,x:n,y:r,className:i,labelOffsetX:a,labelOffsetY:o,inertia:s,sourceStrategy:c})}t.n(h,`addNode`);function g(e,t,n=!1,r,i){p.addLink({source:e,target:t,dashed:n,label:r,flow:i})}t.n(g,`addLink`);function _(e,t,n){p.addTrend({nodeId:e,targetX:t,targetY:n})}t.n(_,`addTrend`);function v(e,t,n){p.addAnnotation({number:e,coordinates:t,text:n})}t.n(v,`addAnnotation`);function y(e,t,n){p.addNote({text:e,x:t,y:n})}t.n(y,`addNote`);function b(e,t,n){p.addAccelerator({name:e,x:t,y:n})}t.n(b,`addAccelerator`);function x(e,t,n){p.addDeaccelerator({name:e,x:t,y:n})}t.n(x,`addDeaccelerator`);function S(e,t){p.setAnnotationsBox(e,t)}t.n(S,`setAnnotationsBox`);function C(e,t){p.setSize(e,t)}t.n(C,`setSize`);function w(e){p.startPipeline(e)}t.n(w,`startPipeline`);function T(e,t){p.addPipelineComponent(e,t)}t.n(T,`addPipelineComponent`);function E(e){p.setAxes(e)}t.n(E,`updateAxes`);function D(e){return p.getNode(e)}t.n(D,`getNode`);function O(e){return p.resolveNodeId(e)}t.n(O,`resolveNodeId`);function k(){return p.build()}t.n(k,`getWardleyData`);function A(){p.clear(),r.a()}t.n(A,`clear`);var j={getConfig:m,addNode:h,addLink:g,addTrend:_,addAnnotation:v,addNote:y,addAccelerator:b,addDeaccelerator:x,setAnnotationsBox:S,setSize:C,startPipeline:w,addPipelineComponent:T,updateAxes:E,getNode:D,resolveNodeId:O,getWardleyData:k,clear:A,setAccTitle:r.U,getAccTitle:r.y,setDiagramTitle:r.K,getDiagramTitle:r.w,getAccDescription:r.v,setAccDescription:r.H},M=[`Genesis`,`Custom Built`,`Product`,`Commodity`],N=t.n(()=>{let{themeVariables:e}=r.x();return{backgroundColor:e.wardley?.backgroundColor??e.background??`#fff`,axisColor:e.wardley?.axisColor??`#000`,axisTextColor:e.wardley?.axisTextColor??e.primaryTextColor??`#222`,gridColor:e.wardley?.gridColor??`rgba(100, 100, 100, 0.2)`,componentFill:e.wardley?.componentFill??`#fff`,componentStroke:e.wardley?.componentStroke??`#000`,componentLabelColor:e.wardley?.componentLabelColor??e.primaryTextColor??`#222`,linkStroke:e.wardley?.linkStroke??`#000`,evolutionStroke:e.wardley?.evolutionStroke??`#dc3545`,annotationStroke:e.wardley?.annotationStroke??`#000`,annotationTextColor:e.wardley?.annotationTextColor??e.primaryTextColor??`#222`,annotationFill:e.wardley?.annotationFill??e.background??`#fff`}},`getTheme`),P=t.n(()=>{let e=r.x()[`wardley-beta`];return{width:e?.width??900,height:e?.height??600,padding:e?.padding??48,nodeRadius:e?.nodeRadius??6,nodeLabelOffset:e?.nodeLabelOffset??8,axisFontSize:e?.axisFontSize??12,labelFontSize:e?.labelFontSize??10,showGrid:e?.showGrid??!1,useMaxWidth:e?.useMaxWidth??!0}},`getConfigValues`),F={parser:f,db:j,renderer:{draw:t.n((e,i,a,s)=>{n.m.debug(`Rendering Wardley map
|
|
2
|
+
`+e);let c=P(),l=N(),u=c.nodeRadius*1.6,d=s.db,f=d.getWardleyData(),p=d.getDiagramTitle(),m=f.size?.width??c.width,h=f.size?.height??c.height,g=o.f(i);g.selectAll(`*`).remove(),r.c(g,h,m,c.useMaxWidth),g.attr(`viewBox`,`0 0 ${m} ${h}`);let _=g.append(`g`).attr(`class`,`wardley-map`),v=g.append(`defs`);v.append(`marker`).attr(`id`,`arrow-${i}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,9).attr(`refY`,5).attr(`markerWidth`,6).attr(`markerHeight`,6).attr(`orient`,`auto-start-reverse`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`fill`,l.evolutionStroke).attr(`stroke`,`none`),v.append(`marker`).attr(`id`,`link-arrow-end-${i}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,9).attr(`refY`,5).attr(`markerWidth`,5).attr(`markerHeight`,5).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`fill`,l.linkStroke).attr(`stroke`,`none`),v.append(`marker`).attr(`id`,`link-arrow-start-${i}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,1).attr(`refY`,5).attr(`markerWidth`,5).attr(`markerHeight`,5).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 10 0 L 0 5 L 10 10 z`).attr(`fill`,l.linkStroke).attr(`stroke`,`none`),_.append(`rect`).attr(`class`,`wardley-background`).attr(`width`,m).attr(`height`,h).attr(`fill`,l.backgroundColor);let y=m-c.padding*2,b=h-c.padding*2;p&&_.append(`text`).attr(`class`,`wardley-title`).attr(`x`,m/2).attr(`y`,c.padding/2).attr(`fill`,l.axisTextColor).attr(`font-size`,c.axisFontSize*1.05).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`middle`).text(p);let x=t.n(e=>c.padding+e/100*y,`projectX`),S=t.n(e=>h-c.padding-e/100*b,`projectY`),C=_.append(`g`).attr(`class`,`wardley-axes`);C.append(`line`).attr(`x1`,c.padding).attr(`x2`,m-c.padding).attr(`y1`,h-c.padding).attr(`y2`,h-c.padding).attr(`stroke`,l.axisColor).attr(`stroke-width`,1),C.append(`line`).attr(`x1`,c.padding).attr(`x2`,c.padding).attr(`y1`,c.padding).attr(`y2`,h-c.padding).attr(`stroke`,l.axisColor).attr(`stroke-width`,1);let w=f.axes.xLabel??`Evolution`,T=f.axes.yLabel??`Visibility`;C.append(`text`).attr(`class`,`wardley-axis-label wardley-axis-label-x`).attr(`x`,c.padding+y/2).attr(`y`,h-c.padding/4).attr(`fill`,l.axisTextColor).attr(`font-size`,c.axisFontSize).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).text(w),C.append(`text`).attr(`class`,`wardley-axis-label wardley-axis-label-y`).attr(`x`,c.padding/3).attr(`y`,c.padding+b/2).attr(`fill`,l.axisTextColor).attr(`font-size`,c.axisFontSize).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).attr(`transform`,`rotate(-90 ${c.padding/3} ${c.padding+b/2})`).text(T);let E=f.axes.stages&&f.axes.stages.length>0?f.axes.stages:M;if(E.length>0){let e=_.append(`g`).attr(`class`,`wardley-stages`),t=f.axes.stageBoundaries,n=[];if(t&&t.length===E.length){let e=0;t.forEach(t=>{n.push({start:e,end:t}),e=t})}else{let e=1/E.length;E.forEach((t,r)=>{n.push({start:r*e,end:(r+1)*e})})}E.forEach((t,r)=>{let i=n[r],a=c.padding+i.start*y,o=(a+(c.padding+i.end*y))/2;r>0&&e.append(`line`).attr(`x1`,a).attr(`x2`,a).attr(`y1`,c.padding).attr(`y2`,h-c.padding).attr(`stroke`,`#000`).attr(`stroke-width`,1).attr(`stroke-dasharray`,`5 5`).attr(`opacity`,.8),e.append(`text`).attr(`class`,`wardley-stage-label`).attr(`x`,o).attr(`y`,h-c.padding/1.5).attr(`fill`,l.axisTextColor).attr(`font-size`,c.axisFontSize-2).attr(`text-anchor`,`middle`).text(t)})}if(c.showGrid){let e=_.append(`g`).attr(`class`,`wardley-grid`);for(let t=1;t<4;t++){let n=t/4,r=c.padding+y*n;e.append(`line`).attr(`x1`,r).attr(`x2`,r).attr(`y1`,c.padding).attr(`y2`,h-c.padding).attr(`stroke`,l.gridColor).attr(`stroke-dasharray`,`2 6`),e.append(`line`).attr(`x1`,c.padding).attr(`x2`,m-c.padding).attr(`y1`,h-c.padding-b*n).attr(`y2`,h-c.padding-b*n).attr(`stroke`,l.gridColor).attr(`stroke-dasharray`,`2 6`)}}let D=new Map;if(f.nodes.forEach(e=>{D.set(e.id,{x:x(e.x),y:S(e.y),node:e})}),f.pipelines.length>0){let e=_.append(`g`).attr(`class`,`wardley-pipelines`),t=_.append(`g`).attr(`class`,`wardley-pipeline-links`);f.pipelines.forEach(n=>{if(n.componentIds.length===0)return;let r=n.componentIds.map(e=>({id:e,pos:D.get(e),node:f.nodes.find(t=>t.id===e)})).filter(e=>e.pos&&e.node).sort((e,t)=>e.node.x-t.node.x);for(let e=0;e<r.length-1;e++){let n=r[e],i=r[e+1];t.append(`line`).attr(`class`,`wardley-pipeline-evolution-link`).attr(`x1`,n.pos.x).attr(`y1`,n.pos.y).attr(`x2`,i.pos.x).attr(`y2`,i.pos.y).attr(`stroke`,l.linkStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,`4 4`)}let i=1/0,a=-1/0,o=0;if(n.componentIds.forEach(e=>{let t=D.get(e);t&&(i=Math.min(i,t.x),a=Math.max(a,t.x),o=t.y)}),i!==1/0&&a!==-1/0){let t=c.nodeRadius*4,r=o-t/2,s=D.get(n.nodeId);s&&(s.x=(i+a)/2,s.y=r-u/6),e.append(`rect`).attr(`class`,`wardley-pipeline-box`).attr(`x`,i-15).attr(`y`,r).attr(`width`,a-i+30).attr(`height`,t).attr(`fill`,`none`).attr(`stroke`,l.axisColor).attr(`stroke-width`,1.5).attr(`rx`,4).attr(`ry`,4)}})}let O=_.append(`g`).attr(`class`,`wardley-links`),k=new Map;f.pipelines.forEach(e=>{k.set(e.nodeId,new Set(e.componentIds))});let A=f.links.filter(e=>!(!D.has(e.source)||!D.has(e.target)||k.get(e.target)?.has(e.source)));O.selectAll(`line`).data(A).enter().append(`line`).attr(`class`,e=>`wardley-link${e.dashed?` wardley-link--dashed`:``}`).attr(`x1`,e=>{let t=D.get(e.source),n=D.get(e.target),r=f.nodes.find(t=>t.id===e.source).isPipelineParent?u/Math.sqrt(2):c.nodeRadius,i=n.x-t.x,a=n.y-t.y,o=Math.sqrt(i*i+a*a);return t.x+i/o*r}).attr(`y1`,e=>{let t=D.get(e.source),n=D.get(e.target),r=f.nodes.find(t=>t.id===e.source).isPipelineParent?u/Math.sqrt(2):c.nodeRadius,i=n.x-t.x,a=n.y-t.y,o=Math.sqrt(i*i+a*a);return t.y+a/o*r}).attr(`x2`,e=>{let t=D.get(e.source),n=D.get(e.target),r=f.nodes.find(t=>t.id===e.target).isPipelineParent?u/Math.sqrt(2):c.nodeRadius,i=t.x-n.x,a=t.y-n.y,o=Math.sqrt(i*i+a*a);return n.x+i/o*r}).attr(`y2`,e=>{let t=D.get(e.source),n=D.get(e.target),r=f.nodes.find(t=>t.id===e.target).isPipelineParent?u/Math.sqrt(2):c.nodeRadius,i=t.x-n.x,a=t.y-n.y,o=Math.sqrt(i*i+a*a);return n.y+a/o*r}).attr(`stroke`,l.linkStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,e=>e.dashed?`6 6`:null).attr(`marker-end`,e=>e.flow===`forward`||e.flow===`bidirectional`?`url(#link-arrow-end-${i})`:null).attr(`marker-start`,e=>e.flow===`backward`||e.flow===`bidirectional`?`url(#link-arrow-start-${i})`:null),O.selectAll(`text`).data(A.filter(e=>e.label)).enter().append(`text`).attr(`class`,`wardley-link-label`).attr(`x`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.x+n.x)/2,i=n.y-t.y,a=n.x-t.x;return r+i/Math.sqrt(a*a+i*i)*8}).attr(`y`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.y+n.y)/2,i=n.x-t.x,a=n.y-t.y,o=Math.sqrt(i*i+a*a);return r+-i/o*8}).attr(`fill`,l.axisTextColor).attr(`font-size`,c.labelFontSize).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`middle`).attr(`transform`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.x+n.x)/2,i=(t.y+n.y)/2,a=n.x-t.x,o=n.y-t.y,s=Math.sqrt(a*a+o*o),c=o/s,l=-a/s,u=r+c*8,d=i+l*8,f=Math.atan2(o,a)*180/Math.PI;return(f>90||f<-90)&&(f+=180),`rotate(${f} ${u} ${d})`}).text(e=>e.label);let j=_.append(`g`).attr(`class`,`wardley-trends`),F=f.trends.map(e=>{let t=D.get(e.nodeId);if(!t)return null;let n=x(e.targetX),r=S(e.targetY),i=n-t.x,a=r-t.y,o=Math.sqrt(i*i+a*a),s=c.nodeRadius+2;return{origin:t,targetX:n,targetY:r,adjustedX2:o>s?n-i/o*s:n,adjustedY2:o>s?r-a/o*s:r}}).filter(e=>e!==null);j.selectAll(`line`).data(F).enter().append(`line`).attr(`class`,`wardley-trend`).attr(`x1`,e=>e.origin.x).attr(`y1`,e=>e.origin.y).attr(`x2`,e=>e.adjustedX2).attr(`y2`,e=>e.adjustedY2).attr(`stroke`,l.evolutionStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,`4 4`).attr(`marker-end`,`url(#arrow-${i})`);let I=_.append(`g`).attr(`class`,`wardley-nodes`).selectAll(`g`).data(f.nodes).enter().append(`g`).attr(`class`,e=>[`wardley-node`,e.className?`wardley-node--${e.className}`:``].filter(Boolean).join(` `));I.filter(e=>e.sourceStrategy===`outsource`).append(`circle`).attr(`class`,`wardley-outsource-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius*2).attr(`fill`,`#666`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),I.filter(e=>e.sourceStrategy===`buy`).append(`circle`).attr(`class`,`wardley-buy-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius*2).attr(`fill`,`#ccc`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),I.filter(e=>e.sourceStrategy===`build`).append(`circle`).attr(`class`,`wardley-build-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius*2).attr(`fill`,`#eee`).attr(`stroke`,`#000`).attr(`stroke-width`,1);let L=I.filter(e=>e.sourceStrategy===`market`);L.append(`circle`).attr(`class`,`wardley-market-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius*2).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),I.filter(e=>!e.isPipelineParent&&e.sourceStrategy!==`market`&&e.className!==`anchor`).append(`circle`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,c.nodeRadius).attr(`fill`,l.componentFill).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1);let R=c.nodeRadius*.7,z=c.nodeRadius*1.2;if(L.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x).attr(`y1`,e=>D.get(e.id).y-z).attr(`x2`,e=>D.get(e.id).x-z*Math.cos(Math.PI/6)).attr(`y2`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),L.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x-z*Math.cos(Math.PI/6)).attr(`y1`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`x2`,e=>D.get(e.id).x+z*Math.cos(Math.PI/6)).attr(`y2`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),L.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x+z*Math.cos(Math.PI/6)).attr(`y1`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`x2`,e=>D.get(e.id).x).attr(`y2`,e=>D.get(e.id).y-z).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),L.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y-z).attr(`r`,R).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,2),L.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x-z*Math.cos(Math.PI/6)).attr(`cy`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`r`,R).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,2),L.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x+z*Math.cos(Math.PI/6)).attr(`cy`,e=>D.get(e.id).y+z*Math.sin(Math.PI/6)).attr(`r`,R).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,2),I.filter(e=>e.isPipelineParent===!0).append(`rect`).attr(`x`,e=>D.get(e.id).x-u/2).attr(`y`,e=>D.get(e.id).y-u/2).attr(`width`,u).attr(`height`,u).attr(`fill`,l.componentFill).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),I.filter(e=>e.inertia===!0).append(`line`).attr(`class`,`wardley-inertia`).attr(`x1`,e=>{let t=D.get(e.id),n=e.isPipelineParent?u/2+15:c.nodeRadius+15;return e.sourceStrategy&&(n+=c.nodeRadius+10),t.x+n}).attr(`y1`,e=>{let t=D.get(e.id),n=e.isPipelineParent?u:c.nodeRadius*2;return t.y-n/2}).attr(`x2`,e=>{let t=D.get(e.id),n=e.isPipelineParent?u/2+15:c.nodeRadius+15;return e.sourceStrategy&&(n+=c.nodeRadius+10),t.x+n}).attr(`y2`,e=>{let t=D.get(e.id),n=e.isPipelineParent?u:c.nodeRadius*2;return t.y+n/2}).attr(`stroke`,l.componentStroke).attr(`stroke-width`,6),I.append(`text`).attr(`x`,e=>{let t=D.get(e.id);if(e.className===`anchor`)return e.labelOffsetX===void 0?t.x:t.x+e.labelOffsetX;let n=c.nodeLabelOffset;e.sourceStrategy&&e.labelOffsetX===void 0&&(n+=10);let r=e.labelOffsetX??n;return t.x+r}).attr(`y`,e=>{let t=D.get(e.id);if(e.className===`anchor`)return e.labelOffsetY===void 0?t.y-3:t.y+e.labelOffsetY;let n=-c.nodeLabelOffset;e.sourceStrategy&&e.labelOffsetY===void 0&&(n-=10);let r=e.labelOffsetY??n;return t.y+r}).attr(`class`,`wardley-node-label`).attr(`fill`,e=>e.className===`evolved`?l.evolutionStroke:e.className===`anchor`?`#000`:l.componentLabelColor).attr(`font-size`,c.labelFontSize).attr(`font-weight`,e=>e.className===`anchor`?`bold`:`normal`).attr(`text-anchor`,e=>e.className===`anchor`?`middle`:`start`).attr(`dominant-baseline`,e=>e.className===`anchor`?`middle`:`auto`).text(e=>e.label),f.annotations.length>0){let e=_.append(`g`).attr(`class`,`wardley-annotations`);if(f.annotations.forEach(t=>{let n=t.coordinates.map(e=>({x:x(e.x),y:S(e.y)}));if(n.length>1)for(let t=0;t<n.length-1;t++)e.append(`line`).attr(`class`,`wardley-annotation-line`).attr(`x1`,n[t].x).attr(`y1`,n[t].y).attr(`x2`,n[t+1].x).attr(`y2`,n[t+1].y).attr(`stroke`,l.axisColor).attr(`stroke-width`,1.5).attr(`stroke-dasharray`,`4 4`);n.forEach(n=>{let r=e.append(`g`).attr(`class`,`wardley-annotation`);r.append(`circle`).attr(`cx`,n.x).attr(`cy`,n.y).attr(`r`,10).attr(`fill`,`white`).attr(`stroke`,l.axisColor).attr(`stroke-width`,1.5),r.append(`text`).attr(`x`,n.x).attr(`y`,n.y).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`central`).attr(`font-size`,10).attr(`fill`,l.axisTextColor).attr(`font-weight`,`bold`).text(t.number)})}),f.annotationsBox){let t=x(f.annotationsBox.x),n=S(f.annotationsBox.y),r=e.append(`g`).attr(`class`,`wardley-annotations-box`),i=[...f.annotations].filter(e=>e.text).sort((e,t)=>e.number-t.number),a=[];if(i.forEach((e,i)=>{let o=r.append(`text`).attr(`x`,t+10).attr(`y`,n+10+(i+1)*16).attr(`font-size`,11).attr(`fill`,l.axisTextColor).attr(`text-anchor`,`start`).attr(`dominant-baseline`,`middle`).text(`${e.number}. ${e.text}`);a.push(o)}),a.length>0){let e=0,o=0;a.forEach(t=>{let n=t.node(),r=n.getComputedTextLength();e=Math.max(e,r);let i=n.getBBox();o=Math.max(o,i.height)});let s=e+20+105,u=i.length*16+20+o/2,d=c.padding,f=m-c.padding-s,p=c.padding,g=h-c.padding-u;t=Math.max(d,Math.min(t,f)),n=Math.max(p,Math.min(n,g)),a.forEach((e,r)=>{e.attr(`x`,t+10).attr(`y`,n+10+(r+1)*16)}),r.insert(`rect`,`text`).attr(`x`,t).attr(`y`,n).attr(`width`,s).attr(`height`,u).attr(`fill`,`white`).attr(`stroke`,l.axisColor).attr(`stroke-width`,1.5).attr(`rx`,4).attr(`ry`,4)}}}if(f.notes.length>0){let e=_.append(`g`).attr(`class`,`wardley-notes`);f.notes.forEach(t=>{let n=x(t.x),r=S(t.y);e.append(`text`).attr(`x`,n).attr(`y`,r).attr(`text-anchor`,`start`).attr(`font-size`,11).attr(`fill`,l.axisTextColor).attr(`font-weight`,`bold`).text(t.text)})}if(f.accelerators.length>0){let e=_.append(`g`).attr(`class`,`wardley-accelerators`);f.accelerators.forEach(t=>{let n=x(t.x),r=S(t.y),i=`
|
|
3
|
+
M ${n} ${r-15}
|
|
4
|
+
L ${n+60-20} ${r-15}
|
|
5
|
+
L ${n+60-20} ${r-15-8}
|
|
6
6
|
L ${n+60} ${r}
|
|
7
|
-
L ${n+60-20} ${r+
|
|
8
|
-
L ${n+60-20} ${r+
|
|
9
|
-
L ${n} ${r+
|
|
7
|
+
L ${n+60-20} ${r+15+8}
|
|
8
|
+
L ${n+60-20} ${r+15}
|
|
9
|
+
L ${n} ${r+15}
|
|
10
10
|
Z
|
|
11
|
-
`;e.append(`path`).attr(`d`,i).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),e.append(`text`).attr(`x`,n+
|
|
12
|
-
M ${n+60} ${r-
|
|
13
|
-
L ${n+20} ${r-
|
|
14
|
-
L ${n+20} ${r-
|
|
11
|
+
`;e.append(`path`).attr(`d`,i).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),e.append(`text`).attr(`x`,n+30).attr(`y`,r+15+15).attr(`text-anchor`,`middle`).attr(`font-size`,10).attr(`fill`,l.axisTextColor).attr(`font-weight`,`bold`).text(t.name)})}if(f.deaccelerators.length>0){let e=_.append(`g`).attr(`class`,`wardley-deaccelerators`);f.deaccelerators.forEach(t=>{let n=x(t.x),r=S(t.y),i=`
|
|
12
|
+
M ${n+60} ${r-15}
|
|
13
|
+
L ${n+20} ${r-15}
|
|
14
|
+
L ${n+20} ${r-15-8}
|
|
15
15
|
L ${n} ${r}
|
|
16
|
-
L ${n+20} ${r+
|
|
17
|
-
L ${n+20} ${r+
|
|
18
|
-
L ${n+60} ${r+
|
|
16
|
+
L ${n+20} ${r+15+8}
|
|
17
|
+
L ${n+20} ${r+15}
|
|
18
|
+
L ${n+60} ${r+15}
|
|
19
19
|
Z
|
|
20
|
-
`;e.append(`path`).attr(`d`,i).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),e.append(`text`).attr(`x`,n+
|
|
20
|
+
`;e.append(`path`).attr(`d`,i).attr(`fill`,`white`).attr(`stroke`,l.componentStroke).attr(`stroke-width`,1),e.append(`text`).attr(`x`,n+30).attr(`y`,r+15+15).attr(`text-anchor`,`middle`).attr(`font-size`,10).attr(`fill`,l.axisTextColor).attr(`font-weight`,`bold`).text(t.name)})}},`draw`)},styles:t.n(({wardley:e}={})=>{let t=r.D(),n=r.b(),a=i.i(t,n.themeVariables),o=i.i(a.wardley,e);return`
|
|
21
21
|
.wardley-background {
|
|
22
|
-
fill: ${
|
|
22
|
+
fill: ${o.backgroundColor};
|
|
23
23
|
}
|
|
24
24
|
.wardley-axes line, .wardley-axes path {
|
|
25
|
-
stroke: ${
|
|
25
|
+
stroke: ${o.axisColor};
|
|
26
26
|
}
|
|
27
27
|
.wardley-axis-label {
|
|
28
|
-
fill: ${
|
|
28
|
+
fill: ${o.axisTextColor};
|
|
29
29
|
}
|
|
30
30
|
.wardley-stage-label {
|
|
31
|
-
fill: ${
|
|
31
|
+
fill: ${o.axisTextColor};
|
|
32
32
|
}
|
|
33
33
|
.wardley-grid line {
|
|
34
|
-
stroke: ${
|
|
34
|
+
stroke: ${o.gridColor};
|
|
35
35
|
}
|
|
36
36
|
.wardley-node circle {
|
|
37
|
-
fill: ${
|
|
38
|
-
stroke: ${
|
|
37
|
+
fill: ${o.componentFill};
|
|
38
|
+
stroke: ${o.componentStroke};
|
|
39
39
|
}
|
|
40
40
|
.wardley-node-label {
|
|
41
|
-
fill: ${
|
|
41
|
+
fill: ${o.componentLabelColor};
|
|
42
42
|
}
|
|
43
43
|
.wardley-link {
|
|
44
|
-
stroke: ${
|
|
44
|
+
stroke: ${o.linkStroke};
|
|
45
45
|
}
|
|
46
46
|
.wardley-link--dashed {
|
|
47
47
|
stroke-dasharray: 4 4;
|
|
48
48
|
}
|
|
49
49
|
.wardley-link-label {
|
|
50
|
-
fill: ${
|
|
50
|
+
fill: ${o.axisTextColor};
|
|
51
51
|
}
|
|
52
52
|
.wardley-trend line {
|
|
53
|
-
stroke: ${
|
|
53
|
+
stroke: ${o.evolutionStroke};
|
|
54
54
|
}
|
|
55
55
|
.wardley-annotation-line {
|
|
56
|
-
stroke: ${
|
|
56
|
+
stroke: ${o.annotationStroke};
|
|
57
57
|
}
|
|
58
58
|
.wardley-annotation circle {
|
|
59
|
-
fill: ${
|
|
60
|
-
stroke: ${
|
|
59
|
+
fill: ${o.annotationFill};
|
|
60
|
+
stroke: ${o.annotationStroke};
|
|
61
61
|
}
|
|
62
62
|
.wardley-annotation text {
|
|
63
|
-
fill: ${
|
|
63
|
+
fill: ${o.annotationTextColor};
|
|
64
64
|
}
|
|
65
65
|
.wardley-annotations-box rect {
|
|
66
|
-
fill: ${
|
|
67
|
-
stroke: ${
|
|
66
|
+
fill: ${o.annotationFill};
|
|
67
|
+
stroke: ${o.annotationStroke};
|
|
68
68
|
}
|
|
69
69
|
.wardley-annotations-box text {
|
|
70
|
-
fill: ${
|
|
70
|
+
fill: ${o.annotationTextColor};
|
|
71
71
|
}
|
|
72
72
|
.wardley-pipeline-box {
|
|
73
|
-
stroke: ${
|
|
73
|
+
stroke: ${o.componentStroke};
|
|
74
74
|
}
|
|
75
75
|
.wardley-notes text {
|
|
76
|
-
fill: ${
|
|
76
|
+
fill: ${o.axisTextColor};
|
|
77
77
|
}
|
|
78
78
|
`},`styles`)};exports.diagram=F;
|
|
@@ -4,7 +4,7 @@ function e(e) {
|
|
|
4
4
|
}
|
|
5
5
|
function t(e, t) {
|
|
6
6
|
let n = t.split(/[?#]/)[0], r = n.startsWith("/") ? n.split("/") : [...e.split("/").slice(0, -1), ...n.split("/")], i = [];
|
|
7
|
-
for (let e of r) e
|
|
7
|
+
for (let e of r) e !== "" && e !== "." && (e === ".." ? i.pop() : i.push(e));
|
|
8
8
|
return i.join("/");
|
|
9
9
|
}
|
|
10
10
|
function n(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)||e.startsWith(`//`)}function t(e,t){let n=t.split(/[?#]/)[0],r=n.startsWith(`/`)?n.split(`/`):[...e.split(`/`).slice(0,-1),...n.split(`/`)],i=[];for(let e of r)e
|
|
1
|
+
function e(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)||e.startsWith(`//`)}function t(e,t){let n=t.split(/[?#]/)[0],r=n.startsWith(`/`)?n.split(`/`):[...e.split(`/`).slice(0,-1),...n.split(`/`)],i=[];for(let e of r)e!==``&&e!==`.`&&(e===`..`?i.pop():i.push(e));return i.join(`/`)}function n(e){return/\.(png|jpe?g|gif|webp|svg|avif)$/i.test(e)}function r(e){return/\.pdf$/i.test(e)}function i(e){return/\.(docx|xlsx|pptx)$/i.test(e)}function a(e,t,n,r){let i=n?`&token=${encodeURIComponent(n)}`:``,a=r===void 0?``:`&v=${encodeURIComponent(String(r))}`;return`${e}/files/raw?path=${encodeURIComponent(t)}${i}${a}`}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage
|
|
1
|
+
function e(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:`css`}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:`javascript`}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}exports.default=e;
|
|
@@ -112,7 +112,7 @@ function e(e) {
|
|
|
112
112
|
starts: {
|
|
113
113
|
end: /<\/style>/,
|
|
114
114
|
returnEnd: !0,
|
|
115
|
-
subLanguage:
|
|
115
|
+
subLanguage: "css"
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
{
|
|
@@ -124,11 +124,7 @@ function e(e) {
|
|
|
124
124
|
starts: {
|
|
125
125
|
end: /<\/script>/,
|
|
126
126
|
returnEnd: !0,
|
|
127
|
-
subLanguage:
|
|
128
|
-
"javascript",
|
|
129
|
-
"handlebars",
|
|
130
|
-
"xml"
|
|
131
|
-
]
|
|
127
|
+
subLanguage: "javascript"
|
|
132
128
|
}
|
|
133
129
|
},
|
|
134
130
|
{
|