@pb33f/cowboy-components 0.13.1 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_baseUniq-CL3reOBl.js → _baseUniq-CcG8uZM_.js} +74 -74
- package/dist/{_baseUniq-CacIA2LC.cjs → _baseUniq-Co8RB71y.cjs} +1 -1
- package/dist/arc-CZ9OyfV-.js +84 -0
- package/dist/arc-D5LG9aVl.cjs +1 -0
- package/dist/{architecture-YZFGNWBL-_gv9FazX.cjs → architecture-YZFGNWBL-CuyaOcgJ.cjs} +1 -1
- package/dist/{architecture-YZFGNWBL-fFrwoJ4k.js → architecture-YZFGNWBL-ne59NWt0.js} +1 -1
- package/dist/{architectureDiagram-Q4EWVU46-DtZlfd53.cjs → architectureDiagram-Q4EWVU46-CxErVIKm.cjs} +1 -1
- package/dist/{architectureDiagram-Q4EWVU46-B3fgqlMK.js → architectureDiagram-Q4EWVU46-ibaXfmmT.js} +4 -4
- package/dist/{blockDiagram-DXYQGD6D-CX0JRAKx.js → blockDiagram-DXYQGD6D-D5vqojm8.js} +18 -17
- package/dist/blockDiagram-DXYQGD6D-iFIpSW7Y.cjs +132 -0
- package/dist/{c4Diagram-AHTNJAMY-DLeN9ZAF.cjs → c4Diagram-AHTNJAMY-Av_INk2v.cjs} +1 -1
- package/dist/{c4Diagram-AHTNJAMY-BfMyY6ox.js → c4Diagram-AHTNJAMY-B7t5p6jA.js} +2 -2
- package/dist/change-list-item-4xBSo3-U.cjs +4586 -0
- package/dist/change-list-item-Bu_mPv-k.js +19108 -0
- package/dist/channel-BvR-WhLo.js +5 -0
- package/dist/{channel-IzC5TEAD.cjs → channel-DO31wbvk.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-CeMFPKaY.cjs → chunk-4BX2VUAB-DHdTrTTD.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-Bn2rH23T.js → chunk-4BX2VUAB-DQ4rU_AZ.js} +1 -1
- package/dist/{chunk-4TB4RGXK-C5Pdp8au.js → chunk-4TB4RGXK-BK_uuzSP.js} +5 -5
- package/dist/{chunk-4TB4RGXK-BbYCdNI3.cjs → chunk-4TB4RGXK-BlskfrH8.cjs} +1 -1
- package/dist/{chunk-55IACEB6-DdI_-Q_K.js → chunk-55IACEB6-BauZDeFH.js} +1 -1
- package/dist/{chunk-55IACEB6-DX9DtTQS.cjs → chunk-55IACEB6-CRJ5yCrP.cjs} +1 -1
- package/dist/{chunk-EDXVE4YY-nccXma-D.cjs → chunk-EDXVE4YY-BrlRuHp3.cjs} +1 -1
- package/dist/{chunk-EDXVE4YY-CCku7m5j.js → chunk-EDXVE4YY-DPpXfrr8.js} +1 -1
- package/dist/{chunk-FMBD7UC4-Bt5qtKsR.cjs → chunk-FMBD7UC4-0x38b8wg.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-BG1WV71B.js → chunk-FMBD7UC4-CtyzUnzx.js} +1 -1
- package/dist/{chunk-OYMX7WX6-DTbRX5BF.cjs → chunk-OYMX7WX6-DU4Zqa7r.cjs} +1 -1
- package/dist/{chunk-OYMX7WX6-Dj8r6q8i.js → chunk-OYMX7WX6-U53KZXxw.js} +35 -35
- package/dist/{chunk-QZHKN3VN-LZahlHwm.js → chunk-QZHKN3VN-BhntY1rB.js} +1 -1
- package/dist/{chunk-QZHKN3VN-v9FRBMwC.cjs → chunk-QZHKN3VN-Dyhr8mWm.cjs} +1 -1
- package/dist/{chunk-YZCP3GAM-BfcbLjwl.js → chunk-YZCP3GAM--UtgfYoK.js} +1 -1
- package/dist/{chunk-YZCP3GAM-DJNk9cax.cjs → chunk-YZCP3GAM-B_2rYHHe.cjs} +1 -1
- package/dist/{classDiagram-v2-HSJHXN6E-BHEetvl6.js → classDiagram-6PBFFD2Q-DX5nDbg5.js} +2 -2
- package/dist/{classDiagram-6PBFFD2Q-DnanA8bA.cjs → classDiagram-6PBFFD2Q-w916JDya.cjs} +1 -1
- package/dist/{classDiagram-6PBFFD2Q-BHEetvl6.js → classDiagram-v2-HSJHXN6E-DX5nDbg5.js} +2 -2
- package/dist/{classDiagram-v2-HSJHXN6E-DnanA8bA.cjs → classDiagram-v2-HSJHXN6E-w916JDya.cjs} +1 -1
- package/dist/{clone-C3LRmiE8.js → clone-DFz4YXr3.js} +1 -1
- package/dist/clone-D_c-FYGd.cjs +1 -0
- package/dist/components/diff-viewer/diff-viewer.js +5 -36
- 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-renderer/rendered-node.css.js +10 -0
- package/dist/components/model-renderer/rendered-node.d.ts +2 -0
- package/dist/components/model-renderer/rendered-node.js +16 -4
- 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/diagramatron-controller.d.ts +2 -6
- package/dist/controllers/diagramatron-controller.js +4 -1
- package/dist/controllers/problem-controller.d.ts +1 -0
- package/dist/controllers/problem-controller.js +40 -24
- package/dist/{cose-bilkent-S5V4N54A-CdEgH7NU.cjs → cose-bilkent-S5V4N54A-CKHB3cR8.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-FFskauHi.js → cose-bilkent-S5V4N54A-DcUKlxlF.js} +2 -2
- package/dist/{cowboy-components-DlcOqYuh.cjs → cowboy-components-CjgqXqkM.cjs} +1148 -1063
- package/dist/{cowboy-components-_6157Gms.js → cowboy-components-CxawaKWM.js} +8784 -8910
- package/dist/{dagre-KV5264BT-BBKAH5Vs.cjs → dagre-KV5264BT-B2JWO01l.cjs} +1 -1
- package/dist/{dagre-KV5264BT-BnGcCOZB.js → dagre-KV5264BT-Nl_VfI8a.js} +29 -29
- package/dist/{diagram-5BDNPKRD-Caf5-T5J.cjs → diagram-5BDNPKRD-BKI_3vWy.cjs} +1 -1
- package/dist/{diagram-5BDNPKRD-C9cE16Nq.js → diagram-5BDNPKRD-TI1X3fNz.js} +4 -4
- package/dist/{diagram-G4DWMVQ6-eVnE9je7.js → diagram-G4DWMVQ6-CFqOAmuK.js} +4 -4
- package/dist/{diagram-G4DWMVQ6-B_Z6cYPf.cjs → diagram-G4DWMVQ6-DFBdN4sf.cjs} +1 -1
- package/dist/{diagram-MMDJMWI5-CAOLJUQB.js → diagram-MMDJMWI5-BSsV2xaN.js} +3 -3
- package/dist/{diagram-MMDJMWI5-Btfr_jTp.cjs → diagram-MMDJMWI5-CFuTCrVQ.cjs} +1 -1
- package/dist/{diagram-TYMM5635-B5eh2zfi.js → diagram-TYMM5635-BP1f-EB_.js} +3 -3
- package/dist/{diagram-TYMM5635-pKdjOMF8.cjs → diagram-TYMM5635-CrgW2ZZO.cjs} +1 -1
- package/dist/{erDiagram-SMLLAGMA-DIG0NSaA.cjs → erDiagram-SMLLAGMA-C3caLNRz.cjs} +1 -1
- package/dist/{erDiagram-SMLLAGMA-B2OnES7y.js → erDiagram-SMLLAGMA-rVfyZdO4.js} +4 -4
- package/dist/events/doctor.d.ts +3 -1
- package/dist/factories/explorer-component-factory.d.ts +2 -1
- package/dist/factories/explorer-component-factory.js +1 -0
- package/dist/{flowDiagram-DWJPFMVM-2zskCMow.cjs → flowDiagram-DWJPFMVM-Ce_HVRt5.cjs} +1 -1
- package/dist/{flowDiagram-DWJPFMVM-CXPAxHvt.js → flowDiagram-DWJPFMVM-DqFXC8zL.js} +6 -6
- package/dist/{ganttDiagram-T4ZO3ILL-D6Frz-JF.js → ganttDiagram-T4ZO3ILL-BmNOX7yf.js} +3 -3
- package/dist/{ganttDiagram-T4ZO3ILL-BeVChtO1.cjs → ganttDiagram-T4ZO3ILL-HHFgf8w4.cjs} +1 -1
- package/dist/{gitGraph-7Q5UKJZL-BJ6cbAq9.cjs → gitGraph-7Q5UKJZL-DgndfdDH.cjs} +1 -1
- package/dist/{gitGraph-7Q5UKJZL-ZUTHDSj9.js → gitGraph-7Q5UKJZL-kCDkIMWc.js} +1 -1
- package/dist/{gitGraphDiagram-UUTBAWPF--sskoNSw.js → gitGraphDiagram-UUTBAWPF-C-Ahhj_h.js} +4 -4
- package/dist/{gitGraphDiagram-UUTBAWPF-Bk5mBktt.cjs → gitGraphDiagram-UUTBAWPF-DaVjvjth.cjs} +1 -1
- package/dist/{graph-n3mQ-eMa.js → graph-Dfys1tzR.js} +43 -43
- package/dist/{graph-CitLzybf.cjs → graph-DyZUkQBU.cjs} +1 -1
- package/dist/{info-OMHHGYJF-Drd77e1G.cjs → info-OMHHGYJF-Cb_sFFZS.cjs} +1 -1
- package/dist/info-OMHHGYJF-KL9K6Ofp.js +5 -0
- package/dist/{infoDiagram-42DDH7IO-BYCSBry1.js → infoDiagram-42DDH7IO-BP_YOQpC.js} +2 -2
- package/dist/{infoDiagram-42DDH7IO-Drbr569o.cjs → infoDiagram-42DDH7IO-C09CiT2v.cjs} +1 -1
- package/dist/{ishikawaDiagram-UXIWVN3A-DTTtSjta.cjs → ishikawaDiagram-UXIWVN3A-CjAoGU0v.cjs} +1 -1
- package/dist/{ishikawaDiagram-UXIWVN3A-DtA8KbKf.js → ishikawaDiagram-UXIWVN3A-DwW6fn0e.js} +1 -1
- package/dist/{journeyDiagram-VCZTEJTY-NGtPMfE0.js → journeyDiagram-VCZTEJTY-Bk7z4VA2.js} +4 -4
- package/dist/{journeyDiagram-VCZTEJTY-B2Mj0NKu.cjs → journeyDiagram-VCZTEJTY-CZnSwt6p.cjs} +1 -1
- package/dist/{kanban-definition-6JOO6SKY-BH9sPBGO.js → kanban-definition-6JOO6SKY-BiN4nM1i.js} +22 -22
- package/dist/{kanban-definition-6JOO6SKY-BBqZKCyL.cjs → kanban-definition-6JOO6SKY-DZF8xgYV.cjs} +1 -1
- package/dist/{layout-Dxl_HlKH.js → layout-BDanDonD.js} +89 -89
- package/dist/{layout-BXXLjgVz.cjs → layout-rTQtAIwn.cjs} +1 -1
- package/dist/linear-CuHSYSeN.cjs +1 -0
- package/dist/{linear-CZplgftO.js → linear-DFB2dCGq.js} +26 -26
- package/dist/{mermaid-parser.core-DsLOyQb-.js → mermaid-parser.core-CCHvxUQl.js} +13 -13
- package/dist/{mermaid-parser.core-By3g6lf1.cjs → mermaid-parser.core-fjh_cn2l.cjs} +2 -2
- package/dist/{min-sstTPxgN.cjs → min-h6fs1hPk.cjs} +1 -1
- package/dist/{min-CqEuxX5S.js → min-rDRC9KDF.js} +8 -8
- package/dist/{mindmap-definition-QFDTVHPH-B3Oxj65X.cjs → mindmap-definition-QFDTVHPH-BbUJ3LHd.cjs} +1 -1
- package/dist/{mindmap-definition-QFDTVHPH-BNYDl_JS.js → mindmap-definition-QFDTVHPH-CZMHHnKO.js} +11 -11
- package/dist/{packet-4T2RLAQJ-E5BuU-_N.cjs → packet-4T2RLAQJ-BRTuQgpj.cjs} +1 -1
- package/dist/{packet-4T2RLAQJ-Dz7awUWB.js → packet-4T2RLAQJ-Bl5gBk4Q.js} +1 -1
- package/dist/{pie-ZZUOXDRM-Dy70KTXz.cjs → pie-ZZUOXDRM-BbZyrtOg.cjs} +1 -1
- package/dist/pie-ZZUOXDRM-CpENjo0C.js +5 -0
- package/dist/{pieDiagram-DEJITSTG-N6CuTO5d.js → pieDiagram-DEJITSTG-BNTE6R98.js} +43 -42
- package/dist/pieDiagram-DEJITSTG-BpiMiYGL.cjs +30 -0
- package/dist/{quadrantDiagram-34T5L4WZ-BFmWaVMB.cjs → quadrantDiagram-34T5L4WZ-DODOOGae.cjs} +1 -1
- package/dist/{quadrantDiagram-34T5L4WZ-aciP1QIx.js → quadrantDiagram-34T5L4WZ-JjtOrhxB.js} +2 -2
- package/dist/radar-PYXPWWZC-BiAwm-jb.js +5 -0
- package/dist/{radar-PYXPWWZC-BF0Fb1TH.cjs → radar-PYXPWWZC-CSH1N71W.cjs} +1 -1
- package/dist/{requirementDiagram-MS252O5E-DkopqGtb.cjs → requirementDiagram-MS252O5E-CjMpy00l.cjs} +1 -1
- package/dist/{requirementDiagram-MS252O5E-BKe1ubad.js → requirementDiagram-MS252O5E-CwV2UGNb.js} +3 -3
- package/dist/{sankeyDiagram-XADWPNL6-DrZ6paqw.cjs → sankeyDiagram-XADWPNL6-BzayPzy0.cjs} +1 -1
- package/dist/{sankeyDiagram-XADWPNL6-CXWxDxz9.js → sankeyDiagram-XADWPNL6-rri4GWAM.js} +1 -1
- package/dist/{sequenceDiagram-FGHM5R23-DeT0Ej2-.js → sequenceDiagram-FGHM5R23-BwBriXF1.js} +3 -3
- package/dist/{sequenceDiagram-FGHM5R23-AgywoQ1Q.cjs → sequenceDiagram-FGHM5R23-D-YegsL-.cjs} +1 -1
- package/dist/services/workspace-service.js +3 -3
- package/dist/stateDiagram-FHFEXIEX-Cq2H2XQO.cjs +1 -0
- package/dist/{stateDiagram-FHFEXIEX-7A28ex_-.js → stateDiagram-FHFEXIEX-jfwjGp1O.js} +44 -43
- package/dist/{stateDiagram-v2-QKLJ7IA2-DKdmAkPd.js → stateDiagram-v2-QKLJ7IA2-Bw4Xgr7w.js} +2 -2
- package/dist/{stateDiagram-v2-QKLJ7IA2-COHQmika.cjs → stateDiagram-v2-QKLJ7IA2-DKL73VEs.cjs} +1 -1
- package/dist/{timeline-definition-GMOUNBTQ-a3VL8qvl.js → timeline-definition-GMOUNBTQ-CpABxKM5.js} +23 -23
- package/dist/{timeline-definition-GMOUNBTQ-CLIWGUDx.cjs → timeline-definition-GMOUNBTQ-DP1yCayj.cjs} +1 -1
- package/dist/{treeView-SZITEDCU-DhzhM13M.cjs → treeView-SZITEDCU-BizNBkAv.cjs} +1 -1
- package/dist/{treeView-SZITEDCU-BI7UKP6V.js → treeView-SZITEDCU-BtaLEQ3S.js} +1 -1
- package/dist/{treemap-W4RFUUIX-D27UX2aI.cjs → treemap-W4RFUUIX-Cbbx2tbB.cjs} +1 -1
- package/dist/{treemap-W4RFUUIX-DBHIrtnC.js → treemap-W4RFUUIX-CmVVUeZj.js} +1 -1
- package/dist/{vennDiagram-DHZGUBPP-BA4bv3TJ.js → vennDiagram-DHZGUBPP-C0edoxsg.js} +59 -59
- package/dist/{vennDiagram-DHZGUBPP-u9RE2cv7.cjs → vennDiagram-DHZGUBPP-Dv3ZX8SJ.cjs} +1 -1
- package/dist/{wardley-RL74JXVD-CAZiB4K3.cjs → wardley-RL74JXVD-BndLe7vL.cjs} +1 -1
- package/dist/{wardley-RL74JXVD-9hft70S_.js → wardley-RL74JXVD-DdQvN9q5.js} +1 -1
- package/dist/{wardleyDiagram-NUSXRM2D-DBsr2UYG.js → wardleyDiagram-NUSXRM2D-DCChf1Y2.js} +3 -3
- package/dist/{wardleyDiagram-NUSXRM2D-CKCVdEN3.cjs → wardleyDiagram-NUSXRM2D-DpluOG7a.cjs} +1 -1
- 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-BfkKtA74.cjs → xychartDiagram-5P7HB3ND-B7y6-7BP.cjs} +4 -4
- package/dist/{xychartDiagram-5P7HB3ND-CIeY2sBx.js → xychartDiagram-5P7HB3ND-BWvz1AY8.js} +8 -7
- package/package.json +11 -2
- package/dist/arc-2E-fJnok.js +0 -83
- package/dist/arc-Cah-EtVa.cjs +0 -1
- package/dist/blockDiagram-DXYQGD6D-CUmPhtkh.cjs +0 -132
- package/dist/change-list-item-CrZn84tY.cjs +0 -4535
- package/dist/change-list-item-DMLMmZ6U.js +0 -18744
- package/dist/channel-CMrLSZsY.js +0 -5
- package/dist/clone-Bqh1gJUP.cjs +0 -1
- package/dist/info-OMHHGYJF-D5oOa7Mo.js +0 -5
- package/dist/linear-DpB2Zi1A.cjs +0 -1
- package/dist/pie-ZZUOXDRM-DjXev5ml.js +0 -5
- package/dist/pieDiagram-DEJITSTG-HFspfzyv.cjs +0 -30
- package/dist/radar-PYXPWWZC-atHOjpus.js +0 -5
- package/dist/stateDiagram-FHFEXIEX-CKm2mS6U.cjs +0 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, nothing } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
import { repeat } from 'lit/directives/repeat.js';
|
|
10
|
+
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
11
|
+
import yamlViewerCss from './yaml-viewer.css.js';
|
|
12
|
+
let Pb33fYamlViewer = class Pb33fYamlViewer extends LitElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.spec = '';
|
|
16
|
+
this.highlighted = {};
|
|
17
|
+
this.firstLine = 1;
|
|
18
|
+
this.focusStart = 0;
|
|
19
|
+
this.focusEnd = 0;
|
|
20
|
+
this.language = 'yaml';
|
|
21
|
+
this.cachedSpec = '';
|
|
22
|
+
this.cachedLines = [];
|
|
23
|
+
}
|
|
24
|
+
scrollToLine(line) {
|
|
25
|
+
const row = this.renderRoot.querySelector(`[data-line="${line}"]`);
|
|
26
|
+
row?.scrollIntoView({ block: 'center', behavior: 'auto' });
|
|
27
|
+
}
|
|
28
|
+
emphasis(line) {
|
|
29
|
+
if (this.focusStart > 0 && line >= this.focusStart && line <= (this.focusEnd || this.focusStart)) {
|
|
30
|
+
return 'focus';
|
|
31
|
+
}
|
|
32
|
+
return '';
|
|
33
|
+
}
|
|
34
|
+
lines() {
|
|
35
|
+
if (this.spec !== this.cachedSpec) {
|
|
36
|
+
this.cachedSpec = this.spec;
|
|
37
|
+
this.cachedLines = this.spec.split('\n');
|
|
38
|
+
}
|
|
39
|
+
return this.cachedLines;
|
|
40
|
+
}
|
|
41
|
+
renderLine(line, idx) {
|
|
42
|
+
const lineNumber = this.firstLine + idx;
|
|
43
|
+
const highlightedContent = this.highlighted?.[lineNumber];
|
|
44
|
+
const emphasis = this.emphasis(lineNumber);
|
|
45
|
+
return html `
|
|
46
|
+
<div class="diff-line equal"
|
|
47
|
+
data-emphasis=${emphasis || nothing}
|
|
48
|
+
data-line=${lineNumber}
|
|
49
|
+
data-original-line=${lineNumber}>
|
|
50
|
+
<span class="line-gutter"></span>
|
|
51
|
+
<span class="line-number">${lineNumber}</span>
|
|
52
|
+
<span class="line-content">${highlightedContent ? unsafeHTML(highlightedContent) : line}</span>
|
|
53
|
+
</div>
|
|
54
|
+
`;
|
|
55
|
+
}
|
|
56
|
+
render() {
|
|
57
|
+
return html `
|
|
58
|
+
<div class="yaml-viewer" data-language=${this.language}>
|
|
59
|
+
${repeat(this.lines(), (_, idx) => this.firstLine + idx, (line, idx) => this.renderLine(line, idx))}
|
|
60
|
+
</div>
|
|
61
|
+
`;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
Pb33fYamlViewer.styles = yamlViewerCss;
|
|
65
|
+
__decorate([
|
|
66
|
+
property()
|
|
67
|
+
], Pb33fYamlViewer.prototype, "spec", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
property({ type: Object })
|
|
70
|
+
], Pb33fYamlViewer.prototype, "highlighted", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
property({ type: Number })
|
|
73
|
+
], Pb33fYamlViewer.prototype, "firstLine", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
property({ type: Number })
|
|
76
|
+
], Pb33fYamlViewer.prototype, "focusStart", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
property({ type: Number })
|
|
79
|
+
], Pb33fYamlViewer.prototype, "focusEnd", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
property()
|
|
82
|
+
], Pb33fYamlViewer.prototype, "language", void 0);
|
|
83
|
+
Pb33fYamlViewer = __decorate([
|
|
84
|
+
customElement('pb33f-yaml-viewer')
|
|
85
|
+
], Pb33fYamlViewer);
|
|
86
|
+
export { Pb33fYamlViewer };
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GenericDetailsDrawer } from '../components/details-drawer/generic-details-drawer.js';
|
|
2
2
|
import { Node } from '../model/graph.js';
|
|
3
3
|
import type { DiagramatronControllerDeps } from '../interfaces/doctor-interfaces.js';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
jsonPath: string;
|
|
7
|
-
nodeType?: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
}
|
|
4
|
+
import type { DiagramRequestedEvent } from '../events/doctor.js';
|
|
5
|
+
export type { DiagramRequestedEvent } from '../events/doctor.js';
|
|
10
6
|
export declare class DiagramatronController extends EventTarget {
|
|
11
7
|
private readonly deps;
|
|
12
8
|
private diagramService;
|
|
@@ -21,7 +21,7 @@ export class DiagramatronController extends EventTarget {
|
|
|
21
21
|
this.drawer = drawer;
|
|
22
22
|
}
|
|
23
23
|
async handleDiagramRequest(event) {
|
|
24
|
-
const { nodeId, jsonPath, title } = event.detail;
|
|
24
|
+
const { nodeId, jsonPath, title, onComplete } = event.detail;
|
|
25
25
|
if (this.isGenerating) {
|
|
26
26
|
this.deps.sendToast({
|
|
27
27
|
id: crypto.randomUUID(),
|
|
@@ -29,6 +29,7 @@ export class DiagramatronController extends EventTarget {
|
|
|
29
29
|
title: 'Diagram Generation In Progress',
|
|
30
30
|
body: 'Please wait for the current diagram to complete'
|
|
31
31
|
});
|
|
32
|
+
onComplete?.();
|
|
32
33
|
return;
|
|
33
34
|
}
|
|
34
35
|
if (!jsonPath) {
|
|
@@ -38,6 +39,7 @@ export class DiagramatronController extends EventTarget {
|
|
|
38
39
|
title: 'Invalid Request',
|
|
39
40
|
body: 'No JSON path provided for diagram generation'
|
|
40
41
|
});
|
|
42
|
+
onComplete?.();
|
|
41
43
|
return;
|
|
42
44
|
}
|
|
43
45
|
this.isGenerating = true;
|
|
@@ -93,6 +95,7 @@ export class DiagramatronController extends EventTarget {
|
|
|
93
95
|
finally {
|
|
94
96
|
this.isGenerating = false;
|
|
95
97
|
this.deps.activity.hide();
|
|
98
|
+
onComplete?.();
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
101
|
/**
|
|
@@ -4,6 +4,7 @@ export declare class ProblemController extends EventTarget {
|
|
|
4
4
|
private readonly deps;
|
|
5
5
|
constructor(deps: ProblemControllerDeps);
|
|
6
6
|
problemClicked(event: CustomEvent<ProblemClickedEvent>): void;
|
|
7
|
+
private resolveProblemClickTarget;
|
|
7
8
|
private ensureSpecTabActive;
|
|
8
9
|
private normalizeSourceLocation;
|
|
9
10
|
private navigateToRolodexNode;
|
|
@@ -6,28 +6,44 @@ export class ProblemController extends EventTarget {
|
|
|
6
6
|
this.deps = deps;
|
|
7
7
|
}
|
|
8
8
|
problemClicked(event) {
|
|
9
|
+
const target = this.resolveProblemClickTarget(event.detail);
|
|
9
10
|
if (this.deps.viewingHistoricalViolations) {
|
|
10
|
-
this.navigateInHistoricalDiff(
|
|
11
|
+
this.navigateInHistoricalDiff(target, event.detail.launchedFromProblems);
|
|
11
12
|
}
|
|
12
13
|
else {
|
|
13
14
|
this.ensureSpecTabActive();
|
|
14
|
-
const sourceLocation = this.normalizeSourceLocation(
|
|
15
|
+
const sourceLocation = this.normalizeSourceLocation(target.problem);
|
|
15
16
|
let node = null;
|
|
16
17
|
if (this.deps.rolodexRoot) {
|
|
17
18
|
node = SearchNodeTreeForPath(this.deps.rolodexRoot, sourceLocation, this.deps.modelController);
|
|
18
19
|
}
|
|
19
20
|
if (node) {
|
|
20
|
-
this.navigateToRolodexNode(node, sourceLocation,
|
|
21
|
+
this.navigateToRolodexNode(node, sourceLocation, target);
|
|
21
22
|
}
|
|
22
23
|
else if (this.isRolodexFilePath(sourceLocation)) {
|
|
23
|
-
this.navigateToRolodexFile(sourceLocation,
|
|
24
|
+
this.navigateToRolodexFile(sourceLocation, target);
|
|
24
25
|
}
|
|
25
26
|
else {
|
|
26
|
-
this.navigateInEditor(
|
|
27
|
+
this.navigateInEditor(target, event.detail.launchedFromProblems);
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
this.deps.genericDrawer.close();
|
|
30
31
|
}
|
|
32
|
+
resolveProblemClickTarget(event) {
|
|
33
|
+
if (event.problemItem) {
|
|
34
|
+
return {
|
|
35
|
+
problem: event.problem,
|
|
36
|
+
problemItem: event.problemItem,
|
|
37
|
+
line: event.problemItem.line,
|
|
38
|
+
column: event.problemItem.column
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
problem: event.problem,
|
|
43
|
+
line: event.problem.startLineNumber,
|
|
44
|
+
column: event.problem.startColumn
|
|
45
|
+
};
|
|
46
|
+
}
|
|
31
47
|
ensureSpecTabActive() {
|
|
32
48
|
if (this.deps.selectedEditorTab !== "spec") {
|
|
33
49
|
this.deps.editorPanel?.showTab("spec");
|
|
@@ -35,19 +51,19 @@ export class ProblemController extends EventTarget {
|
|
|
35
51
|
}
|
|
36
52
|
}
|
|
37
53
|
normalizeSourceLocation(problem) {
|
|
38
|
-
const sourceLocation = problem.
|
|
54
|
+
const sourceLocation = problem.sourceLocation;
|
|
39
55
|
if (!sourceLocation || sourceLocation === 'root') {
|
|
40
56
|
return this.deps.rolodexRootPath;
|
|
41
57
|
}
|
|
42
58
|
return sourceLocation;
|
|
43
59
|
}
|
|
44
|
-
navigateToRolodexNode(node, path,
|
|
60
|
+
navigateToRolodexNode(node, path, target) {
|
|
45
61
|
this.deps.nodeClickerController.rolodexTreeNodeClicked(new CustomEvent(RolodexTreeNodeClicked, {
|
|
46
62
|
detail: {
|
|
47
63
|
nodeHashId: node.idHash,
|
|
48
64
|
path: path,
|
|
49
|
-
line: problem.
|
|
50
|
-
column: problem.
|
|
65
|
+
line: target.problem.startLineNumber,
|
|
66
|
+
column: target.problem.startColumn
|
|
51
67
|
}
|
|
52
68
|
}));
|
|
53
69
|
this.deps.rolodexTree.openNodeByPath(path);
|
|
@@ -60,46 +76,46 @@ export class ProblemController extends EventTarget {
|
|
|
60
76
|
}
|
|
61
77
|
return /\.(ya?ml|json)(#.*)?$/i.test(sourceLocation);
|
|
62
78
|
}
|
|
63
|
-
navigateToRolodexFile(path,
|
|
79
|
+
navigateToRolodexFile(path, target) {
|
|
64
80
|
this.deps.nodeClickerController.rolodexTreeNodeClicked(new CustomEvent(RolodexTreeNodeClicked, {
|
|
65
81
|
detail: {
|
|
66
82
|
path: path,
|
|
67
|
-
line: problem.
|
|
68
|
-
column: problem.
|
|
83
|
+
line: target.problem.startLineNumber,
|
|
84
|
+
column: target.problem.startColumn
|
|
69
85
|
}
|
|
70
86
|
}));
|
|
71
87
|
this.deps.rolodexTree.openNodeByPath(path);
|
|
72
88
|
}
|
|
73
|
-
navigateInEditor(
|
|
89
|
+
navigateInEditor(target, launchedFromProblems) {
|
|
74
90
|
this.deps.sidebarPanel?.showTab(ActiveView.Problems);
|
|
75
91
|
const editor = this.deps.editor.editor;
|
|
76
|
-
if (editor &&
|
|
77
|
-
editor.revealLineInCenter(
|
|
92
|
+
if (editor && target.line !== undefined && target.column !== undefined) {
|
|
93
|
+
editor.revealLineInCenter(target.line);
|
|
78
94
|
editor.setPosition({
|
|
79
|
-
lineNumber:
|
|
80
|
-
column:
|
|
95
|
+
lineNumber: target.line,
|
|
96
|
+
column: target.column
|
|
81
97
|
});
|
|
82
98
|
}
|
|
83
99
|
if (!launchedFromProblems) {
|
|
84
|
-
this.deps.problemList.lineClicked(problem.
|
|
100
|
+
this.deps.problemList.lineClicked(target.problem.startLineNumber);
|
|
85
101
|
}
|
|
86
102
|
}
|
|
87
|
-
navigateInHistoricalDiff(
|
|
103
|
+
navigateInHistoricalDiff(target, launchedFromProblems) {
|
|
88
104
|
this.deps.selectTardis();
|
|
89
105
|
const tardisControl = this.deps.timeVortex?.tardisControl;
|
|
90
106
|
if (tardisControl) {
|
|
91
107
|
tardisControl.showDiffTab();
|
|
92
108
|
const diffEditor = tardisControl.diffEditor;
|
|
93
|
-
if (diffEditor &&
|
|
94
|
-
diffEditor.revealLineInCenterOriginal(
|
|
109
|
+
if (diffEditor && target.line !== undefined && target.column !== undefined) {
|
|
110
|
+
diffEditor.revealLineInCenterOriginal(target.line);
|
|
95
111
|
diffEditor.setPositionOriginal({
|
|
96
|
-
lineNumber:
|
|
97
|
-
column:
|
|
112
|
+
lineNumber: target.line,
|
|
113
|
+
column: target.column
|
|
98
114
|
});
|
|
99
115
|
}
|
|
100
116
|
}
|
|
101
117
|
if (!launchedFromProblems) {
|
|
102
|
-
this.deps.problemList.lineClicked(problem.
|
|
118
|
+
this.deps.problemList.lineClicked(target.problem.startLineNumber);
|
|
103
119
|
}
|
|
104
120
|
}
|
|
105
121
|
}
|