react-big-screen 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/{IInputNumber-PnHJNf9H.mjs → IInputNumber-CEotcbKL.mjs} +1 -1
- package/es/{Line-CLgwvraj.mjs → Line-CgKiUu04.mjs} +3 -3
- package/es/{attributes-w4UsefFp.mjs → attributes-9sJ7OCyP.mjs} +32 -29
- package/es/{attributes-C0SMjnHG.mjs → attributes-B23RrL8i.mjs} +10 -8
- package/es/attributes-BL0o0sPi.mjs +34 -0
- package/es/{attributes-C5pimFaJ.mjs → attributes-Bfbf60g8.mjs} +17 -15
- package/es/attributes-C5CnEOVO.mjs +27 -0
- package/es/attributes-C64FfSI6.mjs +49 -0
- package/es/attributes-COqeO1sM.mjs +43 -0
- package/es/attributes-Di0JYz_d.mjs +41 -0
- package/es/attributes-Dp2yHpTx.mjs +37 -0
- package/es/{attributes-DdjjVR4N.mjs → attributes-DrbTSAq7.mjs} +10 -8
- package/es/{attributes-Dv8IMI4h.mjs → attributes-woY1Zfl3.mjs} +10 -8
- package/es/{attributes-E8oqU4q7.mjs → attributes-xzP7st08.mjs} +11 -9
- package/es/index-B1V_yDHb.mjs +47 -0
- package/es/{index-C6HV7IaP.mjs → index-B8GWWFIH.mjs} +30 -28
- package/es/{index-CpYmNO_5.mjs → index-B9wcrwqH.mjs} +55 -55
- package/es/{index-n9OtRMYa.mjs → index-BEdp0lB5.mjs} +30 -29
- package/es/index-BhEDT1MV.mjs +51 -0
- package/es/{index-DyB0TE1y.mjs → index-BkI6wVdV.mjs} +27 -25
- package/es/index-C3rjkbw6.mjs +46 -0
- package/es/{index-CRDggJyg.mjs → index-C4z4Sjq2.mjs} +61 -61
- package/es/{index-D--V8m-b.mjs → index-CFTpYaN8.mjs} +9 -9
- package/es/index-CG3CqHvP.mjs +43 -0
- package/es/{index-D_0vVSWq.mjs → index-CRraYtwg.mjs} +11 -9
- package/es/index-CTuwto2f.mjs +37 -0
- package/es/{index-B4KSL-Bu.mjs → index-CXzm2s6x.mjs} +11 -9
- package/es/index-Cg9iT8Uy.mjs +40 -0
- package/es/index-D2B6_fCJ.mjs +19 -0
- package/es/{index-guYPVm3G.mjs → index-D5seKG8I.mjs} +2 -2
- package/es/index-D8pMW8U5.mjs +61 -0
- package/es/{index-B8JqjjA1.mjs → index-D9o0U9Ub.mjs} +4 -4
- package/es/{index-Ljz96Vra.mjs → index-DG3JLNqh.mjs} +16 -14
- package/es/{index-Bvab-NQ4.mjs → index-D_XJCVB-.mjs} +24 -22
- package/es/index-Di6zy82j.mjs +48 -0
- package/es/index-Dqe0ts3H.mjs +26 -0
- package/es/index-DvVQnQMe.mjs +42 -0
- package/es/{index-B9Nb8R2I.mjs → index-DzOSmpKj.mjs} +17 -16
- package/es/{index-CyS-CdYv.mjs → index-XNZ9XEE4.mjs} +13 -12
- package/es/{index-Dh00vKAk.mjs → index-vk4BFyhF.mjs} +15 -13
- package/es/{index-ryl5yfWq.mjs → index-w5Djwuhu.mjs} +13 -11
- package/es/{index-D1ux0Voe.mjs → index-yEFPa0R2.mjs} +2 -2
- package/es/index.mjs +3 -3
- package/es/{selectPage-D267xnl4.mjs → selectPage-B19KQBZQ.mjs} +1 -1
- package/es/useCurrentPageId-BzI1Jj2f.mjs +20 -0
- 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/attributes-BWtBVgsg.mjs +0 -41
- package/es/attributes-BuMChZnt.mjs +0 -47
- package/es/attributes-COwKDUMI.mjs +0 -35
- package/es/attributes-C_fbpAUx.mjs +0 -25
- package/es/attributes-DztmBsKn.mjs +0 -32
- package/es/attributes-YL1J6lLR.mjs +0 -39
- package/es/index-BRgbtPVH.mjs +0 -45
- package/es/index-BUth1V1H.mjs +0 -41
- package/es/index-BYJ5e2rN.mjs +0 -38
- package/es/index-BYe40Zu2.mjs +0 -46
- package/es/index-BzpuXSbE.mjs +0 -49
- package/es/index-CBxj6uKJ.mjs +0 -35
- package/es/index-CUkul7R0.mjs +0 -44
- package/es/index-DQU0jlV0.mjs +0 -24
- package/es/index-KruFCy9N.mjs +0 -17
- package/es/index-hPKl41YD.mjs +0 -40
- package/es/index-qoPI1H9i.mjs +0 -59
- package/es/useCurrentPageId-DM05DNLI.mjs +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as o } from "
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Input as n, InputNumber as m } from "antd";
|
|
3
3
|
function u(t) {
|
|
4
4
|
const { onChange: e, ...r } = t;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as a, jsxs as _ } from "
|
|
1
|
+
import { jsx as a, jsxs as _ } from "react/jsx-runtime";
|
|
2
2
|
import b, { useState as S, createContext as g, useContext as k } from "react";
|
|
3
|
-
import { SketchPicker as v } from "
|
|
3
|
+
import { SketchPicker as v } from "react-color";
|
|
4
4
|
import { Dropdown as o, Input as D, Row as w, Col as f, Tooltip as N } from "antd";
|
|
5
|
-
import C from "
|
|
5
|
+
import C from "classnames";
|
|
6
6
|
const I = "_IColorPicker_p2bys_59", $ = {
|
|
7
7
|
IColorPicker: I
|
|
8
8
|
}, P = "_customDropDown_t0e27_59", L = {
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { jsxs as y, jsx as d } from "
|
|
2
|
-
import { i as k, c as I, o as L } from "./index-
|
|
3
|
-
import "
|
|
1
|
+
import { jsxs as y, jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { i as k, c as I, o as L } from "./index-C4z4Sjq2.mjs";
|
|
3
|
+
import "localforage";
|
|
4
4
|
import { useRef as S, useMemo as H } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "
|
|
6
|
+
import "react-dom/client";
|
|
7
7
|
import { Space as N } from "antd";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
11
|
+
import "ahooks";
|
|
12
|
+
import g from "classnames";
|
|
13
|
+
import { CloseOutlined as R, PlusOutlined as A } from "@ant-design/icons";
|
|
14
|
+
import { b as T, I as q } from "./index-yEFPa0R2.mjs";
|
|
15
|
+
import { L as D, a as v, I as C, b as P } from "./Line-CgKiUu04.mjs";
|
|
16
|
+
import "react-i18next";
|
|
14
17
|
const w = "_editSeriesList_c1zv3_59", O = {
|
|
15
18
|
editSeriesList: w
|
|
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",
|
|
19
|
+
}, 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", f = {
|
|
17
20
|
tabsHead: U,
|
|
18
21
|
tabsHead_add: j,
|
|
19
22
|
tabsHead_body: B,
|
|
@@ -44,29 +47,29 @@ function z(e) {
|
|
|
44
47
|
behavior: "smooth"
|
|
45
48
|
});
|
|
46
49
|
}
|
|
47
|
-
return /* @__PURE__ */ y("div", { style: e == null ? void 0 : e.style, className:
|
|
48
|
-
/* @__PURE__ */ d("div", { className:
|
|
50
|
+
return /* @__PURE__ */ y("div", { style: e == null ? void 0 : e.style, className: f.tabsHead, children: [
|
|
51
|
+
/* @__PURE__ */ d("div", { className: f.tabsHead_body, ref: t, children: /* @__PURE__ */ d("div", { className: f.tabsHead_body_inner, children: (i = (l = e == null ? void 0 : e.items) == null ? void 0 : l.map) == null ? void 0 : i.call(l, (n, m) => {
|
|
49
52
|
const b = (n == null ? void 0 : n.value) === (e == null ? void 0 : e.value);
|
|
50
53
|
return /* @__PURE__ */ y(
|
|
51
54
|
"div",
|
|
52
55
|
{
|
|
53
56
|
className: g(
|
|
54
|
-
|
|
55
|
-
b &&
|
|
57
|
+
f.tabsHead_item,
|
|
58
|
+
b && f.tabsHead_item_selected
|
|
56
59
|
),
|
|
57
|
-
onClick: (
|
|
60
|
+
onClick: (h) => {
|
|
58
61
|
var a;
|
|
59
|
-
b || (s(
|
|
62
|
+
b || (s(h.target), (a = e == null ? void 0 : e.onChange) == null || a.call(e, n == null ? void 0 : n.value));
|
|
60
63
|
},
|
|
61
64
|
children: [
|
|
62
65
|
n == null ? void 0 : n.label,
|
|
63
66
|
/* @__PURE__ */ d(
|
|
64
67
|
R,
|
|
65
68
|
{
|
|
66
|
-
className: g(
|
|
67
|
-
onClick: (
|
|
69
|
+
className: g(f.tabsHead_item_delete, "icon_clickable"),
|
|
70
|
+
onClick: (h) => {
|
|
68
71
|
var a;
|
|
69
|
-
|
|
72
|
+
h.stopPropagation(), (a = e == null ? void 0 : e.onDelete) == null || a.call(e, n.value);
|
|
70
73
|
}
|
|
71
74
|
}
|
|
72
75
|
)
|
|
@@ -75,7 +78,7 @@ function z(e) {
|
|
|
75
78
|
(n == null ? void 0 : n.value) || m
|
|
76
79
|
);
|
|
77
80
|
}) }) }),
|
|
78
|
-
(e == null ? void 0 : e.showAdd) && /* @__PURE__ */ d("div", { className:
|
|
81
|
+
(e == null ? void 0 : e.showAdd) && /* @__PURE__ */ d("div", { className: f.tabsHead_add, onClick: e == null ? void 0 : e.onAdd, children: /* @__PURE__ */ d(A, {}) })
|
|
79
82
|
] });
|
|
80
83
|
}
|
|
81
84
|
function M(e) {
|
|
@@ -100,7 +103,7 @@ function V(e) {
|
|
|
100
103
|
value: c.key || (c == null ? void 0 : c.value) || "",
|
|
101
104
|
data: c
|
|
102
105
|
}))) || [];
|
|
103
|
-
return a.length && (a.some((
|
|
106
|
+
return a.length && (a.some((r) => r.value === l.current) || s(a[0].value)), a;
|
|
104
107
|
}, [e == null ? void 0 : e.value]), n = H(() => {
|
|
105
108
|
var a, u;
|
|
106
109
|
return (u = (a = i == null ? void 0 : i.find) == null ? void 0 : a.call(i, (o) => (o == null ? void 0 : o.value) === _)) == null ? void 0 : u.data;
|
|
@@ -119,14 +122,14 @@ function V(e) {
|
|
|
119
122
|
}
|
|
120
123
|
function b(a) {
|
|
121
124
|
var o;
|
|
122
|
-
const u = i == null ? void 0 : i.reduce((c,
|
|
125
|
+
const u = i == null ? void 0 : i.reduce((c, r) => (r.value !== a && c.push(r.data), c), []);
|
|
123
126
|
(o = e == null ? void 0 : e.onChange) == null || o.call(e, u);
|
|
124
127
|
}
|
|
125
|
-
function
|
|
128
|
+
function h(a) {
|
|
126
129
|
var u, o;
|
|
127
130
|
(u = t == null ? void 0 : t.some) == null || u.call(t, (c) => {
|
|
128
|
-
const
|
|
129
|
-
return
|
|
131
|
+
const r = c.key === a.key;
|
|
132
|
+
return r && Object.assign(c, a), r;
|
|
130
133
|
}), (o = e == null ? void 0 : e.onChange) == null || o.call(e, [...t]);
|
|
131
134
|
}
|
|
132
135
|
return /* @__PURE__ */ y("div", { className: O.editSeriesList, children: [
|
|
@@ -150,7 +153,7 @@ function V(e) {
|
|
|
150
153
|
{
|
|
151
154
|
value: n,
|
|
152
155
|
onChange: (a) => {
|
|
153
|
-
|
|
156
|
+
h(a);
|
|
154
157
|
}
|
|
155
158
|
}
|
|
156
159
|
)
|
|
@@ -162,7 +165,7 @@ const W = {
|
|
|
162
165
|
{ key: "2", name: "数据2", value: "value2", color: "#7ed321" },
|
|
163
166
|
{ key: "3", name: "数据3", value: "value3", color: "#1071e0" }
|
|
164
167
|
]
|
|
165
|
-
},
|
|
168
|
+
}, ue = L(
|
|
166
169
|
[
|
|
167
170
|
{
|
|
168
171
|
key: "background",
|
|
@@ -183,5 +186,5 @@ const W = {
|
|
|
183
186
|
);
|
|
184
187
|
export {
|
|
185
188
|
W as DEFAULT_OPTIONS,
|
|
186
|
-
|
|
189
|
+
ue as default
|
|
187
190
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { jsx as o } from "
|
|
2
|
-
import { o as r } from "./index-
|
|
3
|
-
import "
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { o as r } from "./index-C4z4Sjq2.mjs";
|
|
3
|
+
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "
|
|
6
|
+
import "react-dom/client";
|
|
7
7
|
import "antd";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
11
|
+
import "ahooks";
|
|
10
12
|
const e = {
|
|
11
13
|
// mapHoverColor: "rgba(16,43,128,0.9)",
|
|
12
14
|
// mapSelectedColor: "rgba(16,43,128,1)",
|
|
@@ -14,7 +16,7 @@ const e = {
|
|
|
14
16
|
centerX: 0,
|
|
15
17
|
centerY: 0,
|
|
16
18
|
scale: 0
|
|
17
|
-
},
|
|
19
|
+
}, u = r(
|
|
18
20
|
[
|
|
19
21
|
/* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "基本配置" }, "data"),
|
|
20
22
|
{
|
|
@@ -113,5 +115,5 @@ const e = {
|
|
|
113
115
|
);
|
|
114
116
|
export {
|
|
115
117
|
e as DEFAULT_OPTIONS,
|
|
116
|
-
|
|
118
|
+
u as default
|
|
117
119
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { o as t } from "./index-C4z4Sjq2.mjs";
|
|
3
|
+
import "localforage";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import "react-dom/client";
|
|
7
|
+
import "antd";
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
11
|
+
import "ahooks";
|
|
12
|
+
const r = {
|
|
13
|
+
autoScroll: !0,
|
|
14
|
+
pxPerSecond: 12
|
|
15
|
+
}, d = t(
|
|
16
|
+
[
|
|
17
|
+
/* @__PURE__ */ o("b", { children: "滚动配置" }, "data"),
|
|
18
|
+
{
|
|
19
|
+
key: "pxPerSecond",
|
|
20
|
+
label: "每秒滚动像素",
|
|
21
|
+
component: "inputNumber"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
key: "autoScroll",
|
|
25
|
+
label: "自动滚动",
|
|
26
|
+
component: "checkbox"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
r
|
|
30
|
+
);
|
|
31
|
+
export {
|
|
32
|
+
r as DEFAULT_OPTIONS,
|
|
33
|
+
d as default
|
|
34
|
+
};
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import { o as
|
|
2
|
-
import "
|
|
3
|
-
import { useMemo as
|
|
1
|
+
import { o as r } from "./index-C4z4Sjq2.mjs";
|
|
2
|
+
import "localforage";
|
|
3
|
+
import { useMemo as i } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
import "
|
|
5
|
+
import "react-dom/client";
|
|
6
6
|
import "antd";
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
|
|
7
|
+
import "driver.js";
|
|
8
|
+
import "driver.js/dist/driver.css";
|
|
9
|
+
import "lodash-es";
|
|
10
|
+
import "ahooks";
|
|
11
|
+
import "react/jsx-runtime";
|
|
12
|
+
const n = {
|
|
11
13
|
title: "标题",
|
|
12
14
|
bordered: !0,
|
|
13
15
|
borderWidth: 1,
|
|
14
16
|
borderColor: "rgba(83, 141, 233, 0.54)",
|
|
15
17
|
background: "rgba(22, 28, 48, 0.8)",
|
|
16
18
|
color: "rgb(71, 216, 218)"
|
|
17
|
-
},
|
|
19
|
+
}, g = r(
|
|
18
20
|
[
|
|
19
21
|
{ key: "title", label: "标题", component: "input" },
|
|
20
22
|
{ key: "bordered", label: "边框", component: "checkbox" },
|
|
21
|
-
({ useExtra:
|
|
22
|
-
const o =
|
|
23
|
-
() =>
|
|
23
|
+
({ useExtra: e }) => {
|
|
24
|
+
const o = e(), t = i(
|
|
25
|
+
() => r([
|
|
24
26
|
{ key: "borderWidth", label: "边框宽度", component: "inputNumber" },
|
|
25
27
|
{ key: "borderColor", label: "边框颜色", component: "colorPicker" }
|
|
26
28
|
]),
|
|
@@ -39,9 +41,9 @@ const b = {
|
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
],
|
|
42
|
-
|
|
44
|
+
n
|
|
43
45
|
);
|
|
44
46
|
export {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
n as DEFAULT_OPTIONS,
|
|
48
|
+
g as default
|
|
47
49
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { o } from "./index-C4z4Sjq2.mjs";
|
|
2
|
+
import "localforage";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
import "react-dom/client";
|
|
6
|
+
import "antd";
|
|
7
|
+
import "driver.js";
|
|
8
|
+
import "driver.js/dist/driver.css";
|
|
9
|
+
import "lodash-es";
|
|
10
|
+
import "ahooks";
|
|
11
|
+
import "react/jsx-runtime";
|
|
12
|
+
const t = {
|
|
13
|
+
background: "#223447"
|
|
14
|
+
}, k = o(
|
|
15
|
+
[
|
|
16
|
+
{
|
|
17
|
+
key: "background",
|
|
18
|
+
label: "背景",
|
|
19
|
+
component: "colorPicker"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
t
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
t as DEFAULT_OPTIONS,
|
|
26
|
+
k as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { o } from "./index-C4z4Sjq2.mjs";
|
|
2
|
+
import "localforage";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
import "react-dom/client";
|
|
6
|
+
import "antd";
|
|
7
|
+
import "driver.js";
|
|
8
|
+
import "driver.js/dist/driver.css";
|
|
9
|
+
import "lodash-es";
|
|
10
|
+
import "ahooks";
|
|
11
|
+
import "react/jsx-runtime";
|
|
12
|
+
const t = {
|
|
13
|
+
color: "#F8E71C",
|
|
14
|
+
fontSize: 20,
|
|
15
|
+
lineHeight: 22
|
|
16
|
+
}, u = o(
|
|
17
|
+
[
|
|
18
|
+
{
|
|
19
|
+
key: "color",
|
|
20
|
+
label: "字色",
|
|
21
|
+
component: "colorPicker",
|
|
22
|
+
options: {
|
|
23
|
+
reset: !0,
|
|
24
|
+
resetColor: t.color
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
key: "fontSize",
|
|
29
|
+
label: "字号",
|
|
30
|
+
component: "inputNumber"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
key: "lineHeight",
|
|
34
|
+
label: "行高",
|
|
35
|
+
labelTip: "单位:px",
|
|
36
|
+
component: "inputNumber"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
key: "textAlign",
|
|
40
|
+
label: "布局",
|
|
41
|
+
component: "textAlignSelect"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
t
|
|
45
|
+
);
|
|
46
|
+
export {
|
|
47
|
+
t as DEFAULT_OPTIONS,
|
|
48
|
+
u as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { o as t } from "./index-C4z4Sjq2.mjs";
|
|
2
|
+
import "localforage";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
import "react-dom/client";
|
|
6
|
+
import "antd";
|
|
7
|
+
import "driver.js";
|
|
8
|
+
import "driver.js/dist/driver.css";
|
|
9
|
+
import "lodash-es";
|
|
10
|
+
import "ahooks";
|
|
11
|
+
import "react/jsx-runtime";
|
|
12
|
+
const o = {
|
|
13
|
+
color: "#2EDCF7",
|
|
14
|
+
value: "一段文字",
|
|
15
|
+
fontSize: 20,
|
|
16
|
+
lineHeight: 32
|
|
17
|
+
}, u = t(
|
|
18
|
+
[
|
|
19
|
+
{ key: "value", label: "内容", component: "textarea" },
|
|
20
|
+
{ key: "fontSize", label: "字号", component: "inputNumber", options: { min: 8 } },
|
|
21
|
+
{
|
|
22
|
+
key: "lineHeight",
|
|
23
|
+
label: "行高",
|
|
24
|
+
labelTip: "单位px",
|
|
25
|
+
component: "inputNumber",
|
|
26
|
+
options: { min: 8 }
|
|
27
|
+
},
|
|
28
|
+
{ key: "fontWeight", label: "字重", component: "fontWeightSelect" },
|
|
29
|
+
{
|
|
30
|
+
key: "color",
|
|
31
|
+
label: "颜色",
|
|
32
|
+
component: "colorPicker",
|
|
33
|
+
options: {
|
|
34
|
+
reset: !0
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
o
|
|
39
|
+
);
|
|
40
|
+
export {
|
|
41
|
+
o as DEFAULT_OPTIONS,
|
|
42
|
+
u as default
|
|
43
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { o as t } from "./index-C4z4Sjq2.mjs";
|
|
2
|
+
import "localforage";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
import "react-dom/client";
|
|
6
|
+
import "antd";
|
|
7
|
+
import "driver.js";
|
|
8
|
+
import "driver.js/dist/driver.css";
|
|
9
|
+
import "lodash-es";
|
|
10
|
+
import "ahooks";
|
|
11
|
+
import "react/jsx-runtime";
|
|
12
|
+
const o = {
|
|
13
|
+
titleColor: "#000",
|
|
14
|
+
subtextColor: "#bababa"
|
|
15
|
+
}, C = t(
|
|
16
|
+
[
|
|
17
|
+
{
|
|
18
|
+
key: "titleColor",
|
|
19
|
+
label: "标题颜色",
|
|
20
|
+
component: "colorPicker",
|
|
21
|
+
options: {
|
|
22
|
+
reset: !0,
|
|
23
|
+
presetColor: o == null ? void 0 : o.titleColor
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
key: "subtextColor",
|
|
28
|
+
label: "副标题颜色",
|
|
29
|
+
component: "colorPicker",
|
|
30
|
+
options: {
|
|
31
|
+
reset: !0,
|
|
32
|
+
presetColor: o == null ? void 0 : o.subtextColor
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
o
|
|
37
|
+
);
|
|
38
|
+
export {
|
|
39
|
+
o as DEFAULT_OPTIONS,
|
|
40
|
+
C as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { o as t } from "./index-C4z4Sjq2.mjs";
|
|
2
|
+
import "localforage";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
import "react-dom/client";
|
|
6
|
+
import "antd";
|
|
7
|
+
import "driver.js";
|
|
8
|
+
import "driver.js/dist/driver.css";
|
|
9
|
+
import "lodash-es";
|
|
10
|
+
import "ahooks";
|
|
11
|
+
import "react/jsx-runtime";
|
|
12
|
+
const o = {
|
|
13
|
+
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"
|
|
14
|
+
}, u = t(
|
|
15
|
+
[
|
|
16
|
+
{
|
|
17
|
+
key: "src",
|
|
18
|
+
label: "地址",
|
|
19
|
+
component: "textarea",
|
|
20
|
+
options: {
|
|
21
|
+
autoSize: {
|
|
22
|
+
minRows: 5
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
key: "enablePreview",
|
|
28
|
+
label: "启用预览",
|
|
29
|
+
component: "checkbox"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
o
|
|
33
|
+
);
|
|
34
|
+
export {
|
|
35
|
+
o as DEFAULT_OPTIONS,
|
|
36
|
+
u as default
|
|
37
|
+
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { jsx as o } from "
|
|
2
|
-
import { o as n } from "./index-
|
|
3
|
-
import "
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { o as n } from "./index-C4z4Sjq2.mjs";
|
|
3
|
+
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "
|
|
6
|
+
import "react-dom/client";
|
|
7
7
|
import "antd";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
11
|
+
import "ahooks";
|
|
10
12
|
const l = {
|
|
11
13
|
color_1: "black",
|
|
12
14
|
value_1: "一段文字",
|
|
@@ -49,7 +51,7 @@ function t(e) {
|
|
|
49
51
|
{ key: "textAlign" + e, label: "水平对齐", component: "textAlignSelect" }
|
|
50
52
|
];
|
|
51
53
|
}
|
|
52
|
-
const
|
|
54
|
+
const u = n(
|
|
53
55
|
[
|
|
54
56
|
/* @__PURE__ */ o("b", { style: { marginTop: 12 }, children: "第一行配置" }, "line-1"),
|
|
55
57
|
...t("_1"),
|
|
@@ -60,5 +62,5 @@ const y = n(
|
|
|
60
62
|
);
|
|
61
63
|
export {
|
|
62
64
|
l as DEFAULT_OPTIONS,
|
|
63
|
-
|
|
65
|
+
u as default
|
|
64
66
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { jsx as e } from "
|
|
2
|
-
import { o as r } from "./index-
|
|
3
|
-
import "
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { o as r } from "./index-C4z4Sjq2.mjs";
|
|
3
|
+
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "
|
|
6
|
+
import "react-dom/client";
|
|
7
7
|
import "antd";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
11
|
+
import "ahooks";
|
|
10
12
|
const o = {
|
|
11
13
|
// 基本配置
|
|
12
14
|
progressColor: "#2949ca",
|
|
@@ -18,7 +20,7 @@ const o = {
|
|
|
18
20
|
// 滚动配置
|
|
19
21
|
autoScroll: !0,
|
|
20
22
|
pxPerSecond: 12
|
|
21
|
-
},
|
|
23
|
+
}, C = r(
|
|
22
24
|
[
|
|
23
25
|
/* @__PURE__ */ e("b", { children: "基本配置" }, "data"),
|
|
24
26
|
{
|
|
@@ -93,5 +95,5 @@ const o = {
|
|
|
93
95
|
);
|
|
94
96
|
export {
|
|
95
97
|
o as DEFAULT_OPTIONS,
|
|
96
|
-
|
|
98
|
+
C as default
|
|
97
99
|
};
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { jsx as e } from "
|
|
2
|
-
import { o as t } from "./index-
|
|
3
|
-
import "
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { o as t } from "./index-C4z4Sjq2.mjs";
|
|
3
|
+
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import "
|
|
6
|
+
import "react-dom/client";
|
|
7
7
|
import "antd";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import
|
|
8
|
+
import "driver.js";
|
|
9
|
+
import "driver.js/dist/driver.css";
|
|
10
|
+
import "lodash-es";
|
|
11
|
+
import "ahooks";
|
|
12
|
+
import { I as b } from "./index-D9o0U9Ub.mjs";
|
|
11
13
|
const g = {
|
|
12
14
|
id: "clock.png"
|
|
13
|
-
},
|
|
15
|
+
}, d = t(
|
|
14
16
|
[
|
|
15
17
|
/* @__PURE__ */ e("b", { children: "基本配置" }, "data"),
|
|
16
18
|
{
|
|
@@ -54,5 +56,5 @@ const g = {
|
|
|
54
56
|
);
|
|
55
57
|
export {
|
|
56
58
|
g as DEFAULT_OPTIONS,
|
|
57
|
-
|
|
59
|
+
d as default
|
|
58
60
|
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { R as i } from "./index-CFTpYaN8.mjs";
|
|
3
|
+
import { n as a } from "./index-C4z4Sjq2.mjs";
|
|
4
|
+
import "localforage";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "react-dom/client";
|
|
8
|
+
import "antd";
|
|
9
|
+
import "driver.js";
|
|
10
|
+
import "driver.js/dist/driver.css";
|
|
11
|
+
import "lodash-es";
|
|
12
|
+
import "ahooks";
|
|
13
|
+
const O = a((t) => {
|
|
14
|
+
const { width: r, height: o } = t;
|
|
15
|
+
return /* @__PURE__ */ e(
|
|
16
|
+
i,
|
|
17
|
+
{
|
|
18
|
+
options: {
|
|
19
|
+
tooltip: {
|
|
20
|
+
formatter: "{a} <br/>{b} : {c}%"
|
|
21
|
+
},
|
|
22
|
+
series: [
|
|
23
|
+
{
|
|
24
|
+
name: "Pressure",
|
|
25
|
+
type: "gauge",
|
|
26
|
+
detail: {
|
|
27
|
+
formatter: "{value}"
|
|
28
|
+
},
|
|
29
|
+
data: [
|
|
30
|
+
{
|
|
31
|
+
value: 50,
|
|
32
|
+
name: "SCORE"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
style: {
|
|
39
|
+
width: r,
|
|
40
|
+
height: o
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
O as default
|
|
47
|
+
};
|