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,16 +1,15 @@
|
|
|
1
1
|
import { jsx as n, jsxs as g } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { I as u } from "./index-
|
|
2
|
+
import { G as l, T as v, t as h, S as C } from "./index-BhafNo6T.mjs";
|
|
3
|
+
import { I as u } from "./index-BAzeX1Ol.mjs";
|
|
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/client.js";
|
|
6
6
|
import "/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";
|
|
7
|
-
import { I as
|
|
7
|
+
import { I as f, b } from "./Line-h-rhOKev.mjs";
|
|
8
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
9
|
-
import { I as
|
|
10
|
-
import { Tooltip as o, Checkbox as h, Slider as b } 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";
|
|
9
|
+
import { I as m, a as o } from "./IInputNumber-8TbQFEeQ.mjs";
|
|
11
10
|
import { ReloadOutlined as x } 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 { useTranslation as
|
|
13
|
-
const
|
|
11
|
+
import { useTranslation as y } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-i18next@15.7.4_i18next@24.2.3_typescript@5.9.3__react-dom@18.3.1_react@18.3.1__react@18.3.1_typescript@5.9.3/node_modules/react-i18next/dist/es/index.js";
|
|
12
|
+
const k = () => {
|
|
14
13
|
l.register("select", (e) => /* @__PURE__ */ n(
|
|
15
14
|
u,
|
|
16
15
|
{
|
|
@@ -21,7 +20,7 @@ const y = () => {
|
|
|
21
20
|
}
|
|
22
21
|
));
|
|
23
22
|
};
|
|
24
|
-
function
|
|
23
|
+
function r(e) {
|
|
25
24
|
return /* @__PURE__ */ n(
|
|
26
25
|
u,
|
|
27
26
|
{
|
|
@@ -51,14 +50,14 @@ function I(e) {
|
|
|
51
50
|
);
|
|
52
51
|
}
|
|
53
52
|
function d(e) {
|
|
54
|
-
const [t] =
|
|
55
|
-
return /* @__PURE__ */ n(
|
|
53
|
+
const [t] = y();
|
|
54
|
+
return /* @__PURE__ */ n(v, { title: t("reset"), children: /* @__PURE__ */ n(x, { className: "icon_clickable", onClick: e == null ? void 0 : e.onClick }) });
|
|
56
55
|
}
|
|
57
56
|
const S = () => {
|
|
58
|
-
l.register("input", (e) => /* @__PURE__ */ n(
|
|
59
|
-
},
|
|
57
|
+
l.register("input", (e) => /* @__PURE__ */ n(f, { ...e == null ? void 0 : e.options, value: e.value, onChange: e.onChange }));
|
|
58
|
+
}, T = () => {
|
|
60
59
|
l.register("inputNumber", (e) => /* @__PURE__ */ n(
|
|
61
|
-
|
|
60
|
+
m,
|
|
62
61
|
{
|
|
63
62
|
style: { width: "100%" },
|
|
64
63
|
...e == null ? void 0 : e.options,
|
|
@@ -66,9 +65,9 @@ const S = () => {
|
|
|
66
65
|
onChange: e.onChange
|
|
67
66
|
}
|
|
68
67
|
));
|
|
69
|
-
},
|
|
68
|
+
}, w = () => {
|
|
70
69
|
l.register("textarea", (e) => /* @__PURE__ */ n(
|
|
71
|
-
|
|
70
|
+
o,
|
|
72
71
|
{
|
|
73
72
|
...e == null ? void 0 : e.options,
|
|
74
73
|
value: e.value,
|
|
@@ -77,7 +76,7 @@ const S = () => {
|
|
|
77
76
|
));
|
|
78
77
|
}, N = () => {
|
|
79
78
|
l.register("fontWeightSelect", (e) => /* @__PURE__ */ n(
|
|
80
|
-
|
|
79
|
+
r,
|
|
81
80
|
{
|
|
82
81
|
style: { width: "100%" },
|
|
83
82
|
...e == null ? void 0 : e.options,
|
|
@@ -95,7 +94,7 @@ const S = () => {
|
|
|
95
94
|
resetColor: c
|
|
96
95
|
// 重置颜色
|
|
97
96
|
} = (e == null ? void 0 : e.options) || {}, i = /* @__PURE__ */ n(
|
|
98
|
-
|
|
97
|
+
b,
|
|
99
98
|
{
|
|
100
99
|
style: { width: "100%" },
|
|
101
100
|
...e == null ? void 0 : e.options,
|
|
@@ -186,7 +185,7 @@ const S = () => {
|
|
|
186
185
|
},
|
|
187
186
|
children: [
|
|
188
187
|
/* @__PURE__ */ n(
|
|
189
|
-
|
|
188
|
+
C,
|
|
190
189
|
{
|
|
191
190
|
style: { flex: 1, margin: "4px 8px" },
|
|
192
191
|
min: 0,
|
|
@@ -209,9 +208,9 @@ const S = () => {
|
|
|
209
208
|
);
|
|
210
209
|
});
|
|
211
210
|
};
|
|
212
|
-
function
|
|
213
|
-
|
|
211
|
+
function H() {
|
|
212
|
+
k(), S(), T(), w(), N(), P(), A(), B(), F(), R(), W();
|
|
214
213
|
}
|
|
215
214
|
export {
|
|
216
|
-
|
|
215
|
+
H as default
|
|
217
216
|
};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { jsxs as Q, jsx as b } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
2
|
import { useState as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
3
|
-
import { Select as M } 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";
|
|
4
3
|
import { useDebounceEffect as X, useUpdateEffect as V } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/ahooks@3.9.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/ahooks/es/index.js";
|
|
5
4
|
import { u as Y } from "./useEffectOnce-Ct0JMBZd.mjs";
|
|
6
|
-
import {
|
|
5
|
+
import { n as Z, O as E } from "./index-BhafNo6T.mjs";
|
|
7
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";
|
|
8
|
-
const q = (e,
|
|
7
|
+
const q = (e, n) => {
|
|
9
8
|
var r, f, d;
|
|
10
|
-
return (d = (r = (
|
|
9
|
+
return (d = (r = (n == null ? void 0 : n.children) || "") == null ? void 0 : r.toLowerCase) == null ? void 0 : d.call(r).includes((f = e == null ? void 0 : e.toLowerCase) == null ? void 0 : f.call(e));
|
|
11
10
|
};
|
|
12
11
|
function $(e) {
|
|
13
12
|
const {
|
|
14
|
-
allowClear:
|
|
13
|
+
allowClear: n = !0,
|
|
15
14
|
size: r = "small",
|
|
16
15
|
defaultFirst: f,
|
|
17
16
|
disabled: d,
|
|
@@ -22,22 +21,22 @@ function $(e) {
|
|
|
22
21
|
style: N = {},
|
|
23
22
|
debounceTime: U = 500,
|
|
24
23
|
showSearch: w = !0,
|
|
25
|
-
isLocalSearch:
|
|
24
|
+
isLocalSearch: M = !0,
|
|
26
25
|
effectParams: W = [],
|
|
27
26
|
filterOption: h = void 0,
|
|
28
27
|
requestFn: m = () => Promise.resolve([]),
|
|
29
|
-
onChange:
|
|
28
|
+
onChange: l
|
|
30
29
|
} = e, i = {
|
|
31
30
|
label: B,
|
|
32
31
|
value: ""
|
|
33
|
-
}, [P, _] = S(""), [C, A] = S([]), [g,
|
|
34
|
-
function
|
|
32
|
+
}, [P, _] = S(""), [C, A] = S([]), [g, O] = S(void 0), [I, L] = S({}), [k, G, H] = Z(!1);
|
|
33
|
+
function R(t = "", u) {
|
|
35
34
|
m == null || m(t).then((a = []) => {
|
|
36
35
|
var T, D, F, j;
|
|
37
36
|
const c = {};
|
|
38
37
|
a.forEach((o) => {
|
|
39
38
|
c[`${o == null ? void 0 : o.value}`] = o;
|
|
40
|
-
}), L(c), A(a), !H.current && f && (
|
|
39
|
+
}), L(c), A(a), !H.current && f && (l == null || l((T = a == null ? void 0 : a[0]) == null ? void 0 : T.value, (D = a == null ? void 0 : a[0]) == null ? void 0 : D.label, c), G(!0)), u && e != null && e.effectDefaultFirst && (l == null || l((F = a == null ? void 0 : a[0]) == null ? void 0 : F.value, (j = a == null ? void 0 : a[0]) == null ? void 0 : j.label, c));
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
42
|
X(
|
|
@@ -59,45 +58,45 @@ function $(e) {
|
|
|
59
58
|
return h == null ? void 0 : h(t, u, I);
|
|
60
59
|
}
|
|
61
60
|
return Y(() => {
|
|
62
|
-
v !== void 0 &&
|
|
61
|
+
v !== void 0 && O(v), R("");
|
|
63
62
|
}), V(() => {
|
|
64
|
-
|
|
63
|
+
O(v);
|
|
65
64
|
}, [v]), V(() => {
|
|
66
|
-
|
|
65
|
+
R("", !0);
|
|
67
66
|
}, W), /* @__PURE__ */ Q(
|
|
68
|
-
|
|
67
|
+
E,
|
|
69
68
|
{
|
|
70
69
|
size: r,
|
|
71
|
-
allowClear:
|
|
70
|
+
allowClear: n,
|
|
72
71
|
disabled: d,
|
|
73
72
|
style: N,
|
|
74
73
|
value: g,
|
|
75
74
|
placeholder: K,
|
|
76
75
|
showSearch: w,
|
|
77
|
-
filterOption: w &&
|
|
76
|
+
filterOption: w && M ? h ? J : q : !1,
|
|
78
77
|
onBlur: () => {
|
|
79
|
-
e != null && e.isLocalSearch ||
|
|
78
|
+
e != null && e.isLocalSearch || R("");
|
|
80
79
|
},
|
|
81
|
-
onSearch: w && !
|
|
80
|
+
onSearch: w && !M ? (t) => _(t) : void 0,
|
|
82
81
|
onChange: (t, u) => {
|
|
83
82
|
const a = Array.isArray(u) ? u.map((c) => c.children) : u == null ? void 0 : u.children;
|
|
84
|
-
|
|
83
|
+
l == null || l(t, a, I), v === void 0 && O(t);
|
|
85
84
|
},
|
|
86
85
|
...e == null ? void 0 : e.extAntdProps,
|
|
87
86
|
children: [
|
|
88
|
-
z && /* @__PURE__ */ b(
|
|
89
|
-
C == null ? void 0 : C.map((t) => /* @__PURE__ */ b(
|
|
87
|
+
z && /* @__PURE__ */ b(E.Option, { value: i.value, children: e != null && e.optionRender ? e.optionRender(i) : i == null ? void 0 : i.label }, i.value),
|
|
88
|
+
C == null ? void 0 : C.map((t) => /* @__PURE__ */ b(E.Option, { value: t.value, children: e != null && e.optionRender ? e.optionRender(t) : t == null ? void 0 : t.label }, t.value))
|
|
90
89
|
]
|
|
91
90
|
}
|
|
92
91
|
);
|
|
93
92
|
}
|
|
94
93
|
function y(e) {
|
|
95
|
-
const { value:
|
|
94
|
+
const { value: n, onChange: r, extAntdProps: f, ...d } = e;
|
|
96
95
|
return /* @__PURE__ */ b(
|
|
97
96
|
$,
|
|
98
97
|
{
|
|
99
98
|
...d,
|
|
100
|
-
value:
|
|
99
|
+
value: n,
|
|
101
100
|
onChange: r,
|
|
102
101
|
extAntdProps: {
|
|
103
102
|
mode: "multiple",
|
|
@@ -107,10 +106,10 @@ function y(e) {
|
|
|
107
106
|
}
|
|
108
107
|
);
|
|
109
108
|
}
|
|
110
|
-
function
|
|
111
|
-
const
|
|
112
|
-
return /* @__PURE__ */ b(
|
|
109
|
+
function ue(e) {
|
|
110
|
+
const n = e != null && e.multiple ? y : $;
|
|
111
|
+
return /* @__PURE__ */ b(n, { ...e });
|
|
113
112
|
}
|
|
114
113
|
export {
|
|
115
|
-
|
|
114
|
+
ue as I
|
|
116
115
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { R as a } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { R as a } from "./index-Daza1EsK.mjs";
|
|
3
|
+
import { H as i } from "./index-BhafNo6T.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
5
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/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/index.js";
|
|
@@ -1,51 +1,50 @@
|
|
|
1
1
|
import { jsx as o, jsxs as a } 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 h, Q as L } 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 { useState as p, useMemo as
|
|
4
|
+
import { useState as p, useMemo as x, useEffect as S } 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
|
-
import { Progress as S } 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";
|
|
8
7
|
import { r as y, g as C } from "./random-DD0zMfMm.mjs";
|
|
9
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
10
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
11
10
|
import { cloneDeep as v } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js";
|
|
12
|
-
import { DEFAULT_OPTIONS as I } from "./attributes-
|
|
11
|
+
import { DEFAULT_OPTIONS as I } from "./attributes-B8s8kYoD.mjs";
|
|
13
12
|
import { A as M } from "./index-kvRZQZJ-.mjs";
|
|
14
13
|
import { DoubleRightOutlined as z } 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";
|
|
15
14
|
const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_progressList_line_header_xy0sd_69", c = {
|
|
16
15
|
progressList: N,
|
|
17
16
|
progressList_line: P,
|
|
18
17
|
progressList_line_header: A
|
|
19
|
-
},
|
|
20
|
-
const { width:
|
|
21
|
-
function
|
|
18
|
+
}, U = h((g) => {
|
|
19
|
+
const { width: i, height: _, options: r, dataSource: s } = g, [n, d] = p(s), u = x(() => f(), [s, r == null ? void 0 : r.max]);
|
|
20
|
+
function f() {
|
|
22
21
|
const e = Math.max(...n.map((t) => t.count));
|
|
23
22
|
return r != null && r.max ? Math.max(r == null ? void 0 : r.max, e) : e;
|
|
24
23
|
}
|
|
25
|
-
return
|
|
24
|
+
return S(() => {
|
|
26
25
|
d(s);
|
|
27
26
|
let e = v(s);
|
|
28
27
|
function t() {
|
|
29
28
|
d(
|
|
30
29
|
e = e.map((l) => ({
|
|
31
30
|
...l,
|
|
32
|
-
count: y(C(-50, 50) + (l == null ? void 0 : l.count), 0,
|
|
31
|
+
count: y(C(-50, 50) + (l == null ? void 0 : l.count), 0, u)
|
|
33
32
|
}))
|
|
34
33
|
);
|
|
35
34
|
}
|
|
36
|
-
let
|
|
35
|
+
let m = setInterval(t, 1200);
|
|
37
36
|
return () => {
|
|
38
|
-
clearInterval(
|
|
37
|
+
clearInterval(m);
|
|
39
38
|
};
|
|
40
39
|
}, [s]), /* @__PURE__ */ o(
|
|
41
40
|
M,
|
|
42
41
|
{
|
|
43
|
-
style: { width:
|
|
42
|
+
style: { width: i, height: _ },
|
|
44
43
|
className: c.progressList,
|
|
45
44
|
disabled: !(r != null && r.autoScroll),
|
|
46
45
|
pxPerSecond: r == null ? void 0 : r.pxPerSecond,
|
|
47
46
|
children: n.map((e) => {
|
|
48
|
-
const t = ((e == null ? void 0 : e.count) || 0) * 100 /
|
|
47
|
+
const t = ((e == null ? void 0 : e.count) || 0) * 100 / u;
|
|
49
48
|
return /* @__PURE__ */ a("div", { className: c.progressList_line, children: [
|
|
50
49
|
/* @__PURE__ */ a("div", { className: c.progressList_line_header, children: [
|
|
51
50
|
/* @__PURE__ */ a(
|
|
@@ -73,7 +72,7 @@ const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_pro
|
|
|
73
72
|
)
|
|
74
73
|
] }),
|
|
75
74
|
/* @__PURE__ */ o(
|
|
76
|
-
|
|
75
|
+
L,
|
|
77
76
|
{
|
|
78
77
|
showInfo: !1,
|
|
79
78
|
percent: t,
|
|
@@ -87,5 +86,5 @@ const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_pro
|
|
|
87
86
|
);
|
|
88
87
|
}, I);
|
|
89
88
|
export {
|
|
90
|
-
|
|
89
|
+
U as default
|
|
91
90
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { R as m } from "./index-
|
|
3
|
-
import {
|
|
2
|
+
import { R as m } from "./index-Daza1EsK.mjs";
|
|
3
|
+
import { H as r } from "./index-BhafNo6T.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
5
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/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/index.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as d, jsxs as h, Fragment as u } 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 m } 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 { useMemo as v } 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
|
-
import { u as f, s as I } from "./selectPage-
|
|
10
|
-
import { u as L } from "./useCurrentPageId-
|
|
9
|
+
import { u as f, s as I } from "./selectPage-ChSsIBe9.mjs";
|
|
10
|
+
import { u as L } from "./useCurrentPageId-BlVc4whf.mjs";
|
|
11
11
|
import S from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
12
12
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/hotkeys-js@3.13.15/node_modules/hotkeys-js/dist/hotkeys.esm.js";
|
|
13
13
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|