@pb33f/cowboy-components 0.13.0 → 0.14.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/{_baseUniq-D4w9OEfi.cjs → _baseUniq-BCBHARBa.cjs} +1 -1
- package/dist/{_baseUniq-CwhnPBuZ.js → _baseUniq-DxKTOiyd.js} +74 -74
- package/dist/arc-BuSUjh0s.js +84 -0
- package/dist/arc-CH-0H1TF.cjs +1 -0
- package/dist/{architecture-YZFGNWBL-BSnkfFiL.cjs → architecture-YZFGNWBL-BPn_727R.cjs} +1 -1
- package/dist/{architecture-YZFGNWBL-Cv-BGlq1.js → architecture-YZFGNWBL-BTpBH05L.js} +1 -1
- package/dist/{architectureDiagram-Q4EWVU46-Bi5_oLbN.js → architectureDiagram-Q4EWVU46-CYewkKfJ.js} +4 -4
- package/dist/{architectureDiagram-Q4EWVU46-7qN01149.cjs → architectureDiagram-Q4EWVU46-DiD3e6PQ.cjs} +1 -1
- package/dist/blockDiagram-DXYQGD6D-B1FzGfTA.cjs +132 -0
- package/dist/{blockDiagram-DXYQGD6D-DPZDIH8c.js → blockDiagram-DXYQGD6D-C1Xzgnrv.js} +18 -17
- package/dist/{c4Diagram-AHTNJAMY-CzTGAiLN.js → c4Diagram-AHTNJAMY-L6Az2dvx.js} +2 -2
- package/dist/{c4Diagram-AHTNJAMY-vYFfYNT2.cjs → c4Diagram-AHTNJAMY-c5bsYT5q.cjs} +1 -1
- package/dist/change-list-item-4xBSo3-U.cjs +4586 -0
- package/dist/change-list-item-Bu_mPv-k.js +19108 -0
- package/dist/{channel-xkWi7eyU.cjs → channel-BR_Krb9l.cjs} +1 -1
- package/dist/channel-Bo_TnECw.js +5 -0
- package/dist/{chunk-4BX2VUAB-D5fkGnKT.cjs → chunk-4BX2VUAB-B1uaSl0e.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-Crsil6rQ.js → chunk-4BX2VUAB-ClX8oE7L.js} +1 -1
- package/dist/{chunk-4TB4RGXK-BK_Zwn1u.cjs → chunk-4TB4RGXK-D0JpJZOs.cjs} +1 -1
- package/dist/{chunk-4TB4RGXK-CqgUAjqs.js → chunk-4TB4RGXK-DzEEAztK.js} +5 -5
- package/dist/{chunk-55IACEB6-CVOd63y7.cjs → chunk-55IACEB6-595ZDi6s.cjs} +1 -1
- package/dist/{chunk-55IACEB6-BHM-gGnN.js → chunk-55IACEB6-DL_DHCyZ.js} +1 -1
- package/dist/{chunk-EDXVE4YY-XhKW7gue.js → chunk-EDXVE4YY-BII9TpbV.js} +1 -1
- package/dist/{chunk-EDXVE4YY-Cg8LIvnn.cjs → chunk-EDXVE4YY-CQbtNtXr.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-ClqO-tFT.cjs → chunk-FMBD7UC4-BO92YnlB.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-DZgUWYcc.js → chunk-FMBD7UC4-cN7XywSK.js} +1 -1
- package/dist/{chunk-OYMX7WX6-DPeZUR-5.cjs → chunk-OYMX7WX6-BxqhsynN.cjs} +1 -1
- package/dist/{chunk-OYMX7WX6-DDhPRCvb.js → chunk-OYMX7WX6-DTXPUCgU.js} +35 -35
- package/dist/{chunk-QZHKN3VN-CEfUDcqe.js → chunk-QZHKN3VN-Biauj3yN.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DfLK5brs.cjs → chunk-QZHKN3VN-C-mnteH7.cjs} +1 -1
- package/dist/{chunk-YZCP3GAM-CUdZyEqp.cjs → chunk-YZCP3GAM-WiD5REgL.cjs} +1 -1
- package/dist/{chunk-YZCP3GAM-BseNjeX_.js → chunk-YZCP3GAM-eo-UEr6G.js} +1 -1
- package/dist/{classDiagram-v2-HSJHXN6E-DY4pBvUq.js → classDiagram-6PBFFD2Q-8kzuzUL4.js} +2 -2
- package/dist/{classDiagram-6PBFFD2Q-DANanUVD.cjs → classDiagram-6PBFFD2Q-ay2Efc0y.cjs} +1 -1
- package/dist/{classDiagram-6PBFFD2Q-DY4pBvUq.js → classDiagram-v2-HSJHXN6E-8kzuzUL4.js} +2 -2
- package/dist/{classDiagram-v2-HSJHXN6E-DANanUVD.cjs → classDiagram-v2-HSJHXN6E-ay2Efc0y.cjs} +1 -1
- package/dist/{clone-Dd6Qonyi.js → clone-CC2YvoOD.js} +1 -1
- package/dist/clone-DAIpdsWe.cjs +1 -0
- package/dist/components/diff-viewer/diff-viewer.d.ts +3 -0
- package/dist/components/diff-viewer/diff-viewer.js +34 -37
- package/dist/components/diff-viewer/line-renderer.d.ts +15 -0
- package/dist/components/diff-viewer/line-renderer.js +49 -0
- package/dist/components/footer/footer.d.ts +3 -0
- package/dist/components/footer/footer.js +10 -4
- package/dist/components/logo-wall/logos/apache.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/apache.svg.js +100 -0
- package/dist/components/logo-wall/logos/apideck.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/apideck.svg.js +14 -0
- package/dist/components/logo-wall/logos/apigee.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/apigee.svg.js +16 -0
- package/dist/components/logo-wall/logos/bump.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/bump.svg.js +14 -0
- package/dist/components/logo-wall/logos/bytebase.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/bytebase.svg.js +11 -0
- package/dist/components/logo-wall/logos/chainlink.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/chainlink.svg.js +18 -0
- package/dist/components/logo-wall/logos/cisco.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/cisco.svg.js +14 -0
- package/dist/components/logo-wall/logos/elastic.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/elastic.svg.js +14 -0
- package/dist/components/logo-wall/logos/google.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/google.svg.js +12 -0
- package/dist/components/logo-wall/logos/grafana.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/grafana.svg.js +14 -0
- package/dist/components/logo-wall/logos/hashicorp.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/hashicorp.svg.js +18 -0
- package/dist/components/logo-wall/logos/hasura.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/hasura.svg.js +14 -0
- package/dist/components/logo-wall/logos/jpmorgan.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/jpmorgan.svg.js +22 -0
- package/dist/components/logo-wall/logos/kong.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/kong.svg.js +13 -0
- package/dist/components/logo-wall/logos/mongodb.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/mongodb.svg.js +17 -0
- package/dist/components/logo-wall/logos/nhost.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/nhost.svg.js +9 -0
- package/dist/components/logo-wall/logos/okta.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/okta.svg.js +8 -0
- package/dist/components/logo-wall/logos/opentelemetry.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/opentelemetry.svg.js +8 -0
- package/dist/components/logo-wall/logos/prometheus.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/prometheus.svg.js +8 -0
- package/dist/components/logo-wall/logos/pulumi.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/pulumi.svg.js +10 -0
- package/dist/components/logo-wall/logos/redhat.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/redhat.svg.js +8 -0
- package/dist/components/logo-wall/logos/scalar.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/scalar.svg.js +19 -0
- package/dist/components/logo-wall/logos/splunk.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/splunk.svg.js +8 -0
- package/dist/components/logo-wall/logos/unkey.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/unkey.svg.js +15 -0
- package/dist/components/logo-wall/logowall.d.ts +2 -24
- package/dist/components/logo-wall/logowall.js +58 -373
- package/dist/components/model-tree/tree.js +1 -2
- package/dist/components/premium-gate/premium-gate.css.js +18 -1
- package/dist/components/premium-gate/premium-gate.js +2 -2
- package/dist/components/problem-list/problem-item.js +3 -2
- package/dist/components/problem-list/problem-list.d.ts +2 -0
- package/dist/components/problem-list/problem-list.js +26 -7
- package/dist/components/problems-overview/problem-overview-group.js +2 -1
- package/dist/components/visualizer/edge.d.ts +6 -2
- package/dist/components/visualizer/edge.js +26 -4
- package/dist/components/visualizer/equalizer.css.js +11 -2
- package/dist/components/visualizer/explorer.d.ts +3 -1
- package/dist/components/visualizer/explorer.js +51 -59
- package/dist/components/visualizer/nodes/change-view-node.d.ts +2 -2
- package/dist/components/visualizer/nodes/change-view-node.js +10 -6
- package/dist/components/visualizer/nodes/graph-node.d.ts +12 -8
- package/dist/components/visualizer/nodes/graph-node.js +47 -25
- package/dist/components/visualizer/nodes/schema.d.ts +7 -0
- package/dist/components/visualizer/nodes/schema.js +81 -59
- package/dist/components/visualizer/shared.css.js +48 -10
- package/dist/components/visualizer/viewport-position.d.ts +28 -0
- package/dist/components/visualizer/viewport-position.js +38 -0
- package/dist/components/workspaces/workspace-view.js +10 -7
- package/dist/components/yaml-viewer/yaml-viewer.css.d.ts +2 -0
- package/dist/components/yaml-viewer/yaml-viewer.css.js +45 -0
- package/dist/components/yaml-viewer/yaml-viewer.d.ts +22 -0
- package/dist/components/yaml-viewer/yaml-viewer.js +86 -0
- package/dist/controllers/problem-controller.d.ts +1 -0
- package/dist/controllers/problem-controller.js +40 -24
- package/dist/{cose-bilkent-S5V4N54A-CPd0mzpZ.js → cose-bilkent-S5V4N54A-BvU_SKfP.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-BEI30FIt.cjs → cose-bilkent-S5V4N54A-CjLPT2aq.cjs} +1 -1
- package/dist/{cowboy-components-C1bHeXpH.js → cowboy-components-B5MDHQs5.js} +8691 -8836
- package/dist/{cowboy-components-BDlH5KPd.cjs → cowboy-components-DMQv-nwp.cjs} +561 -489
- package/dist/{dagre-KV5264BT-lXj1bQdQ.cjs → dagre-KV5264BT-BJ3g2OfF.cjs} +1 -1
- package/dist/{dagre-KV5264BT-DKYFh03U.js → dagre-KV5264BT-CZZ7IWMJ.js} +29 -29
- package/dist/{diagram-5BDNPKRD-B5z67jan.js → diagram-5BDNPKRD-BtgWDNH6.js} +4 -4
- package/dist/{diagram-5BDNPKRD-BxdT4j_p.cjs → diagram-5BDNPKRD-C8f_rKrj.cjs} +1 -1
- package/dist/{diagram-G4DWMVQ6-CYhKfvVo.cjs → diagram-G4DWMVQ6-CdbbbjZ1.cjs} +1 -1
- package/dist/{diagram-G4DWMVQ6-CW505eM5.js → diagram-G4DWMVQ6-Cvo7MOEn.js} +4 -4
- package/dist/{diagram-MMDJMWI5-CguvhYVm.js → diagram-MMDJMWI5-BBZMNBAZ.js} +3 -3
- package/dist/{diagram-MMDJMWI5-CnbCy2d4.cjs → diagram-MMDJMWI5-CmuOqtUd.cjs} +1 -1
- package/dist/{diagram-TYMM5635-CTqk1SDy.cjs → diagram-TYMM5635-BDWJ5rTp.cjs} +1 -1
- package/dist/{diagram-TYMM5635-DNaputK9.js → diagram-TYMM5635-BJ6YAfrg.js} +3 -3
- package/dist/{erDiagram-SMLLAGMA-CbVmsYT2.js → erDiagram-SMLLAGMA-CYctRkDG.js} +4 -4
- package/dist/{erDiagram-SMLLAGMA-C8J_QyFx.cjs → erDiagram-SMLLAGMA-oQiAbd77.cjs} +1 -1
- package/dist/events/doctor.d.ts +2 -1
- package/dist/factories/explorer-component-factory.d.ts +2 -1
- package/dist/factories/explorer-component-factory.js +1 -0
- package/dist/{flowDiagram-DWJPFMVM-CilWme2B.cjs → flowDiagram-DWJPFMVM-Cl2ZAgx-.cjs} +1 -1
- package/dist/{flowDiagram-DWJPFMVM-CzhP7Mva.js → flowDiagram-DWJPFMVM-XzVvDcKE.js} +6 -6
- package/dist/{ganttDiagram-T4ZO3ILL-D1VjNn5T.js → ganttDiagram-T4ZO3ILL-Bw3whz8Z.js} +3 -3
- package/dist/{ganttDiagram-T4ZO3ILL-CJPTfw3M.cjs → ganttDiagram-T4ZO3ILL-D6p69Xut.cjs} +1 -1
- package/dist/{gitGraph-7Q5UKJZL-KIImqmsm.js → gitGraph-7Q5UKJZL-CV8uXlc6.js} +1 -1
- package/dist/{gitGraph-7Q5UKJZL-Dt7RPGLj.cjs → gitGraph-7Q5UKJZL-Dc00T47S.cjs} +1 -1
- package/dist/{gitGraphDiagram-UUTBAWPF-RgZxgljz.cjs → gitGraphDiagram-UUTBAWPF-DO7-Vg9n.cjs} +1 -1
- package/dist/{gitGraphDiagram-UUTBAWPF-oNmbFzsW.js → gitGraphDiagram-UUTBAWPF-DyF52xzw.js} +4 -4
- package/dist/{graph-CFIa3BqY.js → graph-BNtv6wPN.js} +43 -43
- package/dist/{graph-D7t_ZgqQ.cjs → graph-nnOjqfSF.cjs} +1 -1
- package/dist/info-OMHHGYJF-BEJOj8rC.js +5 -0
- package/dist/{info-OMHHGYJF-DNwPREtC.cjs → info-OMHHGYJF-DenwEztT.cjs} +1 -1
- package/dist/{infoDiagram-42DDH7IO-xpnPsX13.cjs → infoDiagram-42DDH7IO-CDwaPJgE.cjs} +1 -1
- package/dist/{infoDiagram-42DDH7IO-D6tfy_kQ.js → infoDiagram-42DDH7IO-D5ZWT_PY.js} +2 -2
- package/dist/{ishikawaDiagram-UXIWVN3A-1C3ML4wN.js → ishikawaDiagram-UXIWVN3A-DO1TQj8y.js} +1 -1
- package/dist/{ishikawaDiagram-UXIWVN3A-cN7Egzi1.cjs → ishikawaDiagram-UXIWVN3A-DgxKja6G.cjs} +1 -1
- package/dist/{journeyDiagram-VCZTEJTY-BBnQnZeo.js → journeyDiagram-VCZTEJTY-BOrvmHFC.js} +4 -4
- package/dist/{journeyDiagram-VCZTEJTY-CuHlve7g.cjs → journeyDiagram-VCZTEJTY-CJCEu2Bp.cjs} +1 -1
- package/dist/{kanban-definition-6JOO6SKY-w_-A-pcU.cjs → kanban-definition-6JOO6SKY-DEuqG8My.cjs} +1 -1
- package/dist/{kanban-definition-6JOO6SKY-CIUOm1v3.js → kanban-definition-6JOO6SKY-DbcLaE1y.js} +22 -22
- package/dist/{layout-DkbTnSOk.cjs → layout-C5IxZs51.cjs} +1 -1
- package/dist/{layout-B94Gbndw.js → layout-US8yryxu.js} +89 -89
- package/dist/linear-Bmlq6WJ8.cjs +1 -0
- package/dist/{linear-ofqYQwLM.js → linear-D6nUCk2i.js} +26 -26
- package/dist/{mermaid-parser.core-D5yJiPW9.cjs → mermaid-parser.core-COvBhcPG.cjs} +2 -2
- package/dist/{mermaid-parser.core-SWTLxzuR.js → mermaid-parser.core-DvOBQD0s.js} +13 -13
- package/dist/{min-CCJ14kSC.cjs → min-BeG6JEx2.cjs} +1 -1
- package/dist/{min-BVt52F4Z.js → min-gCZaz5eW.js} +8 -8
- package/dist/{mindmap-definition-QFDTVHPH-BBABzpZ_.js → mindmap-definition-QFDTVHPH-Bf7uOPBO.js} +11 -11
- package/dist/{mindmap-definition-QFDTVHPH-DkHlEc6j.cjs → mindmap-definition-QFDTVHPH-Bh_mtad8.cjs} +1 -1
- package/dist/{packet-4T2RLAQJ-C_GHj8I6.js → packet-4T2RLAQJ-CnjxgpUP.js} +1 -1
- package/dist/{packet-4T2RLAQJ-D-3BTAOL.cjs → packet-4T2RLAQJ-EX3JjNtR.cjs} +1 -1
- package/dist/pie-ZZUOXDRM-B0-esN8S.js +5 -0
- package/dist/{pie-ZZUOXDRM-CCr4-X6f.cjs → pie-ZZUOXDRM-S9g0lXgu.cjs} +1 -1
- package/dist/pieDiagram-DEJITSTG-An0q-g5y.cjs +30 -0
- package/dist/{pieDiagram-DEJITSTG-oeQHkFGB.js → pieDiagram-DEJITSTG-DIkSdQCd.js} +43 -42
- package/dist/{quadrantDiagram-34T5L4WZ-CHmpNV-R.cjs → quadrantDiagram-34T5L4WZ-B5f35ihC.cjs} +1 -1
- package/dist/{quadrantDiagram-34T5L4WZ-OYjSZG43.js → quadrantDiagram-34T5L4WZ-CBlxIaIn.js} +2 -2
- package/dist/radar-PYXPWWZC-1Ezs-b76.js +5 -0
- package/dist/{radar-PYXPWWZC-C1rOl50T.cjs → radar-PYXPWWZC-C0zC2ZSo.cjs} +1 -1
- package/dist/{requirementDiagram-MS252O5E-CD_xeIto.cjs → requirementDiagram-MS252O5E-C2bJ8iZf.cjs} +1 -1
- package/dist/{requirementDiagram-MS252O5E-CwRW6-r7.js → requirementDiagram-MS252O5E-CLQv0oWl.js} +3 -3
- package/dist/{sankeyDiagram-XADWPNL6-RMkMjKAW.cjs → sankeyDiagram-XADWPNL6--gS8yJdi.cjs} +1 -1
- package/dist/{sankeyDiagram-XADWPNL6-CQfVCItY.js → sankeyDiagram-XADWPNL6-BPSHvjZ8.js} +1 -1
- package/dist/{sequenceDiagram-FGHM5R23-Bg1onFX3.cjs → sequenceDiagram-FGHM5R23-C8D7r5pW.cjs} +1 -1
- package/dist/{sequenceDiagram-FGHM5R23-CHy2erSS.js → sequenceDiagram-FGHM5R23-Pz7V2MNd.js} +3 -3
- package/dist/services/workspace-service.js +3 -3
- package/dist/stateDiagram-FHFEXIEX-BAF5DJ1S.cjs +1 -0
- package/dist/{stateDiagram-FHFEXIEX-CMl5lVVr.js → stateDiagram-FHFEXIEX-D5m6EHM0.js} +44 -43
- package/dist/{stateDiagram-v2-QKLJ7IA2-Ddx6MvoK.js → stateDiagram-v2-QKLJ7IA2-Bewn3XVh.js} +2 -2
- package/dist/{stateDiagram-v2-QKLJ7IA2-k0ixVO2x.cjs → stateDiagram-v2-QKLJ7IA2-D8ygFuIi.cjs} +1 -1
- package/dist/{timeline-definition-GMOUNBTQ-tsduD7s8.cjs → timeline-definition-GMOUNBTQ-DGnNWVK8.cjs} +1 -1
- package/dist/{timeline-definition-GMOUNBTQ-wGoPQPZW.js → timeline-definition-GMOUNBTQ-D_q_Aq0R.js} +23 -23
- package/dist/{treeView-SZITEDCU-DLnrlNgm.js → treeView-SZITEDCU-CJ-dtg22.js} +1 -1
- package/dist/{treeView-SZITEDCU-0cNlhBgJ.cjs → treeView-SZITEDCU-D_h6_ShC.cjs} +1 -1
- package/dist/{treemap-W4RFUUIX-BhmjFGQ3.js → treemap-W4RFUUIX-B9GQw9aZ.js} +1 -1
- package/dist/{treemap-W4RFUUIX-CKAFw4rq.cjs → treemap-W4RFUUIX-BtKxSF22.cjs} +1 -1
- package/dist/{vennDiagram-DHZGUBPP-D0_k6R1t.js → vennDiagram-DHZGUBPP-JEim8wmH.js} +59 -59
- package/dist/{vennDiagram-DHZGUBPP-cIbatSRt.cjs → vennDiagram-DHZGUBPP-amyk4YMx.cjs} +1 -1
- package/dist/{wardley-RL74JXVD-E_57jQp4.cjs → wardley-RL74JXVD-Cni1Bfk_.cjs} +1 -1
- package/dist/{wardley-RL74JXVD-ClNl5KuH.js → wardley-RL74JXVD-sMbm0y_r.js} +1 -1
- package/dist/{wardleyDiagram-NUSXRM2D-DrU9h_lF.cjs → wardleyDiagram-NUSXRM2D-BxrRpNG2.cjs} +1 -1
- package/dist/{wardleyDiagram-NUSXRM2D-CdC2HbGc.js → wardleyDiagram-NUSXRM2D-C2MLJ-IT.js} +3 -3
- package/dist/workers/elk-fake-worker.generated.d.ts +3 -0
- package/dist/workers/elk-fake-worker.generated.js +50224 -0
- package/dist/workers/elk-layout-blob.generated.js +16 -18
- package/dist/workers/elk-layout.worker.js +5 -2
- package/dist/{xychartDiagram-5P7HB3ND-y-_Hnheq.js → xychartDiagram-5P7HB3ND-CSCEAZnj.js} +8 -7
- package/dist/{xychartDiagram-5P7HB3ND-BsPkSpoT.cjs → xychartDiagram-5P7HB3ND-CpDJRyka.cjs} +4 -4
- package/package.json +11 -2
- package/dist/arc-C1ekKGkb.js +0 -83
- package/dist/arc-R701-DfQ.cjs +0 -1
- package/dist/blockDiagram-DXYQGD6D-C72mCfQb.cjs +0 -132
- package/dist/change-list-item-BEl0JMXU.js +0 -18744
- package/dist/change-list-item-BQAfTtYI.cjs +0 -4535
- package/dist/channel-Bcdtr5hc.js +0 -5
- package/dist/clone-xz9tAnT8.cjs +0 -1
- package/dist/info-OMHHGYJF-CoCJYW0-.js +0 -5
- package/dist/linear-C0WOPIXr.cjs +0 -1
- package/dist/pie-ZZUOXDRM-BZwBUxgW.js +0 -5
- package/dist/pieDiagram-DEJITSTG-DpV5UNcT.cjs +0 -30
- package/dist/radar-PYXPWWZC-CeYN6kDE.js +0 -5
- package/dist/stateDiagram-FHFEXIEX-CYMON_a_.cjs +0 -1
|
@@ -64,10 +64,11 @@ let ProblemItem = class ProblemItem extends LitElement {
|
|
|
64
64
|
this.selected = true;
|
|
65
65
|
this.scrollOnUpdate = false;
|
|
66
66
|
this.dispatchEvent(new CustomEvent(ProblemClicked, {
|
|
67
|
-
bubbles:
|
|
67
|
+
bubbles: true,
|
|
68
68
|
composed: true,
|
|
69
69
|
detail: {
|
|
70
|
-
problem: this,
|
|
70
|
+
problem: this.problemObject,
|
|
71
|
+
problemItem: this,
|
|
71
72
|
launchedFromProblems: true
|
|
72
73
|
}
|
|
73
74
|
}));
|
|
@@ -36,6 +36,8 @@ export declare class ProblemList extends LitElement {
|
|
|
36
36
|
private search;
|
|
37
37
|
private changeSorting;
|
|
38
38
|
problemClicked(event: CustomEvent<ProblemClickedEvent>): void;
|
|
39
|
+
private resolveProblemClickTarget;
|
|
40
|
+
private indexForProblemOnLine;
|
|
39
41
|
slideChanged(event: CustomEvent<MainViewSlideChangedEvent>): void;
|
|
40
42
|
private setPageForProblem;
|
|
41
43
|
get problemItems(): ProblemItem[];
|
|
@@ -173,13 +173,32 @@ let ProblemList = class ProblemList extends LitElement {
|
|
|
173
173
|
this.requestUpdate();
|
|
174
174
|
}
|
|
175
175
|
problemClicked(event) {
|
|
176
|
-
const
|
|
177
|
-
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
181
|
-
this.lineClicked(
|
|
182
|
-
this.setPageForProblem(problem
|
|
176
|
+
const target = this.resolveProblemClickTarget(event.detail);
|
|
177
|
+
const { problem, line, index } = target;
|
|
178
|
+
this.selectedProblemHash = problem.hash();
|
|
179
|
+
this.selectedLine = line;
|
|
180
|
+
this.selectedIdx = index;
|
|
181
|
+
this.lineClicked(line, false, index);
|
|
182
|
+
this.setPageForProblem(problem);
|
|
183
|
+
}
|
|
184
|
+
resolveProblemClickTarget(event) {
|
|
185
|
+
if (event.problemItem) {
|
|
186
|
+
return {
|
|
187
|
+
problem: event.problem,
|
|
188
|
+
line: event.problemItem.line,
|
|
189
|
+
index: event.problemItem.idx
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
return {
|
|
193
|
+
problem: event.problem,
|
|
194
|
+
line: event.problem.startLineNumber,
|
|
195
|
+
index: this.indexForProblemOnLine(event.problem)
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
indexForProblemOnLine(problem) {
|
|
199
|
+
const lineProblems = this.filteredProblems.filter(p => p.startLineNumber === problem.startLineNumber);
|
|
200
|
+
const index = lineProblems.findIndex(p => p.hash() === problem.hash());
|
|
201
|
+
return index >= 0 ? index + 1 : 0;
|
|
183
202
|
}
|
|
184
203
|
slideChanged(event) {
|
|
185
204
|
this.lineClicked(event.detail.problem.line, false, event.detail.index, true);
|
|
@@ -2,11 +2,13 @@ import { LitElement, TemplateResult } from "lit";
|
|
|
2
2
|
import { ExplorerEdge } from "./explorer.js";
|
|
3
3
|
import { ElkEdgeSection } from "elkjs";
|
|
4
4
|
import { ChangeCategory } from "../../model/graph.js";
|
|
5
|
+
export type EdgePathStyle = 'd3' | 'rounded-orthogonal' | 'polyline';
|
|
5
6
|
export interface EdgeConfig {
|
|
6
7
|
edge: ExplorerEdge;
|
|
7
8
|
bendPoints?: boolean;
|
|
8
9
|
bendCurve?: boolean;
|
|
9
10
|
roundCorners?: boolean;
|
|
11
|
+
edgePathStyle?: EdgePathStyle;
|
|
10
12
|
visible?: boolean;
|
|
11
13
|
animated?: boolean;
|
|
12
14
|
isDependency?: boolean;
|
|
@@ -18,6 +20,7 @@ export declare class EdgeComponent extends LitElement {
|
|
|
18
20
|
bendPoints: boolean;
|
|
19
21
|
bendCurve: boolean;
|
|
20
22
|
roundCorners: boolean;
|
|
23
|
+
edgePathStyle: EdgePathStyle;
|
|
21
24
|
visible: boolean;
|
|
22
25
|
targetIsLeaf: boolean;
|
|
23
26
|
sections: TemplateResult[];
|
|
@@ -29,13 +32,14 @@ export declare class EdgeComponent extends LitElement {
|
|
|
29
32
|
configure(config: EdgeConfig): void;
|
|
30
33
|
render(): TemplateResult<2>;
|
|
31
34
|
private shouldUseRoundedPath;
|
|
35
|
+
private buildPath;
|
|
32
36
|
}
|
|
33
|
-
type Point = {
|
|
37
|
+
export type Point = {
|
|
34
38
|
x: number;
|
|
35
39
|
y: number;
|
|
36
40
|
};
|
|
37
41
|
export declare function getSectionPoints(section: ElkEdgeSection | undefined, includeBendPoints: boolean): Point[];
|
|
38
42
|
export declare function normalizeEdgePoints(points: Point[]): Point[];
|
|
39
43
|
export declare function buildPolylinePath(points: Point[]): string;
|
|
44
|
+
export declare function buildD3BundlePath(points: Point[]): string;
|
|
40
45
|
export declare function buildRoundedOrthogonalPath(points: Point[], radius?: number): string;
|
|
41
|
-
export {};
|
|
@@ -6,11 +6,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { customElement } from "lit/decorators.js";
|
|
8
8
|
import { LitElement, svg } from "lit";
|
|
9
|
+
import { curveBundle, line } from "d3-shape";
|
|
9
10
|
import { ChangeCategory } from "../../model/graph.js";
|
|
10
11
|
let EdgeComponent = class EdgeComponent extends LitElement {
|
|
11
12
|
constructor() {
|
|
12
13
|
super();
|
|
13
14
|
this.roundCorners = false;
|
|
15
|
+
this.edgePathStyle = 'd3';
|
|
14
16
|
this.visible = true;
|
|
15
17
|
this.targetIsLeaf = false;
|
|
16
18
|
this.sections = [];
|
|
@@ -27,6 +29,8 @@ let EdgeComponent = class EdgeComponent extends LitElement {
|
|
|
27
29
|
this.bendCurve = config.bendCurve;
|
|
28
30
|
if (config.roundCorners !== undefined)
|
|
29
31
|
this.roundCorners = config.roundCorners;
|
|
32
|
+
if (config.edgePathStyle !== undefined)
|
|
33
|
+
this.edgePathStyle = config.edgePathStyle;
|
|
30
34
|
if (config.visible !== undefined)
|
|
31
35
|
this.visible = config.visible;
|
|
32
36
|
if (config.animated !== undefined)
|
|
@@ -70,10 +74,7 @@ let EdgeComponent = class EdgeComponent extends LitElement {
|
|
|
70
74
|
arrow = `leaf-${this.changeCategory}`;
|
|
71
75
|
}
|
|
72
76
|
const points = getSectionPoints(section, this.bendPoints);
|
|
73
|
-
const
|
|
74
|
-
const path = shouldRoundPath
|
|
75
|
-
? buildRoundedOrthogonalPath(points)
|
|
76
|
-
: buildPolylinePath(points);
|
|
77
|
+
const path = this.buildPath(points);
|
|
77
78
|
const clazzList = [];
|
|
78
79
|
if (this.edge.ref.length > 0) {
|
|
79
80
|
clazzList.push('ref');
|
|
@@ -107,11 +108,26 @@ let EdgeComponent = class EdgeComponent extends LitElement {
|
|
|
107
108
|
shouldUseRoundedPath() {
|
|
108
109
|
return this.roundCorners && this.edge.ref.length === 0 && (!this.edge.poly || this.edge.poly === '');
|
|
109
110
|
}
|
|
111
|
+
buildPath(points) {
|
|
112
|
+
if (!this.bendCurve || this.edgePathStyle === 'polyline') {
|
|
113
|
+
return buildPolylinePath(points);
|
|
114
|
+
}
|
|
115
|
+
if (this.edgePathStyle === 'rounded-orthogonal') {
|
|
116
|
+
return this.shouldUseRoundedPath()
|
|
117
|
+
? buildRoundedOrthogonalPath(points)
|
|
118
|
+
: buildPolylinePath(points);
|
|
119
|
+
}
|
|
120
|
+
return buildD3BundlePath(points) || buildPolylinePath(points);
|
|
121
|
+
}
|
|
110
122
|
};
|
|
111
123
|
EdgeComponent = __decorate([
|
|
112
124
|
customElement('pb33f-explorer-edge')
|
|
113
125
|
], EdgeComponent);
|
|
114
126
|
export { EdgeComponent };
|
|
127
|
+
const d3BundlePathFunction = line()
|
|
128
|
+
.x((point) => point.x)
|
|
129
|
+
.y((point) => point.y)
|
|
130
|
+
.curve(curveBundle.beta(1));
|
|
115
131
|
export function getSectionPoints(section, includeBendPoints) {
|
|
116
132
|
if (!section) {
|
|
117
133
|
return [];
|
|
@@ -162,6 +178,12 @@ export function buildPolylinePath(points) {
|
|
|
162
178
|
}
|
|
163
179
|
return path;
|
|
164
180
|
}
|
|
181
|
+
export function buildD3BundlePath(points) {
|
|
182
|
+
if (points.length === 0) {
|
|
183
|
+
return '';
|
|
184
|
+
}
|
|
185
|
+
return d3BundlePathFunction(points) || '';
|
|
186
|
+
}
|
|
165
187
|
export function buildRoundedOrthogonalPath(points, radius = 6) {
|
|
166
188
|
if (points.length <= 2) {
|
|
167
189
|
return buildPolylinePath(points);
|
|
@@ -3,19 +3,28 @@ export default css `
|
|
|
3
3
|
.equalizer {
|
|
4
4
|
height: 40px;
|
|
5
5
|
border-bottom: 1px dashed var(--secondary-color-dimmer);
|
|
6
|
+
position: relative;
|
|
7
|
+
z-index: 20;
|
|
6
8
|
}
|
|
7
9
|
.equalizer-container {
|
|
8
10
|
margin-top: 7px;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
min-height: 220px;
|
|
9
13
|
height: auto;
|
|
10
14
|
max-height: 400px;
|
|
15
|
+
border-top: 1px solid var(--secondary-color-dimmer);
|
|
11
16
|
border-bottom: 1px solid var(--secondary-color);
|
|
12
|
-
background-color: var(--background-color
|
|
13
|
-
z-index:
|
|
17
|
+
background-color: var(--background-color);
|
|
18
|
+
z-index: 20;
|
|
14
19
|
position: absolute;
|
|
20
|
+
left: 0;
|
|
21
|
+
right: 0;
|
|
15
22
|
width: 100%;
|
|
16
23
|
backdrop-filter: blur(2px);
|
|
17
24
|
-webkit-backdrop-filter: blur(2px);
|
|
18
25
|
padding-bottom: 20px;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
|
|
19
28
|
}
|
|
20
29
|
|
|
21
30
|
.explorer-key-container {
|
|
@@ -2,7 +2,7 @@ import { ForeignObjectComponent } from "./foreign-object.js";
|
|
|
2
2
|
import { GraphNodeComponent } from "./nodes/graph-node.js";
|
|
3
3
|
import { ElkNode, ElkExtendedEdge } from 'elkjs';
|
|
4
4
|
import { Edge, GraphMode, GraphResponse, Node, VacuumResult } from "../../model/graph.js";
|
|
5
|
-
import { EdgeComponent } from "./edge.js";
|
|
5
|
+
import { EdgeComponent, type EdgePathStyle } from "./edge.js";
|
|
6
6
|
import { EqualizerComponent } from "./equalizer.js";
|
|
7
7
|
import { ExplorerDependentNodeClickedEvent, ExplorerEqualizerChangedEvent, ExplorerLoadMoreChildrenEvent } from "../../events/doctor.js";
|
|
8
8
|
import { HasEyes } from "./has-eyes.js";
|
|
@@ -50,6 +50,7 @@ export declare class ExplorerComponent extends HasEyes {
|
|
|
50
50
|
foreignObjects: SVGForeignObjectElement[];
|
|
51
51
|
ready: boolean;
|
|
52
52
|
renderEqualizer: boolean;
|
|
53
|
+
edgePathStyle: EdgePathStyle;
|
|
53
54
|
embeddedMode: boolean;
|
|
54
55
|
graphResponse: GraphResponse;
|
|
55
56
|
disablePovMode: boolean;
|
|
@@ -199,6 +200,7 @@ export declare class ExplorerComponent extends HasEyes {
|
|
|
199
200
|
'elk.layered.considerModelOrder.strategy': string;
|
|
200
201
|
};
|
|
201
202
|
buildGraph(): Promise<any>;
|
|
203
|
+
private buildGraphAndRender;
|
|
202
204
|
buildNodes(): void;
|
|
203
205
|
buildEdges(): void;
|
|
204
206
|
readyGo(): void;
|
|
@@ -20,6 +20,7 @@ import ElkLayoutWorker from "../../workers/elk-layout.worker.js?worker&inline";
|
|
|
20
20
|
import sharedCss from "../../css/shared.css.js";
|
|
21
21
|
import { ExpansionManager } from "../../managers/expansion-manager.js";
|
|
22
22
|
import { LayoutFilterManager } from "../../managers/layout-filter-manager.js";
|
|
23
|
+
import { calculateNodeViewportTarget } from "./viewport-position.js";
|
|
23
24
|
export var Direction;
|
|
24
25
|
(function (Direction) {
|
|
25
26
|
Direction["UP"] = "UP";
|
|
@@ -34,6 +35,7 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
34
35
|
get pathRevealTarget() { return this.expansionManager.pathRevealTarget; }
|
|
35
36
|
constructor() {
|
|
36
37
|
super();
|
|
38
|
+
this.edgePathStyle = 'd3';
|
|
37
39
|
this.embeddedMode = false;
|
|
38
40
|
this.disablePovMode = false;
|
|
39
41
|
this.hideExamples = false;
|
|
@@ -325,13 +327,10 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
325
327
|
this.violationMap.set(id, violation);
|
|
326
328
|
});
|
|
327
329
|
}
|
|
328
|
-
this.
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
this.centerOnRoot();
|
|
333
|
-
}
|
|
334
|
-
}, 50);
|
|
330
|
+
this.buildGraphAndRender().then(() => {
|
|
331
|
+
if (!this.activeNode) {
|
|
332
|
+
this.centerOnRoot();
|
|
333
|
+
}
|
|
335
334
|
});
|
|
336
335
|
}
|
|
337
336
|
rotate() {
|
|
@@ -350,19 +349,16 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
350
349
|
break;
|
|
351
350
|
}
|
|
352
351
|
this.resetNodes();
|
|
353
|
-
this.
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
return;
|
|
364
|
-
}
|
|
365
|
-
}, 200);
|
|
352
|
+
this.buildGraphAndRender().then(() => {
|
|
353
|
+
if (this.activeNode) {
|
|
354
|
+
this.dispatchEvent(new CustomEvent(ModelTreeNodeClicked, {
|
|
355
|
+
bubbles: true,
|
|
356
|
+
composed: true,
|
|
357
|
+
detail: {
|
|
358
|
+
nodeId: this.activeNode.id,
|
|
359
|
+
}
|
|
360
|
+
}));
|
|
361
|
+
}
|
|
366
362
|
});
|
|
367
363
|
}
|
|
368
364
|
mouseMove(evt) {
|
|
@@ -462,20 +458,16 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
462
458
|
if (isPovMode) {
|
|
463
459
|
this.povMode = true;
|
|
464
460
|
}
|
|
465
|
-
this.
|
|
461
|
+
this.buildGraphAndRender().then(() => {
|
|
466
462
|
if (isPovMode && this.povFocusNodeId) {
|
|
467
463
|
this.equalizer.controls.povNode = this.povNode;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}
|
|
473
|
-
}, 50);
|
|
464
|
+
const povNode = this.graphResponse.nodes?.find(n => n.id === this.povFocusNodeId);
|
|
465
|
+
if (povNode) {
|
|
466
|
+
this.moveToNode(povNode, false);
|
|
467
|
+
}
|
|
474
468
|
}
|
|
475
469
|
else if (!this.activeNode) {
|
|
476
|
-
|
|
477
|
-
this.centerOnRoot();
|
|
478
|
-
}, 50);
|
|
470
|
+
this.centerOnRoot();
|
|
479
471
|
}
|
|
480
472
|
});
|
|
481
473
|
}
|
|
@@ -505,19 +497,17 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
505
497
|
this.graphResponse = evt.detail.graph;
|
|
506
498
|
}
|
|
507
499
|
this.extractEQPreferences(evt);
|
|
508
|
-
this.
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
}
|
|
520
|
-
}, 50);
|
|
500
|
+
this.buildGraphAndRender().then(() => {
|
|
501
|
+
if (this.activeNode && this._visible) {
|
|
502
|
+
this.dispatchEvent(new CustomEvent(ModelTreeNodeClicked, {
|
|
503
|
+
bubbles: true,
|
|
504
|
+
composed: true,
|
|
505
|
+
detail: {
|
|
506
|
+
nodeId: this.activeNode.id,
|
|
507
|
+
first: true
|
|
508
|
+
}
|
|
509
|
+
}));
|
|
510
|
+
}
|
|
521
511
|
});
|
|
522
512
|
}
|
|
523
513
|
resetNodes() {
|
|
@@ -642,6 +632,11 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
642
632
|
});
|
|
643
633
|
});
|
|
644
634
|
}
|
|
635
|
+
async buildGraphAndRender() {
|
|
636
|
+
await this.buildGraph();
|
|
637
|
+
await this.updateComplete;
|
|
638
|
+
await new Promise(resolve => requestAnimationFrame(() => resolve()));
|
|
639
|
+
}
|
|
645
640
|
buildNodes() {
|
|
646
641
|
this.nodeMap.clear();
|
|
647
642
|
this.definitionCache.clear();
|
|
@@ -671,6 +666,7 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
671
666
|
collapsedEdges: this.collapsedEdges,
|
|
672
667
|
bendPoints: this.bendPoints,
|
|
673
668
|
bendEdges: this.bendEdges,
|
|
669
|
+
edgePathStyle: this.edgePathStyle,
|
|
674
670
|
nodeLimitExceeded: this.nodeLimitExceeded,
|
|
675
671
|
povMode: this.povMode
|
|
676
672
|
}, this.renderGraphMap);
|
|
@@ -707,10 +703,8 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
707
703
|
this.zoomY = -150;
|
|
708
704
|
this.svgItem.setAttribute('viewBox', `-150 -150 ${viewBoxW} ${viewBoxH}`);
|
|
709
705
|
this.resetNodes();
|
|
710
|
-
this.
|
|
711
|
-
|
|
712
|
-
this.snapToRoot();
|
|
713
|
-
}, 150);
|
|
706
|
+
this.buildGraphAndRender().then(() => {
|
|
707
|
+
this.snapToRoot();
|
|
714
708
|
});
|
|
715
709
|
}
|
|
716
710
|
snapToRoot() {
|
|
@@ -720,9 +714,8 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
720
714
|
if (rootNode && rootNode.x !== undefined && rootNode.y !== undefined) {
|
|
721
715
|
const viewBox = this.svgItem?.viewBox?.baseVal;
|
|
722
716
|
if (viewBox) {
|
|
723
|
-
const
|
|
724
|
-
|
|
725
|
-
this.snapViewBox(rootNode.x - (viewBox.width / 2) + (width / 2), rootNode.y - (viewBox.height / 2) + (height / 2));
|
|
717
|
+
const target = calculateNodeViewportTarget(this.direction, rootNode, viewBox);
|
|
718
|
+
this.snapViewBox(target.x, target.y);
|
|
726
719
|
}
|
|
727
720
|
this.activeNode = rootNode;
|
|
728
721
|
}
|
|
@@ -744,9 +737,8 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
744
737
|
if (rootNode && rootNode.x !== undefined && rootNode.y !== undefined) {
|
|
745
738
|
const viewBox = this.svgItem?.viewBox?.baseVal;
|
|
746
739
|
if (viewBox) {
|
|
747
|
-
const
|
|
748
|
-
|
|
749
|
-
this.animateViewBox(rootNode.x - (viewBox.width / 2) + (width / 2), rootNode.y - (viewBox.height / 2) + (height / 2), 200);
|
|
740
|
+
const target = calculateNodeViewportTarget(this.direction, rootNode, viewBox);
|
|
741
|
+
this.animateViewBox(target.x, target.y, 200);
|
|
750
742
|
}
|
|
751
743
|
this.activeNode = rootNode;
|
|
752
744
|
}
|
|
@@ -840,15 +832,12 @@ let ExplorerComponent = ExplorerComponent_1 = class ExplorerComponent extends Ha
|
|
|
840
832
|
const viewBox = this.svgItem.viewBox.baseVal;
|
|
841
833
|
const found = this.graph.children.find((n) => n.id === node.id);
|
|
842
834
|
if (found && found.x !== undefined && found.y !== undefined && !found.filtered) {
|
|
843
|
-
const
|
|
844
|
-
const height = found.height || 0;
|
|
845
|
-
const targetX = found.x - (viewBox.width / 2) + (width / 2);
|
|
846
|
-
const targetY = found.y - (viewBox.height / 2) + (height / 2);
|
|
835
|
+
const target = calculateNodeViewportTarget(this.direction, found, viewBox);
|
|
847
836
|
if (snap) {
|
|
848
|
-
this.snapViewBox(
|
|
837
|
+
this.snapViewBox(target.x, target.y);
|
|
849
838
|
}
|
|
850
839
|
else {
|
|
851
|
-
this.animateViewBox(
|
|
840
|
+
this.animateViewBox(target.x, target.y, 200);
|
|
852
841
|
}
|
|
853
842
|
}
|
|
854
843
|
}
|
|
@@ -951,6 +940,9 @@ __decorate([
|
|
|
951
940
|
__decorate([
|
|
952
941
|
property()
|
|
953
942
|
], ExplorerComponent.prototype, "renderEqualizer", void 0);
|
|
943
|
+
__decorate([
|
|
944
|
+
property()
|
|
945
|
+
], ExplorerComponent.prototype, "edgePathStyle", void 0);
|
|
954
946
|
__decorate([
|
|
955
947
|
property({ type: Boolean })
|
|
956
948
|
], ExplorerComponent.prototype, "embeddedMode", void 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TemplateResult } from "lit";
|
|
2
2
|
import { GraphNodeComponent } from "./graph-node.js";
|
|
3
|
-
import { Node } from "../../../model/graph.js";
|
|
3
|
+
import { Node, ChangeCounts } from "../../../model/graph.js";
|
|
4
4
|
export declare class ChangeViewNodeComponent extends GraphNodeComponent {
|
|
5
5
|
static styles: import("lit").CSSResult[];
|
|
6
6
|
constructor(nodeMap: Map<string, Node>);
|
|
@@ -14,6 +14,6 @@ export declare class ChangeViewNodeComponent extends GraphNodeComponent {
|
|
|
14
14
|
*/
|
|
15
15
|
private getOwnChanges;
|
|
16
16
|
private renderChildRows;
|
|
17
|
-
renderChanges(): TemplateResult;
|
|
17
|
+
renderChanges(changeCounts?: ChangeCounts): TemplateResult;
|
|
18
18
|
render(): TemplateResult<1>;
|
|
19
19
|
}
|
|
@@ -100,27 +100,31 @@ let ChangeViewNodeComponent = class ChangeViewNodeComponent extends GraphNodeCom
|
|
|
100
100
|
</div>
|
|
101
101
|
`)}`;
|
|
102
102
|
}
|
|
103
|
-
renderChanges() {
|
|
103
|
+
renderChanges(changeCounts = this.changeCounts) {
|
|
104
104
|
if (!this.node?.timeline?.length)
|
|
105
105
|
return html ``;
|
|
106
106
|
if (!this.node.childChanges?.length)
|
|
107
|
-
return super.renderChanges();
|
|
107
|
+
return super.renderChanges(changeCounts);
|
|
108
108
|
const ownOnly = this.getOwnChanges(this.node);
|
|
109
109
|
if (!ownOnly.length)
|
|
110
110
|
return html ``;
|
|
111
111
|
const counts = categorizeChanges(ownOnly);
|
|
112
112
|
const blocks = this.renderBadges(counts.breaking, counts.modifications, counts.additions, counts.removals);
|
|
113
|
-
|
|
113
|
+
if (blocks.length === 0)
|
|
114
|
+
return html ``;
|
|
115
|
+
return html `<div class="node-annotation change-div">${blocks}</div>`;
|
|
114
116
|
}
|
|
115
117
|
render() {
|
|
118
|
+
const results = this.countResults();
|
|
119
|
+
const changeCounts = this.changeCounts;
|
|
116
120
|
return html `
|
|
117
|
-
<div class="${this.renderClasses()}"
|
|
121
|
+
<div class="${this.renderClasses('rendered-element', results, changeCounts)}"
|
|
118
122
|
style="height: ${this.height}px; width: ${this.width}px" @click="${this.clicked}">
|
|
119
123
|
${this.renderHeader()}
|
|
120
124
|
${this.renderChildRows()}
|
|
121
|
-
${this.
|
|
122
|
-
${this.renderUpArrow()}
|
|
125
|
+
${this.renderExtensions()}
|
|
123
126
|
</div>
|
|
127
|
+
${this.renderUnderNodeAnnotations(results, changeCounts)}
|
|
124
128
|
${this.renderActiveArrow()}
|
|
125
129
|
`;
|
|
126
130
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { LitElement, TemplateResult } from "lit";
|
|
2
2
|
import { ExplorerEdge, ExplorerNode } from "../explorer.js";
|
|
3
3
|
import { Node, VacuumResult, ChangeCategory, ChangeCounts } from "../../../model/graph.js";
|
|
4
|
+
interface VacuumResultCounts {
|
|
5
|
+
errors: number;
|
|
6
|
+
warnings: number;
|
|
7
|
+
info: number;
|
|
8
|
+
}
|
|
4
9
|
export declare class GraphNodeComponent extends LitElement {
|
|
5
10
|
static styles: import("lit").CSSResult[];
|
|
6
11
|
active: boolean;
|
|
@@ -37,19 +42,18 @@ export declare class GraphNodeComponent extends LitElement {
|
|
|
37
42
|
activatePovMode(): void;
|
|
38
43
|
renderPovButton(): TemplateResult<1> | null;
|
|
39
44
|
renderUpArrow(): TemplateResult<1>;
|
|
45
|
+
renderUnderNodeAnnotations(results?: VacuumResultCounts, changeCounts?: ChangeCounts): TemplateResult<1>;
|
|
40
46
|
renderActiveArrow(): TemplateResult<1>;
|
|
41
|
-
countResults():
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
info: number;
|
|
45
|
-
};
|
|
46
|
-
renderVacuumResults(): TemplateResult<1> | undefined;
|
|
47
|
+
countResults(): VacuumResultCounts;
|
|
48
|
+
hasVacuumResults(results?: VacuumResultCounts): boolean;
|
|
49
|
+
renderVacuumResults(results?: VacuumResultCounts): TemplateResult<1> | undefined;
|
|
47
50
|
renderExtensions(): TemplateResult<1> | undefined;
|
|
48
51
|
clicked(): void;
|
|
49
52
|
isSingleLineNode(): boolean;
|
|
50
|
-
renderClasses(defaultString?: string): string;
|
|
53
|
+
renderClasses(defaultString?: string, results?: VacuumResultCounts, changeCounts?: ChangeCounts): string;
|
|
51
54
|
protected renderNodeWrapper(content: TemplateResult | TemplateResult[]): TemplateResult<1>;
|
|
52
55
|
renderBadges(breaking: number, mods: number, adds: number, removals: number): TemplateResult[];
|
|
53
|
-
renderChanges(): TemplateResult;
|
|
56
|
+
renderChanges(changeCounts?: ChangeCounts): TemplateResult;
|
|
54
57
|
render(): TemplateResult<1>;
|
|
55
58
|
}
|
|
59
|
+
export {};
|