react-big-screen 0.0.14 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/{IInputNumber-Vk6zq2bP.mjs → IInputNumber-PnHJNf9H.mjs} +1 -1
- package/es/{Line-DVDoMjnT.mjs → Line-CLgwvraj.mjs} +2 -2
- package/es/{attributes-C9O8_sg4.mjs → attributes-B2zdUkEM.mjs} +6 -5
- package/es/{attributes-CWY2_iW1.mjs → attributes-BoihG0Pf.mjs} +13 -12
- package/es/{attributes-C3fvsuzJ.mjs → attributes-CCphg5Uz.mjs} +6 -5
- package/es/{attributes-D6BpnolK.mjs → attributes-CGZYjvqh.mjs} +12 -12
- package/es/{attributes-CW_9BAq2.mjs → attributes-CReX9tBs.mjs} +7 -6
- package/es/{attributes-DUZPLASc.mjs → attributes-Cp6DmzH2.mjs} +6 -5
- package/es/{attributes-Dhnyf9QU.mjs → attributes-D0U-wvwb.mjs} +9 -8
- package/es/{attributes-BmekoT3X.mjs → attributes-DDwE7z2U.mjs} +6 -5
- package/es/{attributes-BPU7D3rB.mjs → attributes-DFoyvXIt.mjs} +6 -5
- package/es/{attributes-Btb0WFLF.mjs → attributes-DiQPq5cp.mjs} +6 -5
- package/es/{attributes-D4wypprY.mjs → attributes-GO1j5FqP.mjs} +6 -5
- package/es/{attributes-BQYKMvcj.mjs → attributes-IldrBXRw.mjs} +6 -5
- package/es/{index-Bi3qRAX3.mjs → index-3f6NpN6Q.mjs} +7 -6
- package/es/{index-0kmSz75m.mjs → index-3yjjqo9a.mjs} +14 -13
- package/es/{index-DYMjU1YC.mjs → index-7SrSU63A.mjs} +23 -22
- package/es/{index-D-3DbMMl.mjs → index-94huGSfW.mjs} +8 -7
- package/es/{index-CK1f83Ne.mjs → index-BCzhbh3u.mjs} +28 -27
- package/es/{index-pjNmKgyo.mjs → index-BOLcaCeQ.mjs} +5 -5
- package/es/{index-DWpwc6bV.mjs → index-BaY0buPw.mjs} +8 -7
- package/es/{index-Cj_g4N5m.mjs → index-BfVztt-6.mjs} +7 -6
- package/es/{index-BZYcTX5j.mjs → index-BqPf_Hxm.mjs} +38 -38
- package/es/{index-CwijThLu.mjs → index-C2gXj9yh.mjs} +3 -3
- package/es/{index-Cslh09K5.mjs → index-CEejLCq7.mjs} +7 -6
- package/es/{index-CwGNi732.mjs → index-CNgtHfNT.mjs} +12 -11
- package/es/{index-LSiyLbzB.mjs → index-COdMO6-N.mjs} +8 -7
- package/es/{index-s23NvDdl.mjs → index-CSzeRH1c.mjs} +4 -4
- package/es/{index-Dx-GVWd-.mjs → index-D1jy9Oi_.mjs} +6 -6
- package/es/{index-Cq0uVP0H.mjs → index-D1ux0Voe.mjs} +1 -1
- package/es/{index-DThqOiX3.mjs → index-D3O-30zC.mjs} +7 -6
- package/es/{index-yEom7dpa.mjs → index-D44zLboN.mjs} +7 -6
- package/es/{index-LjyKMBIL.mjs → index-DJy3VCmO.mjs} +8 -7
- package/es/{index-B2DgN7Ho.mjs → index-DbwrHA2p.mjs} +12 -11
- package/es/{index-efgz51Ht.mjs → index-DcqPY0qy.mjs} +12 -12
- package/es/{index-CTx-cvWk.mjs → index-DdNS18i9.mjs} +12 -12
- package/es/{index-DpRRQVh-.mjs → index-I1LC9rW6.mjs} +120 -120
- package/es/{index-BlACjoGr.mjs → index-Id1jg1qj.mjs} +7 -6
- package/es/{index-DSz8a2B7.mjs → index-VRwDBwp0.mjs} +10 -9
- package/es/{index-C6Xzniz1.mjs → index-X3IxUabI.mjs} +7 -6
- package/es/{index-kvRZQZJ-.mjs → index-guYPVm3G.mjs} +1 -1
- package/es/{index-Cz49jHht.mjs → index-jD_EEzQJ.mjs} +17 -16
- package/es/index.mjs +7 -6
- package/es/{selectPage-bS9p5soG.mjs → selectPage-DGZoj14b.mjs} +2 -2
- package/es/{useCurrentPageId-Cc4bRYxO.mjs → useCurrentPageId-CuYS8NBR.mjs} +6 -5
- package/es/useEffectOnce-l5sUTCBG.mjs +7 -0
- package/es/useListenRef-B01dENv0.mjs +8 -0
- package/es/{useResizeDom-BUgMcz6M.mjs → useResizeDom-B6mM4jrh.mjs} +2 -2
- package/package.json +1 -1
- package/types/src/export/components/RenderEditor/index.d.ts +2 -2
- package/types/src/export/index.d.ts +2 -2
- package/types/src/pages/components/Header/index.d.ts +1 -1
- package/es/useEffectOnce-Ct0JMBZd.mjs +0 -7
- package/es/useListenRef-Dqm6KZRj.mjs +0 -8
|
@@ -1,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-Cc4bRYxO.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
|
] });
|