react-big-screen 0.0.17 → 0.0.20
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-Vk6zq2bP.mjs} +1 -1
- package/es/{Line-CLgwvraj.mjs → Line-nA3VtARp.mjs} +1 -1
- package/es/{attributes-D0U-wvwb.mjs → attributes-BDcSpbcs.mjs} +6 -7
- package/es/{attributes-CGZYjvqh.mjs → attributes-BWjMqQ_s.mjs} +10 -10
- package/es/{attributes-CReX9tBs.mjs → attributes-BZxcK9tt.mjs} +4 -5
- package/es/{attributes-BoihG0Pf.mjs → attributes-C7YISj8O.mjs} +10 -11
- package/es/{attributes-DDwE7z2U.mjs → attributes-CbI6ZNLl.mjs} +3 -4
- package/es/{attributes-DiQPq5cp.mjs → attributes-Cg2w2wqR.mjs} +3 -4
- package/es/{attributes-DFoyvXIt.mjs → attributes-Ck-M5Rw3.mjs} +3 -4
- package/es/{attributes-IldrBXRw.mjs → attributes-Dk4Khv-P.mjs} +3 -4
- package/es/{attributes-CCphg5Uz.mjs → attributes-DuAsVU2g.mjs} +3 -4
- package/es/{attributes-GO1j5FqP.mjs → attributes-Nwf_EnEX.mjs} +3 -4
- package/es/{attributes-Cp6DmzH2.mjs → attributes-OZgEPZfV.mjs} +3 -4
- package/es/{attributes-B2zdUkEM.mjs → attributes-jJg_yENs.mjs} +3 -4
- package/es/{index-jD_EEzQJ.mjs → index-7n0O_7or.mjs} +13 -14
- package/es/{index-CEejLCq7.mjs → index-B1ohG9Hu.mjs} +4 -5
- package/es/{index-DbwrHA2p.mjs → index-B75SSKFG.mjs} +9 -10
- package/es/{index-Id1jg1qj.mjs → index-B8Ei_KZZ.mjs} +4 -5
- package/es/{index-DJy3VCmO.mjs → index-BF07nOIu.mjs} +5 -6
- package/es/{index-I1LC9rW6.mjs → index-BUic5qZC.mjs} +10 -10
- package/es/{index-X3IxUabI.mjs → index-BemZB0VC.mjs} +4 -5
- package/es/{index-94huGSfW.mjs → index-BnaaZaeo.mjs} +4 -5
- package/es/{index-BqPf_Hxm.mjs → index-Bwm3aMXZ.mjs} +36 -36
- package/es/{index-BfVztt-6.mjs → index-C7UdPRSB.mjs} +4 -5
- package/es/{index-BaY0buPw.mjs → index-C8d60TqQ.mjs} +4 -5
- package/es/{index-BCzhbh3u.mjs → index-CBBKPguI.mjs} +24 -25
- package/es/{index-D1jy9Oi_.mjs → index-CKqOSJ9y.mjs} +3 -3
- package/es/{index-C2gXj9yh.mjs → index-CLnTLLjS.mjs} +1 -1
- package/es/{index-D3O-30zC.mjs → index-COVC4gVe.mjs} +4 -5
- package/es/{index-7SrSU63A.mjs → index-CR3gnAfy.mjs} +20 -21
- package/es/{index-D44zLboN.mjs → index-CXKN_KjL.mjs} +4 -5
- package/es/{index-DdNS18i9.mjs → index-CaUBqf8D.mjs} +8 -8
- package/es/{index-BOLcaCeQ.mjs → index-Ce7eAD1W.mjs} +3 -3
- package/es/{index-D1ux0Voe.mjs → index-Cq0uVP0H.mjs} +1 -1
- package/es/{index-DcqPY0qy.mjs → index-CrN898XP.mjs} +11 -11
- package/es/{index-3yjjqo9a.mjs → index-DB3YcEiT.mjs} +11 -12
- package/es/{index-3f6NpN6Q.mjs → index-DcyXbsRZ.mjs} +4 -5
- package/es/{index-CSzeRH1c.mjs → index-DuXGzYdH.mjs} +2 -2
- package/es/{index-CNgtHfNT.mjs → index-TjFlu-86.mjs} +9 -10
- package/es/{index-VRwDBwp0.mjs → index-hRI5WRPs.mjs} +7 -8
- package/es/{index-COdMO6-N.mjs → index-nTep9Ubc.mjs} +4 -5
- package/es/index.mjs +4 -5
- package/es/{selectPage-DGZoj14b.mjs → selectPage-BfNytQ95.mjs} +1 -1
- package/es/{useCurrentPageId-CuYS8NBR.mjs → useCurrentPageId-C1KnE1O3.mjs} +3 -4
- package/package.json +1 -1
|
@@ -1,59 +1,58 @@
|
|
|
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-CLnTLLjS.mjs";
|
|
3
|
+
import { n as f } from "./index-Bwm3aMXZ.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 { useMemo as g } from "react";
|
|
6
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";
|
|
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
|
-
import { DEFAULT_OPTIONS as
|
|
12
|
-
function
|
|
13
|
-
return !(
|
|
10
|
+
import { DEFAULT_OPTIONS as l } from "./attributes-BWjMqQ_s.mjs";
|
|
11
|
+
function p(m = "name", a, n) {
|
|
12
|
+
return !(a != null && a.length) || !(n != null && n.length) ? {
|
|
14
13
|
source: []
|
|
15
14
|
} : {
|
|
16
|
-
dimensions: [m, ...
|
|
15
|
+
dimensions: [m, ...a.map((r) => r.name)],
|
|
17
16
|
source: n.map((r) => {
|
|
18
|
-
const
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
}),
|
|
17
|
+
const o = { [m]: `${r[m] ?? ""}` };
|
|
18
|
+
return a.forEach((t) => {
|
|
19
|
+
o[t.name] = r[t.value] || 0;
|
|
20
|
+
}), o;
|
|
22
21
|
})
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
24
|
function h(m) {
|
|
26
|
-
var
|
|
27
|
-
return ((
|
|
25
|
+
var a;
|
|
26
|
+
return ((a = m == null ? void 0 : m.map) == null ? void 0 : a.call(m, (n) => ({
|
|
28
27
|
id: n == null ? void 0 : n.key,
|
|
29
28
|
type: "line",
|
|
30
29
|
color: n == null ? void 0 : n.color
|
|
31
30
|
}))) || [];
|
|
32
31
|
}
|
|
33
|
-
const
|
|
34
|
-
const { width:
|
|
32
|
+
const D = f((m) => {
|
|
33
|
+
const { width: a, height: n, options: r, dataSource: o } = m, t = g(() => ({
|
|
35
34
|
tooltip: { trigger: "item" },
|
|
36
|
-
dataset:
|
|
35
|
+
dataset: p(
|
|
37
36
|
r == null ? void 0 : r.nameCode,
|
|
38
37
|
r == null ? void 0 : r.seriesList,
|
|
39
|
-
Array.isArray(
|
|
38
|
+
Array.isArray(o) ? o : []
|
|
40
39
|
),
|
|
41
40
|
xAxis: [{ type: "category" }],
|
|
42
41
|
yAxis: [{}],
|
|
43
42
|
series: h(r == null ? void 0 : r.seriesList)
|
|
44
|
-
}), [
|
|
43
|
+
}), [o, r == null ? void 0 : r.seriesList, r == null ? void 0 : r.nameCode]);
|
|
45
44
|
return /* @__PURE__ */ c(
|
|
46
45
|
u,
|
|
47
46
|
{
|
|
48
47
|
options: t,
|
|
49
48
|
style: {
|
|
50
|
-
width:
|
|
49
|
+
width: a,
|
|
51
50
|
height: n,
|
|
52
51
|
background: r == null ? void 0 : r.background
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
54
|
);
|
|
56
|
-
},
|
|
55
|
+
}, l);
|
|
57
56
|
export {
|
|
58
|
-
|
|
57
|
+
D as default
|
|
59
58
|
};
|
|
@@ -1,20 +1,19 @@
|
|
|
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 { n as c } from "./index-
|
|
2
|
+
import { n as c } from "./index-Bwm3aMXZ.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 "react";
|
|
5
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";
|
|
8
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
8
|
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 i } from "./attributes-
|
|
9
|
+
import { DEFAULT_OPTIONS as i } from "./attributes-CbI6ZNLl.mjs";
|
|
11
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";
|
|
12
11
|
const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_specialCard_head_arrow_1s46n_71", o = "_specialCard_head_title_1s46n_74", r = {
|
|
13
12
|
specialCard: _,
|
|
14
13
|
specialCard_head: t,
|
|
15
14
|
specialCard_head_arrow: m,
|
|
16
15
|
specialCard_head_title: o
|
|
17
|
-
},
|
|
16
|
+
}, v = c((d) => {
|
|
18
17
|
const { options: a } = d;
|
|
19
18
|
return /* @__PURE__ */ e(
|
|
20
19
|
"div",
|
|
@@ -34,5 +33,5 @@ const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_speci
|
|
|
34
33
|
);
|
|
35
34
|
}, i);
|
|
36
35
|
export {
|
|
37
|
-
|
|
36
|
+
v as default
|
|
38
37
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var R = Object.defineProperty;
|
|
2
2
|
var T = (e, n, t) => n in e ? R(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var b = (e, n, t) => T(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import { b as O, u as k, I as x, R as F } from "./index-
|
|
4
|
+
import { b as O, u as k, I as x, R as F } from "./index-Bwm3aMXZ.mjs";
|
|
5
5
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
6
6
|
import N, { useEffect as y, useMemo as M, useRef as w, useState as _, useCallback as z } from "react";
|
|
7
7
|
import "react-dom";
|
|
8
8
|
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";
|
|
9
|
-
import { message as G } from "antd";
|
|
10
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
11
10
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
12
|
-
import { jsxs as
|
|
13
|
-
import
|
|
11
|
+
import { jsxs as G, jsx as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
12
|
+
import U from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/umi-request@1.4.0/node_modules/umi-request/dist/index.esm.js";
|
|
14
13
|
import { u as j } from "./useListenRef-B01dENv0.mjs";
|
|
14
|
+
import { message as Z } 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";
|
|
15
15
|
import { u as Q } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
16
|
-
import { u as V } from "./useCurrentPageId-
|
|
16
|
+
import { u as V } from "./useCurrentPageId-C1KnE1O3.mjs";
|
|
17
17
|
import I from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/hotkeys-js@3.13.15/node_modules/hotkeys-js/dist/hotkeys.esm.js";
|
|
18
18
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|
|
19
19
|
function X(e) {
|
|
@@ -92,7 +92,7 @@ class K {
|
|
|
92
92
|
// 立刻请求一次
|
|
93
93
|
async request(n, t, s) {
|
|
94
94
|
const r = t || this.requestConfig;
|
|
95
|
-
return r != null && r.url ?
|
|
95
|
+
return r != null && r.url ? U(`${(r == null ? void 0 : r.url) || ""}`, {
|
|
96
96
|
...s,
|
|
97
97
|
method: `${(r == null ? void 0 : r.method) || "get"}`,
|
|
98
98
|
params: n
|
|
@@ -188,7 +188,7 @@ function se(e, n) {
|
|
|
188
188
|
a && a.forEach((h) => {
|
|
189
189
|
const l = e.componentNode.get(h.id);
|
|
190
190
|
if (!l) {
|
|
191
|
-
|
|
191
|
+
Z.error("[bigScreen]: target componentNode not exist.");
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
194
|
h.opts.forEach((g) => {
|
|
@@ -436,7 +436,7 @@ function ge(e) {
|
|
|
436
436
|
l.current.x = e.offsetX,
|
|
437
437
|
l.current.y = e.offsetY
|
|
438
438
|
);
|
|
439
|
-
}, [e.offsetX, e.offsetY]), /* @__PURE__ */
|
|
439
|
+
}, [e.offsetX, e.offsetY]), /* @__PURE__ */ G("div", { className: L.infiniteCanvas, ref: f, style: e == null ? void 0 : e.style, children: [
|
|
440
440
|
/* @__PURE__ */ S("div", { className: L.infiniteCanvas_inner, ref: d, children: e == null ? void 0 : e.children }),
|
|
441
441
|
/* @__PURE__ */ S("div", { className: L.infiniteCanvas_mask, ref: u })
|
|
442
442
|
] });
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { Image as i } from "antd";
|
|
3
|
-
import { n as p } from "./index-
|
|
2
|
+
import { Image as i } 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";
|
|
3
|
+
import { n as p } from "./index-Bwm3aMXZ.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 "react";
|
|
6
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
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
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-
|
|
10
|
+
import { DEFAULT_OPTIONS as n } from "./attributes-Cg2w2wqR.mjs";
|
|
11
11
|
const g = p((e) => {
|
|
12
12
|
const { options: r, width: t, height: m } = e;
|
|
13
13
|
return /* @__PURE__ */ o(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Empty as i } from "antd";
|
|
2
|
+
import { Empty as i } 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";
|
|
3
3
|
import m from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
4
4
|
function l(y, n) {
|
|
5
5
|
return !// 左侧
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { C as l } from "./index-
|
|
3
|
-
import { I as u } from "./index-
|
|
2
|
+
import { C as l } from "./index-Bwm3aMXZ.mjs";
|
|
3
|
+
import { I as u } from "./index-DuXGzYdH.mjs";
|
|
4
4
|
import "react";
|
|
5
|
-
import { Tooltip as v, Checkbox as h, Slider as C } from "antd";
|
|
6
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";
|
|
7
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";
|
|
8
|
-
import { I as
|
|
7
|
+
import { I as v, b as C } from "./Line-nA3VtARp.mjs";
|
|
9
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
10
|
-
import { I as
|
|
9
|
+
import { I as f, a as m } from "./IInputNumber-Vk6zq2bP.mjs";
|
|
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";
|
|
11
11
|
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
12
|
import { useTranslation as r } 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";
|
|
13
13
|
const y = () => {
|
|
@@ -52,13 +52,13 @@ function I(e) {
|
|
|
52
52
|
}
|
|
53
53
|
function d(e) {
|
|
54
54
|
const [t] = r();
|
|
55
|
-
return /* @__PURE__ */ n(
|
|
55
|
+
return /* @__PURE__ */ n(o, { title: t("reset"), children: /* @__PURE__ */ n(x, { className: "icon_clickable", onClick: e == null ? void 0 : e.onClick }) });
|
|
56
56
|
}
|
|
57
57
|
const S = () => {
|
|
58
|
-
l.register("input", (e) => /* @__PURE__ */ n(
|
|
58
|
+
l.register("input", (e) => /* @__PURE__ */ n(v, { ...e == null ? void 0 : e.options, value: e.value, onChange: e.onChange }));
|
|
59
59
|
}, w = () => {
|
|
60
60
|
l.register("inputNumber", (e) => /* @__PURE__ */ n(
|
|
61
|
-
|
|
61
|
+
f,
|
|
62
62
|
{
|
|
63
63
|
style: { width: "100%" },
|
|
64
64
|
...e == null ? void 0 : e.options,
|
|
@@ -68,7 +68,7 @@ const S = () => {
|
|
|
68
68
|
));
|
|
69
69
|
}, T = () => {
|
|
70
70
|
l.register("textarea", (e) => /* @__PURE__ */ n(
|
|
71
|
-
|
|
71
|
+
m,
|
|
72
72
|
{
|
|
73
73
|
...e == null ? void 0 : e.options,
|
|
74
74
|
value: e.value,
|
|
@@ -95,7 +95,7 @@ const S = () => {
|
|
|
95
95
|
resetColor: c
|
|
96
96
|
// 重置颜色
|
|
97
97
|
} = (e == null ? void 0 : e.options) || {}, i = /* @__PURE__ */ n(
|
|
98
|
-
|
|
98
|
+
C,
|
|
99
99
|
{
|
|
100
100
|
style: { width: "100%" },
|
|
101
101
|
...e == null ? void 0 : e.options,
|
|
@@ -186,7 +186,7 @@ const S = () => {
|
|
|
186
186
|
},
|
|
187
187
|
children: [
|
|
188
188
|
/* @__PURE__ */ n(
|
|
189
|
-
|
|
189
|
+
b,
|
|
190
190
|
{
|
|
191
191
|
style: { flex: 1, margin: "4px 8px" },
|
|
192
192
|
min: 0,
|
|
@@ -1,19 +1,18 @@
|
|
|
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-Bwm3aMXZ.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 { useRef as c, useEffect as a } from "react";
|
|
5
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";
|
|
8
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
8
|
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-
|
|
9
|
+
import { DEFAULT_OPTIONS as u } from "./attributes-Ck-M5Rw3.mjs";
|
|
11
10
|
import d from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|
|
12
|
-
const
|
|
13
|
-
const { width: i, height: n, options:
|
|
11
|
+
const D = l((m) => {
|
|
12
|
+
const { width: i, height: n, options: e } = m, r = c(null);
|
|
14
13
|
return a(() => {
|
|
15
14
|
function t() {
|
|
16
|
-
|
|
15
|
+
r.current.innerHTML = d().format("YYYY-MM-DD HH:mm:ss");
|
|
17
16
|
}
|
|
18
17
|
let o = setInterval(t, 1e3);
|
|
19
18
|
return t(), () => {
|
|
@@ -25,16 +24,16 @@ const M = l((m) => {
|
|
|
25
24
|
style: {
|
|
26
25
|
width: i,
|
|
27
26
|
height: n,
|
|
28
|
-
color:
|
|
29
|
-
fontSize:
|
|
30
|
-
textAlign:
|
|
31
|
-
lineHeight: `${
|
|
27
|
+
color: e == null ? void 0 : e.color,
|
|
28
|
+
fontSize: e == null ? void 0 : e.fontSize,
|
|
29
|
+
textAlign: e == null ? void 0 : e.textAlign,
|
|
30
|
+
lineHeight: `${e == null ? void 0 : e.lineHeight}px`
|
|
32
31
|
},
|
|
33
|
-
ref:
|
|
32
|
+
ref: r,
|
|
34
33
|
children: 11
|
|
35
34
|
}
|
|
36
35
|
);
|
|
37
36
|
}, u);
|
|
38
37
|
export {
|
|
39
|
-
|
|
38
|
+
D as default
|
|
40
39
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
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-CLnTLLjS.mjs";
|
|
3
|
+
import { n as a } from "./index-Bwm3aMXZ.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 "react";
|
|
6
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";
|
|
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
|
-
const
|
|
10
|
+
const f = a((t) => {
|
|
12
11
|
const { width: e, height: o } = t;
|
|
13
12
|
return /* @__PURE__ */ i(
|
|
14
13
|
r,
|
|
@@ -40,5 +39,5 @@ const g = a((t) => {
|
|
|
40
39
|
);
|
|
41
40
|
});
|
|
42
41
|
export {
|
|
43
|
-
|
|
42
|
+
f as default
|
|
44
43
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
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 "react";
|
|
3
|
-
import { Select as M } from "antd";
|
|
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
4
|
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
5
|
import { u as Y } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
6
|
-
import { i as Z } from "./index-
|
|
6
|
+
import { i as Z } from "./index-Bwm3aMXZ.mjs";
|
|
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
8
|
const q = (e, l) => {
|
|
9
9
|
var r, f, d;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { n as
|
|
1
|
+
import { jsxs as a, jsx as l } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
+
import { n as t } from "./index-Bwm3aMXZ.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 "react";
|
|
5
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";
|
|
8
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
8
|
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 d } from "./attributes-
|
|
11
|
-
const
|
|
12
|
-
const { options: e, width: _, height: g } =
|
|
13
|
-
return /* @__PURE__ */
|
|
9
|
+
import { DEFAULT_OPTIONS as d } from "./attributes-OZgEPZfV.mjs";
|
|
10
|
+
const k = t((r) => {
|
|
11
|
+
const { options: e, width: _, height: g } = r;
|
|
12
|
+
return /* @__PURE__ */ a(
|
|
14
13
|
"div",
|
|
15
14
|
{
|
|
16
15
|
style: {
|
|
@@ -18,7 +17,7 @@ const H = a((l) => {
|
|
|
18
17
|
height: g
|
|
19
18
|
},
|
|
20
19
|
children: [
|
|
21
|
-
(e == null ? void 0 : e.value_1) && /* @__PURE__ */
|
|
20
|
+
(e == null ? void 0 : e.value_1) && /* @__PURE__ */ l(
|
|
22
21
|
"div",
|
|
23
22
|
{
|
|
24
23
|
style: {
|
|
@@ -36,7 +35,7 @@ const H = a((l) => {
|
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
37
|
),
|
|
39
|
-
(e == null ? void 0 : e.value_2) && /* @__PURE__ */
|
|
38
|
+
(e == null ? void 0 : e.value_2) && /* @__PURE__ */ l(
|
|
40
39
|
"div",
|
|
41
40
|
{
|
|
42
41
|
style: {
|
|
@@ -59,5 +58,5 @@ const H = a((l) => {
|
|
|
59
58
|
);
|
|
60
59
|
}, d);
|
|
61
60
|
export {
|
|
62
|
-
|
|
61
|
+
k as default
|
|
63
62
|
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { jsxs as t, jsx as l } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { n as a } from "./index-
|
|
2
|
+
import { n as a } from "./index-Bwm3aMXZ.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 "react";
|
|
5
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";
|
|
8
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
10
9
|
import { DoubleRightOutlined as r, DoubleLeftOutlined 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
|
-
import { DEFAULT_OPTIONS as
|
|
12
|
-
const
|
|
13
|
-
specialTitle:
|
|
10
|
+
import { DEFAULT_OPTIONS as T } from "./attributes-BDcSpbcs.mjs";
|
|
11
|
+
const p = "_specialTitle_7705n_59", m = "_specialTitle_line_left_7705n_64", o = "_specialTitle_inner_7705n_69", h = "_specialTitle_inner_icon_7705n_74", d = "_specialTitle_line_right_7705n_78", i = {
|
|
12
|
+
specialTitle: p,
|
|
14
13
|
specialTitle_line_left: m,
|
|
15
14
|
specialTitle_inner: o,
|
|
16
15
|
specialTitle_inner_icon: h,
|
|
17
16
|
specialTitle_line_right: d
|
|
18
|
-
},
|
|
17
|
+
}, b = a((n) => {
|
|
19
18
|
const { width: _, height: c, options: e } = n;
|
|
20
19
|
return /* @__PURE__ */ t("div", { style: { width: _, height: c }, className: i.specialTitle, children: [
|
|
21
20
|
/* @__PURE__ */ l("div", { className: i.specialTitle_line_left }),
|
|
@@ -40,7 +39,7 @@ const T = "_specialTitle_7705n_59", m = "_specialTitle_line_left_7705n_64", o =
|
|
|
40
39
|
] }),
|
|
41
40
|
/* @__PURE__ */ l("div", { className: i.specialTitle_line_right })
|
|
42
41
|
] });
|
|
43
|
-
},
|
|
42
|
+
}, T);
|
|
44
43
|
export {
|
|
45
|
-
|
|
44
|
+
b as default
|
|
46
45
|
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { jsx as s, 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 { n as d } from "./index-
|
|
2
|
+
import { n as d } from "./index-Bwm3aMXZ.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 "react";
|
|
5
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";
|
|
8
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
8
|
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 p } from "./attributes-
|
|
9
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-DuAsVU2g.mjs";
|
|
11
10
|
import { A as _ } from "./index-guYPVm3G.mjs";
|
|
12
11
|
import { CalendarOutlined as f } 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";
|
|
13
12
|
const L = "_scrollList_ni091_59", h = "_scrollList_line_ni091_62", o = {
|
|
14
13
|
scrollList: L,
|
|
15
14
|
scrollList_line: h
|
|
16
|
-
},
|
|
15
|
+
}, O = d((t) => {
|
|
17
16
|
const { width: c, height: n, options: r, dataSource: e } = t, i = e;
|
|
18
17
|
return /* @__PURE__ */ s(
|
|
19
18
|
_,
|
|
@@ -31,5 +30,5 @@ const L = "_scrollList_ni091_59", h = "_scrollList_line_ni091_62", o = {
|
|
|
31
30
|
);
|
|
32
31
|
}, p);
|
|
33
32
|
export {
|
|
34
|
-
|
|
33
|
+
O as default
|
|
35
34
|
};
|
package/es/index.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { q as
|
|
2
|
+
import { q as p, R as e, p as m, s as E } from "./index-Bwm3aMXZ.mjs";
|
|
3
3
|
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";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "antd";
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
p as EXAMPLE,
|
|
9
8
|
e as RbsEngine,
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
m as defaultPackage,
|
|
10
|
+
E as startDriver
|
|
12
11
|
};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { b as i, D as m } from "./index-
|
|
1
|
+
import { b as i, D as m } from "./index-Bwm3aMXZ.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 "react";
|
|
4
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";
|
|
7
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
10
|
-
function
|
|
9
|
+
function g() {
|
|
11
10
|
return i((r) => {
|
|
12
11
|
var o;
|
|
13
12
|
return ((o = r == null ? void 0 : r.config) == null ? void 0 : o.currentPageId) || m.id;
|
|
14
13
|
});
|
|
15
14
|
}
|
|
16
15
|
export {
|
|
17
|
-
|
|
16
|
+
g as u
|
|
18
17
|
};
|