react-big-screen 0.0.14 → 0.0.16
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-D4wypprY.mjs → attributes-C6-L5-Tc.mjs} +1 -1
- package/es/{attributes-Btb0WFLF.mjs → attributes-CLKtng9Z.mjs} +1 -1
- package/es/{attributes-BQYKMvcj.mjs → attributes-CTkK-zKe.mjs} +1 -1
- package/es/{attributes-C3fvsuzJ.mjs → attributes-CaEhpijN.mjs} +1 -1
- package/es/{attributes-BPU7D3rB.mjs → attributes-CiSpGTC2.mjs} +1 -1
- package/es/{attributes-D6BpnolK.mjs → attributes-DWlxiiYG.mjs} +1 -1
- package/es/{attributes-Dhnyf9QU.mjs → attributes-DkJdS65t.mjs} +1 -1
- package/es/{attributes-CWY2_iW1.mjs → attributes-DpCS0mF3.mjs} +1 -1
- package/es/{attributes-C9O8_sg4.mjs → attributes-GqB4d5iv.mjs} +1 -1
- package/es/{attributes-CW_9BAq2.mjs → attributes-HHhF4o7Y.mjs} +2 -2
- package/es/{attributes-BmekoT3X.mjs → attributes-UoPVReqf.mjs} +1 -1
- package/es/{attributes-DUZPLASc.mjs → attributes-yLDINEsg.mjs} +1 -1
- package/es/{index-LjyKMBIL.mjs → index-0K85o51g.mjs} +3 -3
- package/es/{index-CTx-cvWk.mjs → index-BCZdjBJJ.mjs} +2 -2
- package/es/{index-BlACjoGr.mjs → index-BM4ILKEc.mjs} +2 -2
- package/es/{index-CK1f83Ne.mjs → index-BNC3UbKF.mjs} +2 -2
- package/es/{index-DpRRQVh-.mjs → index-BldlzvuU.mjs} +112 -112
- package/es/{index-DYMjU1YC.mjs → index-C2dVSPVz.mjs} +3 -3
- package/es/{index-pjNmKgyo.mjs → index-C9hmLstz.mjs} +2 -2
- package/es/{index-s23NvDdl.mjs → index-CAMpiOxt.mjs} +1 -1
- package/es/{index-B2DgN7Ho.mjs → index-CUNz1tFb.mjs} +3 -3
- package/es/{index-C6Xzniz1.mjs → index-CV3CbGOy.mjs} +2 -2
- package/es/{index-DThqOiX3.mjs → index-CZvhSCSC.mjs} +2 -2
- package/es/{index-Cj_g4N5m.mjs → index-CbTTJ-CP.mjs} +2 -2
- package/es/{index-yEom7dpa.mjs → index-Ccbgx0jH.mjs} +2 -2
- package/es/{index-BZYcTX5j.mjs → index-ClIbiw0p.mjs} +34 -34
- package/es/{index-CwijThLu.mjs → index-Clk_czMj.mjs} +1 -1
- package/es/{index-D-3DbMMl.mjs → index-D0KDJrVL.mjs} +2 -2
- package/es/{index-efgz51Ht.mjs → index-D5vYVcTR.mjs} +2 -2
- package/es/{index-LSiyLbzB.mjs → index-DKoTC2Xk.mjs} +2 -2
- package/es/{index-0kmSz75m.mjs → index-DexsopTp.mjs} +2 -2
- package/es/{index-Dx-GVWd-.mjs → index-Dk9oedlP.mjs} +2 -2
- package/es/{index-DSz8a2B7.mjs → index-GcMZDFMx.mjs} +2 -2
- package/es/{index-Cz49jHht.mjs → index-iFuEY-wV.mjs} +3 -3
- package/es/{index-Bi3qRAX3.mjs → index-lLnHnoQq.mjs} +2 -2
- package/es/{index-CwGNi732.mjs → index-qrNjlWih.mjs} +2 -2
- package/es/{index-Cslh09K5.mjs → index-sZk6Or23.mjs} +2 -2
- package/es/{index-DWpwc6bV.mjs → index-thG37Ydl.mjs} +2 -2
- package/es/index.mjs +1 -1
- package/es/{selectPage-bS9p5soG.mjs → selectPage-BYoFtkBW.mjs} +1 -1
- package/es/{useCurrentPageId-Cc4bRYxO.mjs → useCurrentPageId-BKvMaKLl.mjs} +1 -1
- 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
|
@@ -6,13 +6,13 @@ import zt, { useRef as B, useEffect as w, useMemo as A, useState as S, 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 $t, SaveOutlined as Q, ClearOutlined as Rt, TranslationOutlined as Dn, SettingOutlined as Ft, GithubFilled as On, LockOutlined as Ht, EyeOutlined as Pn, EyeInvisibleOutlined as Mn, RightOutlined as Bn, VerticalAlignTopOutlined as jn, UnlockOutlined as zn, BlockOutlined as Tn, DisconnectOutlined as $n, CopyOutlined as Rn, DeleteOutlined as de, StarOutlined as dt, BorderOuterOutlined as Fn, BorderBottomOutlined as Hn, DownloadOutlined as Kn, LoadingOutlined as Kt, EditOutlined as Ut, BarsOutlined as Un, FileOutlined as qn, AppstoreOutlined as Jn, FileTextOutlined as Wn, ApartmentOutlined as Vn, BankOutlined as Gn, HistoryOutlined as Xn, PlusOutlined as rt, RedoOutlined as Yn } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/@ant-design+icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/index.js";
|
|
7
7
|
import { message as E, Tooltip as T, InputNumber as le, Popover as st, Slider as Zn, Space as D, Dropdown as be, Button as K, Input as Qn, Collapse as Ct, Form as M, Modal as re, Descriptions as je, Tree as pn, Row as nt, Col as H, Checkbox as we, Switch as qt, Tabs as ei, Empty as xt } from "/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 $ from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
|
|
9
|
-
import { R as k, u as N, E as ti, a as ni, b as ii, c as ut, s as li, L as ci, d as ai, e as Jt, f as ht, g as it, l as ze, h as It, i as oi, j as kt, I as Te, k as di, m as ri } from "./index-
|
|
9
|
+
import { R as k, u as N, E as ti, a as ni, b as ii, c as ut, s as li, L as ci, d as ai, e as Jt, f as ht, g as it, l as ze, h as It, i as oi, j as kt, I as Te, k as di, m as ri } from "./index-ClIbiw0p.mjs";
|
|
10
10
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
11
11
|
import { createPortal as si } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
12
12
|
import { createRoot as Wt } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
13
13
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
14
14
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
15
|
-
import { u as Ee, i as Ae, a as gt, b as Vt, c as Gt, g as ae, d as ui, e as hi, f as gi, h as _i, j as Xt, s as St, P as mi, k as fi, l as yi } from "./index-
|
|
15
|
+
import { u as Ee, i as Ae, a as gt, b as Vt, c as Gt, g as ae, d as ui, e as hi, f as gi, h as _i, j as Xt, s as St, P as mi, k as fi, l as yi } from "./index-BCZdjBJJ.mjs";
|
|
16
16
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-color@2.19.3_react@18.3.1/node_modules/react-color/es/index.js";
|
|
17
17
|
import { I as p, L as Le, a as z, C as vi, b as $e } from "./Line-DVDoMjnT.mjs";
|
|
18
18
|
import { I as _t, a as bi } from "./IInputNumber-Vk6zq2bP.mjs";
|
|
@@ -30,10 +30,10 @@ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@
|
|
|
30
30
|
import ft from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js";
|
|
31
31
|
import { saveAs as en } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.js";
|
|
32
32
|
import { u as tn } from "./useEffectOnce-Ct0JMBZd.mjs";
|
|
33
|
-
import { u as wi, s as Re } from "./selectPage-
|
|
34
|
-
import { u as Ei } from "./useCurrentPageId-
|
|
33
|
+
import { u as wi, s as Re } from "./selectPage-BYoFtkBW.mjs";
|
|
34
|
+
import { u as Ei } from "./useCurrentPageId-BKvMaKLl.mjs";
|
|
35
35
|
import { u as nn } from "./useListenRef-Dqm6KZRj.mjs";
|
|
36
|
-
import { I as Ce } from "./index-
|
|
36
|
+
import { I as Ce } from "./index-CAMpiOxt.mjs";
|
|
37
37
|
async function ln(e) {
|
|
38
38
|
return new Promise((t) => {
|
|
39
39
|
let n = document.createElement("input");
|
|
@@ -813,7 +813,7 @@ const Il = (e, t, n) => {
|
|
|
813
813
|
};
|
|
814
814
|
async function kl(e) {
|
|
815
815
|
var i;
|
|
816
|
-
const t = await Il(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-
|
|
816
|
+
const t = await Il(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-ClIbiw0p.mjs").then((c) => c.r), "../../../../../../public/example/multiple-components-interactive.json": () => import("./index-ClIbiw0p.mjs").then((c) => c.t) }), `../../../../../../public/example/${e}.json`, 9), n = k.getActiveEngine();
|
|
817
817
|
(i = n == null ? void 0 : n.loadJSON) == null || i.call(n, t);
|
|
818
818
|
}
|
|
819
819
|
function Sl() {
|
|
@@ -852,7 +852,7 @@ function Nl() {
|
|
|
852
852
|
}
|
|
853
853
|
const wl = xl();
|
|
854
854
|
function El(e) {
|
|
855
|
-
const {
|
|
855
|
+
const { pageLogo: t } = e, { engine: n, rbsEngine: i } = N(), [c, a] = se(), d = an(), o = a.language === ci.zh, s = A(() => [
|
|
856
856
|
{
|
|
857
857
|
key: "shortCutKeys",
|
|
858
858
|
description: /* @__PURE__ */ l(bl, {}),
|
|
@@ -860,41 +860,41 @@ function El(e) {
|
|
|
860
860
|
},
|
|
861
861
|
{
|
|
862
862
|
key: "undo",
|
|
863
|
-
description:
|
|
864
|
-
disabled: !
|
|
863
|
+
description: c("head.undo"),
|
|
864
|
+
disabled: !d.isCanGoBack,
|
|
865
865
|
icon: /* @__PURE__ */ l(Nt, { type: "icon-undo" })
|
|
866
866
|
},
|
|
867
867
|
{
|
|
868
868
|
key: "cancelUndo",
|
|
869
|
-
description:
|
|
870
|
-
disabled: !
|
|
869
|
+
description: c("head.cancelUndo"),
|
|
870
|
+
disabled: !d.isCanGoForward,
|
|
871
871
|
icon: /* @__PURE__ */ l(Nt, { type: "icon-cancel-undo" })
|
|
872
872
|
},
|
|
873
|
-
{ key: "export", description:
|
|
874
|
-
{ key: "import", description:
|
|
875
|
-
{ key: "save", description:
|
|
876
|
-
{ key: "clear", description:
|
|
873
|
+
{ key: "export", description: c("head.export"), icon: /* @__PURE__ */ l(Ln, {}) },
|
|
874
|
+
{ key: "import", description: c("head.import"), icon: /* @__PURE__ */ l($t, {}) },
|
|
875
|
+
{ key: "save", description: c("head.save"), icon: /* @__PURE__ */ l(Q, {}) },
|
|
876
|
+
{ key: "clear", description: c("head.clear"), icon: /* @__PURE__ */ l(Rt, {}) },
|
|
877
877
|
{
|
|
878
878
|
key: "language",
|
|
879
|
-
description:
|
|
879
|
+
description: c("head.language", { text: `${o ? "切换英语" : "change chinese"}` }),
|
|
880
880
|
icon: /* @__PURE__ */ l(Dn, {})
|
|
881
881
|
},
|
|
882
882
|
{
|
|
883
883
|
key: "settings",
|
|
884
|
-
description:
|
|
884
|
+
description: c("head.settings"),
|
|
885
885
|
disabled: !0,
|
|
886
886
|
icon: /* @__PURE__ */ l(Ft, {})
|
|
887
887
|
}
|
|
888
888
|
// { key: "preview", description: t("head.preview"), icon: <DesktopOutlined /> },
|
|
889
|
-
], [
|
|
890
|
-
function
|
|
889
|
+
], [a.language, d.isCanGoForward, d.isCanGoBack]);
|
|
890
|
+
function r() {
|
|
891
891
|
window.open("https://github.com/tangjiahui-cn/react-big-screen.git");
|
|
892
892
|
}
|
|
893
|
-
async function
|
|
894
|
-
|
|
893
|
+
async function h() {
|
|
894
|
+
i == null || i.emit("startPreview", n);
|
|
895
895
|
}
|
|
896
|
-
function
|
|
897
|
-
switch (
|
|
896
|
+
function u(m) {
|
|
897
|
+
switch (m.key) {
|
|
898
898
|
case "undo":
|
|
899
899
|
bt();
|
|
900
900
|
break;
|
|
@@ -902,59 +902,59 @@ function El(e) {
|
|
|
902
902
|
ot();
|
|
903
903
|
break;
|
|
904
904
|
case "export":
|
|
905
|
-
|
|
906
|
-
const
|
|
907
|
-
Jt(
|
|
905
|
+
n.getJSON().then((C) => {
|
|
906
|
+
const v = JSON.stringify(C);
|
|
907
|
+
Jt(v, "大屏看板.json");
|
|
908
908
|
});
|
|
909
909
|
break;
|
|
910
910
|
case "import":
|
|
911
|
-
Ai().then((
|
|
912
|
-
if (!
|
|
911
|
+
Ai().then((C) => {
|
|
912
|
+
if (!C)
|
|
913
913
|
return E.warn("文件内容不能为空");
|
|
914
914
|
try {
|
|
915
|
-
const
|
|
916
|
-
|
|
915
|
+
const v = JSON.parse(C);
|
|
916
|
+
n.loadJSON(v);
|
|
917
917
|
} catch {
|
|
918
918
|
E.error("请上传json格式文件");
|
|
919
919
|
}
|
|
920
920
|
});
|
|
921
921
|
break;
|
|
922
922
|
case "preview":
|
|
923
|
-
|
|
923
|
+
h();
|
|
924
924
|
break;
|
|
925
925
|
case "save":
|
|
926
926
|
vt();
|
|
927
927
|
break;
|
|
928
928
|
case "clear":
|
|
929
|
-
|
|
929
|
+
n.clear();
|
|
930
930
|
break;
|
|
931
931
|
case "settings":
|
|
932
932
|
break;
|
|
933
933
|
case "language":
|
|
934
|
-
const
|
|
935
|
-
ai(
|
|
934
|
+
const y = o ? "en" : "zh";
|
|
935
|
+
ai(y), n.config.setConfig({ language: y });
|
|
936
936
|
break;
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
|
-
const
|
|
939
|
+
const _ = /* @__PURE__ */ g("div", { className: Ie.header_flex, children: [
|
|
940
940
|
/* @__PURE__ */ l("b", { children: "BigScreen" }),
|
|
941
|
-
!wl && /* @__PURE__ */ l(On, { style: { cursor: "pointer", fontSize: 16 }, onClick:
|
|
941
|
+
!wl && /* @__PURE__ */ l(On, { style: { cursor: "pointer", fontSize: 16 }, onClick: r })
|
|
942
942
|
] });
|
|
943
943
|
return /* @__PURE__ */ g("div", { className: Ie.header, children: [
|
|
944
|
-
|
|
944
|
+
t ? /* @__PURE__ */ l(t, {}) : _,
|
|
945
945
|
/* @__PURE__ */ l(vl, {}),
|
|
946
946
|
/* @__PURE__ */ g("div", { className: Ie.header_flex, children: [
|
|
947
947
|
/* @__PURE__ */ l(Sl, {}),
|
|
948
948
|
/* @__PURE__ */ l(Nl, {}),
|
|
949
|
-
/* @__PURE__ */ l("div", { className: Ie.header_flex_btnContainer, id: "rbs-tool-bar", children:
|
|
949
|
+
/* @__PURE__ */ l("div", { className: Ie.header_flex_btnContainer, id: "rbs-tool-bar", children: s.map((m) => /* @__PURE__ */ l(
|
|
950
950
|
rn,
|
|
951
951
|
{
|
|
952
|
-
disabled:
|
|
953
|
-
title:
|
|
954
|
-
onClick: () =>
|
|
955
|
-
children:
|
|
952
|
+
disabled: m == null ? void 0 : m.disabled,
|
|
953
|
+
title: m.description,
|
|
954
|
+
onClick: () => u(m),
|
|
955
|
+
children: m == null ? void 0 : m.icon
|
|
956
956
|
},
|
|
957
|
-
|
|
957
|
+
m.key
|
|
958
958
|
)) }),
|
|
959
959
|
/* @__PURE__ */ l(
|
|
960
960
|
K,
|
|
@@ -963,7 +963,7 @@ function El(e) {
|
|
|
963
963
|
size: "small",
|
|
964
964
|
style: { fontSize: 12 },
|
|
965
965
|
id: "rbs-preview",
|
|
966
|
-
onClick:
|
|
966
|
+
onClick: h,
|
|
967
967
|
children: "开始预览"
|
|
968
968
|
}
|
|
969
969
|
)
|
|
@@ -1323,10 +1323,10 @@ const tc = "_renderContextMenu_vitq8_59", nc = {
|
|
|
1323
1323
|
function uc(e) {
|
|
1324
1324
|
const { engine: t } = N(), { children: n, items: i, onSelect: c, ...a } = e, [d, o] = S(!1), [s, r] = S(sc);
|
|
1325
1325
|
function h(_) {
|
|
1326
|
-
var y, C,
|
|
1326
|
+
var y, C, v;
|
|
1327
1327
|
if ((y = e == null ? void 0 : e.onMouseEnter) == null || y.call(e, _), !(i != null && i.length))
|
|
1328
1328
|
return;
|
|
1329
|
-
const m = (
|
|
1329
|
+
const m = (v = (C = _.target) == null ? void 0 : C.getBoundingClientRect) == null ? void 0 : v.call(C);
|
|
1330
1330
|
m && (r({ top: m.top, left: m.left + m.width }), o(!0));
|
|
1331
1331
|
}
|
|
1332
1332
|
function u(_) {
|
|
@@ -1907,11 +1907,11 @@ function $c(e) {
|
|
|
1907
1907
|
async function d(s) {
|
|
1908
1908
|
var C;
|
|
1909
1909
|
const r = new Blob([s], { type: s.type }), u = await new ft().loadAsync(r), _ = (u == null ? void 0 : u.files) || {}, m = [], y = [];
|
|
1910
|
-
for (const
|
|
1911
|
-
if (!((C =
|
|
1910
|
+
for (const v in _) {
|
|
1911
|
+
if (!((C = v == null ? void 0 : v.endsWith) != null && C.call(v, ".js")))
|
|
1912
1912
|
continue;
|
|
1913
|
-
const f = await _[
|
|
1914
|
-
|
|
1913
|
+
const f = await _[v].async("text"), b = await ze(f);
|
|
1914
|
+
b && (b.origin = "local", m.push(b), y.push(f));
|
|
1915
1915
|
}
|
|
1916
1916
|
return {
|
|
1917
1917
|
pkgs: m,
|
|
@@ -2295,30 +2295,30 @@ const ia = "_pages_1ty8r_59", la = "_pages_head_1ty8r_67", ca = "_pages_body_1ty
|
|
|
2295
2295
|
});
|
|
2296
2296
|
function oa() {
|
|
2297
2297
|
const { engine: e } = N(), [t, n] = S([]), [i, c] = S([]), [a, d, o] = oi([]), s = wi(), r = Ei(), h = aa({
|
|
2298
|
-
onOk({ page:
|
|
2299
|
-
if (e.page.insert(
|
|
2298
|
+
onOk({ page: v, parentId: I }) {
|
|
2299
|
+
if (e.page.insert(v, I), Re(v.id), I) {
|
|
2300
2300
|
const f = Array.from(new Set(t).add(I));
|
|
2301
2301
|
u(f);
|
|
2302
2302
|
}
|
|
2303
2303
|
}
|
|
2304
2304
|
});
|
|
2305
|
-
function u(
|
|
2306
|
-
n(
|
|
2305
|
+
function u(v) {
|
|
2306
|
+
n(v), e.config.setConfigSilently({ expandedPageIds: v });
|
|
2307
2307
|
}
|
|
2308
|
-
function _(
|
|
2308
|
+
function _(v) {
|
|
2309
2309
|
var I;
|
|
2310
|
-
return ((I =
|
|
2310
|
+
return ((I = v == null ? void 0 : v.reduce) == null ? void 0 : I.call(v, (f, b) => f.concat([b.key, ..._(b == null ? void 0 : b.children)]), [])) || [];
|
|
2311
2311
|
}
|
|
2312
|
-
function m(
|
|
2312
|
+
function m(v) {
|
|
2313
2313
|
h.open({
|
|
2314
|
-
parentId:
|
|
2315
|
-
parentName:
|
|
2314
|
+
parentId: v.id,
|
|
2315
|
+
parentName: v.name
|
|
2316
2316
|
});
|
|
2317
2317
|
}
|
|
2318
|
-
function y(
|
|
2319
|
-
var
|
|
2320
|
-
const f = [
|
|
2321
|
-
if (((
|
|
2318
|
+
function y(v, I = {}) {
|
|
2319
|
+
var b, x, L, j, R, q, V;
|
|
2320
|
+
const f = [v.id, ..._(I[v.id].children)];
|
|
2321
|
+
if (((b = o.current) == null ? void 0 : b.length) === 1 && (f != null && f.includes((L = (x = o.current) == null ? void 0 : x[0]) == null ? void 0 : L.key))) {
|
|
2322
2322
|
E.warn("至少保留一个顶层页");
|
|
2323
2323
|
return;
|
|
2324
2324
|
}
|
|
@@ -2328,23 +2328,23 @@ function oa() {
|
|
|
2328
2328
|
}
|
|
2329
2329
|
e.page.delete(f);
|
|
2330
2330
|
}
|
|
2331
|
-
function C(
|
|
2331
|
+
function C(v, I = {}) {
|
|
2332
2332
|
const f = [];
|
|
2333
|
-
return
|
|
2333
|
+
return v.forEach((b) => {
|
|
2334
2334
|
var j, R, q;
|
|
2335
|
-
const x = I[
|
|
2336
|
-
key: (x == null ? void 0 : x.key) ||
|
|
2335
|
+
const x = I[b.id], L = I[b.id] = {
|
|
2336
|
+
key: (x == null ? void 0 : x.key) || b.id,
|
|
2337
2337
|
title: (x == null ? void 0 : x.title) || /* @__PURE__ */ g("span", { children: [
|
|
2338
|
-
/* @__PURE__ */ l("span", { children:
|
|
2338
|
+
/* @__PURE__ */ l("span", { children: b.name }),
|
|
2339
2339
|
/* @__PURE__ */ g("span", { style: { fontSize: 12 }, onClick: (V) => V.stopPropagation(), children: [
|
|
2340
|
-
/* @__PURE__ */ l("a", { style: { marginLeft: 16 }, onClick: () => m(
|
|
2341
|
-
/* @__PURE__ */ l("a", { style: { marginLeft: 8 }, onClick: () => y(
|
|
2340
|
+
/* @__PURE__ */ l("a", { style: { marginLeft: 16 }, onClick: () => m(b), children: "新增" }),
|
|
2341
|
+
/* @__PURE__ */ l("a", { style: { marginLeft: 8 }, onClick: () => y(b, I), children: "删除" })
|
|
2342
2342
|
] })
|
|
2343
2343
|
] }),
|
|
2344
2344
|
children: (x == null ? void 0 : x.children) || []
|
|
2345
2345
|
};
|
|
2346
|
-
if (
|
|
2347
|
-
(q = (R = I[j =
|
|
2346
|
+
if (b != null && b.parentId) {
|
|
2347
|
+
(q = (R = I[j = b == null ? void 0 : b.parentId] || (I[j] = {
|
|
2348
2348
|
key: "",
|
|
2349
2349
|
title: "",
|
|
2350
2350
|
children: []
|
|
@@ -2387,8 +2387,8 @@ function oa() {
|
|
|
2387
2387
|
selectedKeys: i,
|
|
2388
2388
|
expandedKeys: t,
|
|
2389
2389
|
onExpand: u,
|
|
2390
|
-
onSelect: (
|
|
2391
|
-
|
|
2390
|
+
onSelect: (v) => {
|
|
2391
|
+
v.length && Re(v == null ? void 0 : v[0]);
|
|
2392
2392
|
}
|
|
2393
2393
|
}
|
|
2394
2394
|
) })
|
|
@@ -3071,21 +3071,21 @@ function ao(e) {
|
|
|
3071
3071
|
un(e, {
|
|
3072
3072
|
accept: ["create-favorite"],
|
|
3073
3073
|
onDrop: (n, i) => {
|
|
3074
|
-
var
|
|
3074
|
+
var v, I;
|
|
3075
3075
|
const c = e.current;
|
|
3076
3076
|
if (!c)
|
|
3077
3077
|
throw new Error("dom must be exist.");
|
|
3078
|
-
const a = c.getBoundingClientRect(), d = (
|
|
3078
|
+
const a = c.getBoundingClientRect(), d = (v = i.data) == null ? void 0 : v.favorite;
|
|
3079
3079
|
(I = d.children) != null && I.length || E.warn("收藏元素为空");
|
|
3080
3080
|
const o = Math.round(n.x - a.x), s = Math.round(n.y - a.y), r = d.children[0], { x: h, y: u } = d.children.reduce(
|
|
3081
|
-
(f,
|
|
3081
|
+
(f, b) => (f.x = Math.min(f.x, b.x), f.y = Math.min(f.y, b.y), f),
|
|
3082
3082
|
{
|
|
3083
3083
|
x: r.x,
|
|
3084
3084
|
y: r.y
|
|
3085
3085
|
}
|
|
3086
3086
|
), _ = t.config.getCurrentPage(), m = [], y = t.config.getConfig().scale, C = t.componentNode.cloneComponentNodes(d.children, {
|
|
3087
|
-
onClone(f,
|
|
3088
|
-
|
|
3087
|
+
onClone(f, b) {
|
|
3088
|
+
b.x = Math.round((o + (b.x - h)) / y), b.y = Math.round((s + (b.y - u)) / y), b.pageId = _, m.push(b.id);
|
|
3089
3089
|
}
|
|
3090
3090
|
});
|
|
3091
3091
|
t.componentNode.add(C), setTimeout(() => {
|
|
@@ -3707,7 +3707,7 @@ const Xo = {
|
|
|
3707
3707
|
json: {}
|
|
3708
3708
|
};
|
|
3709
3709
|
function Yo(e) {
|
|
3710
|
-
var r, h, u, _, m, y, C,
|
|
3710
|
+
var r, h, u, _, m, y, C, v, I, f, b;
|
|
3711
3711
|
const { onChange: t } = e, n = ((r = e == null ? void 0 : e.value) == null ? void 0 : r.type) || "default", i = ((h = e == null ? void 0 : e.value) == null ? void 0 : h.type) === "json", [c, a] = S(), [d, o] = S();
|
|
3712
3712
|
function s() {
|
|
3713
3713
|
var x;
|
|
@@ -3771,7 +3771,7 @@ function Yo(e) {
|
|
|
3771
3771
|
((y = e == null ? void 0 : e.value) == null ? void 0 : y.type) && ((C = e == null ? void 0 : e.value) == null ? void 0 : C.type) !== "default" && /* @__PURE__ */ g(D, { direction: "vertical", size: 4, style: { width: "100%" }, children: [
|
|
3772
3772
|
/* @__PURE__ */ l(z, { label: "参数值", labelSpan: 3, children: i && /* @__PURE__ */ l(T, { title: "更新", children: /* @__PURE__ */ l(Q, { onClick: s, className: "icon_clickable" }) }) }),
|
|
3773
3773
|
/* @__PURE__ */ g(W, { children: [
|
|
3774
|
-
((
|
|
3774
|
+
((v = e == null ? void 0 : e.value) == null ? void 0 : v.type) === "number" && /* @__PURE__ */ l(
|
|
3775
3775
|
_t,
|
|
3776
3776
|
{
|
|
3777
3777
|
min: void 0,
|
|
@@ -3789,7 +3789,7 @@ function Yo(e) {
|
|
|
3789
3789
|
bi,
|
|
3790
3790
|
{
|
|
3791
3791
|
style: { width: Ne * 2 },
|
|
3792
|
-
value: (
|
|
3792
|
+
value: (b = e == null ? void 0 : e.value) == null ? void 0 : b.value,
|
|
3793
3793
|
autoSize: { minRows: 3, maxRows: 3 },
|
|
3794
3794
|
onChange: (x) => {
|
|
3795
3795
|
t({
|
|
@@ -3879,8 +3879,8 @@ function rd(e) {
|
|
|
3879
3879
|
var y;
|
|
3880
3880
|
const m = (y = d == null ? void 0 : d.toLowerCase) == null ? void 0 : y.call(d);
|
|
3881
3881
|
return c.filter((C) => {
|
|
3882
|
-
var
|
|
3883
|
-
return (
|
|
3882
|
+
var v, I, f, b;
|
|
3883
|
+
return (b = (f = (I = (v = C == null ? void 0 : C.name) == null ? void 0 : v.toLowerCase) == null ? void 0 : I.call(v)) == null ? void 0 : f.includes) == null ? void 0 : b.call(f, m);
|
|
3884
3884
|
});
|
|
3885
3885
|
}, [d, c]);
|
|
3886
3886
|
function h() {
|
|
@@ -3984,8 +3984,8 @@ function sd(e) {
|
|
|
3984
3984
|
let s;
|
|
3985
3985
|
const r = ((m = (_ = e == null ? void 0 : e.targets) == null ? void 0 : _.filter) == null ? void 0 : m.call(_, (C) => C.id === o ? (s = C, !1) : !0)) || [], h = ((y = s == null ? void 0 : s.opts) == null ? void 0 : y.length) || 0;
|
|
3986
3986
|
function u() {
|
|
3987
|
-
var C,
|
|
3988
|
-
(C = e == null ? void 0 : e.onChangeTargets) == null || C.call(e, r, "delete"), o === (e == null ? void 0 : e.value) && ((I = e == null ? void 0 : e.onChange) == null || I.call(e, (
|
|
3987
|
+
var C, v, I;
|
|
3988
|
+
(C = e == null ? void 0 : e.onChangeTargets) == null || C.call(e, r, "delete"), o === (e == null ? void 0 : e.value) && ((I = e == null ? void 0 : e.onChange) == null || I.call(e, (v = r == null ? void 0 : r[0]) == null ? void 0 : v.id));
|
|
3989
3989
|
}
|
|
3990
3990
|
if (h) {
|
|
3991
3991
|
t({
|
|
@@ -4062,8 +4062,8 @@ function Cd(e) {
|
|
|
4062
4062
|
var m;
|
|
4063
4063
|
const _ = (m = d == null ? void 0 : d.toLowerCase) == null ? void 0 : m.call(d);
|
|
4064
4064
|
return c.filter((y) => {
|
|
4065
|
-
var C,
|
|
4066
|
-
return (f = (I = (
|
|
4065
|
+
var C, v, I, f;
|
|
4066
|
+
return (f = (I = (v = (C = y == null ? void 0 : y.label) == null ? void 0 : C.toLowerCase) == null ? void 0 : v.call(C)) == null ? void 0 : I.includes) == null ? void 0 : f.call(I, _);
|
|
4067
4067
|
});
|
|
4068
4068
|
}, [d, c]);
|
|
4069
4069
|
function h() {
|
|
@@ -4077,7 +4077,7 @@ function Cd(e) {
|
|
|
4077
4077
|
if (e != null && e.cId) {
|
|
4078
4078
|
const y = t.component.get(e == null ? void 0 : e.cId);
|
|
4079
4079
|
m = (_ = (y == null ? void 0 : y.exposes) || []) == null ? void 0 : _.reduce(
|
|
4080
|
-
(C,
|
|
4080
|
+
(C, v) => (C.push({ label: v.label, value: v.value }), C),
|
|
4081
4081
|
[...di]
|
|
4082
4082
|
);
|
|
4083
4083
|
}
|
|
@@ -4204,28 +4204,28 @@ const Id = ue((e) => {
|
|
|
4204
4204
|
}, [o]);
|
|
4205
4205
|
function _(f) {
|
|
4206
4206
|
var x, L, j;
|
|
4207
|
-
const
|
|
4208
|
-
s(
|
|
4207
|
+
const b = (L = (x = a == null ? void 0 : a.targets) == null ? void 0 : x.find) == null ? void 0 : L.call(x, (R) => R.id === f);
|
|
4208
|
+
s(b), h((j = b == null ? void 0 : b.opts) == null ? void 0 : j[0]);
|
|
4209
4209
|
}
|
|
4210
4210
|
function m(f) {
|
|
4211
|
-
var
|
|
4211
|
+
var b, x;
|
|
4212
4212
|
h(
|
|
4213
|
-
(x = (
|
|
4213
|
+
(x = (b = o == null ? void 0 : o.opts) == null ? void 0 : b.find) == null ? void 0 : x.call(b, (L) => (L == null ? void 0 : L.operateId) === f)
|
|
4214
4214
|
);
|
|
4215
4215
|
}
|
|
4216
|
-
function y(f,
|
|
4216
|
+
function y(f, b) {
|
|
4217
4217
|
d({
|
|
4218
4218
|
...a,
|
|
4219
4219
|
targets: f
|
|
4220
|
-
}),
|
|
4220
|
+
}), b && f.length === 1 && s(f[f.length - 1]);
|
|
4221
4221
|
}
|
|
4222
4222
|
function C(f) {
|
|
4223
|
-
var
|
|
4224
|
-
(x = (
|
|
4223
|
+
var b, x;
|
|
4224
|
+
(x = (b = a == null ? void 0 : a.targets) == null ? void 0 : b.find) == null || x.call(b, (L) => L.id !== (o == null ? void 0 : o.id) ? !1 : (L.opts = f, !0)), d({ ...a }), f.length === 1 && h(f == null ? void 0 : f[0]);
|
|
4225
4225
|
}
|
|
4226
|
-
function
|
|
4227
|
-
var
|
|
4228
|
-
(x = (
|
|
4226
|
+
function v(f) {
|
|
4227
|
+
var b, x;
|
|
4228
|
+
(x = (b = a == null ? void 0 : a.targets) == null ? void 0 : b.find) == null || x.call(b, (L) => {
|
|
4229
4229
|
var j, R;
|
|
4230
4230
|
return L.id !== (o == null ? void 0 : o.id) ? !1 : ((R = (j = L.opts) == null ? void 0 : j.find) == null || R.call(j, (q) => (q == null ? void 0 : q.operateId) !== (f == null ? void 0 : f.operateId) ? !1 : (Object.assign(q, f), !0)), !0);
|
|
4231
4231
|
}), d({ ...a });
|
|
@@ -4235,13 +4235,13 @@ const Id = ue((e) => {
|
|
|
4235
4235
|
(f = e == null ? void 0 : e.onOk) == null || f.call(e, a);
|
|
4236
4236
|
}
|
|
4237
4237
|
return w(() => {
|
|
4238
|
-
var f,
|
|
4238
|
+
var f, b, x, L;
|
|
4239
4239
|
if (e != null && e.visible) {
|
|
4240
4240
|
if (!i) {
|
|
4241
4241
|
E.error("triggerId不存在");
|
|
4242
4242
|
return;
|
|
4243
4243
|
}
|
|
4244
|
-
let j = (
|
|
4244
|
+
let j = (b = (f = n == null ? void 0 : n.events) == null ? void 0 : f.find) == null ? void 0 : b.call(f, (V) => (V == null ? void 0 : V.triggerId) === i);
|
|
4245
4245
|
j = Yt(j || {}), d(j);
|
|
4246
4246
|
const R = (x = j == null ? void 0 : j.targets) == null ? void 0 : x[0];
|
|
4247
4247
|
s(R);
|
|
@@ -4274,8 +4274,8 @@ const Id = ue((e) => {
|
|
|
4274
4274
|
_(f);
|
|
4275
4275
|
},
|
|
4276
4276
|
targets: a == null ? void 0 : a.targets,
|
|
4277
|
-
onChangeTargets: (f,
|
|
4278
|
-
y(f,
|
|
4277
|
+
onChangeTargets: (f, b) => {
|
|
4278
|
+
y(f, b === "add");
|
|
4279
4279
|
}
|
|
4280
4280
|
}
|
|
4281
4281
|
),
|
|
@@ -4299,7 +4299,7 @@ const Id = ue((e) => {
|
|
|
4299
4299
|
{
|
|
4300
4300
|
value: r,
|
|
4301
4301
|
onChange: (f) => {
|
|
4302
|
-
|
|
4302
|
+
v(f);
|
|
4303
4303
|
}
|
|
4304
4304
|
}
|
|
4305
4305
|
) })
|
|
@@ -4322,7 +4322,7 @@ function kd(e) {
|
|
|
4322
4322
|
var u;
|
|
4323
4323
|
return ((u = n == null ? void 0 : n.events) == null ? void 0 : u.map((_) => {
|
|
4324
4324
|
var y, C;
|
|
4325
|
-
const m = (C = (y = i == null ? void 0 : i.triggers) == null ? void 0 : y.find) == null ? void 0 : C.call(y, (
|
|
4325
|
+
const m = (C = (y = i == null ? void 0 : i.triggers) == null ? void 0 : y.find) == null ? void 0 : C.call(y, (v) => (v == null ? void 0 : v.value) === _.triggerId);
|
|
4326
4326
|
return {
|
|
4327
4327
|
label: `${(m == null ? void 0 : m.label) || "-"}`,
|
|
4328
4328
|
value: `${_.triggerId}`
|
|
@@ -4351,7 +4351,7 @@ function kd(e) {
|
|
|
4351
4351
|
});
|
|
4352
4352
|
}
|
|
4353
4353
|
function r(u) {
|
|
4354
|
-
var m, y, C,
|
|
4354
|
+
var m, y, C, v;
|
|
4355
4355
|
if (!u) {
|
|
4356
4356
|
E.warn("triggerId不存在");
|
|
4357
4357
|
return;
|
|
@@ -4359,7 +4359,7 @@ function kd(e) {
|
|
|
4359
4359
|
const _ = (y = (m = n == null ? void 0 : n.events) == null ? void 0 : m.find) == null ? void 0 : y.call(m, (I) => (I == null ? void 0 : I.triggerId) === u);
|
|
4360
4360
|
(C = _ == null ? void 0 : _.targets) != null && C.length ? c({
|
|
4361
4361
|
title: "提醒",
|
|
4362
|
-
content: `已配置${((
|
|
4362
|
+
content: `已配置${((v = _ == null ? void 0 : _.targets) == null ? void 0 : v.length) || 0}个事件项,确定删除该事件?`,
|
|
4363
4363
|
onOk(I) {
|
|
4364
4364
|
s(u), I();
|
|
4365
4365
|
}
|
|
@@ -4692,11 +4692,11 @@ function Fd() {
|
|
|
4692
4692
|
) });
|
|
4693
4693
|
}
|
|
4694
4694
|
function Cr(e) {
|
|
4695
|
-
const { engine: t, json: n } = e;
|
|
4695
|
+
const { engine: t, json: n, pageFooter: i } = e;
|
|
4696
4696
|
return pi(), zt.useEffect(() => {
|
|
4697
4697
|
t.loadJSON(n).then(() => {
|
|
4698
|
-
var
|
|
4699
|
-
(
|
|
4698
|
+
var c;
|
|
4699
|
+
(c = e == null ? void 0 : e.onJSONLoad) == null || c.call(e);
|
|
4700
4700
|
});
|
|
4701
4701
|
}, []), /* @__PURE__ */ g("div", { className: te.page, children: [
|
|
4702
4702
|
/* @__PURE__ */ l("div", { className: te.page_header, children: /* @__PURE__ */ l(El, { pageLogo: e == null ? void 0 : e.pageLogo }) }),
|
|
@@ -4705,7 +4705,7 @@ function Cr(e) {
|
|
|
4705
4705
|
/* @__PURE__ */ l("div", { className: te.page_body_main, id: "rbs-editor", children: /* @__PURE__ */ l(oo, {}) }),
|
|
4706
4706
|
/* @__PURE__ */ l("div", { className: te.page_body_right, id: "rbs-attributes", children: /* @__PURE__ */ l(Fd, {}) })
|
|
4707
4707
|
] }),
|
|
4708
|
-
|
|
4708
|
+
i ? /* @__PURE__ */ l(i, {}) : /* @__PURE__ */ l(W, {})
|
|
4709
4709
|
] });
|
|
4710
4710
|
}
|
|
4711
4711
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as c } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { R as u } from "./index-
|
|
3
|
-
import { n as f } from "./index-
|
|
2
|
+
import { R as u } from "./index-Clk_czMj.mjs";
|
|
3
|
+
import { n as f } from "./index-ClIbiw0p.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
5
|
import { useMemo as g } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
7
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
8
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
10
|
-
import { DEFAULT_OPTIONS as l } from "./attributes-
|
|
10
|
+
import { DEFAULT_OPTIONS as l } from "./attributes-DWlxiiYG.mjs";
|
|
11
11
|
function p(m = "name", a, n) {
|
|
12
12
|
return !(a != null && a.length) || !(n != null && n.length) ? {
|
|
13
13
|
source: []
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
2
|
import { Image as i } 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
|
-
import { n as p } from "./index-
|
|
3
|
+
import { n as p } from "./index-ClIbiw0p.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
5
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
7
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
8
8
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
9
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
|
|
10
|
-
import { DEFAULT_OPTIONS as n } from "./attributes-
|
|
10
|
+
import { DEFAULT_OPTIONS as n } from "./attributes-CLKtng9Z.mjs";
|
|
11
11
|
const g = p((e) => {
|
|
12
12
|
const { options: r, width: t, height: m } = e;
|
|
13
13
|
return /* @__PURE__ */ o(
|
|
@@ -3,7 +3,7 @@ import { useState as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modul
|
|
|
3
3
|
import { Select 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";
|
|
4
4
|
import { useDebounceEffect as X, useUpdateEffect as V } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/ahooks@3.9.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/ahooks/es/index.js";
|
|
5
5
|
import { u as Y } from "./useEffectOnce-Ct0JMBZd.mjs";
|
|
6
|
-
import { i as Z } from "./index-
|
|
6
|
+
import { i as Z } from "./index-ClIbiw0p.mjs";
|
|
7
7
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
8
8
|
const q = (e, l) => {
|
|
9
9
|
var r, f, d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as b } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { n as C } from "./index-
|
|
2
|
+
import { n as C } from "./index-ClIbiw0p.mjs";
|
|
3
3
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
5
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";
|
|
@@ -7,8 +7,8 @@ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3
|
|
|
7
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
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
|
import { useRequest as v } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/ahooks@3.9.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/ahooks/es/index.js";
|
|
10
|
-
import { R as S } from "./index-
|
|
11
|
-
import { DEFAULT_OPTIONS as g } from "./attributes-
|
|
10
|
+
import { R as S } from "./index-Clk_czMj.mjs";
|
|
11
|
+
import { DEFAULT_OPTIONS as g } from "./attributes-DpCS0mF3.mjs";
|
|
12
12
|
const n = "chinaOutline";
|
|
13
13
|
async function z() {
|
|
14
14
|
var t, c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { R as m } from "./index-
|
|
3
|
-
import { n as r } from "./index-
|
|
2
|
+
import { R as m } from "./index-Clk_czMj.mjs";
|
|
3
|
+
import { n as r } from "./index-ClIbiw0p.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
5
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { R as e } from "./index-
|
|
3
|
-
import { n as a } from "./index-
|
|
2
|
+
import { R as e } from "./index-Clk_czMj.mjs";
|
|
3
|
+
import { n as a } from "./index-ClIbiw0p.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
5
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 { R as a } from "./index-
|
|
3
|
-
import { n as i } from "./index-
|
|
2
|
+
import { R as a } from "./index-Clk_czMj.mjs";
|
|
3
|
+
import { n as i } from "./index-ClIbiw0p.mjs";
|
|
4
4
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
5
5
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
|