@sme.up/ketchup2 2.6.0 → 2.7.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/{arc-yUAZoqJP.js → arc-CVbkjF8U.js} +1 -1
- package/dist/{arc-CYi2lpSd.cjs → arc-w3BipdfE.cjs} +1 -1
- package/dist/{architectureDiagram-3BPJPVTR-CMX2LiQK.js → architectureDiagram-3BPJPVTR-B6VZAtZU.js} +87 -88
- package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +36 -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/cell/cell-utils.d.ts.map +1 -1
- package/dist/{blockDiagram-GPEHLZMM-fcAaH_Ka.js → blockDiagram-GPEHLZMM-BohmRoCC.js} +9 -9
- package/dist/{blockDiagram-GPEHLZMM-C7mogpj_.cjs → blockDiagram-GPEHLZMM-rfyR2Ffl.cjs} +1 -1
- package/dist/{c4Diagram-AAUBKEIU-BUOgTWLR.js → c4Diagram-AAUBKEIU-CdT8VCbo.js} +5 -5
- package/dist/{c4Diagram-AAUBKEIU-BjsHAdap.cjs → c4Diagram-AAUBKEIU-Du1vqJYZ.cjs} +1 -1
- package/dist/{channel-CAhFwf6U.js → channel-C-LAmObA.js} +1 -1
- package/dist/channel-DJpMBAs-.cjs +1 -0
- package/dist/{chunk-2J33WTMH-BulZYTKs.js → chunk-2J33WTMH-BMqA-riF.js} +2 -2
- package/dist/{chunk-2J33WTMH-DIfvCbWZ.cjs → chunk-2J33WTMH-BQs9SXq8.cjs} +1 -1
- package/dist/{chunk-3OPIFGDE-Ohf7vgmX.cjs → chunk-3OPIFGDE-Bk_ByTBh.cjs} +1 -1
- package/dist/{chunk-3OPIFGDE-BYuWDDGY.js → chunk-3OPIFGDE-Bs2mXISw.js} +6 -6
- package/dist/{chunk-4BX2VUAB-DdliHvKq.cjs → chunk-4BX2VUAB-C8VW0QW0.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-B74FMcxr.js → chunk-4BX2VUAB-zglw1T4d.js} +1 -1
- package/dist/{chunk-55IACEB6-DzCdT-ru.cjs → chunk-55IACEB6-CNxnI3nm.cjs} +1 -1
- package/dist/{chunk-55IACEB6-D5PlvtBC.js → chunk-55IACEB6-CmKDx-YO.js} +1 -1
- package/dist/{chunk-5ZQYHXKU-BvO58_5C.js → chunk-5ZQYHXKU-B_nOC8-n.js} +3 -3
- package/dist/{chunk-5ZQYHXKU-35HHGVyc.cjs → chunk-5ZQYHXKU-DMrStm4M.cjs} +1 -1
- package/dist/{chunk-727SXJPM-BDsxon3G.js → chunk-727SXJPM-CDeV7mmg.js} +70 -71
- package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +206 -0
- package/dist/{chunk-AQP2D5EJ-CPbTYzEZ.cjs → chunk-AQP2D5EJ-CYuEYK6i.cjs} +1 -1
- package/dist/{chunk-AQP2D5EJ-Cp3ieoZF.js → chunk-AQP2D5EJ-vJ_pitKp.js} +6 -6
- package/dist/{chunk-BSJP7CBP-DtjFXF0S.cjs → chunk-BSJP7CBP-CSCICPww.cjs} +1 -1
- package/dist/{chunk-BSJP7CBP-BjkTjHJ6.js → chunk-BSJP7CBP-YsQACkyC.js} +1 -1
- package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +124 -0
- package/dist/{chunk-CSCIHK7Q-Drr_NBLR.js → chunk-CSCIHK7Q-BEk3YcEH.js} +1328 -598
- package/dist/{chunk-FMBD7UC4-BLLpskYF.cjs → chunk-FMBD7UC4-BIKI8zae.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-Cia16Ryi.js → chunk-FMBD7UC4-BURT0llY.js} +1 -1
- package/dist/{chunk-KSCS5N6A-pd39ksIM.js → chunk-KSCS5N6A-BemQomLE.js} +9 -9
- package/dist/{chunk-KSCS5N6A-DSWnBtbV.cjs → chunk-KSCS5N6A-DsN7gJEf.cjs} +1 -1
- package/dist/{chunk-L5ZTLDWV-DXk-PQPS.js → chunk-L5ZTLDWV-BQCNoMVG.js} +3 -3
- package/dist/{chunk-L5ZTLDWV-sRcGREMv.cjs → chunk-L5ZTLDWV-BbLRyKcx.cjs} +1 -1
- package/dist/{chunk-LZXEDZCA-oQMllZja.js → chunk-LZXEDZCA-J9irjuVP.js} +7 -7
- package/dist/{chunk-LZXEDZCA-4kbGESh2.cjs → chunk-LZXEDZCA-rjLYyX5U.cjs} +1 -1
- package/dist/{chunk-ND2GUHAM-See9KDdJ.cjs → chunk-ND2GUHAM-1o9Sjy2_.cjs} +1 -1
- package/dist/{chunk-ND2GUHAM-CKQ1Jk8O.js → chunk-ND2GUHAM-Ca12h-m9.js} +3 -3
- package/dist/{chunk-NZK2D7GU-CqugOMaJ.js → chunk-NZK2D7GU-CPxdSJTy.js} +2 -2
- package/dist/{chunk-NZK2D7GU-FNVK0iHI.cjs → chunk-NZK2D7GU-CRneGIrP.cjs} +1 -1
- package/dist/{chunk-O5CBEL6O-BU_i0jbb.cjs → chunk-O5CBEL6O-Cd4Z5Dy9.cjs} +1 -1
- package/dist/{chunk-O5CBEL6O-BIU6TcWp.js → chunk-O5CBEL6O-DbWeP4Au.js} +3 -3
- package/dist/{chunk-QZHKN3VN-DPdobKra.cjs → chunk-QZHKN3VN-ZJ4hLUIw.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-cS9OamWo.js → chunk-QZHKN3VN-lYfzaOt9.js} +1 -1
- package/dist/{chunk-WU5MYG2G-BL6T82Hi.js → chunk-WU5MYG2G-DuCEb9G-.js} +2 -2
- package/dist/{chunk-WU5MYG2G-qi7ZaL3o.cjs → chunk-WU5MYG2G-ExiaHFbF.cjs} +1 -1
- package/dist/{chunk-XPW4576I-Dsm0jctf.cjs → chunk-XPW4576I-BybfDrup.cjs} +1 -1
- package/dist/{chunk-XPW4576I-B9aC8EBY.js → chunk-XPW4576I-D3DQ47oC.js} +1 -1
- package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +29 -0
- package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +1 -0
- package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +29 -0
- package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +1 -0
- package/dist/components/box-list/box-list.d.ts.map +1 -1
- 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 +56 -3
- 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 -3
- 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/workflow-designer/workflow-designer-types.d.ts +76 -0
- package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts +7 -0
- package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts +14 -0
- package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -0
- package/dist/{cose-bilkent-S5V4N54A-DZmA7Nat.js → cose-bilkent-S5V4N54A-BhA3VnPW.js} +25 -26
- package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +1 -0
- package/dist/{dagre-BM42HDAG-DwRqEen8.js → dagre-BM42HDAG-DfpR5Mml.js} +9 -9
- package/dist/{dagre-BM42HDAG-E2Jw6uLH.cjs → dagre-BM42HDAG-kORxgFz_.cjs} +1 -1
- package/dist/{diagram-2AECGRRQ-BITzWXbn.js → diagram-2AECGRRQ-23vM90dy.js} +5 -5
- package/dist/{diagram-2AECGRRQ-BkwGTiAT.cjs → diagram-2AECGRRQ-B0IEGKjr.cjs} +1 -1
- package/dist/{diagram-5GNKFQAL-bsRwDc-2.js → diagram-5GNKFQAL-BEY9x4us.js} +6 -6
- package/dist/{diagram-5GNKFQAL-CvMOQgoH.cjs → diagram-5GNKFQAL-vb6e35PR.cjs} +1 -1
- package/dist/{diagram-KO2AKTUF-DKGDs9Ax.cjs → diagram-KO2AKTUF-9V_zu-2x.cjs} +1 -1
- package/dist/{diagram-KO2AKTUF-DwTH3Hoo.js → diagram-KO2AKTUF-BEnEQF6b.js} +4 -4
- package/dist/{diagram-LMA3HP47-BojSLu6w.cjs → diagram-LMA3HP47-BN_geiB9.cjs} +1 -1
- package/dist/{diagram-LMA3HP47-nYPIM4Uq.js → diagram-LMA3HP47-OWxAHrmz.js} +5 -5
- package/dist/{diagram-OG6HWLK6-bHqMXqif.cjs → diagram-OG6HWLK6-6OnEK9-6.cjs} +1 -1
- package/dist/{diagram-OG6HWLK6-CPzvG6Xi.js → diagram-OG6HWLK6-Cfbv6mIH.js} +7 -7
- package/dist/{dist-BEmBi80K.js → dist-Btd8EZyy.js} +1 -1
- package/dist/dist-D8RD2QWc.cjs +1 -0
- package/dist/{erDiagram-TEJ5UH35-BxeM1F9k.js → erDiagram-TEJ5UH35-6OEXIM6m.js} +13 -13
- package/dist/{erDiagram-TEJ5UH35-CqUBZsAh.cjs → erDiagram-TEJ5UH35-CzsOt0l4.cjs} +1 -1
- package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +162 -0
- package/dist/{flowDiagram-I6XJVG4X-Dx5d6cgt.js → flowDiagram-I6XJVG4X-DnsxKD0w.js} +96 -97
- 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/row/row-types.d.ts +8 -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/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +292 -0
- package/dist/{ganttDiagram-6RSMTGT7-CFuwKLrB.js → ganttDiagram-6RSMTGT7-CwbJqdwB.js} +188 -189
- package/dist/{gitGraphDiagram-PVQCEYII-B-VOfNjd.cjs → gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs} +1 -1
- package/dist/{gitGraphDiagram-PVQCEYII-B2CaQTP_.js → gitGraphDiagram-PVQCEYII-mL2WiT98.js} +5 -5
- package/dist/index.d.ts +3 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/{infoDiagram-5YYISTIA-CM-al6Jc.js → infoDiagram-5YYISTIA-BIM8xaiE.js} +3 -3
- package/dist/{infoDiagram-5YYISTIA-22jaR465.cjs → infoDiagram-5YYISTIA-CbnHgs-I.cjs} +1 -1
- package/dist/{ishikawaDiagram-YF4QCWOH-CSRSkgHx.cjs → ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs} +1 -1
- package/dist/{ishikawaDiagram-YF4QCWOH-CfOvUIo-.js → ishikawaDiagram-YF4QCWOH-DGOgWzve.js} +4 -4
- package/dist/{journeyDiagram-JHISSGLW-BMECXtd1.js → journeyDiagram-JHISSGLW-CHVTMdrq.js} +5 -5
- package/dist/{journeyDiagram-JHISSGLW-P42eSNEh.cjs → journeyDiagram-JHISSGLW-DfnmJPLn.cjs} +1 -1
- package/dist/{kanban-definition-UN3LZRKU-DplPe2EX.cjs → kanban-definition-UN3LZRKU-CbeoJJE7.cjs} +1 -1
- package/dist/{kanban-definition-UN3LZRKU-DCzfGTs4.js → kanban-definition-UN3LZRKU-upKA3b5x.js} +10 -10
- package/dist/ketchup2.cjs.js +403 -101
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +148550 -118553
- package/dist/{line-CLmmMPn2.cjs → line-CzwncDY3.cjs} +1 -1
- package/dist/{line-0G6sJTVA.js → line-DIhSUgmA.js} +1 -1
- package/dist/{linear-yBssgUAc.cjs → linear-1lpO_WlJ.cjs} +1 -1
- package/dist/{linear-BNWgac81.js → linear-DUAteVwl.js} +1 -1
- package/dist/locale/en/translation.json.d.ts +7 -0
- package/dist/locale/it/translation.json.d.ts +8 -1
- package/dist/{mindmap-definition-RKZ34NQL-DpX8ksst.js → mindmap-definition-RKZ34NQL-C3YkCJDi.js} +12 -12
- package/dist/{mindmap-definition-RKZ34NQL-DbK4qO1Z.cjs → mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs} +1 -1
- package/dist/{pieDiagram-4H26LBE5-CCgLxjTB.js → pieDiagram-4H26LBE5-BvhguaHn.js} +7 -7
- package/dist/{pieDiagram-4H26LBE5-DAhjc9WT.cjs → pieDiagram-4H26LBE5-DpDrJBQK.cjs} +1 -1
- package/dist/{quadrantDiagram-W4KKPZXB-Bgw66PrU.js → quadrantDiagram-W4KKPZXB-C2oA-eGZ.js} +3 -3
- package/dist/{quadrantDiagram-W4KKPZXB-BBEQhVJy.cjs → quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs} +1 -1
- package/dist/{requirementDiagram-4Y6WPE33-BzNEhq-x.js → requirementDiagram-4Y6WPE33-BEGryahw.js} +12 -12
- package/dist/{requirementDiagram-4Y6WPE33-L_lL0BcB.cjs → requirementDiagram-4Y6WPE33-GmjmsbiY.cjs} +1 -1
- package/dist/{sankeyDiagram-5OEKKPKP-Dy9K3F81.cjs → sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs} +1 -1
- package/dist/{sankeyDiagram-5OEKKPKP-06MsaQmt.js → sankeyDiagram-5OEKKPKP-VPzKV4zM.js} +2 -2
- package/dist/{sequenceDiagram-3UESZ5HK-QEaDF4MY.js → sequenceDiagram-3UESZ5HK-Bc30_Cm2.js} +7 -7
- package/dist/{sequenceDiagram-3UESZ5HK-C69YSjBM.cjs → sequenceDiagram-3UESZ5HK-D85rpewi.cjs} +1 -1
- package/dist/src-DEmZ9bFr.cjs +1 -0
- package/dist/{src-GDFuItmC.js → src-DjDATEq3.js} +578 -563
- package/dist/{stateDiagram-AJRCARHV-CBbDL4Ct.cjs → stateDiagram-AJRCARHV-Bg4Y3HPa.cjs} +1 -1
- package/dist/{stateDiagram-AJRCARHV-BTzCb_Q-.js → stateDiagram-AJRCARHV-wqjltbKb.js} +14 -14
- package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +27 -0
- package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +1 -0
- package/dist/{timeline-definition-PNZ67QCA-DoD4D5kw.js → timeline-definition-PNZ67QCA-1z911Ume.js} +5 -5
- package/dist/{timeline-definition-PNZ67QCA-DJ9VKw6h.cjs → timeline-definition-PNZ67QCA-Dpu3hfhP.cjs} +1 -1
- 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 +8 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/{vennDiagram-CIIHVFJN-DeRVKdRG.cjs → vennDiagram-CIIHVFJN-BLBDqWTG.cjs} +1 -1
- package/dist/{vennDiagram-CIIHVFJN-Du1h-z8K.js → vennDiagram-CIIHVFJN-BiLcQ0SR.js} +4 -4
- package/dist/{wardleyDiagram-YWT4CUSO-CjOm3Xnp.js → wardleyDiagram-YWT4CUSO-Bq-BejOl.js} +5 -5
- package/dist/{wardleyDiagram-YWT4CUSO-CaaSvy6n.cjs → wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs} +1 -1
- package/dist/{xychartDiagram-2RQKCTM6-D0hXWFFN.js → xychartDiagram-2RQKCTM6-B13zquXC.js} +7 -7
- package/dist/{xychartDiagram-2RQKCTM6-CWncieig.cjs → xychartDiagram-2RQKCTM6-DA3O42Dk.cjs} +1 -1
- package/package.json +3 -2
- 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/cell-NyD4Bcyq.js +0 -6457
- package/dist/cell-dpOG-xr_.cjs +0 -6
- package/dist/channel-BzP1tmYc.cjs +0 -1
- package/dist/chunk-727SXJPM-BCv3AEZb.cjs +0 -206
- package/dist/chunk-CSCIHK7Q-WWTYrQLt.cjs +0 -122
- package/dist/chunk-Dqa2HsxW.js +0 -20
- 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/dist-Dwq87x4R.cjs +0 -1
- 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/jsx-runtime-DCATrIRp.js +0 -183
- package/dist/jsx-runtime-DtVwqYNW.cjs +0 -6
- package/dist/purify.es-9OKVhuci.js +0 -735
- package/dist/purify.es-hdXGOu6N.cjs +0 -3
- package/dist/src-CFBvxm_0.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-BrQR0oUL.cjs +0 -1
- package/dist/stateDiagram-v2-BHNVJYJU-C7E3JbTB.js +0 -27
- package/dist/useObjectProtocol-3BhpCUjG.cjs +0 -3
- package/dist/useObjectProtocol-DZdggHDN.js +0 -4333
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as C } from "./chunk-2J33WTMH-BulZYTKs.js";
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-DjDATEq3.js";
|
|
2
|
+
import { G as r, H as i, K as a, U as o, a as s, d as c, ot as l, rt as u, s as d, v as f, w as ee, x as p, y as m } from "./chunk-CSCIHK7Q-BEk3YcEH.js";
|
|
3
|
+
import { t as h } from "./channel-C-LAmObA.js";
|
|
4
|
+
import { c as g, g as _ } from "./chunk-5ZQYHXKU-B_nOC8-n.js";
|
|
5
|
+
import { n as te, t as ne } from "./chunk-XPW4576I-D3DQ47oC.js";
|
|
6
|
+
import "./chunk-BSJP7CBP-YsQACkyC.js";
|
|
7
|
+
import "./chunk-L5ZTLDWV-BQCNoMVG.js";
|
|
8
|
+
import "./chunk-NZK2D7GU-CPxdSJTy.js";
|
|
9
|
+
import "./chunk-O5CBEL6O-DbWeP4Au.js";
|
|
10
|
+
import { o as re } from "./chunk-3OPIFGDE-Bs2mXISw.js";
|
|
11
|
+
import "./chunk-KSCS5N6A-BemQomLE.js";
|
|
12
|
+
import { r as v, t as y } from "./chunk-LZXEDZCA-J9irjuVP.js";
|
|
13
|
+
import { t as b } from "./chunk-FMBD7UC4-BURT0llY.js";
|
|
14
|
+
import { t as x } from "./chunk-ND2GUHAM-Ca12h-m9.js";
|
|
15
|
+
import { t as S } from "./chunk-55IACEB6-CmKDx-YO.js";
|
|
16
|
+
import { t as C } from "./chunk-2J33WTMH-BMqA-riF.js";
|
|
18
17
|
//#region node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-I6XJVG4X.mjs
|
|
19
18
|
var w = "flowchart-", T = class {
|
|
20
19
|
constructor() {
|
|
21
|
-
this.vertexCounter = 0, this.config = p(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle =
|
|
20
|
+
this.vertexCounter = 0, this.config = p(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = o, this.setAccDescription = i, this.setDiagramTitle = a, this.getAccTitle = m, this.getAccDescription = f, this.getDiagramTitle = ee, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
|
|
22
21
|
}
|
|
23
22
|
static {
|
|
24
|
-
|
|
23
|
+
t(this, "FlowDB");
|
|
25
24
|
}
|
|
26
25
|
sanitizeText(e) {
|
|
27
26
|
return d.sanitizeText(e, this.config);
|
|
@@ -41,27 +40,27 @@ var w = "flowchart-", T = class {
|
|
|
41
40
|
for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
|
|
42
41
|
return this.diagramId ? `${this.diagramId}-${e}` : e;
|
|
43
42
|
}
|
|
44
|
-
addVertex(
|
|
45
|
-
if (!
|
|
43
|
+
addVertex(t, n, r, i, a, o, s = {}, c) {
|
|
44
|
+
if (!t || t.trim().length === 0) return;
|
|
46
45
|
let l;
|
|
47
46
|
if (c !== void 0) {
|
|
48
47
|
let e;
|
|
49
48
|
e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = te(e, { schema: ne });
|
|
50
49
|
}
|
|
51
|
-
let u = this.edges.find((
|
|
50
|
+
let u = this.edges.find((e) => e.id === t);
|
|
52
51
|
if (u) {
|
|
53
52
|
let e = l;
|
|
54
53
|
e?.animate !== void 0 && (u.animate = e.animate), e?.animation !== void 0 && (u.animation = e.animation), e?.curve !== void 0 && (u.interpolate = e.curve);
|
|
55
54
|
return;
|
|
56
55
|
}
|
|
57
|
-
let d, f = this.vertices.get(
|
|
58
|
-
if (f === void 0 && (n === void 0 && r === void 0 && i != null &&
|
|
59
|
-
id:
|
|
56
|
+
let d, f = this.vertices.get(t);
|
|
57
|
+
if (f === void 0 && (n === void 0 && r === void 0 && i != null && e.warn(`Style applied to unknown node "${t}". This may indicate a typo. The node will be created automatically.`), f = {
|
|
58
|
+
id: t,
|
|
60
59
|
labelType: "text",
|
|
61
|
-
domId: w +
|
|
60
|
+
domId: w + t + "-" + this.vertexCounter,
|
|
62
61
|
styles: [],
|
|
63
62
|
classes: []
|
|
64
|
-
}, this.vertices.set(
|
|
63
|
+
}, this.vertices.set(t, f)), this.vertexCounter++, n === void 0 ? f.text === void 0 && (f.text = t) : (this.config = p(), d = this.sanitizeText(n.text.trim()), f.labelType = n.type, d.startsWith("\"") && d.endsWith("\"") && (d = d.substring(1, d.length - 1)), f.text = d), r !== void 0 && (f.type = r), i?.forEach((e) => {
|
|
65
64
|
f.styles.push(e);
|
|
66
65
|
}), a?.forEach((e) => {
|
|
67
66
|
f.classes.push(e);
|
|
@@ -71,12 +70,12 @@ var w = "flowchart-", T = class {
|
|
|
71
70
|
if (!re(l.shape)) throw Error(`No such shape: ${l.shape}.`);
|
|
72
71
|
f.type = l?.shape;
|
|
73
72
|
}
|
|
74
|
-
l?.label && (f.text = l?.label, f.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (f.icon = l?.icon, !l.label?.trim() && f.text ===
|
|
73
|
+
l?.label && (f.text = l?.label, f.labelType = this.sanitizeNodeLabelType(l?.labelType)), l?.icon && (f.icon = l?.icon, !l.label?.trim() && f.text === t && (f.text = "")), l?.form && (f.form = l?.form), l?.pos && (f.pos = l?.pos), l?.img && (f.img = l?.img, !l.label?.trim() && f.text === t && (f.text = "")), l?.constraint && (f.constraint = l.constraint), l.w && (f.assetWidth = Number(l.w)), l.h && (f.assetHeight = Number(l.h));
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
|
-
addSingleLink(
|
|
76
|
+
addSingleLink(t, n, r, i) {
|
|
78
77
|
let a = {
|
|
79
|
-
start:
|
|
78
|
+
start: t,
|
|
80
79
|
end: n,
|
|
81
80
|
type: void 0,
|
|
82
81
|
text: "",
|
|
@@ -85,7 +84,7 @@ var w = "flowchart-", T = class {
|
|
|
85
84
|
isUserDefinedId: !1,
|
|
86
85
|
interpolate: this.edges.defaultInterpolate
|
|
87
86
|
};
|
|
88
|
-
|
|
87
|
+
e.info("abc78 Got edge...", a);
|
|
89
88
|
let o = r.text;
|
|
90
89
|
if (o !== void 0 && (a.text = this.sanitizeText(o.text.trim()), a.text.startsWith("\"") && a.text.endsWith("\"") && (a.text = a.text.substring(1, a.text.length - 1)), a.labelType = this.sanitizeNodeLabelType(o.type)), r !== void 0 && (a.type = r.type, a.stroke = r.stroke, a.length = r.length > 10 ? 10 : r.length), i && !this.edges.some((e) => e.id === i)) a.id = i, a.isUserDefinedId = !0;
|
|
91
90
|
else {
|
|
@@ -98,7 +97,7 @@ var w = "flowchart-", T = class {
|
|
|
98
97
|
prefix: "L"
|
|
99
98
|
});
|
|
100
99
|
}
|
|
101
|
-
if (this.edges.length < (this.config.maxEdges ?? 500))
|
|
100
|
+
if (this.edges.length < (this.config.maxEdges ?? 500)) e.info("Pushing edge..."), this.edges.push(a);
|
|
102
101
|
else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
103
102
|
|
|
104
103
|
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
@@ -108,12 +107,12 @@ You have to call mermaid.initialize.`);
|
|
|
108
107
|
isLinkData(e) {
|
|
109
108
|
return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
|
|
110
109
|
}
|
|
111
|
-
addLink(
|
|
110
|
+
addLink(t, n, r) {
|
|
112
111
|
let i = this.isLinkData(r) ? r.id.replace("@", "") : void 0;
|
|
113
|
-
|
|
114
|
-
for (let
|
|
115
|
-
let o =
|
|
116
|
-
o && s ? this.addSingleLink(
|
|
112
|
+
e.info("addLink", t, n, i);
|
|
113
|
+
for (let e of t) for (let a of n) {
|
|
114
|
+
let o = e === t[t.length - 1], s = a === n[0];
|
|
115
|
+
o && s ? this.addSingleLink(e, a, r, i) : this.addSingleLink(e, a, r, void 0);
|
|
117
116
|
}
|
|
118
117
|
}
|
|
119
118
|
updateLinkInterpolate(e, t) {
|
|
@@ -213,19 +212,19 @@ You have to call mermaid.initialize.`);
|
|
|
213
212
|
getClasses() {
|
|
214
213
|
return this.classes;
|
|
215
214
|
}
|
|
216
|
-
setupToolTips(
|
|
217
|
-
let
|
|
218
|
-
|
|
219
|
-
let
|
|
220
|
-
if (
|
|
221
|
-
let
|
|
222
|
-
|
|
215
|
+
setupToolTips(e) {
|
|
216
|
+
let t = x();
|
|
217
|
+
n(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
|
|
218
|
+
let r = n(e.currentTarget), i = r.attr("title");
|
|
219
|
+
if (i === null) return;
|
|
220
|
+
let a = e.currentTarget?.getBoundingClientRect();
|
|
221
|
+
t.transition().duration(200).style("opacity", ".9"), t.text(r.attr("title")).style("left", window.scrollX + a.left + (a.right - a.left) / 2 + "px").style("top", window.scrollY + a.bottom + "px"), t.html(l.sanitize(i)), r.classed("hover", !0);
|
|
223
222
|
}).on("mouseout", (e) => {
|
|
224
|
-
|
|
223
|
+
t.transition().duration(500).style("opacity", 0), n(e.currentTarget).classed("hover", !1);
|
|
225
224
|
});
|
|
226
225
|
}
|
|
227
226
|
clear(e = "gen-2") {
|
|
228
|
-
this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = p(),
|
|
227
|
+
this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = p(), s();
|
|
229
228
|
}
|
|
230
229
|
setGen(e) {
|
|
231
230
|
this.version = e || "gen-2";
|
|
@@ -233,10 +232,10 @@ You have to call mermaid.initialize.`);
|
|
|
233
232
|
defaultStyle() {
|
|
234
233
|
return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
|
|
235
234
|
}
|
|
236
|
-
addSubGraph(
|
|
237
|
-
let a =
|
|
238
|
-
|
|
239
|
-
let s = (/* @__PURE__ */
|
|
235
|
+
addSubGraph(n, r, i) {
|
|
236
|
+
let a = n.text.trim(), o = i.text;
|
|
237
|
+
n === i && /\s/.exec(i.text) && (a = void 0);
|
|
238
|
+
let s = (/* @__PURE__ */ t((e) => {
|
|
240
239
|
let t = {
|
|
241
240
|
boolean: {},
|
|
242
241
|
number: {},
|
|
@@ -260,7 +259,7 @@ You have to call mermaid.initialize.`);
|
|
|
260
259
|
dir: l,
|
|
261
260
|
labelType: this.sanitizeNodeLabelType(i?.type)
|
|
262
261
|
};
|
|
263
|
-
return
|
|
262
|
+
return e.info("Adding", d.id, d.nodes, d.dir), d.nodes = this.makeUniq(d, this.subGraphs).nodes, this.subGraphs.push(d), this.subGraphLookup.set(a, d), a;
|
|
264
263
|
}
|
|
265
264
|
getPosForId(e) {
|
|
266
265
|
for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
|
|
@@ -531,32 +530,32 @@ You have to call mermaid.initialize.`);
|
|
|
531
530
|
};
|
|
532
531
|
}
|
|
533
532
|
defaultConfig() {
|
|
534
|
-
return
|
|
533
|
+
return c.flowchart;
|
|
535
534
|
}
|
|
536
535
|
}, E = {
|
|
537
|
-
getClasses: /* @__PURE__ */
|
|
536
|
+
getClasses: /* @__PURE__ */ t(function(e, t) {
|
|
538
537
|
return t.db.getClasses();
|
|
539
538
|
}, "getClasses"),
|
|
540
|
-
draw: /* @__PURE__ */
|
|
541
|
-
|
|
539
|
+
draw: /* @__PURE__ */ t(async function(t, n, r, i) {
|
|
540
|
+
e.info("REF0:"), e.info("Drawing state diagram (v2)", n);
|
|
542
541
|
let { securityLevel: a, flowchart: o, layout: s } = p();
|
|
543
|
-
i.db.setDiagramId(n),
|
|
542
|
+
i.db.setDiagramId(n), e.debug("Before getData: ");
|
|
544
543
|
let c = i.db.getData();
|
|
545
|
-
|
|
544
|
+
e.debug("Data: ", c);
|
|
546
545
|
let l = S(n, a), u = i.db.getDirection();
|
|
547
|
-
c.type = i.type, c.layoutAlgorithm = y(s), c.layoutAlgorithm === "dagre" && s === "elk" &&
|
|
546
|
+
c.type = i.type, c.layoutAlgorithm = y(s), c.layoutAlgorithm === "dagre" && s === "elk" && e.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), c.direction = u, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
|
|
548
547
|
"point",
|
|
549
548
|
"circle",
|
|
550
549
|
"cross"
|
|
551
|
-
], c.diagramId = n,
|
|
550
|
+
], c.diagramId = n, e.debug("REF1:", c), await v(c, l);
|
|
552
551
|
let d = c.config.flowchart?.diagramPadding ?? 8;
|
|
553
552
|
_.insertTitle(l, "flowchartTitleText", o?.titleTopMargin || 0, i.db.getDiagramTitle()), C(l, d, "flowchart", o?.useMaxWidth || !1);
|
|
554
553
|
}, "draw")
|
|
555
554
|
}, D = (function() {
|
|
556
|
-
var e = /* @__PURE__ */
|
|
555
|
+
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
557
556
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
558
557
|
return n;
|
|
559
|
-
}, "o"),
|
|
558
|
+
}, "o"), n = [1, 4], r = [1, 3], i = [1, 5], a = [
|
|
560
559
|
1,
|
|
561
560
|
8,
|
|
562
561
|
9,
|
|
@@ -838,7 +837,7 @@ You have to call mermaid.initialize.`);
|
|
|
838
837
|
111,
|
|
839
838
|
112
|
|
840
839
|
], rt = {
|
|
841
|
-
trace: /* @__PURE__ */
|
|
840
|
+
trace: /* @__PURE__ */ t(function() {}, "trace"),
|
|
842
841
|
yy: {},
|
|
843
842
|
symbols_: {
|
|
844
843
|
error: 2,
|
|
@@ -1246,7 +1245,7 @@ You have to call mermaid.initialize.`);
|
|
|
1246
1245
|
[33, 1],
|
|
1247
1246
|
[33, 1]
|
|
1248
1247
|
],
|
|
1249
|
-
performAction: /* @__PURE__ */
|
|
1248
|
+
performAction: /* @__PURE__ */ t(function(e, t, n, r, i, a, o) {
|
|
1250
1249
|
var s = a.length - 1;
|
|
1251
1250
|
switch (i) {
|
|
1252
1251
|
case 2:
|
|
@@ -1637,7 +1636,7 @@ You have to call mermaid.initialize.`);
|
|
|
1637
1636
|
{
|
|
1638
1637
|
3: 1,
|
|
1639
1638
|
4: 2,
|
|
1640
|
-
9:
|
|
1639
|
+
9: n,
|
|
1641
1640
|
10: r,
|
|
1642
1641
|
12: i
|
|
1643
1642
|
},
|
|
@@ -1645,13 +1644,13 @@ You have to call mermaid.initialize.`);
|
|
|
1645
1644
|
e(a, o, { 5: 6 }),
|
|
1646
1645
|
{
|
|
1647
1646
|
4: 7,
|
|
1648
|
-
9:
|
|
1647
|
+
9: n,
|
|
1649
1648
|
10: r,
|
|
1650
1649
|
12: i
|
|
1651
1650
|
},
|
|
1652
1651
|
{
|
|
1653
1652
|
4: 8,
|
|
1654
|
-
9:
|
|
1653
|
+
9: n,
|
|
1655
1654
|
10: r,
|
|
1656
1655
|
12: i
|
|
1657
1656
|
},
|
|
@@ -2985,15 +2984,15 @@ You have to call mermaid.initialize.`);
|
|
|
2985
2984
|
e(I, [2, 125], { 106: tt })
|
|
2986
2985
|
],
|
|
2987
2986
|
defaultActions: {},
|
|
2988
|
-
parseError: /* @__PURE__ */
|
|
2987
|
+
parseError: /* @__PURE__ */ t(function(e, t) {
|
|
2989
2988
|
if (t.recoverable) this.trace(e);
|
|
2990
2989
|
else {
|
|
2991
2990
|
var n = Error(e);
|
|
2992
2991
|
throw n.hash = t, n;
|
|
2993
2992
|
}
|
|
2994
2993
|
}, "parseError"),
|
|
2995
|
-
parse: /* @__PURE__ */
|
|
2996
|
-
var
|
|
2994
|
+
parse: /* @__PURE__ */ t(function(e) {
|
|
2995
|
+
var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, ee = 1, p = o.slice.call(arguments, 1), m = Object.create(this.lexer), h = { yy: {} };
|
|
2997
2996
|
for (var g in this.yy) Object.prototype.hasOwnProperty.call(this.yy, g) && (h.yy[g] = this.yy[g]);
|
|
2998
2997
|
m.setInput(e, h.yy), h.yy.lexer = m, h.yy.parser = this, m.yylloc === void 0 && (m.yylloc = {});
|
|
2999
2998
|
var _ = m.yylloc;
|
|
@@ -3003,12 +3002,12 @@ You have to call mermaid.initialize.`);
|
|
|
3003
3002
|
function ne(e) {
|
|
3004
3003
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
3005
3004
|
}
|
|
3006
|
-
|
|
3005
|
+
t(ne, "popStack");
|
|
3007
3006
|
function re() {
|
|
3008
3007
|
var e = i.pop() || m.lex() || ee;
|
|
3009
|
-
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e =
|
|
3008
|
+
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
|
|
3010
3009
|
}
|
|
3011
|
-
|
|
3010
|
+
t(re, "lex");
|
|
3012
3011
|
for (var v, y, b, x, S, C = {}, w, T, E, D;;) {
|
|
3013
3012
|
if (b = r[r.length - 1], this.defaultActions[b] ? x = this.defaultActions[b] : (v ??= re(), x = s[b] && s[b][v]), x === void 0 || !x.length || !x[0]) {
|
|
3014
3013
|
var O = "";
|
|
@@ -3052,11 +3051,11 @@ You have to call mermaid.initialize.`);
|
|
|
3052
3051
|
rt.lexer = /* @__PURE__ */ (function() {
|
|
3053
3052
|
return {
|
|
3054
3053
|
EOF: 1,
|
|
3055
|
-
parseError: /* @__PURE__ */
|
|
3054
|
+
parseError: /* @__PURE__ */ t(function(e, t) {
|
|
3056
3055
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
3057
3056
|
else throw Error(e);
|
|
3058
3057
|
}, "parseError"),
|
|
3059
|
-
setInput: /* @__PURE__ */
|
|
3058
|
+
setInput: /* @__PURE__ */ t(function(e, t) {
|
|
3060
3059
|
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 = {
|
|
3061
3060
|
first_line: 1,
|
|
3062
3061
|
first_column: 0,
|
|
@@ -3064,11 +3063,11 @@ You have to call mermaid.initialize.`);
|
|
|
3064
3063
|
last_column: 0
|
|
3065
3064
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
3066
3065
|
}, "setInput"),
|
|
3067
|
-
input: /* @__PURE__ */
|
|
3066
|
+
input: /* @__PURE__ */ t(function() {
|
|
3068
3067
|
var e = this._input[0];
|
|
3069
3068
|
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;
|
|
3070
3069
|
}, "input"),
|
|
3071
|
-
unput: /* @__PURE__ */
|
|
3070
|
+
unput: /* @__PURE__ */ t(function(e) {
|
|
3072
3071
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
3073
3072
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
3074
3073
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -3081,10 +3080,10 @@ You have to call mermaid.initialize.`);
|
|
|
3081
3080
|
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
|
|
3082
3081
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
3083
3082
|
}, "unput"),
|
|
3084
|
-
more: /* @__PURE__ */
|
|
3083
|
+
more: /* @__PURE__ */ t(function() {
|
|
3085
3084
|
return this._more = !0, this;
|
|
3086
3085
|
}, "more"),
|
|
3087
|
-
reject: /* @__PURE__ */
|
|
3086
|
+
reject: /* @__PURE__ */ t(function() {
|
|
3088
3087
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
3089
3088
|
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(), {
|
|
3090
3089
|
text: "",
|
|
@@ -3093,22 +3092,22 @@ You have to call mermaid.initialize.`);
|
|
|
3093
3092
|
});
|
|
3094
3093
|
return this;
|
|
3095
3094
|
}, "reject"),
|
|
3096
|
-
less: /* @__PURE__ */
|
|
3095
|
+
less: /* @__PURE__ */ t(function(e) {
|
|
3097
3096
|
this.unput(this.match.slice(e));
|
|
3098
3097
|
}, "less"),
|
|
3099
|
-
pastInput: /* @__PURE__ */
|
|
3098
|
+
pastInput: /* @__PURE__ */ t(function() {
|
|
3100
3099
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
3101
3100
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
3102
3101
|
}, "pastInput"),
|
|
3103
|
-
upcomingInput: /* @__PURE__ */
|
|
3102
|
+
upcomingInput: /* @__PURE__ */ t(function() {
|
|
3104
3103
|
var e = this.match;
|
|
3105
3104
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
3106
3105
|
}, "upcomingInput"),
|
|
3107
|
-
showPosition: /* @__PURE__ */
|
|
3106
|
+
showPosition: /* @__PURE__ */ t(function() {
|
|
3108
3107
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
3109
3108
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
3110
3109
|
}, "showPosition"),
|
|
3111
|
-
test_match: /* @__PURE__ */
|
|
3110
|
+
test_match: /* @__PURE__ */ t(function(e, t) {
|
|
3112
3111
|
var n, r, i;
|
|
3113
3112
|
if (this.options.backtrack_lexer && (i = {
|
|
3114
3113
|
yylineno: this.yylineno,
|
|
@@ -3141,7 +3140,7 @@ You have to call mermaid.initialize.`);
|
|
|
3141
3140
|
}
|
|
3142
3141
|
return !1;
|
|
3143
3142
|
}, "test_match"),
|
|
3144
|
-
next: /* @__PURE__ */
|
|
3143
|
+
next: /* @__PURE__ */ t(function() {
|
|
3145
3144
|
if (this.done) return this.EOF;
|
|
3146
3145
|
this._input || (this.done = !0);
|
|
3147
3146
|
var e, t, n, r;
|
|
@@ -3161,29 +3160,29 @@ You have to call mermaid.initialize.`);
|
|
|
3161
3160
|
line: this.yylineno
|
|
3162
3161
|
});
|
|
3163
3162
|
}, "next"),
|
|
3164
|
-
lex: /* @__PURE__ */
|
|
3163
|
+
lex: /* @__PURE__ */ t(function() {
|
|
3165
3164
|
return this.next() || this.lex();
|
|
3166
3165
|
}, "lex"),
|
|
3167
|
-
begin: /* @__PURE__ */
|
|
3166
|
+
begin: /* @__PURE__ */ t(function(e) {
|
|
3168
3167
|
this.conditionStack.push(e);
|
|
3169
3168
|
}, "begin"),
|
|
3170
|
-
popState: /* @__PURE__ */
|
|
3169
|
+
popState: /* @__PURE__ */ t(function() {
|
|
3171
3170
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
3172
3171
|
}, "popState"),
|
|
3173
|
-
_currentRules: /* @__PURE__ */
|
|
3172
|
+
_currentRules: /* @__PURE__ */ t(function() {
|
|
3174
3173
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
3175
3174
|
}, "_currentRules"),
|
|
3176
|
-
topState: /* @__PURE__ */
|
|
3175
|
+
topState: /* @__PURE__ */ t(function(e) {
|
|
3177
3176
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
3178
3177
|
}, "topState"),
|
|
3179
|
-
pushState: /* @__PURE__ */
|
|
3178
|
+
pushState: /* @__PURE__ */ t(function(e) {
|
|
3180
3179
|
this.begin(e);
|
|
3181
3180
|
}, "pushState"),
|
|
3182
|
-
stateStackSize: /* @__PURE__ */
|
|
3181
|
+
stateStackSize: /* @__PURE__ */ t(function() {
|
|
3183
3182
|
return this.conditionStack.length;
|
|
3184
3183
|
}, "stateStackSize"),
|
|
3185
3184
|
options: {},
|
|
3186
|
-
performAction: /* @__PURE__ */
|
|
3185
|
+
performAction: /* @__PURE__ */ t(function(e, t, n, r) {
|
|
3187
3186
|
switch (n) {
|
|
3188
3187
|
case 0: return this.begin("acc_title"), 34;
|
|
3189
3188
|
case 1: return this.popState(), "acc_title_value";
|
|
@@ -3973,7 +3972,7 @@ You have to call mermaid.initialize.`);
|
|
|
3973
3972
|
function it() {
|
|
3974
3973
|
this.yy = {};
|
|
3975
3974
|
}
|
|
3976
|
-
return
|
|
3975
|
+
return t(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
|
|
3977
3976
|
})();
|
|
3978
3977
|
D.parser = D;
|
|
3979
3978
|
var O = D, ie = Object.assign({}, O);
|
|
@@ -3981,7 +3980,7 @@ ie.parse = (e) => {
|
|
|
3981
3980
|
let t = e.replace(/}\s*\n/g, "}\n");
|
|
3982
3981
|
return O.parse(t);
|
|
3983
3982
|
};
|
|
3984
|
-
var ae = ie, oe = /* @__PURE__ */
|
|
3983
|
+
var ae = ie, oe = /* @__PURE__ */ t((e, t) => {
|
|
3985
3984
|
let n = h;
|
|
3986
3985
|
return u(n(e, "r"), n(e, "g"), n(e, "b"), t);
|
|
3987
3986
|
}, "fade"), k = {
|
|
@@ -3990,7 +3989,7 @@ var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
|
|
|
3990
3989
|
return new T();
|
|
3991
3990
|
},
|
|
3992
3991
|
renderer: E,
|
|
3993
|
-
styles: /* @__PURE__ */
|
|
3992
|
+
styles: /* @__PURE__ */ t((e) => `.label {
|
|
3994
3993
|
font-family: ${e.fontFamily};
|
|
3995
3994
|
color: ${e.nodeTextColor || e.textColor};
|
|
3996
3995
|
}
|
|
@@ -4138,8 +4137,8 @@ var ae = ie, oe = /* @__PURE__ */ n((e, t) => {
|
|
|
4138
4137
|
}
|
|
4139
4138
|
${b()}
|
|
4140
4139
|
`, "getStyles"),
|
|
4141
|
-
init: /* @__PURE__ */
|
|
4142
|
-
e.flowchart ||= {}, e.layout &&
|
|
4140
|
+
init: /* @__PURE__ */ t((e) => {
|
|
4141
|
+
e.flowchart ||= {}, e.layout && r({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, r({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
|
|
4143
4142
|
}, "init")
|
|
4144
4143
|
};
|
|
4145
4144
|
//#endregion
|
|
@@ -4,12 +4,6 @@ export interface ActionListProps {
|
|
|
4
4
|
* The tree data to display.
|
|
5
5
|
*/
|
|
6
6
|
data: DataTree;
|
|
7
|
-
/**
|
|
8
|
-
* Controls how children are rendered in the right panel.
|
|
9
|
-
* - `"shapelist"` (default): uses ShapeList for a richer card-style view.
|
|
10
|
-
* - `"list"`: uses the compact List component.
|
|
11
|
-
*/
|
|
12
|
-
rightPanelMode?: ActionListRightPanelMode;
|
|
13
7
|
/**
|
|
14
8
|
* Called when a leaf node is clicked.
|
|
15
9
|
*/
|
|
@@ -19,5 +13,4 @@ export interface ActionListProps {
|
|
|
19
13
|
*/
|
|
20
14
|
onLoadNodeChildren?: (node: DataNode) => Promise<DataTree>;
|
|
21
15
|
}
|
|
22
|
-
export type ActionListRightPanelMode = "shapelist" | "list";
|
|
23
16
|
//# sourceMappingURL=action-list-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-list-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/action-list/action-list-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAEhE,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAA;IAEd
|
|
1
|
+
{"version":3,"file":"action-list-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/action-list/action-list-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAEhE,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAA;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;IAElC;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAA;CAC3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-list.d.ts","sourceRoot":"","sources":["../../../src/functional-components/action-list/action-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"action-list.d.ts","sourceRoot":"","sources":["../../../src/functional-components/action-list/action-list.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAUrD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8MhD,CAAA"}
|
|
@@ -26,6 +26,14 @@ export interface RowProps {
|
|
|
26
26
|
* The value of the offsetTop. Specifically usefull for virtualization.
|
|
27
27
|
*/
|
|
28
28
|
offsetTop?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The index of the row in the data set. Used for alternating row colors.
|
|
31
|
+
*/
|
|
32
|
+
index?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Whether alternating row colors are enabled.
|
|
35
|
+
*/
|
|
36
|
+
altRowCol?: string;
|
|
29
37
|
/**
|
|
30
38
|
* Whether the row is a groupRow or not.
|
|
31
39
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/row/row-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAA;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAErC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,CAAA;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAE3B;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAEnD;;OAEG;IACH,WAAW,CAAC,EAAE,CACZ,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,EACzC,IAAI,EAAE,QAAQ,KACX,IAAI,CAAA;IAET;;OAEG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAA;CAClC;AAGD,wBAAgB,UAAU,CACxB,GAAG,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAClC,GAAG,IAAI,QAAQ,CAEjB;AAGD,wBAAgB,SAAS,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO,GAAG,GAAG,IAAI,OAAO,CAEjE"}
|
|
1
|
+
{"version":3,"file":"row-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/row/row-types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAA;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAErC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,CAAA;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAE3B;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAEnD;;OAEG;IACH,WAAW,CAAC,EAAE,CACZ,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,EACzC,IAAI,EAAE,QAAQ,KACX,IAAI,CAAA;IAET;;OAEG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAA;CAClC;AAGD,wBAAgB,UAAU,CACxB,GAAG,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAClC,GAAG,IAAI,QAAQ,CAEjB;AAGD,wBAAgB,SAAS,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO,GAAG,GAAG,IAAI,OAAO,CAEjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../src/functional-components/row/row.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAyB,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../src/functional-components/row/row.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAyB,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA+OlC,CAAA"}
|