@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,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { H as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
|
|
1
|
+
import { m as e, p as t } from "./src-DQoflmwT.js";
|
|
2
|
+
import { H as n, K as r, M as i, U as a, a as o, ot as s, s as c, v as l, w as u, x as d, y as f, z as p } from "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
+
import { n as m } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import { c as h, g } from "./chunk-75Z2AOVW-Drsj7a97.js";
|
|
5
|
+
import { r as _, t as v } from "./chunk-TLUHSLCS-BdsLNXjt.js";
|
|
6
|
+
import { t as y } from "./chunk-5VM5RSS4-Cr17nBXp.js";
|
|
7
|
+
import { t as b } from "./chunk-F27PBJKO-jIrOJO87.js";
|
|
8
|
+
import { t as x } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
9
|
+
import { t as S } from "./chunk-POPQ4Y6H-CU9oz17Z.js";
|
|
10
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-TICWLB2K.mjs
|
|
10
11
|
var C = (function() {
|
|
11
|
-
var e = /* @__PURE__ */
|
|
12
|
+
var e = /* @__PURE__ */ m(function(e, t, n, r) {
|
|
12
13
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
13
14
|
return n;
|
|
14
|
-
}, "o"),
|
|
15
|
+
}, "o"), t = [1, 18], n = [1, 19], r = [1, 20], i = [1, 41], a = [1, 26], o = [1, 42], s = [1, 24], c = [1, 25], l = [1, 32], u = [1, 33], d = [1, 34], f = [1, 45], p = [1, 35], h = [1, 36], g = [1, 37], _ = [1, 38], v = [1, 27], y = [1, 28], b = [1, 29], x = [1, 30], S = [1, 31], C = [1, 44], w = [1, 46], T = [1, 43], E = [1, 47], D = [1, 9], O = [
|
|
15
16
|
1,
|
|
16
17
|
8,
|
|
17
18
|
9
|
|
@@ -140,7 +141,7 @@ var C = (function() {
|
|
|
140
141
|
89,
|
|
141
142
|
90
|
|
142
143
|
], ce = {
|
|
143
|
-
trace: /* @__PURE__ */
|
|
144
|
+
trace: /* @__PURE__ */ m(function() {}, "trace"),
|
|
144
145
|
yy: {},
|
|
145
146
|
symbols_: {
|
|
146
147
|
error: 2,
|
|
@@ -456,7 +457,7 @@ var C = (function() {
|
|
|
456
457
|
[17, 1],
|
|
457
458
|
[55, 1]
|
|
458
459
|
],
|
|
459
|
-
performAction: /* @__PURE__ */
|
|
460
|
+
performAction: /* @__PURE__ */ m(function(e, t, n, r, i, a, o) {
|
|
460
461
|
var s = a.length - 1;
|
|
461
462
|
switch (i) {
|
|
462
463
|
case 8:
|
|
@@ -729,9 +730,7 @@ var C = (function() {
|
|
|
729
730
|
case 108:
|
|
730
731
|
a[s - 2].push(a[s]), this.$ = a[s - 2];
|
|
731
732
|
break;
|
|
732
|
-
case 110:
|
|
733
|
-
this.$ = a[s - 1] + a[s];
|
|
734
|
-
break;
|
|
733
|
+
case 110: this.$ = a[s - 1] + a[s];
|
|
735
734
|
}
|
|
736
735
|
}, "anonymous"),
|
|
737
736
|
table: [
|
|
@@ -756,21 +755,21 @@ var C = (function() {
|
|
|
756
755
|
30: 15,
|
|
757
756
|
31: 16,
|
|
758
757
|
32: 17,
|
|
759
|
-
33:
|
|
760
|
-
35:
|
|
761
|
-
37:
|
|
758
|
+
33: t,
|
|
759
|
+
35: n,
|
|
760
|
+
37: r,
|
|
762
761
|
38: 22,
|
|
763
|
-
42:
|
|
762
|
+
42: i,
|
|
764
763
|
43: 23,
|
|
765
|
-
46:
|
|
766
|
-
48:
|
|
767
|
-
51:
|
|
768
|
-
52:
|
|
769
|
-
54:
|
|
770
|
-
56:
|
|
771
|
-
57:
|
|
772
|
-
60:
|
|
773
|
-
62:
|
|
764
|
+
46: a,
|
|
765
|
+
48: o,
|
|
766
|
+
51: s,
|
|
767
|
+
52: c,
|
|
768
|
+
54: l,
|
|
769
|
+
56: u,
|
|
770
|
+
57: d,
|
|
771
|
+
60: f,
|
|
772
|
+
62: p,
|
|
774
773
|
63: h,
|
|
775
774
|
64: g,
|
|
776
775
|
65: _,
|
|
@@ -828,7 +827,7 @@ var C = (function() {
|
|
|
828
827
|
e(O, [2, 66]),
|
|
829
828
|
{
|
|
830
829
|
16: 69,
|
|
831
|
-
60:
|
|
830
|
+
60: f,
|
|
832
831
|
86: C,
|
|
833
832
|
100: w,
|
|
834
833
|
102: T
|
|
@@ -837,7 +836,7 @@ var C = (function() {
|
|
|
837
836
|
16: 39,
|
|
838
837
|
17: 40,
|
|
839
838
|
19: 70,
|
|
840
|
-
60:
|
|
839
|
+
60: f,
|
|
841
840
|
86: C,
|
|
842
841
|
100: w,
|
|
843
842
|
102: T,
|
|
@@ -847,7 +846,7 @@ var C = (function() {
|
|
|
847
846
|
16: 39,
|
|
848
847
|
17: 40,
|
|
849
848
|
19: 71,
|
|
850
|
-
60:
|
|
849
|
+
60: f,
|
|
851
850
|
86: C,
|
|
852
851
|
100: w,
|
|
853
852
|
102: T,
|
|
@@ -857,7 +856,7 @@ var C = (function() {
|
|
|
857
856
|
16: 39,
|
|
858
857
|
17: 40,
|
|
859
858
|
19: 72,
|
|
860
|
-
60:
|
|
859
|
+
60: f,
|
|
861
860
|
86: C,
|
|
862
861
|
100: w,
|
|
863
862
|
102: T,
|
|
@@ -869,7 +868,7 @@ var C = (function() {
|
|
|
869
868
|
16: 39,
|
|
870
869
|
17: 40,
|
|
871
870
|
19: 75,
|
|
872
|
-
60:
|
|
871
|
+
60: f,
|
|
873
872
|
86: C,
|
|
874
873
|
100: w,
|
|
875
874
|
102: T,
|
|
@@ -893,7 +892,7 @@ var C = (function() {
|
|
|
893
892
|
19: 81,
|
|
894
893
|
18: [1, 80],
|
|
895
894
|
20: [1, 82],
|
|
896
|
-
60:
|
|
895
|
+
60: f,
|
|
897
896
|
86: C,
|
|
898
897
|
100: w,
|
|
899
898
|
102: T,
|
|
@@ -904,7 +903,7 @@ var C = (function() {
|
|
|
904
903
|
15: 84,
|
|
905
904
|
16: 85,
|
|
906
905
|
17: 86,
|
|
907
|
-
60:
|
|
906
|
+
60: f,
|
|
908
907
|
86: C,
|
|
909
908
|
100: w,
|
|
910
909
|
102: T,
|
|
@@ -914,7 +913,7 @@ var C = (function() {
|
|
|
914
913
|
16: 39,
|
|
915
914
|
17: 40,
|
|
916
915
|
19: 87,
|
|
917
|
-
60:
|
|
916
|
+
60: f,
|
|
918
917
|
86: C,
|
|
919
918
|
100: w,
|
|
920
919
|
102: T,
|
|
@@ -965,19 +964,19 @@ var C = (function() {
|
|
|
965
964
|
16: 39,
|
|
966
965
|
17: 40,
|
|
967
966
|
5: 88,
|
|
968
|
-
33:
|
|
969
|
-
35:
|
|
970
|
-
37:
|
|
971
|
-
42:
|
|
972
|
-
46:
|
|
973
|
-
48:
|
|
974
|
-
51:
|
|
975
|
-
52:
|
|
976
|
-
54:
|
|
977
|
-
56:
|
|
978
|
-
57:
|
|
979
|
-
60:
|
|
980
|
-
62:
|
|
967
|
+
33: t,
|
|
968
|
+
35: n,
|
|
969
|
+
37: r,
|
|
970
|
+
42: i,
|
|
971
|
+
46: a,
|
|
972
|
+
48: o,
|
|
973
|
+
51: s,
|
|
974
|
+
52: c,
|
|
975
|
+
54: l,
|
|
976
|
+
56: u,
|
|
977
|
+
57: d,
|
|
978
|
+
60: f,
|
|
979
|
+
62: p,
|
|
981
980
|
63: h,
|
|
982
981
|
64: g,
|
|
983
982
|
65: _,
|
|
@@ -1008,21 +1007,21 @@ var C = (function() {
|
|
|
1008
1007
|
30: 15,
|
|
1009
1008
|
31: 16,
|
|
1010
1009
|
32: 17,
|
|
1011
|
-
33:
|
|
1012
|
-
35:
|
|
1013
|
-
37:
|
|
1010
|
+
33: t,
|
|
1011
|
+
35: n,
|
|
1012
|
+
37: r,
|
|
1014
1013
|
38: 22,
|
|
1015
|
-
42:
|
|
1014
|
+
42: i,
|
|
1016
1015
|
43: 23,
|
|
1017
|
-
46:
|
|
1018
|
-
48:
|
|
1019
|
-
51:
|
|
1020
|
-
52:
|
|
1021
|
-
54:
|
|
1022
|
-
56:
|
|
1023
|
-
57:
|
|
1024
|
-
60:
|
|
1025
|
-
62:
|
|
1016
|
+
46: a,
|
|
1017
|
+
48: o,
|
|
1018
|
+
51: s,
|
|
1019
|
+
52: c,
|
|
1020
|
+
54: l,
|
|
1021
|
+
56: u,
|
|
1022
|
+
57: d,
|
|
1023
|
+
60: f,
|
|
1024
|
+
62: p,
|
|
1026
1025
|
63: h,
|
|
1027
1026
|
64: g,
|
|
1028
1027
|
65: _,
|
|
@@ -1044,7 +1043,7 @@ var C = (function() {
|
|
|
1044
1043
|
16: 39,
|
|
1045
1044
|
17: 40,
|
|
1046
1045
|
19: 90,
|
|
1047
|
-
60:
|
|
1046
|
+
60: f,
|
|
1048
1047
|
86: C,
|
|
1049
1048
|
100: w,
|
|
1050
1049
|
102: T,
|
|
@@ -1090,15 +1089,15 @@ var C = (function() {
|
|
|
1090
1089
|
30: 98,
|
|
1091
1090
|
38: 22,
|
|
1092
1091
|
40: 95,
|
|
1093
|
-
42:
|
|
1092
|
+
42: i,
|
|
1094
1093
|
43: 23,
|
|
1095
|
-
48:
|
|
1096
|
-
54:
|
|
1097
|
-
56:
|
|
1094
|
+
48: o,
|
|
1095
|
+
54: l,
|
|
1096
|
+
56: u
|
|
1098
1097
|
},
|
|
1099
1098
|
{
|
|
1100
1099
|
16: 100,
|
|
1101
|
-
60:
|
|
1100
|
+
60: f,
|
|
1102
1101
|
86: C,
|
|
1103
1102
|
100: w,
|
|
1104
1103
|
102: T
|
|
@@ -1110,7 +1109,7 @@ var C = (function() {
|
|
|
1110
1109
|
},
|
|
1111
1110
|
{
|
|
1112
1111
|
16: 104,
|
|
1113
|
-
60:
|
|
1112
|
+
60: f,
|
|
1114
1113
|
86: C,
|
|
1115
1114
|
100: w,
|
|
1116
1115
|
102: T
|
|
@@ -1163,7 +1162,7 @@ var C = (function() {
|
|
|
1163
1162
|
16: 39,
|
|
1164
1163
|
17: 40,
|
|
1165
1164
|
19: 126,
|
|
1166
|
-
60:
|
|
1165
|
+
60: f,
|
|
1167
1166
|
86: C,
|
|
1168
1167
|
100: w,
|
|
1169
1168
|
102: T,
|
|
@@ -1182,7 +1181,7 @@ var C = (function() {
|
|
|
1182
1181
|
17: 86,
|
|
1183
1182
|
15: 130,
|
|
1184
1183
|
18: [1, 129],
|
|
1185
|
-
60:
|
|
1184
|
+
60: f,
|
|
1186
1185
|
86: C,
|
|
1187
1186
|
100: w,
|
|
1188
1187
|
102: T,
|
|
@@ -1200,7 +1199,7 @@ var C = (function() {
|
|
|
1200
1199
|
16: 39,
|
|
1201
1200
|
17: 40,
|
|
1202
1201
|
19: 133,
|
|
1203
|
-
60:
|
|
1202
|
+
60: f,
|
|
1204
1203
|
86: C,
|
|
1205
1204
|
100: w,
|
|
1206
1205
|
102: T,
|
|
@@ -1211,7 +1210,7 @@ var C = (function() {
|
|
|
1211
1210
|
16: 39,
|
|
1212
1211
|
17: 40,
|
|
1213
1212
|
19: 134,
|
|
1214
|
-
60:
|
|
1213
|
+
60: f,
|
|
1215
1214
|
86: C,
|
|
1216
1215
|
100: w,
|
|
1217
1216
|
102: T,
|
|
@@ -1233,11 +1232,11 @@ var C = (function() {
|
|
|
1233
1232
|
30: 98,
|
|
1234
1233
|
38: 22,
|
|
1235
1234
|
40: 138,
|
|
1236
|
-
42:
|
|
1235
|
+
42: i,
|
|
1237
1236
|
43: 23,
|
|
1238
|
-
48:
|
|
1239
|
-
54:
|
|
1240
|
-
56:
|
|
1237
|
+
48: o,
|
|
1238
|
+
54: l,
|
|
1239
|
+
56: u
|
|
1241
1240
|
},
|
|
1242
1241
|
{
|
|
1243
1242
|
8: [1, 139],
|
|
@@ -1264,7 +1263,7 @@ var C = (function() {
|
|
|
1264
1263
|
16: 39,
|
|
1265
1264
|
17: 40,
|
|
1266
1265
|
19: 146,
|
|
1267
|
-
60:
|
|
1266
|
+
60: f,
|
|
1268
1267
|
86: C,
|
|
1269
1268
|
100: w,
|
|
1270
1269
|
102: T,
|
|
@@ -1314,7 +1313,7 @@ var C = (function() {
|
|
|
1314
1313
|
15: 157,
|
|
1315
1314
|
16: 85,
|
|
1316
1315
|
17: 86,
|
|
1317
|
-
60:
|
|
1316
|
+
60: f,
|
|
1318
1317
|
86: C,
|
|
1319
1318
|
100: w,
|
|
1320
1319
|
102: T,
|
|
@@ -1329,7 +1328,7 @@ var C = (function() {
|
|
|
1329
1328
|
16: 39,
|
|
1330
1329
|
17: 40,
|
|
1331
1330
|
19: 158,
|
|
1332
|
-
60:
|
|
1331
|
+
60: f,
|
|
1333
1332
|
86: C,
|
|
1334
1333
|
100: w,
|
|
1335
1334
|
102: T,
|
|
@@ -1345,11 +1344,11 @@ var C = (function() {
|
|
|
1345
1344
|
38: 22,
|
|
1346
1345
|
40: 160,
|
|
1347
1346
|
41: [2, 39],
|
|
1348
|
-
42:
|
|
1347
|
+
42: i,
|
|
1349
1348
|
43: 23,
|
|
1350
|
-
48:
|
|
1351
|
-
54:
|
|
1352
|
-
56:
|
|
1349
|
+
48: o,
|
|
1350
|
+
54: l,
|
|
1351
|
+
56: u
|
|
1353
1352
|
},
|
|
1354
1353
|
{
|
|
1355
1354
|
23: 99,
|
|
@@ -1358,11 +1357,11 @@ var C = (function() {
|
|
|
1358
1357
|
38: 22,
|
|
1359
1358
|
40: 161,
|
|
1360
1359
|
41: [2, 42],
|
|
1361
|
-
42:
|
|
1360
|
+
42: i,
|
|
1362
1361
|
43: 23,
|
|
1363
|
-
48:
|
|
1364
|
-
54:
|
|
1365
|
-
56:
|
|
1362
|
+
48: o,
|
|
1363
|
+
54: l,
|
|
1364
|
+
56: u
|
|
1366
1365
|
},
|
|
1367
1366
|
{
|
|
1368
1367
|
23: 99,
|
|
@@ -1371,11 +1370,11 @@ var C = (function() {
|
|
|
1371
1370
|
38: 22,
|
|
1372
1371
|
40: 162,
|
|
1373
1372
|
41: [2, 45],
|
|
1374
|
-
42:
|
|
1373
|
+
42: i,
|
|
1375
1374
|
43: 23,
|
|
1376
|
-
48:
|
|
1377
|
-
54:
|
|
1378
|
-
56:
|
|
1375
|
+
48: o,
|
|
1376
|
+
54: l,
|
|
1377
|
+
56: u
|
|
1379
1378
|
},
|
|
1380
1379
|
{
|
|
1381
1380
|
45: 163,
|
|
@@ -1456,35 +1455,35 @@ var C = (function() {
|
|
|
1456
1455
|
161: [2, 43],
|
|
1457
1456
|
162: [2, 46]
|
|
1458
1457
|
},
|
|
1459
|
-
parseError: /* @__PURE__ */
|
|
1458
|
+
parseError: /* @__PURE__ */ m(function(e, t) {
|
|
1460
1459
|
if (t.recoverable) this.trace(e);
|
|
1461
1460
|
else {
|
|
1462
1461
|
var n = Error(e);
|
|
1463
1462
|
throw n.hash = t, n;
|
|
1464
1463
|
}
|
|
1465
1464
|
}, "parseError"),
|
|
1466
|
-
parse: /* @__PURE__ */
|
|
1467
|
-
var
|
|
1465
|
+
parse: /* @__PURE__ */ m(function(e) {
|
|
1466
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, p = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
1468
1467
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
1469
1468
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
1470
1469
|
var v = h.yylloc;
|
|
1471
|
-
|
|
1470
|
+
a.push(v);
|
|
1472
1471
|
var y = h.options && h.options.ranges;
|
|
1473
|
-
typeof g.yy.parseError == "function" ?
|
|
1472
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
1474
1473
|
function b(e) {
|
|
1475
|
-
|
|
1474
|
+
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
1476
1475
|
}
|
|
1477
|
-
|
|
1476
|
+
m(b, "popStack");
|
|
1478
1477
|
function x() {
|
|
1479
|
-
var e =
|
|
1480
|
-
return typeof e != "number" && (e instanceof Array && (
|
|
1478
|
+
var e = r.pop() || h.lex() || f;
|
|
1479
|
+
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
1481
1480
|
}
|
|
1482
|
-
|
|
1481
|
+
m(x, "lex");
|
|
1483
1482
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
1484
|
-
if (w =
|
|
1483
|
+
if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
1485
1484
|
var M = "";
|
|
1486
|
-
for (O in j = [],
|
|
1487
|
-
M = h.showPosition ? "Parse error on line " + (
|
|
1485
|
+
for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
|
|
1486
|
+
M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
|
|
1488
1487
|
text: h.match,
|
|
1489
1488
|
token: this.terminals_[S] || S,
|
|
1490
1489
|
line: h.yylineno,
|
|
@@ -1495,24 +1494,24 @@ var C = (function() {
|
|
|
1495
1494
|
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
1496
1495
|
switch (T[0]) {
|
|
1497
1496
|
case 1:
|
|
1498
|
-
|
|
1497
|
+
n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, u > 0 && u--);
|
|
1499
1498
|
break;
|
|
1500
1499
|
case 2:
|
|
1501
|
-
if (k = this.productions_[T[1]][1], D.$ =
|
|
1502
|
-
first_line:
|
|
1503
|
-
last_line:
|
|
1504
|
-
first_column:
|
|
1505
|
-
last_column:
|
|
1506
|
-
}, y && (D._$.range = [
|
|
1507
|
-
|
|
1508
|
-
u,
|
|
1500
|
+
if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
|
|
1501
|
+
first_line: a[a.length - (k || 1)].first_line,
|
|
1502
|
+
last_line: a[a.length - 1].last_line,
|
|
1503
|
+
first_column: a[a.length - (k || 1)].first_column,
|
|
1504
|
+
last_column: a[a.length - 1].last_column
|
|
1505
|
+
}, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
1506
|
+
s,
|
|
1509
1507
|
l,
|
|
1508
|
+
c,
|
|
1510
1509
|
g.yy,
|
|
1511
1510
|
T[1],
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
].concat(
|
|
1515
|
-
k && (
|
|
1511
|
+
i,
|
|
1512
|
+
a
|
|
1513
|
+
].concat(p)), E !== void 0) return E;
|
|
1514
|
+
k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
|
|
1516
1515
|
break;
|
|
1517
1516
|
case 3: return !0;
|
|
1518
1517
|
}
|
|
@@ -1523,11 +1522,11 @@ var C = (function() {
|
|
|
1523
1522
|
ce.lexer = /* @__PURE__ */ (function() {
|
|
1524
1523
|
return {
|
|
1525
1524
|
EOF: 1,
|
|
1526
|
-
parseError: /* @__PURE__ */
|
|
1525
|
+
parseError: /* @__PURE__ */ m(function(e, t) {
|
|
1527
1526
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
1528
1527
|
else throw Error(e);
|
|
1529
1528
|
}, "parseError"),
|
|
1530
|
-
setInput: /* @__PURE__ */
|
|
1529
|
+
setInput: /* @__PURE__ */ m(function(e, t) {
|
|
1531
1530
|
return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
1532
1531
|
first_line: 1,
|
|
1533
1532
|
first_column: 0,
|
|
@@ -1535,11 +1534,11 @@ var C = (function() {
|
|
|
1535
1534
|
last_column: 0
|
|
1536
1535
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
1537
1536
|
}, "setInput"),
|
|
1538
|
-
input: /* @__PURE__ */
|
|
1537
|
+
input: /* @__PURE__ */ m(function() {
|
|
1539
1538
|
var e = this._input[0];
|
|
1540
1539
|
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
1541
1540
|
}, "input"),
|
|
1542
|
-
unput: /* @__PURE__ */
|
|
1541
|
+
unput: /* @__PURE__ */ m(function(e) {
|
|
1543
1542
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
1544
1543
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
1545
1544
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -1552,10 +1551,10 @@ var C = (function() {
|
|
|
1552
1551
|
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
|
|
1553
1552
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
1554
1553
|
}, "unput"),
|
|
1555
|
-
more: /* @__PURE__ */
|
|
1554
|
+
more: /* @__PURE__ */ m(function() {
|
|
1556
1555
|
return this._more = !0, this;
|
|
1557
1556
|
}, "more"),
|
|
1558
|
-
reject: /* @__PURE__ */
|
|
1557
|
+
reject: /* @__PURE__ */ m(function() {
|
|
1559
1558
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
1560
1559
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
1561
1560
|
text: "",
|
|
@@ -1564,22 +1563,22 @@ var C = (function() {
|
|
|
1564
1563
|
});
|
|
1565
1564
|
return this;
|
|
1566
1565
|
}, "reject"),
|
|
1567
|
-
less: /* @__PURE__ */
|
|
1566
|
+
less: /* @__PURE__ */ m(function(e) {
|
|
1568
1567
|
this.unput(this.match.slice(e));
|
|
1569
1568
|
}, "less"),
|
|
1570
|
-
pastInput: /* @__PURE__ */
|
|
1569
|
+
pastInput: /* @__PURE__ */ m(function() {
|
|
1571
1570
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
1572
1571
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
1573
1572
|
}, "pastInput"),
|
|
1574
|
-
upcomingInput: /* @__PURE__ */
|
|
1573
|
+
upcomingInput: /* @__PURE__ */ m(function() {
|
|
1575
1574
|
var e = this.match;
|
|
1576
1575
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
1577
1576
|
}, "upcomingInput"),
|
|
1578
|
-
showPosition: /* @__PURE__ */
|
|
1577
|
+
showPosition: /* @__PURE__ */ m(function() {
|
|
1579
1578
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
1580
1579
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
1581
1580
|
}, "showPosition"),
|
|
1582
|
-
test_match: /* @__PURE__ */
|
|
1581
|
+
test_match: /* @__PURE__ */ m(function(e, t) {
|
|
1583
1582
|
var n, r, i;
|
|
1584
1583
|
if (this.options.backtrack_lexer && (i = {
|
|
1585
1584
|
yylineno: this.yylineno,
|
|
@@ -1612,7 +1611,7 @@ var C = (function() {
|
|
|
1612
1611
|
}
|
|
1613
1612
|
return !1;
|
|
1614
1613
|
}, "test_match"),
|
|
1615
|
-
next: /* @__PURE__ */
|
|
1614
|
+
next: /* @__PURE__ */ m(function() {
|
|
1616
1615
|
if (this.done) return this.EOF;
|
|
1617
1616
|
this._input || (this.done = !0);
|
|
1618
1617
|
var e, t, n, r;
|
|
@@ -1623,38 +1622,40 @@ var C = (function() {
|
|
|
1623
1622
|
if (this._backtrack) {
|
|
1624
1623
|
t = !1;
|
|
1625
1624
|
continue;
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1625
|
+
}
|
|
1626
|
+
return !1;
|
|
1627
|
+
}
|
|
1628
|
+
if (!this.options.flex) break;
|
|
1628
1629
|
}
|
|
1629
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
1630
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1630
1631
|
text: "",
|
|
1631
1632
|
token: null,
|
|
1632
1633
|
line: this.yylineno
|
|
1633
1634
|
});
|
|
1634
1635
|
}, "next"),
|
|
1635
|
-
lex: /* @__PURE__ */
|
|
1636
|
+
lex: /* @__PURE__ */ m(function() {
|
|
1636
1637
|
return this.next() || this.lex();
|
|
1637
1638
|
}, "lex"),
|
|
1638
|
-
begin: /* @__PURE__ */
|
|
1639
|
+
begin: /* @__PURE__ */ m(function(e) {
|
|
1639
1640
|
this.conditionStack.push(e);
|
|
1640
1641
|
}, "begin"),
|
|
1641
|
-
popState: /* @__PURE__ */
|
|
1642
|
+
popState: /* @__PURE__ */ m(function() {
|
|
1642
1643
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1643
1644
|
}, "popState"),
|
|
1644
|
-
_currentRules: /* @__PURE__ */
|
|
1645
|
+
_currentRules: /* @__PURE__ */ m(function() {
|
|
1645
1646
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1646
1647
|
}, "_currentRules"),
|
|
1647
|
-
topState: /* @__PURE__ */
|
|
1648
|
+
topState: /* @__PURE__ */ m(function(e) {
|
|
1648
1649
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
1649
1650
|
}, "topState"),
|
|
1650
|
-
pushState: /* @__PURE__ */
|
|
1651
|
+
pushState: /* @__PURE__ */ m(function(e) {
|
|
1651
1652
|
this.begin(e);
|
|
1652
1653
|
}, "pushState"),
|
|
1653
|
-
stateStackSize: /* @__PURE__ */
|
|
1654
|
+
stateStackSize: /* @__PURE__ */ m(function() {
|
|
1654
1655
|
return this.conditionStack.length;
|
|
1655
1656
|
}, "stateStackSize"),
|
|
1656
1657
|
options: {},
|
|
1657
|
-
performAction: /* @__PURE__ */
|
|
1658
|
+
performAction: /* @__PURE__ */ m(function(e, t, n, r) {
|
|
1658
1659
|
switch (n) {
|
|
1659
1660
|
case 0: return 62;
|
|
1660
1661
|
case 1: return 63;
|
|
@@ -2642,7 +2643,7 @@ var C = (function() {
|
|
|
2642
2643
|
function $() {
|
|
2643
2644
|
this.yy = {};
|
|
2644
2645
|
}
|
|
2645
|
-
return
|
|
2646
|
+
return m($, "Parser"), $.prototype = ce, ce.Parser = $, new $();
|
|
2646
2647
|
})();
|
|
2647
2648
|
C.parser = C;
|
|
2648
2649
|
var w = C, T = [
|
|
@@ -2653,16 +2654,16 @@ var w = C, T = [
|
|
|
2653
2654
|
""
|
|
2654
2655
|
], E = class {
|
|
2655
2656
|
static {
|
|
2656
|
-
|
|
2657
|
+
m(this, "ClassMember");
|
|
2657
2658
|
}
|
|
2658
2659
|
constructor(e, t) {
|
|
2659
2660
|
this.memberType = t, this.visibility = "", this.classifier = "", this.text = "";
|
|
2660
|
-
let n =
|
|
2661
|
+
let n = p(e, d());
|
|
2661
2662
|
this.parseMember(n);
|
|
2662
2663
|
}
|
|
2663
2664
|
getDisplayDetails() {
|
|
2664
|
-
let e = this.visibility +
|
|
2665
|
-
this.memberType === "method" && (e += `(${
|
|
2665
|
+
let e = this.visibility + i(this.id);
|
|
2666
|
+
this.memberType === "method" && (e += `(${i(this.parameters.trim())})`, this.returnType && (e += " : " + i(this.returnType))), e = e.trim();
|
|
2666
2667
|
let t = this.parseClassifier();
|
|
2667
2668
|
return {
|
|
2668
2669
|
displayText: e,
|
|
@@ -2685,7 +2686,7 @@ var w = C, T = [
|
|
|
2685
2686
|
T.includes(r) && (this.visibility = r), /[$*]/.exec(i) && (t = i), this.id = e.substring(this.visibility === "" ? 0 : 1, t === "" ? n : n - 1);
|
|
2686
2687
|
}
|
|
2687
2688
|
this.classifier = t, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
|
|
2688
|
-
let n = `${this.visibility ? "\\" + this.visibility : ""}${
|
|
2689
|
+
let n = `${this.visibility ? "\\" + this.visibility : ""}${i(this.id)}${this.memberType === "method" ? `(${i(this.parameters)})${this.returnType ? " : " + i(this.returnType) : ""}` : ""}`;
|
|
2689
2690
|
this.text = n.replaceAll("<", "<").replaceAll(">", ">"), this.text.startsWith("\\<") && (this.text = this.text.replace("\\<", "~"));
|
|
2690
2691
|
}
|
|
2691
2692
|
parseClassifier() {
|
|
@@ -2695,7 +2696,7 @@ var w = C, T = [
|
|
|
2695
2696
|
default: return "";
|
|
2696
2697
|
}
|
|
2697
2698
|
}
|
|
2698
|
-
}, D = "classId-", O = 0, k = /* @__PURE__ */
|
|
2699
|
+
}, D = "classId-", O = 0, k = /* @__PURE__ */ m((e) => c.sanitizeText(e, d()), "sanitizeText"), A = class i {
|
|
2699
2700
|
constructor() {
|
|
2700
2701
|
this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.functions = [], this.lineType = {
|
|
2701
2702
|
LINE: 0,
|
|
@@ -2706,25 +2707,25 @@ var w = C, T = [
|
|
|
2706
2707
|
COMPOSITION: 2,
|
|
2707
2708
|
DEPENDENCY: 3,
|
|
2708
2709
|
LOLLIPOP: 4
|
|
2709
|
-
}, this.setupToolTips = /* @__PURE__ */
|
|
2710
|
-
let
|
|
2711
|
-
|
|
2712
|
-
return
|
|
2710
|
+
}, this.setupToolTips = /* @__PURE__ */ m((e) => {
|
|
2711
|
+
let n = b();
|
|
2712
|
+
t(e).select("svg").selectAll("g").filter(function() {
|
|
2713
|
+
return t(this).attr("title") !== null;
|
|
2713
2714
|
}).on("mouseover", (e) => {
|
|
2714
|
-
let r =
|
|
2715
|
+
let r = t(e.currentTarget), i = r.attr("title");
|
|
2715
2716
|
if (!i) return;
|
|
2716
2717
|
let a = e.currentTarget.getBoundingClientRect();
|
|
2717
|
-
|
|
2718
|
+
n.transition().duration(200).style("opacity", ".9"), n.html(s.sanitize(i)).style("left", `${window.scrollX + a.left + a.width / 2}px`).style("top", `${window.scrollY + a.bottom + 4}px`), r.classed("hover", !0);
|
|
2718
2719
|
}).on("mouseout", (e) => {
|
|
2719
|
-
|
|
2720
|
+
n.transition().duration(500).style("opacity", 0), t(e.currentTarget).classed("hover", !1);
|
|
2720
2721
|
});
|
|
2721
|
-
}, "setupToolTips"), this.direction = "TB", this.setAccTitle =
|
|
2722
|
+
}, "setupToolTips"), this.direction = "TB", this.setAccTitle = a, this.getAccTitle = f, this.setAccDescription = n, this.getAccDescription = l, this.setDiagramTitle = r, this.getDiagramTitle = u, this.getConfig = /* @__PURE__ */ m(() => d().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.popNamespace = this.popNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
|
|
2722
2723
|
}
|
|
2723
2724
|
static {
|
|
2724
|
-
|
|
2725
|
+
m(this, "ClassDB");
|
|
2725
2726
|
}
|
|
2726
2727
|
splitClassNameAndType(e) {
|
|
2727
|
-
let t =
|
|
2728
|
+
let t = c.sanitizeText(e, d()), n = "", r = t;
|
|
2728
2729
|
if (t.indexOf("~") > 0) {
|
|
2729
2730
|
let e = t.split("~");
|
|
2730
2731
|
r = k(e[0]), n = k(e[1]);
|
|
@@ -2735,15 +2736,15 @@ var w = C, T = [
|
|
|
2735
2736
|
};
|
|
2736
2737
|
}
|
|
2737
2738
|
setClassLabel(e, t) {
|
|
2738
|
-
let n =
|
|
2739
|
+
let n = c.sanitizeText(e, d());
|
|
2739
2740
|
t &&= k(t);
|
|
2740
2741
|
let { className: r } = this.splitClassNameAndType(n);
|
|
2741
2742
|
this.classes.get(r).label = t, this.classes.get(r).text = `${t}${this.classes.get(r).type ? `<${this.classes.get(r).type}>` : ""}`;
|
|
2742
2743
|
}
|
|
2743
2744
|
addClass(e) {
|
|
2744
|
-
let t =
|
|
2745
|
+
let t = c.sanitizeText(e, d()), { className: n, type: r } = this.splitClassNameAndType(t);
|
|
2745
2746
|
if (this.classes.has(n)) return;
|
|
2746
|
-
let i =
|
|
2747
|
+
let i = c.sanitizeText(n, d());
|
|
2747
2748
|
this.classes.set(i, {
|
|
2748
2749
|
id: i,
|
|
2749
2750
|
type: r,
|
|
@@ -2770,7 +2771,7 @@ var w = C, T = [
|
|
|
2770
2771
|
this.diagramId = e;
|
|
2771
2772
|
}
|
|
2772
2773
|
lookUpDomId(e) {
|
|
2773
|
-
let t =
|
|
2774
|
+
let t = c.sanitizeText(e, d());
|
|
2774
2775
|
if (this.classes.has(t)) {
|
|
2775
2776
|
let e = this.classes.get(t).domId;
|
|
2776
2777
|
return this.diagramId ? `${this.diagramId}-${e}` : e;
|
|
@@ -2778,7 +2779,7 @@ var w = C, T = [
|
|
|
2778
2779
|
throw Error("Class not found: " + t);
|
|
2779
2780
|
}
|
|
2780
2781
|
clear() {
|
|
2781
|
-
this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.direction = "TB",
|
|
2782
|
+
this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = /* @__PURE__ */ new Map(), this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.namespaceStack = [], this.diagramId = "", this.direction = "TB", o();
|
|
2782
2783
|
}
|
|
2783
2784
|
getClass(e) {
|
|
2784
2785
|
return this.classes.get(e);
|
|
@@ -2805,7 +2806,7 @@ var w = C, T = [
|
|
|
2805
2806
|
this.relationType.DEPENDENCY,
|
|
2806
2807
|
this.relationType.EXTENSION
|
|
2807
2808
|
];
|
|
2808
|
-
t.relation.type1 === this.relationType.LOLLIPOP && !n.includes(t.relation.type2) ? (this.addClass(t.id2), this.addInterface(t.id1, t.id2), t.id1 = `interface${this.interfaces.length - 1}`) : t.relation.type2 === this.relationType.LOLLIPOP && !n.includes(t.relation.type1) ? (this.addClass(t.id1), this.addInterface(t.id2, t.id1), t.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(t.id1), this.addClass(t.id2)), t.id1 = this.splitClassNameAndType(t.id1).className, t.id2 = this.splitClassNameAndType(t.id2).className, t.relationTitle1 =
|
|
2809
|
+
t.relation.type1 === this.relationType.LOLLIPOP && !n.includes(t.relation.type2) ? (this.addClass(t.id2), this.addInterface(t.id1, t.id2), t.id1 = `interface${this.interfaces.length - 1}`) : t.relation.type2 === this.relationType.LOLLIPOP && !n.includes(t.relation.type1) ? (this.addClass(t.id1), this.addInterface(t.id2, t.id1), t.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(t.id1), this.addClass(t.id2)), t.id1 = this.splitClassNameAndType(t.id1).className, t.id2 = this.splitClassNameAndType(t.id2).className, t.relationTitle1 = c.sanitizeText(t.relationTitle1.trim(), d()), t.relationTitle2 = c.sanitizeText(t.relationTitle2.trim(), d()), this.relations.push(t);
|
|
2809
2810
|
}
|
|
2810
2811
|
addAnnotation(e, t) {
|
|
2811
2812
|
let n = this.splitClassNameAndType(e).className;
|
|
@@ -2837,7 +2838,7 @@ var w = C, T = [
|
|
|
2837
2838
|
setCssClass(e, t) {
|
|
2838
2839
|
e.split(",").forEach((e) => {
|
|
2839
2840
|
let n = e;
|
|
2840
|
-
/\d/.exec(e[0]) && (n = D + n);
|
|
2841
|
+
/\d/.exec(e[0]) && (n = D + n), n = this.splitClassNameAndType(n).className;
|
|
2841
2842
|
let r = this.classes.get(n);
|
|
2842
2843
|
r && (r.cssClasses += " " + t);
|
|
2843
2844
|
});
|
|
@@ -2862,30 +2863,35 @@ var w = C, T = [
|
|
|
2862
2863
|
}
|
|
2863
2864
|
setTooltip(e, t) {
|
|
2864
2865
|
e.split(",").forEach((e) => {
|
|
2865
|
-
t !== void 0
|
|
2866
|
+
if (t !== void 0) {
|
|
2867
|
+
let n = this.splitClassNameAndType(e).className, r = this.classes.get(n);
|
|
2868
|
+
r && (r.tooltip = k(t));
|
|
2869
|
+
}
|
|
2866
2870
|
});
|
|
2867
2871
|
}
|
|
2868
2872
|
getTooltip(e, t) {
|
|
2869
2873
|
return t && this.namespaces.has(t) ? this.namespaces.get(t).classes.get(e).tooltip : this.classes.get(e).tooltip;
|
|
2870
2874
|
}
|
|
2871
2875
|
setLink(e, t, n) {
|
|
2872
|
-
let r =
|
|
2876
|
+
let r = d();
|
|
2873
2877
|
e.split(",").forEach((e) => {
|
|
2874
2878
|
let i = e;
|
|
2875
|
-
/\d/.exec(e[0]) && (i = D + i);
|
|
2879
|
+
/\d/.exec(e[0]) && (i = D + i), i = this.splitClassNameAndType(i).className;
|
|
2876
2880
|
let a = this.classes.get(i);
|
|
2877
|
-
a && (a.link = g.formatUrl(t, r), r.securityLevel === "sandbox" ?
|
|
2881
|
+
a && (a.link = g.formatUrl(t, r), a.linkTarget = r.securityLevel === "sandbox" ? "_top" : typeof n == "string" ? k(n) : "_blank");
|
|
2878
2882
|
}), this.setCssClass(e, "clickable");
|
|
2879
2883
|
}
|
|
2880
2884
|
setClickEvent(e, t, n) {
|
|
2881
2885
|
e.split(",").forEach((e) => {
|
|
2882
|
-
this.setClickFunc(e, t, n)
|
|
2886
|
+
this.setClickFunc(e, t, n);
|
|
2887
|
+
let r = this.splitClassNameAndType(e).className, i = this.classes.get(r);
|
|
2888
|
+
i && (i.haveCallback = !0);
|
|
2883
2889
|
}), this.setCssClass(e, "clickable");
|
|
2884
2890
|
}
|
|
2885
2891
|
setClickFunc(e, t, n) {
|
|
2886
|
-
let r =
|
|
2887
|
-
if (
|
|
2888
|
-
let i = r;
|
|
2892
|
+
let r = c.sanitizeText(e, d());
|
|
2893
|
+
if (d().securityLevel !== "loose" || t === void 0) return;
|
|
2894
|
+
let i = this.splitClassNameAndType(r).className;
|
|
2889
2895
|
if (this.classes.has(i)) {
|
|
2890
2896
|
let e = [];
|
|
2891
2897
|
if (typeof n == "string") {
|
|
@@ -2944,15 +2950,15 @@ var w = C, T = [
|
|
|
2944
2950
|
!n || !r || (n.children.has(t) || n.children.set(t, r), r.parent ??= e);
|
|
2945
2951
|
}
|
|
2946
2952
|
addNamespace(e, t) {
|
|
2947
|
-
let n =
|
|
2953
|
+
let n = i.resolveQualifiedId(e, this.namespaceStack);
|
|
2948
2954
|
if (this.namespaceStack.push(n), this.namespaces.has(n)) {
|
|
2949
2955
|
let e = this.namespaces.get(n);
|
|
2950
2956
|
return e.explicit = !0, t && (e.label = t), n;
|
|
2951
2957
|
}
|
|
2952
|
-
let r = n.split("."),
|
|
2953
|
-
for (let e = 0; e <
|
|
2954
|
-
let n =
|
|
2955
|
-
this.namespaces.has(n) ? o && (this.namespaces.get(n).explicit = !0) : this.namespaces.set(n, this.createNamespaceNode(n, s,
|
|
2958
|
+
let r = n.split("."), a = i.getAncestorIds(n);
|
|
2959
|
+
for (let e = 0; e < a.length; e++) {
|
|
2960
|
+
let n = a[e], i = e > 0 ? a[e - 1] : void 0, o = e === a.length - 1, s = o && t ? t : r[e];
|
|
2961
|
+
this.namespaces.has(n) ? o && (this.namespaces.get(n).explicit = !0) : this.namespaces.set(n, this.createNamespaceNode(n, s, i, o)), i && this.linkParentChild(i, n);
|
|
2956
2962
|
}
|
|
2957
2963
|
return n;
|
|
2958
2964
|
}
|
|
@@ -3013,7 +3019,7 @@ var w = C, T = [
|
|
|
3013
3019
|
}
|
|
3014
3020
|
}
|
|
3015
3021
|
getData() {
|
|
3016
|
-
let e = [], t = [], n =
|
|
3022
|
+
let e = [], t = [], n = d(), r = n.class?.hierarchicalNamespaces ?? !0;
|
|
3017
3023
|
for (let t of this.namespaces.values()) {
|
|
3018
3024
|
if (!r && !t.explicit) continue;
|
|
3019
3025
|
let i = {
|
|
@@ -3123,7 +3129,7 @@ var w = C, T = [
|
|
|
3123
3129
|
direction: this.getDirection()
|
|
3124
3130
|
};
|
|
3125
3131
|
}
|
|
3126
|
-
}, j = /* @__PURE__ */
|
|
3132
|
+
}, j = /* @__PURE__ */ m((e) => `g.classGroup text {
|
|
3127
3133
|
fill: ${e.nodeBorder || e.classText};
|
|
3128
3134
|
stroke: none;
|
|
3129
3135
|
font-family: ${e.fontFamily};
|
|
@@ -3324,12 +3330,12 @@ g.classGroup line {
|
|
|
3324
3330
|
}
|
|
3325
3331
|
${y()}
|
|
3326
3332
|
`, "getStyles"), M = {
|
|
3327
|
-
getClasses: /* @__PURE__ */
|
|
3333
|
+
getClasses: /* @__PURE__ */ m(function(e, t) {
|
|
3328
3334
|
return t.db.getClasses();
|
|
3329
3335
|
}, "getClasses"),
|
|
3330
|
-
draw: /* @__PURE__ */
|
|
3336
|
+
draw: /* @__PURE__ */ m(async function(t, n, r, i) {
|
|
3331
3337
|
e.info("REF0:"), e.info("Drawing class diagram (v3)", n);
|
|
3332
|
-
let { securityLevel: a, state: o, layout: s } =
|
|
3338
|
+
let { securityLevel: a, state: o, layout: s } = d();
|
|
3333
3339
|
i.db.setDiagramId(n);
|
|
3334
3340
|
let c = i.db.getData(), l = x(n, a);
|
|
3335
3341
|
c.type = i.type, c.layoutAlgorithm = v(s), c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
|
|
@@ -3340,7 +3346,7 @@ g.classGroup line {
|
|
|
3340
3346
|
"lollipop"
|
|
3341
3347
|
], c.diagramId = n, await _(c, l), g.insertTitle(l, "classDiagramTitleText", o?.titleTopMargin ?? 25, i.db.getDiagramTitle()), S(l, 8, "classDiagram", o?.useMaxWidth ?? !0);
|
|
3342
3348
|
}, "draw"),
|
|
3343
|
-
getDir: /* @__PURE__ */
|
|
3349
|
+
getDir: /* @__PURE__ */ m((e, t = "TB") => {
|
|
3344
3350
|
if (!e.doc) return t;
|
|
3345
3351
|
let n = t;
|
|
3346
3352
|
for (let t of e.doc) t.stmt === "dir" && (n = t.value);
|