react-big-screen 0.0.16 → 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-GqB4d5iv.mjs → attributes-B2zdUkEM.mjs} +6 -5
- package/es/{attributes-DpCS0mF3.mjs → attributes-BoihG0Pf.mjs} +13 -12
- package/es/{attributes-CaEhpijN.mjs → attributes-CCphg5Uz.mjs} +6 -5
- package/es/{attributes-DWlxiiYG.mjs → attributes-CGZYjvqh.mjs} +12 -12
- package/es/{attributes-HHhF4o7Y.mjs → attributes-CReX9tBs.mjs} +7 -6
- package/es/{attributes-yLDINEsg.mjs → attributes-Cp6DmzH2.mjs} +6 -5
- package/es/{attributes-DkJdS65t.mjs → attributes-D0U-wvwb.mjs} +9 -8
- package/es/{attributes-UoPVReqf.mjs → attributes-DDwE7z2U.mjs} +6 -5
- package/es/{attributes-CiSpGTC2.mjs → attributes-DFoyvXIt.mjs} +6 -5
- package/es/{attributes-CLKtng9Z.mjs → attributes-DiQPq5cp.mjs} +6 -5
- package/es/{attributes-C6-L5-Tc.mjs → attributes-GO1j5FqP.mjs} +6 -5
- package/es/{attributes-CTkK-zKe.mjs → attributes-IldrBXRw.mjs} +6 -5
- package/es/{index-lLnHnoQq.mjs → index-3f6NpN6Q.mjs} +7 -6
- package/es/{index-DexsopTp.mjs → index-3yjjqo9a.mjs} +14 -13
- package/es/{index-C2dVSPVz.mjs → index-7SrSU63A.mjs} +23 -22
- package/es/{index-D0KDJrVL.mjs → index-94huGSfW.mjs} +8 -7
- package/es/{index-BNC3UbKF.mjs → index-BCzhbh3u.mjs} +28 -27
- package/es/{index-C9hmLstz.mjs → index-BOLcaCeQ.mjs} +5 -5
- package/es/{index-thG37Ydl.mjs → index-BaY0buPw.mjs} +8 -7
- package/es/{index-CbTTJ-CP.mjs → index-BfVztt-6.mjs} +7 -6
- package/es/{index-ClIbiw0p.mjs → index-BqPf_Hxm.mjs} +38 -38
- package/es/{index-Clk_czMj.mjs → index-C2gXj9yh.mjs} +3 -3
- package/es/{index-sZk6Or23.mjs → index-CEejLCq7.mjs} +7 -6
- package/es/{index-qrNjlWih.mjs → index-CNgtHfNT.mjs} +12 -11
- package/es/{index-DKoTC2Xk.mjs → index-COdMO6-N.mjs} +8 -7
- package/es/{index-CAMpiOxt.mjs → index-CSzeRH1c.mjs} +4 -4
- package/es/{index-Dk9oedlP.mjs → index-D1jy9Oi_.mjs} +6 -6
- package/es/{index-Cq0uVP0H.mjs → index-D1ux0Voe.mjs} +1 -1
- package/es/{index-CZvhSCSC.mjs → index-D3O-30zC.mjs} +7 -6
- package/es/{index-Ccbgx0jH.mjs → index-D44zLboN.mjs} +7 -6
- package/es/{index-0K85o51g.mjs → index-DJy3VCmO.mjs} +8 -7
- package/es/{index-CUNz1tFb.mjs → index-DbwrHA2p.mjs} +12 -11
- package/es/{index-D5vYVcTR.mjs → index-DcqPY0qy.mjs} +12 -12
- package/es/{index-BCZdjBJJ.mjs → index-DdNS18i9.mjs} +12 -12
- package/es/{index-BldlzvuU.mjs → index-I1LC9rW6.mjs} +14 -14
- package/es/{index-BM4ILKEc.mjs → index-Id1jg1qj.mjs} +7 -6
- package/es/{index-GcMZDFMx.mjs → index-VRwDBwp0.mjs} +10 -9
- package/es/{index-CV3CbGOy.mjs → index-X3IxUabI.mjs} +7 -6
- package/es/{index-kvRZQZJ-.mjs → index-guYPVm3G.mjs} +1 -1
- package/es/{index-iFuEY-wV.mjs → index-jD_EEzQJ.mjs} +17 -16
- package/es/index.mjs +7 -6
- package/es/{selectPage-BYoFtkBW.mjs → selectPage-DGZoj14b.mjs} +2 -2
- package/es/{useCurrentPageId-BKvMaKLl.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/es/useEffectOnce-Ct0JMBZd.mjs +0 -7
- package/es/useListenRef-Dqm6KZRj.mjs +0 -8
|
@@ -1,16 +1,16 @@
|
|
|
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 { n as h } from "./index-
|
|
2
|
+
import { n as h } 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 { useState as p, useMemo as L, useEffect as x } from "
|
|
5
|
-
import "
|
|
4
|
+
import { useState as p, useMemo as L, useEffect as x } 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 { Progress as S } from "
|
|
7
|
+
import { Progress as S } from "antd";
|
|
8
8
|
import { r as y, g as C } from "./random-DD0zMfMm.mjs";
|
|
9
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
10
10
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
11
11
|
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-
|
|
13
|
-
import { A as M } from "./index-
|
|
12
|
+
import { DEFAULT_OPTIONS as I } from "./attributes-B2zdUkEM.mjs";
|
|
13
|
+
import { A as M } from "./index-guYPVm3G.mjs";
|
|
14
14
|
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
15
|
const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_progressList_line_header_xy0sd_69", c = {
|
|
16
16
|
progressList: N,
|
|
@@ -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 "
|
|
2
|
+
import { Empty as i } from "antd";
|
|
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,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 e } from "./index-
|
|
3
|
-
import { n as a } from "./index-
|
|
2
|
+
import { R as e } 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 l = a((t) => {
|
|
11
12
|
const { width: o, height: r } = t;
|
|
12
13
|
return /* @__PURE__ */ i(
|
|
13
14
|
e,
|
|
@@ -36,5 +37,5 @@ const f = a((t) => {
|
|
|
36
37
|
);
|
|
37
38
|
});
|
|
38
39
|
export {
|
|
39
|
-
|
|
40
|
+
l as default
|
|
40
41
|
};
|
|
@@ -1,19 +1,20 @@
|
|
|
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-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 { DEFAULT_OPTIONS as i } from "./attributes-
|
|
10
|
+
import { DEFAULT_OPTIONS as i } from "./attributes-DDwE7z2U.mjs";
|
|
10
11
|
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
12
|
const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_specialCard_head_arrow_1s46n_71", o = "_specialCard_head_title_1s46n_74", r = {
|
|
12
13
|
specialCard: _,
|
|
13
14
|
specialCard_head: t,
|
|
14
15
|
specialCard_head_arrow: m,
|
|
15
16
|
specialCard_head_title: o
|
|
16
|
-
},
|
|
17
|
+
}, g = c((d) => {
|
|
17
18
|
const { options: a } = d;
|
|
18
19
|
return /* @__PURE__ */ e(
|
|
19
20
|
"div",
|
|
@@ -33,5 +34,5 @@ const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_speci
|
|
|
33
34
|
);
|
|
34
35
|
}, i);
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
g as default
|
|
37
38
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
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 { n as m } from "./index-
|
|
2
|
+
import { n as m } 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 { useMemo as v } from "
|
|
5
|
-
import "
|
|
4
|
+
import { useMemo as v } 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 { u as f, s as I } from "./selectPage-
|
|
10
|
-
import { u as L } from "./useCurrentPageId-
|
|
10
|
+
import { u as f, s as I } from "./selectPage-DGZoj14b.mjs";
|
|
11
|
+
import { u as L } from "./useCurrentPageId-CuYS8NBR.mjs";
|
|
11
12
|
import S from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
12
13
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/hotkeys-js@3.13.15/node_modules/hotkeys-js/dist/hotkeys.esm.js";
|
|
13
14
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|
|
@@ -74,7 +75,7 @@ function w(t, s = {}) {
|
|
|
74
75
|
c.push(a);
|
|
75
76
|
}), { tree: c, treeMap: s };
|
|
76
77
|
}
|
|
77
|
-
const
|
|
78
|
+
const Q = m((t) => {
|
|
78
79
|
const s = f(), c = L(), { tree: n, treeMap: e } = v(() => w(s), [s]), a = v(
|
|
79
80
|
() => P(c, e),
|
|
80
81
|
[c, e]
|
|
@@ -91,5 +92,5 @@ const O = m((t) => {
|
|
|
91
92
|
return /* @__PURE__ */ d("div", { style: { width: t == null ? void 0 : t.width, height: t == null ? void 0 : t.height }, children: l });
|
|
92
93
|
});
|
|
93
94
|
export {
|
|
94
|
-
|
|
95
|
+
Q as default
|
|
95
96
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { jsx as b } 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-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
|
import { useRequest 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";
|
|
10
|
-
import { R as S } from "./index-
|
|
11
|
-
import { DEFAULT_OPTIONS as g } from "./attributes-
|
|
11
|
+
import { R as S } from "./index-C2gXj9yh.mjs";
|
|
12
|
+
import { DEFAULT_OPTIONS as g } from "./attributes-BoihG0Pf.mjs";
|
|
12
13
|
const n = "chinaOutline";
|
|
13
14
|
async function z() {
|
|
14
15
|
var t, c;
|
|
@@ -34,14 +35,14 @@ async function $() {
|
|
|
34
35
|
const r = await z();
|
|
35
36
|
window.echarts.registerMap(n, r);
|
|
36
37
|
}
|
|
37
|
-
const
|
|
38
|
+
const p = "path://M1705.06,1318.313v-89.254l-319.9-221.799l0.073-208.063c0.521-84.662-26.629-121.796-63.961-121.491c-37.332-0.305-64.482,36.829-63.961,121.491l0.073,208.063l-319.9,221.799v89.254l330.343-157.288l12.238,241.308l-134.449,92.931l0.531,42.034l175.125-42.917l175.125,42.917l0.531-42.034l-134.449-92.931l12.238-241.308L1705.06,1318.313z", o = [
|
|
38
39
|
{ name: "北京", coords: [116, 39], value: 83 },
|
|
39
40
|
{ name: "广东", coords: [115, 22], value: 22 },
|
|
40
41
|
{ name: "西藏", coords: [91, 29], value: 45 },
|
|
41
42
|
{ name: "云南", coords: [102, 25], value: 108 },
|
|
42
43
|
{ name: "广西", coords: [108, 22], value: 230 },
|
|
43
44
|
{ name: "新疆", coords: [87, 43], value: 67 }
|
|
44
|
-
],
|
|
45
|
+
], O = o.reduce((r, t) => (r[t.name] = t.value, r), {}), L = o[0].coords, h = o.slice(1).map((r) => ({
|
|
45
46
|
coords: [L, r.coords],
|
|
46
47
|
tooltip: {
|
|
47
48
|
formatter: () => `${r == null ? void 0 : r.name}:${(r == null ? void 0 : r.value) || 0}个`
|
|
@@ -87,7 +88,7 @@ function W() {
|
|
|
87
88
|
show: !0,
|
|
88
89
|
period: f,
|
|
89
90
|
trailLength: 0,
|
|
90
|
-
symbol:
|
|
91
|
+
symbol: p,
|
|
91
92
|
symbolSize: 15,
|
|
92
93
|
color: l
|
|
93
94
|
},
|
|
@@ -127,7 +128,7 @@ function W() {
|
|
|
127
128
|
}
|
|
128
129
|
];
|
|
129
130
|
}
|
|
130
|
-
const
|
|
131
|
+
const T = C((r) => {
|
|
131
132
|
const { width: t, height: c, options: e } = r, { data: i } = v(
|
|
132
133
|
async () => {
|
|
133
134
|
await $();
|
|
@@ -162,7 +163,7 @@ const N = C((r) => {
|
|
|
162
163
|
...m ? {} : {
|
|
163
164
|
tooltip: {
|
|
164
165
|
formatter(a) {
|
|
165
|
-
const w =
|
|
166
|
+
const w = O[a == null ? void 0 : a.name] || 0;
|
|
166
167
|
return `${(a == null ? void 0 : a.name) || ""}: ${w}个`;
|
|
167
168
|
}
|
|
168
169
|
}
|
|
@@ -255,5 +256,5 @@ const N = C((r) => {
|
|
|
255
256
|
);
|
|
256
257
|
}, g);
|
|
257
258
|
export {
|
|
258
|
-
|
|
259
|
+
T as default
|
|
259
260
|
};
|
|
@@ -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-
|
|
4
|
-
import "
|
|
2
|
+
import { C as l } from "./index-BqPf_Hxm.mjs";
|
|
3
|
+
import { I as u } from "./index-CSzeRH1c.mjs";
|
|
4
|
+
import "react";
|
|
5
|
+
import { Tooltip as v, Checkbox as h, Slider as C } from "antd";
|
|
5
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";
|
|
6
7
|
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
|
|
8
|
+
import { I as f, b as m } from "./Line-CLgwvraj.mjs";
|
|
8
9
|
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";
|
|
10
|
+
import { I as o, a as b } from "./IInputNumber-PnHJNf9H.mjs";
|
|
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(v, { 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(f, { ...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
|
+
o,
|
|
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
|
+
b,
|
|
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
|
+
m,
|
|
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
|
+
C,
|
|
190
190
|
{
|
|
191
191
|
style: { flex: 1, margin: "4px 8px" },
|
|
192
192
|
min: 0,
|
|
@@ -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-BqPf_Hxm.mjs";
|
|
5
5
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
6
|
-
import N, { useEffect as y, useMemo as M, useRef as w, useState as _, useCallback as z } from "
|
|
7
|
-
import "
|
|
6
|
+
import N, { useEffect as y, useMemo as M, useRef as w, useState as _, useCallback as z } from "react";
|
|
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";
|
|
9
10
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
10
11
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
11
|
-
import { jsxs as
|
|
12
|
-
import
|
|
13
|
-
import { u as j } from "./useListenRef-
|
|
14
|
-
import {
|
|
15
|
-
import { u as
|
|
16
|
-
import { u as V } from "./useCurrentPageId-BKvMaKLl.mjs";
|
|
12
|
+
import { jsxs as U, jsx as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
13
|
+
import Z from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/umi-request@1.4.0/node_modules/umi-request/dist/index.esm.js";
|
|
14
|
+
import { u as j } from "./useListenRef-B01dENv0.mjs";
|
|
15
|
+
import { u as Q } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
16
|
+
import { u as V } from "./useCurrentPageId-CuYS8NBR.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 ? Z(`${(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
|
+
G.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__ */ U("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
|
] });
|
|
@@ -2,26 +2,26 @@ var vn = Object.defineProperty;
|
|
|
2
2
|
var bn = (e, t, n) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var ee = (e, t, n) => bn(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { jsx as l, jsxs as g, Fragment as W } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
5
|
-
import zt, { useRef as B, useEffect as w, useMemo as A, useState as S, forwardRef as Cn, useImperativeHandle as xn, Suspense as Tt, createContext as In, useContext as kn } from "
|
|
5
|
+
import zt, { useRef as B, useEffect as w, useMemo as A, useState as S, forwardRef as Cn, useImperativeHandle as xn, Suspense as Tt, createContext as In, useContext as kn } from "react";
|
|
6
6
|
import { DownOutlined as Sn, ReloadOutlined as Z, CloseOutlined as Nn, ArrowUpOutlined as et, ArrowRightOutlined as wn, ArrowDownOutlined as tt, ArrowLeftOutlined as En, QuestionCircleOutlined as An, UploadOutlined as Ln, VerticalAlignBottomOutlined as $t, SaveOutlined as Q, ClearOutlined as Rt, TranslationOutlined as Dn, SettingOutlined as Ft, GithubFilled as On, LockOutlined as Ht, EyeOutlined as Pn, EyeInvisibleOutlined as Mn, RightOutlined as Bn, VerticalAlignTopOutlined as jn, UnlockOutlined as zn, BlockOutlined as Tn, DisconnectOutlined as $n, CopyOutlined as Rn, DeleteOutlined as de, StarOutlined as dt, BorderOuterOutlined as Fn, BorderBottomOutlined as Hn, DownloadOutlined as Kn, LoadingOutlined as Kt, EditOutlined as Ut, BarsOutlined as Un, FileOutlined as qn, AppstoreOutlined as Jn, FileTextOutlined as Wn, ApartmentOutlined as Vn, BankOutlined as Gn, HistoryOutlined as Xn, PlusOutlined as rt, RedoOutlined as Yn } 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";
|
|
7
|
-
import { message as E, Tooltip as T, InputNumber as le, Popover as st, Slider as Zn, Space as D, Dropdown as be, Button as K, Input as Qn, Collapse as Ct, Form as M, Modal as re, Descriptions as je, Tree as pn, Row as nt, Col as H, Checkbox as we, Switch as qt, Tabs as ei, Empty as xt } from "
|
|
7
|
+
import { message as E, Tooltip as T, InputNumber as le, Popover as st, Slider as Zn, Space as D, Dropdown as be, Button as K, Input as Qn, Collapse as Ct, Form as M, Modal as re, Descriptions as je, Tree as pn, Row as nt, Col as H, Checkbox as we, Switch as qt, Tabs as ei, Empty as xt } from "antd";
|
|
8
8
|
import $ from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
9
|
-
import { R as k, u as N, E as ti, a as ni, b as ii, c as ut, s as li, L as ci, d as ai, e as Jt, f as ht, g as it, l as ze, h as It, i as oi, j as kt, I as Te, k as di, m as ri } from "./index-
|
|
9
|
+
import { R as k, u as N, E as ti, a as ni, b as ii, c as ut, s as li, L as ci, d as ai, e as Jt, f as ht, g as it, l as ze, h as It, i as oi, j as kt, I as Te, k as di, m as ri } from "./index-BqPf_Hxm.mjs";
|
|
10
10
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
11
|
-
import { createPortal as si } from "
|
|
11
|
+
import { createPortal as si } from "react-dom";
|
|
12
12
|
import { createRoot as Wt } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
13
13
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
14
14
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
15
|
-
import { u as Ee, i as Ae, a as gt, b as Vt, c as Gt, g as ae, d as ui, e as hi, f as gi, h as _i, j as Xt, s as St, P as mi, k as fi, l as yi } from "./index-
|
|
15
|
+
import { u as Ee, i as Ae, a as gt, b as Vt, c as Gt, g as ae, d as ui, e as hi, f as gi, h as _i, j as Xt, s as St, P as mi, k as fi, l as yi } from "./index-DdNS18i9.mjs";
|
|
16
16
|
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";
|
|
17
|
-
import { I as p, L as Le, a as z, C as vi, b as $e } from "./Line-
|
|
18
|
-
import { I as _t, a as bi } from "./IInputNumber-
|
|
17
|
+
import { I as p, L as Le, a as z, C as vi, b as $e } from "./Line-CLgwvraj.mjs";
|
|
18
|
+
import { I as _t, a as bi } from "./IInputNumber-PnHJNf9H.mjs";
|
|
19
19
|
import { useTranslation as se } 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";
|
|
20
20
|
import lt from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/hotkeys-js@3.13.15/node_modules/hotkeys-js/dist/hotkeys.esm.js";
|
|
21
21
|
import Ci from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|
|
22
22
|
import { cloneDeep as Yt, debounce as xi, groupBy as Ii, throttle as Zt } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js";
|
|
23
23
|
import { useUpdateEffect as mt, useUnmount as Qt, useRequest as pt } 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";
|
|
24
|
-
import { I as U, i as ki, a as Si } from "./index-
|
|
24
|
+
import { I as U, i as ki, a as Si } from "./index-D1ux0Voe.mjs";
|
|
25
25
|
import * as Ni from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/editor.api.js";
|
|
26
26
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/language/json/monaco.contribution.js";
|
|
27
27
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.js";
|
|
@@ -29,11 +29,11 @@ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@
|
|
|
29
29
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution.js";
|
|
30
30
|
import ft from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js";
|
|
31
31
|
import { saveAs as en } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.js";
|
|
32
|
-
import { u as tn } from "./useEffectOnce-
|
|
33
|
-
import { u as wi, s as Re } from "./selectPage-
|
|
34
|
-
import { u as Ei } from "./useCurrentPageId-
|
|
35
|
-
import { u as nn } from "./useListenRef-
|
|
36
|
-
import { I as Ce } from "./index-
|
|
32
|
+
import { u as tn } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
33
|
+
import { u as wi, s as Re } from "./selectPage-DGZoj14b.mjs";
|
|
34
|
+
import { u as Ei } from "./useCurrentPageId-CuYS8NBR.mjs";
|
|
35
|
+
import { u as nn } from "./useListenRef-B01dENv0.mjs";
|
|
36
|
+
import { I as Ce } from "./index-CSzeRH1c.mjs";
|
|
37
37
|
async function ln(e) {
|
|
38
38
|
return new Promise((t) => {
|
|
39
39
|
let n = document.createElement("input");
|
|
@@ -813,7 +813,7 @@ const Il = (e, t, n) => {
|
|
|
813
813
|
};
|
|
814
814
|
async function kl(e) {
|
|
815
815
|
var i;
|
|
816
|
-
const t = await Il(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-
|
|
816
|
+
const t = await Il(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-BqPf_Hxm.mjs").then((c) => c.r), "../../../../../../public/example/multiple-components-interactive.json": () => import("./index-BqPf_Hxm.mjs").then((c) => c.t) }), `../../../../../../public/example/${e}.json`, 9), n = k.getActiveEngine();
|
|
817
817
|
(i = n == null ? void 0 : n.loadJSON) == null || i.call(n, t);
|
|
818
818
|
}
|
|
819
819
|
function Sl() {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsx as m } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { n as p } from "./index-
|
|
2
|
+
import { n as p } 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 { DEFAULT_OPTIONS as n } from "./attributes-
|
|
10
|
-
const
|
|
10
|
+
import { DEFAULT_OPTIONS as n } from "./attributes-GO1j5FqP.mjs";
|
|
11
|
+
const b = p((o) => {
|
|
11
12
|
const { options: t, width: r, height: i } = o;
|
|
12
13
|
return /* @__PURE__ */ m("div", { style: { width: r, height: i, background: t.background } });
|
|
13
14
|
}, n);
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
b as default
|
|
16
17
|
};
|
|
@@ -1,20 +1,21 @@
|
|
|
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-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
|
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";
|
|
10
|
-
import { DEFAULT_OPTIONS as
|
|
11
|
-
const
|
|
12
|
-
specialTitle:
|
|
11
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-D0U-wvwb.mjs";
|
|
12
|
+
const T = "_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 = {
|
|
13
|
+
specialTitle: T,
|
|
13
14
|
specialTitle_line_left: m,
|
|
14
15
|
specialTitle_inner: o,
|
|
15
16
|
specialTitle_inner_icon: h,
|
|
16
17
|
specialTitle_line_right: d
|
|
17
|
-
},
|
|
18
|
+
}, D = a((n) => {
|
|
18
19
|
const { width: _, height: c, options: e } = n;
|
|
19
20
|
return /* @__PURE__ */ t("div", { style: { width: _, height: c }, className: i.specialTitle, children: [
|
|
20
21
|
/* @__PURE__ */ l("div", { className: i.specialTitle_line_left }),
|
|
@@ -39,7 +40,7 @@ const p = "_specialTitle_7705n_59", m = "_specialTitle_line_left_7705n_64", o =
|
|
|
39
40
|
] }),
|
|
40
41
|
/* @__PURE__ */ l("div", { className: i.specialTitle_line_right })
|
|
41
42
|
] });
|
|
42
|
-
},
|
|
43
|
+
}, p);
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
+
D as default
|
|
45
46
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
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 { n as r } from "./index-
|
|
2
|
+
import { R as m } from "./index-C2gXj9yh.mjs";
|
|
3
|
+
import { n as r } 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 f = r((t) => {
|
|
11
12
|
const { width: a, height: e } = t;
|
|
12
13
|
return /* @__PURE__ */ o(
|
|
13
14
|
m,
|
|
@@ -44,5 +45,5 @@ const g = r((t) => {
|
|
|
44
45
|
);
|
|
45
46
|
});
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
+
f as default
|
|
48
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l, jsxs as x } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { forwardRef as I, useRef as r, useState as i, useImperativeHandle as M, useEffect as w } from "
|
|
2
|
+
import { forwardRef as I, useRef as r, useState as i, useImperativeHandle as M, useEffect as w } from "react";
|
|
3
3
|
import y from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
4
4
|
const A = "_autoScroll_h2edl_59", D = "_autoScroll_inner_h2edl_65", H = "_scroll_h2edl_112", P = "_scroll_paused_h2edl_115", n = {
|
|
5
5
|
autoScroll: A,
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsx as p } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { R as h } from "./index-
|
|
3
|
-
import { n as x } from "./index-
|
|
2
|
+
import { R as h } from "./index-C2gXj9yh.mjs";
|
|
3
|
+
import { n as x } 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 { useRef as g, useMemo as I } from "
|
|
6
|
-
import "
|
|
5
|
+
import { useRef as g, useMemo as I } 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 { u as y } from "./useEffectOnce-
|
|
11
|
-
import { DEFAULT_OPTIONS as b } from "./attributes-
|
|
12
|
-
const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz项目"], i = [1048, 735, 580, 484, 300],
|
|
13
|
-
const { width: u, height: d, options: t } = m,
|
|
11
|
+
import { u as y } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
12
|
+
import { DEFAULT_OPTIONS as b } from "./attributes-IldrBXRw.mjs";
|
|
13
|
+
const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz项目"], i = [1048, 735, 580, 484, 300], W = x((m) => {
|
|
14
|
+
const { width: u, height: d, options: t } = m, n = g(), f = I(() => {
|
|
14
15
|
const e = S.map((r, l) => ({
|
|
15
16
|
name: r,
|
|
16
17
|
value: i[l]
|
|
@@ -66,18 +67,18 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
|
|
|
66
67
|
};
|
|
67
68
|
}, [t == null ? void 0 : t.titleColor, t == null ? void 0 : t.subtextColor]);
|
|
68
69
|
return y(() => {
|
|
69
|
-
let e = null,
|
|
70
|
+
let e = null, o = 0;
|
|
70
71
|
function r() {
|
|
71
|
-
var s,
|
|
72
|
-
e !== null && ((s =
|
|
72
|
+
var s, a, c;
|
|
73
|
+
e !== null && ((s = n.current) == null || s.dispatchAction({
|
|
73
74
|
type: "downplay",
|
|
74
75
|
seriesIndex: 0,
|
|
75
76
|
dataIndex: e
|
|
76
|
-
})), (c = (
|
|
77
|
+
})), (c = (a = n.current) == null ? void 0 : a.dispatchAction) == null || c.call(a, {
|
|
77
78
|
type: "highlight",
|
|
78
79
|
seriesIndex: 0,
|
|
79
|
-
dataIndex: e =
|
|
80
|
-
}),
|
|
80
|
+
dataIndex: e = o
|
|
81
|
+
}), o = ++o >= i.length ? 0 : o;
|
|
81
82
|
}
|
|
82
83
|
r();
|
|
83
84
|
let l = setInterval(r, 2e3);
|
|
@@ -87,7 +88,7 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
|
|
|
87
88
|
}), /* @__PURE__ */ p(
|
|
88
89
|
h,
|
|
89
90
|
{
|
|
90
|
-
onGetInstance: (e) =>
|
|
91
|
+
onGetInstance: (e) => n.current = e,
|
|
91
92
|
options: f,
|
|
92
93
|
style: {
|
|
93
94
|
width: u,
|
|
@@ -97,5 +98,5 @@ const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz
|
|
|
97
98
|
);
|
|
98
99
|
}, b);
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
+
W as default
|
|
101
102
|
};
|
package/es/index.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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 m, R as e, p as E, s as f } from "./index-BqPf_Hxm.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
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import "antd";
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
m as EXAMPLE,
|
|
8
9
|
e as RbsEngine,
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
E as defaultPackage,
|
|
11
|
+
f as startDriver
|
|
11
12
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useState as g, useEffect as r } from "
|
|
2
|
-
import { u as i, R as a } from "./index-
|
|
1
|
+
import { useState as g, useEffect as r } from "react";
|
|
2
|
+
import { u as i, R as a } from "./index-BqPf_Hxm.mjs";
|
|
3
3
|
function f() {
|
|
4
4
|
const [n, e] = g([]), { engine: t } = i();
|
|
5
5
|
return r(() => {
|