@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
package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js}
RENAMED
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
|
|
1
|
+
import { m as e } from "./src-DQoflmwT.js";
|
|
2
|
+
import { $ as t, b as n, et as r, f as i, k as a, nt as o, x as s, z as c } from "./chunk-DU6HZSFF-waeanndy.js";
|
|
3
|
+
import { n as l } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import "./chunk-75Z2AOVW-Drsj7a97.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-BUeNZ170.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-D37VoZ8H.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-D80II4AD.js";
|
|
8
|
+
import "./chunk-4HAMMTFA-CZgIgrp_.js";
|
|
9
|
+
import "./chunk-GVQU2GXP-DP3t_9Rl.js";
|
|
10
|
+
import "./chunk-L3NEJ4N5-qPot4t6M.js";
|
|
11
|
+
import "./chunk-OSK3NFVY-CQhPF3Mc.js";
|
|
12
|
+
import { r as u, t as d } from "./chunk-TLUHSLCS-BdsLNXjt.js";
|
|
13
|
+
import { t as f } from "./v4-DIjJgmR0.js";
|
|
14
|
+
import { t as p } from "./chunk-XXDRQBXY-C1ZEFXGu.js";
|
|
15
|
+
import { t as m } from "./chunk-POPQ4Y6H-CU9oz17Z.js";
|
|
16
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-YA3MSWOX.mjs
|
|
15
17
|
var h = (function() {
|
|
16
|
-
var e = /* @__PURE__ */
|
|
18
|
+
var e = /* @__PURE__ */ l(function(e, t, n, r) {
|
|
17
19
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
18
20
|
return n;
|
|
19
|
-
}, "o"),
|
|
21
|
+
}, "o"), t = [1, 4], n = [1, 13], r = [1, 12], i = [1, 15], a = [1, 16], o = [1, 20], s = [1, 19], c = [
|
|
20
22
|
6,
|
|
21
23
|
7,
|
|
22
24
|
8
|
|
@@ -43,7 +45,7 @@ var h = (function() {
|
|
|
43
45
|
19,
|
|
44
46
|
22
|
|
45
47
|
], v = {
|
|
46
|
-
trace: /* @__PURE__ */
|
|
48
|
+
trace: /* @__PURE__ */ l(function() {}, "trace"),
|
|
47
49
|
yy: {},
|
|
48
50
|
symbols_: {
|
|
49
51
|
error: 2,
|
|
@@ -114,7 +116,7 @@ var h = (function() {
|
|
|
114
116
|
[17, 1],
|
|
115
117
|
[17, 4]
|
|
116
118
|
],
|
|
117
|
-
performAction: /* @__PURE__ */
|
|
119
|
+
performAction: /* @__PURE__ */ l(function(e, t, n, r, i, a, o) {
|
|
118
120
|
var s = a.length - 1;
|
|
119
121
|
switch (i) {
|
|
120
122
|
case 6:
|
|
@@ -164,13 +166,11 @@ var h = (function() {
|
|
|
164
166
|
type: r.nodeType.DEFAULT
|
|
165
167
|
};
|
|
166
168
|
break;
|
|
167
|
-
case 27:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
};
|
|
173
|
-
break;
|
|
169
|
+
case 27: r.getLogger().trace("node found ..", a[s - 3]), this.$ = {
|
|
170
|
+
id: a[s - 3],
|
|
171
|
+
descr: a[s - 1],
|
|
172
|
+
type: r.getType(a[s - 2], a[s])
|
|
173
|
+
};
|
|
174
174
|
}
|
|
175
175
|
}, "anonymous"),
|
|
176
176
|
table: [
|
|
@@ -179,7 +179,7 @@ var h = (function() {
|
|
|
179
179
|
4: 2,
|
|
180
180
|
5: 3,
|
|
181
181
|
6: [1, 5],
|
|
182
|
-
8:
|
|
182
|
+
8: t
|
|
183
183
|
},
|
|
184
184
|
{ 1: [3] },
|
|
185
185
|
{ 1: [2, 1] },
|
|
@@ -187,51 +187,51 @@ var h = (function() {
|
|
|
187
187
|
4: 6,
|
|
188
188
|
6: [1, 7],
|
|
189
189
|
7: [1, 8],
|
|
190
|
-
8:
|
|
190
|
+
8: t
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
6:
|
|
193
|
+
6: n,
|
|
194
194
|
7: [1, 10],
|
|
195
195
|
9: 9,
|
|
196
196
|
12: 11,
|
|
197
|
-
13:
|
|
197
|
+
13: r,
|
|
198
198
|
14: 14,
|
|
199
|
-
15:
|
|
200
|
-
16:
|
|
199
|
+
15: i,
|
|
200
|
+
16: a,
|
|
201
201
|
17: 17,
|
|
202
202
|
18: 18,
|
|
203
|
-
19:
|
|
204
|
-
22:
|
|
203
|
+
19: o,
|
|
204
|
+
22: s
|
|
205
205
|
},
|
|
206
|
-
e(
|
|
206
|
+
e(c, [2, 3]),
|
|
207
207
|
{ 1: [2, 2] },
|
|
208
|
-
e(
|
|
209
|
-
e(
|
|
208
|
+
e(c, [2, 4]),
|
|
209
|
+
e(c, [2, 5]),
|
|
210
210
|
{
|
|
211
211
|
1: [2, 6],
|
|
212
|
-
6:
|
|
212
|
+
6: n,
|
|
213
213
|
12: 21,
|
|
214
|
-
13:
|
|
214
|
+
13: r,
|
|
215
215
|
14: 14,
|
|
216
|
-
15:
|
|
217
|
-
16:
|
|
216
|
+
15: i,
|
|
217
|
+
16: a,
|
|
218
218
|
17: 17,
|
|
219
219
|
18: 18,
|
|
220
|
-
19:
|
|
221
|
-
22:
|
|
220
|
+
19: o,
|
|
221
|
+
22: s
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
|
-
6:
|
|
224
|
+
6: n,
|
|
225
225
|
9: 22,
|
|
226
226
|
12: 11,
|
|
227
|
-
13:
|
|
227
|
+
13: r,
|
|
228
228
|
14: 14,
|
|
229
|
-
15:
|
|
230
|
-
16:
|
|
229
|
+
15: i,
|
|
230
|
+
16: a,
|
|
231
231
|
17: 17,
|
|
232
232
|
18: 18,
|
|
233
|
-
19:
|
|
234
|
-
22:
|
|
233
|
+
19: o,
|
|
234
|
+
22: s
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
6: u,
|
|
@@ -245,8 +245,8 @@ var h = (function() {
|
|
|
245
245
|
14: 27,
|
|
246
246
|
15: [1, 28],
|
|
247
247
|
16: [1, 29],
|
|
248
|
-
19:
|
|
249
|
-
22:
|
|
248
|
+
19: o,
|
|
249
|
+
22: s
|
|
250
250
|
}),
|
|
251
251
|
e(p, [2, 18]),
|
|
252
252
|
e(p, [2, 19]),
|
|
@@ -264,16 +264,16 @@ var h = (function() {
|
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
1: [2, 7],
|
|
267
|
-
6:
|
|
267
|
+
6: n,
|
|
268
268
|
12: 21,
|
|
269
|
-
13:
|
|
269
|
+
13: r,
|
|
270
270
|
14: 14,
|
|
271
|
-
15:
|
|
272
|
-
16:
|
|
271
|
+
15: i,
|
|
272
|
+
16: a,
|
|
273
273
|
17: 17,
|
|
274
274
|
18: 18,
|
|
275
|
-
19:
|
|
276
|
-
22:
|
|
275
|
+
19: o,
|
|
276
|
+
22: s
|
|
277
277
|
},
|
|
278
278
|
e(m, [2, 14], {
|
|
279
279
|
7: h,
|
|
@@ -301,35 +301,35 @@ var h = (function() {
|
|
|
301
301
|
2: [2, 1],
|
|
302
302
|
6: [2, 2]
|
|
303
303
|
},
|
|
304
|
-
parseError: /* @__PURE__ */
|
|
304
|
+
parseError: /* @__PURE__ */ l(function(e, t) {
|
|
305
305
|
if (t.recoverable) this.trace(e);
|
|
306
306
|
else {
|
|
307
307
|
var n = Error(e);
|
|
308
308
|
throw n.hash = t, n;
|
|
309
309
|
}
|
|
310
310
|
}, "parseError"),
|
|
311
|
-
parse: /* @__PURE__ */
|
|
312
|
-
var
|
|
311
|
+
parse: /* @__PURE__ */ l(function(e) {
|
|
312
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, u = 0, d = 0, f = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
313
313
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
314
314
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
315
315
|
var v = h.yylloc;
|
|
316
|
-
|
|
316
|
+
a.push(v);
|
|
317
317
|
var y = h.options && h.options.ranges;
|
|
318
|
-
typeof g.yy.parseError == "function" ?
|
|
318
|
+
this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
319
319
|
function b(e) {
|
|
320
|
-
|
|
320
|
+
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
l(b, "popStack");
|
|
323
323
|
function x() {
|
|
324
|
-
var e =
|
|
325
|
-
return typeof e != "number" && (e instanceof Array && (
|
|
324
|
+
var e = r.pop() || h.lex() || p;
|
|
325
|
+
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
l(x, "lex");
|
|
328
328
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
329
|
-
if (w =
|
|
329
|
+
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]) {
|
|
330
330
|
var M = "";
|
|
331
|
-
for (O in j = [],
|
|
332
|
-
M = h.showPosition ? "Parse error on line " + (
|
|
331
|
+
for (O in j = [], o[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
|
|
332
|
+
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 == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
|
|
333
333
|
text: h.match,
|
|
334
334
|
token: this.terminals_[S] || S,
|
|
335
335
|
line: h.yylineno,
|
|
@@ -340,24 +340,24 @@ var h = (function() {
|
|
|
340
340
|
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
341
341
|
switch (T[0]) {
|
|
342
342
|
case 1:
|
|
343
|
-
|
|
343
|
+
n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, d > 0 && d--);
|
|
344
344
|
break;
|
|
345
345
|
case 2:
|
|
346
|
-
if (k = this.productions_[T[1]][1], D.$ =
|
|
347
|
-
first_line:
|
|
348
|
-
last_line:
|
|
349
|
-
first_column:
|
|
350
|
-
last_column:
|
|
351
|
-
}, y && (D._$.range = [
|
|
352
|
-
|
|
346
|
+
if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
|
|
347
|
+
first_line: a[a.length - (k || 1)].first_line,
|
|
348
|
+
last_line: a[a.length - 1].last_line,
|
|
349
|
+
first_column: a[a.length - (k || 1)].first_column,
|
|
350
|
+
last_column: a[a.length - 1].last_column
|
|
351
|
+
}, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
352
|
+
s,
|
|
353
353
|
u,
|
|
354
|
-
|
|
354
|
+
c,
|
|
355
355
|
g.yy,
|
|
356
356
|
T[1],
|
|
357
|
-
|
|
358
|
-
|
|
357
|
+
i,
|
|
358
|
+
a
|
|
359
359
|
].concat(m)), E !== void 0) return E;
|
|
360
|
-
k && (
|
|
360
|
+
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);
|
|
361
361
|
break;
|
|
362
362
|
case 3: return !0;
|
|
363
363
|
}
|
|
@@ -368,11 +368,11 @@ var h = (function() {
|
|
|
368
368
|
v.lexer = /* @__PURE__ */ (function() {
|
|
369
369
|
return {
|
|
370
370
|
EOF: 1,
|
|
371
|
-
parseError: /* @__PURE__ */
|
|
371
|
+
parseError: /* @__PURE__ */ l(function(e, t) {
|
|
372
372
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
373
373
|
else throw Error(e);
|
|
374
374
|
}, "parseError"),
|
|
375
|
-
setInput: /* @__PURE__ */
|
|
375
|
+
setInput: /* @__PURE__ */ l(function(e, t) {
|
|
376
376
|
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 = {
|
|
377
377
|
first_line: 1,
|
|
378
378
|
first_column: 0,
|
|
@@ -380,11 +380,11 @@ var h = (function() {
|
|
|
380
380
|
last_column: 0
|
|
381
381
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
382
382
|
}, "setInput"),
|
|
383
|
-
input: /* @__PURE__ */
|
|
383
|
+
input: /* @__PURE__ */ l(function() {
|
|
384
384
|
var e = this._input[0];
|
|
385
385
|
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;
|
|
386
386
|
}, "input"),
|
|
387
|
-
unput: /* @__PURE__ */
|
|
387
|
+
unput: /* @__PURE__ */ l(function(e) {
|
|
388
388
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
389
389
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
390
390
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -397,10 +397,10 @@ var h = (function() {
|
|
|
397
397
|
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
|
|
398
398
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
399
399
|
}, "unput"),
|
|
400
|
-
more: /* @__PURE__ */
|
|
400
|
+
more: /* @__PURE__ */ l(function() {
|
|
401
401
|
return this._more = !0, this;
|
|
402
402
|
}, "more"),
|
|
403
|
-
reject: /* @__PURE__ */
|
|
403
|
+
reject: /* @__PURE__ */ l(function() {
|
|
404
404
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
405
405
|
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(), {
|
|
406
406
|
text: "",
|
|
@@ -409,22 +409,22 @@ var h = (function() {
|
|
|
409
409
|
});
|
|
410
410
|
return this;
|
|
411
411
|
}, "reject"),
|
|
412
|
-
less: /* @__PURE__ */
|
|
412
|
+
less: /* @__PURE__ */ l(function(e) {
|
|
413
413
|
this.unput(this.match.slice(e));
|
|
414
414
|
}, "less"),
|
|
415
|
-
pastInput: /* @__PURE__ */
|
|
415
|
+
pastInput: /* @__PURE__ */ l(function() {
|
|
416
416
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
417
417
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
418
418
|
}, "pastInput"),
|
|
419
|
-
upcomingInput: /* @__PURE__ */
|
|
419
|
+
upcomingInput: /* @__PURE__ */ l(function() {
|
|
420
420
|
var e = this.match;
|
|
421
421
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
422
422
|
}, "upcomingInput"),
|
|
423
|
-
showPosition: /* @__PURE__ */
|
|
423
|
+
showPosition: /* @__PURE__ */ l(function() {
|
|
424
424
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
425
425
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
426
426
|
}, "showPosition"),
|
|
427
|
-
test_match: /* @__PURE__ */
|
|
427
|
+
test_match: /* @__PURE__ */ l(function(e, t) {
|
|
428
428
|
var n, r, i;
|
|
429
429
|
if (this.options.backtrack_lexer && (i = {
|
|
430
430
|
yylineno: this.yylineno,
|
|
@@ -457,7 +457,7 @@ var h = (function() {
|
|
|
457
457
|
}
|
|
458
458
|
return !1;
|
|
459
459
|
}, "test_match"),
|
|
460
|
-
next: /* @__PURE__ */
|
|
460
|
+
next: /* @__PURE__ */ l(function() {
|
|
461
461
|
if (this.done) return this.EOF;
|
|
462
462
|
this._input || (this.done = !0);
|
|
463
463
|
var e, t, n, r;
|
|
@@ -468,38 +468,40 @@ var h = (function() {
|
|
|
468
468
|
if (this._backtrack) {
|
|
469
469
|
t = !1;
|
|
470
470
|
continue;
|
|
471
|
-
}
|
|
472
|
-
|
|
471
|
+
}
|
|
472
|
+
return !1;
|
|
473
|
+
}
|
|
474
|
+
if (!this.options.flex) break;
|
|
473
475
|
}
|
|
474
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
476
|
+
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(), {
|
|
475
477
|
text: "",
|
|
476
478
|
token: null,
|
|
477
479
|
line: this.yylineno
|
|
478
480
|
});
|
|
479
481
|
}, "next"),
|
|
480
|
-
lex: /* @__PURE__ */
|
|
482
|
+
lex: /* @__PURE__ */ l(function() {
|
|
481
483
|
return this.next() || this.lex();
|
|
482
484
|
}, "lex"),
|
|
483
|
-
begin: /* @__PURE__ */
|
|
485
|
+
begin: /* @__PURE__ */ l(function(e) {
|
|
484
486
|
this.conditionStack.push(e);
|
|
485
487
|
}, "begin"),
|
|
486
|
-
popState: /* @__PURE__ */
|
|
488
|
+
popState: /* @__PURE__ */ l(function() {
|
|
487
489
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
488
490
|
}, "popState"),
|
|
489
|
-
_currentRules: /* @__PURE__ */
|
|
491
|
+
_currentRules: /* @__PURE__ */ l(function() {
|
|
490
492
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
491
493
|
}, "_currentRules"),
|
|
492
|
-
topState: /* @__PURE__ */
|
|
494
|
+
topState: /* @__PURE__ */ l(function(e) {
|
|
493
495
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
494
496
|
}, "topState"),
|
|
495
|
-
pushState: /* @__PURE__ */
|
|
497
|
+
pushState: /* @__PURE__ */ l(function(e) {
|
|
496
498
|
this.begin(e);
|
|
497
499
|
}, "pushState"),
|
|
498
|
-
stateStackSize: /* @__PURE__ */
|
|
500
|
+
stateStackSize: /* @__PURE__ */ l(function() {
|
|
499
501
|
return this.conditionStack.length;
|
|
500
502
|
}, "stateStackSize"),
|
|
501
503
|
options: { "case-insensitive": !0 },
|
|
502
|
-
performAction: /* @__PURE__ */
|
|
504
|
+
performAction: /* @__PURE__ */ l(function(e, t, n, r) {
|
|
503
505
|
switch (n) {
|
|
504
506
|
case 0: return e.getLogger().trace("Found comment", t.yytext), 6;
|
|
505
507
|
case 1: return 8;
|
|
@@ -657,7 +659,7 @@ var h = (function() {
|
|
|
657
659
|
function y() {
|
|
658
660
|
this.yy = {};
|
|
659
661
|
}
|
|
660
|
-
return
|
|
662
|
+
return l(y, "Parser"), y.prototype = v, v.Parser = y, new y();
|
|
661
663
|
})();
|
|
662
664
|
h.parser = h;
|
|
663
665
|
var g = h, _ = 12, v = {
|
|
@@ -674,7 +676,7 @@ var g = h, _ = 12, v = {
|
|
|
674
676
|
this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = v, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
|
|
675
677
|
}
|
|
676
678
|
static {
|
|
677
|
-
|
|
679
|
+
l(this, "MindmapDB");
|
|
678
680
|
}
|
|
679
681
|
clear() {
|
|
680
682
|
this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
|
|
@@ -686,26 +688,24 @@ var g = h, _ = 12, v = {
|
|
|
686
688
|
getMindmap() {
|
|
687
689
|
return this.nodes.length > 0 ? this.nodes[0] : null;
|
|
688
690
|
}
|
|
689
|
-
addNode(t, n, r,
|
|
690
|
-
e.info("addNode", t, n, r,
|
|
691
|
+
addNode(t, n, r, a) {
|
|
692
|
+
e.info("addNode", t, n, r, a);
|
|
691
693
|
let o = !1;
|
|
692
694
|
this.nodes.length === 0 ? (this.baseLevel = t, t = 0, o = !0) : this.baseLevel !== void 0 && (t -= this.baseLevel, o = !1);
|
|
693
|
-
let
|
|
694
|
-
switch (
|
|
695
|
+
let l = s(), u = l.mindmap?.padding ?? i.mindmap.padding;
|
|
696
|
+
switch (a) {
|
|
695
697
|
case this.nodeType.ROUNDED_RECT:
|
|
696
698
|
case this.nodeType.RECT:
|
|
697
|
-
case this.nodeType.HEXAGON:
|
|
698
|
-
u *= 2;
|
|
699
|
-
break;
|
|
699
|
+
case this.nodeType.HEXAGON: u *= 2;
|
|
700
700
|
}
|
|
701
701
|
let d = {
|
|
702
702
|
id: this.count++,
|
|
703
|
-
nodeId:
|
|
703
|
+
nodeId: c(n, l),
|
|
704
704
|
level: t,
|
|
705
|
-
descr:
|
|
706
|
-
type:
|
|
705
|
+
descr: c(r, l),
|
|
706
|
+
type: a,
|
|
707
707
|
children: [],
|
|
708
|
-
width:
|
|
708
|
+
width: l.mindmap?.maxNodeWidth ?? i.mindmap.maxNodeWidth,
|
|
709
709
|
padding: u,
|
|
710
710
|
isRoot: o
|
|
711
711
|
}, f = this.getParent(t);
|
|
@@ -732,8 +732,8 @@ var g = h, _ = 12, v = {
|
|
|
732
732
|
}
|
|
733
733
|
decorateNode(e) {
|
|
734
734
|
if (!e) return;
|
|
735
|
-
let t =
|
|
736
|
-
e.icon && (n.icon =
|
|
735
|
+
let t = s(), n = this.nodes[this.nodes.length - 1];
|
|
736
|
+
e.icon && (n.icon = c(e.icon, t)), e.class && (n.class = c(e.class, t));
|
|
737
737
|
}
|
|
738
738
|
type2Str(e) {
|
|
739
739
|
switch (e) {
|
|
@@ -748,16 +748,16 @@ var g = h, _ = 12, v = {
|
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
750
|
assignSections(e, t) {
|
|
751
|
-
if (e.level === 0 ?
|
|
751
|
+
if (e.section = e.level === 0 ? void 0 : t, e.children) for (let [n, r] of e.children.entries()) {
|
|
752
752
|
let i = e.level === 0 ? n % (_ - 1) : t;
|
|
753
753
|
this.assignSections(r, i);
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
|
-
flattenNodes(e,
|
|
757
|
-
let
|
|
758
|
-
e.isRoot === !0 ?
|
|
759
|
-
let
|
|
760
|
-
let t = (
|
|
756
|
+
flattenNodes(e, t) {
|
|
757
|
+
let n = s(), r = ["mindmap-node"];
|
|
758
|
+
e.isRoot === !0 ? r.push("section-root", "section--1") : e.section !== void 0 && r.push(`section-${e.section}`), e.class && r.push(e.class);
|
|
759
|
+
let i = r.join(" "), a = /* @__PURE__ */ l((e) => {
|
|
760
|
+
let t = (n.theme?.toLowerCase() ?? "").includes("redux");
|
|
761
761
|
switch (e) {
|
|
762
762
|
case v.CIRCLE: return "mindmapCircle";
|
|
763
763
|
case v.RECT: return "rect";
|
|
@@ -769,19 +769,19 @@ var g = h, _ = 12, v = {
|
|
|
769
769
|
case v.NO_BORDER:
|
|
770
770
|
default: return "rect";
|
|
771
771
|
}
|
|
772
|
-
}, "getShapeFromType"),
|
|
772
|
+
}, "getShapeFromType"), o = {
|
|
773
773
|
id: e.id.toString(),
|
|
774
774
|
domId: "node_" + e.id.toString(),
|
|
775
775
|
label: e.descr,
|
|
776
776
|
labelType: "markdown",
|
|
777
777
|
isGroup: !1,
|
|
778
|
-
shape:
|
|
778
|
+
shape: a(e.type),
|
|
779
779
|
width: e.width,
|
|
780
780
|
height: e.height ?? 0,
|
|
781
781
|
padding: e.padding,
|
|
782
|
-
cssClasses:
|
|
782
|
+
cssClasses: i,
|
|
783
783
|
cssStyles: [],
|
|
784
|
-
look:
|
|
784
|
+
look: n.look,
|
|
785
785
|
icon: e.icon,
|
|
786
786
|
x: e.x,
|
|
787
787
|
y: e.y,
|
|
@@ -790,11 +790,11 @@ var g = h, _ = 12, v = {
|
|
|
790
790
|
type: e.type,
|
|
791
791
|
section: e.section
|
|
792
792
|
};
|
|
793
|
-
if (
|
|
793
|
+
if (t.push(o), e.children) for (let n of e.children) this.flattenNodes(n, t);
|
|
794
794
|
}
|
|
795
795
|
generateEdges(e, t) {
|
|
796
796
|
if (!e.children) return;
|
|
797
|
-
let n =
|
|
797
|
+
let n = s();
|
|
798
798
|
for (let r of e.children) {
|
|
799
799
|
let i = "edge";
|
|
800
800
|
r.section !== void 0 && (i += ` section-edge-${r.section}`);
|
|
@@ -816,25 +816,25 @@ var g = h, _ = 12, v = {
|
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
818
|
getData() {
|
|
819
|
-
let t = this.getMindmap(), n =
|
|
819
|
+
let t = this.getMindmap(), n = s(), r = a().layout !== void 0, i = n;
|
|
820
820
|
if (r || (i.layout = "cose-bilkent"), !t) return {
|
|
821
821
|
nodes: [],
|
|
822
822
|
edges: [],
|
|
823
823
|
config: i
|
|
824
824
|
};
|
|
825
825
|
e.debug("getData: mindmapRoot", t, n), this.assignSections(t);
|
|
826
|
-
let
|
|
827
|
-
this.flattenNodes(t,
|
|
826
|
+
let o = [], c = [];
|
|
827
|
+
this.flattenNodes(t, o), this.generateEdges(t, c), e.debug(`getData: processed ${o.length} nodes and ${c.length} edges`);
|
|
828
828
|
let l = /* @__PURE__ */ new Map();
|
|
829
|
-
for (let e of
|
|
829
|
+
for (let e of o) l.set(e.id, {
|
|
830
830
|
shape: e.shape,
|
|
831
831
|
width: e.width,
|
|
832
832
|
height: e.height,
|
|
833
833
|
padding: e.padding
|
|
834
834
|
});
|
|
835
835
|
return {
|
|
836
|
-
nodes:
|
|
837
|
-
edges:
|
|
836
|
+
nodes: o,
|
|
837
|
+
edges: c,
|
|
838
838
|
config: i,
|
|
839
839
|
rootNode: t,
|
|
840
840
|
markers: ["point"],
|
|
@@ -849,46 +849,46 @@ var g = h, _ = 12, v = {
|
|
|
849
849
|
getLogger() {
|
|
850
850
|
return e;
|
|
851
851
|
}
|
|
852
|
-
}, b = { draw: /* @__PURE__ */
|
|
852
|
+
}, b = { draw: /* @__PURE__ */ l(async (t, r, a, o) => {
|
|
853
853
|
e.debug("Rendering mindmap diagram\n" + t);
|
|
854
|
-
let s = o.db, c = s.getData(), l = p(
|
|
855
|
-
if (c.type = o.type, c.layoutAlgorithm = d(c.config.layout, { fallback: "cose-bilkent" }), c.diagramId =
|
|
854
|
+
let s = o.db, c = s.getData(), l = p(r, c.config.securityLevel);
|
|
855
|
+
if (c.type = o.type, c.layoutAlgorithm = d(c.config.layout, { fallback: "cose-bilkent" }), c.diagramId = r, !s.getMindmap()) return;
|
|
856
856
|
c.nodes.forEach((e) => {
|
|
857
857
|
e.shape === "rounded" ? (e.radius = 15, e.taper = 15, e.stroke = "none", e.width = 0, e.padding = 15) : e.shape === "circle" ? e.padding = 10 : e.shape === "rect" ? (e.width = 0, e.padding = 10) : e.shape === "hexagon" && (e.width = 0, e.height = 0);
|
|
858
858
|
}), await u(c, l);
|
|
859
|
-
let { themeVariables: f } =
|
|
859
|
+
let { themeVariables: f } = n(), { useGradient: h, gradientStart: g, gradientStop: _ } = f;
|
|
860
860
|
if (h && g && _) {
|
|
861
861
|
let e = l.attr("id"), t = l.append("defs").append("linearGradient").attr("id", `${e}-gradient`).attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
862
862
|
t.append("stop").attr("offset", "0%").attr("stop-color", g).attr("stop-opacity", 1), t.append("stop").attr("offset", "100%").attr("stop-color", _).attr("stop-opacity", 1);
|
|
863
863
|
}
|
|
864
|
-
m(l, c.config.mindmap?.padding ??
|
|
865
|
-
}, "draw") }, x = /* @__PURE__ */
|
|
866
|
-
let { theme:
|
|
867
|
-
for (let
|
|
868
|
-
for (let
|
|
869
|
-
let
|
|
864
|
+
m(l, c.config.mindmap?.padding ?? i.mindmap.padding, "mindmapDiagram", c.config.mindmap?.useMaxWidth ?? i.mindmap.useMaxWidth);
|
|
865
|
+
}, "draw") }, x = /* @__PURE__ */ l((e) => {
|
|
866
|
+
let { theme: n, look: i } = e, a = "";
|
|
867
|
+
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) e["lineColor" + n] = e["lineColor" + n] || e["cScaleInv" + n], o(e["lineColor" + n]) ? e["lineColor" + n] = r(e["lineColor" + n], 20) : e["lineColor" + n] = t(e["lineColor" + n], 20);
|
|
868
|
+
for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) {
|
|
869
|
+
let r = "" + (i === "neo" ? Math.max(10 - (t - 1) * 2, 2) : 17 - 3 * t);
|
|
870
870
|
a += `
|
|
871
|
-
.section-${
|
|
872
|
-
fill: ${e["cScale" +
|
|
871
|
+
.section-${t - 1} rect, .section-${t - 1} path, .section-${t - 1} circle, .section-${t - 1} polygon, .section-${t - 1} path {
|
|
872
|
+
fill: ${e["cScale" + t]};
|
|
873
873
|
}
|
|
874
|
-
.section-${
|
|
875
|
-
fill: ${e["cScaleLabel" +
|
|
874
|
+
.section-${t - 1} text {
|
|
875
|
+
fill: ${e["cScaleLabel" + t]};
|
|
876
876
|
}
|
|
877
|
-
.section-${
|
|
878
|
-
color: ${e["cScaleLabel" +
|
|
877
|
+
.section-${t - 1} span {
|
|
878
|
+
color: ${e["cScaleLabel" + t]};
|
|
879
879
|
}
|
|
880
|
-
.node-icon-${
|
|
880
|
+
.node-icon-${t - 1} {
|
|
881
881
|
font-size: 40px;
|
|
882
|
-
color: ${e["cScaleLabel" +
|
|
882
|
+
color: ${e["cScaleLabel" + t]};
|
|
883
883
|
}
|
|
884
|
-
.section-edge-${
|
|
885
|
-
stroke: ${e["cScale" +
|
|
884
|
+
.section-edge-${t - 1}{
|
|
885
|
+
stroke: ${e["cScale" + t]};
|
|
886
886
|
}
|
|
887
|
-
.edge-depth-${
|
|
888
|
-
stroke-width: ${
|
|
887
|
+
.edge-depth-${t - 1}{
|
|
888
|
+
stroke-width: ${r};
|
|
889
889
|
}
|
|
890
|
-
.section-${
|
|
891
|
-
stroke: ${e["cScaleInv" +
|
|
890
|
+
.section-${t - 1} line {
|
|
891
|
+
stroke: ${e["cScaleInv" + t]} ;
|
|
892
892
|
stroke-width: 3;
|
|
893
893
|
}
|
|
894
894
|
|
|
@@ -898,21 +898,21 @@ var g = h, _ = 12, v = {
|
|
|
898
898
|
.disabled text {
|
|
899
899
|
fill: #efefef;
|
|
900
900
|
}
|
|
901
|
-
[data-look="neo"].mindmap-node.section-${
|
|
902
|
-
fill: ${
|
|
903
|
-
stroke: ${
|
|
901
|
+
[data-look="neo"].mindmap-node.section-${t - 1} rect, [data-look="neo"].mindmap-node.section-${t - 1} path, [data-look="neo"].mindmap-node.section-${t - 1} circle, [data-look="neo"].mindmap-node.section-${t - 1} polygon {
|
|
902
|
+
fill: ${n === "redux" || n === "redux-dark" || n === "neutral" ? e.mainBkg : e["cScale" + t]};
|
|
903
|
+
stroke: ${n === "redux" || n === "redux-dark" ? e.nodeBorder : e["cScale" + t]};
|
|
904
904
|
stroke-width: ${e.strokeWidth ?? 2}px;
|
|
905
905
|
}
|
|
906
|
-
[data-look="neo"].section-edge-${
|
|
907
|
-
stroke: ${
|
|
906
|
+
[data-look="neo"].section-edge-${t - 1}{
|
|
907
|
+
stroke: ${n?.includes("redux") || n === "neo-dark" ? e.nodeBorder : e["cScale" + t]};
|
|
908
908
|
}
|
|
909
|
-
[data-look="neo"].mindmap-node.section-${
|
|
910
|
-
fill: ${
|
|
909
|
+
[data-look="neo"].mindmap-node.section-${t - 1} text {
|
|
910
|
+
fill: ${n === "redux" || n === "redux-dark" ? e.nodeBorder : e["cScaleLabel" + (n === "neutral" ? 1 : t)]};
|
|
911
911
|
}
|
|
912
912
|
`;
|
|
913
913
|
}
|
|
914
914
|
return a;
|
|
915
|
-
}, "genSections"), S = /* @__PURE__ */
|
|
915
|
+
}, "genSections"), S = /* @__PURE__ */ l((e, t, n) => {
|
|
916
916
|
let r = "";
|
|
917
917
|
for (let i = 0; i < e; i++) r += `
|
|
918
918
|
[data-look="neo"].mindmap-node.section-${i - 1} rect, [data-look="neo"].mindmap-node.section-${i - 1} path, [data-look="neo"].mindmap-node.section-${i - 1} circle, [data-look="neo"].mindmap-node.section-${i - 1} polygon {
|
|
@@ -929,7 +929,7 @@ var g = h, _ = 12, v = {
|
|
|
929
929
|
},
|
|
930
930
|
renderer: b,
|
|
931
931
|
parser: g,
|
|
932
|
-
styles: /* @__PURE__ */
|
|
932
|
+
styles: /* @__PURE__ */ l((e) => {
|
|
933
933
|
let { theme: t } = e, n = e.svgId, r = e.dropShadow ? e.dropShadow.replace("url(#drop-shadow)", `url(${n}-drop-shadow)`) : "none";
|
|
934
934
|
return `
|
|
935
935
|
.edge {
|