react-big-screen 0.0.16 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/{IInputNumber-Vk6zq2bP.mjs → IInputNumber-8TbQFEeQ.mjs} +3 -3
- package/es/{Line-DVDoMjnT.mjs → Line-h-rhOKev.mjs} +37 -37
- package/es/{attributes-CaEhpijN.mjs → attributes-5RpQLPsm.mjs} +4 -4
- package/es/{attributes-GqB4d5iv.mjs → attributes-B8s8kYoD.mjs} +1 -1
- package/es/{attributes-DpCS0mF3.mjs → attributes-BDv3jJ5O.mjs} +1 -1
- package/es/{attributes-CiSpGTC2.mjs → attributes-BIXlzE3A.mjs} +1 -1
- package/es/{attributes-UoPVReqf.mjs → attributes-CauLjFb0.mjs} +1 -1
- package/es/{attributes-CTkK-zKe.mjs → attributes-CgnjWsLu.mjs} +1 -1
- package/es/{attributes-C6-L5-Tc.mjs → attributes-CqNLwRW3.mjs} +5 -5
- package/es/{attributes-yLDINEsg.mjs → attributes-CuUxWoIW.mjs} +1 -1
- package/es/{attributes-DkJdS65t.mjs → attributes-CxnJg-FT.mjs} +1 -1
- package/es/{attributes-DWlxiiYG.mjs → attributes-DBip_IK_.mjs} +54 -55
- package/es/{attributes-CLKtng9Z.mjs → attributes-DYnxULqW.mjs} +1 -1
- package/es/{attributes-HHhF4o7Y.mjs → attributes-NVduSBUS.mjs} +2 -2
- package/es/{index-Ccbgx0jH.mjs → index-56XQx0At.mjs} +2 -2
- package/es/{index-D5vYVcTR.mjs → index-8Jjn38kS.mjs} +20 -21
- package/es/{index-CAMpiOxt.mjs → index-BAzeX1Ol.mjs} +26 -27
- package/es/{index-CbTTJ-CP.mjs → index-BFdLFt4J.mjs} +2 -2
- package/es/{index-Dk9oedlP.mjs → index-BInCuYp5.mjs} +14 -15
- package/es/{index-CV3CbGOy.mjs → index-BVjByyUe.mjs} +2 -2
- package/es/{index-0K85o51g.mjs → index-Bdqrb_sj.mjs} +3 -3
- package/es/index-BhafNo6T.mjs +16092 -0
- package/es/{index-BldlzvuU.mjs → index-Bi3lZwlI.mjs} +50 -51
- package/es/{index-D0KDJrVL.mjs → index-C49BBpRX.mjs} +2 -2
- package/es/{index-BM4ILKEc.mjs → index-CBAcYtqX.mjs} +3 -3
- package/es/{index-CUNz1tFb.mjs → index-CFdcAnNu.mjs} +3 -3
- package/es/{index-DexsopTp.mjs → index-CgI9EXqn.mjs} +2 -2
- package/es/{index-DKoTC2Xk.mjs → index-CjeVSp69.mjs} +2 -2
- package/es/{index-BCZdjBJJ.mjs → index-Cm-Rzkqs.mjs} +42 -43
- package/es/{index-iFuEY-wV.mjs → index-D07zNDg9.mjs} +8 -8
- package/es/{index-CZvhSCSC.mjs → index-DCIgeYYw.mjs} +2 -2
- package/es/{index-Clk_czMj.mjs → index-Daza1EsK.mjs} +1 -1
- package/es/{index-qrNjlWih.mjs → index-Dkl0nzkU.mjs} +4 -4
- package/es/{index-sZk6Or23.mjs → index-Dvs_cgct.mjs} +6 -6
- package/es/{index-BNC3UbKF.mjs → index-DzRsgn_u.mjs} +15 -15
- package/es/{index-thG37Ydl.mjs → index-GdH3Zwz0.mjs} +2 -2
- package/es/{index-GcMZDFMx.mjs → index-SkjPQ6Pt.mjs} +2 -2
- package/es/index-dxiyF_62.mjs +29 -0
- package/es/{index-lLnHnoQq.mjs → index-i0K7Ynj-.mjs} +2 -2
- package/es/{index-C9hmLstz.mjs → index-nSniwbAA.mjs} +5 -6
- package/es/{index-C2dVSPVz.mjs → index-umVDADGS.mjs} +3 -3
- package/es/index.mjs +4 -4
- package/es/{selectPage-BYoFtkBW.mjs → selectPage-ChSsIBe9.mjs} +1 -1
- package/es/{useCurrentPageId-BKvMaKLl.mjs → useCurrentPageId-BlVc4whf.mjs} +1 -1
- package/package.json +1 -1
- package/es/index-ClIbiw0p.mjs +0 -4441
- package/es/index-Cq0uVP0H.mjs +0 -29
|
@@ -4,24 +4,23 @@ var ee = (e, t, n) => bn(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
4
4
|
import { jsx as l, jsxs as g, Fragment as W } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
5
5
|
import zt, { useRef as B, useEffect as w, useMemo as A, useState as S, forwardRef as Cn, useImperativeHandle as xn, Suspense as Tt, createContext as In, useContext as kn } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
|
|
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
|
-
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
7
|
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
|
|
8
|
+
import { R as k, u as N, E as Zn, a as Qn, b as pn, c as E, d as st, T, I as le, P as ut, S as ei, C as D, D as be, B as K, s as ti, L as ni, e as ii, f as qt, g as li, h as Ct, i as ht, F as M, M as re, j as nt, l as je, k as xt, m as ze, n as ci, o as ai, p as It, q as it, r as H, t as we, v as Jt, w as Te, x as oi, y as di, z as ri, A as kt } from "./index-BhafNo6T.mjs";
|
|
10
9
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
|
|
11
10
|
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
11
|
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
12
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
|
|
14
13
|
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-
|
|
14
|
+
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-Cm-Rzkqs.mjs";
|
|
16
15
|
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
|
-
import { I as p, L as Le, a as z, C as vi, b as $e } from "./Line-
|
|
18
|
-
import { I as _t, a as bi } from "./IInputNumber-
|
|
16
|
+
import { I as p, L as Le, a as z, C as vi, b as $e } from "./Line-h-rhOKev.mjs";
|
|
17
|
+
import { I as _t, a as bi } from "./IInputNumber-8TbQFEeQ.mjs";
|
|
19
18
|
import { useTranslation as se } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-i18next@15.7.4_i18next@24.2.3_typescript@5.9.3__react-dom@18.3.1_react@18.3.1__react@18.3.1_typescript@5.9.3/node_modules/react-i18next/dist/es/index.js";
|
|
20
19
|
import lt from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/hotkeys-js@3.13.15/node_modules/hotkeys-js/dist/hotkeys.esm.js";
|
|
21
20
|
import Ci from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|
|
22
21
|
import { cloneDeep as Yt, debounce as xi, groupBy as Ii, throttle as Zt } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js";
|
|
23
22
|
import { useUpdateEffect as mt, useUnmount as Qt, useRequest as pt } 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";
|
|
24
|
-
import { I as U, i as ki, a as Si } from "./index-
|
|
23
|
+
import { I as U, i as ki, a as Si } from "./index-dxiyF_62.mjs";
|
|
25
24
|
import * as Ni from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/editor.api.js";
|
|
26
25
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/language/json/monaco.contribution.js";
|
|
27
26
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.js";
|
|
@@ -30,10 +29,10 @@ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@
|
|
|
30
29
|
import ft from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js";
|
|
31
30
|
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
31
|
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-
|
|
32
|
+
import { u as wi, s as Re } from "./selectPage-ChSsIBe9.mjs";
|
|
33
|
+
import { u as Ei } from "./useCurrentPageId-BlVc4whf.mjs";
|
|
35
34
|
import { u as nn } from "./useListenRef-Dqm6KZRj.mjs";
|
|
36
|
-
import { I as Ce } from "./index-
|
|
35
|
+
import { I as Ce } from "./index-BAzeX1Ol.mjs";
|
|
37
36
|
async function ln(e) {
|
|
38
37
|
return new Promise((t) => {
|
|
39
38
|
let n = document.createElement("input");
|
|
@@ -88,8 +87,8 @@ function Di(e, t) {
|
|
|
88
87
|
document.body.appendChild(d);
|
|
89
88
|
let o = Wt(d);
|
|
90
89
|
return o.render(
|
|
91
|
-
/* @__PURE__ */ l(
|
|
92
|
-
|
|
90
|
+
/* @__PURE__ */ l(Zn.Provider, { value: { engine: a }, children: /* @__PURE__ */ l(
|
|
91
|
+
Qn,
|
|
93
92
|
{
|
|
94
93
|
ref: i,
|
|
95
94
|
component: e,
|
|
@@ -123,7 +122,7 @@ function ue(e) {
|
|
|
123
122
|
};
|
|
124
123
|
}
|
|
125
124
|
function Oi() {
|
|
126
|
-
const e =
|
|
125
|
+
const e = pn((t) => t.componentMap);
|
|
127
126
|
return A(() => e ? Object.values(e) : [], [e]);
|
|
128
127
|
}
|
|
129
128
|
function yt() {
|
|
@@ -345,7 +344,7 @@ function Yi() {
|
|
|
345
344
|
E.warn("收藏组件不能为空");
|
|
346
345
|
return;
|
|
347
346
|
}
|
|
348
|
-
const n =
|
|
347
|
+
const n = st(), i = e.favorites.getAll().length;
|
|
349
348
|
e.favorites.add({
|
|
350
349
|
id: n,
|
|
351
350
|
name: `收藏${i + 1}`,
|
|
@@ -543,11 +542,11 @@ function yl(e) {
|
|
|
543
542
|
h !== o && ((u = e == null ? void 0 : e.onChange) == null || u.call(e, h));
|
|
544
543
|
}
|
|
545
544
|
return /* @__PURE__ */ l(
|
|
546
|
-
|
|
545
|
+
ut,
|
|
547
546
|
{
|
|
548
547
|
content: /* @__PURE__ */ g("div", { style: { display: "flex", alignItems: "center", gap: 16 }, children: [
|
|
549
548
|
/* @__PURE__ */ l(
|
|
550
|
-
|
|
549
|
+
ei,
|
|
551
550
|
{
|
|
552
551
|
style: { width: 250 },
|
|
553
552
|
min: c,
|
|
@@ -813,7 +812,7 @@ const Il = (e, t, n) => {
|
|
|
813
812
|
};
|
|
814
813
|
async function kl(e) {
|
|
815
814
|
var i;
|
|
816
|
-
const t = await Il(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-
|
|
815
|
+
const t = await Il(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-BhafNo6T.mjs").then((c) => c.W), "../../../../../../public/example/multiple-components-interactive.json": () => import("./index-BhafNo6T.mjs").then((c) => c.X) }), `../../../../../../public/example/${e}.json`, 9), n = k.getActiveEngine();
|
|
817
816
|
(i = n == null ? void 0 : n.loadJSON) == null || i.call(n, t);
|
|
818
817
|
}
|
|
819
818
|
function Sl() {
|
|
@@ -844,7 +843,7 @@ function Nl() {
|
|
|
844
843
|
style: { fontSize: 12 },
|
|
845
844
|
id: "rbs-starter-help",
|
|
846
845
|
onClick: () => {
|
|
847
|
-
|
|
846
|
+
ti(!0);
|
|
848
847
|
},
|
|
849
848
|
children: "新手教程"
|
|
850
849
|
}
|
|
@@ -852,7 +851,7 @@ function Nl() {
|
|
|
852
851
|
}
|
|
853
852
|
const wl = xl();
|
|
854
853
|
function El(e) {
|
|
855
|
-
const { pageLogo: t } = e, { engine: n, rbsEngine: i } = N(), [c, a] = se(), d = an(), o = a.language ===
|
|
854
|
+
const { pageLogo: t } = e, { engine: n, rbsEngine: i } = N(), [c, a] = se(), d = an(), o = a.language === ni.zh, s = A(() => [
|
|
856
855
|
{
|
|
857
856
|
key: "shortCutKeys",
|
|
858
857
|
description: /* @__PURE__ */ l(bl, {}),
|
|
@@ -904,7 +903,7 @@ function El(e) {
|
|
|
904
903
|
case "export":
|
|
905
904
|
n.getJSON().then((C) => {
|
|
906
905
|
const v = JSON.stringify(C);
|
|
907
|
-
|
|
906
|
+
qt(v, "大屏看板.json");
|
|
908
907
|
});
|
|
909
908
|
break;
|
|
910
909
|
case "import":
|
|
@@ -932,7 +931,7 @@ function El(e) {
|
|
|
932
931
|
break;
|
|
933
932
|
case "language":
|
|
934
933
|
const y = o ? "en" : "zh";
|
|
935
|
-
|
|
934
|
+
ii(y), n.config.setConfig({ language: y });
|
|
936
935
|
break;
|
|
937
936
|
}
|
|
938
937
|
}
|
|
@@ -1209,7 +1208,7 @@ function ql() {
|
|
|
1209
1208
|
}, [o, r]);
|
|
1210
1209
|
return /* @__PURE__ */ g("div", { className: Ke.library, children: [
|
|
1211
1210
|
/* @__PURE__ */ l("div", { className: Ke.library_header, children: /* @__PURE__ */ l(
|
|
1212
|
-
|
|
1211
|
+
li.Search,
|
|
1213
1212
|
{
|
|
1214
1213
|
allowClear: !0,
|
|
1215
1214
|
value: a,
|
|
@@ -1692,10 +1691,10 @@ function Pc(e) {
|
|
|
1692
1691
|
return;
|
|
1693
1692
|
}
|
|
1694
1693
|
const _ = `${t == null ? void 0 : t.name}.js`;
|
|
1695
|
-
|
|
1694
|
+
qt(u, _);
|
|
1696
1695
|
}
|
|
1697
1696
|
return /* @__PURE__ */ l(
|
|
1698
|
-
|
|
1697
|
+
ut,
|
|
1699
1698
|
{
|
|
1700
1699
|
placement: "rightTop",
|
|
1701
1700
|
title: /* @__PURE__ */ g("div", { className: J.propertyItemPopover_title, children: [
|
|
@@ -1844,7 +1843,7 @@ const zc = ue((e) => {
|
|
|
1844
1843
|
E.error("地址格式不正确");
|
|
1845
1844
|
return;
|
|
1846
1845
|
}
|
|
1847
|
-
c(!0), (r =
|
|
1846
|
+
c(!0), (r = nt(s == null ? void 0 : s.url)) == null || r.then((h) => {
|
|
1848
1847
|
c(!1), a.current = s == null ? void 0 : s.url, n.setFieldsValue({
|
|
1849
1848
|
content: h
|
|
1850
1849
|
});
|
|
@@ -1910,7 +1909,7 @@ function $c(e) {
|
|
|
1910
1909
|
for (const v in _) {
|
|
1911
1910
|
if (!((C = v == null ? void 0 : v.endsWith) != null && C.call(v, ".js")))
|
|
1912
1911
|
continue;
|
|
1913
|
-
const f = await _[v].async("text"), b = await
|
|
1912
|
+
const f = await _[v].async("text"), b = await je(f);
|
|
1914
1913
|
b && (b.origin = "local", m.push(b), y.push(f));
|
|
1915
1914
|
}
|
|
1916
1915
|
return {
|
|
@@ -1932,7 +1931,7 @@ function $c(e) {
|
|
|
1932
1931
|
}
|
|
1933
1932
|
if ((h == null ? void 0 : h.type) === "text/javascript") {
|
|
1934
1933
|
r = await cn(h);
|
|
1935
|
-
const u = await
|
|
1934
|
+
const u = await je(r);
|
|
1936
1935
|
if (!u)
|
|
1937
1936
|
return E.warn("文本内容必须为UMD或者AMD格式");
|
|
1938
1937
|
u.origin = "local", c(u, r);
|
|
@@ -1943,7 +1942,7 @@ function $c(e) {
|
|
|
1943
1942
|
case "remote":
|
|
1944
1943
|
i.open({
|
|
1945
1944
|
async beforeOk(u) {
|
|
1946
|
-
return n.current = u, t.current = await
|
|
1945
|
+
return n.current = u, t.current = await je(u), t.current || E.warn("文本内容必须为UMD或者AMD格式"), !!t.current;
|
|
1947
1946
|
}
|
|
1948
1947
|
});
|
|
1949
1948
|
break;
|
|
@@ -1974,13 +1973,13 @@ function Fc(e) {
|
|
|
1974
1973
|
var i;
|
|
1975
1974
|
switch (n) {
|
|
1976
1975
|
case "umd-demo":
|
|
1977
|
-
|
|
1976
|
+
xt(Ot, "测试包2.js");
|
|
1978
1977
|
break;
|
|
1979
1978
|
case "amd-demo":
|
|
1980
|
-
|
|
1979
|
+
xt(Pt, "测试包1.js");
|
|
1981
1980
|
break;
|
|
1982
1981
|
case "zip-demo":
|
|
1983
|
-
const c = await
|
|
1982
|
+
const c = await nt(Ot), a = await nt(Pt), d = new ft();
|
|
1984
1983
|
d.file("测试包1.js", a), d.file("测试包2.js", c), d.generateAsync({ type: "blob" }).then(function(o) {
|
|
1985
1984
|
en(o, "组件包集合.zip");
|
|
1986
1985
|
});
|
|
@@ -2189,14 +2188,14 @@ const Zc = ue((e) => {
|
|
|
2189
2188
|
bodyStyle: { padding: "12px 24px 24px", height: 500, overflowY: "hidden" },
|
|
2190
2189
|
children: [
|
|
2191
2190
|
/* @__PURE__ */ g(
|
|
2192
|
-
|
|
2191
|
+
ze,
|
|
2193
2192
|
{
|
|
2194
2193
|
column: 2,
|
|
2195
2194
|
labelStyle: { color: "rgba(0,0,0,0.5)", fontSize: 12 },
|
|
2196
2195
|
contentStyle: { color: "rgba(0,0,0,0.5)", fontSize: 12 },
|
|
2197
2196
|
children: [
|
|
2198
|
-
/* @__PURE__ */ l(
|
|
2199
|
-
/* @__PURE__ */ l(
|
|
2197
|
+
/* @__PURE__ */ l(ze.Item, { label: "id", children: n == null ? void 0 : n.id }),
|
|
2198
|
+
/* @__PURE__ */ l(ze.Item, { label: "创建时间", children: n == null ? void 0 : n.gmtCreate })
|
|
2200
2199
|
]
|
|
2201
2200
|
}
|
|
2202
2201
|
),
|
|
@@ -2260,7 +2259,7 @@ const ia = "_pages_1ty8r_59", la = "_pages_head_1ty8r_67", ca = "_pages_body_1ty
|
|
|
2260
2259
|
function i(a) {
|
|
2261
2260
|
return {
|
|
2262
2261
|
name: a,
|
|
2263
|
-
id:
|
|
2262
|
+
id: st(),
|
|
2264
2263
|
parentId: t == null ? void 0 : t.parentId
|
|
2265
2264
|
};
|
|
2266
2265
|
}
|
|
@@ -2294,7 +2293,7 @@ const ia = "_pages_1ty8r_59", la = "_pages_head_1ty8r_67", ca = "_pages_body_1ty
|
|
|
2294
2293
|
);
|
|
2295
2294
|
});
|
|
2296
2295
|
function oa() {
|
|
2297
|
-
const { engine: e } = N(), [t, n] = S([]), [i, c] = S([]), [a, d, o] =
|
|
2296
|
+
const { engine: e } = N(), [t, n] = S([]), [i, c] = S([]), [a, d, o] = ci([]), s = wi(), r = Ei(), h = aa({
|
|
2298
2297
|
onOk({ page: v, parentId: I }) {
|
|
2299
2298
|
if (e.page.insert(v, I), Re(v.id), I) {
|
|
2300
2299
|
const f = Array.from(new Set(t).add(I));
|
|
@@ -2377,7 +2376,7 @@ function oa() {
|
|
|
2377
2376
|
) })
|
|
2378
2377
|
] }),
|
|
2379
2378
|
/* @__PURE__ */ l("div", { className: Ge.pages_body, children: /* @__PURE__ */ l(
|
|
2380
|
-
|
|
2379
|
+
ai,
|
|
2381
2380
|
{
|
|
2382
2381
|
showIcon: !0,
|
|
2383
2382
|
multiple: !1,
|
|
@@ -2960,7 +2959,7 @@ function io(e, t) {
|
|
|
2960
2959
|
if (!a || n.componentNode.isInPanel(a, e))
|
|
2961
2960
|
return;
|
|
2962
2961
|
const d = n.componentNode.getPanelName(a) || "目标";
|
|
2963
|
-
return
|
|
2962
|
+
return It({
|
|
2964
2963
|
title: "移入提醒",
|
|
2965
2964
|
content: `确定放入面板“${d}”?`,
|
|
2966
2965
|
onOk(o) {
|
|
@@ -2974,7 +2973,7 @@ function io(e, t) {
|
|
|
2974
2973
|
const c = e.panelId;
|
|
2975
2974
|
if (c) {
|
|
2976
2975
|
const a = n.componentNode.getPanelName(c) || "目标";
|
|
2977
|
-
return
|
|
2976
|
+
return It({
|
|
2978
2977
|
title: "移出提醒",
|
|
2979
2978
|
content: `是否移出面板“${a}”?`,
|
|
2980
2979
|
onOk(d) {
|
|
@@ -3185,7 +3184,7 @@ function bo() {
|
|
|
3185
3184
|
d.hasOwnProperty("isAllPage") && (a(d.isAllPage), o = d.isAllPage ? "设置组件全页面" : "取消组件全页面"), e.componentNode.update(t == null ? void 0 : t.id, d), O(o);
|
|
3186
3185
|
},
|
|
3187
3186
|
children: [
|
|
3188
|
-
/* @__PURE__ */ l("div", { className: Y.singleInstanceAttributesBase_description, children: /* @__PURE__ */ g(
|
|
3187
|
+
/* @__PURE__ */ l("div", { className: Y.singleInstanceAttributesBase_description, children: /* @__PURE__ */ g(it, { children: [
|
|
3189
3188
|
/* @__PURE__ */ l(H, { span: 24, style: { marginBottom: 6 }, children: /* @__PURE__ */ l(
|
|
3190
3189
|
vo,
|
|
3191
3190
|
{
|
|
@@ -3213,7 +3212,7 @@ function bo() {
|
|
|
3213
3212
|
] }) }),
|
|
3214
3213
|
/* @__PURE__ */ g("div", { className: Y.singleInstanceAttributesBase_body, children: [
|
|
3215
3214
|
/* @__PURE__ */ g("div", { children: [
|
|
3216
|
-
/* @__PURE__ */ g(
|
|
3215
|
+
/* @__PURE__ */ g(it, { gutter: [8, 8], style: { fontSize: 12 }, children: [
|
|
3217
3216
|
/* @__PURE__ */ l(H, { span: 3, className: Y.singleInstanceAttributesBase_label, children: "X轴" }),
|
|
3218
3217
|
/* @__PURE__ */ l(H, { span: 9, children: /* @__PURE__ */ l(M.Item, { name: "x", noStyle: !0, children: /* @__PURE__ */ l(le, { size: "small", style: { width: "100%" } }) }) }),
|
|
3219
3218
|
/* @__PURE__ */ l(H, { span: 3, className: Y.singleInstanceAttributesBase_label, children: "Y轴" }),
|
|
@@ -3484,7 +3483,7 @@ const Mo = "_eventList_19gi2_59", Bo = "_eventList_head_19gi2_62", jo = "_eventL
|
|
|
3484
3483
|
function qo(e) {
|
|
3485
3484
|
var t;
|
|
3486
3485
|
return /* @__PURE__ */ l("div", { className: Me.eventOptions_main, children: /* @__PURE__ */ l(z, { label: "组件显示", labelSpan: 3, children: /* @__PURE__ */ l(
|
|
3487
|
-
|
|
3486
|
+
Jt,
|
|
3488
3487
|
{
|
|
3489
3488
|
size: "small",
|
|
3490
3489
|
checked: (t = e == null ? void 0 : e.value) == null ? void 0 : t.visible,
|
|
@@ -3861,7 +3860,7 @@ function dd(e) {
|
|
|
3861
3860
|
/* @__PURE__ */ g("div", { children: [
|
|
3862
3861
|
/* @__PURE__ */ l("b", { children: "show" }),
|
|
3863
3862
|
":",
|
|
3864
|
-
/* @__PURE__ */ l(
|
|
3863
|
+
/* @__PURE__ */ l(Jt, { disabled: !0, size: "small", checked: (t == null ? void 0 : t.show) ?? !0 })
|
|
3865
3864
|
] })
|
|
3866
3865
|
] });
|
|
3867
3866
|
}
|
|
@@ -3907,7 +3906,7 @@ function rd(e) {
|
|
|
3907
3906
|
(_ = r == null ? void 0 : r.map) == null ? void 0 : _.call(r, (m) => {
|
|
3908
3907
|
const y = t.component.get(m == null ? void 0 : m.cId);
|
|
3909
3908
|
return /* @__PURE__ */ l(
|
|
3910
|
-
|
|
3909
|
+
ut,
|
|
3911
3910
|
{
|
|
3912
3911
|
content: /* @__PURE__ */ l(dd, { componentNode: m }),
|
|
3913
3912
|
placement: "right",
|
|
@@ -4078,7 +4077,7 @@ function Cd(e) {
|
|
|
4078
4077
|
const y = t.component.get(e == null ? void 0 : e.cId);
|
|
4079
4078
|
m = (_ = (y == null ? void 0 : y.exposes) || []) == null ? void 0 : _.reduce(
|
|
4080
4079
|
(C, v) => (C.push({ label: v.label, value: v.value }), C),
|
|
4081
|
-
[...
|
|
4080
|
+
[...oi]
|
|
4082
4081
|
);
|
|
4083
4082
|
}
|
|
4084
4083
|
e != null && e.beforeVisible && (m = e == null ? void 0 : e.beforeVisible(m)), a(m), o("");
|
|
@@ -4126,7 +4125,7 @@ function xd(e) {
|
|
|
4126
4125
|
var s, r;
|
|
4127
4126
|
const o = t.component.get(e == null ? void 0 : e.cId);
|
|
4128
4127
|
return {
|
|
4129
|
-
...
|
|
4128
|
+
...di,
|
|
4130
4129
|
...(r = (s = o == null ? void 0 : o.exposes) == null ? void 0 : s.reduce) == null ? void 0 : r.call(s, (h, u) => (h[u.value] = u.label, h), {})
|
|
4131
4130
|
};
|
|
4132
4131
|
}, [e == null ? void 0 : e.cId]), i = A(() => {
|
|
@@ -4141,7 +4140,7 @@ function xd(e) {
|
|
|
4141
4140
|
const s = [
|
|
4142
4141
|
...(e == null ? void 0 : e.opts) || [],
|
|
4143
4142
|
{
|
|
4144
|
-
operateId:
|
|
4143
|
+
operateId: st(),
|
|
4145
4144
|
exposeId: o.value,
|
|
4146
4145
|
option: {}
|
|
4147
4146
|
}
|
|
@@ -4480,7 +4479,7 @@ function yn(e) {
|
|
|
4480
4479
|
var s;
|
|
4481
4480
|
d(i.componentNode.get((s = o == null ? void 0 : o.current) == null ? void 0 : s.id));
|
|
4482
4481
|
}), []), A(() => a ? /* @__PURE__ */ l(fn.Provider, { value: { instance: c, componentNode: a }, children: /* @__PURE__ */ l(
|
|
4483
|
-
|
|
4482
|
+
ri,
|
|
4484
4483
|
{
|
|
4485
4484
|
className: Dd.singleAttributes,
|
|
4486
4485
|
defaultActiveKey: "1",
|
|
@@ -4504,7 +4503,7 @@ function yn(e) {
|
|
|
4504
4503
|
}
|
|
4505
4504
|
]
|
|
4506
4505
|
}
|
|
4507
|
-
) }) : /* @__PURE__ */ l(
|
|
4506
|
+
) }) : /* @__PURE__ */ l(kt, { image: kt.PRESENTED_IMAGE_SIMPLE, description: "暂无数据" }), [c, a, n.language]);
|
|
4508
4507
|
}
|
|
4509
4508
|
const Od = "_multipleInstanceAttributes_1ehj2_59", Pd = "_multipleInstanceAttributes_header_1ehj2_66", Md = "_multipleInstanceAttributes_body_1ehj2_70", Qe = {
|
|
4510
4509
|
multipleInstanceAttributes: Od,
|
|
@@ -4563,7 +4562,7 @@ function Rd() {
|
|
|
4563
4562
|
});
|
|
4564
4563
|
}
|
|
4565
4564
|
return /* @__PURE__ */ g("div", { className: pe.pageAttributes, children: [
|
|
4566
|
-
/* @__PURE__ */ l("div", { className: pe.pageAttributes_description, children: /* @__PURE__ */ g(
|
|
4565
|
+
/* @__PURE__ */ l("div", { className: pe.pageAttributes_description, children: /* @__PURE__ */ g(it, { children: [
|
|
4567
4566
|
/* @__PURE__ */ l(H, { span: 24, style: { marginBottom: 6 }, children: /* @__PURE__ */ l("b", { children: n == null ? void 0 : n.name }) }),
|
|
4568
4567
|
/* @__PURE__ */ l(H, { span: 24, children: /* @__PURE__ */ g("span", { children: [
|
|
4569
4568
|
"id:",
|
|
@@ -4691,7 +4690,7 @@ function Fd() {
|
|
|
4691
4690
|
/* @__PURE__ */ l(Rd, {})
|
|
4692
4691
|
) });
|
|
4693
4692
|
}
|
|
4694
|
-
function
|
|
4693
|
+
function br(e) {
|
|
4695
4694
|
const { engine: t, json: n, pageFooter: i } = e;
|
|
4696
4695
|
return pi(), zt.useEffect(() => {
|
|
4697
4696
|
t.loadJSON(n).then(() => {
|
|
@@ -4709,5 +4708,5 @@ function Cr(e) {
|
|
|
4709
4708
|
] });
|
|
4710
4709
|
}
|
|
4711
4710
|
export {
|
|
4712
|
-
|
|
4711
|
+
br as default
|
|
4713
4712
|
};
|
|
@@ -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 {
|
|
2
|
+
import { H as h } from "./index-BhafNo6T.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 { useState as f, useMemo as g } from "/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,7 +7,7 @@ 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 { u as d } from "./useEffectOnce-Ct0JMBZd.mjs";
|
|
10
|
-
import { R as y } from "./index-
|
|
10
|
+
import { R as y } from "./index-Daza1EsK.mjs";
|
|
11
11
|
const n = [
|
|
12
12
|
"rgb(28, 172, 255)",
|
|
13
13
|
"rgb(69, 201, 235)",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as m } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { H as p } from "./index-BhafNo6T.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";
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
7
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
|
-
import { DEFAULT_OPTIONS as
|
|
9
|
+
import { DEFAULT_OPTIONS as e } from "./attributes-CqNLwRW3.mjs";
|
|
10
10
|
const x = p((o) => {
|
|
11
11
|
const { options: t, width: r, height: i } = o;
|
|
12
12
|
return /* @__PURE__ */ m("div", { style: { width: r, height: i, background: t.background } });
|
|
13
|
-
},
|
|
13
|
+
}, e);
|
|
14
14
|
export {
|
|
15
15
|
x as default
|
|
16
16
|
};
|
|
@@ -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 {
|
|
2
|
+
import { H as C } from "./index-BhafNo6T.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-Daza1EsK.mjs";
|
|
11
|
+
import { DEFAULT_OPTIONS as g } from "./attributes-BDv3jJ5O.mjs";
|
|
12
12
|
const n = "chinaOutline";
|
|
13
13
|
async function z() {
|
|
14
14
|
var t, c;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as f } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { H as l } from "./index-BhafNo6T.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 { useRef as c, useEffect as a } from "/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";
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
7
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
|
-
import { DEFAULT_OPTIONS as u } from "./attributes-
|
|
9
|
+
import { DEFAULT_OPTIONS as u } from "./attributes-BIXlzE3A.mjs";
|
|
10
10
|
import d from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
|
|
11
11
|
const D = l((m) => {
|
|
12
12
|
const { width: i, height: n, options: e } = m, r = c(null);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as s, jsxs as a } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { H as d } from "./index-BhafNo6T.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";
|
|
6
6
|
import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
|
|
7
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
|
-
import { DEFAULT_OPTIONS as p } from "./attributes-
|
|
9
|
+
import { DEFAULT_OPTIONS as p } from "./attributes-5RpQLPsm.mjs";
|
|
10
10
|
import { A as _ } from "./index-kvRZQZJ-.mjs";
|
|
11
11
|
import { CalendarOutlined as f } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/@ant-design+icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/index.js";
|
|
12
12
|
const L = "_scrollList_ni091_59", h = "_scrollList_line_ni091_62", o = {
|