react-big-screen 0.0.21 → 0.0.23
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/es/{IInputNumber-PnHJNf9H.mjs → IInputNumber-CEotcbKL.mjs} +1 -1
- package/es/{Line-CLgwvraj.mjs → Line-CgKiUu04.mjs} +3 -3
- package/es/{attributes-w4UsefFp.mjs → attributes-9sJ7OCyP.mjs} +32 -29
- package/es/{attributes-C0SMjnHG.mjs → attributes-B23RrL8i.mjs} +10 -8
- package/es/attributes-BL0o0sPi.mjs +34 -0
- package/es/{attributes-C5pimFaJ.mjs → attributes-Bfbf60g8.mjs} +17 -15
- package/es/attributes-C5CnEOVO.mjs +27 -0
- package/es/attributes-C64FfSI6.mjs +49 -0
- package/es/attributes-COqeO1sM.mjs +43 -0
- package/es/attributes-Di0JYz_d.mjs +41 -0
- package/es/attributes-Dp2yHpTx.mjs +37 -0
- package/es/{attributes-DdjjVR4N.mjs → attributes-DrbTSAq7.mjs} +10 -8
- package/es/{attributes-Dv8IMI4h.mjs → attributes-woY1Zfl3.mjs} +10 -8
- package/es/{attributes-E8oqU4q7.mjs → attributes-xzP7st08.mjs} +11 -9
- package/es/index-B1V_yDHb.mjs +47 -0
- package/es/{index-C6HV7IaP.mjs → index-B8GWWFIH.mjs} +30 -28
- package/es/{index-CpYmNO_5.mjs → index-B9wcrwqH.mjs} +55 -55
- package/es/{index-n9OtRMYa.mjs → index-BEdp0lB5.mjs} +30 -29
- package/es/index-BhEDT1MV.mjs +51 -0
- package/es/{index-DyB0TE1y.mjs → index-BkI6wVdV.mjs} +27 -25
- package/es/index-C3rjkbw6.mjs +46 -0
- package/es/{index-CRDggJyg.mjs → index-C4z4Sjq2.mjs} +61 -61
- package/es/{index-D--V8m-b.mjs → index-CFTpYaN8.mjs} +9 -9
- package/es/index-CG3CqHvP.mjs +43 -0
- package/es/{index-D_0vVSWq.mjs → index-CRraYtwg.mjs} +11 -9
- package/es/index-CTuwto2f.mjs +37 -0
- package/es/{index-B4KSL-Bu.mjs → index-CXzm2s6x.mjs} +11 -9
- package/es/index-Cg9iT8Uy.mjs +40 -0
- package/es/index-D2B6_fCJ.mjs +19 -0
- package/es/{index-guYPVm3G.mjs → index-D5seKG8I.mjs} +2 -2
- package/es/index-D8pMW8U5.mjs +61 -0
- package/es/{index-B8JqjjA1.mjs → index-D9o0U9Ub.mjs} +4 -4
- package/es/{index-Ljz96Vra.mjs → index-DG3JLNqh.mjs} +16 -14
- package/es/{index-Bvab-NQ4.mjs → index-D_XJCVB-.mjs} +24 -22
- package/es/index-Di6zy82j.mjs +48 -0
- package/es/index-Dqe0ts3H.mjs +26 -0
- package/es/index-DvVQnQMe.mjs +42 -0
- package/es/{index-B9Nb8R2I.mjs → index-DzOSmpKj.mjs} +17 -16
- package/es/{index-CyS-CdYv.mjs → index-XNZ9XEE4.mjs} +13 -12
- package/es/{index-Dh00vKAk.mjs → index-vk4BFyhF.mjs} +15 -13
- package/es/{index-ryl5yfWq.mjs → index-w5Djwuhu.mjs} +13 -11
- package/es/{index-D1ux0Voe.mjs → index-yEFPa0R2.mjs} +2 -2
- package/es/index.mjs +3 -3
- package/es/{selectPage-D267xnl4.mjs → selectPage-B19KQBZQ.mjs} +1 -1
- package/es/useCurrentPageId-BzI1Jj2f.mjs +20 -0
- package/package.json +1 -1
- package/types/src/export/components/RenderEditor/index.d.ts +2 -2
- package/types/src/export/index.d.ts +2 -2
- package/types/src/pages/components/Header/index.d.ts +1 -1
- package/es/attributes-BWtBVgsg.mjs +0 -41
- package/es/attributes-BuMChZnt.mjs +0 -47
- package/es/attributes-COwKDUMI.mjs +0 -35
- package/es/attributes-C_fbpAUx.mjs +0 -25
- package/es/attributes-DztmBsKn.mjs +0 -32
- package/es/attributes-YL1J6lLR.mjs +0 -39
- package/es/index-BRgbtPVH.mjs +0 -45
- package/es/index-BUth1V1H.mjs +0 -41
- package/es/index-BYJ5e2rN.mjs +0 -38
- package/es/index-BYe40Zu2.mjs +0 -46
- package/es/index-BzpuXSbE.mjs +0 -49
- package/es/index-CBxj6uKJ.mjs +0 -35
- package/es/index-CUkul7R0.mjs +0 -44
- package/es/index-DQU0jlV0.mjs +0 -24
- package/es/index-KruFCy9N.mjs +0 -17
- package/es/index-hPKl41YD.mjs +0 -40
- package/es/index-qoPI1H9i.mjs +0 -59
- package/es/useCurrentPageId-DM05DNLI.mjs +0 -18
package/es/index-CUkul7R0.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { jsx as i } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { R as r } from "./index-D--V8m-b.mjs";
|
|
3
|
-
import { n as a } from "./index-CRDggJyg.mjs";
|
|
4
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
8
|
-
import "antd";
|
|
9
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
10
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
11
|
-
const g = a((t) => {
|
|
12
|
-
const { width: e, height: o } = t;
|
|
13
|
-
return /* @__PURE__ */ i(
|
|
14
|
-
r,
|
|
15
|
-
{
|
|
16
|
-
options: {
|
|
17
|
-
tooltip: {
|
|
18
|
-
trigger: "item"
|
|
19
|
-
},
|
|
20
|
-
series: [
|
|
21
|
-
{
|
|
22
|
-
name: "Access From",
|
|
23
|
-
type: "pie",
|
|
24
|
-
radius: "50%",
|
|
25
|
-
data: [
|
|
26
|
-
{ value: 1048, name: "Search Engine" },
|
|
27
|
-
{ value: 735, name: "Direct" },
|
|
28
|
-
{ value: 580, name: "Email" },
|
|
29
|
-
{ value: 484, name: "Union Ads" },
|
|
30
|
-
{ value: 300, name: "Video Ads" }
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
style: {
|
|
36
|
-
width: e,
|
|
37
|
-
height: o
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
});
|
|
42
|
-
export {
|
|
43
|
-
g as default
|
|
44
|
-
};
|
package/es/index-DQU0jlV0.mjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Image as i } from "antd";
|
|
3
|
-
import { n as p } from "./index-CRDggJyg.mjs";
|
|
4
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
8
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
10
|
-
import { DEFAULT_OPTIONS as n } from "./attributes-COwKDUMI.mjs";
|
|
11
|
-
const g = p((e) => {
|
|
12
|
-
const { options: r, width: t, height: m } = e;
|
|
13
|
-
return /* @__PURE__ */ o(
|
|
14
|
-
i,
|
|
15
|
-
{
|
|
16
|
-
src: r == null ? void 0 : r.src,
|
|
17
|
-
style: { width: t, height: m, pointerEvents: "none" },
|
|
18
|
-
preview: !!(r != null && r.enablePreview)
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
}, n);
|
|
22
|
-
export {
|
|
23
|
-
g as default
|
|
24
|
-
};
|
package/es/index-KruFCy9N.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as m } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { n as p } from "./index-CRDggJyg.mjs";
|
|
3
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import "react-dom";
|
|
6
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
7
|
-
import "antd";
|
|
8
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
10
|
-
import { DEFAULT_OPTIONS as n } from "./attributes-C_fbpAUx.mjs";
|
|
11
|
-
const b = p((o) => {
|
|
12
|
-
const { options: t, width: r, height: i } = o;
|
|
13
|
-
return /* @__PURE__ */ m("div", { style: { width: r, height: i, background: t.background } });
|
|
14
|
-
}, n);
|
|
15
|
-
export {
|
|
16
|
-
b as default
|
|
17
|
-
};
|
package/es/index-hPKl41YD.mjs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as f } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { n as l } from "./index-CRDggJyg.mjs";
|
|
3
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
-
import { useRef as c, useEffect as a } from "react";
|
|
5
|
-
import "react-dom";
|
|
6
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
7
|
-
import "antd";
|
|
8
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
10
|
-
import { DEFAULT_OPTIONS as u } from "./attributes-BuMChZnt.mjs";
|
|
11
|
-
import d from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|
|
12
|
-
const M = l((m) => {
|
|
13
|
-
const { width: i, height: n, options: r } = m, e = c(null);
|
|
14
|
-
return a(() => {
|
|
15
|
-
function t() {
|
|
16
|
-
e.current.innerHTML = d().format("YYYY-MM-DD HH:mm:ss");
|
|
17
|
-
}
|
|
18
|
-
let o = setInterval(t, 1e3);
|
|
19
|
-
return t(), () => {
|
|
20
|
-
clearInterval(o);
|
|
21
|
-
};
|
|
22
|
-
}, []), /* @__PURE__ */ f(
|
|
23
|
-
"div",
|
|
24
|
-
{
|
|
25
|
-
style: {
|
|
26
|
-
width: i,
|
|
27
|
-
height: n,
|
|
28
|
-
color: r == null ? void 0 : r.color,
|
|
29
|
-
fontSize: r == null ? void 0 : r.fontSize,
|
|
30
|
-
textAlign: r == null ? void 0 : r.textAlign,
|
|
31
|
-
lineHeight: `${r == null ? void 0 : r.lineHeight}px`
|
|
32
|
-
},
|
|
33
|
-
ref: e,
|
|
34
|
-
children: 11
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
}, u);
|
|
38
|
-
export {
|
|
39
|
-
M as default
|
|
40
|
-
};
|
package/es/index-qoPI1H9i.mjs
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { jsx as c } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { R as u } from "./index-D--V8m-b.mjs";
|
|
3
|
-
import { n as f } from "./index-CRDggJyg.mjs";
|
|
4
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
|
-
import { useMemo as g } from "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
8
|
-
import "antd";
|
|
9
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
10
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
11
|
-
import { DEFAULT_OPTIONS as p } from "./attributes-w4UsefFp.mjs";
|
|
12
|
-
function l(m = "name", o, n) {
|
|
13
|
-
return !(o != null && o.length) || !(n != null && n.length) ? {
|
|
14
|
-
source: []
|
|
15
|
-
} : {
|
|
16
|
-
dimensions: [m, ...o.map((r) => r.name)],
|
|
17
|
-
source: n.map((r) => {
|
|
18
|
-
const a = { [m]: `${r[m] ?? ""}` };
|
|
19
|
-
return o.forEach((t) => {
|
|
20
|
-
a[t.name] = r[t.value] || 0;
|
|
21
|
-
}), a;
|
|
22
|
-
})
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
function h(m) {
|
|
26
|
-
var o;
|
|
27
|
-
return ((o = m == null ? void 0 : m.map) == null ? void 0 : o.call(m, (n) => ({
|
|
28
|
-
id: n == null ? void 0 : n.key,
|
|
29
|
-
type: "line",
|
|
30
|
-
color: n == null ? void 0 : n.color
|
|
31
|
-
}))) || [];
|
|
32
|
-
}
|
|
33
|
-
const R = f((m) => {
|
|
34
|
-
const { width: o, height: n, options: r, dataSource: a } = m, t = g(() => ({
|
|
35
|
-
tooltip: { trigger: "item" },
|
|
36
|
-
dataset: l(
|
|
37
|
-
r == null ? void 0 : r.nameCode,
|
|
38
|
-
r == null ? void 0 : r.seriesList,
|
|
39
|
-
Array.isArray(a) ? a : []
|
|
40
|
-
),
|
|
41
|
-
xAxis: [{ type: "category" }],
|
|
42
|
-
yAxis: [{}],
|
|
43
|
-
series: h(r == null ? void 0 : r.seriesList)
|
|
44
|
-
}), [a, r == null ? void 0 : r.seriesList, r == null ? void 0 : r.nameCode]);
|
|
45
|
-
return /* @__PURE__ */ c(
|
|
46
|
-
u,
|
|
47
|
-
{
|
|
48
|
-
options: t,
|
|
49
|
-
style: {
|
|
50
|
-
width: o,
|
|
51
|
-
height: n,
|
|
52
|
-
background: r == null ? void 0 : r.background
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
);
|
|
56
|
-
}, p);
|
|
57
|
-
export {
|
|
58
|
-
R as default
|
|
59
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { b as i, D as m } from "./index-CRDggJyg.mjs";
|
|
2
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "react-dom";
|
|
5
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
6
|
-
import "antd";
|
|
7
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
|
-
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
10
|
-
function l() {
|
|
11
|
-
return i((r) => {
|
|
12
|
-
var o;
|
|
13
|
-
return ((o = r == null ? void 0 : r.config) == null ? void 0 : o.currentPageId) || m.id;
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
l as u
|
|
18
|
-
};
|