react-big-screen 0.0.3 → 0.0.10
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/README.md +0 -47
- package/es/{IInputNumber-D1VHHCf0.mjs → IInputNumber-Vk6zq2bP.mjs} +2 -2
- package/es/{Line-_Oh8Pbbj.mjs → Line-DVDoMjnT.mjs} +5 -5
- package/es/attributes-BYxBqU2c.mjs +31 -0
- package/es/{attributes-DprEERBw.mjs → attributes-BZuLjijo.mjs} +9 -9
- package/es/attributes-C7z0llm6.mjs +34 -0
- package/es/attributes-CObjaTHo.mjs +40 -0
- package/es/attributes-CiBCI0S4.mjs +46 -0
- package/es/{attributes-B0TGeGwd.mjs → attributes-D228Fp7X.mjs} +8 -8
- package/es/{attributes-C1Er2mU2.mjs → attributes-DB2T6gyG.mjs} +8 -8
- package/es/{attributes-DqJGC0Ag.mjs → attributes-DTUabLaO.mjs} +8 -8
- package/es/attributes-DiDPzv4p.mjs +38 -0
- package/es/{attributes-DlWyA2om.mjs → attributes-DiJuUD25.mjs} +13 -13
- package/es/{attributes-DD_Hogjd.mjs → attributes-DymAckVs.mjs} +8 -8
- package/es/attributes-Z5hnIhwm.mjs +24 -0
- package/es/{index-qx54Fc2k.mjs → index-1LkEXxpL.mjs} +13 -13
- package/es/{index-BVm2ihs2.mjs → index-7eVcuYqa.mjs} +52 -52
- package/es/{index-BvMSWX7-.mjs → index-BCo7nrTC.mjs} +9 -9
- package/es/index-BJ7mF_i0.mjs +39 -0
- package/es/index-BeosRT3s.mjs +40 -0
- package/es/{index-CPJZOGYB.mjs → index-BosbKd7F.mjs} +12 -12
- package/es/index-BxS_edKL.mjs +37 -0
- package/es/{index-C9x-zwVC.mjs → index-C1chsaLk.mjs} +11 -11
- package/es/index-C27i7f98.mjs +16 -0
- package/es/{index-DCC5Ubca.mjs → index-C2n3A8Vv.mjs} +10 -10
- package/es/index-C46c5WgX.mjs +34 -0
- package/es/index-CA9gyynF.mjs +24 -0
- package/es/index-Cap163Da.mjs +48 -0
- package/es/{index-CGPWZMnx.mjs → index-Cc0s1-Zj.mjs} +10 -10
- package/es/{index-D-MRie5y.mjs → index-CpGZqzUg.mjs} +11 -11
- package/es/{index-w0pdPP5S.mjs → index-Cq0uVP0H.mjs} +3 -3
- package/es/{index-BvJsCGUq.mjs → index-D-z-xA_o.mjs} +9 -9
- package/es/{index-CPeT0oeP.mjs → index-DN0D3YZn.mjs} +11 -11
- package/es/{index-BRCJpbOA.mjs → index-D_iovU5J.mjs} +10 -10
- package/es/{index-om-B_yMg.mjs → index-Dau1AodI.mjs} +11 -11
- package/es/index-DpXGqxJZ.mjs +43 -0
- package/es/{index-CaDgVbYl.mjs → index-HSbwQhyI.mjs} +7 -7
- package/es/{index-BFgfDn8P.mjs → index-P_S0iiDG.mjs} +10 -10
- package/es/{index-BsZJ5Qtx.mjs → index-XMipcr1Y.mjs} +34 -34
- package/es/index-iSKLNq-R.mjs +44 -0
- package/es/{index-BVzODV3B.mjs → index-kvRZQZJ-.mjs} +3 -3
- package/es/{index-IPshmTia.mjs → index-rI9XQcjd.mjs} +13 -13
- package/es/{index-DCssRFM_.mjs → index-z58t_MBP.mjs} +15 -15
- package/es/index.mjs +5 -5
- package/es/{selectPage-BV06fhR-.mjs → selectPage-BMbyzOTx.mjs} +2 -2
- package/es/useCurrentPageId-DDxUIJXe.mjs +17 -0
- package/es/useEffectOnce-Ct0JMBZd.mjs +7 -0
- package/es/useListenRef-Dqm6KZRj.mjs +8 -0
- package/es/{useResizeDom-CwFwXEqh.mjs → useResizeDom-BUgMcz6M.mjs} +2 -2
- package/package.json +3 -1
- package/es/attributes-9JJnMyOM.mjs +0 -24
- package/es/attributes-BYa3Kx6D.mjs +0 -38
- package/es/attributes-CjTTwDCD.mjs +0 -34
- package/es/attributes-D_kdeVdD.mjs +0 -31
- package/es/attributes-NyWPJ3_p.mjs +0 -46
- package/es/attributes-yntL0BJM.mjs +0 -40
- package/es/index-BLkx_Jpg.mjs +0 -39
- package/es/index-BUoMt_pm.mjs +0 -24
- package/es/index-CRv8sS9n.mjs +0 -34
- package/es/index-Co9UFyo-.mjs +0 -48
- package/es/index-Cp1LVlIc.mjs +0 -37
- package/es/index-CtW8_7m2.mjs +0 -44
- package/es/index-DKoIcrH8.mjs +0 -40
- package/es/index-eNxsu4gw.mjs +0 -43
- package/es/index-zQJneiJO.mjs +0 -16
- package/es/useCurrentPageId-7D7A4sjF.mjs +0 -17
- package/es/useEffectOnce-DrBvWFlm.mjs +0 -7
- package/es/useListenRef-C7BrHZ68.mjs +0 -8
package/README.md
CHANGED
|
@@ -36,53 +36,6 @@ react-big-screen 是一个使用React开发的`前端可拖拽大屏`开源项
|
|
|
36
36
|
- [点击访问:多组件联动](https://tangjiahui-cn.github.io/react-big-screen/#/create?example=multiple-components-interactive)
|
|
37
37
|
|
|
38
38
|
## 快速开始
|
|
39
|
-
|
|
40
|
-
注:仅支持node版本20+、react版本18+
|
|
41
|
-
|
|
42
|
-
```shell
|
|
43
|
-
pnpm install react-big-screen
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
```tsx
|
|
47
|
-
// index.tsx
|
|
48
|
-
import { EXAMPLE, RbsEngine } from "react-big-screen";
|
|
49
|
-
import * as React from "react";
|
|
50
|
-
import "antd/dist/antd.min.css";
|
|
51
|
-
import "react-big-screen/es/style.css";
|
|
52
|
-
|
|
53
|
-
export default () => {
|
|
54
|
-
const domRef = React.useRef<HTMLDivElement>(null);
|
|
55
|
-
|
|
56
|
-
React.useEffect(() => {
|
|
57
|
-
const engine = new RbsEngine();
|
|
58
|
-
|
|
59
|
-
// 挂载到DOM
|
|
60
|
-
engine.mount(domRef.current!).then(() => {
|
|
61
|
-
// 挂载成功后,导入JSON文件
|
|
62
|
-
engine.importJSON(EXAMPLE.classic);
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
// 销毁
|
|
66
|
-
return () => {
|
|
67
|
-
engine.destroy()
|
|
68
|
-
};
|
|
69
|
-
}, []);
|
|
70
|
-
|
|
71
|
-
return (
|
|
72
|
-
<div
|
|
73
|
-
ref={domRef}
|
|
74
|
-
style={{
|
|
75
|
-
width: "100vw",
|
|
76
|
-
height: "100vh",
|
|
77
|
-
position: "fixed",
|
|
78
|
-
overflow: "hidden",
|
|
79
|
-
}}
|
|
80
|
-
/>
|
|
81
|
-
);
|
|
82
|
-
};
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## 本地调试
|
|
86
39
|
本地启动一个项目,用以调试或者开发功能。
|
|
87
40
|
```shell
|
|
88
41
|
# 拉取代码
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as o } from "/Users/tangjiahui/
|
|
2
|
-
import { Input as n, InputNumber as m } from "/Users/tangjiahui/
|
|
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 { Input as n, InputNumber 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";
|
|
3
3
|
function u(t) {
|
|
4
4
|
const { onChange: e, ...r } = t;
|
|
5
5
|
return /* @__PURE__ */ o(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as a, jsxs as _ } from "/Users/tangjiahui/
|
|
2
|
-
import b, { useState as S, createContext as g, useContext as k } from "/Users/tangjiahui/
|
|
3
|
-
import { SketchPicker as v } from "/Users/tangjiahui/
|
|
4
|
-
import { Dropdown as o, Input as D, Row as w, Col as f, Tooltip as N } from "/Users/tangjiahui/
|
|
5
|
-
import C from "/Users/tangjiahui/
|
|
1
|
+
import { jsx as a, jsxs as _ } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
+
import b, { useState as S, createContext as g, useContext as k } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
3
|
+
import { SketchPicker as v } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-color@2.19.3_react@18.3.1/node_modules/react-color/es/index.js";
|
|
4
|
+
import { Dropdown as o, Input as D, Row as w, Col as f, Tooltip as N } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/antd@4.24.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/index.js";
|
|
5
|
+
import C from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
6
6
|
const I = "_IColorPicker_p2bys_59", $ = {
|
|
7
7
|
IColorPicker: I
|
|
8
8
|
}, P = "_customDropDown_t0e27_59", L = {
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { o as t } from "./index-7eVcuYqa.mjs";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
5
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
6
|
+
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
|
+
const r = {
|
|
10
|
+
autoScroll: !0,
|
|
11
|
+
pxPerSecond: 12
|
|
12
|
+
}, u = t(
|
|
13
|
+
[
|
|
14
|
+
/* @__PURE__ */ o("b", { children: "滚动配置" }, "data"),
|
|
15
|
+
{
|
|
16
|
+
key: "pxPerSecond",
|
|
17
|
+
label: "每秒滚动像素",
|
|
18
|
+
component: "inputNumber"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
key: "autoScroll",
|
|
22
|
+
label: "自动滚动",
|
|
23
|
+
component: "checkbox"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
r
|
|
27
|
+
);
|
|
28
|
+
export {
|
|
29
|
+
r as DEFAULT_OPTIONS,
|
|
30
|
+
u as default
|
|
31
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as e } from "/Users/tangjiahui/
|
|
2
|
-
import { o as t } from "./index-
|
|
3
|
-
import "/Users/tangjiahui/
|
|
4
|
-
import "/Users/tangjiahui/
|
|
5
|
-
import "/Users/tangjiahui/
|
|
6
|
-
import "/Users/tangjiahui/
|
|
7
|
-
import "/Users/tangjiahui/
|
|
8
|
-
import "/Users/tangjiahui/
|
|
9
|
-
import { I as b } from "./index-
|
|
1
|
+
import { jsx as e } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
+
import { o as t } from "./index-7eVcuYqa.mjs";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
5
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
6
|
+
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
|
+
import { I as b } from "./index-HSbwQhyI.mjs";
|
|
10
10
|
const g = {
|
|
11
11
|
id: "clock.png"
|
|
12
12
|
}, s = t(
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { o as t } from "./index-7eVcuYqa.mjs";
|
|
2
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
|
+
const o = {
|
|
10
|
+
src: "https://ts3.cn.mm.bing.net/th?id=OIP-C.3r1vguZyWFUJ80A2Nf2k3AHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=2&pid=3.1&rm=2"
|
|
11
|
+
}, c = t(
|
|
12
|
+
[
|
|
13
|
+
{
|
|
14
|
+
key: "src",
|
|
15
|
+
label: "地址",
|
|
16
|
+
component: "textarea",
|
|
17
|
+
options: {
|
|
18
|
+
autoSize: {
|
|
19
|
+
minRows: 5
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
key: "enablePreview",
|
|
25
|
+
label: "启用预览",
|
|
26
|
+
component: "checkbox"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
o
|
|
30
|
+
);
|
|
31
|
+
export {
|
|
32
|
+
o as DEFAULT_OPTIONS,
|
|
33
|
+
c as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { o as e } from "./index-7eVcuYqa.mjs";
|
|
2
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
|
+
const t = {
|
|
10
|
+
color: "#2EDCF7",
|
|
11
|
+
value: "一段文字",
|
|
12
|
+
fontSize: 20,
|
|
13
|
+
lineHeight: 32
|
|
14
|
+
}, c = e(
|
|
15
|
+
[
|
|
16
|
+
{ key: "value", label: "内容", component: "textarea" },
|
|
17
|
+
{ key: "fontSize", label: "字号", component: "inputNumber", options: { min: 8 } },
|
|
18
|
+
{
|
|
19
|
+
key: "lineHeight",
|
|
20
|
+
label: "行高",
|
|
21
|
+
labelTip: "单位px",
|
|
22
|
+
component: "inputNumber",
|
|
23
|
+
options: { min: 8 }
|
|
24
|
+
},
|
|
25
|
+
{ key: "fontWeight", label: "字重", component: "fontWeightSelect" },
|
|
26
|
+
{
|
|
27
|
+
key: "color",
|
|
28
|
+
label: "颜色",
|
|
29
|
+
component: "colorPicker",
|
|
30
|
+
options: {
|
|
31
|
+
reset: !0
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
t
|
|
36
|
+
);
|
|
37
|
+
export {
|
|
38
|
+
t as DEFAULT_OPTIONS,
|
|
39
|
+
c as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { o as e } from "./index-7eVcuYqa.mjs";
|
|
2
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
|
+
const t = {
|
|
10
|
+
color: "#F8E71C",
|
|
11
|
+
fontSize: 20,
|
|
12
|
+
lineHeight: 22
|
|
13
|
+
}, a = e(
|
|
14
|
+
[
|
|
15
|
+
{
|
|
16
|
+
key: "color",
|
|
17
|
+
label: "字色",
|
|
18
|
+
component: "colorPicker",
|
|
19
|
+
options: {
|
|
20
|
+
reset: !0,
|
|
21
|
+
resetColor: t.color
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
key: "fontSize",
|
|
26
|
+
label: "字号",
|
|
27
|
+
component: "inputNumber"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
key: "lineHeight",
|
|
31
|
+
label: "行高",
|
|
32
|
+
labelTip: "单位:px",
|
|
33
|
+
component: "inputNumber"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
key: "textAlign",
|
|
37
|
+
label: "布局",
|
|
38
|
+
component: "textAlignSelect"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
t
|
|
42
|
+
);
|
|
43
|
+
export {
|
|
44
|
+
t as DEFAULT_OPTIONS,
|
|
45
|
+
a as default
|
|
46
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as o } from "/Users/tangjiahui/
|
|
2
|
-
import { o as n } from "./index-
|
|
3
|
-
import "/Users/tangjiahui/
|
|
4
|
-
import "/Users/tangjiahui/
|
|
5
|
-
import "/Users/tangjiahui/
|
|
6
|
-
import "/Users/tangjiahui/
|
|
7
|
-
import "/Users/tangjiahui/
|
|
8
|
-
import "/Users/tangjiahui/
|
|
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 { o as n } from "./index-7eVcuYqa.mjs";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
5
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
6
|
+
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
9
|
const l = {
|
|
10
10
|
color_1: "black",
|
|
11
11
|
value_1: "一段文字",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as e } from "/Users/tangjiahui/
|
|
2
|
-
import { o as r } from "./index-
|
|
3
|
-
import "/Users/tangjiahui/
|
|
4
|
-
import "/Users/tangjiahui/
|
|
5
|
-
import "/Users/tangjiahui/
|
|
6
|
-
import "/Users/tangjiahui/
|
|
7
|
-
import "/Users/tangjiahui/
|
|
8
|
-
import "/Users/tangjiahui/
|
|
1
|
+
import { jsx as e } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
+
import { o as r } from "./index-7eVcuYqa.mjs";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
5
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
6
|
+
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
9
|
const o = {
|
|
10
10
|
// mapHoverColor: "rgba(16,43,128,0.9)",
|
|
11
11
|
// mapSelectedColor: "rgba(16,43,128,1)",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as e } from "./index-
|
|
2
|
-
import "/Users/tangjiahui/
|
|
3
|
-
import { useMemo as n } from "/Users/tangjiahui/
|
|
4
|
-
import "/Users/tangjiahui/
|
|
5
|
-
import "/Users/tangjiahui/
|
|
6
|
-
import "/Users/tangjiahui/
|
|
7
|
-
import "/Users/tangjiahui/
|
|
8
|
-
import "/Users/tangjiahui/
|
|
1
|
+
import { o as e } from "./index-7eVcuYqa.mjs";
|
|
2
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
+
import { useMemo as n } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
9
|
const b = {
|
|
10
10
|
title: "标题",
|
|
11
11
|
bordered: !0,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { o as t } from "./index-7eVcuYqa.mjs";
|
|
2
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
|
+
const o = {
|
|
10
|
+
titleColor: "#000",
|
|
11
|
+
subtextColor: "#bababa"
|
|
12
|
+
}, b = t(
|
|
13
|
+
[
|
|
14
|
+
{
|
|
15
|
+
key: "titleColor",
|
|
16
|
+
label: "标题颜色",
|
|
17
|
+
component: "colorPicker",
|
|
18
|
+
options: {
|
|
19
|
+
reset: !0,
|
|
20
|
+
presetColor: o == null ? void 0 : o.titleColor
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
key: "subtextColor",
|
|
25
|
+
label: "副标题颜色",
|
|
26
|
+
component: "colorPicker",
|
|
27
|
+
options: {
|
|
28
|
+
reset: !0,
|
|
29
|
+
presetColor: o == null ? void 0 : o.subtextColor
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
o
|
|
34
|
+
);
|
|
35
|
+
export {
|
|
36
|
+
o as DEFAULT_OPTIONS,
|
|
37
|
+
b as default
|
|
38
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsxs as y, jsx as d } from "/Users/tangjiahui/
|
|
2
|
-
import { i as k, c as I, o as L } from "./index-
|
|
3
|
-
import "/Users/tangjiahui/
|
|
4
|
-
import { useRef as S, useMemo as H } from "/Users/tangjiahui/
|
|
5
|
-
import "/Users/tangjiahui/
|
|
6
|
-
import "/Users/tangjiahui/
|
|
7
|
-
import "/Users/tangjiahui/
|
|
8
|
-
import "/Users/tangjiahui/
|
|
9
|
-
import g from "/Users/tangjiahui/
|
|
10
|
-
import { CloseOutlined as N, PlusOutlined as R } from "/Users/tangjiahui/
|
|
11
|
-
import { b as A, I as T } from "./index-
|
|
12
|
-
import { Space as q } from "/Users/tangjiahui/
|
|
13
|
-
import { L as D, a as v, I as C, b as P } from "./Line-
|
|
1
|
+
import { jsxs as y, jsx as d } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
+
import { i as k, c as I, o as L } from "./index-7eVcuYqa.mjs";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
+
import { useRef as S, useMemo as H } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
5
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
6
|
+
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
|
+
import g from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
10
|
+
import { CloseOutlined as N, PlusOutlined as R } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/@ant-design+icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/index.js";
|
|
11
|
+
import { b as A, I as T } from "./index-Cq0uVP0H.mjs";
|
|
12
|
+
import { Space as q } 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";
|
|
13
|
+
import { L as D, a as v, I as C, b as P } from "./Line-DVDoMjnT.mjs";
|
|
14
14
|
const w = "_editSeriesList_c1zv3_59", O = {
|
|
15
15
|
editSeriesList: w
|
|
16
16
|
}, U = "_tabsHead_1q8na_59", j = "_tabsHead_add_1q8na_64", B = "_tabsHead_body_1q8na_72", E = "_tabsHead_body_inner_1q8na_85", F = "_tabsHead_item_1q8na_90", K = "_tabsHead_item_selected_1q8na_102", $ = "_tabsHead_item_delete_1q8na_107", h = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as e } from "/Users/tangjiahui/
|
|
2
|
-
import { o as r } from "./index-
|
|
3
|
-
import "/Users/tangjiahui/
|
|
4
|
-
import "/Users/tangjiahui/
|
|
5
|
-
import "/Users/tangjiahui/
|
|
6
|
-
import "/Users/tangjiahui/
|
|
7
|
-
import "/Users/tangjiahui/
|
|
8
|
-
import "/Users/tangjiahui/
|
|
1
|
+
import { jsx as e } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
+
import { o as r } from "./index-7eVcuYqa.mjs";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
5
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
6
|
+
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
9
9
|
const o = {
|
|
10
10
|
// 基本配置
|
|
11
11
|
progressColor: "#2949ca",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { o } from "./index-7eVcuYqa.mjs";
|
|
2
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
3
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
4
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
7
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
8
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
9
|
+
const t = {
|
|
10
|
+
background: "#223447"
|
|
11
|
+
}, s = o(
|
|
12
|
+
[
|
|
13
|
+
{
|
|
14
|
+
key: "background",
|
|
15
|
+
label: "背景",
|
|
16
|
+
component: "colorPicker"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
t
|
|
20
|
+
);
|
|
21
|
+
export {
|
|
22
|
+
t as DEFAULT_OPTIONS,
|
|
23
|
+
s as default
|
|
24
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as o, jsxs as a } from "/Users/tangjiahui/
|
|
2
|
-
import { n as h } from "./index-
|
|
3
|
-
import "/Users/tangjiahui/
|
|
4
|
-
import { useState as p, useMemo as L, useEffect as x } from "/Users/tangjiahui/
|
|
5
|
-
import "/Users/tangjiahui/
|
|
6
|
-
import "/Users/tangjiahui/
|
|
7
|
-
import { Progress as S } from "/Users/tangjiahui/
|
|
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-7eVcuYqa.mjs";
|
|
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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
5
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
6
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
7
|
+
import { Progress as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/antd@4.24.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/index.js";
|
|
8
8
|
import { r as y, g as C } from "./random-DD0zMfMm.mjs";
|
|
9
|
-
import "/Users/tangjiahui/
|
|
10
|
-
import "/Users/tangjiahui/
|
|
11
|
-
import { cloneDeep as v } from "/Users/tangjiahui/
|
|
12
|
-
import { DEFAULT_OPTIONS as I } from "./attributes-
|
|
13
|
-
import { A as M } from "./index-
|
|
14
|
-
import { DoubleRightOutlined as z } from "/Users/tangjiahui/
|
|
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
|
+
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
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-DymAckVs.mjs";
|
|
13
|
+
import { A as M } from "./index-kvRZQZJ-.mjs";
|
|
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,
|
|
17
17
|
progressList_line: P,
|