react-big-screen 0.0.19 → 0.0.21

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.
Files changed (53) hide show
  1. package/es/{IInputNumber-8TbQFEeQ.mjs → IInputNumber-PnHJNf9H.mjs} +3 -3
  2. package/es/{Line-h-rhOKev.mjs → Line-CLgwvraj.mjs} +37 -37
  3. package/es/{attributes-CxnJg-FT.mjs → attributes-BWtBVgsg.mjs} +9 -8
  4. package/es/{attributes-BIXlzE3A.mjs → attributes-BuMChZnt.mjs} +6 -5
  5. package/es/{attributes-BDv3jJ5O.mjs → attributes-C0SMjnHG.mjs} +13 -12
  6. package/es/{attributes-CauLjFb0.mjs → attributes-C5pimFaJ.mjs} +6 -5
  7. package/es/{attributes-DYnxULqW.mjs → attributes-COwKDUMI.mjs} +6 -5
  8. package/es/{attributes-CqNLwRW3.mjs → attributes-C_fbpAUx.mjs} +9 -8
  9. package/es/{attributes-CuUxWoIW.mjs → attributes-DdjjVR4N.mjs} +6 -5
  10. package/es/{attributes-B8s8kYoD.mjs → attributes-Dv8IMI4h.mjs} +6 -5
  11. package/es/{attributes-5RpQLPsm.mjs → attributes-DztmBsKn.mjs} +8 -7
  12. package/es/{attributes-NVduSBUS.mjs → attributes-E8oqU4q7.mjs} +7 -6
  13. package/es/{attributes-CgnjWsLu.mjs → attributes-YL1J6lLR.mjs} +6 -5
  14. package/es/{attributes-DBip_IK_.mjs → attributes-w4UsefFp.mjs} +51 -50
  15. package/es/{index-GdH3Zwz0.mjs → index-B4KSL-Bu.mjs} +8 -7
  16. package/es/{index-BAzeX1Ol.mjs → index-B8JqjjA1.mjs} +29 -28
  17. package/es/{index-8Jjn38kS.mjs → index-B9Nb8R2I.mjs} +19 -18
  18. package/es/{index-BFdLFt4J.mjs → index-BRgbtPVH.mjs} +7 -6
  19. package/es/{index-DCIgeYYw.mjs → index-BUth1V1H.mjs} +7 -6
  20. package/es/{index-56XQx0At.mjs → index-BYJ5e2rN.mjs} +7 -6
  21. package/es/{index-SkjPQ6Pt.mjs → index-BYe40Zu2.mjs} +10 -9
  22. package/es/{index-D07zNDg9.mjs → index-Bvab-NQ4.mjs} +14 -13
  23. package/es/{index-BVjByyUe.mjs → index-BzpuXSbE.mjs} +7 -6
  24. package/es/{index-Cm-Rzkqs.mjs → index-C6HV7IaP.mjs} +42 -41
  25. package/es/{index-CjeVSp69.mjs → index-CBxj6uKJ.mjs} +8 -7
  26. package/es/index-CRDggJyg.mjs +4441 -0
  27. package/es/{index-i0K7Ynj-.mjs → index-CUkul7R0.mjs} +7 -6
  28. package/es/{index-Bi3lZwlI.mjs → index-CpYmNO_5.mjs} +55 -54
  29. package/es/{index-BInCuYp5.mjs → index-CyS-CdYv.mjs} +17 -16
  30. package/es/{index-Daza1EsK.mjs → index-D--V8m-b.mjs} +3 -3
  31. package/es/index-D1ux0Voe.mjs +29 -0
  32. package/es/{index-nSniwbAA.mjs → index-DQU0jlV0.mjs} +8 -7
  33. package/es/{index-Dvs_cgct.mjs → index-D_0vVSWq.mjs} +11 -10
  34. package/es/{index-Dkl0nzkU.mjs → index-Dh00vKAk.mjs} +11 -10
  35. package/es/{index-DzRsgn_u.mjs → index-DyB0TE1y.mjs} +38 -37
  36. package/es/{index-CBAcYtqX.mjs → index-KruFCy9N.mjs} +8 -7
  37. package/es/{index-Bdqrb_sj.mjs → index-Ljz96Vra.mjs} +8 -7
  38. package/es/{index-kvRZQZJ-.mjs → index-guYPVm3G.mjs} +1 -1
  39. package/es/{index-CgI9EXqn.mjs → index-hPKl41YD.mjs} +14 -13
  40. package/es/{index-CFdcAnNu.mjs → index-n9OtRMYa.mjs} +12 -11
  41. package/es/{index-umVDADGS.mjs → index-qoPI1H9i.mjs} +23 -22
  42. package/es/{index-C49BBpRX.mjs → index-ryl5yfWq.mjs} +8 -7
  43. package/es/index.mjs +8 -7
  44. package/es/{selectPage-ChSsIBe9.mjs → selectPage-D267xnl4.mjs} +2 -2
  45. package/es/{useCurrentPageId-BlVc4whf.mjs → useCurrentPageId-DM05DNLI.mjs} +6 -5
  46. package/es/useEffectOnce-l5sUTCBG.mjs +7 -0
  47. package/es/useListenRef-B01dENv0.mjs +8 -0
  48. package/es/{useResizeDom-BUgMcz6M.mjs → useResizeDom-B6mM4jrh.mjs} +2 -2
  49. package/package.json +1 -1
  50. package/es/index-BhafNo6T.mjs +0 -16092
  51. package/es/index-dxiyF_62.mjs +0 -29
  52. package/es/useEffectOnce-Ct0JMBZd.mjs +0 -7
  53. package/es/useListenRef-Dqm6KZRj.mjs +0 -8
