@plumile/ui 0.1.84 → 0.1.86
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/README.md +109 -27
- package/lib/esm/BackofficeJsonViewerAsync-BeBxIpGT.js +7 -0
- package/lib/esm/{BackofficeJsonViewerAsync-B_YPyubK.js.map → BackofficeJsonViewerAsync-BeBxIpGT.js.map} +1 -1
- package/lib/esm/{MarkdownCodeBlock-B__tyIcc.js → MarkdownCodeBlock-C0d5VZVs.js} +3 -3
- package/lib/esm/{MarkdownCodeBlock-B__tyIcc.js.map → MarkdownCodeBlock-C0d5VZVs.js.map} +1 -1
- package/lib/esm/{MarkdownRenderer-w1EzXVlv.js → MarkdownRenderer-BZQymHWR.js} +37 -36
- package/lib/esm/MarkdownRenderer-BZQymHWR.js.map +1 -0
- package/lib/esm/{MarkdownShikiCodeBlock-Dv7ONFFy.js → MarkdownShikiCodeBlock-CQENUqVC.js} +2 -3
- package/lib/esm/{MarkdownShikiCodeBlock-Dv7ONFFy.js.map → MarkdownShikiCodeBlock-CQENUqVC.js.map} +1 -1
- package/lib/esm/architecture-PBZL5I3N-BzBIDLaO.js +3 -0
- package/lib/esm/{architectureDiagram-2XIMDMQ5-D9W3hi1n.js → architectureDiagram-2XIMDMQ5-C3274bP5.js} +7 -16
- package/lib/esm/{architectureDiagram-2XIMDMQ5-D9W3hi1n.js.map → architectureDiagram-2XIMDMQ5-C3274bP5.js.map} +1 -1
- package/lib/esm/{blockDiagram-WCTKOSBZ-0tOAzLGT.js → blockDiagram-WCTKOSBZ-BlgoYSMA.js} +7 -8
- package/lib/esm/{blockDiagram-WCTKOSBZ-0tOAzLGT.js.map → blockDiagram-WCTKOSBZ-BlgoYSMA.js.map} +1 -1
- package/lib/esm/{c4Diagram-IC4MRINW-BfvUsZKR.js → c4Diagram-IC4MRINW-Cp7JuV3A.js} +4 -4
- package/lib/esm/{c4Diagram-IC4MRINW-BfvUsZKR.js.map → c4Diagram-IC4MRINW-Cp7JuV3A.js.map} +1 -1
- package/lib/esm/{channel-BevqKLlC.js → channel-DogymxsL.js} +2 -2
- package/lib/esm/{channel-BevqKLlC.js.map → channel-DogymxsL.js.map} +1 -1
- package/lib/esm/{chunk-7E7YKBS2-CdBV12RO.js → chunk-7E7YKBS2-Pt8h9jYn.js} +2 -2
- package/lib/esm/{chunk-7E7YKBS2-CdBV12RO.js.map → chunk-7E7YKBS2-Pt8h9jYn.js.map} +1 -1
- package/lib/esm/{chunk-7R4GIKGN-tSw2Wb9z.js → chunk-7R4GIKGN-DFba5m0T.js} +2 -2
- package/lib/esm/{chunk-7R4GIKGN-tSw2Wb9z.js.map → chunk-7R4GIKGN-DFba5m0T.js.map} +1 -1
- package/lib/esm/{chunk-C72U2L5F-DygXHeeZ.js → chunk-C72U2L5F-C7A2Zfr9.js} +2 -2
- package/lib/esm/{chunk-C72U2L5F-DygXHeeZ.js.map → chunk-C72U2L5F-C7A2Zfr9.js.map} +1 -1
- package/lib/esm/{chunk-EGIJ26TM-DJ1G_X9D.js → chunk-EGIJ26TM-CTAmlHSC.js} +2 -2
- package/lib/esm/{chunk-EGIJ26TM-DJ1G_X9D.js.map → chunk-EGIJ26TM-CTAmlHSC.js.map} +1 -1
- package/lib/esm/{chunk-GEFDOKGD-CWu-rFVf.js → chunk-GEFDOKGD-DwcK4le_.js} +2 -2
- package/lib/esm/{chunk-GEFDOKGD-CWu-rFVf.js.map → chunk-GEFDOKGD-DwcK4le_.js.map} +1 -1
- package/lib/esm/{chunk-GLR3WWYH-Dy7JAiPZ.js → chunk-GLR3WWYH-B_ufWlZA.js} +7 -7
- package/lib/esm/{chunk-GLR3WWYH-Dy7JAiPZ.js.map → chunk-GLR3WWYH-B_ufWlZA.js.map} +1 -1
- package/lib/esm/{chunk-HHEYEP7N-CwMxvvqW.js → chunk-HHEYEP7N-Cd1T4lH1.js} +2 -2
- package/lib/esm/{chunk-HHEYEP7N-CwMxvvqW.js.map → chunk-HHEYEP7N-Cd1T4lH1.js.map} +1 -1
- package/lib/esm/{chunk-JSJVCQXG-BhZagW93.js → chunk-JSJVCQXG-C3QauA5P.js} +2 -2
- package/lib/esm/{chunk-JSJVCQXG-BhZagW93.js.map → chunk-JSJVCQXG-C3QauA5P.js.map} +1 -1
- package/lib/esm/{chunk-KX2RTZJC-BfnFx2cA.js → chunk-KX2RTZJC-CvwGKvGK.js} +2 -2
- package/lib/esm/{chunk-KX2RTZJC-BfnFx2cA.js.map → chunk-KX2RTZJC-CvwGKvGK.js.map} +1 -1
- package/lib/esm/{chunk-KYZI473N-BwYBBC73.js → chunk-KYZI473N-BSnk8jTP.js} +9 -9
- package/lib/esm/{chunk-KYZI473N-BwYBBC73.js.map → chunk-KYZI473N-BSnk8jTP.js.map} +1 -1
- package/lib/esm/{chunk-L3YUKLVL-pMJOn-lT.js → chunk-L3YUKLVL-C_cuxclB.js} +2 -2
- package/lib/esm/{chunk-L3YUKLVL-pMJOn-lT.js.map → chunk-L3YUKLVL-C_cuxclB.js.map} +1 -1
- package/lib/esm/{chunk-NQ4KR5QH-CtcoAyde.js → chunk-NQ4KR5QH-BKl-7l0B.js} +5 -5
- package/lib/esm/{chunk-NQ4KR5QH-CtcoAyde.js.map → chunk-NQ4KR5QH-BKl-7l0B.js.map} +1 -1
- package/lib/esm/{chunk-O4XLMI2P-DxPipWrP.js → chunk-O4XLMI2P-BdVt_1-O.js} +89 -89
- package/lib/esm/{chunk-O4XLMI2P-DxPipWrP.js.map → chunk-O4XLMI2P-BdVt_1-O.js.map} +1 -1
- package/lib/esm/{chunk-OZEHJAEY-Cdfu-MGD.js → chunk-OZEHJAEY-BpRlGWBe.js} +2 -2
- package/lib/esm/{chunk-OZEHJAEY-Cdfu-MGD.js.map → chunk-OZEHJAEY-BpRlGWBe.js.map} +1 -1
- package/lib/esm/{chunk-PQ6SQG4A-DlekIw0F.js → chunk-PQ6SQG4A-_Snj96al.js} +2 -2
- package/lib/esm/{chunk-PQ6SQG4A-DlekIw0F.js.map → chunk-PQ6SQG4A-_Snj96al.js.map} +1 -1
- package/lib/esm/{chunk-PU5JKC2W-nnfoXdoB.js → chunk-PU5JKC2W-D0uOJ9Iw.js} +3 -3
- package/lib/esm/{chunk-PU5JKC2W-nnfoXdoB.js.map → chunk-PU5JKC2W-D0uOJ9Iw.js.map} +1 -1
- package/lib/esm/{chunk-R5LLSJPH-lr9fZO00.js → chunk-R5LLSJPH-BuuyFmhX.js} +2 -2
- package/lib/esm/{chunk-R5LLSJPH-lr9fZO00.js.map → chunk-R5LLSJPH-BuuyFmhX.js.map} +1 -1
- package/lib/esm/{chunk-WL4C6EOR-CepZqrvG.js → chunk-WL4C6EOR-CG_NidXe.js} +6 -6
- package/lib/esm/{chunk-WL4C6EOR-CepZqrvG.js.map → chunk-WL4C6EOR-CG_NidXe.js.map} +1 -1
- package/lib/esm/{chunk-XIRO2GV7-CLkLLbAz.js → chunk-XIRO2GV7-CA5ZRsNA.js} +2 -2
- package/lib/esm/{chunk-XIRO2GV7-CLkLLbAz.js.map → chunk-XIRO2GV7-CA5ZRsNA.js.map} +1 -1
- package/lib/esm/{chunk-XZSTWKYB-CtrW-UDJ.js → chunk-XZSTWKYB-C3gBacLv.js} +3 -3
- package/lib/esm/{chunk-XZSTWKYB-CtrW-UDJ.js.map → chunk-XZSTWKYB-C3gBacLv.js.map} +1 -1
- package/lib/esm/{chunk-YBOYWFTD-DQeJ-Crn.js → chunk-YBOYWFTD-BCp20l87.js} +3 -3
- package/lib/esm/{chunk-YBOYWFTD-DQeJ-Crn.js.map → chunk-YBOYWFTD-BCp20l87.js.map} +1 -1
- package/lib/esm/classDiagram-VBA2DB6C-BS3cbjOM.js +31 -0
- package/lib/esm/{classDiagram-VBA2DB6C-Cz661asi.js.map → classDiagram-VBA2DB6C-BS3cbjOM.js.map} +1 -1
- package/lib/esm/classDiagram-v2-RAHNMMFH-ohjXfFJD.js +31 -0
- package/lib/esm/{classDiagram-v2-RAHNMMFH-gl-L4tD0.js.map → classDiagram-v2-RAHNMMFH-ohjXfFJD.js.map} +1 -1
- package/lib/esm/{cose-bilkent-S5V4N54A-BW3RwNAW.js → cose-bilkent-S5V4N54A-DY9L2G_R.js} +2 -2
- package/lib/esm/{cose-bilkent-S5V4N54A-BW3RwNAW.js.map → cose-bilkent-S5V4N54A-DY9L2G_R.js.map} +1 -1
- package/lib/esm/{cytoscape.esm-CVPUhzV_.js → cytoscape.esm-DHzL-Ipx.js} +2020 -2020
- package/lib/esm/{cytoscape.esm-CVPUhzV_.js.map → cytoscape.esm-DHzL-Ipx.js.map} +1 -1
- package/lib/esm/{dagre-CUvGkXru.js → dagre-Dx7aq3cc.js} +2 -2
- package/lib/esm/{dagre-CUvGkXru.js.map → dagre-Dx7aq3cc.js.map} +1 -1
- package/lib/esm/{dagre-KLK3FWXG-CfNc9pEH.js → dagre-KLK3FWXG-CWyKitWK.js} +9 -10
- package/lib/esm/{dagre-KLK3FWXG-CfNc9pEH.js.map → dagre-KLK3FWXG-CWyKitWK.js.map} +1 -1
- package/lib/esm/{diagram-E7M64L7V-owGUX1SK.js → diagram-E7M64L7V-DSV2K-9b.js} +7 -16
- package/lib/esm/{diagram-E7M64L7V-owGUX1SK.js.map → diagram-E7M64L7V-DSV2K-9b.js.map} +1 -1
- package/lib/esm/{diagram-IFDJBPK2-BNNr6py0.js → diagram-IFDJBPK2-CqMWKS_O.js} +5 -14
- package/lib/esm/{diagram-IFDJBPK2-BNNr6py0.js.map → diagram-IFDJBPK2-CqMWKS_O.js.map} +1 -1
- package/lib/esm/{diagram-P4PSJMXO-DYqpdLub.js → diagram-P4PSJMXO-ox4cwXgJ.js} +5 -14
- package/lib/esm/{diagram-P4PSJMXO-DYqpdLub.js.map → diagram-P4PSJMXO-ox4cwXgJ.js.map} +1 -1
- package/lib/esm/{erDiagram-INFDFZHY-Bg0Cs5pu.js → erDiagram-INFDFZHY-B88c7D4Z.js} +11 -12
- package/lib/esm/{erDiagram-INFDFZHY-Bg0Cs5pu.js.map → erDiagram-INFDFZHY-B88c7D4Z.js.map} +1 -1
- package/lib/esm/{flowDiagram-PKNHOUZH-TkU27ZFV.js → flowDiagram-PKNHOUZH-BVq4hnMW.js} +12 -13
- package/lib/esm/{flowDiagram-PKNHOUZH-TkU27ZFV.js.map → flowDiagram-PKNHOUZH-BVq4hnMW.js.map} +1 -1
- package/lib/esm/{ganttDiagram-A5KZAMGK-C3eQMnaD.js → ganttDiagram-A5KZAMGK-tCYQkLQX.js} +3 -3
- package/lib/esm/{ganttDiagram-A5KZAMGK-C3eQMnaD.js.map → ganttDiagram-A5KZAMGK-tCYQkLQX.js.map} +1 -1
- package/lib/esm/gitGraph-HDMCJU4V-DBI0f9ev.js +3 -0
- package/lib/esm/{gitGraphDiagram-K3NZZRJ6-CeYQZRvp.js → gitGraphDiagram-K3NZZRJ6-CPKVXgAJ.js} +4 -13
- package/lib/esm/{gitGraphDiagram-K3NZZRJ6-CeYQZRvp.js.map → gitGraphDiagram-K3NZZRJ6-CPKVXgAJ.js.map} +1 -1
- package/lib/esm/info-3K5VOQVL-BJiSm8n_.js +3 -0
- package/lib/esm/{infoDiagram-LFFYTUFH-rYfR0LAG.js → infoDiagram-LFFYTUFH-BplZy-tU.js} +4 -12
- package/lib/esm/{infoDiagram-LFFYTUFH-rYfR0LAG.js.map → infoDiagram-LFFYTUFH-BplZy-tU.js.map} +1 -1
- package/lib/esm/{ishikawaDiagram-PHBUUO56-Cv42PfHQ.js → ishikawaDiagram-PHBUUO56-yNQge--f.js} +4 -5
- package/lib/esm/{ishikawaDiagram-PHBUUO56-Cv42PfHQ.js.map → ishikawaDiagram-PHBUUO56-yNQge--f.js.map} +1 -1
- package/lib/esm/{journeyDiagram-4ABVD52K-TAtGE2GU.js → journeyDiagram-4ABVD52K-CkAvnKcN.js} +5 -6
- package/lib/esm/{journeyDiagram-4ABVD52K-TAtGE2GU.js.map → journeyDiagram-4ABVD52K-CkAvnKcN.js.map} +1 -1
- package/lib/esm/{kanban-definition-K7BYSVSG-iey_6CC1.js → kanban-definition-K7BYSVSG-ftrqeDlg.js} +8 -9
- package/lib/esm/{kanban-definition-K7BYSVSG-iey_6CC1.js.map → kanban-definition-K7BYSVSG-ftrqeDlg.js.map} +1 -1
- package/lib/esm/{katex-W0_-X3Wb.js → katex-BkGwaUG9.js} +51 -11
- package/lib/esm/katex-BkGwaUG9.js.map +1 -0
- package/lib/esm/{line-AZ-MMAnt.js → line-DNPRFJdY.js} +2 -2
- package/lib/esm/{line-AZ-MMAnt.js.map → line-DNPRFJdY.js.map} +1 -1
- package/lib/esm/{mermaid-parser.core-2VeDDCcu.js → mermaid-parser.core-BgwwyaN0.js} +16 -9
- package/lib/esm/{mermaid-parser.core-2VeDDCcu.js.map → mermaid-parser.core-BgwwyaN0.js.map} +1 -1
- package/lib/esm/{mermaid.core-Ckiof3bn.js → mermaid.core-CA6pZPXB.js} +39 -40
- package/lib/esm/{mermaid.core-Ckiof3bn.js.map → mermaid.core-CA6pZPXB.js.map} +1 -1
- package/lib/esm/{mindmap-definition-YRQLILUH-DttP-UXP.js → mindmap-definition-YRQLILUH-C77nDmSd.js} +10 -11
- package/lib/esm/{mindmap-definition-YRQLILUH-DttP-UXP.js.map → mindmap-definition-YRQLILUH-C77nDmSd.js.map} +1 -1
- package/lib/esm/packet-RMMSAZCW-tNKoQ_pX.js +3 -0
- package/lib/esm/pie-UPGHQEXC-BQsQOO3N.js +3 -0
- package/lib/esm/{pieDiagram-SKSYHLDU-BuVky6TE.js → pieDiagram-SKSYHLDU-BRD3HGjq.js} +5 -14
- package/lib/esm/{pieDiagram-SKSYHLDU-BuVky6TE.js.map → pieDiagram-SKSYHLDU-BRD3HGjq.js.map} +1 -1
- package/lib/esm/{quadrantDiagram-337W2JSQ-COnmLuk_.js → quadrantDiagram-337W2JSQ-FM-tlL4R.js} +2 -2
- package/lib/esm/{quadrantDiagram-337W2JSQ-COnmLuk_.js.map → quadrantDiagram-337W2JSQ-FM-tlL4R.js.map} +1 -1
- package/lib/esm/radar-KQ55EAFF-B4MRf1H7.js +3 -0
- package/lib/esm/{requirementDiagram-Z7DCOOCP-ChSklNBb.js → requirementDiagram-Z7DCOOCP-BoUW2Gmh.js} +10 -11
- package/lib/esm/{requirementDiagram-Z7DCOOCP-ChSklNBb.js.map → requirementDiagram-Z7DCOOCP-BoUW2Gmh.js.map} +1 -1
- package/lib/esm/{sankeyDiagram-WA2Y5GQK-tI6Eo-LD.js → sankeyDiagram-WA2Y5GQK-DrmMyi5l.js} +2 -2
- package/lib/esm/{sankeyDiagram-WA2Y5GQK-tI6Eo-LD.js.map → sankeyDiagram-WA2Y5GQK-DrmMyi5l.js.map} +1 -1
- package/lib/esm/{sequenceDiagram-2WXFIKYE-C7KV1rxZ.js → sequenceDiagram-2WXFIKYE-DhmiZE9h.js} +4 -4
- package/lib/esm/{sequenceDiagram-2WXFIKYE-C7KV1rxZ.js.map → sequenceDiagram-2WXFIKYE-DhmiZE9h.js.map} +1 -1
- package/lib/esm/{src-5_DIXRl3.js → src-C6x6EDga.js} +930 -929
- package/lib/esm/src-C6x6EDga.js.map +1 -0
- package/lib/esm/{stateDiagram-RAJIS63D-BFn7Uwqt.js → stateDiagram-RAJIS63D-HWYHe-A9.js} +13 -14
- package/lib/esm/{stateDiagram-RAJIS63D-BFn7Uwqt.js.map → stateDiagram-RAJIS63D-HWYHe-A9.js.map} +1 -1
- package/lib/esm/stateDiagram-v2-FVOUBMTO-CJKbs50l.js +29 -0
- package/lib/esm/{stateDiagram-v2-FVOUBMTO-DDke9x6W.js.map → stateDiagram-v2-FVOUBMTO-CJKbs50l.js.map} +1 -1
- package/lib/esm/{timeline-definition-YZTLITO2-BxLV7tzr.js → timeline-definition-YZTLITO2-BSLcoqGe.js} +4 -4
- package/lib/esm/{timeline-definition-YZTLITO2-BxLV7tzr.js.map → timeline-definition-YZTLITO2-BSLcoqGe.js.map} +1 -1
- package/lib/esm/treemap-KZPCXAKY-Delo462D.js +3 -0
- package/lib/esm/ui.js +4 -4
- package/lib/esm/{vennDiagram-LZ73GAT5-BciD5X0b.js → vennDiagram-LZ73GAT5-D3kOVhW6.js} +4 -5
- package/lib/esm/{vennDiagram-LZ73GAT5-BciD5X0b.js.map → vennDiagram-LZ73GAT5-D3kOVhW6.js.map} +1 -1
- package/lib/esm/{xychartDiagram-JWTSCODW-yIaPAmwy.js → xychartDiagram-JWTSCODW-DSN5EjHR.js} +6 -7
- package/lib/esm/{xychartDiagram-JWTSCODW-yIaPAmwy.js.map → xychartDiagram-JWTSCODW-DSN5EjHR.js.map} +1 -1
- package/lib/types/atomic/atoms/relative-time-text/RelativeTimeText.d.ts +8 -0
- package/lib/types/atomic/atoms/relative-time-text/RelativeTimeText.d.ts.map +1 -1
- package/lib/types/atomic/atoms/relative-time-text/__tests__/RelativeTimeText.test.d.ts +2 -0
- package/lib/types/atomic/atoms/relative-time-text/__tests__/RelativeTimeText.test.d.ts.map +1 -0
- package/lib/types/atomic/molecules/empty-state/__tests__/EmptyState.test.d.ts +2 -0
- package/lib/types/atomic/molecules/empty-state/__tests__/EmptyState.test.d.ts.map +1 -0
- package/lib/types/atomic/molecules/markdown/MarkdownRenderer.d.ts +2 -0
- package/lib/types/atomic/molecules/markdown/MarkdownRenderer.d.ts.map +1 -1
- package/lib/types/atomic/molecules/markdown/MarkdownRenderer.helpers.d.ts +44 -0
- package/lib/types/atomic/molecules/markdown/MarkdownRenderer.helpers.d.ts.map +1 -0
- package/lib/types/atomic/molecules/markdown/__tests__/MarkdownRenderer.test.d.ts +2 -0
- package/lib/types/atomic/molecules/markdown/__tests__/MarkdownRenderer.test.d.ts.map +1 -0
- package/lib/types/atomic/molecules/markdown/helpers/__tests__/assertNever.test.d.ts +2 -0
- package/lib/types/atomic/molecules/markdown/helpers/__tests__/assertNever.test.d.ts.map +1 -0
- package/lib/types/atomic/molecules/markdown/helpers/__tests__/escapeHtml.test.d.ts +2 -0
- package/lib/types/atomic/molecules/markdown/helpers/__tests__/escapeHtml.test.d.ts.map +1 -0
- package/lib/types/atomic/molecules/markdown/helpers/__tests__/isExternalLink.test.d.ts +2 -0
- package/lib/types/atomic/molecules/markdown/helpers/__tests__/isExternalLink.test.d.ts.map +1 -0
- package/lib/types/atomic/molecules/markdown/helpers/isExternalLink.d.ts +7 -0
- package/lib/types/atomic/molecules/markdown/helpers/isExternalLink.d.ts.map +1 -1
- package/lib/types/atomic/molecules/toast/ToastProvider.d.ts +4 -1
- package/lib/types/atomic/molecules/toast/ToastProvider.d.ts.map +1 -1
- package/lib/types/atomic/molecules/toast/__tests__/ToastProvider.test.d.ts +2 -0
- package/lib/types/atomic/molecules/toast/__tests__/ToastProvider.test.d.ts.map +1 -0
- package/lib/types/backoffice/atoms/copyable_text/CopyableText.d.ts.map +1 -1
- package/lib/types/backoffice/atoms/skeleton/Skeleton.d.ts.map +1 -1
- package/lib/types/backoffice/atoms/skeleton/Skeleton.helpers.d.ts +8 -0
- package/lib/types/backoffice/atoms/skeleton/Skeleton.helpers.d.ts.map +1 -0
- package/lib/types/backoffice/atoms/skeleton/__tests__/Skeleton.helpers.test.d.ts +2 -0
- package/lib/types/backoffice/atoms/skeleton/__tests__/Skeleton.helpers.test.d.ts.map +1 -0
- package/lib/types/backoffice/molecules/backoffice_json_viewer/BackofficeJsonViewer.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts +3 -0
- package/lib/types/backoffice/molecules/backoffice_json_viewer/LazyBackofficeJsonViewer.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/backoffice_json_viewer/__tests__/LazyBackofficeJsonViewer.helpers.test.d.ts +2 -0
- package/lib/types/backoffice/molecules/backoffice_json_viewer/__tests__/LazyBackofficeJsonViewer.helpers.test.d.ts.map +1 -0
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/BackofficeVirtualizedConnectionTable.d.ts.map +1 -1
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/__tests__/helpers.test.d.ts +2 -0
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/__tests__/helpers.test.d.ts.map +1 -0
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/helpers.d.ts +5 -0
- package/lib/types/backoffice/organisms/backoffice_virtualized_connection_table/helpers.d.ts.map +1 -0
- package/lib/types/backoffice/shared/__tests__/copyWithExecCommand.test.d.ts +2 -0
- package/lib/types/backoffice/shared/__tests__/copyWithExecCommand.test.d.ts.map +1 -0
- package/lib/types/backoffice/shared/copyWithExecCommand.d.ts +2 -0
- package/lib/types/backoffice/shared/copyWithExecCommand.d.ts.map +1 -0
- package/lib/types/components/charts/MetricHistoryChart.d.ts +8 -0
- package/lib/types/components/charts/MetricHistoryChart.d.ts.map +1 -1
- package/lib/types/components/charts/TimeSeriesLineChart.d.ts +4 -0
- package/lib/types/components/charts/TimeSeriesLineChart.d.ts.map +1 -1
- package/lib/types/components/charts/__tests__/MetricHistoryChart.helpers.test.d.ts +2 -0
- package/lib/types/components/charts/__tests__/MetricHistoryChart.helpers.test.d.ts.map +1 -0
- package/lib/types/components/charts/__tests__/TimeSeriesLineChart.helpers.test.d.ts +2 -0
- package/lib/types/components/charts/__tests__/TimeSeriesLineChart.helpers.test.d.ts.map +1 -0
- package/lib/types/components/data-table/DataTable.d.ts +5 -1
- package/lib/types/components/data-table/DataTable.d.ts.map +1 -1
- package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts +7 -1
- package/lib/types/components/data-table/VirtualizedConnectionTable.d.ts.map +1 -1
- package/lib/types/components/data-table/__tests__/DataTable.helpers.test.d.ts +2 -0
- package/lib/types/components/data-table/__tests__/DataTable.helpers.test.d.ts.map +1 -0
- package/lib/types/components/data-table/__tests__/VirtualizedConnectionTable.helpers.test.d.ts +2 -0
- package/lib/types/components/data-table/__tests__/VirtualizedConnectionTable.helpers.test.d.ts.map +1 -0
- package/lib/types/components/data-table/__tests__/tableBreakpoints.test.d.ts +2 -0
- package/lib/types/components/data-table/__tests__/tableBreakpoints.test.d.ts.map +1 -0
- package/lib/types/components/data-table/tableBreakpoints.d.ts +8 -0
- package/lib/types/components/data-table/tableBreakpoints.d.ts.map +1 -1
- package/lib/types/components/layout/PageShell.d.ts +5 -0
- package/lib/types/components/layout/PageShell.d.ts.map +1 -1
- package/lib/types/components/layout/__tests__/PageShell.test.d.ts +2 -0
- package/lib/types/components/layout/__tests__/PageShell.test.d.ts.map +1 -0
- package/lib/types/components/tile/__tests__/InfoTile.test.d.ts +2 -0
- package/lib/types/components/tile/__tests__/InfoTile.test.d.ts.map +1 -0
- package/lib/types/shared/__tests__/agent-formatting.test.d.ts +2 -0
- package/lib/types/shared/__tests__/agent-formatting.test.d.ts.map +1 -0
- package/lib/types/theme/ThemeProvider.d.ts +5 -0
- package/lib/types/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/types/theme/__tests__/ThemeProvider.test.d.ts +2 -0
- package/lib/types/theme/__tests__/ThemeProvider.test.d.ts.map +1 -0
- package/lib/types/theme/__tests__/tools.test.d.ts +2 -0
- package/lib/types/theme/__tests__/tools.test.d.ts.map +1 -0
- package/package.json +10 -10
- package/lib/esm/BackofficeJsonViewerAsync-B_YPyubK.js +0 -10
- package/lib/esm/MarkdownRenderer-w1EzXVlv.js.map +0 -1
- package/lib/esm/architecture-PBZL5I3N-BF1f82qm.js +0 -3
- package/lib/esm/classDiagram-VBA2DB6C-Cz661asi.js +0 -32
- package/lib/esm/classDiagram-v2-RAHNMMFH-gl-L4tD0.js +0 -32
- package/lib/esm/gitGraph-HDMCJU4V-TM85Whmp.js +0 -3
- package/lib/esm/info-3K5VOQVL-CY50BvVz.js +0 -3
- package/lib/esm/katex-W0_-X3Wb.js.map +0 -1
- package/lib/esm/packet-RMMSAZCW-DFGYBR05.js +0 -3
- package/lib/esm/pie-UPGHQEXC-CNCiNoc-.js +0 -3
- package/lib/esm/radar-KQ55EAFF-CHJYxvxr.js +0 -3
- package/lib/esm/src-5_DIXRl3.js.map +0 -1
- package/lib/esm/stateDiagram-v2-FVOUBMTO-DDke9x6W.js +0 -30
- package/lib/esm/treemap-KZPCXAKY-CjhytAJ2.js +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { C as e, D as t, E as n, O as r, S as i, T as a, _ as o, b as s, h as c, v as l, w as u, x as d, y as f } from "./chunk-GEFDOKGD-
|
|
1
|
+
import { C as e, D as t, E as n, O as r, S as i, T as a, _ as o, b as s, h as c, v as l, w as u, x as d, y as f } from "./chunk-GEFDOKGD-DwcK4le_.js";
|
|
2
2
|
import { g as p, h as m, p as h } from "./src-CSwi_PyL.js";
|
|
3
|
-
import { b as g, w as _ } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as v } from "./line-
|
|
5
|
-
import { n as y } from "./chunk-PU5JKC2W-
|
|
3
|
+
import { b as g, w as _ } from "./chunk-7R4GIKGN-DFba5m0T.js";
|
|
4
|
+
import { t as v } from "./line-DNPRFJdY.js";
|
|
5
|
+
import { n as y } from "./chunk-PU5JKC2W-D0uOJ9Iw.js";
|
|
6
6
|
import { i as b, n as x, r as S, t as C } from "./chunk-MX3YWQON-Bplci7iD.js";
|
|
7
|
-
import { n as w } from "./chunk-YBOYWFTD-
|
|
8
|
-
import { i as T, n as
|
|
9
|
-
import { t as
|
|
10
|
-
import { r as
|
|
7
|
+
import { n as w } from "./chunk-YBOYWFTD-BCp20l87.js";
|
|
8
|
+
import { i as T, n as ee } from "./chunk-PQ6SQG4A-_Snj96al.js";
|
|
9
|
+
import { t as te } from "./rough.esm-BC5a17Ab.js";
|
|
10
|
+
import { r as E } from "./chunk-KYZI473N-BSnk8jTP.js";
|
|
11
11
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4XLMI2P.mjs
|
|
12
|
-
var
|
|
13
|
-
t.arrowTypeStart &&
|
|
14
|
-
}, "addEdgeMarkers"),
|
|
12
|
+
var D = /* @__PURE__ */ m((e, t, n, r, i, a) => {
|
|
13
|
+
t.arrowTypeStart && k(e, "start", t.arrowTypeStart, n, r, i, a), t.arrowTypeEnd && k(e, "end", t.arrowTypeEnd, n, r, i, a);
|
|
14
|
+
}, "addEdgeMarkers"), O = {
|
|
15
15
|
arrow_cross: {
|
|
16
16
|
type: "cross",
|
|
17
17
|
fill: !1
|
|
@@ -72,8 +72,8 @@ var O = /* @__PURE__ */ m((e, t, n, r, i, a) => {
|
|
|
72
72
|
type: "requirement_contains",
|
|
73
73
|
fill: !1
|
|
74
74
|
}
|
|
75
|
-
},
|
|
76
|
-
let s =
|
|
75
|
+
}, k = /* @__PURE__ */ m((e, t, n, r, i, a, o) => {
|
|
76
|
+
let s = O[n];
|
|
77
77
|
if (!s) {
|
|
78
78
|
p.warn(`Unknown arrow type: ${n}`);
|
|
79
79
|
return;
|
|
@@ -92,13 +92,13 @@ var O = /* @__PURE__ */ m((e, t, n, r, i, a) => {
|
|
|
92
92
|
}
|
|
93
93
|
e.attr(`marker-${t}`, `url(${r}#${n})`);
|
|
94
94
|
} else e.attr(`marker-${t}`, `url(${r}#${c})`);
|
|
95
|
-
}, "addEdgeMarker"),
|
|
96
|
-
|
|
97
|
-
}, "clear"),
|
|
95
|
+
}, "addEdgeMarker"), ne = /* @__PURE__ */ m((e) => typeof e == "string" ? e : g()?.flowchart?.curve, "resolveEdgeCurveType"), A = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ m(() => {
|
|
96
|
+
A.clear(), j.clear();
|
|
97
|
+
}, "clear"), N = /* @__PURE__ */ m((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), P = /* @__PURE__ */ m(async (e, t) => {
|
|
98
98
|
let n = g(), r = _(n), { labelStyles: i } = T(t);
|
|
99
99
|
t.labelStyle = i;
|
|
100
100
|
let a = e.insert("g").attr("class", "edgeLabel"), o = a.insert("g").attr("class", "label").attr("data-id", t.id), s = t.labelType === "markdown", c = await y(e, t.label, {
|
|
101
|
-
style:
|
|
101
|
+
style: N(t.labelStyle),
|
|
102
102
|
useHtmlLabels: r,
|
|
103
103
|
addSvgBackground: !0,
|
|
104
104
|
isNode: !1,
|
|
@@ -114,59 +114,59 @@ var O = /* @__PURE__ */ m((e, t, n, r, i, a) => {
|
|
|
114
114
|
let e = h(c).select("text").node();
|
|
115
115
|
e && typeof e.getBBox == "function" && (u = e.getBBox());
|
|
116
116
|
}
|
|
117
|
-
o.attr("transform", C(u, r)),
|
|
117
|
+
o.attr("transform", C(u, r)), A.set(t.id, a), t.width = l.width, t.height = l.height;
|
|
118
118
|
let d;
|
|
119
119
|
if (t.startLabelLeft) {
|
|
120
|
-
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await
|
|
120
|
+
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await E(i, t.startLabelLeft, N(t.labelStyle) || "", !1, !1);
|
|
121
121
|
d = a;
|
|
122
122
|
let o = a.getBBox();
|
|
123
123
|
if (r) {
|
|
124
124
|
let e = a.children[0], t = h(a);
|
|
125
125
|
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
126
126
|
}
|
|
127
|
-
i.attr("transform", C(o, r)),
|
|
127
|
+
i.attr("transform", C(o, r)), j.get(t.id) || j.set(t.id, {}), j.get(t.id).startLeft = n, F(d, t.startLabelLeft);
|
|
128
128
|
}
|
|
129
129
|
if (t.startLabelRight) {
|
|
130
|
-
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await
|
|
130
|
+
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await E(i, t.startLabelRight, N(t.labelStyle) || "", !1, !1);
|
|
131
131
|
d = a, i.node().appendChild(a);
|
|
132
132
|
let o = a.getBBox();
|
|
133
133
|
if (r) {
|
|
134
134
|
let e = a.children[0], t = h(a);
|
|
135
135
|
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
136
136
|
}
|
|
137
|
-
i.attr("transform", C(o, r)),
|
|
137
|
+
i.attr("transform", C(o, r)), j.get(t.id) || j.set(t.id, {}), j.get(t.id).startRight = n, F(d, t.startLabelRight);
|
|
138
138
|
}
|
|
139
139
|
if (t.endLabelLeft) {
|
|
140
|
-
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await
|
|
140
|
+
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await E(i, t.endLabelLeft, N(t.labelStyle) || "", !1, !1);
|
|
141
141
|
d = a;
|
|
142
142
|
let o = a.getBBox();
|
|
143
143
|
if (r) {
|
|
144
144
|
let e = a.children[0], t = h(a);
|
|
145
145
|
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
146
146
|
}
|
|
147
|
-
i.attr("transform", C(o, r)), n.node().appendChild(a),
|
|
147
|
+
i.attr("transform", C(o, r)), n.node().appendChild(a), j.get(t.id) || j.set(t.id, {}), j.get(t.id).endLeft = n, F(d, t.endLabelLeft);
|
|
148
148
|
}
|
|
149
149
|
if (t.endLabelRight) {
|
|
150
|
-
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await
|
|
150
|
+
let n = e.insert("g").attr("class", "edgeTerminals"), i = n.insert("g").attr("class", "inner"), a = await E(i, t.endLabelRight, N(t.labelStyle) || "", !1, !1);
|
|
151
151
|
d = a;
|
|
152
152
|
let o = a.getBBox();
|
|
153
153
|
if (r) {
|
|
154
154
|
let e = a.children[0], t = h(a);
|
|
155
155
|
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
156
156
|
}
|
|
157
|
-
i.attr("transform", C(o, r)), n.node().appendChild(a),
|
|
157
|
+
i.attr("transform", C(o, r)), n.node().appendChild(a), j.get(t.id) || j.set(t.id, {}), j.get(t.id).endRight = n, F(d, t.endLabelRight);
|
|
158
158
|
}
|
|
159
159
|
return c;
|
|
160
160
|
}, "insertEdgeLabel");
|
|
161
|
-
function
|
|
161
|
+
function F(e, t) {
|
|
162
162
|
_(g()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
|
|
163
163
|
}
|
|
164
|
-
m(
|
|
165
|
-
var
|
|
166
|
-
p.debug("Moving label abc88 ", e.id, e.label,
|
|
164
|
+
m(F, "setTerminalWidth");
|
|
165
|
+
var I = /* @__PURE__ */ m((e, t) => {
|
|
166
|
+
p.debug("Moving label abc88 ", e.id, e.label, A.get(e.id), t);
|
|
167
167
|
let n = t.updatedPath ? t.updatedPath : t.originalPath, { subGraphTitleTotalMargin: r } = w(g());
|
|
168
168
|
if (e.label) {
|
|
169
|
-
let i =
|
|
169
|
+
let i = A.get(e.id), a = e.x, o = e.y;
|
|
170
170
|
if (n) {
|
|
171
171
|
let r = c.calcLabelPosition(n);
|
|
172
172
|
p.debug("Moving label " + e.label + " from (", a, ",", o, ") to (", r.x, ",", r.y, ") abc88"), t.updatedPath && (a = r.x, o = r.y);
|
|
@@ -174,7 +174,7 @@ var L = /* @__PURE__ */ m((e, t) => {
|
|
|
174
174
|
i.attr("transform", `translate(${a}, ${o + r / 2})`);
|
|
175
175
|
}
|
|
176
176
|
if (e.startLabelLeft) {
|
|
177
|
-
let t =
|
|
177
|
+
let t = j.get(e.id).startLeft, r = e.x, i = e.y;
|
|
178
178
|
if (n) {
|
|
179
179
|
let t = c.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_left", n);
|
|
180
180
|
r = t.x, i = t.y;
|
|
@@ -182,7 +182,7 @@ var L = /* @__PURE__ */ m((e, t) => {
|
|
|
182
182
|
t.attr("transform", `translate(${r}, ${i})`);
|
|
183
183
|
}
|
|
184
184
|
if (e.startLabelRight) {
|
|
185
|
-
let t =
|
|
185
|
+
let t = j.get(e.id).startRight, r = e.x, i = e.y;
|
|
186
186
|
if (n) {
|
|
187
187
|
let t = c.calcTerminalLabelPosition(e.arrowTypeStart ? 10 : 0, "start_right", n);
|
|
188
188
|
r = t.x, i = t.y;
|
|
@@ -190,7 +190,7 @@ var L = /* @__PURE__ */ m((e, t) => {
|
|
|
190
190
|
t.attr("transform", `translate(${r}, ${i})`);
|
|
191
191
|
}
|
|
192
192
|
if (e.endLabelLeft) {
|
|
193
|
-
let t =
|
|
193
|
+
let t = j.get(e.id).endLeft, r = e.x, i = e.y;
|
|
194
194
|
if (n) {
|
|
195
195
|
let t = c.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_left", n);
|
|
196
196
|
r = t.x, i = t.y;
|
|
@@ -198,17 +198,17 @@ var L = /* @__PURE__ */ m((e, t) => {
|
|
|
198
198
|
t.attr("transform", `translate(${r}, ${i})`);
|
|
199
199
|
}
|
|
200
200
|
if (e.endLabelRight) {
|
|
201
|
-
let t =
|
|
201
|
+
let t = j.get(e.id).endRight, r = e.x, i = e.y;
|
|
202
202
|
if (n) {
|
|
203
203
|
let t = c.calcTerminalLabelPosition(e.arrowTypeEnd ? 10 : 0, "end_right", n);
|
|
204
204
|
r = t.x, i = t.y;
|
|
205
205
|
}
|
|
206
206
|
t.attr("transform", `translate(${r}, ${i})`);
|
|
207
207
|
}
|
|
208
|
-
}, "positionEdgeLabel"),
|
|
208
|
+
}, "positionEdgeLabel"), L = /* @__PURE__ */ m((e, t) => {
|
|
209
209
|
let n = e.x, r = e.y, i = Math.abs(t.x - n), a = Math.abs(t.y - r), o = e.width / 2, s = e.height / 2;
|
|
210
210
|
return i >= o || a >= s;
|
|
211
|
-
}, "outsideNode"),
|
|
211
|
+
}, "outsideNode"), R = /* @__PURE__ */ m((e, t, n) => {
|
|
212
212
|
p.debug(`intersection calc abc89:
|
|
213
213
|
outsidePoint: ${JSON.stringify(t)}
|
|
214
214
|
insidePoint : ${JSON.stringify(n)}
|
|
@@ -233,12 +233,12 @@ var L = /* @__PURE__ */ m((e, t) => {
|
|
|
233
233
|
y: a
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
}, "intersection"),
|
|
236
|
+
}, "intersection"), z = /* @__PURE__ */ m((e, t) => {
|
|
237
237
|
p.warn("abc88 cutPathAtIntersect", e, t);
|
|
238
238
|
let n = [], r = e[0], i = !1;
|
|
239
239
|
return e.forEach((e) => {
|
|
240
|
-
if (p.info("abc88 checking point", e, t), !
|
|
241
|
-
let a =
|
|
240
|
+
if (p.info("abc88 checking point", e, t), !L(t, e) && !i) {
|
|
241
|
+
let a = R(t, r, e);
|
|
242
242
|
p.debug("abc88 inside", e, r, a), p.debug("abc88 intersection", a, t);
|
|
243
243
|
let o = !1;
|
|
244
244
|
n.forEach((e) => {
|
|
@@ -247,7 +247,7 @@ var L = /* @__PURE__ */ m((e, t) => {
|
|
|
247
247
|
} else p.warn("abc88 outside", e, r), r = e, i || n.push(e);
|
|
248
248
|
}), p.debug("returning points", n), n;
|
|
249
249
|
}, "cutPathAtIntersect");
|
|
250
|
-
function
|
|
250
|
+
function B(e) {
|
|
251
251
|
let t = [], n = [];
|
|
252
252
|
for (let r = 1; r < e.length - 1; r++) {
|
|
253
253
|
let i = e[r - 1], a = e[r], o = e[r + 1];
|
|
@@ -258,17 +258,17 @@ function V(e) {
|
|
|
258
258
|
cornerPointPositions: n
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
|
-
m(
|
|
262
|
-
var
|
|
261
|
+
m(B, "extractCornerPoints");
|
|
262
|
+
var V = /* @__PURE__ */ m(function(e, t, n) {
|
|
263
263
|
let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
|
|
264
264
|
return {
|
|
265
265
|
x: t.x - a * r,
|
|
266
266
|
y: t.y - a * i
|
|
267
267
|
};
|
|
268
|
-
}, "findAdjacentPoint"),
|
|
269
|
-
let { cornerPointPositions: t } =
|
|
268
|
+
}, "findAdjacentPoint"), H = /* @__PURE__ */ m(function(e) {
|
|
269
|
+
let { cornerPointPositions: t } = B(e), n = [];
|
|
270
270
|
for (let r = 0; r < e.length; r++) if (t.includes(r)) {
|
|
271
|
-
let t = e[r - 1], i = e[r + 1], a = e[r], o =
|
|
271
|
+
let t = e[r - 1], i = e[r + 1], a = e[r], o = V(t, a, 5), s = V(i, a, 5), c = s.x - o.x, l = s.y - o.y;
|
|
272
272
|
n.push(o);
|
|
273
273
|
let u = Math.sqrt(2) * 2, d = {
|
|
274
274
|
x: a.x,
|
|
@@ -286,60 +286,60 @@ var H = /* @__PURE__ */ m(function(e, t, n) {
|
|
|
286
286
|
}, "fixCorners"), re = /* @__PURE__ */ m((e, t, n) => {
|
|
287
287
|
let r = e - t - n, i = Math.floor(r / 4);
|
|
288
288
|
return `0 ${t} ${Array(i).fill("2 2").join(" ")} ${n}`;
|
|
289
|
-
}, "generateDashArray"), U = /* @__PURE__ */ m(function(m, _, y, S, C, w, T,
|
|
290
|
-
let { handDrawnSeed:
|
|
291
|
-
var
|
|
292
|
-
let
|
|
293
|
-
for (let e in _.cssCompiledStyles)
|
|
294
|
-
p.debug("UIO intersect check", _.points,
|
|
295
|
-
let
|
|
296
|
-
_.toCluster && (p.info("to cluster abc88", y.get(_.toCluster)),
|
|
297
|
-
let
|
|
298
|
-
|
|
299
|
-
let
|
|
300
|
-
switch (
|
|
289
|
+
}, "generateDashArray"), U = /* @__PURE__ */ m(function(m, _, y, S, C, w, T, E = !1) {
|
|
290
|
+
let { handDrawnSeed: O } = g(), k = _.points, A = !1, j = C;
|
|
291
|
+
var M = w;
|
|
292
|
+
let N = [];
|
|
293
|
+
for (let e in _.cssCompiledStyles) ee(e) || N.push(_.cssCompiledStyles[e]);
|
|
294
|
+
p.debug("UIO intersect check", _.points, M.x, j.x), M.intersect && j.intersect && !E && (k = k.slice(1, _.points.length - 1), k.unshift(j.intersect(k[0])), p.debug("Last point UIO", _.start, "-->", _.end, k[k.length - 1], M, M.intersect(k[k.length - 1])), k.push(M.intersect(k[k.length - 1])));
|
|
295
|
+
let P = btoa(JSON.stringify(k));
|
|
296
|
+
_.toCluster && (p.info("to cluster abc88", y.get(_.toCluster)), k = z(_.points, y.get(_.toCluster).node), A = !0), _.fromCluster && (p.debug("from cluster abc88", y.get(_.fromCluster), JSON.stringify(k, null, 2)), k = z(k.reverse(), y.get(_.fromCluster).node).reverse(), A = !0);
|
|
297
|
+
let F = k.filter((e) => !Number.isNaN(e.y)), I = ne(_.curve);
|
|
298
|
+
I !== "rounded" && (F = H(F));
|
|
299
|
+
let L = r;
|
|
300
|
+
switch (I) {
|
|
301
301
|
case "linear":
|
|
302
|
-
|
|
302
|
+
L = r;
|
|
303
303
|
break;
|
|
304
304
|
case "basis":
|
|
305
|
-
|
|
305
|
+
L = a;
|
|
306
306
|
break;
|
|
307
307
|
case "cardinal":
|
|
308
|
-
|
|
308
|
+
L = u;
|
|
309
309
|
break;
|
|
310
310
|
case "bumpX":
|
|
311
|
-
|
|
311
|
+
L = n;
|
|
312
312
|
break;
|
|
313
313
|
case "bumpY":
|
|
314
|
-
|
|
314
|
+
L = t;
|
|
315
315
|
break;
|
|
316
316
|
case "catmullRom":
|
|
317
|
-
|
|
317
|
+
L = e;
|
|
318
318
|
break;
|
|
319
319
|
case "monotoneX":
|
|
320
|
-
|
|
320
|
+
L = d;
|
|
321
321
|
break;
|
|
322
322
|
case "monotoneY":
|
|
323
|
-
|
|
323
|
+
L = i;
|
|
324
324
|
break;
|
|
325
325
|
case "natural":
|
|
326
|
-
|
|
326
|
+
L = s;
|
|
327
327
|
break;
|
|
328
328
|
case "step":
|
|
329
|
-
|
|
329
|
+
L = f;
|
|
330
330
|
break;
|
|
331
331
|
case "stepAfter":
|
|
332
|
-
|
|
332
|
+
L = o;
|
|
333
333
|
break;
|
|
334
334
|
case "stepBefore":
|
|
335
|
-
|
|
335
|
+
L = l;
|
|
336
336
|
break;
|
|
337
337
|
case "rounded":
|
|
338
|
-
|
|
338
|
+
L = r;
|
|
339
339
|
break;
|
|
340
|
-
default:
|
|
340
|
+
default: L = a;
|
|
341
341
|
}
|
|
342
|
-
let { x:
|
|
342
|
+
let { x: R, y: B } = x(_), V = v().x(R).y(B).curve(L), U;
|
|
343
343
|
switch (_.thickness) {
|
|
344
344
|
case "normal":
|
|
345
345
|
U = "edge-thickness-normal";
|
|
@@ -364,21 +364,21 @@ var H = /* @__PURE__ */ m(function(e, t, n) {
|
|
|
364
364
|
break;
|
|
365
365
|
default: U += " edge-pattern-solid";
|
|
366
366
|
}
|
|
367
|
-
let G, q =
|
|
367
|
+
let G, q = I === "rounded" ? W(K(F, _), 5) : V(F), J = Array.isArray(_.style) ? _.style : [_.style], Y = J.find((e) => e?.startsWith("stroke:")), X = "";
|
|
368
368
|
_.animate && (X = "edge-animation-fast"), _.animation && (X = "edge-animation-" + _.animation);
|
|
369
369
|
let Z = !1;
|
|
370
370
|
if (_.look === "handDrawn") {
|
|
371
|
-
let e =
|
|
372
|
-
Object.assign([],
|
|
371
|
+
let e = te.svg(m);
|
|
372
|
+
Object.assign([], F);
|
|
373
373
|
let t = e.path(q, {
|
|
374
374
|
roughness: .3,
|
|
375
|
-
seed:
|
|
375
|
+
seed: O
|
|
376
376
|
});
|
|
377
377
|
U += " transition", G = h(t).select("path").attr("id", _.id).attr("class", " " + U + (_.classes ? " " + _.classes : "") + (X ? " " + X : "")).attr("style", J ? J.reduce((e, t) => e + ";" + t, "") : "");
|
|
378
378
|
let n = G.attr("d");
|
|
379
379
|
G.attr("d", n), m.node().appendChild(G.node());
|
|
380
380
|
} else {
|
|
381
|
-
let e =
|
|
381
|
+
let e = N.join(";"), t = J ? J.reduce((e, t) => e + t + ";", "") : "", n = (e ? e + ";" + t + ";" : t) + ";" + (J ? J.reduce((e, t) => e + ";" + t, "") : "");
|
|
382
382
|
G = m.append("path").attr("d", q).attr("id", _.id).attr("class", " " + U + (_.classes ? " " + _.classes : "") + (X ? " " + X : "")).attr("style", n), Y = n.match(/stroke:([^;]+)/)?.[1], Z = _.animate === !0 || !!_.animation || e.includes("animation");
|
|
383
383
|
let r = G.node(), i = typeof r.getTotalLength == "function" ? r.getTotalLength() : 0, a = b[_.arrowTypeStart] || 0, o = b[_.arrowTypeEnd] || 0;
|
|
384
384
|
if (_.look === "neo" && !Z) {
|
|
@@ -386,15 +386,15 @@ var H = /* @__PURE__ */ m(function(e, t, n) {
|
|
|
386
386
|
G.attr("style", e + G.attr("style"));
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
G.attr("data-edge", !0), G.attr("data-et", "edge"), G.attr("data-id", _.id), G.attr("data-points",
|
|
389
|
+
G.attr("data-edge", !0), G.attr("data-et", "edge"), G.attr("data-id", _.id), G.attr("data-points", P), _.showPoints && F.forEach((e) => {
|
|
390
390
|
m.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
|
|
391
391
|
});
|
|
392
392
|
let Q = "";
|
|
393
|
-
(g().flowchart.arrowMarkerAbsolute || g().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), p.info("arrowTypeStart", _.arrowTypeStart), p.info("arrowTypeEnd", _.arrowTypeEnd),
|
|
394
|
-
let ie = Math.floor(
|
|
395
|
-
c.isLabelCoordinateInPath(ae, G.attr("d")) || (
|
|
393
|
+
(g().flowchart.arrowMarkerAbsolute || g().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), p.info("arrowTypeStart", _.arrowTypeStart), p.info("arrowTypeEnd", _.arrowTypeEnd), D(G, _, Q, T, S, Y);
|
|
394
|
+
let ie = Math.floor(k.length / 2), ae = k[ie];
|
|
395
|
+
c.isLabelCoordinateInPath(ae, G.attr("d")) || (A = !0);
|
|
396
396
|
let $ = {};
|
|
397
|
-
return
|
|
397
|
+
return A && ($.updatedPath = k), $.originalPath = _.points, $;
|
|
398
398
|
}, "insertEdge");
|
|
399
399
|
function W(e, t) {
|
|
400
400
|
if (e.length < 2) return "";
|
|
@@ -409,13 +409,13 @@ function W(e, t) {
|
|
|
409
409
|
n += `L${o.x},${o.y}`;
|
|
410
410
|
continue;
|
|
411
411
|
}
|
|
412
|
-
let f = e / u, p = r / u, m = a / d, h = l / d, g = f * m + p * h, _ = Math.max(-1, Math.min(1, g))
|
|
413
|
-
if (
|
|
412
|
+
let f = e / u, p = r / u, m = a / d, h = l / d, g = f * m + p * h, _ = Math.acos(Math.max(-1, Math.min(1, g)));
|
|
413
|
+
if (_ < i || Math.abs(Math.PI - _) < i) {
|
|
414
414
|
n += `L${o.x},${o.y}`;
|
|
415
415
|
continue;
|
|
416
416
|
}
|
|
417
|
-
let
|
|
418
|
-
n += `L${
|
|
417
|
+
let v = Math.min(t / Math.sin(_ / 2), u / 2, d / 2), y = o.x - f * v, b = o.y - p * v, x = o.x + m * v, S = o.y + h * v;
|
|
418
|
+
n += `L${y},${b}`, n += `Q${o.x},${o.y} ${x},${S}`;
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
return n;
|
|
@@ -508,6 +508,6 @@ var q = /* @__PURE__ */ m((e, t, n, r) => {
|
|
|
508
508
|
}, "requirement_contains")
|
|
509
509
|
}, Y = q;
|
|
510
510
|
//#endregion
|
|
511
|
-
export {
|
|
511
|
+
export { I as a, Y as i, U as n, P as r, M as t };
|
|
512
512
|
|
|
513
|
-
//# sourceMappingURL=chunk-O4XLMI2P-
|
|
513
|
+
//# sourceMappingURL=chunk-O4XLMI2P-BdVt_1-O.js.map
|