lowcoder-comps 0.0.31 → 0.0.33
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/00bb478a.js +1102 -0
- package/02bef5a4.js +505 -0
- package/057d2a44.js +1127 -0
- package/0964fcc6.js +34 -0
- package/14220e98.js +1276 -0
- package/1c074fe4.js +25 -0
- package/250a6954.js +804 -0
- package/256b619e.js +92 -0
- package/2cd27cf0.js +2501 -0
- package/2f064957.js +64 -0
- package/2ff2c7a6.js +6 -0
- package/2ff7471d.js +9 -0
- package/30c4916b.js +8 -0
- package/36ec7270.js +915 -0
- package/38c14832.js +960 -0
- package/3ae34bed.js +819 -0
- package/3e2939fa.js +237 -0
- package/3f5f874f.js +86 -0
- package/3fb86fb9.js +447 -0
- package/415177f9.js +1579 -0
- package/47848c42.js +11636 -0
- package/4c6a0ece.js +162535 -0
- package/4db8e48b.js +2284 -0
- package/531065f1.js +1089 -0
- package/5a398ea8.js +881 -0
- package/5ab1614c.js +268 -0
- package/65bbb6ae.js +1536 -0
- package/777cd15c.js +48428 -0
- package/7dacfa82.js +220 -0
- package/800cf0d0.js +796 -0
- package/92e85b65.js +65 -0
- package/93e9bd3a.js +391 -0
- package/98622dfa.js +16582 -0
- package/a2e74e62.js +2967 -0
- package/a61c3bd3.js +5 -0
- package/b8f48ff4.js +769 -0
- package/bd0f5f65.js +319 -0
- package/bf4428f5.js +1269 -0
- package/cb1972f7.js +455 -0
- package/dfc10c94.js +818 -0
- package/ed2c9753.js +208 -0
- package/ef2833e6.js +927 -0
- package/f9637058.js +16 -0
- package/f9e72519.js +1284 -0
- package/fe063d15.js +19339 -0
- package/index.js +5 -0
- package/package.json +30 -3
- package/README.md +0 -120
- package/index.html +0 -26
- package/index.tsx +0 -21
- package/jest.config.js +0 -6
- package/src/__test__/allComp.test.tsx +0 -61
- package/src/app-env.d.ts +0 -3
- package/src/comps/calendarComp/calendarComp.tsx +0 -633
- package/src/comps/calendarComp/calendarConstants.tsx +0 -1048
- package/src/comps/calendarComp/errorBoundary.tsx +0 -30
- package/src/comps/chartComp/chartComp.tsx +0 -442
- package/src/comps/chartComp/chartConfigs/barChartConfig.tsx +0 -51
- package/src/comps/chartComp/chartConfigs/cartesianAxisConfig.tsx +0 -307
- package/src/comps/chartComp/chartConfigs/chartUrls.tsx +0 -9
- package/src/comps/chartComp/chartConfigs/legendConfig.tsx +0 -55
- package/src/comps/chartComp/chartConfigs/lineChartConfig.tsx +0 -96
- package/src/comps/chartComp/chartConfigs/pieChartConfig.tsx +0 -83
- package/src/comps/chartComp/chartConfigs/scatterChartConfig.tsx +0 -62
- package/src/comps/chartComp/chartConstants.tsx +0 -299
- package/src/comps/chartComp/chartPropertyView.tsx +0 -235
- package/src/comps/chartComp/chartUtils.ts +0 -291
- package/src/comps/chartComp/reactEcharts/core.tsx +0 -194
- package/src/comps/chartComp/reactEcharts/index.ts +0 -21
- package/src/comps/chartComp/reactEcharts/types.ts +0 -76
- package/src/comps/chartComp/seriesComp.tsx +0 -119
- package/src/comps/imageEditorComp/imageEditorClass.tsx +0 -52
- package/src/comps/imageEditorComp/imageEditorConstants.tsx +0 -109
- package/src/comps/imageEditorComp/index.tsx +0 -184
- package/src/comps/mermaidComp/index.tsx +0 -44
- package/src/comps/mermaidComp/mermaid.tsx +0 -29
- package/src/global.ts +0 -1
- package/src/i18n/comps/index.tsx +0 -29
- package/src/i18n/comps/locales/en.ts +0 -163
- package/src/i18n/comps/locales/enObj.tsx +0 -198
- package/src/i18n/comps/locales/index.ts +0 -7
- package/src/i18n/comps/locales/types.tsx +0 -10
- package/src/i18n/comps/locales/zh.ts +0 -156
- package/src/i18n/comps/locales/zhObj.tsx +0 -4
- package/src/index.ts +0 -11
- package/tsconfig.json +0 -22
- package/vite.config.js +0 -10
package/2f064957.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { aq as o, o as i } from "./4c6a0ece.js";
|
|
2
|
+
const l = (s, t) => {
|
|
3
|
+
const e = s.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 !== void 0 && e.attr("rx", t.rx), t.ry !== void 0 && 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 !== void 0 && e.attr("class", t.class), e;
|
|
8
|
+
}, x = (s, 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
|
+
l(s, e).lower();
|
|
19
|
+
}, d = (s, t) => {
|
|
20
|
+
const e = t.text.replace(o, " "), r = s.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 !== void 0 && r.attr("class", t.class);
|
|
22
|
+
const n = r.append("tspan");
|
|
23
|
+
return n.attr("x", t.x + t.textMargin * 2), n.text(e), r;
|
|
24
|
+
}, h = (s, t, e, r) => {
|
|
25
|
+
const n = s.append("image");
|
|
26
|
+
n.attr("x", t), n.attr("y", e);
|
|
27
|
+
const a = i.sanitizeUrl(r);
|
|
28
|
+
n.attr("xlink:href", a);
|
|
29
|
+
}, y = (s, t, e, r) => {
|
|
30
|
+
const n = s.append("use");
|
|
31
|
+
n.attr("x", t), n.attr("y", e);
|
|
32
|
+
const a = i.sanitizeUrl(r);
|
|
33
|
+
n.attr("xlink:href", `#${a}`);
|
|
34
|
+
}, g = () => ({
|
|
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
|
+
}), p = () => ({
|
|
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
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
x as a,
|
|
58
|
+
p as b,
|
|
59
|
+
y as c,
|
|
60
|
+
l as d,
|
|
61
|
+
h as e,
|
|
62
|
+
d as f,
|
|
63
|
+
g
|
|
64
|
+
};
|
package/2ff2c7a6.js
ADDED
package/2ff7471d.js
ADDED