@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-JWPE2WC7.mjs
|
|
3
3
|
function t(e, t) {
|
|
4
4
|
e.accDescr && t.setAccDescription?.(e.accDescr), e.accTitle && t.setAccTitle?.(e.accTitle), e.title && t.setDiagramTitle?.(e.title);
|
|
5
5
|
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
+
import { T as n, g as r, x as i } from "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
+
import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import { a as o, i as s } from "./chunk-P2QGCYS3-BUeNZ170.js";
|
|
5
|
+
import { n as c } from "./chunk-GMAD6QVW-D80II4AD.js";
|
|
6
|
+
import { t as l } from "./rough.esm-DXYGHN3m.js";
|
|
7
|
+
import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-CZgIgrp_.js";
|
|
8
|
+
import { n as p } from "./chunk-GVQU2GXP-DP3t_9Rl.js";
|
|
9
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-L3NEJ4N5.mjs
|
|
10
|
+
var m = /* @__PURE__ */ a(async (n, a) => {
|
|
11
|
+
let u = i(), { themeVariables: f, handDrawnSeed: p } = u, { clusterBkg: m, clusterBorder: h } = f, g = h, { labelStyles: _, nodeStyles: v, borderStyles: y, backgroundStyles: b } = s(a), x = n.insert("g").attr("class", "cluster swimlane " + (a.cssClasses || "")).attr("id", a.id).attr("data-id", a.id).attr("data-et", "cluster").attr("data-look", a.look), S = r(u.flowchart.htmlLabels), C = a.direction === "LR", w = x.insert("g").attr("class", "cluster-label swimlane-label"), T = await c(w, a.label, {
|
|
12
|
+
style: a.labelStyle,
|
|
13
|
+
useHtmlLabels: S,
|
|
14
|
+
isNode: !0,
|
|
15
|
+
width: a.width
|
|
16
|
+
}), E = T.getBBox();
|
|
17
|
+
if (S) {
|
|
18
|
+
let e = T.children[0], n = t(T);
|
|
19
|
+
E = e.getBoundingClientRect(), n.attr("width", E.width), n.attr("height", E.height);
|
|
20
|
+
}
|
|
21
|
+
let D = a.padding ?? 0, O = a.width <= E.width + D ? E.width + D : a.width;
|
|
22
|
+
a.diff = a.width <= E.width + D ? (O - a.width) / 2 - D : -D;
|
|
23
|
+
let k = a.height, A = a.y - k / 2, j = a.y + k / 2, M = a.x - O / 2, N = a.swimlaneContentTop === void 0 ? A + k / 3 : a.swimlaneContentTop, P = C ? 4 : 0, F = E.height + 2 * P, I, L;
|
|
24
|
+
if (C) {
|
|
25
|
+
let e = Math.max(F, E.height + 2 * P), t = M + e, n = Math.max(0, O - e);
|
|
26
|
+
if (a.look === "handDrawn") {
|
|
27
|
+
let r = l.svg(x), i = o(a, {
|
|
28
|
+
roughness: .7,
|
|
29
|
+
fill: m,
|
|
30
|
+
stroke: g,
|
|
31
|
+
fillWeight: 3,
|
|
32
|
+
seed: p
|
|
33
|
+
}), s = o(a, {
|
|
34
|
+
roughness: .7,
|
|
35
|
+
fill: "none",
|
|
36
|
+
stroke: g,
|
|
37
|
+
seed: p
|
|
38
|
+
}), c = r.rectangle(M, A, e, k, i);
|
|
39
|
+
I = x.insert(() => c, ":first-child");
|
|
40
|
+
let u = r.rectangle(t, A, n, k, s);
|
|
41
|
+
L = x.insert(() => u, ":first-child"), I.select("path:nth-child(2)").attr("style", y.join(";")), I.select("path").attr("style", b.join(";").replace("fill", "stroke"));
|
|
42
|
+
} else I = x.insert("rect", ":first-child"), L = x.insert("rect", ":first-child"), I.attr("class", "swimlane-title").attr("style", v).attr("x", M).attr("y", A).attr("width", e).attr("height", k).attr("fill", m).attr("stroke", g), L.attr("class", "swimlane-body").attr("style", v).attr("x", t).attr("y", A).attr("width", n).attr("height", k).attr("fill", "none").attr("stroke", g);
|
|
43
|
+
let r = M + e / 2, i = a.y;
|
|
44
|
+
w.attr("transform", `translate(${r}, ${i}) rotate(-90) translate(${-E.width / 2}, ${-E.height / 2})`);
|
|
45
|
+
} else {
|
|
46
|
+
let e = Math.max(0, N - A), t = Math.min(F, e), n = A + t, r = Math.max(0, j - n), i = a.x - O / 2;
|
|
47
|
+
if (a.look === "handDrawn") {
|
|
48
|
+
let e = l.svg(x), s = o(a, {
|
|
49
|
+
roughness: .7,
|
|
50
|
+
fill: m,
|
|
51
|
+
stroke: g,
|
|
52
|
+
fillWeight: 3,
|
|
53
|
+
seed: p
|
|
54
|
+
}), c = o(a, {
|
|
55
|
+
roughness: .7,
|
|
56
|
+
fill: "none",
|
|
57
|
+
stroke: g,
|
|
58
|
+
seed: p
|
|
59
|
+
}), u = e.rectangle(i, A, O, t, s);
|
|
60
|
+
I = x.insert(() => u, ":first-child");
|
|
61
|
+
let d = e.rectangle(i, n, O, r, c);
|
|
62
|
+
L = x.insert(() => d, ":first-child"), I.select("path:nth-child(2)").attr("style", y.join(";")), I.select("path").attr("style", b.join(";").replace("fill", "stroke"));
|
|
63
|
+
} else I = x.insert("rect", ":first-child"), L = x.insert("rect", ":first-child"), I.attr("class", "swimlane-title").attr("style", v).attr("x", i).attr("y", A).attr("width", O).attr("height", t).attr("fill", m).attr("stroke", g), L.attr("class", "swimlane-body").attr("style", v).attr("x", i).attr("y", n).attr("width", O).attr("height", r).attr("fill", "none").attr("stroke", g);
|
|
64
|
+
let s = a.x - E.width / 2, c = A + (t - E.height) / 2;
|
|
65
|
+
w.attr("transform", `translate(${s}, ${c})`);
|
|
66
|
+
}
|
|
67
|
+
if (e.trace("Swimlane data ", a, JSON.stringify(a)), _) {
|
|
68
|
+
let e = w.select("span");
|
|
69
|
+
e && e.attr("style", _);
|
|
70
|
+
}
|
|
71
|
+
return a.offsetX = 0, a.width = O, a.height = k, a.offsetY = E.height - D / 2, a.intersect = function(e) {
|
|
72
|
+
return d(a, e);
|
|
73
|
+
}, {
|
|
74
|
+
cluster: x,
|
|
75
|
+
labelBBox: E
|
|
76
|
+
};
|
|
77
|
+
}, "swimlane"), h = /* @__PURE__ */ a(async (r, a) => {
|
|
78
|
+
e.info("Creating subgraph rect for ", a.id, a);
|
|
79
|
+
let m = i(), { themeVariables: h, handDrawnSeed: g } = m, { clusterBkg: _, clusterBorder: v } = h, { labelStyles: y, nodeStyles: b, borderStyles: x, backgroundStyles: S } = s(a), C = r.insert("g").attr("class", "cluster " + a.cssClasses).attr("id", a.domId).attr("data-look", a.look), w = n(m), T = C.insert("g").attr("class", "cluster-label "), E;
|
|
80
|
+
E = a.labelType === "markdown" ? await c(T, a.label, {
|
|
81
|
+
style: a.labelStyle,
|
|
82
|
+
useHtmlLabels: w,
|
|
83
|
+
isNode: !0,
|
|
84
|
+
width: a.width
|
|
85
|
+
}) : await f(T, a.label, a.labelStyle || "", !1, !0);
|
|
86
|
+
let D = E.getBBox();
|
|
87
|
+
if (n(m)) {
|
|
88
|
+
let e = E.children[0], n = t(E);
|
|
89
|
+
D = e.getBoundingClientRect(), n.attr("width", D.width), n.attr("height", D.height);
|
|
90
|
+
}
|
|
91
|
+
let O = a.width <= D.width + a.padding ? D.width + a.padding : a.width;
|
|
92
|
+
a.diff = a.width <= D.width + a.padding ? (O - a.width) / 2 - a.padding : -a.padding;
|
|
93
|
+
let k = a.height, A = a.x - O / 2, j = a.y - k / 2;
|
|
94
|
+
e.trace("Data ", a, JSON.stringify(a));
|
|
95
|
+
let M;
|
|
96
|
+
if (a.look === "handDrawn") {
|
|
97
|
+
let t = l.svg(C), n = o(a, {
|
|
98
|
+
roughness: .7,
|
|
99
|
+
fill: _,
|
|
100
|
+
stroke: v,
|
|
101
|
+
fillWeight: 3,
|
|
102
|
+
seed: g
|
|
103
|
+
}), r = t.path(u(A, j, O, k, 0), n);
|
|
104
|
+
M = C.insert(() => (e.debug("Rough node insert CXC", r), r), ":first-child"), M.select("path:nth-child(2)").attr("style", x.join(";")), M.select("path").attr("style", S.join(";").replace("fill", "stroke"));
|
|
105
|
+
} else M = C.insert("rect", ":first-child"), M.attr("style", b).attr("rx", a.rx).attr("ry", a.ry).attr("x", A).attr("y", j).attr("width", O).attr("height", k);
|
|
106
|
+
let { subGraphTitleTopMargin: N } = p(m);
|
|
107
|
+
if (T.attr("transform", `translate(${a.x - D.width / 2}, ${a.y - a.height / 2 + N})`), y) {
|
|
108
|
+
let e = T.select("span");
|
|
109
|
+
e && e.attr("style", y);
|
|
110
|
+
}
|
|
111
|
+
let P = M.node().getBBox();
|
|
112
|
+
return a.offsetX = 0, a.width = P.width, a.height = P.height, a.offsetY = D.height - a.padding / 2, a.intersect = function(e) {
|
|
113
|
+
return d(a, e);
|
|
114
|
+
}, {
|
|
115
|
+
cluster: C,
|
|
116
|
+
labelBBox: D
|
|
117
|
+
};
|
|
118
|
+
}, "rect"), g = {
|
|
119
|
+
rect: h,
|
|
120
|
+
squareRect: h,
|
|
121
|
+
roundedWithTitle: /* @__PURE__ */ a(async (e, r) => {
|
|
122
|
+
let a = i(), { themeVariables: o, handDrawnSeed: s } = a, { altBackground: c, compositeBackground: p, compositeTitleBackground: m, nodeBorder: h } = o, g = e.insert("g").attr("class", r.cssClasses).attr("id", r.domId).attr("data-id", r.id).attr("data-look", r.look), _ = g.insert("g", ":first-child"), v = g.insert("g").attr("class", "cluster-label"), y = g.append("rect"), b = await f(v, r.label, r.labelStyle, void 0, !0), x = b.getBBox();
|
|
123
|
+
if (n(a)) {
|
|
124
|
+
let e = b.children[0], n = t(b);
|
|
125
|
+
x = e.getBoundingClientRect(), n.attr("width", x.width), n.attr("height", x.height);
|
|
126
|
+
}
|
|
127
|
+
let S = 0 * r.padding, C = S / 2, w = (r.width <= x.width + r.padding ? x.width + r.padding : r.width) + S;
|
|
128
|
+
r.diff = r.width <= x.width + r.padding ? (w - r.width) / 2 - r.padding : -r.padding;
|
|
129
|
+
let T = r.height + S, E = r.height + S - x.height - 6, D = r.x - w / 2, O = r.y - T / 2;
|
|
130
|
+
r.width = w;
|
|
131
|
+
let k = r.y - r.height / 2 - C + x.height + 2, A;
|
|
132
|
+
if (r.look === "handDrawn") {
|
|
133
|
+
let e = r.cssClasses.includes("statediagram-cluster-alt"), t = l.svg(g), n = r.rx || r.ry ? t.path(u(D, O, w, T, 10), {
|
|
134
|
+
roughness: .7,
|
|
135
|
+
fill: m,
|
|
136
|
+
fillStyle: "solid",
|
|
137
|
+
stroke: h,
|
|
138
|
+
seed: s
|
|
139
|
+
}) : t.rectangle(D, O, w, T, { seed: s });
|
|
140
|
+
A = g.insert(() => n, ":first-child");
|
|
141
|
+
let i = t.rectangle(D, k, w, E, {
|
|
142
|
+
fill: e ? c : p,
|
|
143
|
+
fillStyle: e ? "hachure" : "solid",
|
|
144
|
+
stroke: h,
|
|
145
|
+
seed: s
|
|
146
|
+
});
|
|
147
|
+
A = g.insert(() => n, ":first-child"), y = g.insert(() => i);
|
|
148
|
+
} else A = _.insert("rect", ":first-child"), A.attr("class", "outer").attr("x", D).attr("y", O).attr("width", w).attr("height", T).attr("data-look", r.look), y.attr("class", "inner").attr("x", D).attr("y", k).attr("width", w).attr("height", E);
|
|
149
|
+
return v.attr("transform", `translate(${r.x - x.width / 2}, ${O + 1 - (n(a) ? 0 : 3)})`), r.height = A.node().getBBox().height, r.offsetX = 0, r.offsetY = x.height - r.padding / 2, r.labelBBox = x, r.intersect = function(e) {
|
|
150
|
+
return d(r, e);
|
|
151
|
+
}, {
|
|
152
|
+
cluster: g,
|
|
153
|
+
labelBBox: x
|
|
154
|
+
};
|
|
155
|
+
}, "roundedWithTitle"),
|
|
156
|
+
noteGroup: /* @__PURE__ */ a((e, t) => {
|
|
157
|
+
let n = e.insert("g").attr("class", "note-cluster").attr("id", t.domId), r = n.insert("rect", ":first-child"), i = 0 * t.padding, a = i / 2;
|
|
158
|
+
r.attr("rx", t.rx).attr("ry", t.ry).attr("x", t.x - t.width / 2 - a).attr("y", t.y - t.height / 2 - a).attr("width", t.width + i).attr("height", t.height + i).attr("fill", "none");
|
|
159
|
+
let o = r.node().getBBox();
|
|
160
|
+
return t.width = o.width, t.height = o.height, t.intersect = function(e) {
|
|
161
|
+
return d(t, e);
|
|
162
|
+
}, {
|
|
163
|
+
cluster: n,
|
|
164
|
+
labelBBox: {
|
|
165
|
+
width: 0,
|
|
166
|
+
height: 0
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
}, "noteGroup"),
|
|
170
|
+
divider: /* @__PURE__ */ a((e, t) => {
|
|
171
|
+
let { themeVariables: n, handDrawnSeed: r } = i(), { nodeBorder: a } = n, o = e.insert("g").attr("class", t.cssClasses).attr("id", t.domId).attr("data-look", t.look), s = o.insert("g", ":first-child"), c = 0 * t.padding, u = t.width + c;
|
|
172
|
+
t.diff = -t.padding;
|
|
173
|
+
let f = t.height + c, p = t.x - u / 2, m = t.y - f / 2;
|
|
174
|
+
t.width = u;
|
|
175
|
+
let h;
|
|
176
|
+
if (t.look === "handDrawn") {
|
|
177
|
+
let e = l.svg(o).rectangle(p, m, u, f, {
|
|
178
|
+
fill: "lightgrey",
|
|
179
|
+
roughness: .5,
|
|
180
|
+
strokeLineDash: [5],
|
|
181
|
+
stroke: a,
|
|
182
|
+
seed: r
|
|
183
|
+
});
|
|
184
|
+
h = o.insert(() => e, ":first-child");
|
|
185
|
+
} else {
|
|
186
|
+
h = s.insert("rect", ":first-child");
|
|
187
|
+
let e = "outer";
|
|
188
|
+
e = (t.look, "divider"), h.attr("class", e).attr("x", p).attr("y", m).attr("width", u).attr("height", f).attr("data-look", t.look);
|
|
189
|
+
}
|
|
190
|
+
return t.height = h.node().getBBox().height, t.offsetX = 0, t.offsetY = 0, t.intersect = function(e) {
|
|
191
|
+
return d(t, e);
|
|
192
|
+
}, {
|
|
193
|
+
cluster: o,
|
|
194
|
+
labelBBox: {}
|
|
195
|
+
};
|
|
196
|
+
}, "divider"),
|
|
197
|
+
kanbanSection: /* @__PURE__ */ a(async (r, a) => {
|
|
198
|
+
e.info("Creating subgraph rect for ", a.id, a);
|
|
199
|
+
let f = i(), { themeVariables: m, handDrawnSeed: h } = f, { clusterBkg: g, clusterBorder: _ } = m, { labelStyles: v, nodeStyles: y, borderStyles: b, backgroundStyles: x } = s(a), S = r.insert("g").attr("class", "cluster " + a.cssClasses).attr("id", a.domId).attr("data-look", a.look), C = n(f), w = S.insert("g").attr("class", "cluster-label "), T = await c(w, a.label, {
|
|
200
|
+
style: a.labelStyle,
|
|
201
|
+
useHtmlLabels: C,
|
|
202
|
+
isNode: !0,
|
|
203
|
+
width: a.width
|
|
204
|
+
}), E = T.getBBox();
|
|
205
|
+
if (n(f)) {
|
|
206
|
+
let e = T.children[0], n = t(T);
|
|
207
|
+
E = e.getBoundingClientRect(), n.attr("width", E.width), n.attr("height", E.height);
|
|
208
|
+
}
|
|
209
|
+
let D = a.width <= E.width + a.padding ? E.width + a.padding : a.width;
|
|
210
|
+
a.diff = a.width <= E.width + a.padding ? (D - a.width) / 2 - a.padding : -a.padding;
|
|
211
|
+
let O = a.height, k = a.x - D / 2, A = a.y - O / 2;
|
|
212
|
+
e.trace("Data ", a, JSON.stringify(a));
|
|
213
|
+
let j;
|
|
214
|
+
if (a.look === "handDrawn") {
|
|
215
|
+
let t = l.svg(S), n = o(a, {
|
|
216
|
+
roughness: .7,
|
|
217
|
+
fill: g,
|
|
218
|
+
stroke: _,
|
|
219
|
+
fillWeight: 4,
|
|
220
|
+
seed: h
|
|
221
|
+
}), r = t.path(u(k, A, D, O, a.rx), n);
|
|
222
|
+
j = S.insert(() => (e.debug("Rough node insert CXC", r), r), ":first-child"), j.select("path:nth-child(2)").attr("style", b.join(";")), j.select("path").attr("style", x.join(";").replace("fill", "stroke"));
|
|
223
|
+
} else j = S.insert("rect", ":first-child"), j.attr("style", y).attr("rx", a.rx).attr("ry", a.ry).attr("x", k).attr("y", A).attr("width", D).attr("height", O);
|
|
224
|
+
let { subGraphTitleTopMargin: M } = p(f);
|
|
225
|
+
if (w.attr("transform", `translate(${a.x - E.width / 2}, ${a.y - a.height / 2 + M})`), v) {
|
|
226
|
+
let e = w.select("span");
|
|
227
|
+
e && e.attr("style", v);
|
|
228
|
+
}
|
|
229
|
+
let N = j.node().getBBox();
|
|
230
|
+
return a.offsetX = 0, a.width = N.width, a.height = N.height, a.offsetY = E.height - a.padding / 2, a.intersect = function(e) {
|
|
231
|
+
return d(a, e);
|
|
232
|
+
}, {
|
|
233
|
+
cluster: S,
|
|
234
|
+
labelBBox: E
|
|
235
|
+
};
|
|
236
|
+
}, "kanbanSection"),
|
|
237
|
+
swimlane: m
|
|
238
|
+
}, _ = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ a(async (e, t) => {
|
|
239
|
+
let n = await g[t.shape || "rect"](e, t);
|
|
240
|
+
return _.set(t.id, n), n;
|
|
241
|
+
}, "insertCluster"), y = /* @__PURE__ */ a(() => {
|
|
242
|
+
_ = /* @__PURE__ */ new Map();
|
|
243
|
+
}, "clear");
|
|
244
|
+
//#endregion
|
|
245
|
+
export { v as n, y as t };
|