mio-previewer 0.2.74 → 0.2.77
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/_basePickBy-CXmXW7jd.js +166 -0
- package/dist/_basePickBy-CtuVwROD.cjs +1 -0
- package/dist/_baseUniq-CGoiOkSa.js +682 -0
- package/dist/_baseUniq-CYtOXxfV.cjs +1 -0
- package/dist/_createAssigner-DqH64jc7.cjs +1 -0
- package/dist/_createAssigner-IEX8lwxm.js +573 -0
- package/dist/arc-C78br9Yj.cjs +1 -0
- package/dist/arc-vLgDTVZZ.js +80 -0
- package/dist/architecture-O4VJ6CD3-B9qzjtV8.cjs +1 -0
- package/dist/architecture-O4VJ6CD3-wqAP4onK.js +2 -0
- package/dist/architectureDiagram-VXUJARFQ-CYbuyVAs.js +4039 -0
- package/dist/architectureDiagram-VXUJARFQ-DEGYSl1f.cjs +36 -0
- package/dist/array-CApNbSU9.js +6 -0
- package/dist/array-DZSRzHA_.cjs +1 -0
- package/dist/assets/parser.worker-Bzb1GItl.js +14 -0
- package/dist/blockDiagram-VD42YOAC-DaH3L5Ng.js +3009 -0
- package/dist/blockDiagram-VD42YOAC-DeX0dq72.cjs +122 -0
- package/dist/c4Diagram-YG6GDRKO-CIThIYo6.js +2959 -0
- package/dist/c4Diagram-YG6GDRKO-Dz6dif_9.cjs +10 -0
- package/dist/channel-BWHkpgVD.cjs +1 -0
- package/dist/channel-JT7eWw2w.js +5 -0
- package/dist/chunk-4BX2VUAB-BZTgbbzC.js +8 -0
- package/dist/chunk-4BX2VUAB-HXFjpyQg.cjs +1 -0
- package/dist/chunk-55IACEB6-DWUqxxdp.js +8 -0
- package/dist/chunk-55IACEB6-Hy_THNUs.cjs +1 -0
- package/dist/chunk-ABZYJK2D-CbIYYZa_.cjs +80 -0
- package/dist/chunk-ABZYJK2D-DDrmE3Q7.js +2518 -0
- package/dist/chunk-ATLVNIR6-DHlCNWnJ.js +67 -0
- package/dist/chunk-ATLVNIR6-shAOudT0.cjs +1 -0
- package/dist/chunk-B4BG7PRW-C67vroOS.cjs +165 -0
- package/dist/chunk-B4BG7PRW-DSYuK8dI.js +3116 -0
- package/dist/chunk-BNMv73og.cjs +1 -0
- package/dist/chunk-CVBHYZKI-CLVcv_xh.cjs +1 -0
- package/dist/chunk-CVBHYZKI-CiCGetln.js +12 -0
- package/dist/chunk-DI55MBZ5-BCvBgHrp.cjs +220 -0
- package/dist/chunk-DI55MBZ5-Clru0TyG.js +2000 -0
- package/dist/chunk-Dbv0sNQl.js +20 -0
- package/dist/chunk-FMBD7UC4-D4kohRVY.js +5 -0
- package/dist/{chunk-FMBD7UC4-DxkUZTpt.cjs → chunk-FMBD7UC4-DWMVCXKq.cjs} +2 -2
- package/dist/chunk-HN2XXSSU-BwmRMa2r.cjs +1 -0
- package/dist/chunk-HN2XXSSU-CJL8wAZ2.js +76 -0
- package/dist/chunk-JA3XYJ7Z-BaAdjYEy.cjs +70 -0
- package/dist/chunk-JA3XYJ7Z-CpKHrbOX.js +1849 -0
- package/dist/chunk-JZLCHNYA-CYo7ykJf.js +4863 -0
- package/dist/chunk-JZLCHNYA-CvPIQFXP.cjs +54 -0
- package/dist/chunk-QN33PNHL-BFbXAWI4.js +25 -0
- package/dist/chunk-QN33PNHL-Cu0FHarG.cjs +1 -0
- package/dist/chunk-QXUST7PY-CnnfdJrM.cjs +7 -0
- package/dist/chunk-QXUST7PY-CxCAwQqP.js +488 -0
- package/dist/chunk-QZHKN3VN-2e6nJr8c.cjs +1 -0
- package/dist/chunk-QZHKN3VN-Dal4kx9B.js +15 -0
- package/dist/chunk-S3R3BYOJ-B2ozcJNg.cjs +2 -0
- package/dist/chunk-S3R3BYOJ-CG6GoSCd.js +1119 -0
- package/dist/chunk-TZMSLE5B-CooeLs4Q.js +57 -0
- package/dist/chunk-TZMSLE5B-D92K1Ja5.cjs +1 -0
- package/dist/classDiagram-2ON5EDUG-Bv1XCvDZ.js +28 -0
- package/dist/classDiagram-2ON5EDUG-BzMV1CJW.cjs +1 -0
- package/dist/classDiagram-v2-WZHVMYZB-Bqxv5U7u.js +28 -0
- package/dist/classDiagram-v2-WZHVMYZB-BzMV1CJW.cjs +1 -0
- package/dist/clone-B0KDIkSS.js +8 -0
- package/dist/clone-wvtBTB6v.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-DMHTv1aW.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-bGPAcpg6.js +2250 -0
- package/dist/custom-Bl_fVJZ0.cjs +84 -0
- package/dist/custom-D-TzPpWT.js +5281 -0
- package/dist/cytoscape.esm-CElDUMAx.cjs +321 -0
- package/dist/cytoscape.esm-xf9dtmBj.js +18100 -0
- package/dist/dagre-6UL2VRFP-3bgUxzqG.js +294 -0
- package/dist/dagre-6UL2VRFP-B3NqmIxs.cjs +4 -0
- package/dist/dagre-BfAHSwtP.js +1472 -0
- package/dist/dagre-Buvkww-e.cjs +1 -0
- package/dist/defaultLocale-B5dSAwiC.js +201 -0
- package/dist/defaultLocale-G0HsdRIB.cjs +1 -0
- package/dist/diagram-PSM6KHXK-C4FjxUHt.cjs +24 -0
- package/dist/diagram-PSM6KHXK-CF8TkgzX.js +527 -0
- package/dist/diagram-QEK2KX5R-Dl3IHeA5.js +213 -0
- package/dist/diagram-QEK2KX5R-Z9DYjr44.cjs +43 -0
- package/dist/diagram-S2PKOQOG-Bib-zL2S.cjs +24 -0
- package/dist/diagram-S2PKOQOG-ZKvn7IEe.js +133 -0
- package/dist/dist-DC-lM4uX.cjs +1 -0
- package/dist/dist-zNcLEPGR.js +51 -0
- package/dist/erDiagram-Q2GNP2WA-DFMV9OUT.cjs +60 -0
- package/dist/erDiagram-Q2GNP2WA-DJYJEzEB.js +1600 -0
- package/dist/flowDiagram-NV44I4VS-7TxeawHS.cjs +162 -0
- package/dist/flowDiagram-NV44I4VS-CXa6ycqs.js +4128 -0
- package/dist/ganttDiagram-LVOFAZNH-DqT7pu4m.js +2869 -0
- package/dist/ganttDiagram-LVOFAZNH-iiExGpwF.cjs +267 -0
- package/dist/gitGraph-ZV4HHKMB-BjaEVcYh.cjs +1 -0
- package/dist/gitGraph-ZV4HHKMB-Cl2I6-l3.js +2 -0
- package/dist/gitGraphDiagram-NY62KEGX-Tphu_MeC.js +621 -0
- package/dist/gitGraphDiagram-NY62KEGX-k5xzXg7C.cjs +65 -0
- package/dist/graphlib-C3tPLMbC.js +225 -0
- package/dist/graphlib-Cdg0u3TT.cjs +1 -0
- package/dist/info-63CPKGFF-D2A5GDFo.js +2 -0
- package/dist/info-63CPKGFF-MRaucWlf.cjs +1 -0
- package/dist/infoDiagram-F6ZHWCRC-3Jwo4J0f.cjs +2 -0
- package/dist/infoDiagram-F6ZHWCRC-BUoruN76.js +19 -0
- package/dist/init-07zIhv_j.cjs +1 -0
- package/dist/init-Bwwdo3M6.js +15 -0
- package/dist/journeyDiagram-XKPGCS4Q-C_3oD9RV.cjs +139 -0
- package/dist/journeyDiagram-XKPGCS4Q-DB7INfrf.js +883 -0
- package/dist/kanban-definition-3W4ZIXB7-AVLIBuMF.js +968 -0
- package/dist/kanban-definition-3W4ZIXB7-txUXjKzB.cjs +89 -0
- package/dist/katex-6UpFeIdV.cjs +261 -0
- package/dist/katex-BHcJffnM.js +22112 -0
- package/dist/line-DYhVGH2B.js +34 -0
- package/dist/line-DdNAPGaw.cjs +1 -0
- package/dist/linear-n4_iirEu.js +289 -0
- package/dist/linear-rQLpRrSH.cjs +1 -0
- package/dist/loadCss-D6257oR0.js +8 -0
- package/dist/loadCss-DhrQh6-A.cjs +1 -0
- package/dist/markdown-it-Cz3KGZjR.cjs +2 -0
- package/dist/markdown-it-D-hH4G7k.js +173 -0
- package/dist/math-G8rF7UWn.cjs +1 -0
- package/dist/math-H49DsxYR.js +10 -0
- package/dist/mermaid-parser.core-B84fnaGG.js +11904 -0
- package/dist/mermaid-parser.core-C9EbhVVg.cjs +82 -0
- package/dist/mindmap-definition-VGOIOE7T-CXlyYsc6.cjs +68 -0
- package/dist/mindmap-definition-VGOIOE7T-VIt9sDN3.js +963 -0
- package/dist/mio-previewer.cjs.js +11 -21
- package/dist/mio-previewer.css +2 -9
- package/dist/mio-previewer.es.js +4915 -6147
- package/dist/ordinal-C55HfHHp.js +65 -0
- package/dist/ordinal-CUPR-p0T.cjs +1 -0
- package/dist/packet-HUATNLJX-CGNko_oS.cjs +1 -0
- package/dist/packet-HUATNLJX-CVx40lqO.js +2 -0
- package/dist/path-DNvJyUE8.js +85 -0
- package/dist/path-Kklx0M1v.cjs +1 -0
- package/dist/pie-WTHONI2E-BdPx0Cfg.cjs +1 -0
- package/dist/pie-WTHONI2E-DX5V8x0L.js +2 -0
- package/dist/pieDiagram-ADFJNKIX-BysReYfx.js +165 -0
- package/dist/pieDiagram-ADFJNKIX-CTT1YMsk.cjs +30 -0
- package/dist/plugins/custom.cjs.js +1 -1
- package/dist/plugins/custom.es.js +2 -85
- package/dist/plugins/markdown-it.cjs.js +1 -3
- package/dist/plugins/markdown-it.es.js +2 -173
- package/dist/quadrantDiagram-AYHSOK5B-8-V3cwsC.cjs +7 -0
- package/dist/quadrantDiagram-AYHSOK5B-DRutDK03.js +1974 -0
- package/dist/radar-NJJJXTRR-CTD6M8nl.js +2 -0
- package/dist/radar-NJJJXTRR-wJoTnQbj.cjs +1 -0
- package/dist/requirementDiagram-UZGBJVZJ-DFRpWnfW.cjs +64 -0
- package/dist/requirementDiagram-UZGBJVZJ-DNYoJyhG.js +2191 -0
- package/dist/sankeyDiagram-TZEHDZUN-B9fxDP0Q.cjs +10 -0
- package/dist/sankeyDiagram-TZEHDZUN-DD6bkI4Z.js +920 -0
- package/dist/sequenceDiagram-WL72ISMW-Bmptok1c.js +3562 -0
- package/dist/sequenceDiagram-WL72ISMW-D9sXtgAn.cjs +145 -0
- package/dist/src-BMjps4Ui.cjs +1 -0
- package/dist/src-BuisGndr.js +2149 -0
- package/dist/stateDiagram-FKZM4ZOC-Bmiw8fnW.js +217 -0
- package/dist/stateDiagram-FKZM4ZOC-DiD1WJPM.cjs +1 -0
- package/dist/stateDiagram-v2-4FDKWEC3-5ADhn1IF.js +27 -0
- package/dist/stateDiagram-v2-4FDKWEC3-BjhmCPL1.cjs +1 -0
- package/dist/timeline-definition-IT6M3QCI-C9VMls3W.js +830 -0
- package/dist/timeline-definition-IT6M3QCI-ZzbHXhNl.cjs +61 -0
- package/dist/treemap-75Q7IDZK-9TPMYr3R.cjs +1 -0
- package/dist/treemap-75Q7IDZK-u3p-cHDL.js +2 -0
- package/dist/types/plugins/custom/codeBlockPlugin.d.ts +8 -0
- package/dist/types/plugins/custom/mermaidPlugin.d.ts +4 -0
- package/dist/xychartDiagram-PRI3JC2R-BI6KuGZ2.cjs +7 -0
- package/dist/xychartDiagram-PRI3JC2R-BWabDL1u.js +2041 -0
- package/package.json +2 -2
- package/dist/_basePickBy-Be3yyf2d.js +0 -151
- package/dist/_basePickBy-Z0DtrAKQ.cjs +0 -1
- package/dist/_baseUniq-BXkA0Pgx.js +0 -614
- package/dist/_baseUniq-Dq2eV1vY.cjs +0 -1
- package/dist/arc-B-QGG8RZ.cjs +0 -1
- package/dist/arc-djW14lrn.js +0 -83
- package/dist/architecture-O4VJ6CD3-Cws_zM2K.cjs +0 -1
- package/dist/architecture-O4VJ6CD3-pdMXTCaT.js +0 -5
- package/dist/architectureDiagram-VXUJARFQ-BwchhvqL.js +0 -4661
- package/dist/architectureDiagram-VXUJARFQ-DxDLWGpO.cjs +0 -36
- package/dist/assets/parser.worker-67NQKZt5.js +0 -16
- package/dist/blockDiagram-VD42YOAC-B4Xc8gfX.cjs +0 -122
- package/dist/blockDiagram-VD42YOAC-DpPneP6J.js +0 -2261
- package/dist/c4Diagram-YG6GDRKO-695lQbrZ.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-Cnlax2Xq.js +0 -1580
- package/dist/channel-D_ITz6Jy.cjs +0 -1
- package/dist/channel-sXy9EduO.js +0 -5
- package/dist/chunk-4BX2VUAB-Bdx3_f83.cjs +0 -1
- package/dist/chunk-4BX2VUAB-DRkGmgAZ.js +0 -8
- package/dist/chunk-55IACEB6-BB03hpRC.cjs +0 -1
- package/dist/chunk-55IACEB6-Ord5OQlh.js +0 -8
- package/dist/chunk-B4BG7PRW-Ca0fOgzA.cjs +0 -165
- package/dist/chunk-B4BG7PRW-D-cs8bDX.js +0 -1375
- package/dist/chunk-DI55MBZ5-BsRe2B2M.cjs +0 -220
- package/dist/chunk-DI55MBZ5-DSmlLD1s.js +0 -1370
- package/dist/chunk-FMBD7UC4-IYQmAMTo.js +0 -19
- package/dist/chunk-QN33PNHL-B7G6Qlf3.cjs +0 -1
- package/dist/chunk-QN33PNHL-EYMc4JVr.js +0 -19
- package/dist/chunk-QZHKN3VN-B8NJ6Ahx.cjs +0 -1
- package/dist/chunk-QZHKN3VN-C4WIG5z8.js +0 -15
- package/dist/chunk-TZMSLE5B-BoM53RHv.js +0 -64
- package/dist/chunk-TZMSLE5B-CgLDb48A.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-CxmdZvqc.js +0 -16
- package/dist/classDiagram-2ON5EDUG-DIRim8qa.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-CxmdZvqc.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-DIRim8qa.cjs +0 -1
- package/dist/clone-DOYxaT_d.js +0 -8
- package/dist/clone-DSlm33NG.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-BD3p1OC_.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-yLoaqH3G.js +0 -2608
- package/dist/cytoscape.esm-DHF7mANN.cjs +0 -331
- package/dist/cytoscape.esm-DfdJODL8.js +0 -18735
- package/dist/dagre-6UL2VRFP-DG1oQ4B2.cjs +0 -4
- package/dist/dagre-6UL2VRFP-VjboDBbp.js +0 -444
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-C1p0l5TY.js +0 -531
- package/dist/diagram-PSM6KHXK-a4rni6rJ.cjs +0 -24
- package/dist/diagram-QEK2KX5R-CErKOsX1.cjs +0 -43
- package/dist/diagram-QEK2KX5R-CKmmuumX.js +0 -217
- package/dist/diagram-S2PKOQOG-B1M7qCNl.cjs +0 -24
- package/dist/diagram-S2PKOQOG-BMLCJExF.js +0 -142
- package/dist/erDiagram-Q2GNP2WA-BfuCa_Za.cjs +0 -60
- package/dist/erDiagram-Q2GNP2WA-fOTsQA-d.js +0 -841
- package/dist/flowDiagram-NV44I4VS-BEqeUuqz.cjs +0 -162
- package/dist/flowDiagram-NV44I4VS-DDwRAjVG.js +0 -1620
- package/dist/ganttDiagram-LVOFAZNH-BbuRS8g3.js +0 -2505
- package/dist/ganttDiagram-LVOFAZNH-BlVeWKRf.cjs +0 -267
- package/dist/gitGraph-ZV4HHKMB-Bmu8r_Iq.cjs +0 -1
- package/dist/gitGraph-ZV4HHKMB-DcQ2E4dF.js +0 -5
- package/dist/gitGraphDiagram-NY62KEGX-DcMEeNh7.cjs +0 -65
- package/dist/gitGraphDiagram-NY62KEGX-_sWVSKbL.js +0 -699
- package/dist/graph-DEnt0OtZ.js +0 -247
- package/dist/graph-Dgcjs2XL.cjs +0 -1
- package/dist/info-63CPKGFF-DVDDcoHy.js +0 -5
- package/dist/info-63CPKGFF-Dc3cWL0G.cjs +0 -1
- package/dist/infoDiagram-F6ZHWCRC-DoUSS0kC.js +0 -24
- package/dist/infoDiagram-F6ZHWCRC-ZeTrjgaE.cjs +0 -2
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-DGe13iBu.js +0 -834
- package/dist/journeyDiagram-XKPGCS4Q-Ihl9g4mY.cjs +0 -139
- package/dist/kanban-definition-3W4ZIXB7-2qkrkVLK.cjs +0 -89
- package/dist/kanban-definition-3W4ZIXB7-BhWe5nMU.js +0 -719
- package/dist/katex-CmGeg_OO.js +0 -11692
- package/dist/katex-DEiiRhcn.cjs +0 -261
- package/dist/layout-BDNzBIaA.cjs +0 -1
- package/dist/layout-DTBfbHzy.js +0 -1324
- package/dist/linear-BRl2UYUr.cjs +0 -1
- package/dist/linear-CwbXkgvF.js +0 -259
- package/dist/loadCss-BbD6mdv-.cjs +0 -1
- package/dist/loadCss-DS0Fuaxe.js +0 -8
- package/dist/mermaid-parser.core-CJ1yJm0s.js +0 -12966
- package/dist/mermaid-parser.core-CxTcWSA2.cjs +0 -128
- package/dist/mindmap-definition-VGOIOE7T-BPUEmP7g.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-DSqZBgzR.js +0 -784
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/ordinal-DfAQgscy.js +0 -61
- package/dist/packet-HUATNLJX-B-qfkr5X.cjs +0 -1
- package/dist/packet-HUATNLJX-Dxob_meO.js +0 -5
- package/dist/pie-WTHONI2E-BRtdTGWt.js +0 -5
- package/dist/pie-WTHONI2E-DK7f6qJw.cjs +0 -1
- package/dist/pieDiagram-ADFJNKIX-Dhq_bEzm.js +0 -161
- package/dist/pieDiagram-ADFJNKIX-V04ms3gr.cjs +0 -30
- package/dist/quadrantDiagram-AYHSOK5B-C97bOmUE.js +0 -1022
- package/dist/quadrantDiagram-AYHSOK5B-DlqFPVhi.cjs +0 -7
- package/dist/radar-NJJJXTRR-B9jT3LP3.cjs +0 -1
- package/dist/radar-NJJJXTRR-D8plmle3.js +0 -5
- package/dist/requirementDiagram-UZGBJVZJ-BxVMLKfQ.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-DENJ74Ew.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-DwgW7Suq.js +0 -810
- package/dist/sankeyDiagram-TZEHDZUN-lTBLhaSq.cjs +0 -10
- package/dist/sequenceDiagram-WL72ISMW-BAOeX1dA.js +0 -2511
- package/dist/sequenceDiagram-WL72ISMW-BRVvH1X4.cjs +0 -145
- package/dist/stateDiagram-FKZM4ZOC-BrFQE7Gl.js +0 -263
- package/dist/stateDiagram-FKZM4ZOC-D8GjooGL.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-4VRIY-eH.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-DnrWD6a3.js +0 -16
- package/dist/timeline-definition-IT6M3QCI-BJMIlueb.js +0 -795
- package/dist/timeline-definition-IT6M3QCI-BQFGUuGP.cjs +0 -61
- package/dist/treemap-75Q7IDZK-BX1vBFWf.cjs +0 -1
- package/dist/treemap-75Q7IDZK-CMTkunTV.js +0 -5
- package/dist/viewer-CZUSHxhf.js +0 -19131
- package/dist/viewer-Canph5Zx.cjs +0 -305
- package/dist/xychartDiagram-PRI3JC2R-Sl8WX8wc.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-WnFI7Ezu.js +0 -1340
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
"use strict";const Jt=require("./chunk-55IACEB6-BB03hpRC.cjs"),Qt=require("./chunk-QN33PNHL-B7G6Qlf3.cjs"),s=require("./viewer-Canph5Zx.cjs");var bt=(function(){var t=s.__name(function(P,l,h,o){for(h=h||{},o=P.length;o--;h[P[o]]=l);return h},"o"),e=[1,2],i=[1,3],n=[1,4],a=[2,4],u=[1,9],d=[1,11],S=[1,16],f=[1,17],y=[1,18],T=[1,19],E=[1,33],C=[1,20],k=[1,21],p=[1,22],D=[1,23],R=[1,24],x=[1,26],O=[1,27],L=[1,28],w=[1,29],Z=[1,30],tt=[1,31],et=[1,32],st=[1,35],it=[1,36],rt=[1,37],at=[1,38],M=[1,34],_=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],nt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],pt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:s.__name(function(l,h,o,g,m,r,z){var c=r.length-1;switch(m){case 3:return g.setRootDoc(r[c]),r[c];case 4:this.$=[];break;case 5:r[c]!="nl"&&(r[c-1].push(r[c]),this.$=r[c-1]);break;case 6:case 7:this.$=r[c];break;case 8:this.$="nl";break;case 12:this.$=r[c];break;case 13:const K=r[c-1];K.description=g.trimColon(r[c]),this.$=K;break;case 14:this.$={stmt:"relation",state1:r[c-2],state2:r[c]};break;case 15:const St=g.trimColon(r[c]);this.$={stmt:"relation",state1:r[c-3],state2:r[c-1],description:St};break;case 19:this.$={stmt:"state",id:r[c-3],type:"default",description:"",doc:r[c-1]};break;case 20:var Y=r[c],U=r[c-2].trim();if(r[c].match(":")){var lt=r[c].split(":");Y=lt[0],U=[U,lt[1]]}this.$={stmt:"state",id:Y,type:"default",description:U};break;case 21:this.$={stmt:"state",id:r[c-3],type:"default",description:r[c-5],doc:r[c-1]};break;case 22:this.$={stmt:"state",id:r[c],type:"fork"};break;case 23:this.$={stmt:"state",id:r[c],type:"join"};break;case 24:this.$={stmt:"state",id:r[c],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[c-1].trim(),note:{position:r[c-2].trim(),text:r[c].trim()}};break;case 29:this.$=r[c].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=r[c].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[c-3],url:r[c-2],tooltip:r[c-1]};break;case 33:this.$={stmt:"click",id:r[c-3],url:r[c-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[c-1].trim(),classes:r[c].trim()};break;case 36:this.$={stmt:"style",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 37:this.$={stmt:"applyClass",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:i,6:n},{1:[3]},{3:5,4:e,5:i,6:n},{3:6,4:e,5:i,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:u,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:f,19:y,22:T,24:E,25:C,26:k,27:p,28:D,29:R,32:25,33:x,35:O,37:L,38:w,41:Z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:f,19:y,22:T,24:E,25:C,26:k,27:p,28:D,29:R,32:25,33:x,35:O,37:L,38:w,41:Z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,7]),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(_,[2,11]),t(_,[2,12],{14:[1,40],15:[1,41]}),t(_,[2,16]),{18:[1,42]},t(_,[2,18],{20:[1,43]}),{23:[1,44]},t(_,[2,22]),t(_,[2,23]),t(_,[2,24]),t(_,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(_,[2,28]),{34:[1,49]},{36:[1,50]},t(_,[2,31]),{13:51,24:E,57:M},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(nt,[2,44],{58:[1,56]}),t(nt,[2,45],{58:[1,57]}),t(_,[2,38]),t(_,[2,39]),t(_,[2,40]),t(_,[2,41]),t(_,[2,6]),t(_,[2,13]),{13:58,24:E,57:M},t(_,[2,17]),t(vt,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(_,[2,29]),t(_,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(_,[2,14],{14:[1,71]}),{4:u,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:f,19:y,21:[1,72],22:T,24:E,25:C,26:k,27:p,28:D,29:R,32:25,33:x,35:O,37:L,38:w,41:Z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),t(nt,[2,46]),t(nt,[2,47]),t(_,[2,15]),t(_,[2,19]),t(vt,a,{7:78}),t(_,[2,26]),t(_,[2,27]),{5:[1,79]},{5:[1,80]},{4:u,5:d,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:f,19:y,21:[1,81],22:T,24:E,25:C,26:k,27:p,28:D,29:R,32:25,33:x,35:O,37:L,38:w,41:Z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,32]),t(_,[2,33]),t(_,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:s.__name(function(l,h){if(h.recoverable)this.trace(l);else{var o=new Error(l);throw o.hash=h,o}},"parseError"),parse:s.__name(function(l){var h=this,o=[0],g=[],m=[null],r=[],z=this.table,c="",Y=0,U=0,lt=2,K=1,St=r.slice.call(arguments,1),b=Object.create(this.lexer),B={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(B.yy[_t]=this.yy[_t]);b.setInput(l,B.yy),B.yy.lexer=b,B.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var gt=b.yylloc;r.push(gt);var Xt=b.options&&b.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qt(I){o.length=o.length-2*I,m.length=m.length-I,r.length=r.length-I}s.__name(qt,"popStack");function Ct(){var I;return I=g.pop()||b.lex()||K,typeof I!="number"&&(I instanceof Array&&(g=I,I=g.pop()),I=h.symbols_[I]||I),I}s.__name(Ct,"lex");for(var A,G,N,yt,j={},ct,$,At,ht;;){if(G=o[o.length-1],this.defaultActions[G]?N=this.defaultActions[G]:((A===null||typeof A>"u")&&(A=Ct()),N=z[G]&&z[G][A]),typeof N>"u"||!N.length||!N[0]){var mt="";ht=[];for(ct in z[G])this.terminals_[ct]&&ct>lt&&ht.push("'"+this.terminals_[ct]+"'");b.showPosition?mt="Parse error on line "+(Y+1)+`:
|
|
2
|
-
`+b.showPosition()+`
|
|
3
|
-
Expecting `+ht.join(", ")+", got '"+(this.terminals_[A]||A)+"'":mt="Parse error on line "+(Y+1)+": Unexpected "+(A==K?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(mt,{text:b.match,token:this.terminals_[A]||A,line:b.yylineno,loc:gt,expected:ht})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+A);switch(N[0]){case 1:o.push(A),m.push(b.yytext),r.push(b.yylloc),o.push(N[1]),A=null,U=b.yyleng,c=b.yytext,Y=b.yylineno,gt=b.yylloc;break;case 2:if($=this.productions_[N[1]][1],j.$=m[m.length-$],j._$={first_line:r[r.length-($||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-($||1)].first_column,last_column:r[r.length-1].last_column},Xt&&(j._$.range=[r[r.length-($||1)].range[0],r[r.length-1].range[1]]),yt=this.performAction.apply(j,[c,U,Y,B.yy,N[1],m,r].concat(St)),typeof yt<"u")return yt;$&&(o=o.slice(0,-1*$*2),m=m.slice(0,-1*$),r=r.slice(0,-1*$)),o.push(this.productions_[N[1]][0]),m.push(j.$),r.push(j._$),At=z[o[o.length-2]][o[o.length-1]],o.push(At);break;case 3:return!0}}return!0},"parse")},Kt=(function(){var P={EOF:1,parseError:s.__name(function(h,o){if(this.yy.parser)this.yy.parser.parseError(h,o);else throw new Error(h)},"parseError"),setInput:s.__name(function(l,h){return this.yy=h||this.yy||{},this._input=l,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:s.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var h=l.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:s.__name(function(l){var h=l.length,o=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var g=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),o.length-1&&(this.yylineno-=o.length-1);var m=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:o?(o.length===g.length?this.yylloc.first_column:0)+g[g.length-o.length].length-o[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__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
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:s.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s.__name(function(){var l=this.pastInput(),h=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
|
|
5
|
-
`+h+"^"},"showPosition"),test_match:s.__name(function(l,h){var o,g,m;if(this.options.backtrack_lexer&&(m={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&&(m.yylloc.range=this.yylloc.range.slice(0))),g=l[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,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(l[0].length),this.matched+=l[0],o=this.performAction.call(this,this.yy,this,h,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var r in m)this[r]=m[r];return!1}return!1},"test_match"),next:s.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,h,o,g;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),r=0;r<m.length;r++)if(o=this._input.match(this.rules[m[r]]),o&&(!h||o[0].length>h[0].length)){if(h=o,g=r,this.options.backtrack_lexer){if(l=this.test_match(o,m[r]),l!==!1)return l;if(this._backtrack){h=!1;continue}else return!1}else if(!this.options.flex)break}return h?(l=this.test_match(h,m[g]),l!==!1?l:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:s.__name(function(){var h=this.next();return h||this.lex()},"lex"),begin:s.__name(function(h){this.conditionStack.push(h)},"begin"),popState:s.__name(function(){var h=this.conditionStack.length-1;return h>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:s.__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:s.__name(function(h){return h=this.conditionStack.length-1-Math.abs(h||0),h>=0?this.conditionStack[h]:"INITIAL"},"topState"),pushState:s.__name(function(h){this.begin(h)},"pushState"),stateStackSize:s.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:s.__name(function(h,o,g,m){switch(g){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:break;case 9:break;case 10:return 5;case 11:break;case 12:break;case 13:break;case 14:break;case 15:return this.pushState("SCALE"),17;case 16:return 18;case 17:this.popState();break;case 18:return this.begin("acc_title"),33;case 19:return this.popState(),"acc_title_value";case 20:return this.begin("acc_descr"),35;case 21:return this.popState(),"acc_descr_value";case 22:this.begin("acc_descr_multiline");break;case 23:this.popState();break;case 24:return"acc_descr_multiline_value";case 25:return this.pushState("CLASSDEF"),41;case 26:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 27:return this.popState(),this.pushState("CLASSDEFID"),42;case 28:return this.popState(),43;case 29:return this.pushState("CLASS"),48;case 30:return this.popState(),this.pushState("CLASS_STYLE"),49;case 31:return this.popState(),50;case 32:return this.pushState("STYLE"),45;case 33:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 34:return this.popState(),47;case 35:return this.pushState("SCALE"),17;case 36:return 18;case 37:this.popState();break;case 38:this.pushState("STATE");break;case 39:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),25;case 40:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),26;case 41:return this.popState(),o.yytext=o.yytext.slice(0,-10).trim(),27;case 42:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),25;case 43:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),26;case 44:return this.popState(),o.yytext=o.yytext.slice(0,-10).trim(),27;case 45:return 51;case 46:return 52;case 47:return 53;case 48:return 54;case 49:this.pushState("STATE_STRING");break;case 50:return this.pushState("STATE_ID"),"AS";case 51:return this.popState(),"ID";case 52:this.popState();break;case 53:return"STATE_DESCR";case 54:return 19;case 55:this.popState();break;case 56:return this.popState(),this.pushState("struct"),20;case 57:break;case 58:return this.popState(),21;case 59:break;case 60:return this.begin("NOTE"),29;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:return this.popState(),this.pushState("NOTE_ID"),60;case 63:this.popState(),this.pushState("FLOATING_NOTE");break;case 64:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:break;case 66:return"NOTE_TEXT";case 67:return this.popState(),"ID";case 68:return this.popState(),this.pushState("NOTE_TEXT"),24;case 69:return this.popState(),o.yytext=o.yytext.substr(2).trim(),31;case 70:return this.popState(),o.yytext=o.yytext.slice(0,-8).trim(),31;case 71:return 6;case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return o.yytext=o.yytext.trim(),14;case 77:return 15;case 78:return 28;case 79:return 58;case 80:return 5;case 81:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}};return P})();pt.lexer=Kt;function ot(){this.yy={}}return s.__name(ot,"Parser"),ot.prototype=pt,pt.Parser=ot,new ot})();bt.parser=bt;var Zt=bt,te="TB",$t="TB",xt="dir",W="state",H="root",Dt="relation",ee="classDef",se="style",ie="applyClass",J="default",Pt="divider",Ft="fill:none",Yt="fill: #333",Bt="c",Gt="text",Vt="normal",Tt="rect",Et="rectWithTitle",re="stateStart",ae="stateEnd",Lt="divider",It="roundedWithTitle",ne="note",oe="noteGroup",Q="statediagram",le="state",ce=`${Q}-${le}`,Mt="transition",he="note",ue="note-edge",de=`${Mt} ${ue}`,fe=`${Q}-${he}`,pe="cluster",Se=`${Q}-${pe}`,_e="cluster-alt",ge=`${Q}-${_e}`,Ut="parent",jt="note",ye="state",kt="----",me=`${kt}${jt}`,Rt=`${kt}${Ut}`,Ht=s.__name((t,e=$t)=>{if(!t.doc)return e;let i=e;for(const n of t.doc)n.stmt==="dir"&&(i=n.value);return i},"getDir"),Te=s.__name(function(t,e){return e.db.getClasses()},"getClasses"),Ee=s.__name(async function(t,e,i,n){s.log.info("REF0:"),s.log.info("Drawing state diagram (v2)",e);const{securityLevel:a,state:u,layout:d}=s.getConfig2();n.db.extract(n.db.getRootDocV2());const S=n.db.getData(),f=Jt.getDiagramElement(e,a);S.type=n.type,S.layoutAlgorithm=d,S.nodeSpacing=u?.nodeSpacing||50,S.rankSpacing=u?.rankSpacing||50,S.markers=["barb"],S.diagramId=e,await s.render(S,f);const y=8;try{(typeof n.db.getLinks=="function"?n.db.getLinks():new Map).forEach((E,C)=>{const k=typeof C=="string"?C:typeof C?.id=="string"?C.id:"";if(!k){s.log.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(C));return}const p=f.node()?.querySelectorAll("g");let D;if(p?.forEach(L=>{L.textContent?.trim()===k&&(D=L)}),!D){s.log.warn("⚠️ Could not find node matching text:",k);return}const R=D.parentNode;if(!R){s.log.warn("⚠️ Node has no parent, cannot wrap:",k);return}const x=document.createElementNS("http://www.w3.org/2000/svg","a"),O=E.url.replace(/^"+|"+$/g,"");if(x.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",O),x.setAttribute("target","_blank"),E.tooltip){const L=E.tooltip.replace(/^"+|"+$/g,"");x.setAttribute("title",L)}R.replaceChild(x,D),x.appendChild(D),s.log.info("🔗 Wrapped node in <a> tag for:",k,E.url)})}catch(T){s.log.error("❌ Error injecting clickable links:",T)}s.utils_default.insertTitle(f,"statediagramTitleText",u?.titleTopMargin??25,n.db.getDiagramTitle()),Qt.setupViewPortForSVG(f,y,Q,u?.useMaxWidth??!0)},"draw"),be={getClasses:Te,draw:Ee,getDir:Ht},dt=new Map,F=0;function ft(t="",e=0,i="",n=kt){const a=i!==null&&i.length>0?`${n}${i}`:"";return`${ye}-${t}${a}-${e}`}s.__name(ft,"stateDomId");var De=s.__name((t,e,i,n,a,u,d,S)=>{s.log.trace("items",e),e.forEach(f=>{switch(f.stmt){case W:q(t,f,i,n,a,u,d,S);break;case J:q(t,f,i,n,a,u,d,S);break;case Dt:{q(t,f.state1,i,n,a,u,d,S),q(t,f.state2,i,n,a,u,d,S);const y={id:"edge"+F,start:f.state1.id,end:f.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:Ft,labelStyle:"",label:s.common_default.sanitizeText(f.description??"",s.getConfig2()),arrowheadStyle:Yt,labelpos:Bt,labelType:Gt,thickness:Vt,classes:Mt,look:d};a.push(y),F++}break}})},"setupDoc"),Nt=s.__name((t,e=$t)=>{let i=e;if(t.doc)for(const n of t.doc)n.stmt==="dir"&&(i=n.value);return i},"getDir");function X(t,e,i){if(!e.id||e.id==="</join></fork>"||e.id==="</choice>")return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(a=>{const u=i.get(a);u&&(e.cssCompiledStyles=[...e.cssCompiledStyles??[],...u.styles])}));const n=t.find(a=>a.id===e.id);n?Object.assign(n,e):t.push(e)}s.__name(X,"insertOrUpdateNode");function Wt(t){return t?.classes?.join(" ")??""}s.__name(Wt,"getClassesFromDbInfo");function zt(t){return t?.styles??[]}s.__name(zt,"getStylesFromDbInfo");var q=s.__name((t,e,i,n,a,u,d,S)=>{const f=e.id,y=i.get(f),T=Wt(y),E=zt(y),C=s.getConfig2();if(s.log.info("dataFetcher parsedItem",e,y,E),f!=="root"){let k=Tt;e.start===!0?k=re:e.start===!1&&(k=ae),e.type!==J&&(k=e.type),dt.get(f)||dt.set(f,{id:f,shape:k,description:s.common_default.sanitizeText(f,C),cssClasses:`${T} ${ce}`,cssStyles:E});const p=dt.get(f);e.description&&(Array.isArray(p.description)?(p.shape=Et,p.description.push(e.description)):p.description?.length&&p.description.length>0?(p.shape=Et,p.description===f?p.description=[e.description]:p.description=[p.description,e.description]):(p.shape=Tt,p.description=e.description),p.description=s.common_default.sanitizeTextOrArray(p.description,C)),p.description?.length===1&&p.shape===Et&&(p.type==="group"?p.shape=It:p.shape=Tt),!p.type&&e.doc&&(s.log.info("Setting cluster for XCX",f,Nt(e)),p.type="group",p.isGroup=!0,p.dir=Nt(e),p.shape=e.type===Pt?Lt:It,p.cssClasses=`${p.cssClasses} ${Se} ${u?ge:""}`);const D={labelStyle:"",shape:p.shape,label:p.description,cssClasses:p.cssClasses,cssCompiledStyles:[],cssStyles:p.cssStyles,id:f,dir:p.dir,domId:ft(f,F),type:p.type,isGroup:p.type==="group",padding:8,rx:10,ry:10,look:d};if(D.shape===Lt&&(D.label=""),t&&t.id!=="root"&&(s.log.trace("Setting node ",f," to be child of its parent ",t.id),D.parentId=t.id),D.centerLabel=!0,e.note){const R={labelStyle:"",shape:ne,label:e.note.text,cssClasses:fe,cssStyles:[],cssCompiledStyles:[],id:f+me+"-"+F,domId:ft(f,F,jt),type:p.type,isGroup:p.type==="group",padding:C.flowchart?.padding,look:d,position:e.note.position},x=f+Rt,O={labelStyle:"",shape:oe,label:e.note.text,cssClasses:p.cssClasses,cssStyles:[],id:f+Rt,domId:ft(f,F,Ut),type:"group",isGroup:!0,padding:16,look:d,position:e.note.position};F++,O.id=x,R.parentId=x,X(n,O,S),X(n,R,S),X(n,D,S);let L=f,w=R.id;e.note.position==="left of"&&(L=R.id,w=f),a.push({id:L+"-"+w,start:L,end:w,arrowhead:"none",arrowTypeEnd:"",style:Ft,labelStyle:"",classes:de,arrowheadStyle:Yt,labelpos:Bt,labelType:Gt,thickness:Vt,look:d})}else X(n,D,S)}e.doc&&(s.log.trace("Adding nodes children "),De(e,e.doc,i,n,a,!u,d,S))},"dataFetcher"),ke=s.__name(()=>{dt.clear(),F=0},"reset"),v={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Ot=s.__name(()=>new Map,"newClassesList"),wt=s.__name(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),ut=s.__name(t=>JSON.parse(JSON.stringify(t)),"clone"),V,ve=(V=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Ot(),this.documents={root:wt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=s.getAccTitle,this.setAccTitle=s.setAccTitle,this.getAccDescription=s.getAccDescription,this.setAccDescription=s.setAccDescription,this.setDiagramTitle=s.setDiagramTitle,this.getDiagramTitle=s.getDiagramTitle,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}extract(e){this.clear(!0);for(const a of Array.isArray(e)?e:e.doc)switch(a.stmt){case W:this.addState(a.id.trim(),a.type,a.doc,a.description,a.note);break;case Dt:this.addRelation(a.state1,a.state2,a.description);break;case ee:this.addStyleClass(a.id.trim(),a.classes);break;case se:this.handleStyleDef(a);break;case ie:this.setCssClass(a.id.trim(),a.styleClass);break;case"click":this.addLink(a.id,a.url,a.tooltip);break}const i=this.getStates(),n=s.getConfig2();ke(),q(void 0,this.getRootDocV2(),i,this.nodes,this.edges,!0,n.look,this.classes);for(const a of this.nodes)if(Array.isArray(a.label)){if(a.description=a.label.slice(1),a.isGroup&&a.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${a.id}]`);a.label=a.label[0]}}handleStyleDef(e){const i=e.id.trim().split(","),n=e.styleClass.split(",");for(const a of i){let u=this.getState(a);if(!u){const d=a.trim();this.addState(d),u=this.getState(d)}u&&(u.styles=n.map(d=>d.replace(/;/g,"")?.trim()))}}setRootDoc(e){s.log.info("Setting root doc",e),this.rootDoc=e,this.version===1?this.extract(e):this.extract(this.getRootDocV2())}docTranslator(e,i,n){if(i.stmt===Dt){this.docTranslator(e,i.state1,!0),this.docTranslator(e,i.state2,!1);return}if(i.stmt===W&&(i.id===v.START_NODE?(i.id=e.id+(n?"_start":"_end"),i.start=n):i.id=i.id.trim()),i.stmt!==H&&i.stmt!==W||!i.doc)return;const a=[];let u=[];for(const d of i.doc)if(d.type===Pt){const S=ut(d);S.doc=ut(u),a.push(S),u=[]}else u.push(d);if(a.length>0&&u.length>0){const d={stmt:W,id:s.generateId(),type:"divider",doc:ut(u)};a.push(ut(d)),i.doc=a}i.doc.forEach(d=>this.docTranslator(i,d,!0))}getRootDocV2(){return this.docTranslator({id:H,stmt:H},{id:H,stmt:H,doc:this.rootDoc},!0),{id:H,doc:this.rootDoc}}addState(e,i=J,n=void 0,a=void 0,u=void 0,d=void 0,S=void 0,f=void 0){const y=e?.trim();if(!this.currentDocument.states.has(y))s.log.info("Adding state ",y,a),this.currentDocument.states.set(y,{stmt:W,id:y,descriptions:[],type:i,doc:n,note:u,classes:[],styles:[],textStyles:[]});else{const T=this.currentDocument.states.get(y);if(!T)throw new Error(`State not found: ${y}`);T.doc||(T.doc=n),T.type||(T.type=i)}if(a&&(s.log.info("Setting state description",y,a),(Array.isArray(a)?a:[a]).forEach(E=>this.addDescription(y,E.trim()))),u){const T=this.currentDocument.states.get(y);if(!T)throw new Error(`State not found: ${y}`);T.note=u,T.note.text=s.common_default.sanitizeText(T.note.text,s.getConfig2())}d&&(s.log.info("Setting state classes",y,d),(Array.isArray(d)?d:[d]).forEach(E=>this.setCssClass(y,E.trim()))),S&&(s.log.info("Setting state styles",y,S),(Array.isArray(S)?S:[S]).forEach(E=>this.setStyle(y,E.trim()))),f&&(s.log.info("Setting state styles",y,S),(Array.isArray(f)?f:[f]).forEach(E=>this.setTextStyle(y,E.trim())))}clear(e){this.nodes=[],this.edges=[],this.documents={root:wt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Ot(),e||(this.links=new Map,s.clear())}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){s.log.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,i,n){this.links.set(e,{url:i,tooltip:n}),s.log.warn("Adding link",e,i,n)}getLinks(){return this.links}startIdIfNeeded(e=""){return e===v.START_NODE?(this.startEndCount++,`${v.START_TYPE}${this.startEndCount}`):e}startTypeIfNeeded(e="",i=J){return e===v.START_NODE?v.START_TYPE:i}endIdIfNeeded(e=""){return e===v.END_NODE?(this.startEndCount++,`${v.END_TYPE}${this.startEndCount}`):e}endTypeIfNeeded(e="",i=J){return e===v.END_NODE?v.END_TYPE:i}addRelationObjs(e,i,n=""){const a=this.startIdIfNeeded(e.id.trim()),u=this.startTypeIfNeeded(e.id.trim(),e.type),d=this.startIdIfNeeded(i.id.trim()),S=this.startTypeIfNeeded(i.id.trim(),i.type);this.addState(a,u,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(d,S,i.doc,i.description,i.note,i.classes,i.styles,i.textStyles),this.currentDocument.relations.push({id1:a,id2:d,relationTitle:s.common_default.sanitizeText(n,s.getConfig2())})}addRelation(e,i,n){if(typeof e=="object"&&typeof i=="object")this.addRelationObjs(e,i,n);else if(typeof e=="string"&&typeof i=="string"){const a=this.startIdIfNeeded(e.trim()),u=this.startTypeIfNeeded(e),d=this.endIdIfNeeded(i.trim()),S=this.endTypeIfNeeded(i);this.addState(a,u),this.addState(d,S),this.currentDocument.relations.push({id1:a,id2:d,relationTitle:n?s.common_default.sanitizeText(n,s.getConfig2()):void 0})}}addDescription(e,i){const n=this.currentDocument.states.get(e),a=i.startsWith(":")?i.replace(":","").trim():i;n?.descriptions?.push(s.common_default.sanitizeText(a,s.getConfig2()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,i=""){this.classes.has(e)||this.classes.set(e,{id:e,styles:[],textStyles:[]});const n=this.classes.get(e);i&&n&&i.split(v.STYLECLASS_SEP).forEach(a=>{const u=a.replace(/([^;]*);/,"$1").trim();if(RegExp(v.COLOR_KEYWORD).exec(a)){const S=u.replace(v.FILL_KEYWORD,v.BG_FILL).replace(v.COLOR_KEYWORD,v.FILL_KEYWORD);n.textStyles.push(S)}n.styles.push(u)})}getClasses(){return this.classes}setCssClass(e,i){e.split(",").forEach(n=>{let a=this.getState(n);if(!a){const u=n.trim();this.addState(u),a=this.getState(u)}a?.classes?.push(i)})}setStyle(e,i){this.getState(e)?.styles?.push(i)}setTextStyle(e,i){this.getState(e)?.textStyles?.push(i)}getDirectionStatement(){return this.rootDoc.find(e=>e.stmt===xt)}getDirection(){return this.getDirectionStatement()?.value??te}setDirection(e){const i=this.getDirectionStatement();i?i.value=e:this.rootDoc.unshift({stmt:xt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){const e=s.getConfig2();return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:Ht(this.getRootDocV2())}}getConfig(){return s.getConfig2().state}},s.__name(V,"StateDB"),V.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},V),Ce=s.__name(t=>`
|
|
7
|
-
defs #statediagram-barbEnd {
|
|
8
|
-
fill: ${t.transitionColor};
|
|
9
|
-
stroke: ${t.transitionColor};
|
|
10
|
-
}
|
|
11
|
-
g.stateGroup text {
|
|
12
|
-
fill: ${t.nodeBorder};
|
|
13
|
-
stroke: none;
|
|
14
|
-
font-size: 10px;
|
|
15
|
-
}
|
|
16
|
-
g.stateGroup text {
|
|
17
|
-
fill: ${t.textColor};
|
|
18
|
-
stroke: none;
|
|
19
|
-
font-size: 10px;
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
g.stateGroup .state-title {
|
|
23
|
-
font-weight: bolder;
|
|
24
|
-
fill: ${t.stateLabelColor};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
g.stateGroup rect {
|
|
28
|
-
fill: ${t.mainBkg};
|
|
29
|
-
stroke: ${t.nodeBorder};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
g.stateGroup line {
|
|
33
|
-
stroke: ${t.lineColor};
|
|
34
|
-
stroke-width: 1;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.transition {
|
|
38
|
-
stroke: ${t.transitionColor};
|
|
39
|
-
stroke-width: 1;
|
|
40
|
-
fill: none;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.stateGroup .composit {
|
|
44
|
-
fill: ${t.background};
|
|
45
|
-
border-bottom: 1px
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.stateGroup .alt-composit {
|
|
49
|
-
fill: #e0e0e0;
|
|
50
|
-
border-bottom: 1px
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.state-note {
|
|
54
|
-
stroke: ${t.noteBorderColor};
|
|
55
|
-
fill: ${t.noteBkgColor};
|
|
56
|
-
|
|
57
|
-
text {
|
|
58
|
-
fill: ${t.noteTextColor};
|
|
59
|
-
stroke: none;
|
|
60
|
-
font-size: 10px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.stateLabel .box {
|
|
65
|
-
stroke: none;
|
|
66
|
-
stroke-width: 0;
|
|
67
|
-
fill: ${t.mainBkg};
|
|
68
|
-
opacity: 0.5;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.edgeLabel .label rect {
|
|
72
|
-
fill: ${t.labelBackgroundColor};
|
|
73
|
-
opacity: 0.5;
|
|
74
|
-
}
|
|
75
|
-
.edgeLabel {
|
|
76
|
-
background-color: ${t.edgeLabelBackground};
|
|
77
|
-
p {
|
|
78
|
-
background-color: ${t.edgeLabelBackground};
|
|
79
|
-
}
|
|
80
|
-
rect {
|
|
81
|
-
opacity: 0.5;
|
|
82
|
-
background-color: ${t.edgeLabelBackground};
|
|
83
|
-
fill: ${t.edgeLabelBackground};
|
|
84
|
-
}
|
|
85
|
-
text-align: center;
|
|
86
|
-
}
|
|
87
|
-
.edgeLabel .label text {
|
|
88
|
-
fill: ${t.transitionLabelColor||t.tertiaryTextColor};
|
|
89
|
-
}
|
|
90
|
-
.label div .edgeLabel {
|
|
91
|
-
color: ${t.transitionLabelColor||t.tertiaryTextColor};
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.stateLabel text {
|
|
95
|
-
fill: ${t.stateLabelColor};
|
|
96
|
-
font-size: 10px;
|
|
97
|
-
font-weight: bold;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.node circle.state-start {
|
|
101
|
-
fill: ${t.specialStateColor};
|
|
102
|
-
stroke: ${t.specialStateColor};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.node .fork-join {
|
|
106
|
-
fill: ${t.specialStateColor};
|
|
107
|
-
stroke: ${t.specialStateColor};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.node circle.state-end {
|
|
111
|
-
fill: ${t.innerEndBackground};
|
|
112
|
-
stroke: ${t.background};
|
|
113
|
-
stroke-width: 1.5
|
|
114
|
-
}
|
|
115
|
-
.end-state-inner {
|
|
116
|
-
fill: ${t.compositeBackground||t.background};
|
|
117
|
-
// stroke: ${t.background};
|
|
118
|
-
stroke-width: 1.5
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.node rect {
|
|
122
|
-
fill: ${t.stateBkg||t.mainBkg};
|
|
123
|
-
stroke: ${t.stateBorder||t.nodeBorder};
|
|
124
|
-
stroke-width: 1px;
|
|
125
|
-
}
|
|
126
|
-
.node polygon {
|
|
127
|
-
fill: ${t.mainBkg};
|
|
128
|
-
stroke: ${t.stateBorder||t.nodeBorder};;
|
|
129
|
-
stroke-width: 1px;
|
|
130
|
-
}
|
|
131
|
-
#statediagram-barbEnd {
|
|
132
|
-
fill: ${t.lineColor};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.statediagram-cluster rect {
|
|
136
|
-
fill: ${t.compositeTitleBackground};
|
|
137
|
-
stroke: ${t.stateBorder||t.nodeBorder};
|
|
138
|
-
stroke-width: 1px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.cluster-label, .nodeLabel {
|
|
142
|
-
color: ${t.stateLabelColor};
|
|
143
|
-
// line-height: 1;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.statediagram-cluster rect.outer {
|
|
147
|
-
rx: 5px;
|
|
148
|
-
ry: 5px;
|
|
149
|
-
}
|
|
150
|
-
.statediagram-state .divider {
|
|
151
|
-
stroke: ${t.stateBorder||t.nodeBorder};
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.statediagram-state .title-state {
|
|
155
|
-
rx: 5px;
|
|
156
|
-
ry: 5px;
|
|
157
|
-
}
|
|
158
|
-
.statediagram-cluster.statediagram-cluster .inner {
|
|
159
|
-
fill: ${t.compositeBackground||t.background};
|
|
160
|
-
}
|
|
161
|
-
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
162
|
-
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.statediagram-cluster .inner {
|
|
166
|
-
rx:0;
|
|
167
|
-
ry:0;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.statediagram-state rect.basic {
|
|
171
|
-
rx: 5px;
|
|
172
|
-
ry: 5px;
|
|
173
|
-
}
|
|
174
|
-
.statediagram-state rect.divider {
|
|
175
|
-
stroke-dasharray: 10,10;
|
|
176
|
-
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.note-edge {
|
|
180
|
-
stroke-dasharray: 5;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.statediagram-note rect {
|
|
184
|
-
fill: ${t.noteBkgColor};
|
|
185
|
-
stroke: ${t.noteBorderColor};
|
|
186
|
-
stroke-width: 1px;
|
|
187
|
-
rx: 0;
|
|
188
|
-
ry: 0;
|
|
189
|
-
}
|
|
190
|
-
.statediagram-note rect {
|
|
191
|
-
fill: ${t.noteBkgColor};
|
|
192
|
-
stroke: ${t.noteBorderColor};
|
|
193
|
-
stroke-width: 1px;
|
|
194
|
-
rx: 0;
|
|
195
|
-
ry: 0;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.statediagram-note text {
|
|
199
|
-
fill: ${t.noteTextColor};
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.statediagram-note .nodeLabel {
|
|
203
|
-
color: ${t.noteTextColor};
|
|
204
|
-
}
|
|
205
|
-
.statediagram .edgeLabel {
|
|
206
|
-
color: red; // ${t.noteTextColor};
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
#dependencyStart, #dependencyEnd {
|
|
210
|
-
fill: ${t.lineColor};
|
|
211
|
-
stroke: ${t.lineColor};
|
|
212
|
-
stroke-width: 1;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.statediagramTitleText {
|
|
216
|
-
text-anchor: middle;
|
|
217
|
-
font-size: 18px;
|
|
218
|
-
fill: ${t.textColor};
|
|
219
|
-
}
|
|
220
|
-
`,"getStyles"),Ae=Ce;exports.StateDB=ve;exports.stateDiagram_default=Zt;exports.stateRenderer_v3_unified_default=be;exports.styles_default=Ae;
|