@sourcegraph/amp 0.0.1749585689-g82b91d → 0.0.1749614780-g9a56bd
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/amp.js +3 -3
- package/dist/architectureDiagram-RWNHDUBN-1v8WgxdD.js +4635 -0
- package/dist/blockDiagram-XZSR5OGQ-XFBYN-jB.js +2243 -0
- package/dist/c4Diagram-6R2MQUNL-B0L0pltn.js +1587 -0
- package/dist/chunk-COUQ6RZ3-qd4eG6tc.js +17852 -0
- package/dist/chunk-CRQPXCKQ-yjI467Bq.js +65 -0
- package/dist/chunk-EFPBJHX4-DdHmqd0M.js +1378 -0
- package/dist/chunk-EOAU2GW5-CpRNAcjo.js +253 -0
- package/dist/chunk-IHYUGLNO-DJcRQIf7.js +1365 -0
- package/dist/chunk-K2ZEYYM2-CbqHhUqy.js +9 -0
- package/dist/chunk-Q7VUVKE6-gBSSbdjU.js +24 -0
- package/dist/chunk-T2M37SMK-Br8mK30k.js +1411 -0
- package/dist/chunk-TGZYFRKZ-BYBLXoJz.js +1331 -0
- package/dist/chunk-YJGJQOYZ-BGiSkWF0.js +19 -0
- package/dist/classDiagram-LB37KKQG-DhFsEyDS.js +17 -0
- package/dist/classDiagram-v2-KFQJBC22-DhFsEyDS.js +17 -0
- package/dist/{client-C1WG2nEf.js → client-D-YAg8x6.js} +6 -6
- package/dist/{console-DK0gDzNQ.js → console-CoE5Qzyz.js} +41106 -22971
- package/dist/create_file.node-Co0Uh1F3.js +21 -0
- package/dist/dagre-CMTPJJKG-UDPzd9Iy.js +446 -0
- package/dist/diagram-BIPOGRU5-B7TV59-n.js +128 -0
- package/dist/diagram-YF4VECWA-LsAZsciQ.js +219 -0
- package/dist/{edit_file.node-BH524GkF.js → edit_file.node-CmTZeBc2.js} +11 -11
- package/dist/erDiagram-AK44R45H-BWpeEu7D.js +843 -0
- package/dist/{executable-5cBRGrsC.js → executable-BE7tfoX5.js} +1 -1
- package/dist/{files-CybxYgbE.js → files-DqpRf5q4.js} +10 -10
- package/dist/flowDiagram-XARHJDSH-DzpV02UB.js +1618 -0
- package/dist/ganttDiagram-H5QQZTZ5-C0BhJTzn.js +1605 -0
- package/dist/gitGraphDiagram-XHLTLO3W-0EiOmv44.js +701 -0
- package/dist/{glob.node-C6HbLuPt.js → glob.node-DNei8bFS.js} +11 -11
- package/dist/{index-C2wo7rRZ.js → index-BcjxaWOc.js} +31 -31
- package/dist/infoDiagram-TP2HPDHO-CQX5a0Fc.js +24 -0
- package/dist/journeyDiagram-VHRN44N3-C82dEe4G.js +809 -0
- package/dist/kanban-definition-K5J3OUUV-xilJcrom.js +718 -0
- package/dist/katex-5N2NCDMP-CAsrnb6_.js +11703 -0
- package/dist/{list_directory.node-ZQscizpi.js → list_directory.node-CMiNNbXP.js} +1 -1
- package/dist/{load-profile-BbmyxO_7.js → load-profile-Cg8XaTx6.js} +1 -1
- package/dist/{main-CiUaVPC2.js → main-CtwgALCc.js} +23 -16
- package/dist/mindmap-definition-TI5ONXTW-BNaRba4R.js +3221 -0
- package/dist/{node-VrazB_nQ.js → node-Bfma_T75.js} +58 -58
- package/dist/{node-DvmQAW7h.js → node-BtG1o_DD.js} +2 -2
- package/dist/{node-GgocwWwI.js → node-CZJC9BSF.js} +3 -3
- package/dist/{node-Cpbjmhrj.js → node-Cp3D7_hw.js} +71 -71
- package/dist/{node-CiFAW-F3.js → node-Ctw1i0nl.js} +12 -12
- package/dist/{node-CgVq0JJ9.js → node-D1zxOCuN.js} +1 -1
- package/dist/pieDiagram-FPR3CNQC-_30_tQz0.js +120 -0
- package/dist/quadrantDiagram-RLP5YTJ2-CTD43GTk.js +1028 -0
- package/dist/radar-MK3ICKWK-55CS4JTO-afihMdR4.js +14398 -0
- package/dist/{read_file.node-CIdAFiJ6.js → read_file.node-QZ0VCmB2.js} +1 -1
- package/dist/requirementDiagram-P5NVWGNK-Sd2_6g8e.js +853 -0
- package/dist/sankeyDiagram-C6NZRJHT-D1EcCYaw.js +864 -0
- package/dist/sequenceDiagram-6SLVIXKN-CghQTpGf.js +2283 -0
- package/dist/stateDiagram-WI5ZVJ5I-Bv21MlSK.js +272 -0
- package/dist/stateDiagram-v2-KVDSFUFK-BgP0D8xL.js +17 -0
- package/dist/{stdio-D9HyubOc.js → stdio-yXWLIEvb.js} +8 -8
- package/dist/storybook.js +7 -7
- package/dist/timeline-definition-65575674-BUqRZdJ-.js +800 -0
- package/dist/{undo_edit.node-VYuTxRwd.js → undo_edit.node-BkletvTZ.js} +5 -5
- package/dist/xychartDiagram-674MFTBU-DjBabATx.js +1291 -0
- package/package.json +1 -1
- package/dist/create_file.node-DtVTaHj5.js +0 -21
@@ -0,0 +1,65 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
import { _ as n, aM as o, J as c, N as x } from "./console-CoE5Qzyz.js";
|
3
|
+
var l = c(x()), d = /* @__PURE__ */ n((a, t) => {
|
4
|
+
const e = a.append("rect");
|
5
|
+
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)
|
6
|
+
for (const r in t.attrs)
|
7
|
+
e.attr(r, t.attrs[r]);
|
8
|
+
return t.class && e.attr("class", t.class), e;
|
9
|
+
}, "drawRect"), m = /* @__PURE__ */ n((a, t) => {
|
10
|
+
const e = {
|
11
|
+
x: t.startx,
|
12
|
+
y: t.starty,
|
13
|
+
width: t.stopx - t.startx,
|
14
|
+
height: t.stopy - t.starty,
|
15
|
+
fill: t.fill,
|
16
|
+
stroke: t.stroke,
|
17
|
+
class: "rect"
|
18
|
+
};
|
19
|
+
d(a, e).lower();
|
20
|
+
}, "drawBackgroundRect"), h = /* @__PURE__ */ n((a, t) => {
|
21
|
+
const e = t.text.replace(o, " "), r = a.append("text");
|
22
|
+
r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class && r.attr("class", t.class);
|
23
|
+
const s = r.append("tspan");
|
24
|
+
return s.attr("x", t.x + t.textMargin * 2), s.text(e), r;
|
25
|
+
}, "drawText"), y = /* @__PURE__ */ n((a, t, e, r) => {
|
26
|
+
const s = a.append("image");
|
27
|
+
s.attr("x", t), s.attr("y", e);
|
28
|
+
const i = (0, l.sanitizeUrl)(r);
|
29
|
+
s.attr("xlink:href", i);
|
30
|
+
}, "drawImage"), p = /* @__PURE__ */ n((a, t, e, r) => {
|
31
|
+
const s = a.append("use");
|
32
|
+
s.attr("x", t), s.attr("y", e);
|
33
|
+
const i = (0, l.sanitizeUrl)(r);
|
34
|
+
s.attr("xlink:href", `#${i}`);
|
35
|
+
}, "drawEmbeddedImage"), f = /* @__PURE__ */ n(() => ({
|
36
|
+
x: 0,
|
37
|
+
y: 0,
|
38
|
+
width: 100,
|
39
|
+
height: 100,
|
40
|
+
fill: "#EDF2AE",
|
41
|
+
stroke: "#666",
|
42
|
+
anchor: "start",
|
43
|
+
rx: 0,
|
44
|
+
ry: 0
|
45
|
+
}), "getNoteRect"), w = /* @__PURE__ */ n(() => ({
|
46
|
+
x: 0,
|
47
|
+
y: 0,
|
48
|
+
width: 100,
|
49
|
+
height: 100,
|
50
|
+
"text-anchor": "start",
|
51
|
+
style: "#666",
|
52
|
+
textMargin: 0,
|
53
|
+
rx: 0,
|
54
|
+
ry: 0,
|
55
|
+
tspan: !0
|
56
|
+
}), "getTextObj");
|
57
|
+
export {
|
58
|
+
m as a,
|
59
|
+
w as b,
|
60
|
+
p as c,
|
61
|
+
d,
|
62
|
+
y as e,
|
63
|
+
h as f,
|
64
|
+
f as g
|
65
|
+
};
|