react-big-screen 0.0.26 → 0.0.28
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/{attributes-BEr36PPS.mjs → attributes-BhOVe6Nw.mjs} +1 -1
- package/es/{attributes-C1A9908m.mjs → attributes-Bqwv78vP.mjs} +1 -1
- package/es/{attributes-DZOgwszX.mjs → attributes-C9kdt2P4.mjs} +1 -1
- package/es/{attributes-pYXM3BGl.mjs → attributes-CKQVoQvV.mjs} +1 -1
- package/es/{attributes-BorgmEuq.mjs → attributes-CNvZw41R.mjs} +1 -1
- package/es/{attributes-CF-lP4Tl.mjs → attributes-COWyZqgA.mjs} +1 -1
- package/es/{attributes-CLFZcWAB.mjs → attributes-CxmgjIr4.mjs} +1 -1
- package/es/{attributes-Dfr3b13g.mjs → attributes-DX29Qkf4.mjs} +1 -1
- package/es/{attributes-zB7QAb6A.mjs → attributes-D_7z174b.mjs} +1 -1
- package/es/{attributes-SrukxCct.mjs → attributes-Db9sk_dJ.mjs} +1 -1
- package/es/{attributes-DUaK076s.mjs → attributes-ICDLlHKL.mjs} +1 -1
- package/es/{attributes-BqpzJUpw.mjs → attributes-S7TYD0S5.mjs} +2 -2
- package/es/{index-Qui7yLq3.mjs → index-4IXWh7p-.mjs} +2 -2
- package/es/index-BP0M5ksu.mjs +147 -0
- package/es/{index-ycFZ60KR.mjs → index-BQMHx4Ur.mjs} +1 -1
- package/es/{index-Dk3V3zbH.mjs → index-B_otqPpE.mjs} +2 -2
- package/es/{index-Cr2RXjtr.mjs → index-BseO3j88.mjs} +34 -34
- package/es/{index-Dp3cAb00.mjs → index-Bt7Z5pcG.mjs} +2 -2
- package/es/{index-BvJ4xx2h.mjs → index-BwBB6Ooc.mjs} +1 -1
- package/es/{index-YvM6Nke0.mjs → index-CF9Gq4DE.mjs} +6 -6
- package/es/{index-DM0HOT8p.mjs → index-CQpPr_GO.mjs} +2 -2
- package/es/{index-CraAaVS_.mjs → index-CR2sC3mu.mjs} +2 -2
- package/es/{index-DeSSSWVT.mjs → index-CUl51FbE.mjs} +2 -2
- package/es/{index-BmzrDQHQ.mjs → index-CZaKlOGF.mjs} +3 -3
- package/es/{index-BocA4dcF.mjs → index-CiRuNGX5.mjs} +2 -2
- package/es/{index-DHdde3-c.mjs → index-Cl1TBDdm.mjs} +2 -2
- package/es/{index-CtKpbpyM.mjs → index-DIXk7ULh.mjs} +3 -3
- package/es/{index-hkMT846_.mjs → index-DJCJ9mDa.mjs} +2 -2
- package/es/{index-BTEqUeDS.mjs → index-DOx-TcxR.mjs} +2 -2
- package/es/{index-DmEGqsGs.mjs → index-DQnoNvaR.mjs} +3 -3
- package/es/{index-CIs39Kyq.mjs → index-DTx3K3TW.mjs} +3 -3
- package/es/{index-_zn5qv_O.mjs → index-Dd2HXuLY.mjs} +2 -2
- package/es/{index-Bs2yu7J6.mjs → index-DiaCgMtP.mjs} +2 -2
- package/es/{index-BKv9EAtX.mjs → index-DjwCZvsj.mjs} +2 -2
- package/es/{index-D8v1cc5M.mjs → index-Do46s3Bo.mjs} +2 -2
- package/es/{index-C2aQoFOi.mjs → index-KR0QAPWF.mjs} +2 -2
- package/es/{index-zozSTDVn.mjs → index-Mr6nPhGt.mjs} +2 -2
- package/es/{index-B6qPIrOx.mjs → index-QkxDL_fl.mjs} +2 -2
- package/es/index.mjs +1 -1
- package/es/{selectPage-1ojYk6EF.mjs → selectPage-BejdiGuA.mjs} +1 -1
- package/es/{useCurrentPageId-DG0SfHzH.mjs → useCurrentPageId-CrzsBBI2.mjs} +1 -1
- package/package.json +1 -1
- package/es/index-CX8Y7AOe.mjs +0 -142
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { i as k, c as I, o as L } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useRef as S, useMemo as H } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { o as t } from "./index-
|
|
2
|
+
import { o as t } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { I as b } from "./index-
|
|
12
|
+
import { I as b } from "./index-BwBB6Ooc.mjs";
|
|
13
13
|
const g = {
|
|
14
14
|
id: "clock.png"
|
|
15
15
|
}, d = t(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as t, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { n as r } from "./index-
|
|
2
|
+
import { n as r } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -10,7 +10,7 @@ import "driver.js/dist/driver.css";
|
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
12
|
import { DoubleRightOutlined as a, DoubleLeftOutlined as s } from "@ant-design/icons";
|
|
13
|
-
import { DEFAULT_OPTIONS as p } from "./attributes-
|
|
13
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-CxmgjIr4.mjs";
|
|
14
14
|
const m = "_specialTitle_7705n_59", o = "_specialTitle_line_left_7705n_64", T = "_specialTitle_inner_7705n_69", h = "_specialTitle_inner_icon_7705n_74", d = "_specialTitle_line_right_7705n_78", i = {
|
|
15
15
|
specialTitle: m,
|
|
16
16
|
specialTitle_line_left: o,
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { jsx as o, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import f, { useState as y, useMemo as m, useEffect as C, useRef as l, Suspense as R } from "react";
|
|
3
|
+
import { u as S } from "./index-BseO3j88.mjs";
|
|
4
|
+
import "localforage";
|
|
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 { d as v, e as x, f as N, h as H, u as q, l as B, c as E, b as P, P as _ } from "./index-CQpPr_GO.mjs";
|
|
12
|
+
import "ahooks";
|
|
13
|
+
import $ from "classnames";
|
|
14
|
+
import { u as b } from "./useResizeDom-B6mM4jrh.mjs";
|
|
15
|
+
function k(e) {
|
|
16
|
+
const [n, t] = y(e == null ? void 0 : e.componentNode), r = (n == null ? void 0 : n.show) ?? !0, { engine: i } = S(), s = m(() => i.component.get(n.cId), [n == null ? void 0 : n.cId, e == null ? void 0 : e.packages]);
|
|
17
|
+
return C(() => i.componentNode.onChange(n.id, ({ payload: c }) => {
|
|
18
|
+
t({ ...c });
|
|
19
|
+
}), []), s && r ? /* @__PURE__ */ o(I, { componentNode: n, component: s }) : /* @__PURE__ */ o(w, {});
|
|
20
|
+
}
|
|
21
|
+
function I(e) {
|
|
22
|
+
const { component: n, componentNode: t } = e, r = l(), i = l(null), { dataSource: s, requestInstance: c } = v(t), d = x(t.id), u = N(t.id);
|
|
23
|
+
return H({
|
|
24
|
+
id: t.id,
|
|
25
|
+
// 经过实例
|
|
26
|
+
handleHover() {
|
|
27
|
+
},
|
|
28
|
+
// 离开实例
|
|
29
|
+
handleUnHover() {
|
|
30
|
+
},
|
|
31
|
+
// 选中实例样式
|
|
32
|
+
handleSelected() {
|
|
33
|
+
},
|
|
34
|
+
// 取消选中实例样式
|
|
35
|
+
handleUnSelected() {
|
|
36
|
+
},
|
|
37
|
+
// 获取容器dom
|
|
38
|
+
getContainerDom() {
|
|
39
|
+
return i.current;
|
|
40
|
+
},
|
|
41
|
+
// 获取对应的 componentNode
|
|
42
|
+
getComponentNode() {
|
|
43
|
+
return r.current;
|
|
44
|
+
},
|
|
45
|
+
// 获取实例的 component
|
|
46
|
+
getComponent() {
|
|
47
|
+
return n;
|
|
48
|
+
},
|
|
49
|
+
// 重新载入request配置
|
|
50
|
+
reloadRequest() {
|
|
51
|
+
c.reload();
|
|
52
|
+
},
|
|
53
|
+
// 立刻请求一次
|
|
54
|
+
request: (a, h) => c.request(a, h)
|
|
55
|
+
}), /* @__PURE__ */ o(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
ref: i,
|
|
59
|
+
style: {
|
|
60
|
+
position: "absolute",
|
|
61
|
+
left: t.x,
|
|
62
|
+
top: t.y,
|
|
63
|
+
width: t.width,
|
|
64
|
+
height: t.height,
|
|
65
|
+
zIndex: t.level
|
|
66
|
+
},
|
|
67
|
+
children: /* @__PURE__ */ o(R, { children: /* @__PURE__ */ o(
|
|
68
|
+
n.component,
|
|
69
|
+
{
|
|
70
|
+
handleTrigger: d,
|
|
71
|
+
useExpose: u,
|
|
72
|
+
dataSource: s,
|
|
73
|
+
componentNode: t,
|
|
74
|
+
options: t.options,
|
|
75
|
+
width: t.width,
|
|
76
|
+
height: t.height
|
|
77
|
+
}
|
|
78
|
+
) })
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
const z = "_fitScreenBody_1qzud_59", D = {
|
|
83
|
+
fitScreenBody: z
|
|
84
|
+
};
|
|
85
|
+
function U(e) {
|
|
86
|
+
const { dw: n = 1920, dh: t = 1080 } = e, r = l(null), i = l(null), s = m(() => n / t, [n, t]);
|
|
87
|
+
function c() {
|
|
88
|
+
if (!r.current || !i.current)
|
|
89
|
+
return;
|
|
90
|
+
const d = r.current.getBoundingClientRect();
|
|
91
|
+
if (d.width / d.height > s) {
|
|
92
|
+
const a = d.height / t, h = a * n, g = (d.width - h) / 2;
|
|
93
|
+
i.current.style.transform = `scale(${a}) translate3d(${g / a}px, 0, 0)`;
|
|
94
|
+
} else {
|
|
95
|
+
const a = d.width / n;
|
|
96
|
+
i.current.style.transform = `scale(${a})`;
|
|
97
|
+
}
|
|
98
|
+
i.current.style.width = `${n}px`, i.current.style.height = `${t}px`;
|
|
99
|
+
}
|
|
100
|
+
return b(r, () => {
|
|
101
|
+
c();
|
|
102
|
+
}), f.useEffect(() => {
|
|
103
|
+
c();
|
|
104
|
+
}, [n, t]), /* @__PURE__ */ o("div", { className: e == null ? void 0 : e.className, ref: r, style: e == null ? void 0 : e.style, children: /* @__PURE__ */ o(
|
|
105
|
+
"div",
|
|
106
|
+
{
|
|
107
|
+
className: $(e == null ? void 0 : e.bodyClassName, D.fitScreenBody),
|
|
108
|
+
style: e == null ? void 0 : e.bodyStyle,
|
|
109
|
+
ref: i,
|
|
110
|
+
children: e == null ? void 0 : e.children
|
|
111
|
+
}
|
|
112
|
+
) });
|
|
113
|
+
}
|
|
114
|
+
const j = "_preview_x6h89_59", F = {
|
|
115
|
+
preview: j
|
|
116
|
+
};
|
|
117
|
+
function p(e) {
|
|
118
|
+
const { engine: n, json: t } = e, r = q(), { options: i } = B() || {}, s = E(), c = P(), d = m(() => {
|
|
119
|
+
var u;
|
|
120
|
+
return s.length ? (u = c == null ? void 0 : c.map) == null ? void 0 : u.call(c, (a) => /* @__PURE__ */ o(
|
|
121
|
+
k,
|
|
122
|
+
{
|
|
123
|
+
componentNode: a,
|
|
124
|
+
packages: s
|
|
125
|
+
},
|
|
126
|
+
a == null ? void 0 : a.id
|
|
127
|
+
)) : [];
|
|
128
|
+
}, [c, s]);
|
|
129
|
+
return f.useEffect(() => {
|
|
130
|
+
n.loadJSON(t).then(() => {
|
|
131
|
+
var u;
|
|
132
|
+
(u = e == null ? void 0 : e.onJSONLoad) == null || u.call(e);
|
|
133
|
+
});
|
|
134
|
+
}, []), /* @__PURE__ */ o(
|
|
135
|
+
U,
|
|
136
|
+
{
|
|
137
|
+
className: F.preview,
|
|
138
|
+
dw: (r == null ? void 0 : r.width) || 1920,
|
|
139
|
+
dh: (r == null ? void 0 : r.height) || 1080,
|
|
140
|
+
style: { background: i == null ? void 0 : i.whiteBoardColor },
|
|
141
|
+
children: /* @__PURE__ */ o(_, { preview: !0, style: { width: "100%", height: "100%" }, children: d })
|
|
142
|
+
}
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
export {
|
|
146
|
+
p as default
|
|
147
|
+
};
|
|
@@ -6,7 +6,7 @@ import { TitleComponent as O, TooltipComponent as j, ToolboxComponent as w, Visu
|
|
|
6
6
|
import { LabelLayout as F, UniversalTransition as P } from "echarts/features";
|
|
7
7
|
import { CanvasRenderer as S } from "echarts/renderers";
|
|
8
8
|
import { useUpdateEffect as V } from "ahooks";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-BseO3j88.mjs";
|
|
10
10
|
import "react-dom/client";
|
|
11
11
|
import { u as q } from "./useResizeDom-B6mM4jrh.mjs";
|
|
12
12
|
f.use([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { n as b } from "./index-
|
|
2
|
+
import { n as b } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useState as u, useMemo as x } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -11,7 +11,7 @@ import "driver.js/dist/driver.css";
|
|
|
11
11
|
import "lodash-es";
|
|
12
12
|
import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
13
13
|
import "ahooks";
|
|
14
|
-
import { R as h } from "./index-
|
|
14
|
+
import { R as h } from "./index-BQMHx4Ur.mjs";
|
|
15
15
|
const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 250, a = [210, 200, 195, 200, 202, 195, 180], O = b((i) => {
|
|
16
16
|
const { width: n, height: s } = i, [e, l] = u(a), m = x(() => {
|
|
17
17
|
const o = e.map((t) => t * 100 / r);
|
|
@@ -540,7 +540,7 @@ const Ot = "_configRender_wy2nc_59", Dt = "_configRender_item_wy2nc_65", Rt = "_
|
|
|
540
540
|
function le() {
|
|
541
541
|
return rt(Ie);
|
|
542
542
|
}
|
|
543
|
-
import("./index-
|
|
543
|
+
import("./index-CUl51FbE.mjs").then((r) => {
|
|
544
544
|
var e;
|
|
545
545
|
(e = r.default) == null || e.call(r);
|
|
546
546
|
});
|
|
@@ -1475,8 +1475,8 @@ const j = {
|
|
|
1475
1475
|
y: 0,
|
|
1476
1476
|
width: 500,
|
|
1477
1477
|
height: 300,
|
|
1478
|
-
component: c.lazy(() => import("./index-
|
|
1479
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
1478
|
+
component: c.lazy(() => import("./index-DiaCgMtP.mjs")),
|
|
1479
|
+
attributesComponent: c.lazy(() => import("./attributes-CNvZw41R.mjs"))
|
|
1480
1480
|
},
|
|
1481
1481
|
{
|
|
1482
1482
|
cId: "image",
|
|
@@ -1487,8 +1487,8 @@ const j = {
|
|
|
1487
1487
|
y: 0,
|
|
1488
1488
|
width: 270,
|
|
1489
1489
|
height: 150,
|
|
1490
|
-
component: c.lazy(() => import("./index-
|
|
1491
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
1490
|
+
component: c.lazy(() => import("./index-Cl1TBDdm.mjs")),
|
|
1491
|
+
attributesComponent: c.lazy(() => import("./attributes-BhOVe6Nw.mjs"))
|
|
1492
1492
|
},
|
|
1493
1493
|
{
|
|
1494
1494
|
cId: "dateDisplay",
|
|
@@ -1499,8 +1499,8 @@ const j = {
|
|
|
1499
1499
|
y: 0,
|
|
1500
1500
|
width: 250,
|
|
1501
1501
|
height: 26,
|
|
1502
|
-
component: c.lazy(() => import("./index-
|
|
1503
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
1502
|
+
component: c.lazy(() => import("./index-CR2sC3mu.mjs")),
|
|
1503
|
+
attributesComponent: c.lazy(() => import("./attributes-CKQVoQvV.mjs"))
|
|
1504
1504
|
},
|
|
1505
1505
|
{
|
|
1506
1506
|
cId: "doubleText",
|
|
@@ -1511,8 +1511,8 @@ const j = {
|
|
|
1511
1511
|
y: 0,
|
|
1512
1512
|
width: 120,
|
|
1513
1513
|
height: 64,
|
|
1514
|
-
component: c.lazy(() => import("./index-
|
|
1515
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
1514
|
+
component: c.lazy(() => import("./index-Do46s3Bo.mjs")),
|
|
1515
|
+
attributesComponent: c.lazy(() => import("./attributes-Db9sk_dJ.mjs"))
|
|
1516
1516
|
}
|
|
1517
1517
|
], da = "_carousel_1b8a0_59", ua = "_carousel_bordered_1b8a0_62", ce = {
|
|
1518
1518
|
carousel: da,
|
|
@@ -1898,8 +1898,8 @@ const Me = [
|
|
|
1898
1898
|
y: 0,
|
|
1899
1899
|
width: 400,
|
|
1900
1900
|
height: 300,
|
|
1901
|
-
component: c.lazy(() => import("./index-
|
|
1902
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
1901
|
+
component: c.lazy(() => import("./index-DOx-TcxR.mjs")),
|
|
1902
|
+
attributesComponent: c.lazy(() => import("./attributes-D_7z174b.mjs")),
|
|
1903
1903
|
icon: () => import("./specialCard-jikYSVVg.mjs"),
|
|
1904
1904
|
panels: [{ label: "特殊卡片", value: "" }]
|
|
1905
1905
|
}
|
|
@@ -1913,7 +1913,7 @@ const Me = [
|
|
|
1913
1913
|
y: 0,
|
|
1914
1914
|
width: 250,
|
|
1915
1915
|
height: 250,
|
|
1916
|
-
component: c.lazy(() => import("./index-
|
|
1916
|
+
component: c.lazy(() => import("./index-KR0QAPWF.mjs"))
|
|
1917
1917
|
},
|
|
1918
1918
|
{
|
|
1919
1919
|
cId: "line",
|
|
@@ -1924,8 +1924,8 @@ const Me = [
|
|
|
1924
1924
|
y: 0,
|
|
1925
1925
|
width: 250,
|
|
1926
1926
|
height: 250,
|
|
1927
|
-
component: c.lazy(() => import("./index-
|
|
1928
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
1927
|
+
component: c.lazy(() => import("./index-CZaKlOGF.mjs")),
|
|
1928
|
+
attributesComponent: c.lazy(() => import("./attributes-COWyZqgA.mjs")),
|
|
1929
1929
|
dataSourceType: "static",
|
|
1930
1930
|
staticDataSource: [
|
|
1931
1931
|
{ name: "选项一", value1: 100, value2: 200, value3: 300 },
|
|
@@ -1942,7 +1942,7 @@ const Me = [
|
|
|
1942
1942
|
y: 0,
|
|
1943
1943
|
width: 250,
|
|
1944
1944
|
height: 250,
|
|
1945
|
-
component: c.lazy(() => import("./index-
|
|
1945
|
+
component: c.lazy(() => import("./index-DJCJ9mDa.mjs"))
|
|
1946
1946
|
},
|
|
1947
1947
|
{
|
|
1948
1948
|
cId: "radar",
|
|
@@ -1954,7 +1954,7 @@ const Me = [
|
|
|
1954
1954
|
width: 350,
|
|
1955
1955
|
height: 300,
|
|
1956
1956
|
options: {},
|
|
1957
|
-
component: c.lazy(() => import("./index-
|
|
1957
|
+
component: c.lazy(() => import("./index-QkxDL_fl.mjs"))
|
|
1958
1958
|
},
|
|
1959
1959
|
{
|
|
1960
1960
|
cId: "gauge",
|
|
@@ -1966,7 +1966,7 @@ const Me = [
|
|
|
1966
1966
|
width: 350,
|
|
1967
1967
|
height: 300,
|
|
1968
1968
|
options: {},
|
|
1969
|
-
component: c.lazy(() => import("./index-
|
|
1969
|
+
component: c.lazy(() => import("./index-Bt7Z5pcG.mjs"))
|
|
1970
1970
|
},
|
|
1971
1971
|
{
|
|
1972
1972
|
cId: "horizontalBar",
|
|
@@ -1978,7 +1978,7 @@ const Me = [
|
|
|
1978
1978
|
width: 350,
|
|
1979
1979
|
height: 300,
|
|
1980
1980
|
options: {},
|
|
1981
|
-
component: c.lazy(() => import("./index-
|
|
1981
|
+
component: c.lazy(() => import("./index-Mr6nPhGt.mjs"))
|
|
1982
1982
|
},
|
|
1983
1983
|
{
|
|
1984
1984
|
cId: "barLine",
|
|
@@ -1990,7 +1990,7 @@ const Me = [
|
|
|
1990
1990
|
width: 350,
|
|
1991
1991
|
height: 300,
|
|
1992
1992
|
options: {},
|
|
1993
|
-
component: c.lazy(() => import("./index-
|
|
1993
|
+
component: c.lazy(() => import("./index-B_otqPpE.mjs"))
|
|
1994
1994
|
},
|
|
1995
1995
|
{
|
|
1996
1996
|
cId: "ring",
|
|
@@ -2002,8 +2002,8 @@ const Me = [
|
|
|
2002
2002
|
width: 350,
|
|
2003
2003
|
height: 300,
|
|
2004
2004
|
options: {},
|
|
2005
|
-
component: c.lazy(() => import("./index-
|
|
2006
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
2005
|
+
component: c.lazy(() => import("./index-DTx3K3TW.mjs")),
|
|
2006
|
+
attributesComponent: c.lazy(() => import("./attributes-ICDLlHKL.mjs"))
|
|
2007
2007
|
}
|
|
2008
2008
|
], Fa = [
|
|
2009
2009
|
{
|
|
@@ -2017,7 +2017,7 @@ const Me = [
|
|
|
2017
2017
|
width: 300,
|
|
2018
2018
|
height: 32,
|
|
2019
2019
|
isAllPage: !0,
|
|
2020
|
-
component: c.lazy(() => import("./index-
|
|
2020
|
+
component: c.lazy(() => import("./index-DIXk7ULh.mjs"))
|
|
2021
2021
|
}
|
|
2022
2022
|
];
|
|
2023
2023
|
async function Ha(r, e = 300) {
|
|
@@ -2165,8 +2165,8 @@ const wn = ot(
|
|
|
2165
2165
|
y: 0,
|
|
2166
2166
|
width: 500,
|
|
2167
2167
|
height: 500,
|
|
2168
|
-
component: c.lazy(() => import("./index-
|
|
2169
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
2168
|
+
component: c.lazy(() => import("./index-DQnoNvaR.mjs")),
|
|
2169
|
+
attributesComponent: c.lazy(() => import("./attributes-C9kdt2P4.mjs"))
|
|
2170
2170
|
},
|
|
2171
2171
|
{
|
|
2172
2172
|
cId: "scrollList",
|
|
@@ -2187,8 +2187,8 @@ const wn = ot(
|
|
|
2187
2187
|
{ key: "5", title: "培训项目二", status: "2" },
|
|
2188
2188
|
{ key: "6", title: "tjh项目", status: "1" }
|
|
2189
2189
|
],
|
|
2190
|
-
component: c.lazy(() => import("./index-
|
|
2191
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
2190
|
+
component: c.lazy(() => import("./index-DjwCZvsj.mjs")),
|
|
2191
|
+
attributesComponent: c.lazy(() => import("./attributes-DX29Qkf4.mjs"))
|
|
2192
2192
|
},
|
|
2193
2193
|
{
|
|
2194
2194
|
cId: "defaultImage",
|
|
@@ -2200,8 +2200,8 @@ const wn = ot(
|
|
|
2200
2200
|
y: 0,
|
|
2201
2201
|
width: 150,
|
|
2202
2202
|
height: 150,
|
|
2203
|
-
component: c.lazy(() => import("./index-
|
|
2204
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
2203
|
+
component: c.lazy(() => import("./index-Dd2HXuLY.mjs")),
|
|
2204
|
+
attributesComponent: c.lazy(() => import("./attributes-S7TYD0S5.mjs"))
|
|
2205
2205
|
},
|
|
2206
2206
|
{
|
|
2207
2207
|
cId: "ProgressList",
|
|
@@ -2222,8 +2222,8 @@ const wn = ot(
|
|
|
2222
2222
|
{ key: "5", title: "培训项目二", count: 200 },
|
|
2223
2223
|
{ key: "6", title: "tjh项目", count: 0 }
|
|
2224
2224
|
],
|
|
2225
|
-
component: c.lazy(() => import("./index-
|
|
2226
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
2225
|
+
component: c.lazy(() => import("./index-CiRuNGX5.mjs")),
|
|
2226
|
+
attributesComponent: c.lazy(() => import("./attributes-Bqwv78vP.mjs"))
|
|
2227
2227
|
},
|
|
2228
2228
|
{
|
|
2229
2229
|
cId: "specialTitle",
|
|
@@ -2235,14 +2235,14 @@ const wn = ot(
|
|
|
2235
2235
|
y: 0,
|
|
2236
2236
|
width: 500,
|
|
2237
2237
|
height: 32,
|
|
2238
|
-
component: c.lazy(() => import("./index-
|
|
2239
|
-
attributesComponent: c.lazy(() => import("./attributes-
|
|
2238
|
+
component: c.lazy(() => import("./index-4IXWh7p-.mjs")),
|
|
2239
|
+
attributesComponent: c.lazy(() => import("./attributes-CxmgjIr4.mjs"))
|
|
2240
2240
|
}
|
|
2241
2241
|
], ja = {
|
|
2242
2242
|
id: "system",
|
|
2243
2243
|
name: "默认组件包",
|
|
2244
2244
|
origin: "system",
|
|
2245
|
-
version: "0.0.
|
|
2245
|
+
version: "0.0.27",
|
|
2246
2246
|
description: "由官方发布的组件库,随编辑器主版本迭代而更新。",
|
|
2247
2247
|
components: [
|
|
2248
2248
|
...ca,
|
|
@@ -4253,7 +4253,7 @@ function main(value, {origin, target, option}) {
|
|
|
4253
4253
|
}, Symbol.toStringTag, { value: "Module" })), Pn = {
|
|
4254
4254
|
classic: Ge,
|
|
4255
4255
|
multiple_components_interactive: Ke
|
|
4256
|
-
}, O = "_$_rbs_current_engine_$_", en = c.lazy(() => import("./index-
|
|
4256
|
+
}, O = "_$_rbs_current_engine_$_", en = c.lazy(() => import("./index-CF9Gq4DE.mjs")), tn = c.lazy(() => import("./index-BP0M5ksu.mjs"));
|
|
4257
4257
|
class zn {
|
|
4258
4258
|
constructor(e) {
|
|
4259
4259
|
/** react createApp */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { R as i } from "./index-
|
|
3
|
-
import { n as a } from "./index-
|
|
2
|
+
import { R as i } from "./index-BQMHx4Ur.mjs";
|
|
3
|
+
import { n as a } from "./index-BseO3j88.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -3,7 +3,7 @@ import { useState as S } from "react";
|
|
|
3
3
|
import { Select as M } from "antd";
|
|
4
4
|
import { useDebounceEffect as X, useUpdateEffect as V } from "ahooks";
|
|
5
5
|
import { u as Y } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
6
|
-
import { i as Z } from "./index-
|
|
6
|
+
import { i as Z } from "./index-BseO3j88.mjs";
|
|
7
7
|
import "react-dom/client";
|
|
8
8
|
const q = (e, l) => {
|
|
9
9
|
var r, f, d;
|
|
@@ -6,14 +6,14 @@ import zt, { useRef as j, useEffect as E, useMemo as L, useState as N, forwardRe
|
|
|
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 Rt, ClearOutlined as Ft, TranslationOutlined as Dn, SaveOutlined as Q, GithubFilled as On, LockOutlined as Ht, EyeOutlined as Pn, EyeInvisibleOutlined as Bn, RightOutlined as Mn, VerticalAlignTopOutlined as jn, UnlockOutlined as Tn, BlockOutlined as zn, 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, SettingOutlined as Zn } from "@ant-design/icons";
|
|
7
7
|
import { message as A, Tooltip as z, InputNumber as le, Popover as st, Slider as Qn, Space as D, Dropdown as be, Button as K, Input as pn, Collapse as Ct, Form as M, Modal as re, Descriptions as je, Tree as ei, Row as nt, Col as H, Checkbox as we, Switch as qt, Tabs as ti, Empty as xt } from "antd";
|
|
8
8
|
import $ from "classnames";
|
|
9
|
-
import { R as k, u as w, E as ni, a as ii, b as li, c as ut, s as ci, L as ai, d as oi, e as Jt, f as ht, g as it, l as Te, h as It, i as di, j as kt, I as ze, k as ri, m as si } from "./index-
|
|
9
|
+
import { R as k, u as w, E as ni, a as ii, b as li, c as ut, s as ci, L as ai, d as oi, e as Jt, f as ht, g as it, l as Te, h as It, i as di, j as kt, I as ze, k as ri, m as si } from "./index-BseO3j88.mjs";
|
|
10
10
|
import "localforage";
|
|
11
11
|
import { createPortal as ui } from "react-dom";
|
|
12
12
|
import { createRoot as Wt } from "react-dom/client";
|
|
13
13
|
import "driver.js";
|
|
14
14
|
import "driver.js/dist/driver.css";
|
|
15
15
|
import { cloneDeep as Vt, debounce as hi, groupBy as gi, throttle as Gt } from "lodash-es";
|
|
16
|
-
import { u as Ee, i as Ae, a as gt, b as Xt, c as Yt, g as ae, d as _i, e as mi, f as fi, h as yi, j as Zt, s as St, P as vi, k as bi, l as Ci } from "./index-
|
|
16
|
+
import { u as Ee, i as Ae, a as gt, b as Xt, c as Yt, g as ae, d as _i, e as mi, f as fi, h as yi, j as Zt, s as St, P as vi, k as bi, l as Ci } from "./index-CQpPr_GO.mjs";
|
|
17
17
|
import { useUpdateEffect as _t, useUnmount as Qt, useRequest as pt } from "ahooks";
|
|
18
18
|
import "react-color";
|
|
19
19
|
import { I as p, L as Le, a as T, C as xi, b as $e } from "./Line-CgKiUu04.mjs";
|
|
@@ -30,10 +30,10 @@ import "monaco-editor/esm/vs/language/typescript/monaco.contribution";
|
|
|
30
30
|
import ft from "jszip";
|
|
31
31
|
import { saveAs as en } from "file-saver";
|
|
32
32
|
import { u as tn } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
33
|
-
import { u as Ei, s as Re } from "./selectPage-
|
|
34
|
-
import { u as Ai } from "./useCurrentPageId-
|
|
33
|
+
import { u as Ei, s as Re } from "./selectPage-BejdiGuA.mjs";
|
|
34
|
+
import { u as Ai } from "./useCurrentPageId-CrzsBBI2.mjs";
|
|
35
35
|
import { u as nn } from "./useListenRef-B01dENv0.mjs";
|
|
36
|
-
import { I as Ce } from "./index-
|
|
36
|
+
import { I as Ce } from "./index-BwBB6Ooc.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 kl = (e, t, n) => {
|
|
|
813
813
|
};
|
|
814
814
|
async function Sl(e) {
|
|
815
815
|
var i;
|
|
816
|
-
const t = await kl(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-
|
|
816
|
+
const t = await kl(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-BseO3j88.mjs").then((c) => c.r), "../../../../../../public/example/multiple-components-interactive.json": () => import("./index-BseO3j88.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 Nl() {
|
|
@@ -1,7 +1,7 @@
|
|
|
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-BseO3j88.mjs";
|
|
5
5
|
import "localforage";
|
|
6
6
|
import N, { useEffect as y, useMemo as M, useRef as w, useState as _, useCallback as z } from "react";
|
|
7
7
|
import "react-dom";
|
|
@@ -15,7 +15,7 @@ import "ahooks";
|
|
|
15
15
|
import Z from "umi-request";
|
|
16
16
|
import { u as j } from "./useListenRef-B01dENv0.mjs";
|
|
17
17
|
import { u as Q } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
18
|
-
import { u as V } from "./useCurrentPageId-
|
|
18
|
+
import { u as V } from "./useCurrentPageId-CrzsBBI2.mjs";
|
|
19
19
|
import I from "hotkeys-js";
|
|
20
20
|
import "dayjs";
|
|
21
21
|
function X(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { n as l } from "./index-
|
|
2
|
+
import { n as l } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useRef as c, useEffect as a } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { DEFAULT_OPTIONS as p } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-CKQVoQvV.mjs";
|
|
13
13
|
import u from "dayjs";
|
|
14
14
|
const T = l((m) => {
|
|
15
15
|
const { width: i, height: o, options: r } = m, t = c(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as g } from "react/jsx-runtime";
|
|
2
|
-
import { C as l } from "./index-
|
|
3
|
-
import { I as u } from "./index-
|
|
2
|
+
import { C as l } from "./index-BseO3j88.mjs";
|
|
3
|
+
import { I as u } from "./index-BwBB6Ooc.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Tooltip as v, Checkbox as h, Slider as C } from "antd";
|
|
6
6
|
import "ahooks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { R as p } from "./index-
|
|
3
|
-
import { n as u } from "./index-
|
|
2
|
+
import { R as p } from "./index-BQMHx4Ur.mjs";
|
|
3
|
+
import { n as u } from "./index-BseO3j88.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import { useMemo as f } from "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -10,7 +10,7 @@ import "driver.js";
|
|
|
10
10
|
import "driver.js/dist/driver.css";
|
|
11
11
|
import "lodash-es";
|
|
12
12
|
import "ahooks";
|
|
13
|
-
import { DEFAULT_OPTIONS as g } from "./attributes-
|
|
13
|
+
import { DEFAULT_OPTIONS as g } from "./attributes-COWyZqgA.mjs";
|
|
14
14
|
function l(m = "name", o, n) {
|
|
15
15
|
return !(o != null && o.length) || !(n != null && n.length) ? {
|
|
16
16
|
source: []
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { n as h } from "./index-
|
|
2
|
+
import { n as h } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useState as p, useMemo as L, useEffect as x } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -10,7 +10,7 @@ import "driver.js";
|
|
|
10
10
|
import "driver.js/dist/driver.css";
|
|
11
11
|
import { cloneDeep as v } from "lodash-es";
|
|
12
12
|
import "ahooks";
|
|
13
|
-
import { DEFAULT_OPTIONS as I } from "./attributes-
|
|
13
|
+
import { DEFAULT_OPTIONS as I } from "./attributes-Bqwv78vP.mjs";
|
|
14
14
|
import { A as M } from "./index-D5seKG8I.mjs";
|
|
15
15
|
import { DoubleRightOutlined as z } from "@ant-design/icons";
|
|
16
16
|
const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_progressList_line_header_xy0sd_69", c = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Image as i } from "antd";
|
|
3
|
-
import { n as p } from "./index-
|
|
3
|
+
import { n as p } from "./index-BseO3j88.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { DEFAULT_OPTIONS as n } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as n } from "./attributes-BhOVe6Nw.mjs";
|
|
13
13
|
const E = p((t) => {
|
|
14
14
|
const { options: r, width: e, height: m } = t;
|
|
15
15
|
return /* @__PURE__ */ o(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as d, jsxs as h, Fragment as m } from "react/jsx-runtime";
|
|
2
|
-
import { n as u } from "./index-
|
|
2
|
+
import { n as u } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useMemo as v } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,8 +9,8 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { u as f, s as I } from "./selectPage-
|
|
13
|
-
import { u as L } from "./useCurrentPageId-
|
|
12
|
+
import { u as f, s as I } from "./selectPage-BejdiGuA.mjs";
|
|
13
|
+
import { u as L } from "./useCurrentPageId-CrzsBBI2.mjs";
|
|
14
14
|
import S from "classnames";
|
|
15
15
|
import "hotkeys-js";
|
|
16
16
|
import "dayjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { R as p } from "./index-
|
|
3
|
-
import { n as e } from "./index-
|
|
2
|
+
import { R as p } from "./index-BQMHx4Ur.mjs";
|
|
3
|
+
import { n as e } from "./index-BseO3j88.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { n as i } from "./index-
|
|
2
|
+
import { n as i } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { DEFAULT_OPTIONS as c } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as c } from "./attributes-D_7z174b.mjs";
|
|
13
13
|
import { DoubleRightOutlined as s } from "@ant-design/icons";
|
|
14
14
|
const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_specialCard_head_arrow_1s46n_71", o = "_specialCard_head_title_1s46n_74", a = {
|
|
15
15
|
specialCard: _,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import { n as C } from "./index-
|
|
2
|
+
import { n as C } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,8 +9,8 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import { useRequest as v } from "ahooks";
|
|
12
|
-
import { R as S } from "./index-
|
|
13
|
-
import { DEFAULT_OPTIONS as g } from "./attributes-
|
|
12
|
+
import { R as S } from "./index-BQMHx4Ur.mjs";
|
|
13
|
+
import { DEFAULT_OPTIONS as g } from "./attributes-C9kdt2P4.mjs";
|
|
14
14
|
const n = "chinaOutline";
|
|
15
15
|
async function p() {
|
|
16
16
|
var t, o;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { R as h } from "./index-
|
|
3
|
-
import { n as x } from "./index-
|
|
2
|
+
import { R as h } from "./index-BQMHx4Ur.mjs";
|
|
3
|
+
import { n as x } from "./index-BseO3j88.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import { useRef as g, useMemo as I } from "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -11,7 +11,7 @@ import "driver.js/dist/driver.css";
|
|
|
11
11
|
import "lodash-es";
|
|
12
12
|
import { u as y } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
13
13
|
import "ahooks";
|
|
14
|
-
import { DEFAULT_OPTIONS as b } from "./attributes-
|
|
14
|
+
import { DEFAULT_OPTIONS as b } from "./attributes-ICDLlHKL.mjs";
|
|
15
15
|
const S = ["私有化项目", "培训项目", "演示项目", "tjh项目", "xyz项目"], i = [1048, 735, 580, 484, 300], F = x((m) => {
|
|
16
16
|
const { width: u, height: p, options: t } = m, n = g(), d = I(() => {
|
|
17
17
|
const e = S.map((r, o) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, Fragment as a } from "react/jsx-runtime";
|
|
2
|
-
import { n } from "./index-
|
|
2
|
+
import { n } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import m from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { DEFAULT_OPTIONS as c } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as c } from "./attributes-S7TYD0S5.mjs";
|
|
13
13
|
const b = /* @__PURE__ */ Object.assign({ "./assets/base-1.png": () => import("./base-1-Bxyjxg2p.mjs"), "./assets/base-2.png": () => import("./base-2-DwwJwZna.mjs"), "./assets/base-3.png": () => import("./base-3-Cgpni-Ls.mjs"), "./assets/base-4.png": () => import("./base-4-B347HMAK.mjs"), "./assets/bg-theme-1.jpeg": () => import("./bg-theme-1-C6_IGFfb.mjs"), "./assets/bg-theme-2.jpg": () => import("./bg-theme-2-CUzHZf9k.mjs"), "./assets/bg-theme-3.jpg": () => import("./bg-theme-3-D8JmxCmu.mjs"), "./assets/bg-theme-4.jpg": () => import("./bg-theme-4-DSDHPL-t.mjs"), "./assets/bg-theme-5.jpg": () => import("./bg-theme-5-CSy6VFVO.mjs"), "./assets/bg-theme-6.jpg": () => import("./bg-theme-6-rNDMxpbu.mjs"), "./assets/bg-theme-7.jpg": () => import("./bg-theme-7-X9aTr92s.mjs"), "./assets/clock.png": () => import("./clock-DnKpmpR_.mjs"), "./assets/com-bg-1.png": () => import("./com-bg-1-CziqISRC.mjs"), "./assets/com-bg-2.png": () => import("./com-bg-2-CJpBMT0l.mjs"), "./assets/com-bg-3.png": () => import("./com-bg-3--MVO0Zy-.mjs"), "./assets/com-bg-4.png": () => import("./com-bg-4-CtztvOjH.mjs"), "./assets/com-bg-5.png": () => import("./com-bg-5-Dn0jCJgl.mjs"), "./assets/com-bg-6.png": () => import("./com-bg-6-DerMFR5l.mjs"), "./assets/title-1.png": () => import("./title-1-d6ywbVeM.mjs"), "./assets/title-2.png": () => import("./title-2-D71Ygwgt.mjs"), "./assets/title-3.png": () => import("./title-3-X8ry0PXo.mjs"), "./assets/title-4.png": () => import("./title-4-HL43GPvP.mjs") });
|
|
14
14
|
async function h(e) {
|
|
15
15
|
if (e)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { n as p } from "./index-
|
|
2
|
+
import { n as p } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { DEFAULT_OPTIONS as n } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as n } from "./attributes-CNvZw41R.mjs";
|
|
13
13
|
const l = p((o) => {
|
|
14
14
|
const { options: t, width: r, height: i } = o;
|
|
15
15
|
return /* @__PURE__ */ m("div", { style: { width: r, height: i, background: t.background } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { n as d } from "./index-
|
|
2
|
+
import { n as d } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { DEFAULT_OPTIONS as p } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-DX29Qkf4.mjs";
|
|
13
13
|
import { A as _ } from "./index-D5seKG8I.mjs";
|
|
14
14
|
import { CalendarOutlined as f } from "@ant-design/icons";
|
|
15
15
|
const m = "_scrollList_ni091_59", L = "_scrollList_line_ni091_62", s = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as g, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { n as a } from "./index-
|
|
2
|
+
import { n as a } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ import "driver.js";
|
|
|
9
9
|
import "driver.js/dist/driver.css";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "ahooks";
|
|
12
|
-
import { DEFAULT_OPTIONS as m } from "./attributes-
|
|
12
|
+
import { DEFAULT_OPTIONS as m } from "./attributes-Db9sk_dJ.mjs";
|
|
13
13
|
const i = a((l) => {
|
|
14
14
|
const { options: e, width: _, height: t } = l;
|
|
15
15
|
return /* @__PURE__ */ g(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { R as r } from "./index-
|
|
3
|
-
import { n as a } from "./index-
|
|
2
|
+
import { R as r } from "./index-BQMHx4Ur.mjs";
|
|
3
|
+
import { n as a } from "./index-BseO3j88.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import { n as h } from "./index-
|
|
2
|
+
import { n as h } from "./index-BseO3j88.mjs";
|
|
3
3
|
import "localforage";
|
|
4
4
|
import { useState as f, useMemo as g } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -10,7 +10,7 @@ import "driver.js/dist/driver.css";
|
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
|
|
12
12
|
import "ahooks";
|
|
13
|
-
import { R as y } from "./index-
|
|
13
|
+
import { R as y } from "./index-BQMHx4Ur.mjs";
|
|
14
14
|
const n = [
|
|
15
15
|
"rgb(28, 172, 255)",
|
|
16
16
|
"rgb(69, 201, 235)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { R as e } from "./index-
|
|
3
|
-
import { n as r } from "./index-
|
|
2
|
+
import { R as e } from "./index-BQMHx4Ur.mjs";
|
|
3
|
+
import { n as r } from "./index-BseO3j88.mjs";
|
|
4
4
|
import "localforage";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
package/es/index.mjs
CHANGED
package/package.json
CHANGED
package/es/index-CX8Y7AOe.mjs
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { jsx as s, Fragment as f } from "react/jsx-runtime";
|
|
2
|
-
import g, { useState as w, useMemo as m, useEffect as y, useRef as l, Suspense as C } from "react";
|
|
3
|
-
import { u as R } from "./index-Cr2RXjtr.mjs";
|
|
4
|
-
import "localforage";
|
|
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 { d as S, e as v, f as x, h as N, u as H, l as q, c as B, b as P, P as _ } from "./index-DM0HOT8p.mjs";
|
|
12
|
-
import "ahooks";
|
|
13
|
-
import $ from "classnames";
|
|
14
|
-
import { u as b } from "./useResizeDom-B6mM4jrh.mjs";
|
|
15
|
-
function k(e) {
|
|
16
|
-
const [n, t] = w(e == null ? void 0 : e.componentNode), c = (n == null ? void 0 : n.show) ?? !0, { engine: r } = R(), o = m(() => r.component.get(n.cId), [n == null ? void 0 : n.cId, e == null ? void 0 : e.packages]);
|
|
17
|
-
return y(() => r.componentNode.onChange(n.id, ({ payload: i }) => {
|
|
18
|
-
t({ ...i });
|
|
19
|
-
}), []), o && c ? /* @__PURE__ */ s(E, { componentNode: n, component: o }) : /* @__PURE__ */ s(f, {});
|
|
20
|
-
}
|
|
21
|
-
function E(e) {
|
|
22
|
-
const { component: n, componentNode: t } = e, c = l(), r = l(null), { dataSource: o, requestInstance: i } = S(t), u = v(t.id), a = x(t.id);
|
|
23
|
-
return N({
|
|
24
|
-
id: t.id,
|
|
25
|
-
// 经过实例
|
|
26
|
-
handleHover() {
|
|
27
|
-
},
|
|
28
|
-
// 离开实例
|
|
29
|
-
handleUnHover() {
|
|
30
|
-
},
|
|
31
|
-
// 选中实例样式
|
|
32
|
-
handleSelected() {
|
|
33
|
-
},
|
|
34
|
-
// 取消选中实例样式
|
|
35
|
-
handleUnSelected() {
|
|
36
|
-
},
|
|
37
|
-
// 获取容器dom
|
|
38
|
-
getContainerDom() {
|
|
39
|
-
return r.current;
|
|
40
|
-
},
|
|
41
|
-
// 获取对应的 componentNode
|
|
42
|
-
getComponentNode() {
|
|
43
|
-
return c.current;
|
|
44
|
-
},
|
|
45
|
-
// 获取实例的 component
|
|
46
|
-
getComponent() {
|
|
47
|
-
return n;
|
|
48
|
-
},
|
|
49
|
-
// 重新载入request配置
|
|
50
|
-
reloadRequest() {
|
|
51
|
-
i.reload();
|
|
52
|
-
},
|
|
53
|
-
// 立刻请求一次
|
|
54
|
-
request: (d, h) => i.request(d, h)
|
|
55
|
-
}), /* @__PURE__ */ s(
|
|
56
|
-
"div",
|
|
57
|
-
{
|
|
58
|
-
ref: r,
|
|
59
|
-
style: {
|
|
60
|
-
position: "absolute",
|
|
61
|
-
left: t.x,
|
|
62
|
-
top: t.y,
|
|
63
|
-
width: t.width,
|
|
64
|
-
height: t.height,
|
|
65
|
-
zIndex: t.level
|
|
66
|
-
},
|
|
67
|
-
children: /* @__PURE__ */ s(C, { children: /* @__PURE__ */ s(
|
|
68
|
-
n.component,
|
|
69
|
-
{
|
|
70
|
-
handleTrigger: u,
|
|
71
|
-
useExpose: a,
|
|
72
|
-
dataSource: o,
|
|
73
|
-
componentNode: t,
|
|
74
|
-
options: t.options,
|
|
75
|
-
width: t.width,
|
|
76
|
-
height: t.height
|
|
77
|
-
}
|
|
78
|
-
) })
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
const I = "_fitScreenBody_1qzud_59", D = {
|
|
83
|
-
fitScreenBody: I
|
|
84
|
-
};
|
|
85
|
-
function z(e) {
|
|
86
|
-
const { dw: n = 1920, dh: t = 1080 } = e, c = l(null), r = l(null), o = m(() => n / t, [n, t]);
|
|
87
|
-
return b(c, () => {
|
|
88
|
-
if (!c.current || !r.current)
|
|
89
|
-
return;
|
|
90
|
-
const i = c.current.getBoundingClientRect();
|
|
91
|
-
if (i.width / i.height > o) {
|
|
92
|
-
const a = i.height / t, d = a * n, h = (i.width - d) / 2;
|
|
93
|
-
r.current.style.transform = `scale(${a}) translate3d(${h / a}px, 0, 0)`;
|
|
94
|
-
} else {
|
|
95
|
-
const a = i.width / n;
|
|
96
|
-
r.current.style.transform = `scale(${a})`;
|
|
97
|
-
}
|
|
98
|
-
r.current.style.width = `${n}px`, r.current.style.height = `${t}px`;
|
|
99
|
-
}), /* @__PURE__ */ s("div", { className: e == null ? void 0 : e.className, ref: c, style: e == null ? void 0 : e.style, children: /* @__PURE__ */ s(
|
|
100
|
-
"div",
|
|
101
|
-
{
|
|
102
|
-
className: $(e == null ? void 0 : e.bodyClassName, D.fitScreenBody),
|
|
103
|
-
style: e == null ? void 0 : e.bodyStyle,
|
|
104
|
-
ref: r,
|
|
105
|
-
children: e == null ? void 0 : e.children
|
|
106
|
-
}
|
|
107
|
-
) });
|
|
108
|
-
}
|
|
109
|
-
const U = "_preview_x6h89_59", j = {
|
|
110
|
-
preview: U
|
|
111
|
-
};
|
|
112
|
-
function Z(e) {
|
|
113
|
-
const { engine: n, json: t } = e, c = H(), { options: r } = q() || {}, o = B(), i = P(), u = m(() => {
|
|
114
|
-
var a;
|
|
115
|
-
return o.length ? (a = i == null ? void 0 : i.map) == null ? void 0 : a.call(i, (d) => /* @__PURE__ */ s(
|
|
116
|
-
k,
|
|
117
|
-
{
|
|
118
|
-
componentNode: d,
|
|
119
|
-
packages: o
|
|
120
|
-
},
|
|
121
|
-
d == null ? void 0 : d.id
|
|
122
|
-
)) : [];
|
|
123
|
-
}, [i, o]);
|
|
124
|
-
return g.useEffect(() => {
|
|
125
|
-
n.loadJSON(t).then(() => {
|
|
126
|
-
var a;
|
|
127
|
-
(a = e == null ? void 0 : e.onJSONLoad) == null || a.call(e);
|
|
128
|
-
});
|
|
129
|
-
}, []), /* @__PURE__ */ s(
|
|
130
|
-
z,
|
|
131
|
-
{
|
|
132
|
-
className: j.preview,
|
|
133
|
-
dw: (c == null ? void 0 : c.width) || 1920,
|
|
134
|
-
dh: (c == null ? void 0 : c.height) || 1080,
|
|
135
|
-
style: { background: r == null ? void 0 : r.whiteBoardColor },
|
|
136
|
-
children: /* @__PURE__ */ s(_, { preview: !0, style: { width: "100%", height: "100%" }, children: u })
|
|
137
|
-
}
|
|
138
|
-
);
|
|
139
|
-
}
|
|
140
|
-
export {
|
|
141
|
-
Z as default
|
|
142
|
-
};
|