react-big-screen 0.0.16 → 0.0.19
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-8TbQFEeQ.mjs} +3 -3
- package/es/{Line-DVDoMjnT.mjs → Line-h-rhOKev.mjs} +37 -37
- package/es/{attributes-CaEhpijN.mjs → attributes-5RpQLPsm.mjs} +4 -4
- package/es/{attributes-GqB4d5iv.mjs → attributes-B8s8kYoD.mjs} +1 -1
- package/es/{attributes-DpCS0mF3.mjs → attributes-BDv3jJ5O.mjs} +1 -1
- package/es/{attributes-CiSpGTC2.mjs → attributes-BIXlzE3A.mjs} +1 -1
- package/es/{attributes-UoPVReqf.mjs → attributes-CauLjFb0.mjs} +1 -1
- package/es/{attributes-CTkK-zKe.mjs → attributes-CgnjWsLu.mjs} +1 -1
- package/es/{attributes-C6-L5-Tc.mjs → attributes-CqNLwRW3.mjs} +5 -5
- package/es/{attributes-yLDINEsg.mjs → attributes-CuUxWoIW.mjs} +1 -1
- package/es/{attributes-DkJdS65t.mjs → attributes-CxnJg-FT.mjs} +1 -1
- package/es/{attributes-DWlxiiYG.mjs → attributes-DBip_IK_.mjs} +54 -55
- package/es/{attributes-CLKtng9Z.mjs → attributes-DYnxULqW.mjs} +1 -1
- package/es/{attributes-HHhF4o7Y.mjs → attributes-NVduSBUS.mjs} +2 -2
- package/es/{index-Ccbgx0jH.mjs → index-56XQx0At.mjs} +2 -2
- package/es/{index-D5vYVcTR.mjs → index-8Jjn38kS.mjs} +20 -21
- package/es/{index-CAMpiOxt.mjs → index-BAzeX1Ol.mjs} +26 -27
- package/es/{index-CbTTJ-CP.mjs → index-BFdLFt4J.mjs} +2 -2
- package/es/{index-Dk9oedlP.mjs → index-BInCuYp5.mjs} +14 -15
- package/es/{index-CV3CbGOy.mjs → index-BVjByyUe.mjs} +2 -2
- package/es/{index-0K85o51g.mjs → index-Bdqrb_sj.mjs} +3 -3
- package/es/index-BhafNo6T.mjs +16092 -0
- package/es/{index-BldlzvuU.mjs → index-Bi3lZwlI.mjs} +50 -51
- package/es/{index-D0KDJrVL.mjs → index-C49BBpRX.mjs} +2 -2
- package/es/{index-BM4ILKEc.mjs → index-CBAcYtqX.mjs} +3 -3
- package/es/{index-CUNz1tFb.mjs → index-CFdcAnNu.mjs} +3 -3
- package/es/{index-DexsopTp.mjs → index-CgI9EXqn.mjs} +2 -2
- package/es/{index-DKoTC2Xk.mjs → index-CjeVSp69.mjs} +2 -2
- package/es/{index-BCZdjBJJ.mjs → index-Cm-Rzkqs.mjs} +42 -43
- package/es/{index-iFuEY-wV.mjs → index-D07zNDg9.mjs} +8 -8
- package/es/{index-CZvhSCSC.mjs → index-DCIgeYYw.mjs} +2 -2
- package/es/{index-Clk_czMj.mjs → index-Daza1EsK.mjs} +1 -1
- package/es/{index-qrNjlWih.mjs → index-Dkl0nzkU.mjs} +4 -4
- package/es/{index-sZk6Or23.mjs → index-Dvs_cgct.mjs} +6 -6
- package/es/{index-BNC3UbKF.mjs → index-DzRsgn_u.mjs} +15 -15
- package/es/{index-thG37Ydl.mjs → index-GdH3Zwz0.mjs} +2 -2
- package/es/{index-GcMZDFMx.mjs → index-SkjPQ6Pt.mjs} +2 -2
- package/es/index-dxiyF_62.mjs +29 -0
- package/es/{index-lLnHnoQq.mjs → index-i0K7Ynj-.mjs} +2 -2
- package/es/{index-C9hmLstz.mjs → index-nSniwbAA.mjs} +5 -6
- package/es/{index-C2dVSPVz.mjs → index-umVDADGS.mjs} +3 -3
- package/es/index.mjs +4 -4
- package/es/{selectPage-BYoFtkBW.mjs → selectPage-ChSsIBe9.mjs} +1 -1
- package/es/{useCurrentPageId-BKvMaKLl.mjs → useCurrentPageId-BlVc4whf.mjs} +1 -1
- package/package.json +1 -1
- package/es/index-ClIbiw0p.mjs +0 -4441
- package/es/index-Cq0uVP0H.mjs +0 -29
|
@@ -1,9 +1,9 @@
|
|
|
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 {
|
|
2
|
+
import { g as s, I as n } from "./index-BhafNo6T.mjs";
|
|
3
3
|
function u(t) {
|
|
4
4
|
const { onChange: e, ...r } = t;
|
|
5
5
|
return /* @__PURE__ */ o(
|
|
6
|
-
|
|
6
|
+
s.TextArea,
|
|
7
7
|
{
|
|
8
8
|
allowClear: !0,
|
|
9
9
|
maxLength: 500,
|
|
@@ -18,7 +18,7 @@ function u(t) {
|
|
|
18
18
|
function i(t) {
|
|
19
19
|
const { onChange: e, ...r } = t;
|
|
20
20
|
return /* @__PURE__ */ o(
|
|
21
|
-
|
|
21
|
+
n,
|
|
22
22
|
{
|
|
23
23
|
min: 1,
|
|
24
24
|
max: 99999999,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as i, jsxs as _ } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
+
import y, { useState as S, createContext as g, useContext as k } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/antd@4.24.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/index.js";
|
|
5
4
|
import C from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
5
|
+
import { D, g as o, q as w, r as f, T as N } from "./index-BhafNo6T.mjs";
|
|
6
6
|
const I = "_IColorPicker_p2bys_59", $ = {
|
|
7
7
|
IColorPicker: I
|
|
8
8
|
}, P = "_customDropDown_t0e27_59", L = {
|
|
9
9
|
customDropDown: P
|
|
10
|
-
}, x =
|
|
11
|
-
const { trigger: l = ["click"], overlayChildren: n, children: t } = e, c = typeof n == "function" ? n == null ? void 0 : n(
|
|
12
|
-
function
|
|
10
|
+
}, x = y.memo(function(e) {
|
|
11
|
+
const { trigger: l = ["click"], overlayChildren: n, children: t } = e, c = typeof n == "function" ? n == null ? void 0 : n(a) : n, m = typeof t == "function" ? t == null ? void 0 : t(a) : t;
|
|
12
|
+
function a() {
|
|
13
13
|
var u;
|
|
14
14
|
(u = e == null ? void 0 : e.onClose) == null || u.call(e);
|
|
15
15
|
}
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
|
|
16
|
+
return /* @__PURE__ */ i(
|
|
17
|
+
D,
|
|
18
18
|
{
|
|
19
19
|
className: e == null ? void 0 : e.className,
|
|
20
20
|
open: e == null ? void 0 : e.visible,
|
|
@@ -29,35 +29,35 @@ const I = "_IColorPicker_p2bys_59", $ = {
|
|
|
29
29
|
},
|
|
30
30
|
overlayClassName: C(L.customDropDown, e == null ? void 0 : e.overlayClassName),
|
|
31
31
|
onOpenChange: (u) => {
|
|
32
|
-
u ||
|
|
32
|
+
u || a();
|
|
33
33
|
},
|
|
34
34
|
children: m
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
37
|
});
|
|
38
|
-
function
|
|
38
|
+
function E(e) {
|
|
39
39
|
const { value: l = "white" } = e, [n, t] = S(!1);
|
|
40
40
|
function c() {
|
|
41
41
|
t(!1);
|
|
42
42
|
}
|
|
43
|
-
return /* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ i(
|
|
44
44
|
x,
|
|
45
45
|
{
|
|
46
46
|
visible: n,
|
|
47
47
|
onClose: c,
|
|
48
|
-
overlayChildren: /* @__PURE__ */
|
|
48
|
+
overlayChildren: /* @__PURE__ */ i(
|
|
49
49
|
v,
|
|
50
50
|
{
|
|
51
51
|
width: "250px",
|
|
52
52
|
color: l,
|
|
53
53
|
onChange: (m) => {
|
|
54
54
|
var h;
|
|
55
|
-
const { rgb:
|
|
55
|
+
const { rgb: a } = m, u = a.a === 1 ? m.hex : `rgba(${a.r}, ${a.g}, ${a.b}, ${a.a})`;
|
|
56
56
|
(h = e == null ? void 0 : e.onChange) == null || h.call(e, `${u}` || "#fff");
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
),
|
|
60
|
-
children: /* @__PURE__ */
|
|
60
|
+
children: /* @__PURE__ */ i(
|
|
61
61
|
"div",
|
|
62
62
|
{
|
|
63
63
|
className: $.IColorPicker,
|
|
@@ -70,19 +70,19 @@ function F(e) {
|
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
|
-
const T = "_iinput_1ak9s_59",
|
|
73
|
+
const T = "_iinput_1ak9s_59", s = {
|
|
74
74
|
iinput: T
|
|
75
75
|
};
|
|
76
|
-
function
|
|
76
|
+
function F(e) {
|
|
77
77
|
const { onChange: l, className: n, ...t } = e;
|
|
78
|
-
return /* @__PURE__ */
|
|
79
|
-
|
|
78
|
+
return /* @__PURE__ */ i(
|
|
79
|
+
o,
|
|
80
80
|
{
|
|
81
81
|
allowClear: !0,
|
|
82
82
|
maxLength: 100,
|
|
83
83
|
size: "small",
|
|
84
84
|
placeholder: "请输入",
|
|
85
|
-
className: C(n,
|
|
85
|
+
className: C(n, s.iinput),
|
|
86
86
|
...t,
|
|
87
87
|
onChange: (c) => {
|
|
88
88
|
var m;
|
|
@@ -91,12 +91,12 @@ function G(e) {
|
|
|
91
91
|
}
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
|
-
const q = "_line_pevaq_59",
|
|
94
|
+
const q = "_line_pevaq_59", j = "_line_help_pevaq_62", d = {
|
|
95
95
|
line: q,
|
|
96
|
-
line_help:
|
|
96
|
+
line_help: j
|
|
97
97
|
};
|
|
98
|
-
function
|
|
99
|
-
const l =
|
|
98
|
+
function G(e) {
|
|
99
|
+
const l = O(), { labelSpan: n = l == null ? void 0 : l.labelSpan } = e, t = 24 - n;
|
|
100
100
|
return /* @__PURE__ */ _(
|
|
101
101
|
w,
|
|
102
102
|
{
|
|
@@ -104,30 +104,30 @@ function H(e) {
|
|
|
104
104
|
...e == null ? void 0 : e.style,
|
|
105
105
|
...l == null ? void 0 : l.itemStyle
|
|
106
106
|
},
|
|
107
|
-
className:
|
|
107
|
+
className: d.line,
|
|
108
108
|
children: [
|
|
109
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ i(
|
|
110
110
|
f,
|
|
111
111
|
{
|
|
112
112
|
span: n,
|
|
113
|
-
className: C((e == null ? void 0 : e.labelTip) &&
|
|
113
|
+
className: C((e == null ? void 0 : e.labelTip) && d.line_help),
|
|
114
114
|
style: l == null ? void 0 : l.labelStyle,
|
|
115
|
-
children: e != null && e.labelTip ? /* @__PURE__ */
|
|
115
|
+
children: e != null && e.labelTip ? /* @__PURE__ */ i(N, { title: e == null ? void 0 : e.labelTip, children: e == null ? void 0 : e.label }) : e == null ? void 0 : e.label
|
|
116
116
|
}
|
|
117
117
|
),
|
|
118
|
-
/* @__PURE__ */
|
|
118
|
+
/* @__PURE__ */ i(f, { span: t, style: e == null ? void 0 : e.childrenStyle, children: e == null ? void 0 : e.children })
|
|
119
119
|
]
|
|
120
120
|
}
|
|
121
121
|
);
|
|
122
122
|
}
|
|
123
|
-
const
|
|
123
|
+
const b = g({
|
|
124
124
|
labelSpan: 3
|
|
125
125
|
});
|
|
126
|
-
function
|
|
127
|
-
return k(
|
|
126
|
+
function O() {
|
|
127
|
+
return k(b);
|
|
128
128
|
}
|
|
129
|
-
const
|
|
130
|
-
|
|
129
|
+
const H = y.memo((e) => /* @__PURE__ */ i(
|
|
130
|
+
b.Provider,
|
|
131
131
|
{
|
|
132
132
|
value: {
|
|
133
133
|
labelSpan: e.labelSpan || 3,
|
|
@@ -139,8 +139,8 @@ const J = b.memo((e) => /* @__PURE__ */ a(
|
|
|
139
139
|
));
|
|
140
140
|
export {
|
|
141
141
|
x as C,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
F as I,
|
|
143
|
+
H as L,
|
|
144
|
+
G as a,
|
|
145
|
+
E as b
|
|
146
146
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as t } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
+
import { J as o } from "./index-BhafNo6T.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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/index.js";
|
|
@@ -9,9 +9,9 @@ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.
|
|
|
9
9
|
const r = {
|
|
10
10
|
autoScroll: !0,
|
|
11
11
|
pxPerSecond: 12
|
|
12
|
-
}, u =
|
|
12
|
+
}, u = o(
|
|
13
13
|
[
|
|
14
|
-
/* @__PURE__ */
|
|
14
|
+
/* @__PURE__ */ t("b", { children: "滚动配置" }, "data"),
|
|
15
15
|
{
|
|
16
16
|
key: "pxPerSecond",
|
|
17
17
|
label: "每秒滚动像素",
|
|
@@ -1,5 +1,5 @@
|
|
|
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 {
|
|
2
|
+
import { J as r } from "./index-BhafNo6T.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
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 {
|
|
2
|
+
import { J as r } from "./index-BhafNo6T.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as e } from "./index-BhafNo6T.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as e } from "./index-BhafNo6T.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
3
|
import { useMemo as n } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as t } from "./index-BhafNo6T.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as t } from "./index-BhafNo6T.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
@@ -6,9 +6,9 @@ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3
|
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
|
-
const
|
|
9
|
+
const o = {
|
|
10
10
|
background: "#223447"
|
|
11
|
-
}, s =
|
|
11
|
+
}, s = t(
|
|
12
12
|
[
|
|
13
13
|
{
|
|
14
14
|
key: "background",
|
|
@@ -16,9 +16,9 @@ const t = {
|
|
|
16
16
|
component: "colorPicker"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
|
-
|
|
19
|
+
o
|
|
20
20
|
);
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
o as DEFAULT_OPTIONS,
|
|
23
23
|
s as default
|
|
24
24
|
};
|
|
@@ -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 {
|
|
2
|
+
import { J as n } from "./index-BhafNo6T.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as e } from "./index-BhafNo6T.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs as r, 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 { C as k, n as I, d as L, J as S } from "./index-BhafNo6T.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
|
|
4
|
+
import { useRef as N, useMemo as H } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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/index.js";
|
|
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
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
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
9
|
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";
|
|
10
|
+
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";
|
|
11
|
+
import { b as T, I as q } from "./index-dxiyF_62.mjs";
|
|
12
|
+
import { L as D, a as v, I as C, b as P } from "./Line-h-rhOKev.mjs";
|
|
14
13
|
const w = "_editSeriesList_c1zv3_59", O = {
|
|
15
14
|
editSeriesList: w
|
|
16
15
|
}, 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 = {
|
|
@@ -24,49 +23,49 @@ const w = "_editSeriesList_c1zv3_59", O = {
|
|
|
24
23
|
};
|
|
25
24
|
function z(e) {
|
|
26
25
|
var l, i;
|
|
27
|
-
const t =
|
|
28
|
-
function
|
|
29
|
-
const m = n.getBoundingClientRect(),
|
|
30
|
-
return
|
|
26
|
+
const t = N(null);
|
|
27
|
+
function b(n) {
|
|
28
|
+
const m = n.getBoundingClientRect(), o = t.current.getBoundingClientRect();
|
|
29
|
+
return T(
|
|
31
30
|
{ x1: m.x, y1: m.y, x2: m.right, y2: m.bottom },
|
|
32
31
|
{
|
|
33
|
-
x1:
|
|
34
|
-
y1:
|
|
35
|
-
x2:
|
|
36
|
-
y2:
|
|
32
|
+
x1: o.x,
|
|
33
|
+
y1: o.y,
|
|
34
|
+
x2: o.right,
|
|
35
|
+
y2: o.bottom
|
|
37
36
|
}
|
|
38
37
|
);
|
|
39
38
|
}
|
|
40
39
|
function s(n) {
|
|
41
|
-
|
|
40
|
+
b(n) || t.current.scrollTo({
|
|
42
41
|
left: n.offsetLeft - 20,
|
|
43
42
|
// -20 是为了能刚好看到前一个
|
|
44
43
|
behavior: "smooth"
|
|
45
44
|
});
|
|
46
45
|
}
|
|
47
|
-
return /* @__PURE__ */
|
|
46
|
+
return /* @__PURE__ */ r("div", { style: e == null ? void 0 : e.style, className: h.tabsHead, children: [
|
|
48
47
|
/* @__PURE__ */ d("div", { className: h.tabsHead_body, ref: t, children: /* @__PURE__ */ d("div", { className: h.tabsHead_body_inner, children: (i = (l = e == null ? void 0 : e.items) == null ? void 0 : l.map) == null ? void 0 : i.call(l, (n, m) => {
|
|
49
|
-
const
|
|
50
|
-
return /* @__PURE__ */
|
|
48
|
+
const o = (n == null ? void 0 : n.value) === (e == null ? void 0 : e.value);
|
|
49
|
+
return /* @__PURE__ */ r(
|
|
51
50
|
"div",
|
|
52
51
|
{
|
|
53
52
|
className: g(
|
|
54
53
|
h.tabsHead_item,
|
|
55
|
-
|
|
54
|
+
o && h.tabsHead_item_selected
|
|
56
55
|
),
|
|
57
|
-
onClick: (
|
|
56
|
+
onClick: (y) => {
|
|
58
57
|
var a;
|
|
59
|
-
|
|
58
|
+
o || (s(y.target), (a = e == null ? void 0 : e.onChange) == null || a.call(e, n == null ? void 0 : n.value));
|
|
60
59
|
},
|
|
61
60
|
children: [
|
|
62
61
|
n == null ? void 0 : n.label,
|
|
63
62
|
/* @__PURE__ */ d(
|
|
64
|
-
|
|
63
|
+
R,
|
|
65
64
|
{
|
|
66
65
|
className: g(h.tabsHead_item_delete, "icon_clickable"),
|
|
67
|
-
onClick: (
|
|
66
|
+
onClick: (y) => {
|
|
68
67
|
var a;
|
|
69
|
-
|
|
68
|
+
y.stopPropagation(), (a = e == null ? void 0 : e.onDelete) == null || a.call(e, n.value);
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
71
|
)
|
|
@@ -75,27 +74,27 @@ function z(e) {
|
|
|
75
74
|
(n == null ? void 0 : n.value) || m
|
|
76
75
|
);
|
|
77
76
|
}) }) }),
|
|
78
|
-
(e == null ? void 0 : e.showAdd) && /* @__PURE__ */ d("div", { className: h.tabsHead_add, onClick: e == null ? void 0 : e.onAdd, children: /* @__PURE__ */ d(
|
|
77
|
+
(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
78
|
] });
|
|
80
79
|
}
|
|
81
|
-
function
|
|
82
|
-
const { value: t, onChange:
|
|
80
|
+
function J(e) {
|
|
81
|
+
const { value: t, onChange: b } = e;
|
|
83
82
|
function s(l) {
|
|
84
|
-
|
|
83
|
+
b == null || b({
|
|
85
84
|
...t,
|
|
86
85
|
...l
|
|
87
86
|
});
|
|
88
87
|
}
|
|
89
|
-
return /* @__PURE__ */ d(D, { labelSpan: 6, children: /* @__PURE__ */
|
|
88
|
+
return /* @__PURE__ */ d(D, { labelSpan: 6, children: /* @__PURE__ */ r(k, { direction: "vertical", style: { width: "100%", padding: 12 }, children: [
|
|
90
89
|
/* @__PURE__ */ d(v, { label: "名称", children: /* @__PURE__ */ d(C, { value: t == null ? void 0 : t.name, onChange: (l) => s({ name: l }) }) }),
|
|
91
90
|
/* @__PURE__ */ d(v, { label: "字段", children: /* @__PURE__ */ d(C, { value: t == null ? void 0 : t.value, onChange: (l) => s({ value: l }) }) }),
|
|
92
91
|
/* @__PURE__ */ d(v, { label: "颜色", children: /* @__PURE__ */ d(P, { value: t == null ? void 0 : t.color, onChange: (l) => s({ color: l }) }) })
|
|
93
92
|
] }) });
|
|
94
93
|
}
|
|
95
|
-
function
|
|
96
|
-
const { value: t = [] } = e, [
|
|
97
|
-
var u,
|
|
98
|
-
const a = ((
|
|
94
|
+
function M(e) {
|
|
95
|
+
const { value: t = [] } = e, [b, s, l] = I(""), i = H(() => {
|
|
96
|
+
var u, _;
|
|
97
|
+
const a = ((_ = (u = e == null ? void 0 : e.value) == null ? void 0 : u.map) == null ? void 0 : _.call(u, (c) => ({
|
|
99
98
|
label: c.name || "",
|
|
100
99
|
value: c.key || (c == null ? void 0 : c.value) || "",
|
|
101
100
|
data: c
|
|
@@ -103,66 +102,66 @@ function V(e) {
|
|
|
103
102
|
return a.length && (a.some((f) => f.value === l.current) || s(a[0].value)), a;
|
|
104
103
|
}, [e == null ? void 0 : e.value]), n = H(() => {
|
|
105
104
|
var a, u;
|
|
106
|
-
return (u = (a = i == null ? void 0 : i.find) == null ? void 0 : a.call(i, (
|
|
107
|
-
}, [i,
|
|
105
|
+
return (u = (a = i == null ? void 0 : i.find) == null ? void 0 : a.call(i, (_) => (_ == null ? void 0 : _.value) === b)) == null ? void 0 : u.data;
|
|
106
|
+
}, [i, b]);
|
|
108
107
|
function m() {
|
|
109
108
|
var a;
|
|
110
109
|
(a = e == null ? void 0 : e.onChange) == null || a.call(e, [
|
|
111
110
|
...t,
|
|
112
111
|
{
|
|
113
|
-
key:
|
|
112
|
+
key: L(4),
|
|
114
113
|
name: `数据${t.length + 1}`,
|
|
115
114
|
value: void 0,
|
|
116
115
|
color: "white"
|
|
117
116
|
}
|
|
118
117
|
]);
|
|
119
118
|
}
|
|
120
|
-
function
|
|
121
|
-
var
|
|
119
|
+
function o(a) {
|
|
120
|
+
var _;
|
|
122
121
|
const u = i == null ? void 0 : i.reduce((c, f) => (f.value !== a && c.push(f.data), c), []);
|
|
123
|
-
(
|
|
122
|
+
(_ = e == null ? void 0 : e.onChange) == null || _.call(e, u);
|
|
124
123
|
}
|
|
125
|
-
function
|
|
126
|
-
var u,
|
|
124
|
+
function y(a) {
|
|
125
|
+
var u, _;
|
|
127
126
|
(u = t == null ? void 0 : t.some) == null || u.call(t, (c) => {
|
|
128
127
|
const f = c.key === a.key;
|
|
129
128
|
return f && Object.assign(c, a), f;
|
|
130
|
-
}), (
|
|
129
|
+
}), (_ = e == null ? void 0 : e.onChange) == null || _.call(e, [...t]);
|
|
131
130
|
}
|
|
132
|
-
return /* @__PURE__ */
|
|
131
|
+
return /* @__PURE__ */ r("div", { className: O.editSeriesList, children: [
|
|
133
132
|
/* @__PURE__ */ d(
|
|
134
133
|
z,
|
|
135
134
|
{
|
|
136
135
|
showAdd: !0,
|
|
137
136
|
showDelete: !0,
|
|
138
|
-
value:
|
|
137
|
+
value: b,
|
|
139
138
|
items: i,
|
|
140
139
|
onChange: s,
|
|
141
140
|
onAdd: m,
|
|
142
141
|
onDelete: (a) => {
|
|
143
|
-
|
|
142
|
+
o(a);
|
|
144
143
|
}
|
|
145
144
|
}
|
|
146
145
|
),
|
|
147
|
-
!n && /* @__PURE__ */ d(
|
|
146
|
+
!n && /* @__PURE__ */ d(q, {}),
|
|
148
147
|
n && /* @__PURE__ */ d(
|
|
149
|
-
|
|
148
|
+
J,
|
|
150
149
|
{
|
|
151
150
|
value: n,
|
|
152
151
|
onChange: (a) => {
|
|
153
|
-
|
|
152
|
+
y(a);
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
)
|
|
157
156
|
] });
|
|
158
157
|
}
|
|
159
|
-
const
|
|
158
|
+
const V = {
|
|
160
159
|
seriesList: [
|
|
161
160
|
{ key: "1", name: "数据1", value: "value1", color: "#f8e71c" },
|
|
162
161
|
{ key: "2", name: "数据2", value: "value2", color: "#7ed321" },
|
|
163
162
|
{ key: "3", name: "数据3", value: "value3", color: "#1071e0" }
|
|
164
163
|
]
|
|
165
|
-
},
|
|
164
|
+
}, de = S(
|
|
166
165
|
[
|
|
167
166
|
{
|
|
168
167
|
key: "background",
|
|
@@ -176,12 +175,12 @@ const W = {
|
|
|
176
175
|
key: "seriesList",
|
|
177
176
|
label: "映射",
|
|
178
177
|
labelTip: "图表的数据映射",
|
|
179
|
-
component: ({ value: e, onChange: t }) => /* @__PURE__ */ d("div", { style: { border: "1px solid #e8e8e8" }, children: /* @__PURE__ */ d(
|
|
178
|
+
component: ({ value: e, onChange: t }) => /* @__PURE__ */ d("div", { style: { border: "1px solid #e8e8e8" }, children: /* @__PURE__ */ d(M, { value: e, onChange: t }) })
|
|
180
179
|
}
|
|
181
180
|
],
|
|
182
|
-
|
|
181
|
+
V
|
|
183
182
|
);
|
|
184
183
|
export {
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
V as DEFAULT_OPTIONS,
|
|
185
|
+
de as default
|
|
187
186
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as t } from "./index-BhafNo6T.mjs";
|
|
2
2
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
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 {
|
|
2
|
+
import { J as t } from "./index-BhafNo6T.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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/index.js";
|
|
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
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
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 { I as b } from "./index-
|
|
9
|
+
import { I as b } from "./index-BAzeX1Ol.mjs";
|
|
10
10
|
const g = {
|
|
11
11
|
id: "clock.png"
|
|
12
12
|
}, s = t(
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { H as c } from "./index-BhafNo6T.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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/index.js";
|
|
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
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
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 { DEFAULT_OPTIONS as i } from "./attributes-
|
|
9
|
+
import { DEFAULT_OPTIONS as i } from "./attributes-CauLjFb0.mjs";
|
|
10
10
|
import { DoubleRightOutlined as s } 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";
|
|
11
11
|
const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_specialCard_head_arrow_1s46n_71", o = "_specialCard_head_title_1s46n_74", r = {
|
|
12
12
|
specialCard: _,
|