@sme.up/ketchup2 2.7.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abnfDiagram-VCTEODGH-DwAVRNNu.js +89 -0
- package/dist/{arc-CVbkjF8U.js → arc-DXfwi1YX.js} +8 -6
- package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
- package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +636 -540
- package/dist/assets/svg/functions.svg +1 -0
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
- package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-types.d.ts +5 -0
- package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
- package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
- package/dist/basic-components/chips/chips-types.d.ts +15 -1
- package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
- package/dist/basic-components/chips/chips.d.ts.map +1 -1
- package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
- package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
- package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
- package/dist/basic-components/list/list.d.ts.map +1 -1
- package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
- package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
- package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
- package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
- package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
- package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
- package/dist/basic-components/select/select.d.ts.map +1 -1
- package/dist/blockDiagram-I7D4REHJ-Cu18ws5-.js +1922 -0
- package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +899 -850
- package/dist/{channel-C-LAmObA.js → channel-CuEby436.js} +1 -1
- package/dist/chunk-2E4U76K2-ComA5SPA.js +348 -0
- package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
- package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-CZgIgrp_.js} +1667 -1145
- package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
- package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-Drsj7a97.js} +106 -136
- package/dist/chunk-CLGD4ZFX-CLGio9rD.js +14 -0
- package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-waeanndy.js} +1005 -768
- package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-jIrOJO87.js} +18 -17
- package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-LRqOLsSw.js} +5518 -4708
- package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-D80II4AD.js} +486 -520
- package/dist/chunk-GVQU2GXP-DP3t_9Rl.js +37 -0
- package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-8ItzAAcf.js} +336 -318
- package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
- package/dist/chunk-L3NEJ4N5-qPot4t6M.js +245 -0
- package/dist/chunk-LNGE3PJU-CtYcu9x8.js +1521 -0
- package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-CQhPF3Mc.js} +310 -198
- package/dist/chunk-P2QGCYS3-BUeNZ170.js +67 -0
- package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +26 -0
- package/dist/chunk-PWAF6VOD-D37VoZ8H.js +275 -0
- package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-Cri27Jke.js} +581 -543
- package/dist/chunk-SVP7TREG-CyJlOPau.js +490 -0
- package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-Cw2iT_VD.js} +191 -185
- package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-BdsLNXjt.js} +35 -25
- package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +9 -0
- package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
- package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
- package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
- package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
- package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
- package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
- package/dist/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/chat/chat.d.ts.map +1 -1
- package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
- package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
- package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
- package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
- package/dist/components/data-table/data-table-types.d.ts +52 -1
- package/dist/components/data-table/data-table-types.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/header/Header.d.ts.map +1 -1
- package/dist/components/data-table/header/header-types.d.ts +7 -1
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
- package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
- package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
- package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
- package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
- package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
- package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
- package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
- package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
- package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +87 -83
- package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
- package/dist/cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js +355 -0
- package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-C5TvPYYm.js} +2749 -2701
- package/dist/{dagre-3-RnF0EK.js → dagre-D5csT9sx.js} +144 -146
- package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +425 -0
- package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
- package/dist/diagram-S7CK7UJ4-BuDHTdHA.js +301 -0
- package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-uvzJGj43.js} +82 -81
- package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CrQQCs-B.js} +66 -65
- package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-BNmG1sig.js} +92 -89
- package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-B6BrLhP0.js} +21 -20
- package/dist/{dist-Btd8EZyy.js → dist-CsrMlyO_.js} +2 -3
- package/dist/ebnfDiagram-PWID7BFC-DMx8xAFO.js +100 -0
- package/dist/erDiagram-RLTQ6QDP-bkJ9nzVK.js +1966 -0
- package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
- package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
- package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
- package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
- package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
- package/dist/functional-components/row/row-types.d.ts +5 -0
- package/dist/functional-components/row/row-types.d.ts.map +1 -1
- package/dist/functional-components/row/row.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
- package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
- package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
- package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
- package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +703 -710
- package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
- package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +156 -151
- package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
- package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +20 -0
- package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
- package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +142 -141
- package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +192 -191
- package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +149 -146
- package/dist/{katex-D-2KeLwt.js → katex-CT2p8LXT.js} +1627 -1650
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +34744 -32755
- package/dist/{line-DIhSUgmA.js → line-DTqYMLoX.js} +2 -2
- package/dist/{linear-DUAteVwl.js → linear-CXc5xaa6.js} +8 -9
- package/dist/locale/en/translation.json.d.ts +16 -0
- package/dist/locale/it/translation.json.d.ts +16 -0
- package/dist/mermaid-parser.core-BwVmI_Rq.js +638 -0
- package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +170 -170
- package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
- package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
- package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
- package/dist/pegDiagram-XKGWAZYB-DsfILwZN.js +94 -0
- package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
- package/dist/pieDiagram-E7YTZNPT-DcSLcLdd.js +203 -0
- package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +300 -300
- package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
- package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
- package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
- package/dist/railroadDiagram-O6MQD6OU-jOZRtNDi.js +76 -0
- package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +176 -173
- package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
- package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +123 -120
- package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +714 -722
- package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
- package/dist/{src-DjDATEq3.js → src-DQoflmwT.js} +499 -509
- package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +220 -0
- package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
- package/dist/swimlanes-42K2YHIH-CJcMmxXf.js +4979 -0
- package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
- package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +220 -219
- package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
- package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
- package/dist/types/translation.d.ts +17 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/utils/data-structures.d.ts +2 -1
- package/dist/utils/data-structures.d.ts.map +1 -1
- package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
- package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +332 -310
- package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
- package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +156 -155
- package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +740 -574
- package/package.json +41 -38
- package/dist/arc-w3BipdfE.cjs +0 -1
- package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
- package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
- package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
- package/dist/array-DZSRzHA_.cjs +0 -1
- package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
- package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
- package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
- package/dist/channel-DJpMBAs-.cjs +0 -1
- package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
- package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
- package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
- package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
- package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
- package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
- package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
- package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +0 -206
- package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
- package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
- package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
- package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
- package/dist/chunk-FMBD7UC4-BIKI8zae.cjs +0 -15
- package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
- package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
- package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
- package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
- package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
- package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
- package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
- package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
- package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
- package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
- package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
- package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
- package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
- package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
- package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
- package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
- package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
- package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
- package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
- package/dist/dagre-B2BBwKNb.cjs +0 -1
- package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
- package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
- package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
- package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
- package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
- package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
- package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
- package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
- package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
- package/dist/dist-D8RD2QWc.cjs +0 -1
- package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
- package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
- package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
- package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
- package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
- package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
- package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
- package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
- package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
- package/dist/graphlib-CkkG5MuS.cjs +0 -1
- package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
- package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
- package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
- package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
- package/dist/init-07zIhv_j.cjs +0 -1
- package/dist/ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs +0 -70
- package/dist/journeyDiagram-JHISSGLW-DfnmJPLn.cjs +0 -139
- package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
- package/dist/katex-CkiTumqg.cjs +0 -257
- package/dist/ketchup2.cjs.js +0 -485
- package/dist/line-CzwncDY3.cjs +0 -1
- package/dist/linear-1lpO_WlJ.cjs +0 -1
- package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
- package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
- package/dist/mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs +0 -96
- package/dist/ordinal-CUPR-p0T.cjs +0 -1
- package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
- package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
- package/dist/path-Kklx0M1v.cjs +0 -1
- package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
- package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
- package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
- package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
- package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
- package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
- package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
- package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
- package/dist/rough.esm-r0QOSzHM.cjs +0 -1
- package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
- package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
- package/dist/src-DEmZ9bFr.cjs +0 -1
- package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
- package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
- package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
- package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
- package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
- package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
- package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
- package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
- package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
- package/dist/v4-Dyp-SQ1c.cjs +0 -1
- package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
- package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
- package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
- package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
- package/dist/xychartDiagram-2RQKCTM6-DA3O42Dk.cjs +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
1
|
+
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
2
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-5VM5RSS4.mjs
|
|
3
3
|
var t = /* @__PURE__ */ e(() => "\n /* Font Awesome icon styling - consolidated */\n .label-icon {\n display: inline-block;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n }\n \n .node .label-icon path {\n fill: currentColor;\n stroke: revert;\n stroke-width: revert;\n }\n", "getIconStyles");
|
|
4
4
|
//#endregion
|
|
5
5
|
export { t };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as
|
|
3
|
-
import {
|
|
1
|
+
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
+
import { R as n, h as r, p as i, r as a, s as o } from "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
+
import { n as s } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import { t as c } from "./dist-CsrMlyO_.js";
|
|
4
5
|
//#region node_modules/d3-shape/src/curve/linear.js
|
|
5
6
|
function l(e) {
|
|
6
7
|
this._context = e;
|
|
@@ -24,9 +25,7 @@ l.prototype = {
|
|
|
24
25
|
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
25
26
|
break;
|
|
26
27
|
case 1: this._point = 2;
|
|
27
|
-
default:
|
|
28
|
-
this._context.lineTo(e, t);
|
|
29
|
-
break;
|
|
28
|
+
default: this._context.lineTo(e, t);
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
31
|
};
|
|
@@ -57,9 +56,7 @@ var d = class {
|
|
|
57
56
|
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
58
57
|
break;
|
|
59
58
|
case 1: this._point = 2;
|
|
60
|
-
default:
|
|
61
|
-
this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);
|
|
62
|
-
break;
|
|
59
|
+
default: this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);
|
|
63
60
|
}
|
|
64
61
|
this._x0 = e, this._y0 = t;
|
|
65
62
|
}
|
|
@@ -94,9 +91,7 @@ h.prototype = {
|
|
|
94
91
|
lineEnd: function() {
|
|
95
92
|
switch (this._point) {
|
|
96
93
|
case 3: m(this, this._x1, this._y1);
|
|
97
|
-
case 2:
|
|
98
|
-
this._context.lineTo(this._x1, this._y1);
|
|
99
|
-
break;
|
|
94
|
+
case 2: this._context.lineTo(this._x1, this._y1);
|
|
100
95
|
}
|
|
101
96
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
102
97
|
},
|
|
@@ -109,9 +104,7 @@ h.prototype = {
|
|
|
109
104
|
this._point = 2;
|
|
110
105
|
break;
|
|
111
106
|
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
|
|
112
|
-
default:
|
|
113
|
-
m(this, e, t);
|
|
114
|
-
break;
|
|
107
|
+
default: m(this, e, t);
|
|
115
108
|
}
|
|
116
109
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
117
110
|
}
|
|
@@ -138,9 +131,7 @@ ne.prototype = {
|
|
|
138
131
|
case 2:
|
|
139
132
|
this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
|
|
140
133
|
break;
|
|
141
|
-
case 3:
|
|
142
|
-
this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
|
|
143
|
-
break;
|
|
134
|
+
case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
|
|
144
135
|
}
|
|
145
136
|
},
|
|
146
137
|
point: function(e, t) {
|
|
@@ -154,9 +145,7 @@ ne.prototype = {
|
|
|
154
145
|
case 2:
|
|
155
146
|
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
|
|
156
147
|
break;
|
|
157
|
-
default:
|
|
158
|
-
m(this, e, t);
|
|
159
|
-
break;
|
|
148
|
+
default: m(this, e, t);
|
|
160
149
|
}
|
|
161
150
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
162
151
|
}
|
|
@@ -196,9 +185,7 @@ ie.prototype = {
|
|
|
196
185
|
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
|
|
197
186
|
break;
|
|
198
187
|
case 3: this._point = 4;
|
|
199
|
-
default:
|
|
200
|
-
m(this, e, t);
|
|
201
|
-
break;
|
|
188
|
+
default: m(this, e, t);
|
|
202
189
|
}
|
|
203
190
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
|
|
204
191
|
}
|
|
@@ -255,9 +242,7 @@ _.prototype = {
|
|
|
255
242
|
case 2:
|
|
256
243
|
this._context.lineTo(this._x2, this._y2);
|
|
257
244
|
break;
|
|
258
|
-
case 3:
|
|
259
|
-
g(this, this._x1, this._y1);
|
|
260
|
-
break;
|
|
245
|
+
case 3: g(this, this._x1, this._y1);
|
|
261
246
|
}
|
|
262
247
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
263
248
|
},
|
|
@@ -270,9 +255,7 @@ _.prototype = {
|
|
|
270
255
|
this._point = 2, this._x1 = e, this._y1 = t;
|
|
271
256
|
break;
|
|
272
257
|
case 2: this._point = 3;
|
|
273
|
-
default:
|
|
274
|
-
g(this, e, t);
|
|
275
|
-
break;
|
|
258
|
+
default: g(this, e, t);
|
|
276
259
|
}
|
|
277
260
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
278
261
|
}
|
|
@@ -304,9 +287,7 @@ v.prototype = {
|
|
|
304
287
|
case 2:
|
|
305
288
|
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
306
289
|
break;
|
|
307
|
-
case 3:
|
|
308
|
-
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
309
|
-
break;
|
|
290
|
+
case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
310
291
|
}
|
|
311
292
|
},
|
|
312
293
|
point: function(e, t) {
|
|
@@ -320,9 +301,7 @@ v.prototype = {
|
|
|
320
301
|
case 2:
|
|
321
302
|
this._point = 3, this._x5 = e, this._y5 = t;
|
|
322
303
|
break;
|
|
323
|
-
default:
|
|
324
|
-
g(this, e, t);
|
|
325
|
-
break;
|
|
304
|
+
default: g(this, e, t);
|
|
326
305
|
}
|
|
327
306
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
328
307
|
}
|
|
@@ -365,9 +344,7 @@ y.prototype = {
|
|
|
365
344
|
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
366
345
|
break;
|
|
367
346
|
case 3: this._point = 4;
|
|
368
|
-
default:
|
|
369
|
-
g(this, e, t);
|
|
370
|
-
break;
|
|
347
|
+
default: g(this, e, t);
|
|
371
348
|
}
|
|
372
349
|
this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
373
350
|
}
|
|
@@ -412,9 +389,7 @@ de.prototype = {
|
|
|
412
389
|
case 2:
|
|
413
390
|
this._context.lineTo(this._x2, this._y2);
|
|
414
391
|
break;
|
|
415
|
-
case 3:
|
|
416
|
-
this.point(this._x2, this._y2);
|
|
417
|
-
break;
|
|
392
|
+
case 3: this.point(this._x2, this._y2);
|
|
418
393
|
}
|
|
419
394
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
420
395
|
},
|
|
@@ -431,9 +406,7 @@ de.prototype = {
|
|
|
431
406
|
this._point = 2;
|
|
432
407
|
break;
|
|
433
408
|
case 2: this._point = 3;
|
|
434
|
-
default:
|
|
435
|
-
b(this, e, t);
|
|
436
|
-
break;
|
|
409
|
+
default: b(this, e, t);
|
|
437
410
|
}
|
|
438
411
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
439
412
|
}
|
|
@@ -465,9 +438,7 @@ pe.prototype = {
|
|
|
465
438
|
case 2:
|
|
466
439
|
this._context.lineTo(this._x3, this._y3), this._context.closePath();
|
|
467
440
|
break;
|
|
468
|
-
case 3:
|
|
469
|
-
this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
470
|
-
break;
|
|
441
|
+
case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
|
|
471
442
|
}
|
|
472
443
|
},
|
|
473
444
|
point: function(e, t) {
|
|
@@ -485,9 +456,7 @@ pe.prototype = {
|
|
|
485
456
|
case 2:
|
|
486
457
|
this._point = 3, this._x5 = e, this._y5 = t;
|
|
487
458
|
break;
|
|
488
|
-
default:
|
|
489
|
-
b(this, e, t);
|
|
490
|
-
break;
|
|
459
|
+
default: b(this, e, t);
|
|
491
460
|
}
|
|
492
461
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
493
462
|
}
|
|
@@ -534,9 +503,7 @@ he.prototype = {
|
|
|
534
503
|
this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
|
|
535
504
|
break;
|
|
536
505
|
case 3: this._point = 4;
|
|
537
|
-
default:
|
|
538
|
-
b(this, e, t);
|
|
539
|
-
break;
|
|
506
|
+
default: b(this, e, t);
|
|
540
507
|
}
|
|
541
508
|
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
|
|
542
509
|
}
|
|
@@ -605,15 +572,13 @@ S.prototype = {
|
|
|
605
572
|
case 2:
|
|
606
573
|
this._context.lineTo(this._x1, this._y1);
|
|
607
574
|
break;
|
|
608
|
-
case 3:
|
|
609
|
-
x(this, this._t0, xe(this, this._t0));
|
|
610
|
-
break;
|
|
575
|
+
case 3: x(this, this._t0, xe(this, this._t0));
|
|
611
576
|
}
|
|
612
577
|
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
|
|
613
578
|
},
|
|
614
579
|
point: function(e, t) {
|
|
615
580
|
var n = NaN;
|
|
616
|
-
if (e = +e, t = +t,
|
|
581
|
+
if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {
|
|
617
582
|
switch (this._point) {
|
|
618
583
|
case 0:
|
|
619
584
|
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
@@ -624,9 +589,7 @@ S.prototype = {
|
|
|
624
589
|
case 2:
|
|
625
590
|
this._point = 3, x(this, xe(this, n = be(this, e, t)), n);
|
|
626
591
|
break;
|
|
627
|
-
default:
|
|
628
|
-
x(this, this._t0, n = be(this, e, t));
|
|
629
|
-
break;
|
|
592
|
+
default: x(this, this._t0, n = be(this, e, t));
|
|
630
593
|
}
|
|
631
594
|
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
|
|
632
595
|
}
|
|
@@ -678,8 +641,10 @@ Ee.prototype = {
|
|
|
678
641
|
},
|
|
679
642
|
lineEnd: function() {
|
|
680
643
|
var e = this._x, t = this._y, n = e.length;
|
|
681
|
-
if (n)
|
|
682
|
-
|
|
644
|
+
if (n) {
|
|
645
|
+
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
|
|
646
|
+
else for (var r = De(e), i = De(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
|
|
647
|
+
}
|
|
683
648
|
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
|
|
684
649
|
},
|
|
685
650
|
point: function(e, t) {
|
|
@@ -721,13 +686,11 @@ C.prototype = {
|
|
|
721
686
|
this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
|
|
722
687
|
break;
|
|
723
688
|
case 1: this._point = 2;
|
|
724
|
-
default:
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
}
|
|
730
|
-
break;
|
|
689
|
+
default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
|
|
690
|
+
else {
|
|
691
|
+
var n = this._x * (1 - this._t) + e * this._t;
|
|
692
|
+
this._context.lineTo(n, this._y), this._context.lineTo(n, t);
|
|
693
|
+
}
|
|
731
694
|
}
|
|
732
695
|
this._x = e, this._y = t;
|
|
733
696
|
}
|
|
@@ -994,10 +957,15 @@ function it(e) {
|
|
|
994
957
|
let t;
|
|
995
958
|
return t = e instanceof AggregateError ? new n(e.errors, e.message, { cause: e.cause }) : new n(e.message, { cause: e.cause }), t.stack = e.stack, Object.assign(t, e), t;
|
|
996
959
|
}
|
|
997
|
-
|
|
960
|
+
if (typeof File < "u" && e instanceof File) return new n([e], e.name, {
|
|
998
961
|
type: e.type,
|
|
999
962
|
lastModified: e.lastModified
|
|
1000
|
-
})
|
|
963
|
+
});
|
|
964
|
+
if (typeof e == "object") {
|
|
965
|
+
let n = Object.create(t);
|
|
966
|
+
return Object.assign(n, e);
|
|
967
|
+
}
|
|
968
|
+
return e;
|
|
1001
969
|
}
|
|
1002
970
|
//#endregion
|
|
1003
971
|
//#region node_modules/es-toolkit/dist/compat/object/mergeWith.mjs
|
|
@@ -1021,18 +989,20 @@ function H(e, t, n, r) {
|
|
|
1021
989
|
let o = i[a];
|
|
1022
990
|
if (Me(o)) continue;
|
|
1023
991
|
let s = t[o], c = e[o];
|
|
1024
|
-
if (L(s) && (s = { ...s }), L(c) && (c = { ...c }), N(s) && (s = tt(s)), Array.isArray(s))
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
let
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
992
|
+
if (L(s) && (s = { ...s }), L(c) && (c = { ...c }), N(s) && (s = tt(s)), Array.isArray(s)) {
|
|
993
|
+
if (Array.isArray(c)) {
|
|
994
|
+
let e = [], t = Reflect.ownKeys(c);
|
|
995
|
+
for (let n = 0; n < t.length; n++) {
|
|
996
|
+
let r = t[n];
|
|
997
|
+
e[r] = c[r];
|
|
998
|
+
}
|
|
999
|
+
c = e;
|
|
1000
|
+
} else if (nt(c)) {
|
|
1001
|
+
let e = [];
|
|
1002
|
+
for (let t = 0; t < c.length; t++) e[t] = c[t];
|
|
1003
|
+
c = e;
|
|
1004
|
+
} else c = [];
|
|
1005
|
+
}
|
|
1036
1006
|
let l = n(c, s, o, e, t, r);
|
|
1037
1007
|
l === void 0 ? Array.isArray(s) || R(c) && R(s) && (V(c) || V(s) || B(c) || B(s)) ? e[o] = H(c, s, n, r) : c == null && V(s) ? e[o] = H({}, s, n, r) : c == null && B(s) ? e[o] = tt(s) : (c === void 0 || s !== void 0) && (e[o] = s) : e[o] = l;
|
|
1038
1008
|
}
|
|
@@ -1044,7 +1014,7 @@ function ot(e, ...t) {
|
|
|
1044
1014
|
return at(e, ...t, rt);
|
|
1045
1015
|
}
|
|
1046
1016
|
//#endregion
|
|
1047
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
1017
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-75Z2AOVW.mjs
|
|
1048
1018
|
var st = c(), ct = {
|
|
1049
1019
|
curveBasis: te,
|
|
1050
1020
|
curveBasisClosed: re,
|
|
@@ -1066,22 +1036,22 @@ var st = c(), ct = {
|
|
|
1066
1036
|
curveStep: w,
|
|
1067
1037
|
curveStepAfter: ke,
|
|
1068
1038
|
curveStepBefore: T
|
|
1069
|
-
}, lt = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ut = /* @__PURE__ */
|
|
1070
|
-
let
|
|
1071
|
-
if (Array.isArray(
|
|
1072
|
-
let e =
|
|
1073
|
-
|
|
1074
|
-
} else
|
|
1075
|
-
if (!
|
|
1076
|
-
let s =
|
|
1077
|
-
return
|
|
1078
|
-
}, "detectInit"), dt = /* @__PURE__ */
|
|
1039
|
+
}, lt = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ut = /* @__PURE__ */ s(function(e, t) {
|
|
1040
|
+
let r = dt(e, /(?:init\b)|(?:initialize\b)/), o = {};
|
|
1041
|
+
if (Array.isArray(r)) {
|
|
1042
|
+
let e = r.map((e) => e.args);
|
|
1043
|
+
n(e), o = a(o, [...e]);
|
|
1044
|
+
} else o = r.args;
|
|
1045
|
+
if (!o) return;
|
|
1046
|
+
let s = i(e, t), c = "config";
|
|
1047
|
+
return o[c] !== void 0 && (s === "flowchart-v2" && (s = "flowchart"), o[s] = o[c], delete o[c]), o;
|
|
1048
|
+
}, "detectInit"), dt = /* @__PURE__ */ s(function(t, n = null) {
|
|
1079
1049
|
try {
|
|
1080
|
-
let
|
|
1050
|
+
let i = RegExp(`[%]{2}(?![{]${lt.source})(?=[}][%]{2}).*
|
|
1081
1051
|
`, "ig");
|
|
1082
|
-
t = t.trim().replace(
|
|
1052
|
+
t = t.trim().replace(i, "").replace(/'/gm, "\""), e.debug(`Detecting diagram directive${n === null ? "" : " type:" + n} based on the text:${t}`);
|
|
1083
1053
|
let a, o = [];
|
|
1084
|
-
for (; (a =
|
|
1054
|
+
for (; (a = r.exec(t)) !== null;) if (a.index === r.lastIndex && r.lastIndex++, a && !n || n && a[1]?.match(n) || n && a[2]?.match(n)) {
|
|
1085
1055
|
let e = a[1] ? a[1] : a[2], t = a[3] ? a[3].trim() : a[4] ? JSON.parse(a[4].trim()) : null;
|
|
1086
1056
|
o.push({
|
|
1087
1057
|
type: e,
|
|
@@ -1098,22 +1068,22 @@ var st = c(), ct = {
|
|
|
1098
1068
|
args: null
|
|
1099
1069
|
};
|
|
1100
1070
|
}
|
|
1101
|
-
}, "detectDirective"), ft = /* @__PURE__ */
|
|
1102
|
-
return e.replace(
|
|
1103
|
-
}, "removeDirectives"), pt = /* @__PURE__ */
|
|
1071
|
+
}, "detectDirective"), ft = /* @__PURE__ */ s(function(e) {
|
|
1072
|
+
return e.replace(r, "");
|
|
1073
|
+
}, "removeDirectives"), pt = /* @__PURE__ */ s(function(e, t) {
|
|
1104
1074
|
for (let [n, r] of t.entries()) if (r.match(e)) return n;
|
|
1105
1075
|
return -1;
|
|
1106
1076
|
}, "isSubstringInArray");
|
|
1107
1077
|
function U(e, t) {
|
|
1108
1078
|
return e ? ct[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`] ?? t : t;
|
|
1109
1079
|
}
|
|
1110
|
-
|
|
1080
|
+
s(U, "interpolateToCurve");
|
|
1111
1081
|
function mt(e, t) {
|
|
1112
1082
|
let n = e.trim();
|
|
1113
1083
|
if (n) return t.securityLevel === "loose" ? n : (0, st.sanitizeUrl)(n);
|
|
1114
1084
|
}
|
|
1115
|
-
|
|
1116
|
-
var ht = /* @__PURE__ */
|
|
1085
|
+
s(mt, "formatUrl");
|
|
1086
|
+
var ht = /* @__PURE__ */ s((t, ...n) => {
|
|
1117
1087
|
let r = t.split("."), i = r.length - 1, a = r[i], o = window;
|
|
1118
1088
|
for (let n = 0; n < i; n++) if (o = o[r[n]], !o) {
|
|
1119
1089
|
e.error(`Function name: ${t} not found in window`);
|
|
@@ -1124,22 +1094,22 @@ var ht = /* @__PURE__ */ t((t, ...n) => {
|
|
|
1124
1094
|
function W(e, t) {
|
|
1125
1095
|
return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
|
|
1126
1096
|
}
|
|
1127
|
-
|
|
1097
|
+
s(W, "distance");
|
|
1128
1098
|
function gt(e) {
|
|
1129
1099
|
let t, n = 0;
|
|
1130
1100
|
return e.forEach((e) => {
|
|
1131
1101
|
n += W(e, t), t = e;
|
|
1132
1102
|
}), G(e, n / 2);
|
|
1133
1103
|
}
|
|
1134
|
-
|
|
1104
|
+
s(gt, "traverseEdge");
|
|
1135
1105
|
function _t(e) {
|
|
1136
1106
|
return e.length === 1 ? e[0] : gt(e);
|
|
1137
1107
|
}
|
|
1138
|
-
|
|
1139
|
-
var vt = /* @__PURE__ */
|
|
1108
|
+
s(_t, "calcLabelPosition");
|
|
1109
|
+
var vt = /* @__PURE__ */ s((e, t = 2) => {
|
|
1140
1110
|
let n = 10 ** t;
|
|
1141
1111
|
return Math.round(e * n) / n;
|
|
1142
|
-
}, "roundNumber"), G = /* @__PURE__ */
|
|
1112
|
+
}, "roundNumber"), G = /* @__PURE__ */ s((e, t) => {
|
|
1143
1113
|
let n, r = t;
|
|
1144
1114
|
for (let t of e) {
|
|
1145
1115
|
if (n) {
|
|
@@ -1162,7 +1132,7 @@ var vt = /* @__PURE__ */ t((e, t = 2) => {
|
|
|
1162
1132
|
n = t;
|
|
1163
1133
|
}
|
|
1164
1134
|
throw Error("Could not find a suitable point for the given distance");
|
|
1165
|
-
}, "calculatePoint"), yt = /* @__PURE__ */
|
|
1135
|
+
}, "calculatePoint"), yt = /* @__PURE__ */ s((t, n, r) => {
|
|
1166
1136
|
e.info(`our points ${JSON.stringify(n)}`), n[0] !== r && (n = n.reverse());
|
|
1167
1137
|
let i = G(n, 25), a = t ? 10 : 5, o = Math.atan2(n[0].y - i.y, n[0].x - i.x), s = {
|
|
1168
1138
|
x: 0,
|
|
@@ -1179,7 +1149,7 @@ function bt(t, n, r) {
|
|
|
1179
1149
|
};
|
|
1180
1150
|
return n === "start_left" ? (c.x = Math.sin(s + Math.PI) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s + Math.PI) * o + (i[0].y + a.y) / 2) : n === "end_right" ? (c.x = Math.sin(s - Math.PI) * o + (i[0].x + a.x) / 2 - 5, c.y = -Math.cos(s - Math.PI) * o + (i[0].y + a.y) / 2 - 5) : n === "end_left" ? (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2 - 5, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2 - 5) : (c.x = Math.sin(s) * o + (i[0].x + a.x) / 2, c.y = -Math.cos(s) * o + (i[0].y + a.y) / 2), c;
|
|
1181
1151
|
}
|
|
1182
|
-
|
|
1152
|
+
s(bt, "calcTerminalLabelPosition");
|
|
1183
1153
|
function K(e) {
|
|
1184
1154
|
let t = "", n = "";
|
|
1185
1155
|
for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
|
|
@@ -1188,15 +1158,15 @@ function K(e) {
|
|
|
1188
1158
|
labelStyle: n
|
|
1189
1159
|
};
|
|
1190
1160
|
}
|
|
1191
|
-
|
|
1192
|
-
var xt = 0, St = /* @__PURE__ */
|
|
1161
|
+
s(K, "getStylesFromArray");
|
|
1162
|
+
var xt = 0, St = /* @__PURE__ */ s(() => (xt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + xt), "generateId");
|
|
1193
1163
|
function Ct(e) {
|
|
1194
1164
|
let t = "";
|
|
1195
1165
|
for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
|
|
1196
1166
|
return t;
|
|
1197
1167
|
}
|
|
1198
|
-
|
|
1199
|
-
var wt = /* @__PURE__ */
|
|
1168
|
+
s(Ct, "makeRandomHex");
|
|
1169
|
+
var wt = /* @__PURE__ */ s((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */ s(function() {
|
|
1200
1170
|
return {
|
|
1201
1171
|
x: 0,
|
|
1202
1172
|
y: 0,
|
|
@@ -1211,8 +1181,8 @@ var wt = /* @__PURE__ */ t((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1211
1181
|
valign: void 0,
|
|
1212
1182
|
text: ""
|
|
1213
1183
|
};
|
|
1214
|
-
}, "getTextObj"), Et = /* @__PURE__ */
|
|
1215
|
-
let n = t.text.replace(
|
|
1184
|
+
}, "getTextObj"), Et = /* @__PURE__ */ s(function(e, t) {
|
|
1185
|
+
let n = t.text.replace(o.lineBreakRegex, " "), [, r] = Z(t.fontSize), i = e.append("text");
|
|
1216
1186
|
i.attr("x", t.x), i.attr("y", t.y), i.style("text-anchor", t.anchor), i.style("font-family", t.fontFamily), i.style("font-size", r), i.style("font-weight", t.fontWeight), i.attr("fill", t.fill), t.class !== void 0 && i.attr("class", t.class);
|
|
1217
1187
|
let a = i.append("tspan");
|
|
1218
1188
|
return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(n), i;
|
|
@@ -1222,7 +1192,7 @@ var wt = /* @__PURE__ */ t((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1222
1192
|
fontWeight: 400,
|
|
1223
1193
|
fontFamily: "Arial",
|
|
1224
1194
|
joinWith: "<br/>"
|
|
1225
|
-
}, n),
|
|
1195
|
+
}, n), o.lineBreakRegex.test(e))) return e;
|
|
1226
1196
|
let r = e.split(" ").filter(Boolean), i = [], a = "";
|
|
1227
1197
|
return r.forEach((e, o) => {
|
|
1228
1198
|
let s = J(`${e} `, n), c = J(a, n);
|
|
@@ -1254,18 +1224,18 @@ var wt = /* @__PURE__ */ t((e) => Ct(e.length), "random"), Tt = /* @__PURE__ */
|
|
|
1254
1224
|
function q(e, t) {
|
|
1255
1225
|
return Y(e, t).height;
|
|
1256
1226
|
}
|
|
1257
|
-
|
|
1227
|
+
s(q, "calculateTextHeight");
|
|
1258
1228
|
function J(e, t) {
|
|
1259
1229
|
return Y(e, t).width;
|
|
1260
1230
|
}
|
|
1261
|
-
|
|
1262
|
-
var Y = z((e,
|
|
1263
|
-
let { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } =
|
|
1231
|
+
s(J, "calculateTextWidth");
|
|
1232
|
+
var Y = z((e, n) => {
|
|
1233
|
+
let { fontSize: r = 12, fontFamily: i = "Arial", fontWeight: a = 400 } = n;
|
|
1264
1234
|
if (!e) return {
|
|
1265
1235
|
width: 0,
|
|
1266
1236
|
height: 0
|
|
1267
1237
|
};
|
|
1268
|
-
let [,
|
|
1238
|
+
let [, s] = Z(r), c = ["sans-serif", i], l = e.split(o.lineBreakRegex), u = [], d = t("body");
|
|
1269
1239
|
if (!d.remove) return {
|
|
1270
1240
|
width: 0,
|
|
1271
1241
|
height: 0,
|
|
@@ -1281,7 +1251,7 @@ var Y = z((e, t) => {
|
|
|
1281
1251
|
for (let r of l) {
|
|
1282
1252
|
let i = Tt();
|
|
1283
1253
|
i.text = r || "";
|
|
1284
|
-
let
|
|
1254
|
+
let o = Et(f, i).style("font-size", s).style("font-weight", a).style("font-family", e), c = (o._groups || o)[0][0].getBBox();
|
|
1285
1255
|
if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
|
|
1286
1256
|
n.width = Math.round(Math.max(n.width, c.width)), t = Math.round(c.height), n.height += t, n.lineHeight = Math.round(Math.max(n.lineHeight, t));
|
|
1287
1257
|
}
|
|
@@ -1293,20 +1263,20 @@ var Y = z((e, t) => {
|
|
|
1293
1263
|
this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
|
|
1294
1264
|
}
|
|
1295
1265
|
static {
|
|
1296
|
-
|
|
1266
|
+
s(this, "InitIDGenerator");
|
|
1297
1267
|
}
|
|
1298
|
-
}, X, At = /* @__PURE__ */
|
|
1268
|
+
}, X, At = /* @__PURE__ */ s(function(e) {
|
|
1299
1269
|
return X ||= document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), X.innerHTML = e, unescape(X.textContent);
|
|
1300
1270
|
}, "entityDecode");
|
|
1301
1271
|
function jt(e) {
|
|
1302
1272
|
return "str" in e;
|
|
1303
1273
|
}
|
|
1304
|
-
|
|
1305
|
-
var Mt = /* @__PURE__ */
|
|
1274
|
+
s(jt, "isDetailedError");
|
|
1275
|
+
var Mt = /* @__PURE__ */ s((e, t, n, r) => {
|
|
1306
1276
|
if (!r) return;
|
|
1307
1277
|
let i = e.node()?.getBBox();
|
|
1308
1278
|
i && e.append("text").text(r).attr("text-anchor", "middle").attr("x", i.x + i.width / 2).attr("y", -n).attr("class", t);
|
|
1309
|
-
}, "insertTitle"), Z = /* @__PURE__ */
|
|
1279
|
+
}, "insertTitle"), Z = /* @__PURE__ */ s((e) => {
|
|
1310
1280
|
if (typeof e == "number") return [e, e + "px"];
|
|
1311
1281
|
let t = parseInt(e ?? "", 10);
|
|
1312
1282
|
return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
|
|
@@ -1314,9 +1284,9 @@ var Mt = /* @__PURE__ */ t((e, t, n, r) => {
|
|
|
1314
1284
|
function Q(e, t) {
|
|
1315
1285
|
return ot({}, e, t);
|
|
1316
1286
|
}
|
|
1317
|
-
|
|
1287
|
+
s(Q, "cleanAndMerge");
|
|
1318
1288
|
var Nt = {
|
|
1319
|
-
assignWithDepth:
|
|
1289
|
+
assignWithDepth: a,
|
|
1320
1290
|
wrapLabel: Dt,
|
|
1321
1291
|
calculateTextHeight: q,
|
|
1322
1292
|
calculateTextWidth: J,
|
|
@@ -1339,7 +1309,7 @@ var Nt = {
|
|
|
1339
1309
|
isLabelCoordinateInPath: $,
|
|
1340
1310
|
parseFontSize: Z,
|
|
1341
1311
|
InitIDGenerator: kt
|
|
1342
|
-
}, Pt = /* @__PURE__ */
|
|
1312
|
+
}, Pt = /* @__PURE__ */ s(function(e) {
|
|
1343
1313
|
let t = e;
|
|
1344
1314
|
return t = t.replace(/style.*:\S*#.*;/g, function(e) {
|
|
1345
1315
|
return e.substring(0, e.length - 1);
|
|
@@ -1349,17 +1319,17 @@ var Nt = {
|
|
|
1349
1319
|
let t = e.substring(1, e.length - 1);
|
|
1350
1320
|
return /^\+?\d+$/.test(t) ? "fl°°" + t + "¶ß" : "fl°" + t + "¶ß";
|
|
1351
1321
|
}), t;
|
|
1352
|
-
}, "encodeEntities"), Ft = /* @__PURE__ */
|
|
1322
|
+
}, "encodeEntities"), Ft = /* @__PURE__ */ s(function(e) {
|
|
1353
1323
|
return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
1354
|
-
}, "decodeEntities"), It = /* @__PURE__ */
|
|
1324
|
+
}, "decodeEntities"), It = /* @__PURE__ */ s((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
|
|
1355
1325
|
function Lt(e) {
|
|
1356
1326
|
return e ?? null;
|
|
1357
1327
|
}
|
|
1358
|
-
|
|
1328
|
+
s(Lt, "handleUndefinedAttr");
|
|
1359
1329
|
function $(e, t) {
|
|
1360
1330
|
let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
|
|
1361
1331
|
return i.includes(n.toString()) || i.includes(r.toString());
|
|
1362
1332
|
}
|
|
1363
|
-
|
|
1333
|
+
s($, "isLabelCoordinateInPath");
|
|
1364
1334
|
//#endregion
|
|
1365
1335
|
export { ce as $, Je as A, Ke as B, ze as C, Ye as D, Ie as E, Pe as F, je as G, We as H, Re as I, w as J, ke as K, O as L, Le as M, k as N, Xe as O, Ve as P, fe as Q, Fe as R, Be as S, He as T, D as U, Ue as V, E as W, we as X, Oe as Y, Te as Z, Dt as _, Ft as a, N as b, It as c, U as d, te as et, jt as f, Nt as g, ft as h, Q as i, qe as j, M as k, K as l, wt as m, q as n, ee as nt, Pt as o, Z as p, T as q, J as r, u as rt, St as s, Y as t, f as tt, Lt as u, B as v, A as w, j as x, L as y, Ge as z };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { p as e } from "./src-DQoflmwT.js";
|
|
2
|
+
import { x as t } from "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
+
import { n } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-CLGD4ZFX.mjs
|
|
5
|
+
var r = /* @__PURE__ */ n((n) => {
|
|
6
|
+
let { securityLevel: r } = t(), i = e("body");
|
|
7
|
+
if (r === "sandbox") {
|
|
8
|
+
let t = e(`#i${n}`).node()?.contentDocument ?? document;
|
|
9
|
+
i = e(t.body);
|
|
10
|
+
}
|
|
11
|
+
return i.select(`#${n}`);
|
|
12
|
+
}, "selectSvgElement");
|
|
13
|
+
//#endregion
|
|
14
|
+
export { r as t };
|