@sme.up/ketchup2 2.6.0 → 2.8.0
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-C9blQ78p.cjs +1 -0
- package/dist/abnfDiagram-VCTEODGH-DZIaCwNE.js +89 -0
- package/dist/{arc-yUAZoqJP.js → arc-7ZXqzxve.js} +1 -1
- package/dist/{arc-CYi2lpSd.cjs → arc-DBilzVYt.cjs} +1 -1
- package/dist/architecture-7GRP2DOG-DYFsLst2.js +3 -0
- package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +1 -0
- package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +36 -0
- package/dist/{architectureDiagram-3BPJPVTR-CMX2LiQK.js → architectureDiagram-5GKGNRK7-BJvIxhbL.js} +338 -252
- package/dist/assets/svg/functions.svg +1 -0
- package/dist/basic-components/autocomplete/autocomplete-types.d.ts +2 -1
- package/dist/basic-components/autocomplete/autocomplete-types.d.ts.map +1 -1
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button/button-utils.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-utils.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/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/blockDiagram-I7D4REHJ-C5aW9ypR.js +1919 -0
- package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +129 -0
- package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +38 -0
- package/dist/{c4Diagram-AAUBKEIU-BUOgTWLR.js → c4Diagram-7LVT6UL2-JxFfT5VH.js} +808 -789
- package/dist/channel-BvUly9jN.cjs +1 -0
- package/dist/{channel-CAhFwf6U.js → channel-D6agWknC.js} +1 -1
- package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +1 -0
- package/dist/chunk-2E4U76K2-C8vehurw.js +346 -0
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
- package/dist/{chunk-QZHKN3VN-cS9OamWo.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
- package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +62 -0
- package/dist/{chunk-3OPIFGDE-BYuWDDGY.js → chunk-4HAMMTFA-MZIwowe1.js} +1665 -1143
- package/dist/{chunk-FMBD7UC4-Cia16Ryi.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
- package/dist/{chunk-FMBD7UC4-BLLpskYF.cjs → chunk-5VM5RSS4-CwDmQ9T_.cjs} +1 -1
- package/dist/{chunk-5ZQYHXKU-BvO58_5C.js → chunk-75Z2AOVW-BwUD389x.js} +56 -55
- package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +2 -0
- package/dist/chunk-CLGD4ZFX-DKRy6g5T.js +10 -0
- package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +1 -0
- package/dist/{chunk-CSCIHK7Q-Drr_NBLR.js → chunk-DU6HZSFF-CNSdkWoH.js} +1584 -621
- package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +127 -0
- package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +1 -0
- package/dist/{chunk-ND2GUHAM-CKQ1Jk8O.js → chunk-F27PBJKO-DKsmevT5.js} +18 -17
- package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +161 -0
- package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-C49KxWOg.js} +5156 -4419
- package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +72 -0
- package/dist/{chunk-O5CBEL6O-BIU6TcWp.js → chunk-GMAD6QVW-DKxKOKLF.js} +459 -503
- package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +1 -0
- package/dist/chunk-GVQU2GXP-w4KY-she.js +37 -0
- package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +231 -0
- package/dist/{chunk-AQP2D5EJ-Cp3ieoZF.js → chunk-IMKFNOWR-DHxMOe_C.js} +313 -291
- package/dist/{chunk-4BX2VUAB-B74FMcxr.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
- package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +1 -0
- package/dist/chunk-L3NEJ4N5-CvNbHpcd.js +245 -0
- package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
- package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +34 -0
- package/dist/{chunk-KSCS5N6A-pd39ksIM.js → chunk-OSK3NFVY-BmtDbEvT.js} +304 -195
- package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +10 -0
- package/dist/chunk-P2QGCYS3-DRvvOWJ2.js +67 -0
- package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +1 -0
- package/dist/chunk-POPQ4Y6H-CaEkosGL.js +26 -0
- package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +1 -0
- package/dist/chunk-PWAF6VOD-CbmhQpgH.js +277 -0
- package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +1 -0
- package/dist/{flowDiagram-I6XJVG4X-Dx5d6cgt.js → chunk-SHT3W25Y-DJgD-hyF.js} +581 -538
- package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +168 -0
- package/dist/chunk-SVP7TREG-BNwvtyzm.js +490 -0
- package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +88 -0
- package/dist/chunk-TICWLB2K-1u0p_luB.cjs +206 -0
- package/dist/{chunk-727SXJPM-BDsxon3G.js → chunk-TICWLB2K-DqSHwYf9.js} +185 -180
- package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +1 -0
- package/dist/{chunk-LZXEDZCA-oQMllZja.js → chunk-TLUHSLCS-opHh7fd-.js} +35 -25
- package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +1 -0
- package/dist/chunk-XXDRQBXY-BZK6GgVm.js +9 -0
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
- package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +30 -0
- package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +1 -0
- package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +1 -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/box-list/box-list.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/columns/useColumnWidths.d.ts +6 -1
- package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
- package/dist/components/data-table/data-table-types.d.ts +108 -4
- 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 +14 -4
- package/dist/components/data-table/header/header-types.d.ts.map +1 -1
- package/dist/components/data-table/sorting/parseDftSort.d.ts +14 -0
- package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -0
- package/dist/components/data-table/sorting/parseDftSort.test.d.ts +2 -0
- package/dist/components/data-table/sorting/parseDftSort.test.d.ts.map +1 -0
- package/dist/components/data-table/sorting/sortTable-utils.d.ts +8 -9
- package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
- package/dist/components/data-table/sorting/useSortableTable.d.ts +3 -5
- package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
- package/dist/components/data-table/state/datatable-state.d.ts +1 -0
- package/dist/components/data-table/state/datatable-state.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/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 +109 -0
- package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts +86 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -0
- 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 +15 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -0
- package/dist/{cose-bilkent-S5V4N54A-DZmA7Nat.js → cose-bilkent-JH36ORCC-CE0T5PqO.js} +23 -23
- package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +1 -0
- package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +1 -0
- package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +3 -0
- package/dist/cynefinDiagram-5FMLGOSQ-D5vkxB9p.js +349 -0
- package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +62 -0
- package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-BQqfb1oS.js} +2260 -2206
- package/dist/cytoscape.esm-TdwWzXkE.cjs +321 -0
- package/dist/dagre-GXQ25YYZ-CFXgAmuL.js +423 -0
- package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +4 -0
- package/dist/{dagre-B2BBwKNb.cjs → dagre-nX1Mh32P.cjs} +1 -1
- package/dist/{dagre-3-RnF0EK.js → dagre-qXSFUdzO.js} +131 -131
- package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +30 -0
- package/dist/diagram-S7CK7UJ4-DrGNegqs.js +301 -0
- package/dist/{diagram-2AECGRRQ-BITzWXbn.js → diagram-UQ7AKVKN-LU56O9S9.js} +82 -81
- package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +41 -0
- package/dist/{diagram-KO2AKTUF-DwTH3Hoo.js → diagram-VSXAHHWV-CaQnupEx.js} +66 -65
- package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +3 -0
- package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +24 -0
- package/dist/{diagram-OG6HWLK6-CPzvG6Xi.js → diagram-VX7I27RA-DH-s9daK.js} +105 -104
- package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +24 -0
- package/dist/{diagram-LMA3HP47-nYPIM4Uq.js → diagram-Z3DM3KII-DWhRX2l9.js} +21 -20
- package/dist/{dist-BEmBi80K.js → dist-C7OpkiTz.js} +2 -3
- package/dist/dist-DrOEvFlx.cjs +1 -0
- package/dist/ebnfDiagram-PWID7BFC-CtT2erlt.js +100 -0
- package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +1 -0
- package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +99 -0
- package/dist/erDiagram-RLTQ6QDP-CxxAoCSs.js +1966 -0
- package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +3 -0
- package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +1 -0
- package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +1 -0
- package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +17 -0
- package/dist/functional-components/action-list/action-list-types.d.ts +0 -7
- package/dist/functional-components/action-list/action-list-types.d.ts.map +1 -1
- package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
- 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 +13 -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-EL5Y4UJY-Bee0Pd-N.cjs +292 -0
- package/dist/{ganttDiagram-6RSMTGT7-CFuwKLrB.js → ganttDiagram-EL5Y4UJY-C04RZW4s.js} +642 -639
- package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +3 -0
- package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +1 -0
- package/dist/{gitGraphDiagram-PVQCEYII-B2CaQTP_.js → gitGraphDiagram-WWUBYQGX-BTcuEGsY.js} +146 -145
- package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +106 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/info-A6RAGUB7-C0KA0jej.cjs +1 -0
- package/dist/info-A6RAGUB7-DYBvudiC.js +3 -0
- package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +2 -0
- package/dist/infoDiagram-27XIBGKW-BoUOV42E.js +20 -0
- package/dist/{ishikawaDiagram-YF4QCWOH-CfOvUIo-.js → ishikawaDiagram-5VMMS53U-D15Hi9wp.js} +134 -133
- package/dist/{ishikawaDiagram-YF4QCWOH-CSRSkgHx.cjs → ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs} +6 -6
- package/dist/{journeyDiagram-JHISSGLW-BMECXtd1.js → journeyDiagram-3NMN7TZE-BUb4frTN.js} +181 -180
- package/dist/{journeyDiagram-JHISSGLW-P42eSNEh.cjs → journeyDiagram-3NMN7TZE-CxVpPKa-.cjs} +8 -8
- package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +89 -0
- package/dist/{kanban-definition-UN3LZRKU-DCzfGTs4.js → kanban-definition-UXKFOSKX-DkgBC20j.js} +141 -138
- package/dist/katex-DUe6VLjC.cjs +257 -0
- package/dist/{katex-D-2KeLwt.js → katex-Dyoqg6Cv.js} +1562 -1600
- package/dist/ketchup2.cjs.js +405 -101
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +151183 -119083
- package/dist/{line-0G6sJTVA.js → line-BEo8vh4N.js} +1 -1
- package/dist/{line-CLmmMPn2.cjs → line-wiGgVVGi.cjs} +1 -1
- package/dist/{linear-BNWgac81.js → linear-BNesvT28.js} +1 -1
- package/dist/{linear-yBssgUAc.cjs → linear-YA14Lx5Z.cjs} +1 -1
- package/dist/locale/en/translation.json.d.ts +23 -0
- package/dist/locale/it/translation.json.d.ts +24 -1
- package/dist/mermaid-parser.core-CqChDTj1.cjs +6 -0
- package/dist/mermaid-parser.core-oFB-qEU8.js +638 -0
- package/dist/{mindmap-definition-RKZ34NQL-DbK4qO1Z.cjs → mindmap-definition-YA3MSWOX-0PG4raFG.cjs} +11 -11
- package/dist/{mindmap-definition-RKZ34NQL-DpX8ksst.js → mindmap-definition-YA3MSWOX-Cjs12XgD.js} +156 -154
- package/dist/packet-AYTQ26CC-BEwXWBE0.js +3 -0
- package/dist/packet-AYTQ26CC-DfXUrk97.cjs +1 -0
- package/dist/pegDiagram-XKGWAZYB-BuyVzOiH.js +94 -0
- package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +1 -0
- package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +1 -0
- package/dist/pie-WAS4IAKB-BOR5Wwai.js +3 -0
- package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +39 -0
- package/dist/pieDiagram-E7YTZNPT-D4bB4TDP.js +205 -0
- package/dist/{quadrantDiagram-W4KKPZXB-Bgw66PrU.js → quadrantDiagram-AXDQQJYC-B6Q9biU9.js} +293 -293
- package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +7 -0
- package/dist/radar-RG4KPBEZ-BwLQFFzF.js +3 -0
- package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +1 -0
- package/dist/railroad-74A4TZTK-CaWzRQE0.js +3 -0
- package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +1 -0
- package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +1 -0
- package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +3 -0
- package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +1 -0
- package/dist/railroadDiagram-O6MQD6OU-DFR4_PxB.js +76 -0
- package/dist/{requirementDiagram-4Y6WPE33-BzNEhq-x.js → requirementDiagram-BXWQKSXE-BfWCCTu8.js} +169 -166
- package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +84 -0
- package/dist/{sankeyDiagram-5OEKKPKP-06MsaQmt.js → sankeyDiagram-P5KCCOFB-B_3NESVW.js} +109 -108
- package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +40 -0
- package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +162 -0
- package/dist/{sequenceDiagram-3UESZ5HK-QEaDF4MY.js → sequenceDiagram-WJ2MYXX4-B8W9PUBb.js} +692 -688
- package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
- package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +1 -0
- package/dist/src-B16ML7oM.cjs +1 -0
- package/dist/{src-GDFuItmC.js → src-D-6ZfKf9.js} +587 -579
- package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +1 -0
- package/dist/stateDiagram-D77RDMKH-IwptGFzp.js +220 -0
- package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +1 -0
- package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +30 -0
- package/dist/swimlanes-42K2YHIH-jhIjSCsq.js +4976 -0
- package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +1 -0
- package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +31 -0
- package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +8 -0
- package/dist/{timeline-definition-PNZ67QCA-DoD4D5kw.js → timeline-definition-24CTP7MA-C6u6A92C.js} +212 -211
- package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +120 -0
- package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +3 -0
- package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +1 -0
- package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +1 -0
- package/dist/treemap-WGGIJYW6-D4tTzsvR.js +3 -0
- package/dist/types/data-structures.d.ts +0 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/types/global.d.ts +1 -1
- package/dist/types/global.d.ts.map +1 -1
- package/dist/types/translation.d.ts +24 -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/{vennDiagram-CIIHVFJN-Du1h-z8K.js → vennDiagram-4TSXK5OY-Bt9cyeRX.js} +324 -302
- package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +34 -0
- package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +1 -0
- package/dist/wardley-WFR3VGLG-D1o3hFSK.js +3 -0
- package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +78 -0
- package/dist/{wardleyDiagram-YWT4CUSO-CjOm3Xnp.js → wardleyDiagram-VM6X3IG4-QkNx10Ny.js} +144 -143
- package/dist/{xychartDiagram-2RQKCTM6-D0hXWFFN.js → xychartDiagram-S5SC5T6Z-BSwoR01A.js} +729 -559
- package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +7 -0
- package/package.json +6 -2
- package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
- package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
- package/dist/architectureDiagram-3BPJPVTR-C8DI7_Rn.cjs +0 -36
- package/dist/assets/shapeListAssets.d.ts +0 -22
- package/dist/assets/shapeListAssets.d.ts.map +0 -1
- package/dist/basic-components/card/card-slot-resolver.d.ts +0 -6
- package/dist/basic-components/card/card-slot-resolver.d.ts.map +0 -1
- package/dist/basic-components/card/card-types.d.ts +0 -43
- package/dist/basic-components/card/card-types.d.ts.map +0 -1
- package/dist/basic-components/card/card.d.ts +0 -5
- package/dist/basic-components/card/card.d.ts.map +0 -1
- package/dist/basic-components/card/flow/aside/index.d.ts +0 -2
- package/dist/basic-components/card/flow/aside/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/compact/index.d.ts +0 -2
- package/dist/basic-components/card/flow/compact/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/editorial/index.d.ts +0 -2
- package/dist/basic-components/card/flow/editorial/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/minimal/index.d.ts +0 -2
- package/dist/basic-components/card/flow/minimal/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/overlay/index.d.ts +0 -2
- package/dist/basic-components/card/flow/overlay/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/shared/flow-layout.d.ts +0 -4
- package/dist/basic-components/card/flow/shared/flow-layout.d.ts.map +0 -1
- package/dist/basic-components/card/flow/split/index.d.ts +0 -2
- package/dist/basic-components/card/flow/split/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/spotlight/index.d.ts +0 -2
- package/dist/basic-components/card/flow/spotlight/index.d.ts.map +0 -1
- package/dist/basic-components/card/flow/tiles/index.d.ts +0 -2
- package/dist/basic-components/card/flow/tiles/index.d.ts.map +0 -1
- package/dist/basic-components/card/layout-registry.d.ts +0 -4
- package/dist/basic-components/card/layout-registry.d.ts.map +0 -1
- package/dist/basic-components/card/positional/collaborator/index.d.ts +0 -4
- package/dist/basic-components/card/positional/collaborator/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/detailed-object/index.d.ts +0 -5
- package/dist/basic-components/card/positional/detailed-object/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/financial/index.d.ts +0 -4
- package/dist/basic-components/card/positional/financial/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/folder-grid/index.d.ts +0 -4
- package/dist/basic-components/card/positional/folder-grid/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/hero/index.d.ts +0 -4
- package/dist/basic-components/card/positional/hero/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/product/index.d.ts +0 -4
- package/dist/basic-components/card/positional/product/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/shared/object-card.d.ts +0 -24
- package/dist/basic-components/card/positional/shared/object-card.d.ts.map +0 -1
- package/dist/basic-components/card/positional/shared/utils.d.ts +0 -26
- package/dist/basic-components/card/positional/shared/utils.d.ts.map +0 -1
- package/dist/basic-components/card/positional/simple-object/index.d.ts +0 -5
- package/dist/basic-components/card/positional/simple-object/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/tooltip/index.d.ts +0 -4
- package/dist/basic-components/card/positional/tooltip/index.d.ts.map +0 -1
- package/dist/basic-components/card/positional/trend/index.d.ts +0 -4
- package/dist/basic-components/card/positional/trend/index.d.ts.map +0 -1
- package/dist/blockDiagram-GPEHLZMM-C7mogpj_.cjs +0 -132
- package/dist/blockDiagram-GPEHLZMM-fcAaH_Ka.js +0 -3157
- package/dist/c4Diagram-AAUBKEIU-BjsHAdap.cjs +0 -10
- package/dist/cell-NyD4Bcyq.js +0 -6457
- package/dist/cell-dpOG-xr_.cjs +0 -6
- package/dist/channel-BzP1tmYc.cjs +0 -1
- package/dist/chunk-2J33WTMH-BulZYTKs.js +0 -25
- package/dist/chunk-2J33WTMH-DIfvCbWZ.cjs +0 -1
- package/dist/chunk-3OPIFGDE-Ohf7vgmX.cjs +0 -62
- package/dist/chunk-4BX2VUAB-DdliHvKq.cjs +0 -1
- package/dist/chunk-55IACEB6-D5PlvtBC.js +0 -8
- package/dist/chunk-55IACEB6-DzCdT-ru.cjs +0 -1
- package/dist/chunk-5ZQYHXKU-35HHGVyc.cjs +0 -2
- package/dist/chunk-727SXJPM-BCv3AEZb.cjs +0 -206
- package/dist/chunk-AQP2D5EJ-CPbTYzEZ.cjs +0 -231
- package/dist/chunk-BSJP7CBP-BjkTjHJ6.js +0 -82
- package/dist/chunk-BSJP7CBP-DtjFXF0S.cjs +0 -1
- package/dist/chunk-CSCIHK7Q-WWTYrQLt.cjs +0 -122
- package/dist/chunk-Dqa2HsxW.js +0 -20
- package/dist/chunk-KSCS5N6A-DSWnBtbV.cjs +0 -10
- package/dist/chunk-L5ZTLDWV-DXk-PQPS.js +0 -32
- package/dist/chunk-L5ZTLDWV-sRcGREMv.cjs +0 -1
- package/dist/chunk-LZXEDZCA-4kbGESh2.cjs +0 -1
- package/dist/chunk-ND2GUHAM-See9KDdJ.cjs +0 -1
- package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
- package/dist/chunk-NZK2D7GU-CqugOMaJ.js +0 -67
- package/dist/chunk-NZK2D7GU-FNVK0iHI.cjs +0 -1
- package/dist/chunk-O5CBEL6O-BU_i0jbb.cjs +0 -70
- package/dist/chunk-QZHKN3VN-DPdobKra.cjs +0 -1
- package/dist/chunk-WU5MYG2G-BL6T82Hi.js +0 -9
- package/dist/chunk-WU5MYG2G-qi7ZaL3o.cjs +0 -1
- package/dist/chunk-XPW4576I-B9aC8EBY.js +0 -1146
- package/dist/chunk-XPW4576I-Dsm0jctf.cjs +0 -32
- package/dist/chunk-mLOUI7ql.cjs +0 -1
- package/dist/classDiagram-4FO5ZUOK-Dc-Jypl3.js +0 -29
- package/dist/classDiagram-4FO5ZUOK-Dqxk6PU-.cjs +0 -1
- package/dist/classDiagram-v2-Q7XG4LA2-DZ44tKmY.js +0 -29
- package/dist/classDiagram-v2-Q7XG4LA2-Dqxk6PU-.cjs +0 -1
- package/dist/components/shape-list/components/error-boundary.d.ts +0 -16
- package/dist/components/shape-list/components/error-boundary.d.ts.map +0 -1
- package/dist/components/shape-list/components/shape-list-drill-down.d.ts +0 -4
- package/dist/components/shape-list/components/shape-list-drill-down.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/command-panel.d.ts +0 -15
- package/dist/components/shape-list/components/toolbar/command-panel.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/command-trigger.d.ts +0 -16
- package/dist/components/shape-list/components/toolbar/command-trigger.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/filter-picker.d.ts +0 -14
- package/dist/components/shape-list/components/toolbar/filter-picker.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/json-viewer.d.ts +0 -11
- package/dist/components/shape-list/components/toolbar/json-viewer.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts +0 -15
- package/dist/components/shape-list/components/toolbar/navigation-picker.d.ts.map +0 -1
- package/dist/components/shape-list/components/toolbar/sort-picker.d.ts +0 -14
- package/dist/components/shape-list/components/toolbar/sort-picker.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-context.d.ts +0 -31
- package/dist/components/shape-list/context/shape-list-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-filter-context.d.ts +0 -9
- package/dist/components/shape-list/context/shape-list-filter-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-sort-context.d.ts +0 -9
- package/dist/components/shape-list/context/shape-list-sort-context.d.ts.map +0 -1
- package/dist/components/shape-list/context/shape-list-state-context.d.ts +0 -5
- package/dist/components/shape-list/context/shape-list-state-context.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useCommandPickers.d.ts +0 -13
- package/dist/components/shape-list/hooks/useCommandPickers.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useLazyShapeData.d.ts +0 -35
- package/dist/components/shape-list/hooks/useLazyShapeData.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts +0 -2
- package/dist/components/shape-list/hooks/useLazyShapeData.test.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useNavigation.d.ts +0 -16
- package/dist/components/shape-list/hooks/useNavigation.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useSelection.d.ts +0 -34
- package/dist/components/shape-list/hooks/useSelection.d.ts.map +0 -1
- package/dist/components/shape-list/hooks/useStripOverflow.d.ts +0 -17
- package/dist/components/shape-list/hooks/useStripOverflow.d.ts.map +0 -1
- package/dist/components/shape-list/items/node-content.d.ts +0 -47
- package/dist/components/shape-list/items/node-content.d.ts.map +0 -1
- package/dist/components/shape-list/items/shape.d.ts +0 -20
- package/dist/components/shape-list/items/shape.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts +0 -13
- package/dist/components/shape-list/navigation-modes/_shared/navigation-orchestrator.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/_shared/panel/context-menu.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts +0 -7
- package/dist/components/shape-list/navigation-modes/_shared/panel/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/_shared/panel/item-content.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts +0 -18
- package/dist/components/shape-list/navigation-modes/_shared/panel/panel.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts +0 -8
- package/dist/components/shape-list/navigation-modes/_shared/panel/rail-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts +0 -6
- package/dist/components/shape-list/navigation-modes/_shared/panel/section-view.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts +0 -13
- package/dist/components/shape-list/navigation-modes/_shared/panel/shell.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts +0 -9
- package/dist/components/shape-list/navigation-modes/_shared/panel/tree-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/_shared/strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-child-popup.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-item.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/_shared/strip/strip-overflow-button.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/catalog/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/catalog/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/catalog/shape-list-catalog.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/compact/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/compact/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/compact/shape-list-compact.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/index.d.ts +0 -4
- package/dist/components/shape-list/navigation-modes/explorer/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-explorer.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/explorer/shape-list-tree.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/h-strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/h-strip/shape-list-h-strip.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/modal/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/modal/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/modal/shape-list-modal.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/rail/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/rail/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/rail/shape-list-rail.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/sidebar/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/sidebar/shape-list-sidebar.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/slideshow/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/slideshow/shape-list-slideshow.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/v-strip/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts +0 -5
- package/dist/components/shape-list/navigation-modes/v-strip/shape-list-v-strip.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/workspace/index.d.ts +0 -3
- package/dist/components/shape-list/navigation-modes/workspace/index.d.ts.map +0 -1
- package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts +0 -11
- package/dist/components/shape-list/navigation-modes/workspace/shape-list-workspace.d.ts.map +0 -1
- package/dist/components/shape-list/shape-list.d.ts +0 -5
- package/dist/components/shape-list/shape-list.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/brand.d.ts +0 -6
- package/dist/components/shape-list/slots/renderers/brand.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/cta.d.ts +0 -9
- package/dist/components/shape-list/slots/renderers/cta.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/icon.d.ts +0 -11
- package/dist/components/shape-list/slots/renderers/icon.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/section-header.d.ts +0 -7
- package/dist/components/shape-list/slots/renderers/section-header.d.ts.map +0 -1
- package/dist/components/shape-list/slots/renderers/shape-cell.d.ts +0 -9
- package/dist/components/shape-list/slots/renderers/shape-cell.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-config.d.ts +0 -7
- package/dist/components/shape-list/slots/slot-config.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-model.d.ts +0 -6
- package/dist/components/shape-list/slots/slot-model.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-node.d.ts +0 -9
- package/dist/components/shape-list/slots/slot-node.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-render-utils.d.ts +0 -11
- package/dist/components/shape-list/slots/slot-render-utils.d.ts.map +0 -1
- package/dist/components/shape-list/slots/slot-types.d.ts +0 -151
- package/dist/components/shape-list/slots/slot-types.d.ts.map +0 -1
- package/dist/components/shape-list/slots/test/slot-model.test.d.ts +0 -2
- package/dist/components/shape-list/slots/test/slot-model.test.d.ts.map +0 -1
- package/dist/components/shape-list/types/shape-list-types.d.ts +0 -181
- package/dist/components/shape-list/types/shape-list-types.d.ts.map +0 -1
- package/dist/components/shape-list/utils/column-utils.d.ts +0 -9
- package/dist/components/shape-list/utils/column-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/debug-utils.d.ts +0 -13
- package/dist/components/shape-list/utils/debug-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/filter-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/filter-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/keyboard-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/keyboard-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/navigation-options.d.ts +0 -30
- package/dist/components/shape-list/utils/navigation-options.d.ts.map +0 -1
- package/dist/components/shape-list/utils/node-utils.d.ts +0 -12
- package/dist/components/shape-list/utils/node-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/sort-utils.d.ts +0 -13
- package/dist/components/shape-list/utils/sort-utils.d.ts.map +0 -1
- package/dist/components/shape-list/utils/typeahead-utils.d.ts +0 -28
- package/dist/components/shape-list/utils/typeahead-utils.d.ts.map +0 -1
- package/dist/cose-bilkent-S5V4N54A-BxQyjZqX.cjs +0 -1
- package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
- package/dist/dagre-BM42HDAG-DwRqEen8.js +0 -297
- package/dist/dagre-BM42HDAG-E2Jw6uLH.cjs +0 -4
- package/dist/diagram-2AECGRRQ-BkwGTiAT.cjs +0 -43
- package/dist/diagram-5GNKFQAL-CvMOQgoH.cjs +0 -10
- package/dist/diagram-5GNKFQAL-bsRwDc-2.js +0 -101
- package/dist/diagram-KO2AKTUF-DKGDs9Ax.cjs +0 -3
- package/dist/diagram-LMA3HP47-BojSLu6w.cjs +0 -24
- package/dist/diagram-OG6HWLK6-bHqMXqif.cjs +0 -24
- package/dist/dist-Dwq87x4R.cjs +0 -1
- package/dist/erDiagram-TEJ5UH35-BxeM1F9k.js +0 -1700
- package/dist/erDiagram-TEJ5UH35-CqUBZsAh.cjs +0 -85
- package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
- package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
- package/dist/flowDiagram-I6XJVG4X-DsjMn89E.cjs +0 -162
- package/dist/functional-components/shape/index.d.ts +0 -9
- package/dist/functional-components/shape/index.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-map.d.ts +0 -3
- package/dist/functional-components/shape/shape-map.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-registry.d.ts +0 -25
- package/dist/functional-components/shape/shape-registry.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-resolver.d.ts +0 -61
- package/dist/functional-components/shape/shape-resolver.d.ts.map +0 -1
- package/dist/functional-components/shape/shape-types.d.ts +0 -55
- package/dist/functional-components/shape/shape-types.d.ts.map +0 -1
- package/dist/functional-components/shape/shape.d.ts +0 -5
- package/dist/functional-components/shape/shape.d.ts.map +0 -1
- package/dist/functional-components/shape/slot-resolver.d.ts +0 -24
- package/dist/functional-components/shape/slot-resolver.d.ts.map +0 -1
- package/dist/functional-components/shape/slot-types.d.ts +0 -27
- package/dist/functional-components/shape/slot-types.d.ts.map +0 -1
- package/dist/functional-components/shape/useSlotResolver.d.ts +0 -13
- package/dist/functional-components/shape/useSlotResolver.d.ts.map +0 -1
- package/dist/ganttDiagram-6RSMTGT7-CG_knKFc.cjs +0 -292
- package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
- package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
- package/dist/gitGraphDiagram-PVQCEYII-B-VOfNjd.cjs +0 -106
- package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
- package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
- package/dist/infoDiagram-5YYISTIA-22jaR465.cjs +0 -2
- package/dist/infoDiagram-5YYISTIA-CM-al6Jc.js +0 -19
- package/dist/jsx-runtime-DCATrIRp.js +0 -183
- package/dist/jsx-runtime-DtVwqYNW.cjs +0 -6
- package/dist/kanban-definition-UN3LZRKU-DplPe2EX.cjs +0 -89
- package/dist/katex-CkiTumqg.cjs +0 -257
- package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
- package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
- package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
- package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
- package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
- package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
- package/dist/pieDiagram-4H26LBE5-CCgLxjTB.js +0 -165
- package/dist/pieDiagram-4H26LBE5-DAhjc9WT.cjs +0 -30
- package/dist/purify.es-9OKVhuci.js +0 -735
- package/dist/purify.es-hdXGOu6N.cjs +0 -3
- package/dist/quadrantDiagram-W4KKPZXB-BBEQhVJy.cjs +0 -7
- package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
- package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
- package/dist/requirementDiagram-4Y6WPE33-L_lL0BcB.cjs +0 -84
- package/dist/sankeyDiagram-5OEKKPKP-Dy9K3F81.cjs +0 -40
- package/dist/sequenceDiagram-3UESZ5HK-C69YSjBM.cjs +0 -162
- package/dist/src-CFBvxm_0.cjs +0 -1
- package/dist/stateDiagram-AJRCARHV-BTzCb_Q-.js +0 -217
- package/dist/stateDiagram-AJRCARHV-CBbDL4Ct.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-BrQR0oUL.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-C7E3JbTB.js +0 -27
- package/dist/timeline-definition-PNZ67QCA-DJ9VKw6h.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/useObjectProtocol-3BhpCUjG.cjs +0 -3
- package/dist/useObjectProtocol-DZdggHDN.js +0 -4333
- package/dist/vennDiagram-CIIHVFJN-DeRVKdRG.cjs +0 -34
- package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
- package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
- package/dist/wardleyDiagram-YWT4CUSO-CaaSvy6n.cjs +0 -78
- package/dist/xychartDiagram-2RQKCTM6-CWncieig.cjs +0 -7
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { H as n, K as r, U as i, a,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { m as e, p as t } from "./src-D-6ZfKf9.js";
|
|
2
|
+
import { H as n, K as r, U as i, a, ot as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-CNSdkWoH.js";
|
|
3
|
+
import { n as f } from "./chunk-Y2CYZVJY-i11wjrBe.js";
|
|
4
|
+
import { g as p, s as m } from "./chunk-75Z2AOVW-BwUD389x.js";
|
|
5
|
+
import { r as h } from "./chunk-TLUHSLCS-opHh7fd-.js";
|
|
6
|
+
import { t as g } from "./chunk-F27PBJKO-DKsmevT5.js";
|
|
7
|
+
import { t as _ } from "./chunk-XXDRQBXY-BZK6GgVm.js";
|
|
8
|
+
import { t as v } from "./chunk-POPQ4Y6H-CaEkosGL.js";
|
|
9
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-IMKFNOWR.mjs
|
|
10
|
+
var y = (function() {
|
|
11
|
+
var e = /* @__PURE__ */ f(function(e, t, n, r) {
|
|
10
12
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
11
13
|
return n;
|
|
12
|
-
}, "o"),
|
|
14
|
+
}, "o"), t = [1, 2], n = [1, 3], r = [1, 4], i = [2, 4], a = [1, 9], o = [1, 11], s = [1, 16], c = [1, 17], l = [1, 18], u = [1, 19], d = [1, 33], p = [1, 20], m = [1, 21], h = [1, 22], g = [1, 23], _ = [1, 24], v = [1, 26], y = [1, 27], b = [1, 28], x = [1, 29], S = [1, 30], C = [1, 31], w = [1, 32], T = [1, 35], E = [1, 36], D = [1, 37], O = [1, 38], k = [1, 34], A = [
|
|
13
15
|
1,
|
|
14
16
|
4,
|
|
15
17
|
5,
|
|
@@ -94,7 +96,7 @@ var g = (function() {
|
|
|
94
96
|
54,
|
|
95
97
|
57
|
|
96
98
|
], N = {
|
|
97
|
-
trace: /* @__PURE__ */
|
|
99
|
+
trace: /* @__PURE__ */ f(function() {}, "trace"),
|
|
98
100
|
yy: {},
|
|
99
101
|
symbols_: {
|
|
100
102
|
error: 2,
|
|
@@ -261,7 +263,7 @@ var g = (function() {
|
|
|
261
263
|
[30, 1],
|
|
262
264
|
[30, 1]
|
|
263
265
|
],
|
|
264
|
-
performAction: /* @__PURE__ */
|
|
266
|
+
performAction: /* @__PURE__ */ f(function(e, t, n, r, i, a, o) {
|
|
265
267
|
var s = a.length - 1;
|
|
266
268
|
switch (i) {
|
|
267
269
|
case 3: return r.setRootDoc(a[s]), a[s];
|
|
@@ -471,22 +473,22 @@ var g = (function() {
|
|
|
471
473
|
table: [
|
|
472
474
|
{
|
|
473
475
|
3: 1,
|
|
474
|
-
4:
|
|
475
|
-
5:
|
|
476
|
-
6:
|
|
476
|
+
4: t,
|
|
477
|
+
5: n,
|
|
478
|
+
6: r
|
|
477
479
|
},
|
|
478
480
|
{ 1: [3] },
|
|
479
481
|
{
|
|
480
482
|
3: 5,
|
|
481
|
-
4:
|
|
482
|
-
5:
|
|
483
|
-
6:
|
|
483
|
+
4: t,
|
|
484
|
+
5: n,
|
|
485
|
+
6: r
|
|
484
486
|
},
|
|
485
487
|
{
|
|
486
488
|
3: 6,
|
|
487
|
-
4:
|
|
488
|
-
5:
|
|
489
|
-
6:
|
|
489
|
+
4: t,
|
|
490
|
+
5: n,
|
|
491
|
+
6: r
|
|
490
492
|
},
|
|
491
493
|
e([
|
|
492
494
|
1,
|
|
@@ -514,24 +516,24 @@ var g = (function() {
|
|
|
514
516
|
53,
|
|
515
517
|
54,
|
|
516
518
|
57
|
|
517
|
-
],
|
|
519
|
+
], i, { 7: 7 }),
|
|
518
520
|
{ 1: [2, 1] },
|
|
519
521
|
{ 1: [2, 2] },
|
|
520
522
|
{
|
|
521
523
|
1: [2, 3],
|
|
522
|
-
4:
|
|
523
|
-
5:
|
|
524
|
+
4: a,
|
|
525
|
+
5: o,
|
|
524
526
|
8: 8,
|
|
525
527
|
9: 10,
|
|
526
528
|
10: 12,
|
|
527
529
|
11: 13,
|
|
528
530
|
12: 14,
|
|
529
531
|
13: 15,
|
|
530
|
-
16:
|
|
531
|
-
17:
|
|
532
|
-
19:
|
|
533
|
-
22:
|
|
534
|
-
24:
|
|
532
|
+
16: s,
|
|
533
|
+
17: c,
|
|
534
|
+
19: l,
|
|
535
|
+
22: u,
|
|
536
|
+
24: d,
|
|
535
537
|
25: p,
|
|
536
538
|
26: m,
|
|
537
539
|
27: h,
|
|
@@ -558,11 +560,11 @@ var g = (function() {
|
|
|
558
560
|
11: 13,
|
|
559
561
|
12: 14,
|
|
560
562
|
13: 15,
|
|
561
|
-
16:
|
|
562
|
-
17:
|
|
563
|
-
19:
|
|
564
|
-
22:
|
|
565
|
-
24:
|
|
563
|
+
16: s,
|
|
564
|
+
17: c,
|
|
565
|
+
19: l,
|
|
566
|
+
22: u,
|
|
567
|
+
24: d,
|
|
566
568
|
25: p,
|
|
567
569
|
26: m,
|
|
568
570
|
27: h,
|
|
@@ -611,7 +613,7 @@ var g = (function() {
|
|
|
611
613
|
e(A, [2, 31]),
|
|
612
614
|
{
|
|
613
615
|
13: 51,
|
|
614
|
-
24:
|
|
616
|
+
24: d,
|
|
615
617
|
57: k
|
|
616
618
|
},
|
|
617
619
|
{
|
|
@@ -630,11 +632,11 @@ var g = (function() {
|
|
|
630
632
|
e(A, [2, 13]),
|
|
631
633
|
{
|
|
632
634
|
13: 58,
|
|
633
|
-
24:
|
|
635
|
+
24: d,
|
|
634
636
|
57: k
|
|
635
637
|
},
|
|
636
638
|
e(A, [2, 17]),
|
|
637
|
-
e(M,
|
|
639
|
+
e(M, i, { 7: 59 }),
|
|
638
640
|
{ 24: [1, 60] },
|
|
639
641
|
{ 24: [1, 61] },
|
|
640
642
|
{ 23: [1, 62] },
|
|
@@ -654,20 +656,20 @@ var g = (function() {
|
|
|
654
656
|
{ 24: [1, 70] },
|
|
655
657
|
e(A, [2, 14], { 14: [1, 71] }),
|
|
656
658
|
{
|
|
657
|
-
4:
|
|
658
|
-
5:
|
|
659
|
+
4: a,
|
|
660
|
+
5: o,
|
|
659
661
|
8: 8,
|
|
660
662
|
9: 10,
|
|
661
663
|
10: 12,
|
|
662
664
|
11: 13,
|
|
663
665
|
12: 14,
|
|
664
666
|
13: 15,
|
|
665
|
-
16:
|
|
666
|
-
17:
|
|
667
|
-
19:
|
|
667
|
+
16: s,
|
|
668
|
+
17: c,
|
|
669
|
+
19: l,
|
|
668
670
|
21: [1, 72],
|
|
669
|
-
22:
|
|
670
|
-
24:
|
|
671
|
+
22: u,
|
|
672
|
+
24: d,
|
|
671
673
|
25: p,
|
|
672
674
|
26: m,
|
|
673
675
|
27: h,
|
|
@@ -700,26 +702,26 @@ var g = (function() {
|
|
|
700
702
|
e(j, [2, 47]),
|
|
701
703
|
e(A, [2, 15]),
|
|
702
704
|
e(A, [2, 19]),
|
|
703
|
-
e(M,
|
|
705
|
+
e(M, i, { 7: 78 }),
|
|
704
706
|
e(A, [2, 26]),
|
|
705
707
|
e(A, [2, 27]),
|
|
706
708
|
{ 5: [1, 79] },
|
|
707
709
|
{ 5: [1, 80] },
|
|
708
710
|
{
|
|
709
|
-
4:
|
|
710
|
-
5:
|
|
711
|
+
4: a,
|
|
712
|
+
5: o,
|
|
711
713
|
8: 8,
|
|
712
714
|
9: 10,
|
|
713
715
|
10: 12,
|
|
714
716
|
11: 13,
|
|
715
717
|
12: 14,
|
|
716
718
|
13: 15,
|
|
717
|
-
16:
|
|
718
|
-
17:
|
|
719
|
-
19:
|
|
719
|
+
16: s,
|
|
720
|
+
17: c,
|
|
721
|
+
19: l,
|
|
720
722
|
21: [1, 81],
|
|
721
|
-
22:
|
|
722
|
-
24:
|
|
723
|
+
22: u,
|
|
724
|
+
24: d,
|
|
723
725
|
25: p,
|
|
724
726
|
26: m,
|
|
725
727
|
27: h,
|
|
@@ -749,35 +751,35 @@ var g = (function() {
|
|
|
749
751
|
47: [2, 48],
|
|
750
752
|
48: [2, 49]
|
|
751
753
|
},
|
|
752
|
-
parseError: /* @__PURE__ */
|
|
754
|
+
parseError: /* @__PURE__ */ f(function(e, t) {
|
|
753
755
|
if (t.recoverable) this.trace(e);
|
|
754
756
|
else {
|
|
755
757
|
var n = Error(e);
|
|
756
758
|
throw n.hash = t, n;
|
|
757
759
|
}
|
|
758
760
|
}, "parseError"),
|
|
759
|
-
parse: /* @__PURE__ */
|
|
760
|
-
var
|
|
761
|
+
parse: /* @__PURE__ */ f(function(e) {
|
|
762
|
+
var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, p = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
761
763
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
762
764
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
763
765
|
var v = h.yylloc;
|
|
764
|
-
|
|
766
|
+
a.push(v);
|
|
765
767
|
var y = h.options && h.options.ranges;
|
|
766
768
|
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
767
769
|
function b(e) {
|
|
768
|
-
|
|
770
|
+
n.length -= 2 * e, i.length -= e, a.length -= e;
|
|
769
771
|
}
|
|
770
|
-
|
|
772
|
+
f(b, "popStack");
|
|
771
773
|
function x() {
|
|
772
|
-
var e =
|
|
773
|
-
return typeof e != "number" && (e instanceof Array && (
|
|
774
|
+
var e = r.pop() || h.lex() || p;
|
|
775
|
+
return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
|
|
774
776
|
}
|
|
775
|
-
|
|
777
|
+
f(x, "lex");
|
|
776
778
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
777
|
-
if (w =
|
|
779
|
+
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]) {
|
|
778
780
|
var M = "";
|
|
779
|
-
for (O in j = [],
|
|
780
|
-
M = h.showPosition ? "Parse error on line " + (
|
|
781
|
+
for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
|
|
782
|
+
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, {
|
|
781
783
|
text: h.match,
|
|
782
784
|
token: this.terminals_[S] || S,
|
|
783
785
|
line: h.yylineno,
|
|
@@ -788,24 +790,24 @@ var g = (function() {
|
|
|
788
790
|
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
789
791
|
switch (T[0]) {
|
|
790
792
|
case 1:
|
|
791
|
-
|
|
793
|
+
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--);
|
|
792
794
|
break;
|
|
793
795
|
case 2:
|
|
794
|
-
if (k = this.productions_[T[1]][1], D.$ =
|
|
795
|
-
first_line:
|
|
796
|
-
last_line:
|
|
797
|
-
first_column:
|
|
798
|
-
last_column:
|
|
799
|
-
}, y && (D._$.range = [
|
|
800
|
-
|
|
801
|
-
u,
|
|
796
|
+
if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
|
|
797
|
+
first_line: a[a.length - (k || 1)].first_line,
|
|
798
|
+
last_line: a[a.length - 1].last_line,
|
|
799
|
+
first_column: a[a.length - (k || 1)].first_column,
|
|
800
|
+
last_column: a[a.length - 1].last_column
|
|
801
|
+
}, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
802
|
+
s,
|
|
802
803
|
l,
|
|
804
|
+
c,
|
|
803
805
|
g.yy,
|
|
804
806
|
T[1],
|
|
805
|
-
|
|
806
|
-
|
|
807
|
+
i,
|
|
808
|
+
a
|
|
807
809
|
].concat(m)), E !== void 0) return E;
|
|
808
|
-
k && (
|
|
810
|
+
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);
|
|
809
811
|
break;
|
|
810
812
|
case 3: return !0;
|
|
811
813
|
}
|
|
@@ -816,11 +818,11 @@ var g = (function() {
|
|
|
816
818
|
N.lexer = /* @__PURE__ */ (function() {
|
|
817
819
|
return {
|
|
818
820
|
EOF: 1,
|
|
819
|
-
parseError: /* @__PURE__ */
|
|
821
|
+
parseError: /* @__PURE__ */ f(function(e, t) {
|
|
820
822
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
821
823
|
else throw Error(e);
|
|
822
824
|
}, "parseError"),
|
|
823
|
-
setInput: /* @__PURE__ */
|
|
825
|
+
setInput: /* @__PURE__ */ f(function(e, t) {
|
|
824
826
|
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 = {
|
|
825
827
|
first_line: 1,
|
|
826
828
|
first_column: 0,
|
|
@@ -828,11 +830,11 @@ var g = (function() {
|
|
|
828
830
|
last_column: 0
|
|
829
831
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
830
832
|
}, "setInput"),
|
|
831
|
-
input: /* @__PURE__ */
|
|
833
|
+
input: /* @__PURE__ */ f(function() {
|
|
832
834
|
var e = this._input[0];
|
|
833
835
|
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;
|
|
834
836
|
}, "input"),
|
|
835
|
-
unput: /* @__PURE__ */
|
|
837
|
+
unput: /* @__PURE__ */ f(function(e) {
|
|
836
838
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
837
839
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
838
840
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -845,10 +847,10 @@ var g = (function() {
|
|
|
845
847
|
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
|
|
846
848
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
847
849
|
}, "unput"),
|
|
848
|
-
more: /* @__PURE__ */
|
|
850
|
+
more: /* @__PURE__ */ f(function() {
|
|
849
851
|
return this._more = !0, this;
|
|
850
852
|
}, "more"),
|
|
851
|
-
reject: /* @__PURE__ */
|
|
853
|
+
reject: /* @__PURE__ */ f(function() {
|
|
852
854
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
853
855
|
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(), {
|
|
854
856
|
text: "",
|
|
@@ -857,22 +859,22 @@ var g = (function() {
|
|
|
857
859
|
});
|
|
858
860
|
return this;
|
|
859
861
|
}, "reject"),
|
|
860
|
-
less: /* @__PURE__ */
|
|
862
|
+
less: /* @__PURE__ */ f(function(e) {
|
|
861
863
|
this.unput(this.match.slice(e));
|
|
862
864
|
}, "less"),
|
|
863
|
-
pastInput: /* @__PURE__ */
|
|
865
|
+
pastInput: /* @__PURE__ */ f(function() {
|
|
864
866
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
865
867
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
866
868
|
}, "pastInput"),
|
|
867
|
-
upcomingInput: /* @__PURE__ */
|
|
869
|
+
upcomingInput: /* @__PURE__ */ f(function() {
|
|
868
870
|
var e = this.match;
|
|
869
871
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
870
872
|
}, "upcomingInput"),
|
|
871
|
-
showPosition: /* @__PURE__ */
|
|
873
|
+
showPosition: /* @__PURE__ */ f(function() {
|
|
872
874
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
873
875
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
874
876
|
}, "showPosition"),
|
|
875
|
-
test_match: /* @__PURE__ */
|
|
877
|
+
test_match: /* @__PURE__ */ f(function(e, t) {
|
|
876
878
|
var n, r, i;
|
|
877
879
|
if (this.options.backtrack_lexer && (i = {
|
|
878
880
|
yylineno: this.yylineno,
|
|
@@ -905,7 +907,7 @@ var g = (function() {
|
|
|
905
907
|
}
|
|
906
908
|
return !1;
|
|
907
909
|
}, "test_match"),
|
|
908
|
-
next: /* @__PURE__ */
|
|
910
|
+
next: /* @__PURE__ */ f(function() {
|
|
909
911
|
if (this.done) return this.EOF;
|
|
910
912
|
this._input || (this.done = !0);
|
|
911
913
|
var e, t, n, r;
|
|
@@ -925,39 +927,39 @@ var g = (function() {
|
|
|
925
927
|
line: this.yylineno
|
|
926
928
|
});
|
|
927
929
|
}, "next"),
|
|
928
|
-
lex: /* @__PURE__ */
|
|
930
|
+
lex: /* @__PURE__ */ f(function() {
|
|
929
931
|
return this.next() || this.lex();
|
|
930
932
|
}, "lex"),
|
|
931
|
-
begin: /* @__PURE__ */
|
|
933
|
+
begin: /* @__PURE__ */ f(function(e) {
|
|
932
934
|
this.conditionStack.push(e);
|
|
933
935
|
}, "begin"),
|
|
934
|
-
popState: /* @__PURE__ */
|
|
936
|
+
popState: /* @__PURE__ */ f(function() {
|
|
935
937
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
936
938
|
}, "popState"),
|
|
937
|
-
_currentRules: /* @__PURE__ */
|
|
939
|
+
_currentRules: /* @__PURE__ */ f(function() {
|
|
938
940
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
939
941
|
}, "_currentRules"),
|
|
940
|
-
topState: /* @__PURE__ */
|
|
942
|
+
topState: /* @__PURE__ */ f(function(e) {
|
|
941
943
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
942
944
|
}, "topState"),
|
|
943
|
-
pushState: /* @__PURE__ */
|
|
945
|
+
pushState: /* @__PURE__ */ f(function(e) {
|
|
944
946
|
this.begin(e);
|
|
945
947
|
}, "pushState"),
|
|
946
|
-
stateStackSize: /* @__PURE__ */
|
|
948
|
+
stateStackSize: /* @__PURE__ */ f(function() {
|
|
947
949
|
return this.conditionStack.length;
|
|
948
950
|
}, "stateStackSize"),
|
|
949
951
|
options: { "case-insensitive": !0 },
|
|
950
|
-
performAction: /* @__PURE__ */
|
|
951
|
-
function
|
|
952
|
-
let
|
|
953
|
-
if (
|
|
954
|
-
if (
|
|
955
|
-
let r =
|
|
956
|
-
i && e.lexer.unput(i),
|
|
952
|
+
performAction: /* @__PURE__ */ f(function(e, t, n, r) {
|
|
953
|
+
function i() {
|
|
954
|
+
let n = t.yytext.indexOf("%%");
|
|
955
|
+
if (n === 0) return !1;
|
|
956
|
+
if (n > 0) {
|
|
957
|
+
let r = t.yytext.slice(0, n), i = t.yytext.slice(n);
|
|
958
|
+
i && e.lexer.unput(i), t.yytext = r;
|
|
957
959
|
}
|
|
958
960
|
return !0;
|
|
959
961
|
}
|
|
960
|
-
switch (
|
|
962
|
+
switch (f(i, "processId"), n) {
|
|
961
963
|
case 0: return 38;
|
|
962
964
|
case 1: return 40;
|
|
963
965
|
case 2: return 39;
|
|
@@ -1005,12 +1007,12 @@ var g = (function() {
|
|
|
1005
1007
|
case 36:
|
|
1006
1008
|
this.pushState("STATE");
|
|
1007
1009
|
break;
|
|
1008
|
-
case 37: return this.popState(),
|
|
1009
|
-
case 38: return this.popState(),
|
|
1010
|
-
case 39: return this.popState(),
|
|
1011
|
-
case 40: return this.popState(),
|
|
1012
|
-
case 41: return this.popState(),
|
|
1013
|
-
case 42: return this.popState(),
|
|
1010
|
+
case 37: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 25;
|
|
1011
|
+
case 38: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 26;
|
|
1012
|
+
case 39: return this.popState(), t.yytext = t.yytext.slice(0, -10).trim(), 27;
|
|
1013
|
+
case 40: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 25;
|
|
1014
|
+
case 41: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 26;
|
|
1015
|
+
case 42: return this.popState(), t.yytext = t.yytext.slice(0, -10).trim(), 27;
|
|
1014
1016
|
case 43: return 51;
|
|
1015
1017
|
case 44: return 52;
|
|
1016
1018
|
case 45: return 53;
|
|
@@ -1019,42 +1021,43 @@ var g = (function() {
|
|
|
1019
1021
|
this.pushState("STATE_STRING");
|
|
1020
1022
|
break;
|
|
1021
1023
|
case 48: return this.pushState("STATE_ID"), "AS";
|
|
1022
|
-
case 49: return
|
|
1024
|
+
case 49: return i() ? (this.popState(), "ID") : void 0;
|
|
1023
1025
|
case 50:
|
|
1024
1026
|
this.popState();
|
|
1025
1027
|
break;
|
|
1026
1028
|
case 51: return "STATE_DESCR";
|
|
1027
|
-
case 52:
|
|
1028
|
-
case 53:
|
|
1029
|
+
case 52: throw Error("Error: State name must be a single word. Found: \"" + t.yytext.trim() + "\"");
|
|
1030
|
+
case 53: return 19;
|
|
1031
|
+
case 54:
|
|
1029
1032
|
this.popState();
|
|
1030
1033
|
break;
|
|
1031
|
-
case
|
|
1032
|
-
case
|
|
1033
|
-
case
|
|
1034
|
-
case
|
|
1035
|
-
case
|
|
1036
|
-
case
|
|
1037
|
-
case
|
|
1034
|
+
case 55: return this.popState(), this.pushState("struct"), 20;
|
|
1035
|
+
case 56: return this.popState(), 21;
|
|
1036
|
+
case 57: break;
|
|
1037
|
+
case 58: return this.begin("NOTE"), 29;
|
|
1038
|
+
case 59: return this.popState(), this.pushState("NOTE_ID"), 59;
|
|
1039
|
+
case 60: return this.popState(), this.pushState("NOTE_ID"), 60;
|
|
1040
|
+
case 61:
|
|
1038
1041
|
this.popState(), this.pushState("FLOATING_NOTE");
|
|
1039
1042
|
break;
|
|
1040
|
-
case
|
|
1041
|
-
case
|
|
1042
|
-
case
|
|
1043
|
-
case
|
|
1044
|
-
case
|
|
1045
|
-
case
|
|
1046
|
-
case
|
|
1047
|
-
case 68: return 6;
|
|
1043
|
+
case 62: return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
|
|
1044
|
+
case 63: break;
|
|
1045
|
+
case 64: return "NOTE_TEXT";
|
|
1046
|
+
case 65: return i() ? (this.popState(), "ID") : void 0;
|
|
1047
|
+
case 66: return i() ? (this.popState(), this.pushState("NOTE_TEXT"), 24) : void 0;
|
|
1048
|
+
case 67: return this.popState(), t.yytext = t.yytext.substr(2).trim(), 31;
|
|
1049
|
+
case 68: return this.popState(), t.yytext = t.yytext.slice(0, -8).trim(), 31;
|
|
1048
1050
|
case 69: return 6;
|
|
1049
|
-
case 70: return
|
|
1050
|
-
case 71: return
|
|
1051
|
-
case 72: return
|
|
1052
|
-
case 73: return
|
|
1053
|
-
case 74: return
|
|
1054
|
-
case 75: return
|
|
1055
|
-
case 76: return
|
|
1056
|
-
case 77: return
|
|
1057
|
-
case 78: return
|
|
1051
|
+
case 70: return 6;
|
|
1052
|
+
case 71: return 16;
|
|
1053
|
+
case 72: return 57;
|
|
1054
|
+
case 73: return i() ? 24 : void 0;
|
|
1055
|
+
case 74: return t.yytext = t.yytext.trim(), 14;
|
|
1056
|
+
case 75: return 15;
|
|
1057
|
+
case 76: return 28;
|
|
1058
|
+
case 77: return 58;
|
|
1059
|
+
case 78: return 5;
|
|
1060
|
+
case 79: return "INVALID";
|
|
1058
1061
|
}
|
|
1059
1062
|
}, "anonymous"),
|
|
1060
1063
|
rules: [
|
|
@@ -1110,6 +1113,7 @@ var g = (function() {
|
|
|
1110
1113
|
/^(?:[^\n\{]*)/i,
|
|
1111
1114
|
/^(?:["])/i,
|
|
1112
1115
|
/^(?:[^"]*)/i,
|
|
1116
|
+
/^(?:\w+\s+\w+.*?\{)/i,
|
|
1113
1117
|
/^(?:[^\n\s\{]+)/i,
|
|
1114
1118
|
/^(?:\n)/i,
|
|
1115
1119
|
/^(?:\{)/i,
|
|
@@ -1160,43 +1164,43 @@ var g = (function() {
|
|
|
1160
1164
|
44,
|
|
1161
1165
|
45,
|
|
1162
1166
|
46,
|
|
1163
|
-
55,
|
|
1164
1167
|
56,
|
|
1165
1168
|
57,
|
|
1166
|
-
|
|
1169
|
+
58,
|
|
1167
1170
|
72,
|
|
1168
1171
|
73,
|
|
1169
1172
|
74,
|
|
1170
1173
|
75,
|
|
1171
|
-
76
|
|
1174
|
+
76,
|
|
1175
|
+
77
|
|
1172
1176
|
],
|
|
1173
1177
|
inclusive: !1
|
|
1174
1178
|
},
|
|
1175
1179
|
FLOATING_NOTE_ID: {
|
|
1176
|
-
rules: [
|
|
1180
|
+
rules: [65],
|
|
1177
1181
|
inclusive: !1
|
|
1178
1182
|
},
|
|
1179
1183
|
FLOATING_NOTE: {
|
|
1180
1184
|
rules: [
|
|
1181
|
-
61,
|
|
1182
1185
|
62,
|
|
1183
|
-
63
|
|
1186
|
+
63,
|
|
1187
|
+
64
|
|
1184
1188
|
],
|
|
1185
1189
|
inclusive: !1
|
|
1186
1190
|
},
|
|
1187
1191
|
NOTE_TEXT: {
|
|
1188
|
-
rules: [
|
|
1192
|
+
rules: [67, 68],
|
|
1189
1193
|
inclusive: !1
|
|
1190
1194
|
},
|
|
1191
1195
|
NOTE_ID: {
|
|
1192
|
-
rules: [
|
|
1196
|
+
rules: [66],
|
|
1193
1197
|
inclusive: !1
|
|
1194
1198
|
},
|
|
1195
1199
|
NOTE: {
|
|
1196
1200
|
rules: [
|
|
1197
|
-
58,
|
|
1198
1201
|
59,
|
|
1199
|
-
60
|
|
1202
|
+
60,
|
|
1203
|
+
61
|
|
1200
1204
|
],
|
|
1201
1205
|
inclusive: !1
|
|
1202
1206
|
},
|
|
@@ -1284,7 +1288,8 @@ var g = (function() {
|
|
|
1284
1288
|
48,
|
|
1285
1289
|
52,
|
|
1286
1290
|
53,
|
|
1287
|
-
54
|
|
1291
|
+
54,
|
|
1292
|
+
55
|
|
1288
1293
|
],
|
|
1289
1294
|
inclusive: !1
|
|
1290
1295
|
},
|
|
@@ -1319,18 +1324,18 @@ var g = (function() {
|
|
|
1319
1324
|
30,
|
|
1320
1325
|
33,
|
|
1321
1326
|
36,
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
68,
|
|
1327
|
+
55,
|
|
1328
|
+
58,
|
|
1325
1329
|
69,
|
|
1326
1330
|
70,
|
|
1327
1331
|
71,
|
|
1328
1332
|
72,
|
|
1329
1333
|
73,
|
|
1330
1334
|
74,
|
|
1331
|
-
|
|
1335
|
+
75,
|
|
1332
1336
|
77,
|
|
1333
|
-
78
|
|
1337
|
+
78,
|
|
1338
|
+
79
|
|
1334
1339
|
],
|
|
1335
1340
|
inclusive: !0
|
|
1336
1341
|
}
|
|
@@ -1340,100 +1345,101 @@ var g = (function() {
|
|
|
1340
1345
|
function P() {
|
|
1341
1346
|
this.yy = {};
|
|
1342
1347
|
}
|
|
1343
|
-
return
|
|
1348
|
+
return f(P, "Parser"), P.prototype = N, N.Parser = P, new P();
|
|
1344
1349
|
})();
|
|
1345
|
-
|
|
1346
|
-
var
|
|
1350
|
+
y.parser = y;
|
|
1351
|
+
var b = y, x = "TB", S = "TB", C = "dir", w = "state", T = "root", E = "relation", D = "classDef", O = "style", k = "applyClass", A = "default", j = "divider", M = "fill:none", N = "fill: #333", P = "c", ee = "markdown", F = "normal", I = "rect", L = "rectWithTitle", te = "stateStart", ne = "stateEnd", R = "divider", re = "roundedWithTitle", ie = "note", ae = "noteGroup", z = "statediagram", oe = `${z}-state`, B = "transition", se = "note", ce = `${B} note-edge`, le = `${z}-${se}`, ue = `${z}-cluster`, de = `${z}-cluster-alt`, V = "parent", H = "note", fe = "state", U = "----", pe = `${U}${H}`, W = `${U}${V}`, G = /* @__PURE__ */ f((e, t = S) => {
|
|
1347
1352
|
if (!e.doc) return t;
|
|
1348
1353
|
let n = t;
|
|
1349
1354
|
for (let t of e.doc) t.stmt === "dir" && (n = t.value);
|
|
1350
1355
|
return n;
|
|
1351
|
-
}, "getDir"),
|
|
1352
|
-
getClasses: /* @__PURE__ */
|
|
1356
|
+
}, "getDir"), me = {
|
|
1357
|
+
getClasses: /* @__PURE__ */ f(function(e, t) {
|
|
1353
1358
|
return t.db.getClasses();
|
|
1354
1359
|
}, "getClasses"),
|
|
1355
|
-
draw: /* @__PURE__ */
|
|
1360
|
+
draw: /* @__PURE__ */ f(async function(t, n, r, i) {
|
|
1356
1361
|
e.info("REF0:"), e.info("Drawing state diagram (v2)", n);
|
|
1357
|
-
let { securityLevel: a, state: o, layout: s } =
|
|
1362
|
+
let { securityLevel: a, state: o, layout: s } = u();
|
|
1358
1363
|
i.db.extract(i.db.getRootDocV2());
|
|
1359
|
-
let c = i.db.getData(),
|
|
1360
|
-
c.type = i.type, c.layoutAlgorithm = s, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50,
|
|
1364
|
+
let c = i.db.getData(), l = _(n, a);
|
|
1365
|
+
c.type = i.type, c.layoutAlgorithm = s, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, u().look === "neo" ? c.markers = ["barbNeo"] : c.markers = ["barb"], c.diagramId = n, await h(c, l);
|
|
1361
1366
|
try {
|
|
1362
1367
|
(typeof i.db.getLinks == "function" ? i.db.getLinks() : /* @__PURE__ */ new Map()).forEach((t, n) => {
|
|
1363
|
-
let r = typeof n == "string" ? n : typeof n?.id == "string" ? n.id : "";
|
|
1368
|
+
let r = typeof n == "string" ? n : typeof n?.id == "string" ? n.id : "", i = c.nodes.find((e) => e.id === r);
|
|
1364
1369
|
if (!r) {
|
|
1365
1370
|
e.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(n));
|
|
1366
1371
|
return;
|
|
1367
1372
|
}
|
|
1368
|
-
let
|
|
1369
|
-
if (
|
|
1370
|
-
e.textContent?.trim()
|
|
1371
|
-
|
|
1373
|
+
let a = l.node()?.querySelectorAll("g.node, g.rough-node"), o;
|
|
1374
|
+
if (a?.forEach((e) => {
|
|
1375
|
+
let t = e.textContent?.trim();
|
|
1376
|
+
(e.id === i?.domId || t === r) && (o = e);
|
|
1377
|
+
}), !o) {
|
|
1372
1378
|
e.warn("⚠️ Could not find node matching text:", r);
|
|
1373
1379
|
return;
|
|
1374
1380
|
}
|
|
1375
|
-
let
|
|
1376
|
-
if (!
|
|
1381
|
+
let s = o.parentNode;
|
|
1382
|
+
if (!s) {
|
|
1377
1383
|
e.warn("⚠️ Node has no parent, cannot wrap:", r);
|
|
1378
1384
|
return;
|
|
1379
1385
|
}
|
|
1380
|
-
let
|
|
1381
|
-
if (
|
|
1386
|
+
let u = document.createElementNS("http://www.w3.org/2000/svg", "a"), d = t.url.replace(/^"+|"+$/g, "");
|
|
1387
|
+
if (u.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", d), u.setAttribute("target", "_blank"), t.tooltip) {
|
|
1382
1388
|
let e = t.tooltip.replace(/^"+|"+$/g, "");
|
|
1383
|
-
|
|
1389
|
+
u.setAttribute("title", e), o.setAttribute("title", e);
|
|
1384
1390
|
}
|
|
1385
|
-
|
|
1391
|
+
s.replaceChild(u, o), u.appendChild(o), e.info("🔗 Wrapped node in <a> tag for:", r, t.url);
|
|
1386
1392
|
});
|
|
1387
1393
|
} catch (t) {
|
|
1388
1394
|
e.error("❌ Error injecting clickable links:", t);
|
|
1389
1395
|
}
|
|
1390
|
-
|
|
1396
|
+
p.insertTitle(l, "statediagramTitleText", o?.titleTopMargin ?? 25, i.db.getDiagramTitle()), v(l, 8, z, o?.useMaxWidth ?? !0);
|
|
1391
1397
|
}, "draw"),
|
|
1392
|
-
getDir:
|
|
1393
|
-
},
|
|
1394
|
-
function
|
|
1395
|
-
return `${
|
|
1398
|
+
getDir: G
|
|
1399
|
+
}, K = /* @__PURE__ */ new Map(), q = 0;
|
|
1400
|
+
function J(e = "", t = 0, n = "", r = U) {
|
|
1401
|
+
return `${fe}-${e}${n !== null && n.length > 0 ? `${r}${n}` : ""}-${t}`;
|
|
1396
1402
|
}
|
|
1397
|
-
|
|
1398
|
-
var
|
|
1403
|
+
f(J, "stateDomId");
|
|
1404
|
+
var he = /* @__PURE__ */ f((t, n, r, i, a, o, c, l) => {
|
|
1399
1405
|
e.trace("items", n), n.forEach((e) => {
|
|
1400
1406
|
switch (e.stmt) {
|
|
1401
|
-
case
|
|
1402
|
-
|
|
1407
|
+
case w:
|
|
1408
|
+
Z(t, e, r, i, a, o, c, l);
|
|
1403
1409
|
break;
|
|
1404
|
-
case
|
|
1405
|
-
|
|
1410
|
+
case A:
|
|
1411
|
+
Z(t, e, r, i, a, o, c, l);
|
|
1406
1412
|
break;
|
|
1407
|
-
case
|
|
1413
|
+
case E:
|
|
1408
1414
|
{
|
|
1409
|
-
|
|
1415
|
+
Z(t, e.state1, r, i, a, o, c, l), Z(t, e.state2, r, i, a, o, c, l);
|
|
1410
1416
|
let n = c === "neo", d = {
|
|
1411
|
-
id: "edge" +
|
|
1417
|
+
id: "edge" + q,
|
|
1412
1418
|
start: e.state1.id,
|
|
1413
1419
|
end: e.state2.id,
|
|
1414
1420
|
arrowhead: "normal",
|
|
1415
1421
|
arrowTypeEnd: n ? "arrow_barb_neo" : "arrow_barb",
|
|
1416
|
-
style:
|
|
1422
|
+
style: M,
|
|
1417
1423
|
labelStyle: "",
|
|
1418
|
-
label:
|
|
1419
|
-
arrowheadStyle:
|
|
1420
|
-
labelpos:
|
|
1421
|
-
labelType:
|
|
1422
|
-
thickness:
|
|
1423
|
-
classes:
|
|
1424
|
+
label: s.sanitizeText(e.description ?? "", u()),
|
|
1425
|
+
arrowheadStyle: N,
|
|
1426
|
+
labelpos: P,
|
|
1427
|
+
labelType: ee,
|
|
1428
|
+
thickness: F,
|
|
1429
|
+
classes: B,
|
|
1424
1430
|
look: c
|
|
1425
1431
|
};
|
|
1426
|
-
a.push(d),
|
|
1432
|
+
a.push(d), q++;
|
|
1427
1433
|
}
|
|
1428
1434
|
break;
|
|
1429
1435
|
}
|
|
1430
1436
|
});
|
|
1431
|
-
}, "setupDoc"),
|
|
1437
|
+
}, "setupDoc"), ge = /* @__PURE__ */ f((e, t = S) => {
|
|
1432
1438
|
let n = t;
|
|
1433
1439
|
if (e.doc) for (let t of e.doc) t.stmt === "dir" && (n = t.value);
|
|
1434
1440
|
return n;
|
|
1435
1441
|
}, "getDir");
|
|
1436
|
-
function
|
|
1442
|
+
function Y(e, t, n) {
|
|
1437
1443
|
if (!t.id || t.id === "</join></fork>" || t.id === "</choice>") return;
|
|
1438
1444
|
t.cssClasses && (Array.isArray(t.cssCompiledStyles) || (t.cssCompiledStyles = []), t.cssClasses.split(" ").forEach((e) => {
|
|
1439
1445
|
let r = n.get(e);
|
|
@@ -1442,77 +1448,77 @@ function J(e, t, n) {
|
|
|
1442
1448
|
let r = e.find((e) => e.id === t.id);
|
|
1443
1449
|
r ? Object.assign(r, t) : e.push(t);
|
|
1444
1450
|
}
|
|
1445
|
-
|
|
1446
|
-
function
|
|
1451
|
+
f(Y, "insertOrUpdateNode");
|
|
1452
|
+
function X(e) {
|
|
1447
1453
|
return e?.classes?.join(" ") ?? "";
|
|
1448
1454
|
}
|
|
1449
|
-
|
|
1450
|
-
function
|
|
1455
|
+
f(X, "getClassesFromDbInfo");
|
|
1456
|
+
function _e(e) {
|
|
1451
1457
|
return e?.styles ?? [];
|
|
1452
1458
|
}
|
|
1453
|
-
|
|
1454
|
-
var
|
|
1455
|
-
let d = n.id, f = r.get(d), p =
|
|
1459
|
+
f(_e, "getStylesFromDbInfo");
|
|
1460
|
+
var Z = /* @__PURE__ */ f((t, n, r, i, a, o, c, l) => {
|
|
1461
|
+
let d = n.id, f = r.get(d), p = X(f), m = _e(f), h = u();
|
|
1456
1462
|
if (e.info("dataFetcher parsedItem", n, f, m), d !== "root") {
|
|
1457
|
-
let r =
|
|
1458
|
-
n.start === !0 ? r =
|
|
1463
|
+
let r = I;
|
|
1464
|
+
n.start === !0 ? r = te : n.start === !1 && (r = ne), n.type !== A && (r = n.type), K.get(d) || K.set(d, {
|
|
1459
1465
|
id: d,
|
|
1460
1466
|
shape: r,
|
|
1461
|
-
description:
|
|
1462
|
-
cssClasses: `${p} ${
|
|
1467
|
+
description: s.sanitizeText(d, h),
|
|
1468
|
+
cssClasses: `${p} ${oe}`,
|
|
1463
1469
|
cssStyles: m
|
|
1464
1470
|
});
|
|
1465
|
-
let
|
|
1466
|
-
n.description && (Array.isArray(
|
|
1471
|
+
let u = K.get(d);
|
|
1472
|
+
n.description && (Array.isArray(u.description) ? (u.shape = L, u.description.push(n.description)) : u.description?.length && u.description.length > 0 ? (u.shape = L, u.description === d ? u.description = [n.description] : u.description = [u.description, n.description]) : (u.shape = I, u.description = n.description), u.description = s.sanitizeTextOrArray(u.description, h)), u.description?.length === 1 && u.shape === L && (u.type === "group" ? u.shape = re : u.shape = I), !u.type && n.doc && (e.info("Setting cluster for XCX", d, ge(n)), u.type = "group", u.isGroup = !0, u.dir = ge(n), u.shape = n.type === j ? R : re, u.cssClasses = `${u.cssClasses} ${ue} ${o ? de : ""}`);
|
|
1467
1473
|
let f = {
|
|
1468
1474
|
labelStyle: "",
|
|
1469
|
-
shape:
|
|
1470
|
-
label:
|
|
1471
|
-
cssClasses:
|
|
1475
|
+
shape: u.shape,
|
|
1476
|
+
label: u.description,
|
|
1477
|
+
cssClasses: u.cssClasses,
|
|
1472
1478
|
cssCompiledStyles: [],
|
|
1473
|
-
cssStyles:
|
|
1479
|
+
cssStyles: u.cssStyles,
|
|
1474
1480
|
id: d,
|
|
1475
|
-
dir:
|
|
1476
|
-
domId:
|
|
1477
|
-
type:
|
|
1478
|
-
isGroup:
|
|
1481
|
+
dir: u.dir,
|
|
1482
|
+
domId: J(d, q),
|
|
1483
|
+
type: u.type,
|
|
1484
|
+
isGroup: u.type === "group",
|
|
1479
1485
|
padding: 8,
|
|
1480
1486
|
rx: 10,
|
|
1481
1487
|
ry: 10,
|
|
1482
1488
|
look: c,
|
|
1483
1489
|
labelType: "markdown"
|
|
1484
1490
|
};
|
|
1485
|
-
if (f.shape ===
|
|
1491
|
+
if (f.shape === R && (f.label = ""), t && t.id !== "root" && (e.trace("Setting node ", d, " to be child of its parent ", t.id), f.parentId = t.id), f.centerLabel = !0, n.note) {
|
|
1486
1492
|
let e = {
|
|
1487
1493
|
labelStyle: "",
|
|
1488
|
-
shape:
|
|
1494
|
+
shape: ie,
|
|
1489
1495
|
label: n.note.text,
|
|
1490
1496
|
labelType: "markdown",
|
|
1491
|
-
cssClasses:
|
|
1497
|
+
cssClasses: le,
|
|
1492
1498
|
cssStyles: [],
|
|
1493
1499
|
cssCompiledStyles: [],
|
|
1494
|
-
id: d +
|
|
1495
|
-
domId:
|
|
1496
|
-
type:
|
|
1497
|
-
isGroup:
|
|
1500
|
+
id: d + pe + "-" + q,
|
|
1501
|
+
domId: J(d, q, H),
|
|
1502
|
+
type: u.type,
|
|
1503
|
+
isGroup: u.type === "group",
|
|
1498
1504
|
padding: h.flowchart?.padding,
|
|
1499
1505
|
look: c,
|
|
1500
1506
|
position: n.note.position
|
|
1501
|
-
}, t = d +
|
|
1507
|
+
}, t = d + W, r = {
|
|
1502
1508
|
labelStyle: "",
|
|
1503
|
-
shape:
|
|
1509
|
+
shape: ae,
|
|
1504
1510
|
label: n.note.text,
|
|
1505
|
-
cssClasses:
|
|
1511
|
+
cssClasses: u.cssClasses,
|
|
1506
1512
|
cssStyles: [],
|
|
1507
|
-
id: d +
|
|
1508
|
-
domId:
|
|
1513
|
+
id: d + W,
|
|
1514
|
+
domId: J(d, q, V),
|
|
1509
1515
|
type: "group",
|
|
1510
1516
|
isGroup: !0,
|
|
1511
1517
|
padding: 16,
|
|
1512
1518
|
look: c,
|
|
1513
1519
|
position: n.note.position
|
|
1514
1520
|
};
|
|
1515
|
-
|
|
1521
|
+
q++, r.id = t, e.parentId = t, Y(i, r, l), Y(i, e, l), Y(i, f, l);
|
|
1516
1522
|
let o = d, s = e.id;
|
|
1517
1523
|
n.note.position === "left of" && (o = e.id, s = d), a.push({
|
|
1518
1524
|
id: o + "-" + s,
|
|
@@ -1520,21 +1526,21 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1520
1526
|
end: s,
|
|
1521
1527
|
arrowhead: "none",
|
|
1522
1528
|
arrowTypeEnd: "",
|
|
1523
|
-
style:
|
|
1529
|
+
style: M,
|
|
1524
1530
|
labelStyle: "",
|
|
1525
|
-
classes:
|
|
1526
|
-
arrowheadStyle:
|
|
1527
|
-
labelpos:
|
|
1528
|
-
labelType:
|
|
1529
|
-
thickness:
|
|
1531
|
+
classes: ce,
|
|
1532
|
+
arrowheadStyle: N,
|
|
1533
|
+
labelpos: P,
|
|
1534
|
+
labelType: ee,
|
|
1535
|
+
thickness: F,
|
|
1530
1536
|
look: c
|
|
1531
1537
|
});
|
|
1532
|
-
} else
|
|
1538
|
+
} else Y(i, f, l);
|
|
1533
1539
|
}
|
|
1534
|
-
n.doc && (e.trace("Adding nodes children "),
|
|
1535
|
-
}, "dataFetcher"),
|
|
1536
|
-
|
|
1537
|
-
}, "reset"),
|
|
1540
|
+
n.doc && (e.trace("Adding nodes children "), he(n, n.doc, r, i, a, !o, c, l));
|
|
1541
|
+
}, "dataFetcher"), ve = /* @__PURE__ */ f(() => {
|
|
1542
|
+
K.clear(), q = 0;
|
|
1543
|
+
}, "reset"), Q = {
|
|
1538
1544
|
START_NODE: "[*]",
|
|
1539
1545
|
START_TYPE: "start",
|
|
1540
1546
|
END_NODE: "[*]",
|
|
@@ -1543,16 +1549,16 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1543
1549
|
FILL_KEYWORD: "fill",
|
|
1544
1550
|
BG_FILL: "bgFill",
|
|
1545
1551
|
STYLECLASS_SEP: ","
|
|
1546
|
-
},
|
|
1552
|
+
}, ye = /* @__PURE__ */ f(() => /* @__PURE__ */ new Map(), "newClassesList"), be = /* @__PURE__ */ f(() => ({
|
|
1547
1553
|
relations: [],
|
|
1548
1554
|
states: /* @__PURE__ */ new Map(),
|
|
1549
1555
|
documents: {}
|
|
1550
|
-
}), "newDoc"), $ = /* @__PURE__ */
|
|
1556
|
+
}), "newDoc"), $ = /* @__PURE__ */ f((e) => JSON.parse(JSON.stringify(e)), "clone"), xe = class {
|
|
1551
1557
|
constructor(e) {
|
|
1552
|
-
this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes =
|
|
1558
|
+
this.version = e, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = ye(), this.documents = { root: be() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.funs = [], this.getAccTitle = d, this.setAccTitle = i, this.getAccDescription = c, this.setAccDescription = n, this.setDiagramTitle = r, this.getDiagramTitle = l, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this), this.bindFunctions = this.bindFunctions.bind(this);
|
|
1553
1559
|
}
|
|
1554
1560
|
static {
|
|
1555
|
-
|
|
1561
|
+
f(this, "StateDB");
|
|
1556
1562
|
}
|
|
1557
1563
|
static {
|
|
1558
1564
|
this.relationType = {
|
|
@@ -1565,27 +1571,27 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1565
1571
|
extract(e) {
|
|
1566
1572
|
this.clear(!0);
|
|
1567
1573
|
for (let t of Array.isArray(e) ? e : e.doc) switch (t.stmt) {
|
|
1568
|
-
case
|
|
1574
|
+
case w:
|
|
1569
1575
|
this.addState(t.id.trim(), t.type, t.doc, t.description, t.note);
|
|
1570
1576
|
break;
|
|
1571
|
-
case
|
|
1577
|
+
case E:
|
|
1572
1578
|
this.addRelation(t.state1, t.state2, t.description);
|
|
1573
1579
|
break;
|
|
1574
|
-
case
|
|
1580
|
+
case D:
|
|
1575
1581
|
this.addStyleClass(t.id.trim(), t.classes);
|
|
1576
1582
|
break;
|
|
1577
|
-
case
|
|
1583
|
+
case O:
|
|
1578
1584
|
this.handleStyleDef(t);
|
|
1579
1585
|
break;
|
|
1580
|
-
case
|
|
1586
|
+
case k:
|
|
1581
1587
|
this.setCssClass(t.id.trim(), t.styleClass);
|
|
1582
1588
|
break;
|
|
1583
1589
|
case "click":
|
|
1584
1590
|
this.addLink(t.id, t.url, t.tooltip);
|
|
1585
1591
|
break;
|
|
1586
1592
|
}
|
|
1587
|
-
let t = this.getStates(), n =
|
|
1588
|
-
|
|
1593
|
+
let t = this.getStates(), n = u();
|
|
1594
|
+
ve(), Z(void 0, this.getRootDocV2(), t, this.nodes, this.edges, !0, n.look, this.classes);
|
|
1589
1595
|
for (let e of this.nodes) if (Array.isArray(e.label)) {
|
|
1590
1596
|
if (e.description = e.label.slice(1), e.isGroup && e.description.length > 0) throw Error(`Group nodes can only have label. Remove the additional description for node [${e.id}]`);
|
|
1591
1597
|
e.label = e.label[0];
|
|
@@ -1606,20 +1612,20 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1606
1612
|
e.info("Setting root doc", t), this.rootDoc = t, this.version === 1 ? this.extract(t) : this.extract(this.getRootDocV2());
|
|
1607
1613
|
}
|
|
1608
1614
|
docTranslator(e, t, n) {
|
|
1609
|
-
if (t.stmt ===
|
|
1615
|
+
if (t.stmt === E) {
|
|
1610
1616
|
this.docTranslator(e, t.state1, !0), this.docTranslator(e, t.state2, !1);
|
|
1611
1617
|
return;
|
|
1612
1618
|
}
|
|
1613
|
-
if (t.stmt ===
|
|
1619
|
+
if (t.stmt === w && (t.id === Q.START_NODE ? (t.id = e.id + (n ? "_start" : "_end"), t.start = n) : t.id = t.id.trim()), t.stmt !== T && t.stmt !== w || !t.doc) return;
|
|
1614
1620
|
let r = [], i = [];
|
|
1615
|
-
for (let e of t.doc) if (e.type ===
|
|
1621
|
+
for (let e of t.doc) if (e.type === j) {
|
|
1616
1622
|
let t = $(e);
|
|
1617
1623
|
t.doc = $(i), r.push(t), i = [];
|
|
1618
1624
|
} else i.push(e);
|
|
1619
1625
|
if (r.length > 0 && i.length > 0) {
|
|
1620
1626
|
let e = {
|
|
1621
|
-
stmt:
|
|
1622
|
-
id:
|
|
1627
|
+
stmt: w,
|
|
1628
|
+
id: m(),
|
|
1623
1629
|
type: "divider",
|
|
1624
1630
|
doc: $(i)
|
|
1625
1631
|
};
|
|
@@ -1629,21 +1635,21 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1629
1635
|
}
|
|
1630
1636
|
getRootDocV2() {
|
|
1631
1637
|
return this.docTranslator({
|
|
1632
|
-
id:
|
|
1633
|
-
stmt:
|
|
1638
|
+
id: T,
|
|
1639
|
+
stmt: T
|
|
1634
1640
|
}, {
|
|
1635
|
-
id:
|
|
1636
|
-
stmt:
|
|
1641
|
+
id: T,
|
|
1642
|
+
stmt: T,
|
|
1637
1643
|
doc: this.rootDoc
|
|
1638
1644
|
}, !0), {
|
|
1639
|
-
id:
|
|
1645
|
+
id: T,
|
|
1640
1646
|
doc: this.rootDoc
|
|
1641
1647
|
};
|
|
1642
1648
|
}
|
|
1643
|
-
addState(t, n =
|
|
1649
|
+
addState(t, n = A, r = void 0, i = void 0, a = void 0, o = void 0, c = void 0, l = void 0) {
|
|
1644
1650
|
let d = t?.trim();
|
|
1645
1651
|
if (!this.currentDocument.states.has(d)) e.info("Adding state ", d, i), this.currentDocument.states.set(d, {
|
|
1646
|
-
stmt:
|
|
1652
|
+
stmt: w,
|
|
1647
1653
|
id: d,
|
|
1648
1654
|
descriptions: [],
|
|
1649
1655
|
type: n,
|
|
@@ -1661,12 +1667,12 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1661
1667
|
if (i && (e.info("Setting state description", d, i), (Array.isArray(i) ? i : [i]).forEach((e) => this.addDescription(d, e.trim()))), a) {
|
|
1662
1668
|
let e = this.currentDocument.states.get(d);
|
|
1663
1669
|
if (!e) throw Error(`State not found: ${d}`);
|
|
1664
|
-
e.note = a, e.note.text =
|
|
1670
|
+
e.note = a, e.note.text = s.sanitizeText(e.note.text, u());
|
|
1665
1671
|
}
|
|
1666
|
-
|
|
1672
|
+
o && (e.info("Setting state classes", d, o), (Array.isArray(o) ? o : [o]).forEach((e) => this.setCssClass(d, e.trim()))), c && (e.info("Setting state styles", d, c), (Array.isArray(c) ? c : [c]).forEach((e) => this.setStyle(d, e.trim()))), l && (e.info("Setting state styles", d, c), (Array.isArray(l) ? l : [l]).forEach((e) => this.setTextStyle(d, e.trim())));
|
|
1667
1673
|
}
|
|
1668
1674
|
clear(e) {
|
|
1669
|
-
this.nodes = [], this.edges = [], this.documents = { root:
|
|
1675
|
+
this.nodes = [], this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.documents = { root: be() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = ye(), e || (this.links = /* @__PURE__ */ new Map(), a());
|
|
1670
1676
|
}
|
|
1671
1677
|
getState(e) {
|
|
1672
1678
|
return this.currentDocument.states.get(e);
|
|
@@ -1690,39 +1696,39 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1690
1696
|
return this.links;
|
|
1691
1697
|
}
|
|
1692
1698
|
startIdIfNeeded(e = "") {
|
|
1693
|
-
return e ===
|
|
1699
|
+
return e === Q.START_NODE ? (this.startEndCount++, `${Q.START_TYPE}${this.startEndCount}`) : e;
|
|
1694
1700
|
}
|
|
1695
|
-
startTypeIfNeeded(e = "", t =
|
|
1696
|
-
return e ===
|
|
1701
|
+
startTypeIfNeeded(e = "", t = A) {
|
|
1702
|
+
return e === Q.START_NODE ? Q.START_TYPE : t;
|
|
1697
1703
|
}
|
|
1698
1704
|
endIdIfNeeded(e = "") {
|
|
1699
|
-
return e ===
|
|
1705
|
+
return e === Q.END_NODE ? (this.startEndCount++, `${Q.END_TYPE}${this.startEndCount}`) : e;
|
|
1700
1706
|
}
|
|
1701
|
-
endTypeIfNeeded(e = "", t =
|
|
1702
|
-
return e ===
|
|
1707
|
+
endTypeIfNeeded(e = "", t = A) {
|
|
1708
|
+
return e === Q.END_NODE ? Q.END_TYPE : t;
|
|
1703
1709
|
}
|
|
1704
1710
|
addRelationObjs(e, t, n = "") {
|
|
1705
|
-
let r = this.startIdIfNeeded(e.id.trim()), i = this.startTypeIfNeeded(e.id.trim(), e.type), a = this.startIdIfNeeded(t.id.trim()),
|
|
1706
|
-
this.addState(r, i, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(a,
|
|
1711
|
+
let r = this.startIdIfNeeded(e.id.trim()), i = this.startTypeIfNeeded(e.id.trim(), e.type), a = this.startIdIfNeeded(t.id.trim()), o = this.startTypeIfNeeded(t.id.trim(), t.type);
|
|
1712
|
+
this.addState(r, i, e.doc, e.description, e.note, e.classes, e.styles, e.textStyles), this.addState(a, o, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), this.currentDocument.relations.push({
|
|
1707
1713
|
id1: r,
|
|
1708
1714
|
id2: a,
|
|
1709
|
-
relationTitle:
|
|
1715
|
+
relationTitle: s.sanitizeText(n, u())
|
|
1710
1716
|
});
|
|
1711
1717
|
}
|
|
1712
1718
|
addRelation(e, t, n) {
|
|
1713
1719
|
if (typeof e == "object" && typeof t == "object") this.addRelationObjs(e, t, n);
|
|
1714
1720
|
else if (typeof e == "string" && typeof t == "string") {
|
|
1715
|
-
let r = this.startIdIfNeeded(e.trim()), i = this.startTypeIfNeeded(e), a = this.endIdIfNeeded(t.trim()),
|
|
1716
|
-
this.addState(r, i), this.addState(a,
|
|
1721
|
+
let r = this.startIdIfNeeded(e.trim()), i = this.startTypeIfNeeded(e), a = this.endIdIfNeeded(t.trim()), o = this.endTypeIfNeeded(t);
|
|
1722
|
+
this.addState(r, i), this.addState(a, o), this.currentDocument.relations.push({
|
|
1717
1723
|
id1: r,
|
|
1718
1724
|
id2: a,
|
|
1719
|
-
relationTitle: n ?
|
|
1725
|
+
relationTitle: n ? s.sanitizeText(n, u()) : void 0
|
|
1720
1726
|
});
|
|
1721
1727
|
}
|
|
1722
1728
|
}
|
|
1723
1729
|
addDescription(e, t) {
|
|
1724
1730
|
let n = this.currentDocument.states.get(e), r = t.startsWith(":") ? t.replace(":", "").trim() : t;
|
|
1725
|
-
n?.descriptions?.push(
|
|
1731
|
+
n?.descriptions?.push(s.sanitizeText(r, u()));
|
|
1726
1732
|
}
|
|
1727
1733
|
cleanupLabel(e) {
|
|
1728
1734
|
return e.startsWith(":") ? e.slice(2).trim() : e.trim();
|
|
@@ -1737,10 +1743,10 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1737
1743
|
textStyles: []
|
|
1738
1744
|
});
|
|
1739
1745
|
let n = this.classes.get(e);
|
|
1740
|
-
t && n && t.split(
|
|
1746
|
+
t && n && t.split(Q.STYLECLASS_SEP).forEach((e) => {
|
|
1741
1747
|
let t = e.replace(/([^;]*);/, "$1").trim();
|
|
1742
|
-
if (RegExp(
|
|
1743
|
-
let e = t.replace(
|
|
1748
|
+
if (RegExp(Q.COLOR_KEYWORD).exec(e)) {
|
|
1749
|
+
let e = t.replace(Q.FILL_KEYWORD, Q.BG_FILL).replace(Q.COLOR_KEYWORD, Q.FILL_KEYWORD);
|
|
1744
1750
|
n.textStyles.push(e);
|
|
1745
1751
|
}
|
|
1746
1752
|
n.styles.push(t);
|
|
@@ -1749,6 +1755,17 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1749
1755
|
getClasses() {
|
|
1750
1756
|
return this.classes;
|
|
1751
1757
|
}
|
|
1758
|
+
setupToolTips(e) {
|
|
1759
|
+
let n = g();
|
|
1760
|
+
t(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover", (e) => {
|
|
1761
|
+
let r = t(e.currentTarget), i = r.attr("title");
|
|
1762
|
+
if (i === null) return;
|
|
1763
|
+
let a = e.currentTarget?.getBoundingClientRect();
|
|
1764
|
+
n.transition().duration(200).style("opacity", ".9"), n.style("left", window.scrollX + a.left + (a.right - a.left) / 2 + "px").style("top", window.scrollY + a.bottom + "px"), n.html(o.sanitize(i)), r.classed("hover", !0);
|
|
1765
|
+
}).on("mouseout", (e) => {
|
|
1766
|
+
n.transition().duration(500).style("opacity", 0), t(e.currentTarget).classed("hover", !1);
|
|
1767
|
+
});
|
|
1768
|
+
}
|
|
1752
1769
|
setCssClass(e, t) {
|
|
1753
1770
|
e.split(",").forEach((e) => {
|
|
1754
1771
|
let n = this.getState(e);
|
|
@@ -1765,16 +1782,21 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1765
1782
|
setTextStyle(e, t) {
|
|
1766
1783
|
this.getState(e)?.textStyles?.push(t);
|
|
1767
1784
|
}
|
|
1785
|
+
bindFunctions(e) {
|
|
1786
|
+
this.funs.forEach((t) => {
|
|
1787
|
+
t(e);
|
|
1788
|
+
});
|
|
1789
|
+
}
|
|
1768
1790
|
getDirectionStatement() {
|
|
1769
|
-
return this.rootDoc.find((e) => e.stmt ===
|
|
1791
|
+
return this.rootDoc.find((e) => e.stmt === C);
|
|
1770
1792
|
}
|
|
1771
1793
|
getDirection() {
|
|
1772
|
-
return this.getDirectionStatement()?.value ??
|
|
1794
|
+
return this.getDirectionStatement()?.value ?? x;
|
|
1773
1795
|
}
|
|
1774
1796
|
setDirection(e) {
|
|
1775
1797
|
let t = this.getDirectionStatement();
|
|
1776
1798
|
t ? t.value = e : this.rootDoc.unshift({
|
|
1777
|
-
stmt:
|
|
1799
|
+
stmt: C,
|
|
1778
1800
|
value: e
|
|
1779
1801
|
});
|
|
1780
1802
|
}
|
|
@@ -1782,19 +1804,19 @@ var X = /* @__PURE__ */ t((t, n, r, i, a, s, c, u) => {
|
|
|
1782
1804
|
return e.startsWith(":") ? e.slice(1).trim() : e.trim();
|
|
1783
1805
|
}
|
|
1784
1806
|
getData() {
|
|
1785
|
-
let e =
|
|
1807
|
+
let e = u();
|
|
1786
1808
|
return {
|
|
1787
1809
|
nodes: this.nodes,
|
|
1788
1810
|
edges: this.edges,
|
|
1789
1811
|
other: {},
|
|
1790
1812
|
config: e,
|
|
1791
|
-
direction:
|
|
1813
|
+
direction: G(this.getRootDocV2())
|
|
1792
1814
|
};
|
|
1793
1815
|
}
|
|
1794
1816
|
getConfig() {
|
|
1795
|
-
return
|
|
1817
|
+
return u().state;
|
|
1796
1818
|
}
|
|
1797
|
-
},
|
|
1819
|
+
}, Se = /* @__PURE__ */ f((e) => `
|
|
1798
1820
|
defs [id$="-barbEnd"] {
|
|
1799
1821
|
fill: ${e.transitionColor};
|
|
1800
1822
|
stroke: ${e.transitionColor};
|
|
@@ -2021,4 +2043,4 @@ g.stateGroup line {
|
|
|
2021
2043
|
}
|
|
2022
2044
|
`, "getStyles");
|
|
2023
2045
|
//#endregion
|
|
2024
|
-
export {
|
|
2046
|
+
export { Se as i, b as n, me as r, xe as t };
|