@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
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./cowboy-components-
|
|
1
|
+
"use strict";const n=require("./cowboy-components-CjgqXqkM.cjs"),r=(o,e)=>n.Utils.lang.round(n.Color.parse(o)[e]);exports.channel=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./cowboy-components-
|
|
1
|
+
"use strict";const i=require("./cowboy-components-CjgqXqkM.cjs");function o(e,c){e.accDescr&&c.setAccDescription?.(e.accDescr),e.accTitle&&c.setAccTitle?.(e.accTitle),e.title&&c.setDiagramTitle?.(e.title)}i.__name(o,"populateCommonDb");exports.populateCommonDb=o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as i } from "./cowboy-components-
|
|
1
|
+
import { _ as i } from "./cowboy-components-CxawaKWM.js";
|
|
2
2
|
function t(c, e) {
|
|
3
3
|
c.accDescr && e.setAccDescription?.(c.accDescr), c.accTitle && e.setAccTitle?.(c.accTitle), c.title && e.setDiagramTitle?.(c.title);
|
|
4
4
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as et } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { c as tt } from "./chunk-YZCP3GAM
|
|
3
|
-
import { g as st } from "./chunk-55IACEB6-
|
|
4
|
-
import { s as it } from "./chunk-EDXVE4YY-
|
|
5
|
-
import { _ as A, l as Oe, c as F, o as at, r as rt, u as we, d as pe, y as nt, b as ut, a as lt, s as ot, g as ct, p as ht, q as dt, k as v, z as pt, x as At, i as ft, Q as G } from "./cowboy-components-
|
|
1
|
+
import { g as et } from "./chunk-FMBD7UC4-CtyzUnzx.js";
|
|
2
|
+
import { c as tt } from "./chunk-YZCP3GAM--UtgfYoK.js";
|
|
3
|
+
import { g as st } from "./chunk-55IACEB6-BauZDeFH.js";
|
|
4
|
+
import { s as it } from "./chunk-EDXVE4YY-DPpXfrr8.js";
|
|
5
|
+
import { _ as A, l as Oe, c as F, o as at, r as rt, u as we, d as pe, y as nt, b as ut, a as lt, s as ot, g as ct, p as ht, q as dt, k as v, z as pt, x as At, i as ft, Q as G } from "./cowboy-components-CxawaKWM.js";
|
|
6
6
|
var Ve = (function() {
|
|
7
7
|
var s = /* @__PURE__ */ A(function(I, o, c, p) {
|
|
8
8
|
for (c = c || {}, p = I.length; p--; c[I[p]] = o) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Xe=require("./chunk-FMBD7UC4-Bt5qtKsR.cjs"),je=require("./chunk-YZCP3GAM-DJNk9cax.cjs"),He=require("./chunk-55IACEB6-DX9DtTQS.cjs"),Je=require("./chunk-EDXVE4YY-nccXma-D.cjs"),r=require("./cowboy-components-DlcOqYuh.cjs");var Le=(function(){var s=r.__name(function(x,c,h,A){for(h=h||{},A=x.length;A--;h[x[A]]=c);return h},"o"),i=[1,18],a=[1,19],l=[1,20],o=[1,41],n=[1,26],d=[1,42],f=[1,24],E=[1,25],_=[1,32],v=[1,33],he=[1,34],m=[1,45],de=[1,35],pe=[1,36],Ae=[1,37],fe=[1,38],ge=[1,27],me=[1,28],Ce=[1,29],be=[1,30],ke=[1,31],C=[1,44],b=[1,46],k=[1,43],y=[1,47],Ee=[1,9],p=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],_e=[1,63],ye=[1,64],S=[1,8,9,41],xe=[1,77],M=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],ve=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,102],U=[1,120],z=[1,116],Y=[1,112],K=[1,118],W=[1,113],q=[1,114],Q=[1,115],X=[1,117],j=[1,119],Ie=[22,50,60,61,82,86,87,88,89,90],Te=[1,8,9,39,41,44,46],ne=[1,8,9,22],Oe=[1,150],we=[1,8,9,61],N=[1,8,9,22,50,60,61,82,86,87,88,89,90],De={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(c,h,A,u,g,e,H){var t=e.length-1;switch(g){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:u.addRelation(e[t]);break;case 20:e[t-1].title=u.cleanupLabel(e[t]),u.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),u.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),u.setAccDescription(this.$);break;case 34:u.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]);break;case 35:u.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]);break;case 36:this.$=e[t],u.addNamespace(e[t]);break;case 37:this.$=[[e[t]],[]];break;case 38:this.$=[[e[t-1]],[]];break;case 39:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 40:this.$=[[],[e[t]]];break;case 41:this.$=[[],[e[t-1]]];break;case 42:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:u.setCssClass(e[t-2],e[t]);break;case 45:u.addMembers(e[t-3],e[t-1]);break;case 47:u.setCssClass(e[t-5],e[t-3]),u.addMembers(e[t-5],e[t-1]);break;case 48:u.addAnnotation(e[t-3],e[t-1]);break;case 49:u.addAnnotation(e[t-6],e[t-4]),u.addMembers(e[t-6],e[t-1]);break;case 50:u.addAnnotation(e[t-5],e[t-3]);break;case 51:this.$=e[t],u.addClass(e[t]);break;case 52:this.$=e[t-1],u.addClass(e[t-1]),u.setClassLabel(e[t-1],e[t]);break;case 56:u.addAnnotation(e[t],e[t-2]);break;case 57:case 70:this.$=[e[t]];break;case 58:e[t].push(e[t-1]),this.$=e[t];break;case 59:break;case 60:u.addMember(e[t-1],u.cleanupLabel(e[t]));break;case 61:break;case 62:break;case 63:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 64:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 65:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 66:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 67:this.$=u.addNote(e[t],e[t-1]);break;case 68:this.$=u.addNote(e[t]);break;case 69:this.$=e[t-2],u.defineClass(e[t-1],e[t]);break;case 71:this.$=e[t-2].concat([e[t]]);break;case 72:u.setDirection("TB");break;case 73:u.setDirection("BT");break;case 74:u.setDirection("RL");break;case 75:u.setDirection("LR");break;case 76:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 77:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 78:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 79:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 80:this.$=u.relationType.AGGREGATION;break;case 81:this.$=u.relationType.EXTENSION;break;case 82:this.$=u.relationType.COMPOSITION;break;case 83:this.$=u.relationType.DEPENDENCY;break;case 84:this.$=u.relationType.LOLLIPOP;break;case 85:this.$=u.lineType.LINE;break;case 86:this.$=u.lineType.DOTTED_LINE;break;case 87:case 93:this.$=e[t-2],u.setClickEvent(e[t-1],e[t]);break;case 88:case 94:this.$=e[t-3],u.setClickEvent(e[t-2],e[t-1]),u.setTooltip(e[t-2],e[t]);break;case 89:this.$=e[t-2],u.setLink(e[t-1],e[t]);break;case 90:this.$=e[t-3],u.setLink(e[t-2],e[t-1],e[t]);break;case 91:this.$=e[t-3],u.setLink(e[t-2],e[t-1]),u.setTooltip(e[t-2],e[t]);break;case 92:this.$=e[t-4],u.setLink(e[t-3],e[t-2],e[t]),u.setTooltip(e[t-3],e[t-1]);break;case 95:this.$=e[t-3],u.setClickEvent(e[t-2],e[t-1],e[t]);break;case 96:this.$=e[t-4],u.setClickEvent(e[t-3],e[t-2],e[t-1]),u.setTooltip(e[t-3],e[t]);break;case 97:this.$=e[t-3],u.setLink(e[t-2],e[t]);break;case 98:this.$=e[t-4],u.setLink(e[t-3],e[t-1],e[t]);break;case 99:this.$=e[t-4],u.setLink(e[t-3],e[t-1]),u.setTooltip(e[t-3],e[t]);break;case 100:this.$=e[t-5],u.setLink(e[t-4],e[t-2],e[t]),u.setTooltip(e[t-4],e[t-1]);break;case 101:this.$=e[t-2],u.setCssStyle(e[t-1],e[t]);break;case 102:u.setCssClass(e[t-1],e[t]);break;case 103:this.$=[e[t]];break;case 104:e[t-2].push(e[t]),this.$=e[t-2];break;case 106:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Ee,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,59],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:_e,74:ye}),{39:[1,65]},s(S,[2,43],{39:[1,67],44:[1,66],46:[1,68]}),s(p,[2,61]),s(p,[2,62]),{16:69,60:m,86:C,100:b,102:k},{16:39,17:40,19:70,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:71,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:72,60:m,86:C,100:b,102:k,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:m,86:C,100:b,102:k,103:y},{13:xe,55:76},{58:78,60:[1,79]},s(p,[2,72]),s(p,[2,73]),s(p,[2,74]),s(p,[2,75]),s(M,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:m,86:C,100:b,102:k,103:y}),s(M,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:87,60:m,86:C,100:b,102:k,103:y},s(se,[2,129]),s(se,[2,130]),s(se,[2,131]),s(se,[2,132]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,133]),s(Ee,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:l,42:o,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,91],16:39,17:40,19:90,60:m,86:C,100:b,102:k,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:_e,74:ye},s(p,[2,60]),{67:93,73:_e,74:ye},s(ie,[2,79],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,80]),s(G,[2,81]),s(G,[2,82]),s(G,[2,83]),s(G,[2,84]),s(ve,[2,85]),s(ve,[2,86]),{8:[1,96],24:97,30:98,40:95,43:23,48:d,54:_,56:v},{16:99,60:m,86:C,100:b,102:k},{41:[1,101],45:100,51:ae},{16:103,60:m,86:C,100:b,102:k},{47:[1,104]},{13:[1,105]},{13:[1,106]},{79:[1,107],81:[1,108]},{22:U,50:z,59:109,60:Y,82:K,84:110,85:111,86:W,87:q,88:Q,89:X,90:j},{60:[1,121]},{13:xe,55:122},s(S,[2,68]),s(S,[2,134]),{22:U,50:z,59:123,60:Y,61:[1,124],82:K,84:110,85:111,86:W,87:q,88:Q,89:X,90:j},s(Ie,[2,70]),{16:39,17:40,19:125,60:m,86:C,100:b,102:k,103:y},s(M,[2,16]),s(M,[2,17]),s(M,[2,18]),{39:[2,36]},{15:127,16:85,17:86,18:[1,126],39:[2,9],60:m,86:C,100:b,102:k,103:y},{39:[2,10]},s(Te,[2,51],{11:128,12:[1,129]}),s(Ee,[2,7]),{9:[1,130]},s(ne,[2,63]),{16:39,17:40,19:131,60:m,86:C,100:b,102:k,103:y},{13:[1,133],16:39,17:40,19:132,60:m,86:C,100:b,102:k,103:y},s(ie,[2,78],{66:134,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,77]),{41:[1,135]},{24:97,30:98,40:136,43:23,48:d,54:_,56:v},{8:[1,137],41:[2,37]},{8:[1,138],41:[2,40]},s(S,[2,44],{39:[1,139]}),{41:[1,140]},s(S,[2,46]),{41:[2,57],45:141,51:ae},{47:[1,142]},{16:39,17:40,19:143,60:m,86:C,100:b,102:k,103:y},s(p,[2,87],{13:[1,144]}),s(p,[2,89],{13:[1,146],77:[1,145]}),s(p,[2,93],{13:[1,147],80:[1,148]}),{13:[1,149]},s(p,[2,101],{61:Oe}),s(we,[2,103],{85:151,22:U,50:z,60:Y,82:K,86:W,87:q,88:Q,89:X,90:j}),s(N,[2,105]),s(N,[2,107]),s(N,[2,108]),s(N,[2,109]),s(N,[2,110]),s(N,[2,111]),s(N,[2,112]),s(N,[2,113]),s(N,[2,114]),s(N,[2,115]),s(p,[2,102]),s(S,[2,67]),s(p,[2,69],{61:Oe}),{60:[1,152]},s(M,[2,14]),{15:153,16:85,17:86,60:m,86:C,100:b,102:k,103:y},{39:[2,12]},s(Te,[2,52]),{13:[1,154]},{1:[2,4]},s(ne,[2,65]),s(ne,[2,64]),{16:39,17:40,19:155,60:m,86:C,100:b,102:k,103:y},s(ie,[2,76]),s(p,[2,34]),{41:[1,156]},{24:97,30:98,40:157,41:[2,38],43:23,48:d,54:_,56:v},{24:97,30:98,40:158,41:[2,41],43:23,48:d,54:_,56:v},{45:159,51:ae},s(S,[2,45]),{41:[2,58]},s(S,[2,48],{39:[1,160]}),s(p,[2,56]),s(p,[2,88]),s(p,[2,90]),s(p,[2,91],{77:[1,161]}),s(p,[2,94]),s(p,[2,95],{13:[1,162]}),s(p,[2,97],{13:[1,164],77:[1,163]}),{22:U,50:z,60:Y,82:K,84:165,85:111,86:W,87:q,88:Q,89:X,90:j},s(N,[2,106]),s(Ie,[2,71]),{39:[2,11]},{14:[1,166]},s(ne,[2,66]),s(p,[2,35]),{41:[2,39]},{41:[2,42]},{41:[1,167]},{41:[1,169],45:168,51:ae},s(p,[2,92]),s(p,[2,96]),s(p,[2,98]),s(p,[2,99],{77:[1,170]}),s(we,[2,104],{85:151,22:U,50:z,60:Y,82:K,86:W,87:q,88:Q,89:X,90:j}),s(Te,[2,8]),s(S,[2,47]),{41:[1,171]},s(S,[2,50]),s(p,[2,100]),s(S,[2,49])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],84:[2,36],86:[2,10],127:[2,12],130:[2,4],141:[2,58],153:[2,11],157:[2,39],158:[2,42]},parseError:r.__name(function(c,h){if(h.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=h,A}},"parseError"),parse:r.__name(function(c){var h=this,A=[0],u=[],g=[null],e=[],H=this.table,t="",ue=0,Me=0,Ke=2,Ve=1,We=e.slice.call(arguments,1),T=Object.create(this.lexer),I={yy:{}};for(var Fe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Fe)&&(I.yy[Fe]=this.yy[Fe]);T.setInput(c,I.yy),I.yy.lexer=T,I.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var Be=T.yylloc;e.push(Be);var qe=T.options&&T.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Qe(F){A.length=A.length-2*F,g.length=g.length-F,e.length=e.length-F}r.__name(Qe,"popStack");function Pe(){var F;return F=u.pop()||T.lex()||Ve,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=h.symbols_[F]||F),F}r.__name(Pe,"lex");for(var D,O,B,Se,V={},le,L,Re,oe;;){if(O=A[A.length-1],this.defaultActions[O]?B=this.defaultActions[O]:((D===null||typeof D>"u")&&(D=Pe()),B=H[O]&&H[O][D]),typeof B>"u"||!B.length||!B[0]){var Ne="";oe=[];for(le in H[O])this.terminals_[le]&&le>Ke&&oe.push("'"+this.terminals_[le]+"'");T.showPosition?Ne="Parse error on line "+(ue+1)+`:
|
|
1
|
+
"use strict";const Xe=require("./chunk-FMBD7UC4-0x38b8wg.cjs"),je=require("./chunk-YZCP3GAM-B_2rYHHe.cjs"),He=require("./chunk-55IACEB6-CRJ5yCrP.cjs"),Je=require("./chunk-EDXVE4YY-BrlRuHp3.cjs"),r=require("./cowboy-components-CjgqXqkM.cjs");var Le=(function(){var s=r.__name(function(x,c,h,A){for(h=h||{},A=x.length;A--;h[x[A]]=c);return h},"o"),i=[1,18],a=[1,19],l=[1,20],o=[1,41],n=[1,26],d=[1,42],f=[1,24],E=[1,25],_=[1,32],v=[1,33],he=[1,34],m=[1,45],de=[1,35],pe=[1,36],Ae=[1,37],fe=[1,38],ge=[1,27],me=[1,28],Ce=[1,29],be=[1,30],ke=[1,31],C=[1,44],b=[1,46],k=[1,43],y=[1,47],Ee=[1,9],p=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],_e=[1,63],ye=[1,64],S=[1,8,9,41],xe=[1,77],M=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],ve=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,102],U=[1,120],z=[1,116],Y=[1,112],K=[1,118],W=[1,113],q=[1,114],Q=[1,115],X=[1,117],j=[1,119],Ie=[22,50,60,61,82,86,87,88,89,90],Te=[1,8,9,39,41,44,46],ne=[1,8,9,22],Oe=[1,150],we=[1,8,9,61],N=[1,8,9,22,50,60,61,82,86,87,88,89,90],De={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(c,h,A,u,g,e,H){var t=e.length-1;switch(g){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:u.addRelation(e[t]);break;case 20:e[t-1].title=u.cleanupLabel(e[t]),u.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),u.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),u.setAccDescription(this.$);break;case 34:u.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]);break;case 35:u.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]);break;case 36:this.$=e[t],u.addNamespace(e[t]);break;case 37:this.$=[[e[t]],[]];break;case 38:this.$=[[e[t-1]],[]];break;case 39:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 40:this.$=[[],[e[t]]];break;case 41:this.$=[[],[e[t-1]]];break;case 42:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:u.setCssClass(e[t-2],e[t]);break;case 45:u.addMembers(e[t-3],e[t-1]);break;case 47:u.setCssClass(e[t-5],e[t-3]),u.addMembers(e[t-5],e[t-1]);break;case 48:u.addAnnotation(e[t-3],e[t-1]);break;case 49:u.addAnnotation(e[t-6],e[t-4]),u.addMembers(e[t-6],e[t-1]);break;case 50:u.addAnnotation(e[t-5],e[t-3]);break;case 51:this.$=e[t],u.addClass(e[t]);break;case 52:this.$=e[t-1],u.addClass(e[t-1]),u.setClassLabel(e[t-1],e[t]);break;case 56:u.addAnnotation(e[t],e[t-2]);break;case 57:case 70:this.$=[e[t]];break;case 58:e[t].push(e[t-1]),this.$=e[t];break;case 59:break;case 60:u.addMember(e[t-1],u.cleanupLabel(e[t]));break;case 61:break;case 62:break;case 63:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 64:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 65:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 66:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 67:this.$=u.addNote(e[t],e[t-1]);break;case 68:this.$=u.addNote(e[t]);break;case 69:this.$=e[t-2],u.defineClass(e[t-1],e[t]);break;case 71:this.$=e[t-2].concat([e[t]]);break;case 72:u.setDirection("TB");break;case 73:u.setDirection("BT");break;case 74:u.setDirection("RL");break;case 75:u.setDirection("LR");break;case 76:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 77:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 78:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 79:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 80:this.$=u.relationType.AGGREGATION;break;case 81:this.$=u.relationType.EXTENSION;break;case 82:this.$=u.relationType.COMPOSITION;break;case 83:this.$=u.relationType.DEPENDENCY;break;case 84:this.$=u.relationType.LOLLIPOP;break;case 85:this.$=u.lineType.LINE;break;case 86:this.$=u.lineType.DOTTED_LINE;break;case 87:case 93:this.$=e[t-2],u.setClickEvent(e[t-1],e[t]);break;case 88:case 94:this.$=e[t-3],u.setClickEvent(e[t-2],e[t-1]),u.setTooltip(e[t-2],e[t]);break;case 89:this.$=e[t-2],u.setLink(e[t-1],e[t]);break;case 90:this.$=e[t-3],u.setLink(e[t-2],e[t-1],e[t]);break;case 91:this.$=e[t-3],u.setLink(e[t-2],e[t-1]),u.setTooltip(e[t-2],e[t]);break;case 92:this.$=e[t-4],u.setLink(e[t-3],e[t-2],e[t]),u.setTooltip(e[t-3],e[t-1]);break;case 95:this.$=e[t-3],u.setClickEvent(e[t-2],e[t-1],e[t]);break;case 96:this.$=e[t-4],u.setClickEvent(e[t-3],e[t-2],e[t-1]),u.setTooltip(e[t-3],e[t]);break;case 97:this.$=e[t-3],u.setLink(e[t-2],e[t]);break;case 98:this.$=e[t-4],u.setLink(e[t-3],e[t-1],e[t]);break;case 99:this.$=e[t-4],u.setLink(e[t-3],e[t-1]),u.setTooltip(e[t-3],e[t]);break;case 100:this.$=e[t-5],u.setLink(e[t-4],e[t-2],e[t]),u.setTooltip(e[t-4],e[t-1]);break;case 101:this.$=e[t-2],u.setCssStyle(e[t-1],e[t]);break;case 102:u.setCssClass(e[t-1],e[t]);break;case 103:this.$=[e[t]];break;case 104:e[t-2].push(e[t]),this.$=e[t-2];break;case 106:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Ee,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,59],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:_e,74:ye}),{39:[1,65]},s(S,[2,43],{39:[1,67],44:[1,66],46:[1,68]}),s(p,[2,61]),s(p,[2,62]),{16:69,60:m,86:C,100:b,102:k},{16:39,17:40,19:70,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:71,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:72,60:m,86:C,100:b,102:k,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:m,86:C,100:b,102:k,103:y},{13:xe,55:76},{58:78,60:[1,79]},s(p,[2,72]),s(p,[2,73]),s(p,[2,74]),s(p,[2,75]),s(M,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:m,86:C,100:b,102:k,103:y}),s(M,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:m,86:C,100:b,102:k,103:y},{16:39,17:40,19:87,60:m,86:C,100:b,102:k,103:y},s(se,[2,129]),s(se,[2,130]),s(se,[2,131]),s(se,[2,132]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,133]),s(Ee,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:l,42:o,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:n,48:d,51:f,52:E,54:_,56:v,57:he,60:m,62:de,63:pe,64:Ae,65:fe,75:ge,76:me,78:Ce,82:be,83:ke,86:C,100:b,102:k,103:y},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,91],16:39,17:40,19:90,60:m,86:C,100:b,102:k,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:_e,74:ye},s(p,[2,60]),{67:93,73:_e,74:ye},s(ie,[2,79],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,80]),s(G,[2,81]),s(G,[2,82]),s(G,[2,83]),s(G,[2,84]),s(ve,[2,85]),s(ve,[2,86]),{8:[1,96],24:97,30:98,40:95,43:23,48:d,54:_,56:v},{16:99,60:m,86:C,100:b,102:k},{41:[1,101],45:100,51:ae},{16:103,60:m,86:C,100:b,102:k},{47:[1,104]},{13:[1,105]},{13:[1,106]},{79:[1,107],81:[1,108]},{22:U,50:z,59:109,60:Y,82:K,84:110,85:111,86:W,87:q,88:Q,89:X,90:j},{60:[1,121]},{13:xe,55:122},s(S,[2,68]),s(S,[2,134]),{22:U,50:z,59:123,60:Y,61:[1,124],82:K,84:110,85:111,86:W,87:q,88:Q,89:X,90:j},s(Ie,[2,70]),{16:39,17:40,19:125,60:m,86:C,100:b,102:k,103:y},s(M,[2,16]),s(M,[2,17]),s(M,[2,18]),{39:[2,36]},{15:127,16:85,17:86,18:[1,126],39:[2,9],60:m,86:C,100:b,102:k,103:y},{39:[2,10]},s(Te,[2,51],{11:128,12:[1,129]}),s(Ee,[2,7]),{9:[1,130]},s(ne,[2,63]),{16:39,17:40,19:131,60:m,86:C,100:b,102:k,103:y},{13:[1,133],16:39,17:40,19:132,60:m,86:C,100:b,102:k,103:y},s(ie,[2,78],{66:134,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,77]),{41:[1,135]},{24:97,30:98,40:136,43:23,48:d,54:_,56:v},{8:[1,137],41:[2,37]},{8:[1,138],41:[2,40]},s(S,[2,44],{39:[1,139]}),{41:[1,140]},s(S,[2,46]),{41:[2,57],45:141,51:ae},{47:[1,142]},{16:39,17:40,19:143,60:m,86:C,100:b,102:k,103:y},s(p,[2,87],{13:[1,144]}),s(p,[2,89],{13:[1,146],77:[1,145]}),s(p,[2,93],{13:[1,147],80:[1,148]}),{13:[1,149]},s(p,[2,101],{61:Oe}),s(we,[2,103],{85:151,22:U,50:z,60:Y,82:K,86:W,87:q,88:Q,89:X,90:j}),s(N,[2,105]),s(N,[2,107]),s(N,[2,108]),s(N,[2,109]),s(N,[2,110]),s(N,[2,111]),s(N,[2,112]),s(N,[2,113]),s(N,[2,114]),s(N,[2,115]),s(p,[2,102]),s(S,[2,67]),s(p,[2,69],{61:Oe}),{60:[1,152]},s(M,[2,14]),{15:153,16:85,17:86,60:m,86:C,100:b,102:k,103:y},{39:[2,12]},s(Te,[2,52]),{13:[1,154]},{1:[2,4]},s(ne,[2,65]),s(ne,[2,64]),{16:39,17:40,19:155,60:m,86:C,100:b,102:k,103:y},s(ie,[2,76]),s(p,[2,34]),{41:[1,156]},{24:97,30:98,40:157,41:[2,38],43:23,48:d,54:_,56:v},{24:97,30:98,40:158,41:[2,41],43:23,48:d,54:_,56:v},{45:159,51:ae},s(S,[2,45]),{41:[2,58]},s(S,[2,48],{39:[1,160]}),s(p,[2,56]),s(p,[2,88]),s(p,[2,90]),s(p,[2,91],{77:[1,161]}),s(p,[2,94]),s(p,[2,95],{13:[1,162]}),s(p,[2,97],{13:[1,164],77:[1,163]}),{22:U,50:z,60:Y,82:K,84:165,85:111,86:W,87:q,88:Q,89:X,90:j},s(N,[2,106]),s(Ie,[2,71]),{39:[2,11]},{14:[1,166]},s(ne,[2,66]),s(p,[2,35]),{41:[2,39]},{41:[2,42]},{41:[1,167]},{41:[1,169],45:168,51:ae},s(p,[2,92]),s(p,[2,96]),s(p,[2,98]),s(p,[2,99],{77:[1,170]}),s(we,[2,104],{85:151,22:U,50:z,60:Y,82:K,86:W,87:q,88:Q,89:X,90:j}),s(Te,[2,8]),s(S,[2,47]),{41:[1,171]},s(S,[2,50]),s(p,[2,100]),s(S,[2,49])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],84:[2,36],86:[2,10],127:[2,12],130:[2,4],141:[2,58],153:[2,11],157:[2,39],158:[2,42]},parseError:r.__name(function(c,h){if(h.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=h,A}},"parseError"),parse:r.__name(function(c){var h=this,A=[0],u=[],g=[null],e=[],H=this.table,t="",ue=0,Me=0,Ke=2,Ve=1,We=e.slice.call(arguments,1),T=Object.create(this.lexer),I={yy:{}};for(var Fe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Fe)&&(I.yy[Fe]=this.yy[Fe]);T.setInput(c,I.yy),I.yy.lexer=T,I.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var Be=T.yylloc;e.push(Be);var qe=T.options&&T.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Qe(F){A.length=A.length-2*F,g.length=g.length-F,e.length=e.length-F}r.__name(Qe,"popStack");function Pe(){var F;return F=u.pop()||T.lex()||Ve,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=h.symbols_[F]||F),F}r.__name(Pe,"lex");for(var D,O,B,Se,V={},le,L,Re,oe;;){if(O=A[A.length-1],this.defaultActions[O]?B=this.defaultActions[O]:((D===null||typeof D>"u")&&(D=Pe()),B=H[O]&&H[O][D]),typeof B>"u"||!B.length||!B[0]){var Ne="";oe=[];for(le in H[O])this.terminals_[le]&&le>Ke&&oe.push("'"+this.terminals_[le]+"'");T.showPosition?Ne="Parse error on line "+(ue+1)+`:
|
|
2
2
|
`+T.showPosition()+`
|
|
3
3
|
Expecting `+oe.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Ne="Parse error on line "+(ue+1)+": Unexpected "+(D==Ve?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Ne,{text:T.match,token:this.terminals_[D]||D,line:T.yylineno,loc:Be,expected:oe})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+D);switch(B[0]){case 1:A.push(D),g.push(T.yytext),e.push(T.yylloc),A.push(B[1]),D=null,Me=T.yyleng,t=T.yytext,ue=T.yylineno,Be=T.yylloc;break;case 2:if(L=this.productions_[B[1]][1],V.$=g[g.length-L],V._$={first_line:e[e.length-(L||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(L||1)].first_column,last_column:e[e.length-1].last_column},qe&&(V._$.range=[e[e.length-(L||1)].range[0],e[e.length-1].range[1]]),Se=this.performAction.apply(V,[t,Me,ue,I.yy,B[1],g,e].concat(We)),typeof Se<"u")return Se;L&&(A=A.slice(0,-1*L*2),g=g.slice(0,-1*L),e=e.slice(0,-1*L)),A.push(this.productions_[B[1]][0]),g.push(V.$),e.push(V._$),Re=H[A[A.length-2]][A[A.length-1]],A.push(Re);break;case 3:return!0}}return!0},"parse")},Ye=(function(){var x={EOF:1,parseError:r.__name(function(h,A){if(this.yy.parser)this.yy.parser.parseError(h,A);else throw new Error(h)},"parseError"),setInput:r.__name(function(c,h){return this.yy=h||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r.__name(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var h=c.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:r.__name(function(c){var h=c.length,A=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var g=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===u.length?this.yylloc.first_column:0)+u[u.length-A.length].length-A[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r.__name(function(c){this.unput(this.match.slice(c))},"less"),pastInput:r.__name(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var c=this.pastInput(),h=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, d as o } from "./cowboy-components-
|
|
1
|
+
import { _ as a, d as o } from "./cowboy-components-CxawaKWM.js";
|
|
2
2
|
var d = /* @__PURE__ */ a((t, e) => {
|
|
3
3
|
let n;
|
|
4
4
|
return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./cowboy-components-
|
|
1
|
+
"use strict";const e=require("./cowboy-components-CjgqXqkM.cjs");var s=e.__name((t,o)=>{let n;return o==="sandbox"&&(n=e.select("#i"+t)),(o==="sandbox"?e.select(n.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./cowboy-components-
|
|
1
|
+
"use strict";const r=require("./cowboy-components-CjgqXqkM.cjs");var w=r.__name((e,t,i,n)=>{e.attr("class",i);const{width:o,height:c,x:a,y:s}=u(e,t);r.configureSvgSize(e,c,o,n);const h=x(a,s,o,c,t);e.attr("viewBox",h),r.log.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),u=r.__name((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=r.__name((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");exports.setupViewPortForSVG=w;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, e as w, l as x } from "./cowboy-components-
|
|
1
|
+
import { _ as a, e as w, l as x } from "./cowboy-components-CxawaKWM.js";
|
|
2
2
|
var d = /* @__PURE__ */ a((e, t, i, r) => {
|
|
3
3
|
e.attr("class", i);
|
|
4
4
|
const { width: o, height: h, x: n, y: c } = u(e, t);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Jt=require("./chunk-55IACEB6-
|
|
1
|
+
"use strict";const Jt=require("./chunk-55IACEB6-CRJ5yCrP.cjs"),Qt=require("./chunk-EDXVE4YY-BrlRuHp3.cjs"),s=require("./cowboy-components-CjgqXqkM.cjs");var bt=(function(){var t=s.__name(function(P,l,h,o){for(h=h||{},o=P.length;o--;h[P[o]]=l);return h},"o"),e=[1,2],i=[1,3],n=[1,4],a=[2,4],d=[1,9],f=[1,11],S=[1,16],p=[1,17],y=[1,18],m=[1,19],E=[1,33],A=[1,20],k=[1,21],u=[1,22],x=[1,23],D=[1,24],O=[1,26],L=[1,27],w=[1,28],I=[1,29],z=[1,30],tt=[1,31],et=[1,32],st=[1,35],it=[1,36],rt=[1,37],at=[1,38],M=[1,34],_=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],nt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],pt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:s.__name(function(l,h,o,g,T,r,K){var c=r.length-1;switch(T){case 3:return g.setRootDoc(r[c]),r[c];case 4:this.$=[];break;case 5:r[c]!="nl"&&(r[c-1].push(r[c]),this.$=r[c-1]);break;case 6:case 7:this.$=r[c];break;case 8:this.$="nl";break;case 12:this.$=r[c];break;case 13:const X=r[c-1];X.description=g.trimColon(r[c]),this.$=X;break;case 14:this.$={stmt:"relation",state1:r[c-2],state2:r[c]};break;case 15:const St=g.trimColon(r[c]);this.$={stmt:"relation",state1:r[c-3],state2:r[c-1],description:St};break;case 19:this.$={stmt:"state",id:r[c-3],type:"default",description:"",doc:r[c-1]};break;case 20:var F=r[c],U=r[c-2].trim();if(r[c].match(":")){var lt=r[c].split(":");F=lt[0],U=[U,lt[1]]}this.$={stmt:"state",id:F,type:"default",description:U};break;case 21:this.$={stmt:"state",id:r[c-3],type:"default",description:r[c-5],doc:r[c-1]};break;case 22:this.$={stmt:"state",id:r[c],type:"fork"};break;case 23:this.$={stmt:"state",id:r[c],type:"join"};break;case 24:this.$={stmt:"state",id:r[c],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[c-1].trim(),note:{position:r[c-2].trim(),text:r[c].trim()}};break;case 29:this.$=r[c].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=r[c].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[c-3],url:r[c-2],tooltip:r[c-1]};break;case 33:this.$={stmt:"click",id:r[c-3],url:r[c-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[c-1].trim(),classes:r[c].trim()};break;case 36:this.$={stmt:"style",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 37:this.$={stmt:"applyClass",id:r[c-1].trim(),styleClass:r[c].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:r[c-2].trim(),classes:[r[c].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:i,6:n},{1:[3]},{3:5,4:e,5:i,6:n},{3:6,4:e,5:i,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,7]),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(_,[2,11]),t(_,[2,12],{14:[1,40],15:[1,41]}),t(_,[2,16]),{18:[1,42]},t(_,[2,18],{20:[1,43]}),{23:[1,44]},t(_,[2,22]),t(_,[2,23]),t(_,[2,24]),t(_,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(_,[2,28]),{34:[1,49]},{36:[1,50]},t(_,[2,31]),{13:51,24:E,57:M},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(nt,[2,44],{58:[1,56]}),t(nt,[2,45],{58:[1,57]}),t(_,[2,38]),t(_,[2,39]),t(_,[2,40]),t(_,[2,41]),t(_,[2,6]),t(_,[2,13]),{13:58,24:E,57:M},t(_,[2,17]),t(vt,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(_,[2,29]),t(_,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(_,[2,14],{14:[1,71]}),{4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,72],22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),t(nt,[2,46]),t(nt,[2,47]),t(_,[2,15]),t(_,[2,19]),t(vt,a,{7:78}),t(_,[2,26]),t(_,[2,27]),{5:[1,79]},{5:[1,80]},{4:d,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,81],22:m,24:E,25:A,26:k,27:u,28:x,29:D,32:25,33:O,35:L,37:w,38:I,41:z,45:tt,48:et,51:st,52:it,53:rt,54:at,57:M},t(_,[2,32]),t(_,[2,33]),t(_,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:s.__name(function(l,h){if(h.recoverable)this.trace(l);else{var o=new Error(l);throw o.hash=h,o}},"parseError"),parse:s.__name(function(l){var h=this,o=[0],g=[],T=[null],r=[],K=this.table,c="",F=0,U=0,lt=2,X=1,St=r.slice.call(arguments,1),b=Object.create(this.lexer),Y={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(Y.yy[_t]=this.yy[_t]);b.setInput(l,Y.yy),Y.yy.lexer=b,Y.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var gt=b.yylloc;r.push(gt);var Xt=b.options&&b.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qt(R){o.length=o.length-2*R,T.length=T.length-R,r.length=r.length-R}s.__name(qt,"popStack");function Ct(){var R;return R=g.pop()||b.lex()||X,typeof R!="number"&&(R instanceof Array&&(g=R,R=g.pop()),R=h.symbols_[R]||R),R}s.__name(Ct,"lex");for(var C,G,N,yt,W={},ct,$,At,ht;;){if(G=o[o.length-1],this.defaultActions[G]?N=this.defaultActions[G]:((C===null||typeof C>"u")&&(C=Ct()),N=K[G]&&K[G][C]),typeof N>"u"||!N.length||!N[0]){var mt="";ht=[];for(ct in K[G])this.terminals_[ct]&&ct>lt&&ht.push("'"+this.terminals_[ct]+"'");b.showPosition?mt="Parse error on line "+(F+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+ht.join(", ")+", got '"+(this.terminals_[C]||C)+"'":mt="Parse error on line "+(F+1)+": Unexpected "+(C==X?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(mt,{text:b.match,token:this.terminals_[C]||C,line:b.yylineno,loc:gt,expected:ht})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+C);switch(N[0]){case 1:o.push(C),T.push(b.yytext),r.push(b.yylloc),o.push(N[1]),C=null,U=b.yyleng,c=b.yytext,F=b.yylineno,gt=b.yylloc;break;case 2:if($=this.productions_[N[1]][1],W.$=T[T.length-$],W._$={first_line:r[r.length-($||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-($||1)].first_column,last_column:r[r.length-1].last_column},Xt&&(W._$.range=[r[r.length-($||1)].range[0],r[r.length-1].range[1]]),yt=this.performAction.apply(W,[c,U,F,Y.yy,N[1],T,r].concat(St)),typeof yt<"u")return yt;$&&(o=o.slice(0,-1*$*2),T=T.slice(0,-1*$),r=r.slice(0,-1*$)),o.push(this.productions_[N[1]][0]),T.push(W.$),r.push(W._$),At=K[o[o.length-2]][o[o.length-1]],o.push(At);break;case 3:return!0}}return!0},"parse")},Kt=(function(){var P={EOF:1,parseError:s.__name(function(h,o){if(this.yy.parser)this.yy.parser.parseError(h,o);else throw new Error(h)},"parseError"),setInput:s.__name(function(l,h){return this.yy=h||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var h=l.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:s.__name(function(l){var h=l.length,o=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===g.length?this.yylloc.first_column:0)+g[g.length-o.length].length-o[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:s.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s.__name(function(){var l=this.pastInput(),h=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { g as te } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as ee } from "./chunk-EDXVE4YY-
|
|
3
|
-
import { _ as f, l as b, c as w, r as se, u as ie, a as re, b as ae, g as ne, s as oe, p as le, q as ce,
|
|
1
|
+
import { g as te } from "./chunk-55IACEB6-BauZDeFH.js";
|
|
2
|
+
import { s as ee } from "./chunk-EDXVE4YY-DPpXfrr8.js";
|
|
3
|
+
import { _ as f, l as b, c as w, r as se, u as ie, a as re, b as ae, g as ne, s as oe, p as le, q as ce, R as he, k as U, z as ue } from "./cowboy-components-CxawaKWM.js";
|
|
4
4
|
var vt = (function() {
|
|
5
5
|
var t = /* @__PURE__ */ f(function(B, o, c, n) {
|
|
6
6
|
for (c = c || {}, n = B.length; n--; c[B[n]] = o) ;
|
|
7
7
|
return c;
|
|
8
|
-
}, "o"), e = [1, 2], s = [1, 3], a = [1, 4], r = [2, 4], u = [1, 9], d = [1, 11], S = [1, 16], p = [1, 17], T = [1, 18], E = [1, 19], m = [1, 33], x = [1, 20], D = [1, 21], h = [1, 22], L = [1, 23], v = [1, 24], $ = [1, 26], I = [1, 27], P = [1, 28],
|
|
8
|
+
}, "o"), e = [1, 2], s = [1, 3], a = [1, 4], r = [2, 4], u = [1, 9], d = [1, 11], S = [1, 16], p = [1, 17], T = [1, 18], E = [1, 19], m = [1, 33], x = [1, 20], D = [1, 21], h = [1, 22], L = [1, 23], v = [1, 24], $ = [1, 26], I = [1, 27], P = [1, 28], R = [1, 29], J = [1, 30], it = [1, 31], rt = [1, 32], at = [1, 35], nt = [1, 36], ot = [1, 37], lt = [1, 38], j = [1, 34], y = [1, 4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], ct = [1, 4, 5, 14, 15, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 39, 40, 41, 45, 48, 51, 52, 53, 54, 57], xt = [4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], gt = {
|
|
9
9
|
trace: /* @__PURE__ */ f(function() {
|
|
10
10
|
}, "trace"),
|
|
11
11
|
yy: {},
|
|
@@ -130,7 +130,7 @@ var vt = (function() {
|
|
|
130
130
|
break;
|
|
131
131
|
}
|
|
132
132
|
}, "anonymous"),
|
|
133
|
-
table: [{ 3: 1, 4: e, 5: s, 6: a }, { 1: [3] }, { 3: 5, 4: e, 5: s, 6: a }, { 3: 6, 4: e, 5: s, 6: a }, t([1, 4, 5, 16, 17, 19, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], r, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: u, 5: d, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 22: E, 24: m, 25: x, 26: D, 27: h, 28: L, 29: v, 32: 25, 33: $, 35: I, 37: P, 38:
|
|
133
|
+
table: [{ 3: 1, 4: e, 5: s, 6: a }, { 1: [3] }, { 3: 5, 4: e, 5: s, 6: a }, { 3: 6, 4: e, 5: s, 6: a }, t([1, 4, 5, 16, 17, 19, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], r, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: u, 5: d, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 22: E, 24: m, 25: x, 26: D, 27: h, 28: L, 29: v, 32: 25, 33: $, 35: I, 37: P, 38: R, 41: J, 45: it, 48: rt, 51: at, 52: nt, 53: ot, 54: lt, 57: j }, t(y, [2, 5]), { 9: 39, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 22: E, 24: m, 25: x, 26: D, 27: h, 28: L, 29: v, 32: 25, 33: $, 35: I, 37: P, 38: R, 41: J, 45: it, 48: rt, 51: at, 52: nt, 53: ot, 54: lt, 57: j }, t(y, [2, 7]), t(y, [2, 8]), t(y, [2, 9]), t(y, [2, 10]), t(y, [2, 11]), t(y, [2, 12], { 14: [1, 40], 15: [1, 41] }), t(y, [2, 16]), { 18: [1, 42] }, t(y, [2, 18], { 20: [1, 43] }), { 23: [1, 44] }, t(y, [2, 22]), t(y, [2, 23]), t(y, [2, 24]), t(y, [2, 25]), { 30: 45, 31: [1, 46], 59: [1, 47], 60: [1, 48] }, t(y, [2, 28]), { 34: [1, 49] }, { 36: [1, 50] }, t(y, [2, 31]), { 13: 51, 24: m, 57: j }, { 42: [1, 52], 44: [1, 53] }, { 46: [1, 54] }, { 49: [1, 55] }, t(ct, [2, 44], { 58: [1, 56] }), t(ct, [2, 45], { 58: [1, 57] }), t(y, [2, 38]), t(y, [2, 39]), t(y, [2, 40]), t(y, [2, 41]), t(y, [2, 6]), t(y, [2, 13]), { 13: 58, 24: m, 57: j }, t(y, [2, 17]), t(xt, r, { 7: 59 }), { 24: [1, 60] }, { 24: [1, 61] }, { 23: [1, 62] }, { 24: [2, 48] }, { 24: [2, 49] }, t(y, [2, 29]), t(y, [2, 30]), { 39: [1, 63], 40: [1, 64] }, { 43: [1, 65] }, { 43: [1, 66] }, { 47: [1, 67] }, { 50: [1, 68] }, { 24: [1, 69] }, { 24: [1, 70] }, t(y, [2, 14], { 14: [1, 71] }), { 4: u, 5: d, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 21: [1, 72], 22: E, 24: m, 25: x, 26: D, 27: h, 28: L, 29: v, 32: 25, 33: $, 35: I, 37: P, 38: R, 41: J, 45: it, 48: rt, 51: at, 52: nt, 53: ot, 54: lt, 57: j }, t(y, [2, 20], { 20: [1, 73] }), { 31: [1, 74] }, { 24: [1, 75] }, { 39: [1, 76] }, { 39: [1, 77] }, t(y, [2, 34]), t(y, [2, 35]), t(y, [2, 36]), t(y, [2, 37]), t(ct, [2, 46]), t(ct, [2, 47]), t(y, [2, 15]), t(y, [2, 19]), t(xt, r, { 7: 78 }), t(y, [2, 26]), t(y, [2, 27]), { 5: [1, 79] }, { 5: [1, 80] }, { 4: u, 5: d, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: S, 17: p, 19: T, 21: [1, 81], 22: E, 24: m, 25: x, 26: D, 27: h, 28: L, 29: v, 32: 25, 33: $, 35: I, 37: P, 38: R, 41: J, 45: it, 48: rt, 51: at, 52: nt, 53: ot, 54: lt, 57: j }, t(y, [2, 32]), t(y, [2, 33]), t(y, [2, 21])],
|
|
134
134
|
defaultActions: { 5: [2, 1], 6: [2, 2], 47: [2, 48], 48: [2, 49] },
|
|
135
135
|
parseError: /* @__PURE__ */ f(function(o, c) {
|
|
136
136
|
if (c.recoverable)
|
|
@@ -149,17 +149,17 @@ var vt = (function() {
|
|
|
149
149
|
i.push(_t);
|
|
150
150
|
var Qt = k.options && k.options.ranges;
|
|
151
151
|
typeof V.yy.parseError == "function" ? this.parseError = V.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
152
|
-
function Zt(
|
|
153
|
-
n.length = n.length - 2 *
|
|
152
|
+
function Zt(N) {
|
|
153
|
+
n.length = n.length - 2 * N, _.length = _.length - N, i.length = i.length - N;
|
|
154
154
|
}
|
|
155
155
|
f(Zt, "popStack");
|
|
156
156
|
function Lt() {
|
|
157
|
-
var
|
|
158
|
-
return
|
|
157
|
+
var N;
|
|
158
|
+
return N = g.pop() || k.lex() || Q, typeof N != "number" && (N instanceof Array && (g = N, N = g.pop()), N = c.symbols_[N] || N), N;
|
|
159
159
|
}
|
|
160
160
|
f(Lt, "lex");
|
|
161
|
-
for (var A, M,
|
|
162
|
-
if (M = n[n.length - 1], this.defaultActions[M] ?
|
|
161
|
+
for (var A, M, O, mt, z = {}, dt, F, It, ft; ; ) {
|
|
162
|
+
if (M = n[n.length - 1], this.defaultActions[M] ? O = this.defaultActions[M] : ((A === null || typeof A > "u") && (A = Lt()), O = q[M] && q[M][A]), typeof O > "u" || !O.length || !O[0]) {
|
|
163
163
|
var bt = "";
|
|
164
164
|
ft = [];
|
|
165
165
|
for (dt in q[M])
|
|
@@ -174,14 +174,14 @@ Expecting ` + ft.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : bt =
|
|
|
174
174
|
expected: ft
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
-
if (
|
|
177
|
+
if (O[0] instanceof Array && O.length > 1)
|
|
178
178
|
throw new Error("Parse Error: multiple actions possible at state: " + M + ", token: " + A);
|
|
179
|
-
switch (
|
|
179
|
+
switch (O[0]) {
|
|
180
180
|
case 1:
|
|
181
|
-
n.push(A), _.push(k.yytext), i.push(k.yylloc), n.push(
|
|
181
|
+
n.push(A), _.push(k.yytext), i.push(k.yylloc), n.push(O[1]), A = null, H = k.yyleng, l = k.yytext, Y = k.yylineno, _t = k.yylloc;
|
|
182
182
|
break;
|
|
183
183
|
case 2:
|
|
184
|
-
if (F = this.productions_[
|
|
184
|
+
if (F = this.productions_[O[1]][1], z.$ = _[_.length - F], z._$ = {
|
|
185
185
|
first_line: i[i.length - (F || 1)].first_line,
|
|
186
186
|
last_line: i[i.length - 1].last_line,
|
|
187
187
|
first_column: i[i.length - (F || 1)].first_column,
|
|
@@ -194,12 +194,12 @@ Expecting ` + ft.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : bt =
|
|
|
194
194
|
H,
|
|
195
195
|
Y,
|
|
196
196
|
V.yy,
|
|
197
|
-
|
|
197
|
+
O[1],
|
|
198
198
|
_,
|
|
199
199
|
i
|
|
200
200
|
].concat(Tt)), typeof mt < "u")
|
|
201
201
|
return mt;
|
|
202
|
-
F && (n = n.slice(0, -1 * F * 2), _ = _.slice(0, -1 * F), i = i.slice(0, -1 * F)), n.push(this.productions_[
|
|
202
|
+
F && (n = n.slice(0, -1 * F * 2), _ = _.slice(0, -1 * F), i = i.slice(0, -1 * F)), n.push(this.productions_[O[1]][0]), _.push(z.$), i.push(z._$), It = q[n[n.length - 2]][n[n.length - 1]], n.push(It);
|
|
203
203
|
break;
|
|
204
204
|
case 3:
|
|
205
205
|
return !0;
|
|
@@ -566,16 +566,16 @@ Expecting ` + ft.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : bt =
|
|
|
566
566
|
return f(ht, "Parser"), ht.prototype = gt, gt.Parser = ht, new ht();
|
|
567
567
|
})();
|
|
568
568
|
vt.parser = vt;
|
|
569
|
-
var Ye = vt, de = "TB", Bt = "TB",
|
|
569
|
+
var Ye = vt, de = "TB", Bt = "TB", Rt = "dir", X = "state", K = "root", Ct = "relation", fe = "classDef", pe = "style", Se = "applyClass", et = "default", Gt = "divider", Yt = "fill:none", Vt = "fill: #333", Mt = "c", Ut = "markdown", Wt = "normal", kt = "rect", Dt = "rectWithTitle", ye = "stateStart", ge = "stateEnd", Nt = "divider", Ot = "roundedWithTitle", Te = "note", Ee = "noteGroup", st = "statediagram", _e = "state", me = `${st}-${_e}`, jt = "transition", be = "note", ke = "note-edge", De = `${jt} ${ke}`, ve = `${st}-${be}`, Ce = "cluster", Ae = `${st}-${Ce}`, xe = "cluster-alt", Le = `${st}-${xe}`, Ht = "parent", zt = "note", Ie = "state", At = "----", Re = `${At}${zt}`, wt = `${At}${Ht}`, Kt = /* @__PURE__ */ f((t, e = Bt) => {
|
|
570
570
|
if (!t.doc)
|
|
571
571
|
return e;
|
|
572
572
|
let s = e;
|
|
573
573
|
for (const a of t.doc)
|
|
574
574
|
a.stmt === "dir" && (s = a.value);
|
|
575
575
|
return s;
|
|
576
|
-
}, "getDir"),
|
|
576
|
+
}, "getDir"), Ne = /* @__PURE__ */ f(function(t, e) {
|
|
577
577
|
return e.db.getClasses();
|
|
578
|
-
}, "getClasses"),
|
|
578
|
+
}, "getClasses"), Oe = /* @__PURE__ */ f(async function(t, e, s, a) {
|
|
579
579
|
b.info("REF0:"), b.info("Drawing state diagram (v2)", e);
|
|
580
580
|
const { securityLevel: r, state: u, layout: d } = w();
|
|
581
581
|
a.db.extract(a.db.getRootDocV2());
|
|
@@ -591,8 +591,8 @@ var Ye = vt, de = "TB", Bt = "TB", Nt = "dir", X = "state", K = "root", Ct = "re
|
|
|
591
591
|
}
|
|
592
592
|
const L = p.node()?.querySelectorAll("g");
|
|
593
593
|
let v;
|
|
594
|
-
if (L?.forEach((
|
|
595
|
-
|
|
594
|
+
if (L?.forEach((R) => {
|
|
595
|
+
R.textContent?.trim() === h && (v = R);
|
|
596
596
|
}), !v) {
|
|
597
597
|
b.warn("⚠️ Could not find node matching text:", h);
|
|
598
598
|
return;
|
|
@@ -604,8 +604,8 @@ var Ye = vt, de = "TB", Bt = "TB", Nt = "dir", X = "state", K = "root", Ct = "re
|
|
|
604
604
|
}
|
|
605
605
|
const I = document.createElementNS("http://www.w3.org/2000/svg", "a"), P = x.url.replace(/^"+|"+$/g, "");
|
|
606
606
|
if (I.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", P), I.setAttribute("target", "_blank"), x.tooltip) {
|
|
607
|
-
const
|
|
608
|
-
I.setAttribute("title",
|
|
607
|
+
const R = x.tooltip.replace(/^"+|"+$/g, "");
|
|
608
|
+
I.setAttribute("title", R);
|
|
609
609
|
}
|
|
610
610
|
$.replaceChild(I, v), I.appendChild(v), b.info("🔗 Wrapped node in <a> tag for:", h, x.url);
|
|
611
611
|
});
|
|
@@ -619,8 +619,8 @@ var Ye = vt, de = "TB", Bt = "TB", Nt = "dir", X = "state", K = "root", Ct = "re
|
|
|
619
619
|
a.db.getDiagramTitle()
|
|
620
620
|
), ee(p, E, st, u?.useMaxWidth ?? !0);
|
|
621
621
|
}, "draw"), Ve = {
|
|
622
|
-
getClasses:
|
|
623
|
-
draw:
|
|
622
|
+
getClasses: Ne,
|
|
623
|
+
draw: Oe,
|
|
624
624
|
getDir: Kt
|
|
625
625
|
}, St = /* @__PURE__ */ new Map(), G = 0;
|
|
626
626
|
function yt(t = "", e = 0, s = "", a = At) {
|
|
@@ -717,7 +717,7 @@ var tt = /* @__PURE__ */ f((t, e, s, a, r, u, d, S) => {
|
|
|
717
717
|
cssStyles: m
|
|
718
718
|
});
|
|
719
719
|
const h = St.get(p);
|
|
720
|
-
e.description && (Array.isArray(h.description) ? (h.shape = Dt, h.description.push(e.description)) : h.description?.length && h.description.length > 0 ? (h.shape = Dt, h.description === p ? h.description = [e.description] : h.description = [h.description, e.description]) : (h.shape = kt, h.description = e.description), h.description = U.sanitizeTextOrArray(h.description, x)), h.description?.length === 1 && h.shape === Dt && (h.type === "group" ? h.shape =
|
|
720
|
+
e.description && (Array.isArray(h.description) ? (h.shape = Dt, h.description.push(e.description)) : h.description?.length && h.description.length > 0 ? (h.shape = Dt, h.description === p ? h.description = [e.description] : h.description = [h.description, e.description]) : (h.shape = kt, h.description = e.description), h.description = U.sanitizeTextOrArray(h.description, x)), h.description?.length === 1 && h.shape === Dt && (h.type === "group" ? h.shape = Ot : h.shape = kt), !h.type && e.doc && (b.info("Setting cluster for XCX", p, $t(e)), h.type = "group", h.isGroup = !0, h.dir = $t(e), h.shape = e.type === Gt ? Nt : Ot, h.cssClasses = `${h.cssClasses} ${Ae} ${u ? Le : ""}`);
|
|
721
721
|
const L = {
|
|
722
722
|
labelStyle: "",
|
|
723
723
|
shape: h.shape,
|
|
@@ -736,7 +736,7 @@ var tt = /* @__PURE__ */ f((t, e, s, a, r, u, d, S) => {
|
|
|
736
736
|
look: d,
|
|
737
737
|
labelType: "markdown"
|
|
738
738
|
};
|
|
739
|
-
if (L.shape ===
|
|
739
|
+
if (L.shape === Nt && (L.label = ""), t && t.id !== "root" && (b.trace("Setting node ", p, " to be child of its parent ", t.id), L.parentId = t.id), L.centerLabel = !0, e.note) {
|
|
740
740
|
const v = {
|
|
741
741
|
labelStyle: "",
|
|
742
742
|
shape: Te,
|
|
@@ -746,7 +746,7 @@ var tt = /* @__PURE__ */ f((t, e, s, a, r, u, d, S) => {
|
|
|
746
746
|
// useHtmlLabels: false,
|
|
747
747
|
cssStyles: [],
|
|
748
748
|
cssCompiledStyles: [],
|
|
749
|
-
id: p +
|
|
749
|
+
id: p + Re + "-" + G,
|
|
750
750
|
domId: yt(p, G, zt),
|
|
751
751
|
type: h.type,
|
|
752
752
|
isGroup: h.type === "group",
|
|
@@ -769,11 +769,11 @@ var tt = /* @__PURE__ */ f((t, e, s, a, r, u, d, S) => {
|
|
|
769
769
|
position: e.note.position
|
|
770
770
|
};
|
|
771
771
|
G++, I.id = $, v.parentId = $, Z(a, I, S), Z(a, v, S), Z(a, L, S);
|
|
772
|
-
let P = p,
|
|
773
|
-
e.note.position === "left of" && (P = v.id,
|
|
774
|
-
id: P + "-" +
|
|
772
|
+
let P = p, R = v.id;
|
|
773
|
+
e.note.position === "left of" && (P = v.id, R = p), r.push({
|
|
774
|
+
id: P + "-" + R,
|
|
775
775
|
start: P,
|
|
776
|
-
end:
|
|
776
|
+
end: R,
|
|
777
777
|
arrowhead: "none",
|
|
778
778
|
arrowTypeEnd: "",
|
|
779
779
|
style: Yt,
|
|
@@ -1119,14 +1119,14 @@ var tt = /* @__PURE__ */ f((t, e, s, a, r, u, d, S) => {
|
|
|
1119
1119
|
* @returns the direction statement if present
|
|
1120
1120
|
*/
|
|
1121
1121
|
getDirectionStatement() {
|
|
1122
|
-
return this.rootDoc.find((e) => e.stmt ===
|
|
1122
|
+
return this.rootDoc.find((e) => e.stmt === Rt);
|
|
1123
1123
|
}
|
|
1124
1124
|
getDirection() {
|
|
1125
1125
|
return this.getDirectionStatement()?.value ?? de;
|
|
1126
1126
|
}
|
|
1127
1127
|
setDirection(e) {
|
|
1128
1128
|
const s = this.getDirectionStatement();
|
|
1129
|
-
s ? s.value = e : this.rootDoc.unshift({ stmt:
|
|
1129
|
+
s ? s.value = e : this.rootDoc.unshift({ stmt: Rt, value: e });
|
|
1130
1130
|
}
|
|
1131
1131
|
trimColon(e) {
|
|
1132
1132
|
return e.startsWith(":") ? e.slice(1).trim() : e.trim();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./cowboy-components-
|
|
1
|
+
"use strict";const i=require("./cowboy-components-CjgqXqkM.cjs");var t,s=(t=class{constructor(e){this.init=e,this.records=this.init()}reset(){this.records=this.init()}},i.__name(t,"ImperativeState"),t);exports.ImperativeState=s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as i, d as l,
|
|
1
|
+
import { _ as i, d as l, S as d, j as o } from "./cowboy-components-CxawaKWM.js";
|
|
2
2
|
var x = /* @__PURE__ */ i((r, t) => {
|
|
3
3
|
const e = r.append("rect");
|
|
4
4
|
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./cowboy-components-
|
|
1
|
+
"use strict";const s=require("./cowboy-components-CjgqXqkM.cjs");var l=s.__name((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const a in t.attrs)e.attr(a,t.attrs[a]);return t.class&&e.attr("class",t.class),e},"drawRect"),o=s.__name((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};l(r,e).lower()},"drawBackgroundRect"),d=s.__name((r,t)=>{const e=t.text.replace(s.lineBreakRegex," "),a=r.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class&&a.attr("class",t.class);const n=a.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),a},"drawText"),c=s.__name((r,t,e,a)=>{const n=r.append("image");n.attr("x",t),n.attr("y",e);const i=s.distExports.sanitizeUrl(a);n.attr("xlink:href",i)},"drawImage"),x=s.__name((r,t,e,a)=>{const n=r.append("use");n.attr("x",t),n.attr("y",e);const i=s.distExports.sanitizeUrl(a);n.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),m=s.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=s.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),y=s.__name(()=>{let r=s.select(".mermaidTooltip");return r.empty()&&(r=s.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");exports.createTooltip=y;exports.drawBackgroundRect=o;exports.drawEmbeddedImage=x;exports.drawImage=c;exports.drawRect=l;exports.drawText=d;exports.getNoteRect=m;exports.getTextObj=p;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-4TB4RGXK-
|
|
2
|
-
import { _ as l } from "./cowboy-components-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-4TB4RGXK-BK_uuzSP.js";
|
|
2
|
+
import { _ as l } from "./cowboy-components-CxawaKWM.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-4TB4RGXK-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-4TB4RGXK-BlskfrH8.cjs"),a=require("./cowboy-components-CjgqXqkM.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-4TB4RGXK-
|
|
2
|
-
import { _ as l } from "./cowboy-components-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-4TB4RGXK-BK_uuzSP.js";
|
|
2
|
+
import { _ as l } from "./cowboy-components-CxawaKWM.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
package/dist/{classDiagram-v2-HSJHXN6E-DnanA8bA.cjs → classDiagram-v2-HSJHXN6E-w916JDya.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-4TB4RGXK-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-4TB4RGXK-BlskfrH8.cjs"),a=require("./cowboy-components-CjgqXqkM.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./graph-DyZUkQBU.cjs");var r=4;function c(e){return n.baseClone(e,r)}exports.clone=c;
|
|
@@ -9,6 +9,7 @@ import { customElement, property, state } from 'lit/decorators.js';
|
|
|
9
9
|
import diffViewerCss from './diff-viewer.css.js';
|
|
10
10
|
import { buildFocusedDiffSections, } from './diff-focus.js';
|
|
11
11
|
import DiffMatchPatch from 'diff-match-patch';
|
|
12
|
+
import { createLineElement } from './line-renderer.js';
|
|
12
13
|
import '@shoelace-style/shoelace/dist/components/split-panel/split-panel.js';
|
|
13
14
|
import '@shoelace-style/shoelace/dist/components/icon/icon.js';
|
|
14
15
|
import '@shoelace-style/shoelace/dist/components/radio-group/radio-group.js';
|
|
@@ -366,42 +367,10 @@ let DiffViewer = class DiffViewer extends LitElement {
|
|
|
366
367
|
this._rendering = false;
|
|
367
368
|
}
|
|
368
369
|
_createLineElement(line, side) {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
if (line.modifiedLineNum)
|
|
374
|
-
div.dataset.modifiedLine = String(line.modifiedLineNum);
|
|
375
|
-
const gutter = document.createElement('span');
|
|
376
|
-
gutter.className = 'line-gutter';
|
|
377
|
-
if (line.type === 'removed')
|
|
378
|
-
gutter.textContent = '−';
|
|
379
|
-
else if (line.type === 'added')
|
|
380
|
-
gutter.textContent = '+';
|
|
381
|
-
div.appendChild(gutter);
|
|
382
|
-
const numSpan = document.createElement('span');
|
|
383
|
-
numSpan.className = 'line-number';
|
|
384
|
-
if (side === 'left') {
|
|
385
|
-
numSpan.textContent = line.originalLineNum ? String(line.originalLineNum) : '';
|
|
386
|
-
}
|
|
387
|
-
else if (side === 'right') {
|
|
388
|
-
numSpan.textContent = line.modifiedLineNum ? String(line.modifiedLineNum) : '';
|
|
389
|
-
}
|
|
390
|
-
else {
|
|
391
|
-
const orig = line.originalLineNum;
|
|
392
|
-
const mod = line.modifiedLineNum;
|
|
393
|
-
numSpan.textContent = line.type === 'equal' ? String(orig || '') : String(orig || mod || '');
|
|
394
|
-
}
|
|
395
|
-
div.appendChild(numSpan);
|
|
396
|
-
const content = document.createElement('span');
|
|
397
|
-
content.className = 'line-content';
|
|
398
|
-
// innerHTML is intentional for virtual scroll performance — content must be trusted
|
|
399
|
-
if (line.highlightedContent)
|
|
400
|
-
content.innerHTML = line.highlightedContent;
|
|
401
|
-
else
|
|
402
|
-
content.textContent = line.content;
|
|
403
|
-
div.appendChild(content);
|
|
404
|
-
return div;
|
|
370
|
+
return createLineElement(line, {
|
|
371
|
+
side,
|
|
372
|
+
lineNumber: side === 'right' ? line.modifiedLineNum : line.originalLineNum,
|
|
373
|
+
});
|
|
405
374
|
}
|
|
406
375
|
async scrollToLine(originalLine, modifiedLine) {
|
|
407
376
|
await this.updateComplete;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { focusedDiffSharedCss } from './focused-diff-shared.css.js';
|
|
2
|
+
export { focusedDiffSharedCss };
|
|
3
|
+
export interface LineRenderModel {
|
|
4
|
+
type?: 'equal' | 'added' | 'removed' | 'spacer';
|
|
5
|
+
content?: string;
|
|
6
|
+
highlightedContent?: string;
|
|
7
|
+
originalLineNum?: number;
|
|
8
|
+
modifiedLineNum?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface LineRenderOptions {
|
|
11
|
+
side?: 'left' | 'right' | 'unified';
|
|
12
|
+
emphasis?: string;
|
|
13
|
+
lineNumber?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare function createLineElement(line: LineRenderModel, options?: LineRenderOptions): HTMLElement;
|