@@ -1,13 +1,14 @@
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 r } from "./index-Daza1EsK.mjs";
3
- import { H as a } from "./index-BhafNo6T.mjs";
2
+ import { R as r } from "./index-D--V8m-b.mjs";
3
+ import { n as a } from "./index-CRDggJyg.mjs";
4
4
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
5
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
6
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
+ import "react";
6
+ import "react-dom";
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
+ import "antd";
8
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
9
10
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
10
- const f = a((t) => {
11
+ const g = a((t) => {
11
12
  const { width: e, height: o } = t;
12
13
  return /* @__PURE__ */ i(
13
14
  r,
@@ -39,5 +40,5 @@ const f = a((t) => {
39
40
  );
40
41
  });
41
42
  export {
42
- f as default
43
+ g as default
43
44
  };
@@ -2,25 +2,26 @@ var vn = Object.defineProperty;
2
2
  var bn = (e, t, n) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  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
- 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";
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 "react";
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 "antd";
7
8
  import $ from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
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";
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-CRDggJyg.mjs";
9
10
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
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";
11
+ import { createPortal as si } from "react-dom";
11
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";
12
13
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
13
14
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
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";
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-C6HV7IaP.mjs";
15
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";
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";
17
+ import { I as p, L as Le, a as z, C as vi, b as $e } from "./Line-CLgwvraj.mjs";
18
+ import { I as _t, a as bi } from "./IInputNumber-PnHJNf9H.mjs";
18
19
  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";
19
20
  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";
20
21
  import Ci from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
21
22
  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";
22
23
  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";
23
- import { I as U, i as ki, a as Si } from "./index-dxiyF_62.mjs";
24
+ import { I as U, i as ki, a as Si } from "./index-D1ux0Voe.mjs";
24
25
  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";
25
26
  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";
26
27
  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";
@@ -28,11 +29,11 @@ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@
28
29
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution.js";
29
30
  import ft from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js";
30
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";
31
- import { u as tn } from "./useEffectOnce-Ct0JMBZd.mjs";
32
- import { u as wi, s as Re } from "./selectPage-ChSsIBe9.mjs";
33
- import { u as Ei } from "./useCurrentPageId-BlVc4whf.mjs";
34
- import { u as nn } from "./useListenRef-Dqm6KZRj.mjs";
35
- import { I as Ce } from "./index-BAzeX1Ol.mjs";
32
+ import { u as tn } from "./useEffectOnce-l5sUTCBG.mjs";
33
+ import { u as wi, s as Re } from "./selectPage-D267xnl4.mjs";
34
+ import { u as Ei } from "./useCurrentPageId-DM05DNLI.mjs";
35
+ import { u as nn } from "./useListenRef-B01dENv0.mjs";
36
+ import { I as Ce } from "./index-B8JqjjA1.mjs";
36
37
  async function ln(e) {
37
38
  return new Promise((t) => {
38
39
  let n = document.createElement("input");
@@ -87,8 +88,8 @@ function Di(e, t) {
87
88
  document.body.appendChild(d);
88
89
  let o = Wt(d);
89
90
  return o.render(
90
- /* @__PURE__ */ l(Zn.Provider, { value: { engine: a }, children: /* @__PURE__ */ l(
91
- Qn,
91
+ /* @__PURE__ */ l(ti.Provider, { value: { engine: a }, children: /* @__PURE__ */ l(
92
+ ni,
92
93
  {
93
94
  ref: i,
94
95
  component: e,
@@ -122,7 +123,7 @@ function ue(e) {
122
123
  };
123
124
  }
124
125
  function Oi() {
125
- const e = pn((t) => t.componentMap);
126
+ const e = ii((t) => t.componentMap);
126
127
  return A(() => e ? Object.values(e) : [], [e]);
127
128
  }
128
129
  function yt() {
@@ -344,7 +345,7 @@ function Yi() {
344
345
  E.warn("收藏组件不能为空");
345
346
  return;
346
347
  }
347
- const n = st(), i = e.favorites.getAll().length;
348
+ const n = ut(), i = e.favorites.getAll().length;
348
349
  e.favorites.add({
349
350
  id: n,
350
351
  name: `收藏${i + 1}`,
@@ -542,11 +543,11 @@ function yl(e) {
542
543
  h !== o && ((u = e == null ? void 0 : e.onChange) == null || u.call(e, h));
543
544
  }
544
545
  return /* @__PURE__ */ l(
545
- ut,
546
+ st,
546
547
  {
547
548
  content: /* @__PURE__ */ g("div", { style: { display: "flex", alignItems: "center", gap: 16 }, children: [
548
549
  /* @__PURE__ */ l(
549
- ei,
550
+ Zn,
550
551
  {
551
552
  style: { width: 250 },
552
553
  min: c,
@@ -812,7 +813,7 @@ const Il = (e, t, n) => {
812
813
  };
813
814
  async function kl(e) {
814
815
  var i;
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();
816
+ const t = await Il(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-CRDggJyg.mjs").then((c) => c.r), "../../../../../../public/example/multiple-components-interactive.json": () => import("./index-CRDggJyg.mjs").then((c) => c.t) }), `../../../../../../public/example/${e}.json`, 9), n = k.getActiveEngine();
816
817
  (i = n == null ? void 0 : n.loadJSON) == null || i.call(n, t);
817
818
  }
818
819
  function Sl() {
@@ -843,7 +844,7 @@ function Nl() {
843
844
  style: { fontSize: 12 },
844
845
  id: "rbs-starter-help",
845
846
  onClick: () => {
846
- ti(!0);
847
+ li(!0);
847
848
  },
848
849
  children: "新手教程"
849
850
  }
@@ -851,7 +852,7 @@ function Nl() {
851
852
  }
852
853
  const wl = xl();
853
854
  function El(e) {
854
- const { pageLogo: t } = e, { engine: n, rbsEngine: i } = N(), [c, a] = se(), d = an(), o = a.language === ni.zh, s = A(() => [
855
+ const { pageLogo: t } = e, { engine: n, rbsEngine: i } = N(), [c, a] = se(), d = an(), o = a.language === ci.zh, s = A(() => [
855
856
  {
856
857
  key: "shortCutKeys",
857
858
  description: /* @__PURE__ */ l(bl, {}),
@@ -903,7 +904,7 @@ function El(e) {
903
904
  case "export":
904
905
  n.getJSON().then((C) => {
905
906
  const v = JSON.stringify(C);
906
- qt(v, "大屏看板.json");
907
+ Jt(v, "大屏看板.json");
907
908
  });
908
909
  break;
909
910
  case "import":
@@ -931,7 +932,7 @@ function El(e) {
931
932
  break;
932
933
  case "language":
933
934
  const y = o ? "en" : "zh";
934
- ii(y), n.config.setConfig({ language: y });
935
+ ai(y), n.config.setConfig({ language: y });
935
936
  break;
936
937
  }
937
938
  }
@@ -1208,7 +1209,7 @@ function ql() {
1208
1209
  }, [o, r]);
1209
1210
  return /* @__PURE__ */ g("div", { className: Ke.library, children: [
1210
1211
  /* @__PURE__ */ l("div", { className: Ke.library_header, children: /* @__PURE__ */ l(
1211
- li.Search,
1212
+ Qn.Search,
1212
1213
  {
1213
1214
  allowClear: !0,
1214
1215
  value: a,
@@ -1691,10 +1692,10 @@ function Pc(e) {
1691
1692
  return;
1692
1693
  }
1693
1694
  const _ = `${t == null ? void 0 : t.name}.js`;
1694
- qt(u, _);
1695
+ Jt(u, _);
1695
1696
  }
1696
1697
  return /* @__PURE__ */ l(
1697
- ut,
1698
+ st,
1698
1699
  {
1699
1700
  placement: "rightTop",
1700
1701
  title: /* @__PURE__ */ g("div", { className: J.propertyItemPopover_title, children: [
@@ -1843,7 +1844,7 @@ const zc = ue((e) => {
1843
1844
  E.error("地址格式不正确");
1844
1845
  return;
1845
1846
  }
1846
- c(!0), (r = nt(s == null ? void 0 : s.url)) == null || r.then((h) => {
1847
+ c(!0), (r = it(s == null ? void 0 : s.url)) == null || r.then((h) => {
1847
1848
  c(!1), a.current = s == null ? void 0 : s.url, n.setFieldsValue({
1848
1849
  content: h
1849
1850
  });
@@ -1909,7 +1910,7 @@ function $c(e) {
1909
1910
  for (const v in _) {
1910
1911
  if (!((C = v == null ? void 0 : v.endsWith) != null && C.call(v, ".js")))
1911
1912
  continue;
1912
- const f = await _[v].async("text"), b = await je(f);
1913
+ const f = await _[v].async("text"), b = await ze(f);
1913
1914
  b && (b.origin = "local", m.push(b), y.push(f));
1914
1915
  }
1915
1916
  return {
@@ -1931,7 +1932,7 @@ function $c(e) {
1931
1932
  }
1932
1933
  if ((h == null ? void 0 : h.type) === "text/javascript") {
1933
1934
  r = await cn(h);
1934
- const u = await je(r);
1935
+ const u = await ze(r);
1935
1936
  if (!u)
1936
1937
  return E.warn("文本内容必须为UMD或者AMD格式");
1937
1938
  u.origin = "local", c(u, r);
@@ -1942,7 +1943,7 @@ function $c(e) {
1942
1943
  case "remote":
1943
1944
  i.open({
1944
1945
  async beforeOk(u) {
1945
- return n.current = u, t.current = await je(u), t.current || E.warn("文本内容必须为UMD或者AMD格式"), !!t.current;
1946
+ return n.current = u, t.current = await ze(u), t.current || E.warn("文本内容必须为UMD或者AMD格式"), !!t.current;
1946
1947
  }
1947
1948
  });
1948
1949
  break;
@@ -1973,13 +1974,13 @@ function Fc(e) {
1973
1974
  var i;
1974
1975
  switch (n) {
1975
1976
  case "umd-demo":
1976
- xt(Ot, "测试包2.js");
1977
+ It(Ot, "测试包2.js");
1977
1978
  break;
1978
1979
  case "amd-demo":
1979
- xt(Pt, "测试包1.js");
1980
+ It(Pt, "测试包1.js");
1980
1981
  break;
1981
1982
  case "zip-demo":
1982
- const c = await nt(Ot), a = await nt(Pt), d = new ft();
1983
+ const c = await it(Ot), a = await it(Pt), d = new ft();
1983
1984
  d.file("测试包1.js", a), d.file("测试包2.js", c), d.generateAsync({ type: "blob" }).then(function(o) {
1984
1985
  en(o, "组件包集合.zip");
1985
1986
  });
@@ -2188,14 +2189,14 @@ const Zc = ue((e) => {
2188
2189
  bodyStyle: { padding: "12px 24px 24px", height: 500, overflowY: "hidden" },
2189
2190
  children: [
2190
2191
  /* @__PURE__ */ g(
2191
- ze,
2192
+ je,
2192
2193
  {
2193
2194
  column: 2,
2194
2195
  labelStyle: { color: "rgba(0,0,0,0.5)", fontSize: 12 },
2195
2196
  contentStyle: { color: "rgba(0,0,0,0.5)", fontSize: 12 },
2196
2197
  children: [
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 })
2198
+ /* @__PURE__ */ l(je.Item, { label: "id", children: n == null ? void 0 : n.id }),
2199
+ /* @__PURE__ */ l(je.Item, { label: "创建时间", children: n == null ? void 0 : n.gmtCreate })
2199
2200
  ]
2200
2201
  }
2201
2202
  ),
@@ -2259,7 +2260,7 @@ const ia = "_pages_1ty8r_59", la = "_pages_head_1ty8r_67", ca = "_pages_body_1ty
2259
2260
  function i(a) {
2260
2261
  return {
2261
2262
  name: a,
2262
- id: st(),
2263
+ id: ut(),
2263
2264
  parentId: t == null ? void 0 : t.parentId
2264
2265
  };
2265
2266
  }
@@ -2293,7 +2294,7 @@ const ia = "_pages_1ty8r_59", la = "_pages_head_1ty8r_67", ca = "_pages_body_1ty
2293
2294
  );
2294
2295
  });
2295
2296
  function oa() {
2296
- const { engine: e } = N(), [t, n] = S([]), [i, c] = S([]), [a, d, o] = ci([]), s = wi(), r = Ei(), h = aa({
2297
+ const { engine: e } = N(), [t, n] = S([]), [i, c] = S([]), [a, d, o] = oi([]), s = wi(), r = Ei(), h = aa({
2297
2298
  onOk({ page: v, parentId: I }) {
2298
2299
  if (e.page.insert(v, I), Re(v.id), I) {
2299
2300
  const f = Array.from(new Set(t).add(I));
@@ -2376,7 +2377,7 @@ function oa() {
2376
2377
  ) })
2377
2378
  ] }),
2378
2379
  /* @__PURE__ */ l("div", { className: Ge.pages_body, children: /* @__PURE__ */ l(
2379
- ai,
2380
+ pn,
2380
2381
  {
2381
2382
  showIcon: !0,
2382
2383
  multiple: !1,
@@ -2959,7 +2960,7 @@ function io(e, t) {
2959
2960
  if (!a || n.componentNode.isInPanel(a, e))
2960
2961
  return;
2961
2962
  const d = n.componentNode.getPanelName(a) || "目标";
2962
- return It({
2963
+ return kt({
2963
2964
  title: "移入提醒",
2964
2965
  content: `确定放入面板“${d}”?`,
2965
2966
  onOk(o) {
@@ -2973,7 +2974,7 @@ function io(e, t) {
2973
2974
  const c = e.panelId;
2974
2975
  if (c) {
2975
2976
  const a = n.componentNode.getPanelName(c) || "目标";
2976
- return It({
2977
+ return kt({
2977
2978
  title: "移出提醒",
2978
2979
  content: `是否移出面板“${a}”?`,
2979
2980
  onOk(d) {
@@ -3184,7 +3185,7 @@ function bo() {
3184
3185
  d.hasOwnProperty("isAllPage") && (a(d.isAllPage), o = d.isAllPage ? "设置组件全页面" : "取消组件全页面"), e.componentNode.update(t == null ? void 0 : t.id, d), O(o);
3185
3186
  },
3186
3187
  children: [
3187
- /* @__PURE__ */ l("div", { className: Y.singleInstanceAttributesBase_description, children: /* @__PURE__ */ g(it, { children: [
3188
+ /* @__PURE__ */ l("div", { className: Y.singleInstanceAttributesBase_description, children: /* @__PURE__ */ g(nt, { children: [
3188
3189
  /* @__PURE__ */ l(H, { span: 24, style: { marginBottom: 6 }, children: /* @__PURE__ */ l(
3189
3190
  vo,
3190
3191
  {
@@ -3212,7 +3213,7 @@ function bo() {
3212
3213
  ] }) }),
3213
3214
  /* @__PURE__ */ g("div", { className: Y.singleInstanceAttributesBase_body, children: [
3214
3215
  /* @__PURE__ */ g("div", { children: [
3215
- /* @__PURE__ */ g(it, { gutter: [8, 8], style: { fontSize: 12 }, children: [
3216
+ /* @__PURE__ */ g(nt, { gutter: [8, 8], style: { fontSize: 12 }, children: [
3216
3217
  /* @__PURE__ */ l(H, { span: 3, className: Y.singleInstanceAttributesBase_label, children: "X轴" }),
3217
3218
  /* @__PURE__ */ l(H, { span: 9, children: /* @__PURE__ */ l(M.Item, { name: "x", noStyle: !0, children: /* @__PURE__ */ l(le, { size: "small", style: { width: "100%" } }) }) }),
3218
3219
  /* @__PURE__ */ l(H, { span: 3, className: Y.singleInstanceAttributesBase_label, children: "Y轴" }),
@@ -3483,7 +3484,7 @@ const Mo = "_eventList_19gi2_59", Bo = "_eventList_head_19gi2_62", jo = "_eventL
3483
3484
  function qo(e) {
3484
3485
  var t;
3485
3486
  return /* @__PURE__ */ l("div", { className: Me.eventOptions_main, children: /* @__PURE__ */ l(z, { label: "组件显示", labelSpan: 3, children: /* @__PURE__ */ l(
3486
- Jt,
3487
+ qt,
3487
3488
  {
3488
3489
  size: "small",
3489
3490
  checked: (t = e == null ? void 0 : e.value) == null ? void 0 : t.visible,
@@ -3860,7 +3861,7 @@ function dd(e) {
3860
3861
  /* @__PURE__ */ g("div", { children: [
3861
3862
  /* @__PURE__ */ l("b", { children: "show" }),
3862
3863
  ":",
3863
- /* @__PURE__ */ l(Jt, { disabled: !0, size: "small", checked: (t == null ? void 0 : t.show) ?? !0 })
3864
+ /* @__PURE__ */ l(qt, { disabled: !0, size: "small", checked: (t == null ? void 0 : t.show) ?? !0 })
3864
3865
  ] })
3865
3866
  ] });
3866
3867
  }
@@ -3906,7 +3907,7 @@ function rd(e) {
3906
3907
  (_ = r == null ? void 0 : r.map) == null ? void 0 : _.call(r, (m) => {
3907
3908
  const y = t.component.get(m == null ? void 0 : m.cId);
3908
3909
  return /* @__PURE__ */ l(
3909
- ut,
3910
+ st,
3910
3911
  {
3911
3912
  content: /* @__PURE__ */ l(dd, { componentNode: m }),
3912
3913
  placement: "right",
@@ -4077,7 +4078,7 @@ function Cd(e) {
4077
4078
  const y = t.component.get(e == null ? void 0 : e.cId);
4078
4079
  m = (_ = (y == null ? void 0 : y.exposes) || []) == null ? void 0 : _.reduce(
4079
4080
  (C, v) => (C.push({ label: v.label, value: v.value }), C),
4080
- [...oi]
4081
+ [...di]
4081
4082
  );
4082
4083
  }
4083
4084
  e != null && e.beforeVisible && (m = e == null ? void 0 : e.beforeVisible(m)), a(m), o("");
@@ -4125,7 +4126,7 @@ function xd(e) {
4125
4126
  var s, r;
4126
4127
  const o = t.component.get(e == null ? void 0 : e.cId);
4127
4128
  return {
4128
- ...di,
4129
+ ...ri,
4129
4130
  ...(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), {})
4130
4131
  };
4131
4132
  }, [e == null ? void 0 : e.cId]), i = A(() => {
@@ -4140,7 +4141,7 @@ function xd(e) {
4140
4141
  const s = [
4141
4142
  ...(e == null ? void 0 : e.opts) || [],
4142
4143
  {
4143
- operateId: st(),
4144
+ operateId: ut(),
4144
4145
  exposeId: o.value,
4145
4146
  option: {}
4146
4147
  }
@@ -4479,7 +4480,7 @@ function yn(e) {
4479
4480
  var s;
4480
4481
  d(i.componentNode.get((s = o == null ? void 0 : o.current) == null ? void 0 : s.id));
4481
4482
  }), []), A(() => a ? /* @__PURE__ */ l(fn.Provider, { value: { instance: c, componentNode: a }, children: /* @__PURE__ */ l(
4482
- ri,
4483
+ ei,
4483
4484
  {
4484
4485
  className: Dd.singleAttributes,
4485
4486
  defaultActiveKey: "1",
@@ -4503,7 +4504,7 @@ function yn(e) {
4503
4504
  }
4504
4505
  ]
4505
4506
  }
4506
- ) }) : /* @__PURE__ */ l(kt, { image: kt.PRESENTED_IMAGE_SIMPLE, description: "暂无数据" }), [c, a, n.language]);
4507
+ ) }) : /* @__PURE__ */ l(xt, { image: xt.PRESENTED_IMAGE_SIMPLE, description: "暂无数据" }), [c, a, n.language]);
4507
4508
  }
4508
4509
  const Od = "_multipleInstanceAttributes_1ehj2_59", Pd = "_multipleInstanceAttributes_header_1ehj2_66", Md = "_multipleInstanceAttributes_body_1ehj2_70", Qe = {
4509
4510
  multipleInstanceAttributes: Od,
@@ -4562,7 +4563,7 @@ function Rd() {
4562
4563
  });
4563
4564
  }
4564
4565
  return /* @__PURE__ */ g("div", { className: pe.pageAttributes, children: [
4565
- /* @__PURE__ */ l("div", { className: pe.pageAttributes_description, children: /* @__PURE__ */ g(it, { children: [
4566
+ /* @__PURE__ */ l("div", { className: pe.pageAttributes_description, children: /* @__PURE__ */ g(nt, { children: [
4566
4567
  /* @__PURE__ */ l(H, { span: 24, style: { marginBottom: 6 }, children: /* @__PURE__ */ l("b", { children: n == null ? void 0 : n.name }) }),
4567
4568
  /* @__PURE__ */ l(H, { span: 24, children: /* @__PURE__ */ g("span", { children: [
4568
4569
  "id:",
@@ -4690,7 +4691,7 @@ function Fd() {
4690
4691
  /* @__PURE__ */ l(Rd, {})
4691
4692
  ) });
4692
4693
  }
4693
- function br(e) {
4694
+ function Cr(e) {
4694
4695
  const { engine: t, json: n, pageFooter: i } = e;
4695
4696
  return pi(), zt.useEffect(() => {
4696
4697
  t.loadJSON(n).then(() => {
@@ -4708,5 +4709,5 @@ function br(e) {
4708
4709
  ] });
4709
4710
  }
4710
4711
  export {
4711
- br as default
4712
+ Cr as default
4712
4713
  };
@@ -1,50 +1,51 @@
1
1
  import { jsx as o, jsxs as a } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { H as h, Q as L } from "./index-BhafNo6T.mjs";
2
+ import { n as h } from "./index-CRDggJyg.mjs";
3
3
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
- import { useState as p, useMemo as x, useEffect as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
5
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
4
+ import { useState as p, useMemo as L, useEffect as x } from "react";
5
+ import "react-dom";
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
+ import { Progress as S } from "antd";
7
8
  import { r as y, g as C } from "./random-DD0zMfMm.mjs";
8
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
9
10
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
10
11
  import { cloneDeep as v } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js";
11
- import { DEFAULT_OPTIONS as I } from "./attributes-B8s8kYoD.mjs";
12
- import { A as M } from "./index-kvRZQZJ-.mjs";
12
+ import { DEFAULT_OPTIONS as I } from "./attributes-Dv8IMI4h.mjs";
13
+ import { A as M } from "./index-guYPVm3G.mjs";
13
14
  import { DoubleRightOutlined as z } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/@ant-design+icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/index.js";
14
15
  const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_progressList_line_header_xy0sd_69", c = {
15
16
  progressList: N,
16
17
  progressList_line: P,
17
18
  progressList_line_header: A
18
- }, U = h((g) => {
19
- const { width: i, height: _, options: r, dataSource: s } = g, [n, d] = p(s), u = x(() => f(), [s, r == null ? void 0 : r.max]);
20
- function f() {
19
+ }, H = h((u) => {
20
+ const { width: g, height: _, options: r, dataSource: s } = u, [n, d] = p(s), i = L(() => m(), [s, r == null ? void 0 : r.max]);
21
+ function m() {
21
22
  const e = Math.max(...n.map((t) => t.count));
22
23
  return r != null && r.max ? Math.max(r == null ? void 0 : r.max, e) : e;
23
24
  }
24
- return S(() => {
25
+ return x(() => {
25
26
  d(s);
26
27
  let e = v(s);
27
28
  function t() {
28
29
  d(
29
30
  e = e.map((l) => ({
30
31
  ...l,
31
- count: y(C(-50, 50) + (l == null ? void 0 : l.count), 0, u)
32
+ count: y(C(-50, 50) + (l == null ? void 0 : l.count), 0, i)
32
33
  }))
33
34
  );
34
35
  }
35
- let m = setInterval(t, 1200);
36
+ let f = setInterval(t, 1200);
36
37
  return () => {
37
- clearInterval(m);
38
+ clearInterval(f);
38
39
  };
39
40
  }, [s]), /* @__PURE__ */ o(
40
41
  M,
41
42
  {
42
- style: { width: i, height: _ },
43
+ style: { width: g, height: _ },
43
44
  className: c.progressList,
44
45
  disabled: !(r != null && r.autoScroll),
45
46
  pxPerSecond: r == null ? void 0 : r.pxPerSecond,
46
47
  children: n.map((e) => {
47
- const t = ((e == null ? void 0 : e.count) || 0) * 100 / u;
48
+ const t = ((e == null ? void 0 : e.count) || 0) * 100 / i;
48
49
  return /* @__PURE__ */ a("div", { className: c.progressList_line, children: [
49
50
  /* @__PURE__ */ a("div", { className: c.progressList_line_header, children: [
50
51
  /* @__PURE__ */ a(
@@ -72,7 +73,7 @@ const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_pro
72
73
  )
73
74
  ] }),
74
75
  /* @__PURE__ */ o(
75
- L,
76
+ S,
76
77
  {
77
78
  showInfo: !1,
78
79
  percent: t,
@@ -86,5 +87,5 @@ const N = "_progressList_xy0sd_59", P = "_progressList_line_xy0sd_62", A = "_pro
86
87
  );
87
88
  }, I);
88
89
  export {
89
- U as default
90
+ H as default
90
91
  };
@@ -1,14 +1,14 @@
1
1
  import { jsx as R } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { useRef as m, useCallback as T, useEffect as E, useMemo as y } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
2
+ import { useRef as m, useCallback as T, useEffect as E, useMemo as y } from "react";
3
3
  import * as f from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/core.js";
4
4
  import { PieChart as L, BarChart as b, LineChart as k, LinesChart as v, RadarChart as g, GaugeChart as x, MapChart as G, EffectScatterChart as M } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/charts.js";
5
5
  import { TitleComponent as O, TooltipComponent as j, ToolboxComponent as w, VisualMapComponent as z, GridComponent as D, DatasetComponent as N, TransformComponent as U, LegendComponent as B } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/components.js";
6
6
  import { LabelLayout as F, UniversalTransition as P } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/features.js";
7
7
  import { CanvasRenderer as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/renderers.js";
8
8
  import { 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";
9
- import "./index-BhafNo6T.mjs";
9
+ import "./index-CRDggJyg.mjs";
10
10
  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";
11
- import { u as q } from "./useResizeDom-BUgMcz6M.mjs";
11
+ import { u as q } from "./useResizeDom-B6mM4jrh.mjs";
12
12
  f.use([
13
13
  // 图表
14
14
  L,
@@ -0,0 +1,29 @@
1
+ import { jsx as s } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import { Empty as i } from "antd";
3
+ import m from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
4
+ function l(y, n) {
5
+ return !// 左侧
6
+ (y.x2 < n.x1 || // 右侧
7
+ y.x1 > n.x2 || // 上方
8
+ y.y2 < n.y1 || // 下方
9
+ y.y1 > n.y2);
10
+ }
11
+ function I(y, n) {
12
+ return y.x >= n.x1 && y.x <= n.x2 && y.y >= n.y1 && y.y <= n.y2;
13
+ }
14
+ function o(y, n) {
15
+ return y.x1 >= n.x1 && y.y1 >= n.y1 && y.x2 <= n.x2 && y.y2 <= n.y2;
16
+ }
17
+ const x = "_iEmpty_177ye_59", E = {
18
+ iEmpty: x
19
+ };
20
+ function t(y) {
21
+ const { description: n = "暂无数据" } = y;
22
+ return /* @__PURE__ */ s("div", { className: m(y.className, E.iEmpty), style: y == null ? void 0 : y.style, children: /* @__PURE__ */ s(i, { image: i.PRESENTED_IMAGE_SIMPLE, description: n }) });
23
+ }
24
+ export {
25
+ t as I,
26
+ I as a,
27
+ o as b,
28
+ l as i
29
+ };
@@ -1,16 +1,17 @@
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 { H as i, K as p } from "./index-BhafNo6T.mjs";
2
+ import { Image as i } from "antd";
3
+ import { n as p } from "./index-CRDggJyg.mjs";
3
4
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
5
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
+ import "react";
6
+ import "react-dom";
6
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";
7
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
9
  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 n } from "./attributes-DYnxULqW.mjs";
10
- const x = i((e) => {
10
+ import { DEFAULT_OPTIONS as n } from "./attributes-COwKDUMI.mjs";
11
+ const g = p((e) => {
11
12
  const { options: r, width: t, height: m } = e;
12
13
  return /* @__PURE__ */ o(
13
- p,
14
+ i,
14
15
  {
15
16
  src: r == null ? void 0 : r.src,
16
17
  style: { width: t, height: m, pointerEvents: "none" },
@@ -19,5 +20,5 @@ const x = i((e) => {
19
20
  );
20
21
  }, n);
21
22
  export {
22
- x as default
23
+ g as default
23
24
  };
@@ -1,25 +1,26 @@
1
- import { jsx as r, Fragment as g } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { H as n } from "./index-BhafNo6T.mjs";
1
+ import { jsx as r, Fragment as a } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import { n } from "./index-CRDggJyg.mjs";
3
3
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
- import m from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
5
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
4
+ import m from "react";
5
+ import "react-dom";
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
+ import "antd";
7
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
9
  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 c } from "./attributes-NVduSBUS.mjs";
10
+ import { DEFAULT_OPTIONS as c } from "./attributes-E8oqU4q7.mjs";
10
11
  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") });
11
12
  async function h(e) {
12
13
  if (e)
13
14
  return b[`./assets/${e}`]().then((s) => (s == null ? void 0 : s.default) || void 0);
14
15
  }
15
- const O = n((e) => {
16
+ const S = n((e) => {
16
17
  const { width: s, height: i, options: t } = e, [p, o] = m.useState();
17
18
  return m.useEffect(() => {
18
- h(t == null ? void 0 : t.id).then((a) => {
19
- o(a);
19
+ h(t == null ? void 0 : t.id).then((g) => {
20
+ o(g);
20
21
  });
21
- }, [t == null ? void 0 : t.id]), p ? /* @__PURE__ */ r("img", { style: { width: s, height: i, pointerEvents: "none" }, alt: "预制图片", src: p }) : /* @__PURE__ */ r(g, {});
22
+ }, [t == null ? void 0 : t.id]), p ? /* @__PURE__ */ r("img", { style: { width: s, height: i, pointerEvents: "none" }, alt: "预制图片", src: p }) : /* @__PURE__ */ r(a, {});
22
23
  }, c);
23
24
  export {
24
- O as default
25
+ S as default
25
26
  };