ranui 0.2.0-alpha.7 → 0.2.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +1 -0
- package/dist/abnfDiagram-VRR7QNED-CTsqwzwi.js +95 -0
- package/dist/arc-D25LhgTs.cjs +1 -0
- package/dist/arc-DRPGof21.js +82 -0
- package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +1 -0
- package/dist/architecture-TIHT7OUA-pbFO1xSx.js +5 -0
- package/dist/architectureDiagram-ZJ3FMSHR-8mjyXr-w.js +4279 -0
- package/dist/architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs +36 -0
- package/dist/array-By5736M5.js +7 -0
- package/dist/array-C3cbN3GY.cjs +1 -0
- package/dist/arrow-down-Bi5kqUrX.js +12 -0
- package/dist/blockDiagram-677ZJIJ3-3F79MOSt.js +3321 -0
- package/dist/blockDiagram-677ZJIJ3-Cx35khWe.cjs +132 -0
- package/dist/builder.d.ts +4 -4
- package/dist/builder.js +39 -30
- package/dist/builtin-BkM0LLof.js +416 -0
- package/dist/button-D0zcnKnG.js +117 -0
- package/dist/button.js +1 -1
- package/dist/c4Diagram-LMCZKHZV-Cxn_gqu_.js +3064 -0
- package/dist/c4Diagram-LMCZKHZV-TRNb3Gvl.cjs +10 -0
- package/dist/{card-BVvXX6KM.js → card-CygMndQS.js} +2 -2
- package/dist/card.js +1 -1
- package/dist/channel-C9WSNwcS.cjs +1 -0
- package/dist/channel-k5-UxdcV.js +5 -0
- package/dist/{checkbox-BtoX9X2Z.js → checkbox-D5om9aJO.js} +10 -10
- package/dist/checkbox.js +1 -1
- package/dist/chunk-2Q5K7J3B-CTMy5FII.cjs +1 -0
- package/dist/chunk-2Q5K7J3B-DlFVJRAn.js +15 -0
- package/dist/chunk-32BRIVSS-BXVdG_nV.cjs +1 -0
- package/dist/chunk-32BRIVSS-jAuAwMVV.js +68 -0
- package/dist/chunk-52WLFC77-BChUrU24.cjs +10 -0
- package/dist/chunk-52WLFC77-wpL7en7e.js +630 -0
- package/dist/chunk-5VM5RSS4-Cni2Ogq2.js +19 -0
- package/dist/chunk-5VM5RSS4-DudUFQ_Z.cjs +15 -0
- package/dist/chunk-7BUUIJ7U-9hiBbc7O.js +87 -0
- package/dist/chunk-7BUUIJ7U-DMv_UkjI.cjs +1 -0
- package/dist/chunk-C7G6YPKG-CA-DNpvI.js +71 -0
- package/dist/chunk-C7G6YPKG-CKEeW9TM.cjs +1 -0
- package/dist/chunk-EX3LRPZG-BCmf0iDq.js +2137 -0
- package/dist/chunk-EX3LRPZG-DbfbNdXo.cjs +231 -0
- package/dist/chunk-FWX5IMBZ-D11-gbhc.cjs +1 -0
- package/dist/chunk-FWX5IMBZ-DZ5VYvm5.js +60 -0
- package/dist/chunk-HOUHSVGY-BGB3dOvI.cjs +1 -0
- package/dist/chunk-HOUHSVGY-DRQcQeMT.js +268 -0
- package/dist/chunk-ICXQ74PX-BbT9JaEW.cjs +2 -0
- package/dist/chunk-ICXQ74PX-DR8rL-xF.js +1377 -0
- package/dist/chunk-JWPE2WC7-CGEmUMMZ.js +8 -0
- package/dist/chunk-JWPE2WC7-D8EnWK1B.cjs +1 -0
- package/dist/chunk-KEIR6QF5-B2Op7cFH.js +22155 -0
- package/dist/chunk-KEIR6QF5-C4fcHpY0.cjs +161 -0
- package/dist/chunk-MOJQB5TN-BC46HDyu.js +516 -0
- package/dist/chunk-MOJQB5TN-oOeq982_.cjs +88 -0
- package/dist/chunk-OGEWGWER-BV51ll2w.js +33 -0
- package/dist/chunk-OGEWGWER-DX8sW1dT.cjs +1 -0
- package/dist/chunk-PUDLZKDR-48YaqVoF.cjs +156 -0
- package/dist/chunk-PUDLZKDR-NdMR0Ft5.js +4282 -0
- package/dist/chunk-Q4XR5HBZ-3BHjjc9u.js +1709 -0
- package/dist/chunk-Q4XR5HBZ-aBnPq509.cjs +70 -0
- package/dist/chunk-RYQCIY6F-BER2T9t0.js +246 -0
- package/dist/chunk-RYQCIY6F-DVRzSnsI.cjs +1 -0
- package/dist/chunk-V7JOEXUC-Cr_hr02u.js +3467 -0
- package/dist/chunk-V7JOEXUC-DHizzTla.cjs +206 -0
- package/dist/chunk-VAUOI2AC-DfQf5L2_.cjs +1 -0
- package/dist/chunk-VAUOI2AC-izt0o4id.js +11 -0
- package/dist/chunk-VR4S4FIN-CJi5okl4.js +26 -0
- package/dist/chunk-VR4S4FIN-KiwnPF31.cjs +1 -0
- package/dist/chunk-WYO6CB5R-DDHkKowO.js +4535 -0
- package/dist/chunk-WYO6CB5R-u4mJNOcO.cjs +127 -0
- package/dist/chunk-XXDRQBXY-BB1i_53q.js +9 -0
- package/dist/chunk-XXDRQBXY-C8VGLZmt.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-0JxdZxki.js +13 -0
- package/dist/chunk-Y2CYZVJY-DPaYLFFP.cjs +1 -0
- package/dist/chunk-ZGVPDNZ5-6uMbTJXy.js +3841 -0
- package/dist/chunk-ZGVPDNZ5-Cw5_HJba.cjs +62 -0
- package/dist/chunk-ZIRB5QZD-C7OH2FI2.js +1280 -0
- package/dist/chunk-ZIRB5QZD-aLu-4ITN.cjs +32 -0
- package/dist/classDiagram-OUVF2IWQ-D6rqYIh0.cjs +1 -0
- package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +30 -0
- package/dist/classDiagram-v2-EOCWNBFH-D6rqYIh0.cjs +1 -0
- package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +30 -0
- package/dist/{colorpicker-Dukms7ET.js → colorpicker-qWnaTlYX.js} +9 -10
- package/dist/colorpicker.js +1 -1
- package/dist/components/colorpicker/index.d.ts +3 -3
- package/dist/components/glass/index.d.ts +52 -0
- package/dist/components/icon/builtin.d.ts +9 -0
- package/dist/components/icon/core-icons.d.ts +13 -0
- package/dist/components/icon/index.d.ts +8 -0
- package/dist/components/mermaid/index.d.ts +52 -0
- package/dist/components/modal/index.d.ts +9 -0
- package/dist/components/route/index.d.ts +10 -4
- package/dist/components/router/index.d.ts +3 -0
- package/dist/content-Rry-U6ir.js +39 -0
- package/dist/content.js +5 -0
- package/dist/cose-bilkent-JH36ORCC-BUxFTdey.cjs +1 -0
- package/dist/cose-bilkent-JH36ORCC-DTwvJlGw.js +2353 -0
- package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +1 -0
- package/dist/cynefin-VYW2F7L2-ALQKF7N6.js +5 -0
- package/dist/cynefinDiagram-TSTJHNR4-Bjt4QTVh.js +355 -0
- package/dist/cynefinDiagram-TSTJHNR4-ISDORSxO.cjs +62 -0
- package/dist/cytoscape.esm-CFq1_DTa.js +18906 -0
- package/dist/cytoscape.esm-pygMw4dR.cjs +321 -0
- package/dist/dagre-D1-W1tt6.cjs +1 -0
- package/dist/dagre-D8GLTwuf.js +1578 -0
- package/dist/dagre-VKFMJZFB-DXI69qAN.cjs +4 -0
- package/dist/dagre-VKFMJZFB-Dfku86Az.js +341 -0
- package/dist/defaultLocale-0M_kMcEH.js +184 -0
- package/dist/defaultLocale-DSqtvhxg.cjs +1 -0
- package/dist/diagram-FQU43EPY-BAiRt5eL.cjs +3 -0
- package/dist/diagram-FQU43EPY-BvQ5jmVn.js +452 -0
- package/dist/diagram-G47NLZAW-DGnmEa8u.cjs +24 -0
- package/dist/diagram-G47NLZAW-DT2BBA0T.js +498 -0
- package/dist/diagram-NH7WQ7WH-DxgkStA3.cjs +24 -0
- package/dist/diagram-NH7WQ7WH-W7jg4Vh8.js +135 -0
- package/dist/diagram-OA4YK3LP-DkvFII73.cjs +30 -0
- package/dist/diagram-OA4YK3LP-jU--aqQl.js +317 -0
- package/dist/diagram-WEI45ONY-C_Qhf4ny.js +215 -0
- package/dist/diagram-WEI45ONY-XvzRFmmY.cjs +41 -0
- package/dist/dist-C0Fwsvsq.js +70 -0
- package/dist/dist-C20XxSsP.cjs +1 -0
- package/dist/{dropdown-BYS1Trdu.js → dropdown-DzdAR1nI.js} +4 -4
- package/dist/dropdown.js +1 -1
- package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +1 -0
- package/dist/ebnfDiagram-CCIWWBDH-Gnr20Oc1.js +112 -0
- package/dist/erDiagram-Q63AITRT-CxLSa9Yv.cjs +85 -0
- package/dist/erDiagram-Q63AITRT-D0Hh9b-W.js +1822 -0
- package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +1 -0
- package/dist/eventmodeling-45OFAUF4-DMpGs2yI.js +5 -0
- package/dist/factory-BkvRcCOx.js +482 -0
- package/dist/flowDiagram-23GEKE2U-B6gASEYG.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +19 -0
- package/dist/{form-BsB5JhS4.js → form-CUJpeQ7Q.js} +5 -5
- package/dist/form.js +1 -1
- package/dist/ganttDiagram-NO4QXBWP-B40Eabk0.js +3125 -0
- package/dist/ganttDiagram-NO4QXBWP-DZT79qJr.cjs +292 -0
- package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +1 -0
- package/dist/gitGraph-TEB2WS4Q-D6Ru11Cs.js +5 -0
- package/dist/gitGraphDiagram-IHSO6WYX-BUJNSssA.js +754 -0
- package/dist/gitGraphDiagram-IHSO6WYX-DW06165m.cjs +106 -0
- package/dist/glass-Bj1Zf8Hy.js +115 -0
- package/dist/glass.js +5 -0
- package/dist/graphlib-CCKThIKP.js +1104 -0
- package/dist/graphlib-Du-578Js.cjs +1 -0
- package/dist/{icon-pfolda2m.js → icon-CtlZJISZ.js} +110 -21
- package/dist/icon.js +4 -3
- package/dist/icons.js +5 -0
- package/dist/iife/button.iife.js +1 -1
- package/dist/iife/card.iife.js +1 -1
- package/dist/iife/checkbox.iife.js +1 -1
- package/dist/iife/colorpicker.iife.js +2 -2
- package/dist/iife/content.iife.js +1 -0
- package/dist/iife/dropdown.iife.js +1 -1
- package/dist/iife/form.iife.js +1 -1
- package/dist/iife/glass.iife.js +1 -0
- package/dist/iife/icon.iife.js +1 -1
- package/dist/iife/image.iife.js +1 -1
- package/dist/iife/input.iife.js +1 -1
- package/dist/iife/loading.iife.js +1 -1
- package/dist/iife/math.iife.js +14 -14
- package/dist/iife/mermaid.iife.js +3535 -0
- package/dist/iife/message.iife.js +1 -1
- package/dist/iife/modal.iife.js +1 -1
- package/dist/iife/player.iife.js +8 -8
- package/dist/iife/popover.iife.js +1 -1
- package/dist/iife/progress.iife.js +1 -1
- package/dist/iife/radar.iife.js +1 -1
- package/dist/iife/route.iife.js +1 -1
- package/dist/iife/router.iife.js +1 -1
- package/dist/iife/scratch.iife.js +1 -1
- package/dist/iife/section.iife.js +1 -1
- package/dist/iife/select.iife.js +2 -2
- package/dist/iife/skeleton.iife.js +1 -1
- package/dist/iife/tab.iife.js +1 -1
- package/dist/iife/tabpane.iife.js +1 -1
- package/dist/{image-BXpKQ9sU.js → image-ILZNlaGc.js} +4 -4
- package/dist/image.js +1 -1
- package/dist/index.cjs +257 -23
- package/dist/index.d.ts +11 -1
- package/dist/index.iife.js +3842 -74
- package/dist/index.js +86 -78
- package/dist/info-DKCQHKI2-DNOtUIin.cjs +1 -0
- package/dist/info-DKCQHKI2-Df7h9MSE.js +5 -0
- package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +2 -0
- package/dist/infoDiagram-FWYZ7A6U-Dc0m9qAx.js +21 -0
- package/dist/init-1VpIn1S3.js +16 -0
- package/dist/init-CbDwVtpO.cjs +1 -0
- package/dist/{input-BMMM60e6.js → input-CDH6zY9I.js} +6 -6
- package/dist/input.js +1 -1
- package/dist/ishikawaDiagram-FXEZZL3T-BugNyysB.cjs +70 -0
- package/dist/ishikawaDiagram-FXEZZL3T-DuFtHOmf.js +742 -0
- package/dist/journeyDiagram-5HDEW3XC-Bshelnhq.js +928 -0
- package/dist/journeyDiagram-5HDEW3XC-ItmURvA2.cjs +139 -0
- package/dist/kanban-definition-HUTT4EX6-BL512R2A.cjs +89 -0
- package/dist/kanban-definition-HUTT4EX6-Dogv2paU.js +1050 -0
- package/dist/katex-Cq3Y8cmK.cjs +257 -0
- package/dist/katex-Pg2EqTH0.js +23485 -0
- package/dist/line-BIPmUVxO.js +33 -0
- package/dist/line-CAB5QHC6.cjs +1 -0
- package/dist/linear-B2AM4ZBe.js +259 -0
- package/dist/linear-CSAfNEpl.cjs +1 -0
- package/dist/{link-DURZzd7u.js → link-BCrmHvXP.js} +3 -3
- package/dist/link.js +1 -1
- package/dist/{loading-BScjyeVm.js → loading-DJWGih1g.js} +4 -4
- package/dist/loading.js +1 -1
- package/dist/map-BC2bk_rV.cjs +1 -0
- package/dist/map-DMSWkcq6.js +208 -0
- package/dist/{math-IjzOAwnA.js → math-DRmkEDSQ.js} +4 -4
- package/dist/math.js +1 -1
- package/dist/mermaid-CMhm7npE.js +261 -0
- package/dist/mermaid-parser.core-DYumW1vq.cjs +6 -0
- package/dist/mermaid-parser.core-uIDZYuBu.js +654 -0
- package/dist/mermaid.core-B2d5lQW2.js +1085 -0
- package/dist/mermaid.core-a1hgpWfs.cjs +10 -0
- package/dist/mermaid.js +5 -0
- package/dist/{message-CLpuP8HY.js → message-BpYJBvYn.js} +36 -51
- package/dist/message.js +1 -1
- package/dist/mindmap-definition-LN4V7U3C-DYZgIZym.cjs +96 -0
- package/dist/mindmap-definition-LN4V7U3C-f7s5ZePP.js +1070 -0
- package/dist/{modal-DOTpABRe.js → modal-BeQlDYDP.js} +40 -24
- package/dist/modal.js +1 -1
- package/dist/ordinal-BMN81JG2.js +64 -0
- package/dist/ordinal-BplLHIij.cjs +1 -0
- package/dist/packet-7NZHBO7P-4PLslLZJ.js +5 -0
- package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +1 -0
- package/dist/path-Bja5PoYn.js +82 -0
- package/dist/path-DmfWsuKi.cjs +1 -0
- package/dist/pegDiagram-2B236MQR-B-Xeh55J.js +107 -0
- package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +1 -0
- package/dist/pie-RZYD4A2V-DBE9a8Kz.js +5 -0
- package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +1 -0
- package/dist/pieDiagram-ENE6RG2P-BkSiP4iu.cjs +39 -0
- package/dist/pieDiagram-ENE6RG2P-CVSE95zc.js +207 -0
- package/dist/{player-5olrw-qB.js → player-CQ4e3Yeo.js} +196 -195
- package/dist/player.js +1 -1
- package/dist/{popover-DRUQjdPs.js → popover-eZMnL1F3.js} +22 -54
- package/dist/popover.js +1 -1
- package/dist/{progress-BIEXYYd2.js → progress-DyHgW4Ep.js} +5 -5
- package/dist/progress.js +1 -1
- package/dist/quadrantDiagram-ABIIQ3AL-BDmdDGsh.cjs +7 -0
- package/dist/quadrantDiagram-ABIIQ3AL-TJ8FmqES.js +2058 -0
- package/dist/{radar-DAF95_Mj.js → radar-D21Rccap.js} +5 -5
- package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +1 -0
- package/dist/radar-I7S5WNFK-DFTxtd_t.js +5 -0
- package/dist/radar.js +1 -1
- package/dist/railroad-3IZDKUUU-DALJwv16.js +5 -0
- package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-CntW2udQ.js +5 -0
- package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +1 -0
- package/dist/railroad-ebnf-EBAXGLYW-s_1ZOb_9.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-CaM5A0Ml.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +1 -0
- package/dist/railroadDiagram-RFXS5EU6-0lS5wYI7.js +83 -0
- package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +1 -0
- package/dist/ranui.css +1 -1
- package/dist/requirementDiagram-TGXJPOKE-Bg701bNl.cjs +84 -0
- package/dist/requirementDiagram-TGXJPOKE-viCQLyJd.js +2301 -0
- package/dist/rolldown-runtime-9ZSF5uba.js +16 -0
- package/dist/rolldown-runtime-CAnuVJ4g.cjs +1 -0
- package/dist/rough.esm-BWe9E0Nz.js +1387 -0
- package/dist/rough.esm-BfSi6CZE.cjs +1 -0
- package/dist/route-pR5P4ann.js +116 -0
- package/dist/route.js +1 -1
- package/dist/{router-B9rCrWXm.js → router-CewzSH7O.js} +23 -18
- package/dist/router.js +1 -1
- package/dist/sankeyDiagram-HTMAVEWB-CV6_AuMF.js +974 -0
- package/dist/sankeyDiagram-HTMAVEWB-K-nGMsuS.cjs +40 -0
- package/dist/{scratch-QlPyy1f4.js → scratch-BFVsgl-7.js} +2 -2
- package/dist/scratch.js +1 -1
- package/dist/{section-D0qMm9KM.js → section-DSPCsIxv.js} +2 -2
- package/dist/section.js +1 -1
- package/dist/{select-aAaWoveE.js → select-B58nMfB1.js} +16 -23
- package/dist/select.js +1 -1
- package/dist/sequenceDiagram-DBY2YBRQ-4GdkLnUr.cjs +162 -0
- package/dist/sequenceDiagram-DBY2YBRQ-B9WNesh2.js +4326 -0
- package/dist/sizeCapture-X5ZJPWSS-BUY3-n09.cjs +1 -0
- package/dist/sizeCapture-X5ZJPWSS-D7rGsqTl.js +48 -0
- package/dist/{skeleton-CFqQmKyt.js → skeleton-DoHYMsTn.js} +5 -5
- package/dist/skeleton.js +1 -1
- package/dist/src-C9EhKhbk.cjs +1 -0
- package/dist/src-DtRLxcYO.js +2104 -0
- package/dist/stateDiagram-2N3HPSRC-B7VpgjJu.cjs +1 -0
- package/dist/stateDiagram-2N3HPSRC-DxH4BMSh.js +237 -0
- package/dist/stateDiagram-v2-6OUMAXLB-CQv7GIaO.cjs +1 -0
- package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +30 -0
- package/dist/swimlanes-5IMT3BWC-DcADNGpg.js +5258 -0
- package/dist/swimlanes-5IMT3BWC-o-MjdPlw.cjs +1 -0
- package/dist/swimlanesDiagram-G3AALYLV-D-rmAGky.cjs +8 -0
- package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +31 -0
- package/dist/{tab-CiF2YPck.js → tab-BRPdZ9Ws.js} +5 -5
- package/dist/tab.js +1 -1
- package/dist/{tabpane-B-m3xwqu.js → tabpane-Owf72hw_.js} +5 -5
- package/dist/tabpane.js +1 -1
- package/dist/test/unit/icon.builtin.test.d.ts +1 -0
- package/dist/test/unit/utils.colorpicker.reconnect.test.d.ts +1 -0
- package/dist/test/unit/utils.route.lazy.test.d.ts +1 -0
- package/dist/test/unit/utils.router.match.test.d.ts +1 -0
- package/dist/test/unit/utils.signal.owner.test.d.ts +1 -0
- package/dist/{theme-switch-B09egc6h.js → theme-switch-CZDIIonc.js} +4 -4
- package/dist/theme-switch.js +1 -1
- package/dist/timeline-definition-FHXFAJF6-C80VjPLh.js +1119 -0
- package/dist/timeline-definition-FHXFAJF6-DOwvOb3S.cjs +120 -0
- package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +1 -0
- package/dist/treeView-QDETBFTQ-vTKOZls1.js +5 -0
- package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +1 -0
- package/dist/treemap-6X3UGDF4-Ddzv6Gqd.js +5 -0
- package/dist/utils/builder/core.d.ts +153 -16
- package/dist/utils/builder/factory.d.ts +1 -1
- package/dist/utils/builder/index.d.ts +3 -3
- package/dist/utils/builder/signal.d.ts +93 -64
- package/dist/utils/router/index.d.ts +13 -3
- package/dist/utils/router.js +95 -54
- package/dist/utils/theme.d.ts +1 -1
- package/dist/{utils-DBfrRFoE.js → utils-D1iZnChu.js} +38 -31
- package/dist/vennDiagram-L72KCM5P-BYHB7OW8.js +1955 -0
- package/dist/vennDiagram-L72KCM5P-CidVJK6y.cjs +34 -0
- package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +1 -0
- package/dist/wardley-OPB4EBWU-DBgFLc64.js +5 -0
- package/dist/wardleyDiagram-EHGQE667--ubmCaWM.js +652 -0
- package/dist/wardleyDiagram-EHGQE667-K6ckkRZS.cjs +78 -0
- package/dist/warning-circle-fill-Cz0qu7AH.js +23 -0
- package/dist/xychartDiagram-FW5EYKEG-CzdokxrM.cjs +7 -0
- package/dist/xychartDiagram-FW5EYKEG-DLqWcTPt.js +2154 -0
- package/docs/BUILDER.md +383 -0
- package/docs/COMPONENTS.md +21 -3
- package/package.json +31 -3
- package/dist/button-Be_uHDZG.js +0 -117
- package/dist/factory-BdsO0dEW.js +0 -165
- package/dist/route-MQZpn2BP.js +0 -88
- package/dist/signal-CSSZxlK5.js +0 -57
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
import { T as re } from "./chunk-KEIR6QF5-B2Op7cFH.js";
|
|
2
|
+
import { n as oe } from "./mermaid-parser.core-uIDZYuBu.js";
|
|
3
|
+
import { n as o } from "./chunk-Y2CYZVJY-0JxdZxki.js";
|
|
4
|
+
import { m as g, p as se } from "./src-DtRLxcYO.js";
|
|
5
|
+
import { H as le, K as de, U as ce, Y as me, a as ue, b as F, f as xe, v as fe, w as ge, x as R, y as he, z as w } from "./chunk-WYO6CB5R-DDHkKowO.js";
|
|
6
|
+
import { _ as y, i as pe, t as be } from "./chunk-ICXQ74PX-DR8rL-xF.js";
|
|
7
|
+
import { t as ve } from "./chunk-JWPE2WC7-CGEmUMMZ.js";
|
|
8
|
+
var T = "position frame", $ = "frame positioned", P = "position relation", D = "relation positioned", we = /* @__PURE__ */ o(function(e) {
|
|
9
|
+
g.debug("options str", e);
|
|
10
|
+
}, "setOptions"), ye = /* @__PURE__ */ o(function() {
|
|
11
|
+
return {};
|
|
12
|
+
}, "getOptions"), Pe = /* @__PURE__ */ o(function() {
|
|
13
|
+
C(), ue();
|
|
14
|
+
}, "clear");
|
|
15
|
+
function C() {
|
|
16
|
+
S = {};
|
|
17
|
+
}
|
|
18
|
+
o(C, "reset");
|
|
19
|
+
var Me = xe.eventmodeling, ke = /* @__PURE__ */ o(() => pe({
|
|
20
|
+
...Me,
|
|
21
|
+
...F().eventmodeling
|
|
22
|
+
}), "getConfig"), S = {};
|
|
23
|
+
function N() {
|
|
24
|
+
let e = Fe;
|
|
25
|
+
const { ast: n } = S, t = B();
|
|
26
|
+
if (!n) throw new Error("No data for EventModel");
|
|
27
|
+
return n.frames.forEach((i, a) => {
|
|
28
|
+
const r = L(i, n.dataEntities, t);
|
|
29
|
+
e = v(e, {
|
|
30
|
+
$kind: T,
|
|
31
|
+
index: a,
|
|
32
|
+
frame: i,
|
|
33
|
+
textProps: r
|
|
34
|
+
});
|
|
35
|
+
let d;
|
|
36
|
+
z(i) ? (g.debug("source frame", i.sourceFrames), d = n.frames.filter((l) => i.sourceFrames.some((c) => c.$refText === l.name)), d.forEach((l) => {
|
|
37
|
+
e = v(e, {
|
|
38
|
+
$kind: P,
|
|
39
|
+
index: a,
|
|
40
|
+
frame: i,
|
|
41
|
+
sourceFrame: l
|
|
42
|
+
});
|
|
43
|
+
})) : e = v(e, {
|
|
44
|
+
$kind: P,
|
|
45
|
+
index: a,
|
|
46
|
+
frame: i
|
|
47
|
+
});
|
|
48
|
+
}), e = {
|
|
49
|
+
...e,
|
|
50
|
+
sortedSwimlanesArray: E(e.swimlanes)
|
|
51
|
+
}, e;
|
|
52
|
+
}
|
|
53
|
+
o(N, "getState");
|
|
54
|
+
function O(e) {
|
|
55
|
+
S.ast = e;
|
|
56
|
+
}
|
|
57
|
+
o(O, "setAst");
|
|
58
|
+
var s = {
|
|
59
|
+
swimlaneMinHeight: 70,
|
|
60
|
+
swimlanePadding: 15,
|
|
61
|
+
swimlaneGap: 10,
|
|
62
|
+
boxPadding: 10,
|
|
63
|
+
boxOverlap: 90,
|
|
64
|
+
boxDefaultY: 0,
|
|
65
|
+
boxMinWidth: 80,
|
|
66
|
+
boxMaxWidth: 450,
|
|
67
|
+
boxMinHeight: 80,
|
|
68
|
+
boxMaxHeight: 750,
|
|
69
|
+
contentStartX: 250,
|
|
70
|
+
textMaxWidth: 430,
|
|
71
|
+
boxTextFontWeight: "bold",
|
|
72
|
+
boxTextPadding: 10,
|
|
73
|
+
swimlaneTextFontWeight: "bold",
|
|
74
|
+
labelUiAutomation: "UI/Automation",
|
|
75
|
+
labelUiAutomationPrefix: "UI/A: ",
|
|
76
|
+
labelCommandReadModel: "Command/Read Model",
|
|
77
|
+
labelCommandReadModelPrefix: "C/RM: ",
|
|
78
|
+
labelEvents: "Events",
|
|
79
|
+
labelEventsPrefix: "Stream: "
|
|
80
|
+
};
|
|
81
|
+
function B() {
|
|
82
|
+
return s;
|
|
83
|
+
}
|
|
84
|
+
o(B, "getDiagramProps");
|
|
85
|
+
var Fe = {
|
|
86
|
+
boxes: [],
|
|
87
|
+
swimlanes: {},
|
|
88
|
+
relations: [],
|
|
89
|
+
maxR: 0,
|
|
90
|
+
sortedSwimlanesArray: []
|
|
91
|
+
};
|
|
92
|
+
function W(e) {
|
|
93
|
+
const n = e.split(".");
|
|
94
|
+
if (n.length === 2) return n[0];
|
|
95
|
+
}
|
|
96
|
+
o(W, "extractNamespace");
|
|
97
|
+
function I(e) {
|
|
98
|
+
const n = e.split(".");
|
|
99
|
+
return n.length === 2 ? n[1] : e;
|
|
100
|
+
}
|
|
101
|
+
o(I, "extractName");
|
|
102
|
+
function H(e, n) {
|
|
103
|
+
if (!(!n || n.length === 0))
|
|
104
|
+
return Object.values(e).find((t) => t.namespace === n);
|
|
105
|
+
}
|
|
106
|
+
o(H, "findSwimlaneByNamespace");
|
|
107
|
+
function b(e, n, t) {
|
|
108
|
+
return Math.max(n, ...Object.keys(e).filter((i) => {
|
|
109
|
+
const a = Number.parseInt(i);
|
|
110
|
+
return a > n && a < t;
|
|
111
|
+
}).map((i) => Number.parseInt(i))) + 1;
|
|
112
|
+
}
|
|
113
|
+
o(b, "findNextAvailableIndex");
|
|
114
|
+
function U(e, n) {
|
|
115
|
+
const t = W(e.entityIdentifier), i = H(n, t);
|
|
116
|
+
switch (e.modelEntityType) {
|
|
117
|
+
case "ui":
|
|
118
|
+
case "pcr":
|
|
119
|
+
case "processor":
|
|
120
|
+
return i ? {
|
|
121
|
+
index: i.index,
|
|
122
|
+
label: i.namespace || s.labelUiAutomation
|
|
123
|
+
} : t ? {
|
|
124
|
+
index: b(n, 0, 100),
|
|
125
|
+
label: s.labelUiAutomationPrefix + t
|
|
126
|
+
} : {
|
|
127
|
+
index: 0,
|
|
128
|
+
label: s.labelUiAutomation
|
|
129
|
+
};
|
|
130
|
+
case "rmo":
|
|
131
|
+
case "readmodel":
|
|
132
|
+
case "cmd":
|
|
133
|
+
case "command":
|
|
134
|
+
return i ? {
|
|
135
|
+
index: i.index,
|
|
136
|
+
label: i.namespace || s.labelCommandReadModel
|
|
137
|
+
} : t ? {
|
|
138
|
+
index: b(n, 100, 200),
|
|
139
|
+
label: s.labelCommandReadModelPrefix + t
|
|
140
|
+
} : {
|
|
141
|
+
index: 100,
|
|
142
|
+
label: s.labelCommandReadModel
|
|
143
|
+
};
|
|
144
|
+
default:
|
|
145
|
+
return i ? {
|
|
146
|
+
index: i.index,
|
|
147
|
+
label: i.namespace || s.labelEvents
|
|
148
|
+
} : t ? {
|
|
149
|
+
index: b(n, 200, 300),
|
|
150
|
+
label: s.labelEventsPrefix + t
|
|
151
|
+
} : {
|
|
152
|
+
index: 200,
|
|
153
|
+
label: s.labelEvents
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
o(U, "calculateSwimlaneProps");
|
|
158
|
+
function _(e) {
|
|
159
|
+
const { themeVariables: n } = F();
|
|
160
|
+
switch (e.modelEntityType) {
|
|
161
|
+
case "ui":
|
|
162
|
+
return {
|
|
163
|
+
fill: n.emUiFill ?? "white",
|
|
164
|
+
stroke: n.emUiStroke ?? "#dbdada"
|
|
165
|
+
};
|
|
166
|
+
case "pcr":
|
|
167
|
+
case "processor":
|
|
168
|
+
return {
|
|
169
|
+
fill: n.emProcessorFill ?? "#edb3f6",
|
|
170
|
+
stroke: n.emProcessorStroke ?? "#b88cbf"
|
|
171
|
+
};
|
|
172
|
+
case "rmo":
|
|
173
|
+
case "readmodel":
|
|
174
|
+
return {
|
|
175
|
+
fill: n.emReadModelFill ?? "#d3f1a2",
|
|
176
|
+
stroke: n.emReadModelStroke ?? "#a3b732"
|
|
177
|
+
};
|
|
178
|
+
case "cmd":
|
|
179
|
+
case "command":
|
|
180
|
+
return {
|
|
181
|
+
fill: n.emCommandFill ?? "#bcd6fe",
|
|
182
|
+
stroke: n.emCommandStroke ?? "#679ac3"
|
|
183
|
+
};
|
|
184
|
+
case "evt":
|
|
185
|
+
case "event":
|
|
186
|
+
return {
|
|
187
|
+
fill: n.emEventFill ?? "#ffb778",
|
|
188
|
+
stroke: n.emEventStroke ?? "#c19a0f"
|
|
189
|
+
};
|
|
190
|
+
default:
|
|
191
|
+
return {
|
|
192
|
+
fill: "red",
|
|
193
|
+
stroke: "black"
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
o(_, "calculateEntityVisualProps");
|
|
198
|
+
function L(e, n, t) {
|
|
199
|
+
const i = F(), a = w(I(e.entityIdentifier) ?? "", i);
|
|
200
|
+
let r;
|
|
201
|
+
const d = {
|
|
202
|
+
fontSize: 16,
|
|
203
|
+
fontWeight: 700,
|
|
204
|
+
fontFamily: '"trebuchet ms", verdana, arial, sans-serif',
|
|
205
|
+
joinWith: "<br/>"
|
|
206
|
+
};
|
|
207
|
+
let l = `<b>${y(a, t.textMaxWidth, d)}</b>`;
|
|
208
|
+
if (e.dataInlineValue && (r = e.dataInlineValue, r = r.substring(r.indexOf("{") + 1), r = r.substring(0, r.lastIndexOf("}") - 1), r = w(r, i), r = y(r, t.textMaxWidth, d), r = r.replaceAll(" ", " ")), e.dataReference) {
|
|
209
|
+
const f = n.find((p) => p.name === e.dataReference?.$refText);
|
|
210
|
+
f && (r = f.dataBlockValue, r = r.substring(r.indexOf(`{
|
|
211
|
+
`) + 2), r = r.substring(0, r.lastIndexOf("}") - 1), r = w(r, i), r = y(r, t.textMaxWidth, d), r = r.replaceAll(" ", " "), r += "<br/>");
|
|
212
|
+
}
|
|
213
|
+
const c = r !== void 0;
|
|
214
|
+
c && (l += `<br/><br/><code style="text-align: left; display: block;max-width:${t.textMaxWidth}px">${r}</code>`);
|
|
215
|
+
const u = {
|
|
216
|
+
fontSize: d.fontSize,
|
|
217
|
+
fontWeight: d.fontWeight,
|
|
218
|
+
fontFamily: d.fontFamily
|
|
219
|
+
}, m = be(l, u), x = c ? m.width / 3 : m.width, h = {
|
|
220
|
+
content: l,
|
|
221
|
+
width: x,
|
|
222
|
+
height: m.height
|
|
223
|
+
};
|
|
224
|
+
return g.debug(`[${e.name}] ${e.entityIdentifier} text`, h), h;
|
|
225
|
+
}
|
|
226
|
+
o(L, "calculateTextProps");
|
|
227
|
+
function V(e, n) {
|
|
228
|
+
const t = n, i = _(t.frame), a = {
|
|
229
|
+
width: t.textProps.width + 2 * s.boxTextPadding,
|
|
230
|
+
height: t.textProps.height + 2 * s.boxTextPadding
|
|
231
|
+
};
|
|
232
|
+
return [{
|
|
233
|
+
$kind: $,
|
|
234
|
+
frame: t.frame,
|
|
235
|
+
index: t.index,
|
|
236
|
+
visual: i,
|
|
237
|
+
dimension: a,
|
|
238
|
+
textProps: t.textProps
|
|
239
|
+
}];
|
|
240
|
+
}
|
|
241
|
+
o(V, "decidePositionFrame");
|
|
242
|
+
function G(e, n, t) {
|
|
243
|
+
return n === void 0 ? s.contentStartX : n.index === e.index && e.r ? e.r + s.boxPadding : t === void 0 ? s.contentStartX : t.r - s.boxOverlap + s.boxPadding;
|
|
244
|
+
}
|
|
245
|
+
o(G, "calculateX");
|
|
246
|
+
function X(e, n) {
|
|
247
|
+
const t = [...e.map((i) => i.r), n];
|
|
248
|
+
return Math.max(...t);
|
|
249
|
+
}
|
|
250
|
+
o(X, "calculateMaxRight");
|
|
251
|
+
function E(e) {
|
|
252
|
+
return Object.values(e).sort((n, t) => n.index - t.index);
|
|
253
|
+
}
|
|
254
|
+
o(E, "sortedSwimlanesArray");
|
|
255
|
+
function Y(e, n) {
|
|
256
|
+
const t = n, i = U(t.frame, e.swimlanes);
|
|
257
|
+
let a;
|
|
258
|
+
i.index in e.swimlanes ? a = e.swimlanes[i.index] : a = {
|
|
259
|
+
index: i.index,
|
|
260
|
+
label: i.label,
|
|
261
|
+
r: 0,
|
|
262
|
+
y: i.index * s.swimlaneMinHeight + s.swimlaneGap,
|
|
263
|
+
height: s.swimlaneMinHeight,
|
|
264
|
+
maxHeight: s.swimlaneMinHeight
|
|
265
|
+
};
|
|
266
|
+
const r = e.boxes.length > 0 ? e.boxes[e.boxes.length - 1] : void 0, d = e.previousSwimlaneNumber !== void 0 ? e.swimlanes[e.previousSwimlaneNumber] : void 0, l = {
|
|
267
|
+
width: Math.max(s.boxMinWidth, Math.min(s.boxMaxWidth, t.dimension.width)) + 2 * s.boxPadding,
|
|
268
|
+
height: Math.max(s.boxMinHeight, Math.min(s.boxMaxHeight, t.dimension.height)) + 2 * s.boxPadding
|
|
269
|
+
}, c = G(a, d, r), u = c + l.width + s.boxPadding, m = X(Object.values(e.swimlanes), u);
|
|
270
|
+
a.r = c + l.width, a.maxHeight = Math.max(a.maxHeight, l.height), a.height = Math.max(s.swimlaneMinHeight, a.maxHeight) + 2 * s.swimlanePadding;
|
|
271
|
+
const x = {
|
|
272
|
+
x: c,
|
|
273
|
+
y: s.swimlanePadding + a.y,
|
|
274
|
+
r: u,
|
|
275
|
+
dimension: l,
|
|
276
|
+
leftSibling: !1,
|
|
277
|
+
swimlane: a,
|
|
278
|
+
visual: t.visual,
|
|
279
|
+
text: t.textProps.content,
|
|
280
|
+
frame: t.frame,
|
|
281
|
+
index: t.index
|
|
282
|
+
}, h = {
|
|
283
|
+
...e,
|
|
284
|
+
boxes: [...e.boxes, x],
|
|
285
|
+
swimlanes: {
|
|
286
|
+
...e.swimlanes,
|
|
287
|
+
[`${a.index}`]: a
|
|
288
|
+
},
|
|
289
|
+
previousSwimlaneNumber: i.index,
|
|
290
|
+
previousFrame: t.frame,
|
|
291
|
+
maxR: m
|
|
292
|
+
}, f = E(h.swimlanes);
|
|
293
|
+
f.length > 0 && (f[0].y = 0);
|
|
294
|
+
for (let p = 1; p < f.length; p++) {
|
|
295
|
+
const ae = f[p], A = f[p - 1];
|
|
296
|
+
ae.y = A.y + A.height + s.swimlaneGap;
|
|
297
|
+
}
|
|
298
|
+
return h;
|
|
299
|
+
}
|
|
300
|
+
o(Y, "evolveFramePositioned");
|
|
301
|
+
function j(e, n) {
|
|
302
|
+
return e === 0 && n.sourceFrames.length === 0;
|
|
303
|
+
}
|
|
304
|
+
o(j, "isFirstFrame");
|
|
305
|
+
function z(e) {
|
|
306
|
+
return e.sourceFrames !== void 0 && e.sourceFrames !== null && e.sourceFrames.length > 0;
|
|
307
|
+
}
|
|
308
|
+
o(z, "hasSourceFrame");
|
|
309
|
+
function M(e, n) {
|
|
310
|
+
if (n != null)
|
|
311
|
+
return e.find((t) => t.frame.name === n.name);
|
|
312
|
+
}
|
|
313
|
+
o(M, "findBoxByFrame");
|
|
314
|
+
function K(e, n, t) {
|
|
315
|
+
if (!(t < 0))
|
|
316
|
+
for (let i = t; i >= 0; i--) {
|
|
317
|
+
const a = e[i];
|
|
318
|
+
if (a.swimlane.index !== n) return a;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
o(K, "findBoxByLineIndex");
|
|
322
|
+
function q(e, n) {
|
|
323
|
+
const t = n;
|
|
324
|
+
if (re(t.frame) || j(t.index, t.frame)) return [];
|
|
325
|
+
const i = M(e.boxes, t.frame);
|
|
326
|
+
if (i === void 0) throw new Error(`Target box not found for frame ${t.frame.name}`);
|
|
327
|
+
let a;
|
|
328
|
+
return t.sourceFrame ? a = M(e.boxes, t.sourceFrame) : a = K(e.boxes, i.swimlane.index, t.index - 1), a === void 0 ? [] : [{
|
|
329
|
+
$kind: D,
|
|
330
|
+
frame: t.frame,
|
|
331
|
+
index: t.index,
|
|
332
|
+
sourceBox: a,
|
|
333
|
+
targetBox: i
|
|
334
|
+
}];
|
|
335
|
+
}
|
|
336
|
+
o(q, "decidePositionRelation");
|
|
337
|
+
function J(e, n) {
|
|
338
|
+
const t = n, i = {
|
|
339
|
+
visual: {
|
|
340
|
+
fill: "none",
|
|
341
|
+
stroke: "#000"
|
|
342
|
+
},
|
|
343
|
+
source: {
|
|
344
|
+
x: t.sourceBox.x,
|
|
345
|
+
y: t.sourceBox.y
|
|
346
|
+
},
|
|
347
|
+
target: {
|
|
348
|
+
x: t.targetBox.x,
|
|
349
|
+
y: t.targetBox.y
|
|
350
|
+
},
|
|
351
|
+
sourceBox: t.sourceBox,
|
|
352
|
+
targetBox: t.targetBox
|
|
353
|
+
};
|
|
354
|
+
return {
|
|
355
|
+
...e,
|
|
356
|
+
relations: [...e.relations, i]
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
o(J, "evolveRelationPositioned");
|
|
360
|
+
var Se = {
|
|
361
|
+
[T]: V,
|
|
362
|
+
[P]: q
|
|
363
|
+
}, Be = {
|
|
364
|
+
[$]: Y,
|
|
365
|
+
[D]: J
|
|
366
|
+
};
|
|
367
|
+
function Q(e, n) {
|
|
368
|
+
const t = Se[n.$kind];
|
|
369
|
+
if (t == null) return [];
|
|
370
|
+
const i = t(e, n);
|
|
371
|
+
return g.debug("decided events", i), i;
|
|
372
|
+
}
|
|
373
|
+
o(Q, "decide");
|
|
374
|
+
function Z(e, n) {
|
|
375
|
+
const t = n.reduce((i, a) => {
|
|
376
|
+
const r = Be[a.$kind];
|
|
377
|
+
return r == null ? i : r(i, a);
|
|
378
|
+
}, e);
|
|
379
|
+
return g.debug("evolve events", {
|
|
380
|
+
state: e,
|
|
381
|
+
newState: t,
|
|
382
|
+
events: n
|
|
383
|
+
}), t;
|
|
384
|
+
}
|
|
385
|
+
o(Z, "evolve");
|
|
386
|
+
function v(e, n) {
|
|
387
|
+
return Z(e, Q(e, n));
|
|
388
|
+
}
|
|
389
|
+
o(v, "dispatch");
|
|
390
|
+
var k = {
|
|
391
|
+
getConfig: ke,
|
|
392
|
+
setOptions: we,
|
|
393
|
+
getOptions: ye,
|
|
394
|
+
clear: Pe,
|
|
395
|
+
setAccTitle: ce,
|
|
396
|
+
getAccTitle: he,
|
|
397
|
+
getAccDescription: fe,
|
|
398
|
+
setAccDescription: le,
|
|
399
|
+
setDiagramTitle: de,
|
|
400
|
+
getDiagramTitle: ge,
|
|
401
|
+
setAst: O,
|
|
402
|
+
getDiagramProps: B,
|
|
403
|
+
getState: N
|
|
404
|
+
}, Ee = { parse: /* @__PURE__ */ o(async (e) => {
|
|
405
|
+
const n = await oe("eventmodeling", e);
|
|
406
|
+
g.debug(n), k.setAst(n), ve(n, k);
|
|
407
|
+
}, "parse") }, Ae = R()?.eventmodeling;
|
|
408
|
+
function ee(e, n) {
|
|
409
|
+
return (t) => {
|
|
410
|
+
const i = t.swimlane.y + n.swimlanePadding, a = e.append("g").attr("class", "em-box");
|
|
411
|
+
a.append("rect").attr("x", t.x).attr("y", i).attr("rx", "3").attr("width", t.dimension.width).attr("height", t.dimension.height).attr("stroke", t.visual.stroke).attr("fill", t.visual.fill), a.append("foreignObject").attr("x", t.x + n.boxPadding).attr("y", i + 10).attr("width", t.dimension.width - 2 * n.boxPadding).attr("height", t.dimension.height - 2 * n.boxPadding).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%").append("span").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").html(t.text);
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
o(ee, "renderD3Box");
|
|
415
|
+
function te(e, n) {
|
|
416
|
+
return e > n;
|
|
417
|
+
}
|
|
418
|
+
o(te, "dirUpwards");
|
|
419
|
+
function ne(e, n, t, i) {
|
|
420
|
+
return (a) => {
|
|
421
|
+
const r = a.sourceBox.swimlane.y + n.swimlanePadding, d = a.targetBox.swimlane.y + n.swimlanePadding, l = te(r, d), c = a.sourceBox.x + a.sourceBox.dimension.width * 2 / 3, u = a.targetBox.x + a.targetBox.dimension.width / 3;
|
|
422
|
+
let m, x;
|
|
423
|
+
g.debug(`rendering relation up=${l} for `, {
|
|
424
|
+
sourceBox: a.sourceBox,
|
|
425
|
+
targetBox: a.targetBox
|
|
426
|
+
}), l ? (m = r, x = d + a.targetBox.dimension.height) : (m = r + a.sourceBox.dimension.height, x = d);
|
|
427
|
+
const h = i.emRelationStroke ?? a.visual.stroke;
|
|
428
|
+
e.append("path").attr("class", "em-relation").attr("fill", a.visual.fill).attr("stroke", h).attr("stroke-width", "1").attr("marker-end", `url(#${t})`).attr("d", `M${c} ${m} L${u} ${x}`);
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
o(ne, "renderD3Relation");
|
|
432
|
+
function ie(e, n, t, i) {
|
|
433
|
+
return (a) => {
|
|
434
|
+
const r = e.append("g").attr("class", "em-swimlane"), d = i.emSwimlaneBackgroundOdd ?? "rgb(250,250,250)", l = i.emSwimlaneBackgroundStroke ?? "rgb(240,240,240)";
|
|
435
|
+
r.append("rect").attr("x", 0).attr("y", a.y).attr("rx", "3").attr("width", n + t.swimlanePadding).attr("height", a.height).attr("fill", d).attr("stroke", l), r.append("text").attr("font-weight", t.swimlaneTextFontWeight).attr("x", 30).attr("y", a.y + 30).text(a.label);
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
o(ie, "renderD3Swimlane");
|
|
439
|
+
var We = {
|
|
440
|
+
parser: Ee,
|
|
441
|
+
db: k,
|
|
442
|
+
renderer: { draw: /* @__PURE__ */ o(function(e, n, t, i) {
|
|
443
|
+
if (g.debug("in eventmodeling renderer", e + `
|
|
444
|
+
`, "id:", n, t), !Ae) throw new Error("EventModeling config not found");
|
|
445
|
+
const a = i.db, { themeVariables: r, eventmodeling: d } = R(), l = se(`[id="${n}"]`), c = a.getDiagramProps(), u = a.getState(), m = `em-arrowhead-${n}`, x = r.emArrowhead ?? "#000000";
|
|
446
|
+
u.sortedSwimlanesArray.forEach(ie(l, u.maxR, c, r)), u.boxes.forEach(ee(l, c)), u.relations.forEach(ne(l, c, m, r)), l.append("defs").append("marker").attr("id", m).attr("markerWidth", "10").attr("markerHeight", "7").attr("refX", "10").attr("refY", "3.5").attr("orient", "auto").append("polygon").attr("points", "0 0, 10 3.5, 0 7").attr("fill", x), me(void 0, l, d?.padding ?? 30, d?.useMaxWidth);
|
|
447
|
+
}, "draw") },
|
|
448
|
+
styles: /* @__PURE__ */ o((e) => "", "getStyles")
|
|
449
|
+
};
|
|
450
|
+
export {
|
|
451
|
+
We as diagram
|
|
452
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const oe=require("./mermaid-parser.core-DYumW1vq.cjs"),$=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),q=require("./src-C9EhKhbk.cjs"),C=require("./chunk-WYO6CB5R-u4mJNOcO.cjs"),K=require("./ordinal-BplLHIij.cjs"),E=require("./defaultLocale-DSqtvhxg.cjs"),Q=require("./chunk-ICXQ74PX-BbT9JaEW.cjs"),ce=require("./chunk-VAUOI2AC-DfQf5L2_.cjs"),ue=require("./chunk-JWPE2WC7-D8EnWK1B.cjs"),he=require("./chunk-VR4S4FIN-KiwnPF31.cjs"),z=require("./chunk-C7G6YPKG-CKEeW9TM.cjs");function de(t){var a=0,n=t.children,r=n&&n.length;if(!r)a=1;else for(;--r>=0;)a+=n[r].value;t.value=a}function pe(){return this.eachAfter(de)}function fe(t,a){let n=-1;for(const r of this)t.call(a,r,++n,this);return this}function ge(t,a){for(var n=this,r=[n],s,i,c=-1;n=r.pop();)if(t.call(a,n,++c,this),s=n.children)for(i=s.length-1;i>=0;--i)r.push(s[i]);return this}function me(t,a){for(var n=this,r=[n],s=[],i,c,h,f=-1;n=r.pop();)if(s.push(n),i=n.children)for(c=0,h=i.length;c<h;++c)r.push(i[c]);for(;n=s.pop();)t.call(a,n,++f,this);return this}function ye(t,a){let n=-1;for(const r of this)if(t.call(a,r,++n,this))return r}function Se(t){return this.eachAfter(function(a){for(var n=+t(a.data)||0,r=a.children,s=r&&r.length;--s>=0;)n+=r[s].value;a.value=n})}function ve(t){return this.eachBefore(function(a){a.children&&a.children.sort(t)})}function xe(t){for(var a=this,n=_e(a,t),r=[a];a!==n;)a=a.parent,r.push(a);for(var s=r.length;t!==n;)r.splice(s,0,t),t=t.parent;return r}function _e(t,a){if(t===a)return t;var n=t.ancestors(),r=a.ancestors(),s=null;for(t=n.pop(),a=r.pop();t===a;)s=t,t=n.pop(),a=r.pop();return s}function Ce(){for(var t=this,a=[t];t=t.parent;)a.push(t);return a}function we(){return Array.from(this)}function be(){var t=[];return this.eachBefore(function(a){a.children||t.push(a)}),t}function $e(){var t=this,a=[];return t.each(function(n){n!==t&&a.push({source:n.parent,target:n})}),a}function*Te(){var t=this,a,n=[t],r,s,i;do for(a=n.reverse(),n=[];t=a.pop();)if(yield t,r=t.children)for(s=0,i=r.length;s<i;++s)n.push(r[s]);while(n.length)}function ee(t,a){t instanceof Map?(t=[void 0,t],a===void 0&&(a=Ne)):a===void 0&&(a=ke);for(var n=new X(t),r,s=[n],i,c,h,f;r=s.pop();)if((c=a(r.data))&&(f=(c=Array.from(c)).length))for(r.children=c,h=f-1;h>=0;--h)s.push(i=c[h]=new X(c[h])),i.parent=r,i.depth=r.depth+1;return n.eachBefore(Fe)}function Le(){return ee(this).eachBefore(Me)}function ke(t){return t.children}function Ne(t){return Array.isArray(t)?t[1]:null}function Me(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function Fe(t){var a=0;do t.height=a;while((t=t.parent)&&t.height<++a)}function X(t){this.data=t,this.depth=this.height=0,this.parent=null}X.prototype=ee.prototype={constructor:X,count:pe,each:fe,eachAfter:me,eachBefore:ge,find:ye,sum:Se,sort:ve,path:xe,ancestors:Ce,descendants:we,leaves:be,links:$e,copy:Le,[Symbol.iterator]:Te};function Ae(t){if(typeof t!="function")throw new Error;return t}function H(){return 0}function G(t){return function(){return t}}function ze(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function qe(t,a,n,r,s){for(var i=t.children,c,h=-1,f=i.length,o=t.value&&(r-a)/t.value;++h<f;)c=i[h],c.y0=n,c.y1=s,c.x0=a,c.x1=a+=c.value*o}function Ve(t,a,n,r,s){for(var i=t.children,c,h=-1,f=i.length,o=t.value&&(s-n)/t.value;++h<f;)c=i[h],c.x0=a,c.x1=r,c.y0=n,c.y1=n+=c.value*o}var De=(1+Math.sqrt(5))/2;function Pe(t,a,n,r,s,i){for(var c=[],h=a.children,f,o,d=0,x=0,l=h.length,v,y,S=a.value,p,g,A,N,V,W,k;d<l;){v=s-n,y=i-r;do p=h[x++].value;while(!p&&x<l);for(g=A=p,W=Math.max(y/v,v/y)/(S*t),k=p*p*W,V=Math.max(A/k,k/g);x<l;++x){if(p+=o=h[x].value,o<g&&(g=o),o>A&&(A=o),k=p*p*W,N=Math.max(A/k,k/g),N>V){p-=o;break}V=N}c.push(f={value:p,dice:v<y,children:h.slice(d,x)}),f.dice?qe(f,n,r,s,S?r+=y*p/S:i):Ve(f,n,r,S?n+=v*p/S:s,i),S-=p,d=x}return c}var Ie=(function t(a){function n(r,s,i,c,h){Pe(a,r,s,i,c,h)}return n.ratio=function(r){return t((r=+r)>1?r:1)},n})(De);function We(){var t=Ie,a=!1,n=1,r=1,s=[0],i=H,c=H,h=H,f=H,o=H;function d(l){return l.x0=l.y0=0,l.x1=n,l.y1=r,l.eachBefore(x),s=[0],a&&l.eachBefore(ze),l}function x(l){var v=s[l.depth],y=l.x0+v,S=l.y0+v,p=l.x1-v,g=l.y1-v;p<y&&(y=p=(y+p)/2),g<S&&(S=g=(S+g)/2),l.x0=y,l.y0=S,l.x1=p,l.y1=g,l.children&&(v=s[l.depth+1]=i(l)/2,y+=o(l)-v,S+=c(l)-v,p-=h(l)-v,g-=f(l)-v,p<y&&(y=p=(y+p)/2),g<S&&(S=g=(S+g)/2),t(l,y,S,p,g))}return d.round=function(l){return arguments.length?(a=!!l,d):a},d.size=function(l){return arguments.length?(n=+l[0],r=+l[1],d):[n,r]},d.tile=function(l){return arguments.length?(t=Ae(l),d):t},d.padding=function(l){return arguments.length?d.paddingInner(l).paddingOuter(l):d.paddingInner()},d.paddingInner=function(l){return arguments.length?(i=typeof l=="function"?l:G(+l),d):i},d.paddingOuter=function(l){return arguments.length?d.paddingTop(l).paddingRight(l).paddingBottom(l).paddingLeft(l):d.paddingTop()},d.paddingTop=function(l){return arguments.length?(c=typeof l=="function"?l:G(+l),d):c},d.paddingRight=function(l){return arguments.length?(h=typeof l=="function"?l:G(+l),d):h},d.paddingBottom=function(l){return arguments.length?(f=typeof l=="function"?l:G(+l),d):f},d.paddingLeft=function(l){return arguments.length?(o=typeof l=="function"?l:G(+l),d):o},d}var ne=class{constructor(){this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.setAccTitle=C.setAccTitle,this.getAccTitle=C.getAccTitle,this.setDiagramTitle=C.setDiagramTitle,this.getDiagramTitle=C.getDiagramTitle,this.getAccDescription=C.getAccDescription,this.setAccDescription=C.setAccDescription}static{$.__name(this,"TreeMapDB")}getNodes(){return this.nodes}getConfig(){const t=C.defaultConfig_default,a=C.getConfig();return Q.cleanAndMerge({...t.treemap,...a.treemap??{}})}addNode(t,a){this.nodes.push(t),this.levels.set(t,a),a===0&&(this.outerNodes.push(t),this.root??=t)}getRoot(){return{name:"",children:this.outerNodes}}addClass(t,a){const n=this.classes.get(t)??{id:t,styles:[],textStyles:[]},r=a.replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");r&&r.forEach(s=>{z.isLabelStyle(s)&&(n?.textStyles?n.textStyles.push(s):n.textStyles=[s]),n?.styles?n.styles.push(s):n.styles=[s]}),this.classes.set(t,n)}getClasses(){return this.classes}getStylesForClass(t){return this.classes.get(t)?.styles??[]}clear(){C.clear(),this.nodes=[],this.levels=new Map,this.outerNodes=[],this.classes=new Map,this.root=void 0}};function re(t){if(!t.length)return[];const a=[],n=[];return t.forEach(r=>{const s={name:r.name,children:r.type==="Leaf"?void 0:[]};for(s.classSelector=r?.classSelector,r?.cssCompiledStyles&&(s.cssCompiledStyles=r.cssCompiledStyles),r.type==="Leaf"&&r.value!==void 0&&(s.value=r.value);n.length>0&&n[n.length-1].level>=r.level;)n.pop();if(n.length===0)a.push(s);else{const i=n[n.length-1].node;i.children?i.children.push(s):i.children=[s]}r.type!=="Leaf"&&n.push({node:s,level:r.level})}),a}$.__name(re,"buildHierarchy");var Be=$.__name((t,a)=>{ue.populateCommonDb(t,a);const n=[];for(const i of t.TreemapRows??[])i.$type==="ClassDefStatement"&&a.addClass(i.className??"",i.styleText??"");for(const i of t.TreemapRows??[]){const c=i.item;if(!c)continue;const h=i.indent?parseInt(i.indent):0,f=Re(c),o=c.classSelector?a.getStylesForClass(c.classSelector):[],d=o.length>0?o:void 0,x={level:h,name:f,type:c.$type,value:c.value,classSelector:c.classSelector,cssCompiledStyles:d};n.push(x)}const r=re(n),s=$.__name((i,c)=>{for(const h of i)a.addNode(h,c),h.children&&h.children.length>0&&s(h.children,c+1)},"addNodesRecursively");s(r,0)},"populate"),Re=$.__name(t=>t.name?String(t.name):"","getItemName"),le={parser:{yy:void 0},parse:$.__name(async t=>{try{const a=await oe.parse("treemap",t);q.log.debug("Treemap AST:",a);const n=le.parser?.yy;if(!(n instanceof ne))throw new Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Be(a,n)}catch(a){throw q.log.error("Error parsing treemap:",a),a}},"parse")},Ee=10,I=10,O=25,He={draw:$.__name((t,a,n,r)=>{const s=r.db,i=s.getConfig(),c=i.padding??Ee,h=s.getDiagramTitle(),f=s.getRoot(),{themeVariables:o}=C.getConfig();if(!f)return;const d=h?30:0,x=ce.selectSvgElement(a),l=i.nodeWidth?i.nodeWidth*I:960,v=i.nodeHeight?i.nodeHeight*I:500,y=l,S=v+d;x.attr("viewBox",`0 0 ${y} ${S}`),C.configureSvgSize(x,S,y,i.useMaxWidth);let p;try{const e=i.valueFormat||",";if(e==="$0,0")p=$.__name(u=>"$"+E.format(",")(u),"valueFormat");else if(e.startsWith("$")&&e.includes(",")){const u=/\.\d+/.exec(e),w=u?u[0]:"";p=$.__name(L=>"$"+E.format(","+w)(L),"valueFormat")}else if(e.startsWith("$")){const u=e.substring(1);p=$.__name(w=>"$"+E.format(u||"")(w),"valueFormat")}else p=E.format(e)}catch(e){q.log.error("Error creating format function:",e),p=E.format(",")}const g=K.ordinal().range(["transparent",o.cScale0,o.cScale1,o.cScale2,o.cScale3,o.cScale4,o.cScale5,o.cScale6,o.cScale7,o.cScale8,o.cScale9,o.cScale10,o.cScale11]),A=K.ordinal().range(["transparent",o.cScalePeer0,o.cScalePeer1,o.cScalePeer2,o.cScalePeer3,o.cScalePeer4,o.cScalePeer5,o.cScalePeer6,o.cScalePeer7,o.cScalePeer8,o.cScalePeer9,o.cScalePeer10,o.cScalePeer11]),N=K.ordinal().range([o.cScaleLabel0,o.cScaleLabel1,o.cScaleLabel2,o.cScaleLabel3,o.cScaleLabel4,o.cScaleLabel5,o.cScaleLabel6,o.cScaleLabel7,o.cScaleLabel8,o.cScaleLabel9,o.cScaleLabel10,o.cScaleLabel11]);h&&x.append("text").attr("x",y/2).attr("y",d/2).attr("class","treemapTitle").attr("text-anchor","middle").attr("dominant-baseline","middle").text(h);const V=x.append("g").attr("transform",`translate(0, ${d})`).attr("class","treemapContainer"),W=ee(f).sum(e=>e.value??0).sort((e,u)=>(u.value??0)-(e.value??0)),k=We().size([l,v]).paddingTop(e=>e.children&&e.children.length>0?O+I:0).paddingInner(c).paddingLeft(e=>e.children&&e.children.length>0?I:0).paddingRight(e=>e.children&&e.children.length>0?I:0).paddingBottom(e=>e.children&&e.children.length>0?I:0).round(!0)(W),ie=k.descendants().filter(e=>e.children&&e.children.length>0),B=V.selectAll(".treemapSection").data(ie).enter().append("g").attr("class","treemapSection").attr("transform",e=>`translate(${e.x0},${e.y0})`);B.append("rect").attr("width",e=>e.x1-e.x0).attr("height",O).attr("class","treemapSectionHeader").attr("fill","none").attr("fill-opacity",.6).attr("stroke-width",.6).attr("style",e=>e.depth===0?"display: none;":""),B.append("clipPath").attr("id",(e,u)=>`clip-section-${a}-${u}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-12)).attr("height",O),B.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class",(e,u)=>`treemapSection section${u}`).attr("fill",e=>g(e.data.name)).attr("fill-opacity",.6).attr("stroke",e=>A(e.data.name)).attr("stroke-width",2).attr("stroke-opacity",.4).attr("style",e=>{if(e.depth===0)return"display: none;";const u=z.styles2String({cssCompiledStyles:e.data.cssCompiledStyles});return u.nodeStyles+";"+u.borderStyles.join(";")}),B.append("text").attr("class","treemapSectionLabel").attr("x",6).attr("y",O/2).attr("dominant-baseline","middle").text(e=>e.depth===0?"":e.data.name).attr("font-weight","bold").attr("clip-path",(e,u)=>`url(#clip-section-${a}-${u})`).attr("style",e=>e.depth===0?"display: none;":"dominant-baseline: middle; font-size: 12px; fill:"+N(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"+z.styles2String({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace("color:","fill:")).each(function(e){if(e.depth===0)return;const u=q.select_default(this),w=e.data.name;u.text(w);const L=e.x1-e.x0,F=6;let T;i.showValues!==!1&&e.value?T=L-10-30-10-F:T=L-F-6;const b=Math.max(15,T),m=u.node();if(m.getComputedTextLength()>b){let _=w;for(;_.length>0;){if(_=w.substring(0,_.length-1),_.length===0){u.text("..."),m.getComputedTextLength()>b&&u.text("");break}if(u.text(_+"..."),m.getComputedTextLength()<=b)break}}}),i.showValues!==!1&&B.append("text").attr("class","treemapSectionValue").attr("x",e=>e.x1-e.x0-10).attr("y",O/2).attr("text-anchor","end").attr("dominant-baseline","middle").text(e=>e.value?p(e.value):"").attr("font-style","italic").attr("style",e=>e.depth===0?"display: none;":"text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:"+N(e.data.name)+"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"+z.styles2String({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace("color:","fill:"));const te=k.leaves(),M=te.length>20,se=M?16:38,Y=M?14:28,D=M?4:8,P=M?4:6,J=M?2:4,ae=M?8:10,U=M?1:2,j=V.selectAll(".treemapLeafGroup").data(te).enter().append("g").attr("class",(e,u)=>`treemapNode treemapLeafGroup leaf${u}${e.data.classSelector?` ${e.data.classSelector}`:""}x`).attr("transform",e=>`translate(${e.x0},${e.y0})`);j.append("rect").attr("width",e=>e.x1-e.x0).attr("height",e=>e.y1-e.y0).attr("class","treemapLeaf").attr("fill",e=>e.parent?g(e.parent.data.name):g(e.data.name)).attr("style",e=>z.styles2String({cssCompiledStyles:e.data.cssCompiledStyles}).nodeStyles).attr("fill-opacity",.3).attr("stroke",e=>e.parent?g(e.parent.data.name):g(e.data.name)).attr("stroke-width",3),j.append("clipPath").attr("id",(e,u)=>`clip-${a}-${u}`).append("rect").attr("width",e=>Math.max(0,e.x1-e.x0-4)).attr("height",e=>Math.max(0,e.y1-e.y0-4)),j.append("text").attr("class","treemapLabel").attr("x",e=>(e.x1-e.x0)/2).attr("y",e=>(e.y1-e.y0)/2).attr("style",e=>`text-anchor: middle; dominant-baseline: middle; font-size: ${se}px;fill:`+N(e.data.name)+";"+z.styles2String({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace("color:","fill:")).attr("clip-path",(e,u)=>`url(#clip-${a}-${u})`).text(e=>e.data.name).each(function(e){const u=q.select_default(this),w=e.x1-e.x0,L=e.y1-e.y0,F=u.node(),T=w-2*J,b=L-2*J;if(T<ae||b<ae){u.style("display","none");return}let m=parseInt(u.style("font-size"),10);const R=.6;for(;F.getComputedTextLength()>T&&m>D;)m--,u.style("font-size",`${m}px`);let _=Math.max(P,Math.min(Y,Math.round(m*R))),Z=m+U+_;for(;Z>b&&m>D&&(m--,_=Math.max(P,Math.min(Y,Math.round(m*R))),!(_<P&&m===D));)u.style("font-size",`${m}px`),Z=m+U+_,_<=P&&Z>b;u.style("font-size",`${m}px`),M?(m<D||b<D)&&u.style("display","none"):(F.getComputedTextLength()>T||m<D||b<m)&&u.style("display","none")}),i.showValues!==!1&&j.append("text").attr("class","treemapValue").attr("x",e=>(e.x1-e.x0)/2).attr("y",function(e){return(e.y1-e.y0)/2}).attr("style",e=>`text-anchor: middle; dominant-baseline: hanging; font-size: ${Y}px;fill:`+N(e.data.name)+";"+z.styles2String({cssCompiledStyles:e.data.cssCompiledStyles}).labelStyles.replace("color:","fill:")).attr("clip-path",(e,u)=>`url(#clip-${a}-${u})`).text(e=>e.value?p(e.value):"").each(function(e){const u=q.select_default(this),w=this.parentNode;if(!w){u.style("display","none");return}const L=q.select_default(w).select(".treemapLabel");if(L.empty()||L.style("display")==="none"){u.style("display","none");return}const F=parseFloat(L.style("font-size")),T=Math.max(P,Math.min(Y,Math.round(F*.6)));u.style("font-size",`${T}px`);const b=(e.y1-e.y0)/2+F/2+U;u.attr("y",b);const m=e.x1-e.x0,R=e.y1-e.y0-4,_=m-2*J;u.node().getComputedTextLength()>_||b+T>R||T<P?u.style("display","none"):u.style("display",null)}),he.setupViewPortForSVG(x,i.diagramPadding??8,"flowchart",i?.useMaxWidth||!1)},"draw"),getClasses:$.__name(function(t,a){return a.db.getClasses()},"getClasses")},Ge={sectionStrokeColor:"black",sectionStrokeWidth:"1",sectionFillColor:"#efefef",leafStrokeColor:"black",leafStrokeWidth:"1",leafFillColor:"#efefef",labelFontSize:"12px",valueFontSize:"10px",titleFontSize:"14px"},Oe={parser:le,get db(){return new ne},renderer:He,styles:$.__name(({treemap:t}={})=>{const a=Q.cleanAndMerge(C.getThemeVariables3(),C.getConfig().themeVariables),n=Q.cleanAndMerge(Ge,t),r=n.titleColor??a.titleColor,s=n.labelColor??a.textColor,i=n.valueColor??a.textColor;return`
|
|
2
|
+
.treemapNode.section {
|
|
3
|
+
stroke: ${n.sectionStrokeColor};
|
|
4
|
+
stroke-width: ${n.sectionStrokeWidth};
|
|
5
|
+
fill: ${n.sectionFillColor};
|
|
6
|
+
}
|
|
7
|
+
.treemapNode.leaf {
|
|
8
|
+
stroke: ${n.leafStrokeColor};
|
|
9
|
+
stroke-width: ${n.leafStrokeWidth};
|
|
10
|
+
fill: ${n.leafFillColor};
|
|
11
|
+
}
|
|
12
|
+
.treemapLabel {
|
|
13
|
+
fill: ${s};
|
|
14
|
+
font-size: ${n.labelFontSize};
|
|
15
|
+
}
|
|
16
|
+
.treemapValue {
|
|
17
|
+
fill: ${i};
|
|
18
|
+
font-size: ${n.valueFontSize};
|
|
19
|
+
}
|
|
20
|
+
.treemapTitle {
|
|
21
|
+
fill: ${r};
|
|
22
|
+
font-size: ${n.titleFontSize};
|
|
23
|
+
}
|
|
24
|
+
`},"getStyles")};exports.diagram=Oe;
|