react-big-screen 0.0.14 → 0.0.17
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-Vk6zq2bP.mjs → IInputNumber-PnHJNf9H.mjs} +1 -1
- package/es/{Line-DVDoMjnT.mjs → Line-CLgwvraj.mjs} +2 -2
- package/es/{attributes-C9O8_sg4.mjs → attributes-B2zdUkEM.mjs} +6 -5
- package/es/{attributes-CWY2_iW1.mjs → attributes-BoihG0Pf.mjs} +13 -12
- package/es/{attributes-C3fvsuzJ.mjs → attributes-CCphg5Uz.mjs} +6 -5
- package/es/{attributes-D6BpnolK.mjs → attributes-CGZYjvqh.mjs} +12 -12
- package/es/{attributes-CW_9BAq2.mjs → attributes-CReX9tBs.mjs} +7 -6
- package/es/{attributes-DUZPLASc.mjs → attributes-Cp6DmzH2.mjs} +6 -5
- package/es/{attributes-Dhnyf9QU.mjs → attributes-D0U-wvwb.mjs} +9 -8
- package/es/{attributes-BmekoT3X.mjs → attributes-DDwE7z2U.mjs} +6 -5
- package/es/{attributes-BPU7D3rB.mjs → attributes-DFoyvXIt.mjs} +6 -5
- package/es/{attributes-Btb0WFLF.mjs → attributes-DiQPq5cp.mjs} +6 -5
- package/es/{attributes-D4wypprY.mjs → attributes-GO1j5FqP.mjs} +6 -5
- package/es/{attributes-BQYKMvcj.mjs → attributes-IldrBXRw.mjs} +6 -5
- package/es/{index-Bi3qRAX3.mjs → index-3f6NpN6Q.mjs} +7 -6
- package/es/{index-0kmSz75m.mjs → index-3yjjqo9a.mjs} +14 -13
- package/es/{index-DYMjU1YC.mjs → index-7SrSU63A.mjs} +23 -22
- package/es/{index-D-3DbMMl.mjs → index-94huGSfW.mjs} +8 -7
- package/es/{index-CK1f83Ne.mjs → index-BCzhbh3u.mjs} +28 -27
- package/es/{index-pjNmKgyo.mjs → index-BOLcaCeQ.mjs} +5 -5
- package/es/{index-DWpwc6bV.mjs → index-BaY0buPw.mjs} +8 -7
- package/es/{index-Cj_g4N5m.mjs → index-BfVztt-6.mjs} +7 -6
- package/es/{index-BZYcTX5j.mjs → index-BqPf_Hxm.mjs} +38 -38
- package/es/{index-CwijThLu.mjs → index-C2gXj9yh.mjs} +3 -3
- package/es/{index-Cslh09K5.mjs → index-CEejLCq7.mjs} +7 -6
- package/es/{index-CwGNi732.mjs → index-CNgtHfNT.mjs} +12 -11
- package/es/{index-LSiyLbzB.mjs → index-COdMO6-N.mjs} +8 -7
- package/es/{index-s23NvDdl.mjs → index-CSzeRH1c.mjs} +4 -4
- package/es/{index-Dx-GVWd-.mjs → index-D1jy9Oi_.mjs} +6 -6
- package/es/{index-Cq0uVP0H.mjs → index-D1ux0Voe.mjs} +1 -1
- package/es/{index-DThqOiX3.mjs → index-D3O-30zC.mjs} +7 -6
- package/es/{index-yEom7dpa.mjs → index-D44zLboN.mjs} +7 -6
- package/es/{index-LjyKMBIL.mjs → index-DJy3VCmO.mjs} +8 -7
- package/es/{index-B2DgN7Ho.mjs → index-DbwrHA2p.mjs} +12 -11
- package/es/{index-efgz51Ht.mjs → index-DcqPY0qy.mjs} +12 -12
- package/es/{index-CTx-cvWk.mjs → index-DdNS18i9.mjs} +12 -12
- package/es/{index-DpRRQVh-.mjs → index-I1LC9rW6.mjs} +120 -120
- package/es/{index-BlACjoGr.mjs → index-Id1jg1qj.mjs} +7 -6
- package/es/{index-DSz8a2B7.mjs → index-VRwDBwp0.mjs} +10 -9
- package/es/{index-C6Xzniz1.mjs → index-X3IxUabI.mjs} +7 -6
- package/es/{index-kvRZQZJ-.mjs → index-guYPVm3G.mjs} +1 -1
- package/es/{index-Cz49jHht.mjs → index-jD_EEzQJ.mjs} +17 -16
- package/es/index.mjs +7 -6
- package/es/{selectPage-bS9p5soG.mjs → selectPage-DGZoj14b.mjs} +2 -2
- package/es/{useCurrentPageId-Cc4bRYxO.mjs → useCurrentPageId-CuYS8NBR.mjs} +6 -5
- package/es/useEffectOnce-l5sUTCBG.mjs +7 -0
- package/es/useListenRef-B01dENv0.mjs +8 -0
- package/es/{useResizeDom-BUgMcz6M.mjs → useResizeDom-B6mM4jrh.mjs} +2 -2
- 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/useEffectOnce-Ct0JMBZd.mjs +0 -7
- package/es/useListenRef-Dqm6KZRj.mjs +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
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 { Input as n, InputNumber as m } from "
|
|
2
|
+
import { Input as n, InputNumber as m } from "antd";
|
|
3
3
|
function u(t) {
|
|
4
4
|
const { onChange: e, ...r } = t;
|
|
5
5
|
return /* @__PURE__ */ o(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as _ } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import b, { useState as S, createContext as g, useContext as k } from "
|
|
2
|
+
import b, { useState as S, createContext as g, useContext as k } from "react";
|
|
3
3
|
import { SketchPicker as v } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-color@2.19.3_react@18.3.1/node_modules/react-color/es/index.js";
|
|
4
|
-
import { Dropdown as o, Input as D, Row as w, Col as f, Tooltip as N } from "
|
|
4
|
+
import { Dropdown as o, Input as D, Row as w, Col as f, Tooltip as N } from "antd";
|
|
5
5
|
import C from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
6
6
|
const I = "_IColorPicker_p2bys_59", $ = {
|
|
7
7
|
IColorPicker: I
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as e } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { o as r } from "./index-
|
|
2
|
+
import { o as r } from "./index-BqPf_Hxm.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
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";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
10
|
const o = {
|
|
@@ -17,7 +18,7 @@ const o = {
|
|
|
17
18
|
// 滚动配置
|
|
18
19
|
autoScroll: !0,
|
|
19
20
|
pxPerSecond: 12
|
|
20
|
-
},
|
|
21
|
+
}, u = r(
|
|
21
22
|
[
|
|
22
23
|
/* @__PURE__ */ e("b", { children: "基本配置" }, "data"),
|
|
23
24
|
{
|
|
@@ -92,5 +93,5 @@ const o = {
|
|
|
92
93
|
);
|
|
93
94
|
export {
|
|
94
95
|
o as DEFAULT_OPTIONS,
|
|
95
|
-
|
|
96
|
+
u as default
|
|
96
97
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { o as r } from "./index-
|
|
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 { o as r } from "./index-BqPf_Hxm.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
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";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
|
-
const
|
|
10
|
+
const e = {
|
|
10
11
|
// mapHoverColor: "rgba(16,43,128,0.9)",
|
|
11
12
|
// mapSelectedColor: "rgba(16,43,128,1)",
|
|
12
13
|
areaColor: "#183558",
|
|
13
14
|
centerX: 0,
|
|
14
15
|
centerY: 0,
|
|
15
16
|
scale: 0
|
|
16
|
-
},
|
|
17
|
+
}, b = r(
|
|
17
18
|
[
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "基本配置" }, "data"),
|
|
19
20
|
{
|
|
20
21
|
key: "showLabel",
|
|
21
22
|
label: "显示标签",
|
|
@@ -36,7 +37,7 @@ const o = {
|
|
|
36
37
|
component: "colorPicker",
|
|
37
38
|
options: {
|
|
38
39
|
reset: !0,
|
|
39
|
-
resetColor:
|
|
40
|
+
resetColor: e.areaColor
|
|
40
41
|
}
|
|
41
42
|
},
|
|
42
43
|
{
|
|
@@ -79,7 +80,7 @@ const o = {
|
|
|
79
80
|
reset: !0
|
|
80
81
|
}
|
|
81
82
|
},
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
+
/* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "位移配置" }, "data"),
|
|
83
84
|
{
|
|
84
85
|
key: "centerX",
|
|
85
86
|
label: "中心坐标 x",
|
|
@@ -108,9 +109,9 @@ const o = {
|
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
],
|
|
111
|
-
|
|
112
|
+
e
|
|
112
113
|
);
|
|
113
114
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
e as DEFAULT_OPTIONS,
|
|
116
|
+
b as default
|
|
116
117
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
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 { o as t } from "./index-
|
|
2
|
+
import { o as t } from "./index-BqPf_Hxm.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
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";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
10
|
const r = {
|
|
10
11
|
autoScroll: !0,
|
|
11
12
|
pxPerSecond: 12
|
|
12
|
-
},
|
|
13
|
+
}, b = t(
|
|
13
14
|
[
|
|
14
15
|
/* @__PURE__ */ o("b", { children: "滚动配置" }, "data"),
|
|
15
16
|
{
|
|
@@ -27,5 +28,5 @@ const r = {
|
|
|
27
28
|
);
|
|
28
29
|
export {
|
|
29
30
|
r as DEFAULT_OPTIONS,
|
|
30
|
-
|
|
31
|
+
b as default
|
|
31
32
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as y, jsx as d } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { i as k, c as I, o as L } from "./index-
|
|
2
|
+
import { i as k, c as I, o as L } from "./index-BqPf_Hxm.mjs";
|
|
3
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 S, useMemo as H } from "
|
|
5
|
-
import "
|
|
4
|
+
import { useRef as S, useMemo as H } from "react";
|
|
5
|
+
import "react-dom";
|
|
6
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 { Space as N } from "antd";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
10
|
import g from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
10
|
-
import { CloseOutlined as
|
|
11
|
-
import { b as
|
|
12
|
-
import {
|
|
13
|
-
import { L as D, a as v, I as C, b as P } from "./Line-DVDoMjnT.mjs";
|
|
11
|
+
import { CloseOutlined as R, PlusOutlined as A } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/@ant-design+icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/index.js";
|
|
12
|
+
import { b as T, I as q } from "./index-D1ux0Voe.mjs";
|
|
13
|
+
import { L as D, a as v, I as C, b as P } from "./Line-CLgwvraj.mjs";
|
|
14
14
|
const w = "_editSeriesList_c1zv3_59", O = {
|
|
15
15
|
editSeriesList: w
|
|
16
16
|
}, U = "_tabsHead_1q8na_59", j = "_tabsHead_add_1q8na_64", B = "_tabsHead_body_1q8na_72", E = "_tabsHead_body_inner_1q8na_85", F = "_tabsHead_item_1q8na_90", K = "_tabsHead_item_selected_1q8na_102", $ = "_tabsHead_item_delete_1q8na_107", h = {
|
|
@@ -27,7 +27,7 @@ function z(e) {
|
|
|
27
27
|
const t = S(null);
|
|
28
28
|
function _(n) {
|
|
29
29
|
const m = n.getBoundingClientRect(), b = t.current.getBoundingClientRect();
|
|
30
|
-
return
|
|
30
|
+
return T(
|
|
31
31
|
{ x1: m.x, y1: m.y, x2: m.right, y2: m.bottom },
|
|
32
32
|
{
|
|
33
33
|
x1: b.x,
|
|
@@ -61,7 +61,7 @@ function z(e) {
|
|
|
61
61
|
children: [
|
|
62
62
|
n == null ? void 0 : n.label,
|
|
63
63
|
/* @__PURE__ */ d(
|
|
64
|
-
|
|
64
|
+
R,
|
|
65
65
|
{
|
|
66
66
|
className: g(h.tabsHead_item_delete, "icon_clickable"),
|
|
67
67
|
onClick: (r) => {
|
|
@@ -75,7 +75,7 @@ function z(e) {
|
|
|
75
75
|
(n == null ? void 0 : n.value) || m
|
|
76
76
|
);
|
|
77
77
|
}) }) }),
|
|
78
|
-
(e == null ? void 0 : e.showAdd) && /* @__PURE__ */ d("div", { className: h.tabsHead_add, onClick: e == null ? void 0 : e.onAdd, children: /* @__PURE__ */ d(
|
|
78
|
+
(e == null ? void 0 : e.showAdd) && /* @__PURE__ */ d("div", { className: h.tabsHead_add, onClick: e == null ? void 0 : e.onAdd, children: /* @__PURE__ */ d(A, {}) })
|
|
79
79
|
] });
|
|
80
80
|
}
|
|
81
81
|
function M(e) {
|
|
@@ -86,7 +86,7 @@ function M(e) {
|
|
|
86
86
|
...l
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
return /* @__PURE__ */ d(D, { labelSpan: 6, children: /* @__PURE__ */ y(
|
|
89
|
+
return /* @__PURE__ */ d(D, { labelSpan: 6, children: /* @__PURE__ */ y(N, { direction: "vertical", style: { width: "100%", padding: 12 }, children: [
|
|
90
90
|
/* @__PURE__ */ d(v, { label: "名称", children: /* @__PURE__ */ d(C, { value: t == null ? void 0 : t.name, onChange: (l) => s({ name: l }) }) }),
|
|
91
91
|
/* @__PURE__ */ d(v, { label: "字段", children: /* @__PURE__ */ d(C, { value: t == null ? void 0 : t.value, onChange: (l) => s({ value: l }) }) }),
|
|
92
92
|
/* @__PURE__ */ d(v, { label: "颜色", children: /* @__PURE__ */ d(P, { value: t == null ? void 0 : t.color, onChange: (l) => s({ color: l }) }) })
|
|
@@ -144,7 +144,7 @@ function V(e) {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
),
|
|
147
|
-
!n && /* @__PURE__ */ d(
|
|
147
|
+
!n && /* @__PURE__ */ d(q, {}),
|
|
148
148
|
n && /* @__PURE__ */ d(
|
|
149
149
|
M,
|
|
150
150
|
{
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as e } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { o as t } from "./index-
|
|
2
|
+
import { o as t } from "./index-BqPf_Hxm.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
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";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
|
-
import { I as b } from "./index-
|
|
10
|
+
import { I as b } from "./index-CSzeRH1c.mjs";
|
|
10
11
|
const g = {
|
|
11
12
|
id: "clock.png"
|
|
12
|
-
},
|
|
13
|
+
}, h = t(
|
|
13
14
|
[
|
|
14
15
|
/* @__PURE__ */ e("b", { children: "基本配置" }, "data"),
|
|
15
16
|
{
|
|
@@ -53,5 +54,5 @@ const g = {
|
|
|
53
54
|
);
|
|
54
55
|
export {
|
|
55
56
|
g as DEFAULT_OPTIONS,
|
|
56
|
-
|
|
57
|
+
h as default
|
|
57
58
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
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 { o as n } from "./index-
|
|
2
|
+
import { o as n } from "./index-BqPf_Hxm.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
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";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
10
|
const l = {
|
|
@@ -48,7 +49,7 @@ function t(e) {
|
|
|
48
49
|
{ key: "textAlign" + e, label: "水平对齐", component: "textAlignSelect" }
|
|
49
50
|
];
|
|
50
51
|
}
|
|
51
|
-
const
|
|
52
|
+
const y = n(
|
|
52
53
|
[
|
|
53
54
|
/* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "第一行配置" }, "line-1"),
|
|
54
55
|
...t("_1"),
|
|
@@ -59,5 +60,5 @@ const g = n(
|
|
|
59
60
|
);
|
|
60
61
|
export {
|
|
61
62
|
l as DEFAULT_OPTIONS,
|
|
62
|
-
|
|
63
|
+
y as default
|
|
63
64
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { o as
|
|
1
|
+
import { o as t } from "./index-BqPf_Hxm.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
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";
|
|
6
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
|
-
const
|
|
10
|
+
const e = {
|
|
10
11
|
color: "#2EDCF7",
|
|
11
12
|
value: "一段文字",
|
|
12
13
|
fontSize: 20,
|
|
13
14
|
lineHeight: 32
|
|
14
|
-
},
|
|
15
|
+
}, b = t(
|
|
15
16
|
[
|
|
16
17
|
{ key: "value", label: "内容", component: "textarea" },
|
|
17
18
|
{ key: "fontSize", label: "字号", component: "inputNumber", options: { min: 8 } },
|
|
@@ -32,9 +33,9 @@ const t = {
|
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
],
|
|
35
|
-
|
|
36
|
+
e
|
|
36
37
|
);
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
e as DEFAULT_OPTIONS,
|
|
40
|
+
b as default
|
|
40
41
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { o as e } from "./index-
|
|
1
|
+
import { o as e } from "./index-BqPf_Hxm.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
-
import { useMemo as n } from "
|
|
4
|
-
import "
|
|
3
|
+
import { useMemo as n } from "react";
|
|
4
|
+
import "react-dom";
|
|
5
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";
|
|
6
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
@@ -13,7 +14,7 @@ const b = {
|
|
|
13
14
|
borderColor: "rgba(83, 141, 233, 0.54)",
|
|
14
15
|
background: "rgba(22, 28, 48, 0.8)",
|
|
15
16
|
color: "rgb(71, 216, 218)"
|
|
16
|
-
},
|
|
17
|
+
}, k = e(
|
|
17
18
|
[
|
|
18
19
|
{ key: "title", label: "标题", component: "input" },
|
|
19
20
|
{ key: "bordered", label: "边框", component: "checkbox" },
|
|
@@ -42,5 +43,5 @@ const b = {
|
|
|
42
43
|
);
|
|
43
44
|
export {
|
|
44
45
|
b as DEFAULT_OPTIONS,
|
|
45
|
-
|
|
46
|
+
k as default
|
|
46
47
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { o as e } from "./index-
|
|
1
|
+
import { o as e } from "./index-BqPf_Hxm.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
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";
|
|
6
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
@@ -10,7 +11,7 @@ const t = {
|
|
|
10
11
|
color: "#F8E71C",
|
|
11
12
|
fontSize: 20,
|
|
12
13
|
lineHeight: 22
|
|
13
|
-
},
|
|
14
|
+
}, b = e(
|
|
14
15
|
[
|
|
15
16
|
{
|
|
16
17
|
key: "color",
|
|
@@ -42,5 +43,5 @@ const t = {
|
|
|
42
43
|
);
|
|
43
44
|
export {
|
|
44
45
|
t as DEFAULT_OPTIONS,
|
|
45
|
-
|
|
46
|
+
b as default
|
|
46
47
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { o as t } from "./index-
|
|
1
|
+
import { o as t } from "./index-BqPf_Hxm.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
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";
|
|
6
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
10
|
const o = {
|
|
10
11
|
src: "https://ts3.cn.mm.bing.net/th?id=OIP-C.3r1vguZyWFUJ80A2Nf2k3AHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=2&pid=3.1&rm=2"
|
|
11
|
-
},
|
|
12
|
+
}, b = t(
|
|
12
13
|
[
|
|
13
14
|
{
|
|
14
15
|
key: "src",
|
|
@@ -30,5 +31,5 @@ const o = {
|
|
|
30
31
|
);
|
|
31
32
|
export {
|
|
32
33
|
o as DEFAULT_OPTIONS,
|
|
33
|
-
|
|
34
|
+
b as default
|
|
34
35
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { o } from "./index-
|
|
1
|
+
import { o } from "./index-BqPf_Hxm.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
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";
|
|
6
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
10
|
const t = {
|
|
10
11
|
background: "#223447"
|
|
11
|
-
},
|
|
12
|
+
}, b = o(
|
|
12
13
|
[
|
|
13
14
|
{
|
|
14
15
|
key: "background",
|
|
@@ -20,5 +21,5 @@ const t = {
|
|
|
20
21
|
);
|
|
21
22
|
export {
|
|
22
23
|
t as DEFAULT_OPTIONS,
|
|
23
|
-
|
|
24
|
+
b as default
|
|
24
25
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { o as t } from "./index-
|
|
1
|
+
import { o as t } from "./index-BqPf_Hxm.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
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";
|
|
6
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
10
|
const o = {
|
|
10
11
|
titleColor: "#000",
|
|
11
12
|
subtextColor: "#bababa"
|
|
12
|
-
},
|
|
13
|
+
}, c = t(
|
|
13
14
|
[
|
|
14
15
|
{
|
|
15
16
|
key: "titleColor",
|
|
@@ -34,5 +35,5 @@ const o = {
|
|
|
34
35
|
);
|
|
35
36
|
export {
|
|
36
37
|
o as DEFAULT_OPTIONS,
|
|
37
|
-
|
|
38
|
+
c as default
|
|
38
39
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
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-
|
|
3
|
-
import { n as a } from "./index-
|
|
2
|
+
import { R as r } from "./index-C2gXj9yh.mjs";
|
|
3
|
+
import { n as a } from "./index-BqPf_Hxm.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
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";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
10
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
10
|
-
const
|
|
11
|
+
const g = a((t) => {
|
|
11
12
|
const { width: e, height: o } = t;
|
|
12
13
|
return /* @__PURE__ */ i(
|
|
13
14
|
r,
|
|
@@ -39,5 +40,5 @@ const f = a((t) => {
|
|
|
39
40
|
);
|
|
40
41
|
});
|
|
41
42
|
export {
|
|
42
|
-
|
|
43
|
+
g as default
|
|
43
44
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
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-
|
|
2
|
+
import { n as l } from "./index-BqPf_Hxm.mjs";
|
|
3
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 "
|
|
5
|
-
import "
|
|
4
|
+
import { useRef as c, useEffect as a } from "react";
|
|
5
|
+
import "react-dom";
|
|
6
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";
|
|
7
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
|
-
import { DEFAULT_OPTIONS as u } from "./attributes-
|
|
10
|
+
import { DEFAULT_OPTIONS as u } from "./attributes-DFoyvXIt.mjs";
|
|
10
11
|
import d from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|
|
11
|
-
const
|
|
12
|
-
const { width: i, height: n, options:
|
|
12
|
+
const M = l((m) => {
|
|
13
|
+
const { width: i, height: n, options: r } = m, e = c(null);
|
|
13
14
|
return a(() => {
|
|
14
15
|
function t() {
|
|
15
|
-
|
|
16
|
+
e.current.innerHTML = d().format("YYYY-MM-DD HH:mm:ss");
|
|
16
17
|
}
|
|
17
18
|
let o = setInterval(t, 1e3);
|
|
18
19
|
return t(), () => {
|
|
@@ -24,16 +25,16 @@ const D = l((m) => {
|
|
|
24
25
|
style: {
|
|
25
26
|
width: i,
|
|
26
27
|
height: n,
|
|
27
|
-
color:
|
|
28
|
-
fontSize:
|
|
29
|
-
textAlign:
|
|
30
|
-
lineHeight: `${
|
|
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`
|
|
31
32
|
},
|
|
32
|
-
ref:
|
|
33
|
+
ref: e,
|
|
33
34
|
children: 11
|
|
34
35
|
}
|
|
35
36
|
);
|
|
36
37
|
}, u);
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
M as default
|
|
39
40
|
};
|
|
@@ -1,58 +1,59 @@
|
|
|
1
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-
|
|
3
|
-
import { n as f } from "./index-
|
|
2
|
+
import { R as u } from "./index-C2gXj9yh.mjs";
|
|
3
|
+
import { n as f } from "./index-BqPf_Hxm.mjs";
|
|
4
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 "
|
|
6
|
-
import "
|
|
5
|
+
import { useMemo as g } from "react";
|
|
6
|
+
import "react-dom";
|
|
7
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";
|
|
8
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
10
|
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
|
|
11
|
-
function
|
|
12
|
-
return !(
|
|
11
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-CGZYjvqh.mjs";
|
|
12
|
+
function l(m = "name", o, n) {
|
|
13
|
+
return !(o != null && o.length) || !(n != null && n.length) ? {
|
|
13
14
|
source: []
|
|
14
15
|
} : {
|
|
15
|
-
dimensions: [m, ...
|
|
16
|
+
dimensions: [m, ...o.map((r) => r.name)],
|
|
16
17
|
source: n.map((r) => {
|
|
17
|
-
const
|
|
18
|
-
return
|
|
19
|
-
|
|
20
|
-
}),
|
|
18
|
+
const a = { [m]: `${r[m] ?? ""}` };
|
|
19
|
+
return o.forEach((t) => {
|
|
20
|
+
a[t.name] = r[t.value] || 0;
|
|
21
|
+
}), a;
|
|
21
22
|
})
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function h(m) {
|
|
25
|
-
var
|
|
26
|
-
return ((
|
|
26
|
+
var o;
|
|
27
|
+
return ((o = m == null ? void 0 : m.map) == null ? void 0 : o.call(m, (n) => ({
|
|
27
28
|
id: n == null ? void 0 : n.key,
|
|
28
29
|
type: "line",
|
|
29
30
|
color: n == null ? void 0 : n.color
|
|
30
31
|
}))) || [];
|
|
31
32
|
}
|
|
32
|
-
const
|
|
33
|
-
const { width:
|
|
33
|
+
const R = f((m) => {
|
|
34
|
+
const { width: o, height: n, options: r, dataSource: a } = m, t = g(() => ({
|
|
34
35
|
tooltip: { trigger: "item" },
|
|
35
|
-
dataset:
|
|
36
|
+
dataset: l(
|
|
36
37
|
r == null ? void 0 : r.nameCode,
|
|
37
38
|
r == null ? void 0 : r.seriesList,
|
|
38
|
-
Array.isArray(
|
|
39
|
+
Array.isArray(a) ? a : []
|
|
39
40
|
),
|
|
40
41
|
xAxis: [{ type: "category" }],
|
|
41
42
|
yAxis: [{}],
|
|
42
43
|
series: h(r == null ? void 0 : r.seriesList)
|
|
43
|
-
}), [
|
|
44
|
+
}), [a, r == null ? void 0 : r.seriesList, r == null ? void 0 : r.nameCode]);
|
|
44
45
|
return /* @__PURE__ */ c(
|
|
45
46
|
u,
|
|
46
47
|
{
|
|
47
48
|
options: t,
|
|
48
49
|
style: {
|
|
49
|
-
width:
|
|
50
|
+
width: o,
|
|
50
51
|
height: n,
|
|
51
52
|
background: r == null ? void 0 : r.background
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
);
|
|
55
|
-
},
|
|
56
|
+
}, p);
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
R as default
|
|
58
59
|
};
|