gradio-leaderboard 0.0.13__py3-none-any.whl → 0.0.14__py3-none-any.whl
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.
- gradio_leaderboard/leaderboard.pyi +26 -9
- gradio_leaderboard/templates/component/Index-CzS_eGV6.js +34210 -0
- gradio_leaderboard/templates/component/_basePickBy-CPQEc5fh.js +151 -0
- gradio_leaderboard/templates/component/_baseUniq-DlEwemC3.js +615 -0
- gradio_leaderboard/templates/component/arc-4UNMf6Jv.js +83 -0
- gradio_leaderboard/templates/component/architectureDiagram-NQ2NVSRB-ClVp_eQQ.js +4629 -0
- gradio_leaderboard/templates/component/blockDiagram-PHRCVELO-CBZHEIQE.js +2255 -0
- gradio_leaderboard/templates/component/c4Diagram-6F6E4RAY-BcEP_NdH.js +1586 -0
- gradio_leaderboard/templates/component/channel-BK2Jce3b.js +5 -0
- gradio_leaderboard/templates/component/chunk-353BL4L5-D4dVjjbU.js +8 -0
- gradio_leaderboard/templates/component/chunk-67H74DCK-Dd9cOxfN.js +64 -0
- gradio_leaderboard/templates/component/chunk-6OLS64BW-CfumlcA2.js +1376 -0
- gradio_leaderboard/templates/component/chunk-AACKK3MU-4CpiDhxa.js +18 -0
- gradio_leaderboard/templates/component/chunk-BFAMUDN2-C6YyJRb4.js +8 -0
- gradio_leaderboard/templates/component/chunk-E2GYISFI-CbYUJnri.js +19 -0
- gradio_leaderboard/templates/component/chunk-QEP2MXWD-BYLoFCys.js +1380 -0
- gradio_leaderboard/templates/component/chunk-SKB7J2MH-DNiBnZKZ.js +19 -0
- gradio_leaderboard/templates/component/classDiagram-BGRH5UQR-BrG1RRX8.js +16 -0
- gradio_leaderboard/templates/component/classDiagram-v2-O24JOBDK-BrG1RRX8.js +16 -0
- gradio_leaderboard/templates/component/clone-BA6MvtJ3.js +8 -0
- gradio_leaderboard/templates/component/cytoscape.esm-Bdz5CrXX.js +18629 -0
- gradio_leaderboard/templates/component/dagre-FFZHY6LT-6RahWHGr.js +444 -0
- gradio_leaderboard/templates/component/defaultLocale-D7EN2tov.js +171 -0
- gradio_leaderboard/templates/component/diagram-3EMPZRKU-DtoOVTDy.js +526 -0
- gradio_leaderboard/templates/component/diagram-5UYTHUR4-MEp0H-U7.js +137 -0
- gradio_leaderboard/templates/component/diagram-ZTM2IBQH-22c5YuUh.js +217 -0
- gradio_leaderboard/templates/component/erDiagram-R3QVA2FD-DZp2MeDc.js +844 -0
- gradio_leaderboard/templates/component/flowDiagram-PKI6S5ZS-CfK9UZi3.js +1623 -0
- gradio_leaderboard/templates/component/ganttDiagram-EK5VF46D-waaD2Kup.js +2502 -0
- gradio_leaderboard/templates/component/gitGraphDiagram-GW3U2K7C-DJCAxNvz.js +699 -0
- gradio_leaderboard/templates/component/graph-CXm5uxKj.js +247 -0
- gradio_leaderboard/templates/component/index.js +2 -33755
- gradio_leaderboard/templates/component/infoDiagram-RLU2ROGC-_Rx9wF6U.js +24 -0
- gradio_leaderboard/templates/component/init-DjUOC4st.js +16 -0
- gradio_leaderboard/templates/component/journeyDiagram-EWQZEKCU-G-tt0noJ.js +836 -0
- gradio_leaderboard/templates/component/kanban-definition-ILFWEQ3N-2aHifLFR.js +718 -0
- gradio_leaderboard/templates/component/layout-DiZ88ySr.js +1324 -0
- gradio_leaderboard/templates/component/linear-D4M9Dm-w.js +259 -0
- gradio_leaderboard/templates/component/mermaid.core-D36e06XD.js +14941 -0
- gradio_leaderboard/templates/component/mindmap-definition-CZNETY7S-1Jow2c7r.js +3215 -0
- gradio_leaderboard/templates/component/ordinal-DfAQgscy.js +61 -0
- gradio_leaderboard/templates/component/pieDiagram-NIOCPIFQ-DU7jHSoi.js +162 -0
- gradio_leaderboard/templates/component/quadrantDiagram-2OG54O6I-GcojS_If.js +1028 -0
- gradio_leaderboard/templates/component/requirementDiagram-SO3GGRV7-CBRyajan.js +853 -0
- gradio_leaderboard/templates/component/sankeyDiagram-4UZDY2LN-CeZji6oR.js +820 -0
- gradio_leaderboard/templates/component/sequenceDiagram-ZIKVLSP4-DMygkr3Y.js +2284 -0
- gradio_leaderboard/templates/component/stateDiagram-XX37X6EN-DK2vsx2r.js +263 -0
- gradio_leaderboard/templates/component/stateDiagram-v2-GD6S3NHB-BoIkPrjk.js +16 -0
- gradio_leaderboard/templates/component/style.css +1 -1
- gradio_leaderboard/templates/component/timeline-definition-RI47OAVP-BQ_Jr8hZ.js +797 -0
- gradio_leaderboard/templates/component/treemap-FKARHQ26-2Ty0RcZX.js +12981 -0
- gradio_leaderboard/templates/component/xychartDiagram-H2YORKM3--C9dwTwV.js +1368 -0
- {gradio_leaderboard-0.0.13.dist-info → gradio_leaderboard-0.0.14.dist-info}/METADATA +2 -2
- gradio_leaderboard-0.0.14.dist-info/RECORD +59 -0
- {gradio_leaderboard-0.0.13.dist-info → gradio_leaderboard-0.0.14.dist-info}/WHEEL +1 -1
- gradio_leaderboard-0.0.13.dist-info/RECORD +0 -10
@@ -0,0 +1,64 @@
|
|
1
|
+
import { _ as n, U as c, m as l } from "./mermaid.core-D36e06XD.js";
|
2
|
+
var o = /* @__PURE__ */ n((a, t) => {
|
3
|
+
const e = a.append("rect");
|
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)
|
5
|
+
for (const r in t.attrs)
|
6
|
+
e.attr(r, t.attrs[r]);
|
7
|
+
return t.class && e.attr("class", t.class), e;
|
8
|
+
}, "drawRect"), d = /* @__PURE__ */ n((a, t) => {
|
9
|
+
const e = {
|
10
|
+
x: t.startx,
|
11
|
+
y: t.starty,
|
12
|
+
width: t.stopx - t.startx,
|
13
|
+
height: t.stopy - t.starty,
|
14
|
+
fill: t.fill,
|
15
|
+
stroke: t.stroke,
|
16
|
+
class: "rect"
|
17
|
+
};
|
18
|
+
o(a, e).lower();
|
19
|
+
}, "drawBackgroundRect"), g = /* @__PURE__ */ n((a, t) => {
|
20
|
+
const e = t.text.replace(c, " "), r = a.append("text");
|
21
|
+
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);
|
22
|
+
const s = r.append("tspan");
|
23
|
+
return s.attr("x", t.x + t.textMargin * 2), s.text(e), r;
|
24
|
+
}, "drawText"), m = /* @__PURE__ */ n((a, t, e, r) => {
|
25
|
+
const s = a.append("image");
|
26
|
+
s.attr("x", t), s.attr("y", e);
|
27
|
+
const i = l(r);
|
28
|
+
s.attr("xlink:href", i);
|
29
|
+
}, "drawImage"), h = /* @__PURE__ */ n((a, t, e, r) => {
|
30
|
+
const s = a.append("use");
|
31
|
+
s.attr("x", t), s.attr("y", e);
|
32
|
+
const i = l(r);
|
33
|
+
s.attr("xlink:href", `#${i}`);
|
34
|
+
}, "drawEmbeddedImage"), y = /* @__PURE__ */ n(() => ({
|
35
|
+
x: 0,
|
36
|
+
y: 0,
|
37
|
+
width: 100,
|
38
|
+
height: 100,
|
39
|
+
fill: "#EDF2AE",
|
40
|
+
stroke: "#666",
|
41
|
+
anchor: "start",
|
42
|
+
rx: 0,
|
43
|
+
ry: 0
|
44
|
+
}), "getNoteRect"), p = /* @__PURE__ */ n(() => ({
|
45
|
+
x: 0,
|
46
|
+
y: 0,
|
47
|
+
width: 100,
|
48
|
+
height: 100,
|
49
|
+
"text-anchor": "start",
|
50
|
+
style: "#666",
|
51
|
+
textMargin: 0,
|
52
|
+
rx: 0,
|
53
|
+
ry: 0,
|
54
|
+
tspan: !0
|
55
|
+
}), "getTextObj");
|
56
|
+
export {
|
57
|
+
p as a,
|
58
|
+
d as b,
|
59
|
+
h as c,
|
60
|
+
o as d,
|
61
|
+
m as e,
|
62
|
+
g as f,
|
63
|
+
y as g
|
64
|
+
};
|