react-big-screen 0.0.21 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/es/{IInputNumber-PnHJNf9H.mjs → IInputNumber-CEotcbKL.mjs} +1 -1
  2. package/es/{Line-CLgwvraj.mjs → Line-CgKiUu04.mjs} +3 -3
  3. package/es/{attributes-w4UsefFp.mjs → attributes-9sJ7OCyP.mjs} +32 -29
  4. package/es/{attributes-C0SMjnHG.mjs → attributes-B23RrL8i.mjs} +10 -8
  5. package/es/attributes-BL0o0sPi.mjs +34 -0
  6. package/es/{attributes-C5pimFaJ.mjs → attributes-Bfbf60g8.mjs} +17 -15
  7. package/es/attributes-C5CnEOVO.mjs +27 -0
  8. package/es/attributes-C64FfSI6.mjs +49 -0
  9. package/es/attributes-COqeO1sM.mjs +43 -0
  10. package/es/attributes-Di0JYz_d.mjs +41 -0
  11. package/es/attributes-Dp2yHpTx.mjs +37 -0
  12. package/es/{attributes-DdjjVR4N.mjs → attributes-DrbTSAq7.mjs} +10 -8
  13. package/es/{attributes-Dv8IMI4h.mjs → attributes-woY1Zfl3.mjs} +10 -8
  14. package/es/{attributes-E8oqU4q7.mjs → attributes-xzP7st08.mjs} +11 -9
  15. package/es/index-B1V_yDHb.mjs +47 -0
  16. package/es/{index-C6HV7IaP.mjs → index-B8GWWFIH.mjs} +30 -28
  17. package/es/{index-CpYmNO_5.mjs → index-B9wcrwqH.mjs} +55 -55
  18. package/es/{index-n9OtRMYa.mjs → index-BEdp0lB5.mjs} +30 -29
  19. package/es/index-BhEDT1MV.mjs +51 -0
  20. package/es/{index-DyB0TE1y.mjs → index-BkI6wVdV.mjs} +27 -25
  21. package/es/index-C3rjkbw6.mjs +46 -0
  22. package/es/{index-CRDggJyg.mjs → index-C4z4Sjq2.mjs} +61 -61
  23. package/es/{index-D--V8m-b.mjs → index-CFTpYaN8.mjs} +9 -9
  24. package/es/index-CG3CqHvP.mjs +43 -0
  25. package/es/{index-D_0vVSWq.mjs → index-CRraYtwg.mjs} +11 -9
  26. package/es/index-CTuwto2f.mjs +37 -0
  27. package/es/{index-B4KSL-Bu.mjs → index-CXzm2s6x.mjs} +11 -9
  28. package/es/index-Cg9iT8Uy.mjs +40 -0
  29. package/es/index-D2B6_fCJ.mjs +19 -0
  30. package/es/{index-guYPVm3G.mjs → index-D5seKG8I.mjs} +2 -2
  31. package/es/index-D8pMW8U5.mjs +61 -0
  32. package/es/{index-B8JqjjA1.mjs → index-D9o0U9Ub.mjs} +4 -4
  33. package/es/{index-Ljz96Vra.mjs → index-DG3JLNqh.mjs} +16 -14
  34. package/es/{index-Bvab-NQ4.mjs → index-D_XJCVB-.mjs} +24 -22
  35. package/es/index-Di6zy82j.mjs +48 -0
  36. package/es/index-Dqe0ts3H.mjs +26 -0
  37. package/es/index-DvVQnQMe.mjs +42 -0
  38. package/es/{index-B9Nb8R2I.mjs → index-DzOSmpKj.mjs} +17 -16
  39. package/es/{index-CyS-CdYv.mjs → index-XNZ9XEE4.mjs} +13 -12
  40. package/es/{index-Dh00vKAk.mjs → index-vk4BFyhF.mjs} +15 -13
  41. package/es/{index-ryl5yfWq.mjs → index-w5Djwuhu.mjs} +13 -11
  42. package/es/{index-D1ux0Voe.mjs → index-yEFPa0R2.mjs} +2 -2
  43. package/es/index.mjs +3 -3
  44. package/es/{selectPage-D267xnl4.mjs → selectPage-B19KQBZQ.mjs} +1 -1
  45. package/es/useCurrentPageId-BzI1Jj2f.mjs +20 -0
  46. package/package.json +1 -1
  47. package/types/src/export/components/RenderEditor/index.d.ts +2 -2
  48. package/types/src/export/index.d.ts +2 -2
  49. package/types/src/pages/components/Header/index.d.ts +1 -1
  50. package/es/attributes-BWtBVgsg.mjs +0 -41
  51. package/es/attributes-BuMChZnt.mjs +0 -47
  52. package/es/attributes-COwKDUMI.mjs +0 -35
  53. package/es/attributes-C_fbpAUx.mjs +0 -25
  54. package/es/attributes-DztmBsKn.mjs +0 -32
  55. package/es/attributes-YL1J6lLR.mjs +0 -39
  56. package/es/index-BRgbtPVH.mjs +0 -45
  57. package/es/index-BUth1V1H.mjs +0 -41
  58. package/es/index-BYJ5e2rN.mjs +0 -38
  59. package/es/index-BYe40Zu2.mjs +0 -46
  60. package/es/index-BzpuXSbE.mjs +0 -49
  61. package/es/index-CBxj6uKJ.mjs +0 -35
  62. package/es/index-CUkul7R0.mjs +0 -44
  63. package/es/index-DQU0jlV0.mjs +0 -24
  64. package/es/index-KruFCy9N.mjs +0 -17
  65. package/es/index-hPKl41YD.mjs +0 -40
  66. package/es/index-qoPI1H9i.mjs +0 -59
  67. package/es/useCurrentPageId-DM05DNLI.mjs +0 -18
@@ -1,23 +1,25 @@
1
- import { jsx as o, Fragment as f } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
1
+ import { jsx as s, Fragment as f } from "react/jsx-runtime";
2
2
  import g, { useState as w, useMemo as m, useEffect as y, useRef as l, Suspense as C } from "react";
3
- import { u as R } from "./index-CRDggJyg.mjs";
4
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
+ import { u as R } from "./index-C4z4Sjq2.mjs";
4
+ import "localforage";
5
5
  import "react-dom";
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";
6
+ import "react-dom/client";
7
7
  import "antd";
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
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
10
- import { d as S, e as v, f as x, h as N, u as H, l as q, c as B, b as P, P as _ } from "./index-C6HV7IaP.mjs";
11
- import $ from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import { d as S, e as v, f as x, h as N, u as H, l as q, c as B, b as P, P as _ } from "./index-B8GWWFIH.mjs";
12
+ import "ahooks";
13
+ import $ from "classnames";
12
14
  import { u as b } from "./useResizeDom-B6mM4jrh.mjs";
13
15
  function k(e) {
14
- const [n, t] = w(e == null ? void 0 : e.componentNode), c = (n == null ? void 0 : n.show) ?? !0, { engine: r } = R(), s = m(() => r.component.get(n.cId), [n == null ? void 0 : n.cId, e == null ? void 0 : e.packages]);
16
+ const [n, t] = w(e == null ? void 0 : e.componentNode), c = (n == null ? void 0 : n.show) ?? !0, { engine: r } = R(), o = m(() => r.component.get(n.cId), [n == null ? void 0 : n.cId, e == null ? void 0 : e.packages]);
15
17
  return y(() => r.componentNode.onChange(n.id, ({ payload: i }) => {
16
18
  t({ ...i });
17
- }), []), s && c ? /* @__PURE__ */ o(E, { componentNode: n, component: s }) : /* @__PURE__ */ o(f, {});
19
+ }), []), o && c ? /* @__PURE__ */ s(E, { componentNode: n, component: o }) : /* @__PURE__ */ s(f, {});
18
20
  }
19
21
  function E(e) {
20
- const { component: n, componentNode: t } = e, c = l(), r = l(null), { dataSource: s, requestInstance: i } = S(t), u = v(t.id), a = x(t.id);
22
+ const { component: n, componentNode: t } = e, c = l(), r = l(null), { dataSource: o, requestInstance: i } = S(t), u = v(t.id), a = x(t.id);
21
23
  return N({
22
24
  id: t.id,
23
25
  // 经过实例
@@ -50,7 +52,7 @@ function E(e) {
50
52
  },
51
53
  // 立刻请求一次
52
54
  request: (d, h) => i.request(d, h)
53
- }), /* @__PURE__ */ o(
55
+ }), /* @__PURE__ */ s(
54
56
  "div",
55
57
  {
56
58
  ref: r,
@@ -62,12 +64,12 @@ function E(e) {
62
64
  height: t.height,
63
65
  zIndex: t.level
64
66
  },
65
- children: /* @__PURE__ */ o(C, { children: /* @__PURE__ */ o(
67
+ children: /* @__PURE__ */ s(C, { children: /* @__PURE__ */ s(
66
68
  n.component,
67
69
  {
68
70
  handleTrigger: u,
69
71
  useExpose: a,
70
- dataSource: s,
72
+ dataSource: o,
71
73
  componentNode: t,
72
74
  options: t.options,
73
75
  width: t.width,
@@ -81,12 +83,12 @@ const I = "_fitScreenBody_1qzud_59", D = {
81
83
  fitScreenBody: I
82
84
  };
83
85
  function z(e) {
84
- const { dw: n = 1920, dh: t = 1080 } = e, c = l(null), r = l(null), s = m(() => n / t, [n, t]);
86
+ const { dw: n = 1920, dh: t = 1080 } = e, c = l(null), r = l(null), o = m(() => n / t, [n, t]);
85
87
  return b(c, () => {
86
88
  if (!c.current || !r.current)
87
89
  return;
88
90
  const i = c.current.getBoundingClientRect();
89
- if (i.width / i.height > s) {
91
+ if (i.width / i.height > o) {
90
92
  const a = i.height / t, d = a * n, h = (i.width - d) / 2;
91
93
  r.current.style.transform = `scale(${a}) translate3d(${h / a}px, 0, 0)`;
92
94
  } else {
@@ -94,7 +96,7 @@ function z(e) {
94
96
  r.current.style.transform = `scale(${a})`;
95
97
  }
96
98
  r.current.style.width = `${n}px`, r.current.style.height = `${t}px`;
97
- }), /* @__PURE__ */ o("div", { className: e == null ? void 0 : e.className, ref: c, style: e == null ? void 0 : e.style, children: /* @__PURE__ */ o(
99
+ }), /* @__PURE__ */ s("div", { className: e == null ? void 0 : e.className, ref: c, style: e == null ? void 0 : e.style, children: /* @__PURE__ */ s(
98
100
  "div",
99
101
  {
100
102
  className: $(e == null ? void 0 : e.bodyClassName, D.fitScreenBody),
@@ -107,34 +109,34 @@ function z(e) {
107
109
  const U = "_preview_x6h89_59", j = {
108
110
  preview: U
109
111
  };
110
- function X(e) {
111
- const { engine: n, json: t } = e, c = H(), { options: r } = q() || {}, s = B(), i = P(), u = m(() => {
112
+ function Z(e) {
113
+ const { engine: n, json: t } = e, c = H(), { options: r } = q() || {}, o = B(), i = P(), u = m(() => {
112
114
  var a;
113
- return s.length ? (a = i == null ? void 0 : i.map) == null ? void 0 : a.call(i, (d) => /* @__PURE__ */ o(
115
+ return o.length ? (a = i == null ? void 0 : i.map) == null ? void 0 : a.call(i, (d) => /* @__PURE__ */ s(
114
116
  k,
115
117
  {
116
118
  componentNode: d,
117
- packages: s
119
+ packages: o
118
120
  },
119
121
  d == null ? void 0 : d.id
120
122
  )) : [];
121
- }, [i, s]);
123
+ }, [i, o]);
122
124
  return g.useEffect(() => {
123
125
  n.loadJSON(t).then(() => {
124
126
  var a;
125
127
  (a = e == null ? void 0 : e.onJSONLoad) == null || a.call(e);
126
128
  });
127
- }, []), /* @__PURE__ */ o(
129
+ }, []), /* @__PURE__ */ s(
128
130
  z,
129
131
  {
130
132
  className: j.preview,
131
133
  dw: (c == null ? void 0 : c.width) || 1920,
132
134
  dh: (c == null ? void 0 : c.height) || 1080,
133
135
  style: { background: r == null ? void 0 : r.whiteBoardColor },
134
- children: /* @__PURE__ */ o(_, { preview: !0, style: { width: "100%", height: "100%" }, children: u })
136
+ children: /* @__PURE__ */ s(_, { preview: !0, style: { width: "100%", height: "100%" }, children: u })
135
137
  }
136
138
  );
137
139
  }
138
140
  export {
139
- X as default
141
+ Z as default
140
142
  };
@@ -0,0 +1,46 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { R as r } from "./index-CFTpYaN8.mjs";
3
+ import { n as a } from "./index-C4z4Sjq2.mjs";
4
+ import "localforage";
5
+ import "react";
6
+ import "react-dom";
7
+ import "react-dom/client";
8
+ import "antd";
9
+ import "driver.js";
10
+ import "driver.js/dist/driver.css";
11
+ import "lodash-es";
12
+ import "ahooks";
13
+ const A = a((t) => {
14
+ const { width: e, height: o } = t;
15
+ return /* @__PURE__ */ i(
16
+ r,
17
+ {
18
+ options: {
19
+ tooltip: {
20
+ trigger: "item"
21
+ },
22
+ series: [
23
+ {
24
+ name: "Access From",
25
+ type: "pie",
26
+ radius: "50%",
27
+ data: [
28
+ { value: 1048, name: "Search Engine" },
29
+ { value: 735, name: "Direct" },
30
+ { value: 580, name: "Email" },
31
+ { value: 484, name: "Union Ads" },
32
+ { value: 300, name: "Video Ads" }
33
+ ]
34
+ }
35
+ ]
36
+ },
37
+ style: {
38
+ width: e,
39
+ height: o
40
+ }
41
+ }
42
+ );
43
+ });
44
+ export {
45
+ A as default
46
+ };
@@ -1,24 +1,24 @@
1
1
  var Ye = Object.defineProperty;
2
2
  var Qe = (r, e, t) => e in r ? Ye(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var d = (r, e, t) => Qe(r, typeof e != "symbol" ? e + "" : e, t);
4
- import { jsx as u, jsxs as C, Fragment as et } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
5
- import { create as tt } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/zustand@5.0.8_@types+react@18.3.26_react@18.3.1/node_modules/zustand/esm/index.mjs";
6
- import re from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
+ import { jsx as u, jsxs as C, Fragment as et } from "react/jsx-runtime";
5
+ import { create as tt } from "zustand";
6
+ import re from "localforage";
7
7
  import c, { createContext as at, useRef as R, useCallback as nt, useMemo as G, isValidElement as it, useEffect as J, useContext as rt, useState as x, forwardRef as ot, useImperativeHandle as st } from "react";
8
8
  import lt from "react-dom";
9
- import ct, { createRoot as ue } 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";
9
+ import ct, { createRoot as ue } from "react-dom/client";
10
10
  import * as dt from "antd";
11
11
  import { Form as F, Tooltip as D, Button as he, Input as ge, Space as fe, message as me, Modal as ut, Table as ht } from "antd";
12
- import { driver as gt } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
13
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
14
- import k from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
15
- import { SaveOutlined as ft, EditOutlined as mt, DeleteOutlined as yt, QuestionCircleOutlined as pt, PlusOutlined as vt } 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";
16
- import ye from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/i18next@24.2.3_typescript@5.9.3/node_modules/i18next/dist/esm/i18next.js";
17
- import { initReactI18next as _t } 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";
18
- import bt from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/i18next-browser-languagedetector@8.2.0/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
19
- import xt from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/umi-request@1.4.0/node_modules/umi-request/dist/index.esm.js";
20
- import { useUpdateEffect as It, useUnmount as wt, useRequest as St } 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";
21
- import { omit as Ct, cloneDeep as pe } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js";
12
+ import { driver as gt } from "driver.js";
13
+ import "driver.js/dist/driver.css";
14
+ import { omit as ft, cloneDeep as ye } from "lodash-es";
15
+ import k from "classnames";
16
+ import { SaveOutlined as mt, EditOutlined as yt, DeleteOutlined as pt, QuestionCircleOutlined as vt, PlusOutlined as _t } from "@ant-design/icons";
17
+ import pe from "i18next";
18
+ import { initReactI18next as bt } from "react-i18next";
19
+ import xt from "i18next-browser-languagedetector";
20
+ import It from "umi-request";
21
+ import { useUpdateEffect as wt, useUnmount as St, useRequest as Ct } from "ahooks";
22
22
  const B = {
23
23
  scale: 1,
24
24
  scaleDefault: 1,
@@ -540,7 +540,7 @@ const Ot = "_configRender_wy2nc_59", Dt = "_configRender_item_wy2nc_65", Rt = "_
540
540
  function le() {
541
541
  return rt(Ie);
542
542
  }
543
- import("./index-B9Nb8R2I.mjs").then((r) => {
543
+ import("./index-DzOSmpKj.mjs").then((r) => {
544
544
  var e;
545
545
  (e = r.default) == null || e.call(r);
546
546
  });
@@ -825,7 +825,7 @@ class Bt {
825
825
  const a = {
826
826
  ...$t,
827
827
  // 基础默认组件数据
828
- ...Ct(e, [
828
+ ...ft(e, [
829
829
  "icon",
830
830
  "component",
831
831
  "attributesComponent",
@@ -1044,7 +1044,7 @@ class Ut {
1044
1044
  }
1045
1045
  // 初始化pages
1046
1046
  init(e = [], t = []) {
1047
- this.globalComponentNodes = {}, this.pageMap = { [S.id]: { children: [] } }, this.pages = t != null && t.length ? t : [pe(S)], this.pages.forEach((a) => {
1047
+ this.globalComponentNodes = {}, this.pageMap = { [S.id]: { children: [] } }, this.pages = t != null && t.length ? t : [ye(S)], this.pages.forEach((a) => {
1048
1048
  var n, i;
1049
1049
  (n = this.pageMap)[i = a.id] || (n[i] = { children: [] });
1050
1050
  }), e.forEach((a) => {
@@ -1321,7 +1321,7 @@ const j = {
1321
1321
  default: Qt
1322
1322
  }, Symbol.toStringTag, { value: "Module" })), Pe = [{ label: "输入文本", value: "input" }], ze = [{ label: "修改值", value: "changeValue" }], ta = T((r) => {
1323
1323
  const { width: e, height: t, options: a, handleTrigger: n, useExpose: i } = r, [o, s] = x(a == null ? void 0 : a.value);
1324
- return It(() => {
1324
+ return wt(() => {
1325
1325
  s(a == null ? void 0 : a.value);
1326
1326
  }, [a == null ? void 0 : a.value]), i({
1327
1327
  changeValue: (l) => {
@@ -1475,8 +1475,8 @@ const j = {
1475
1475
  y: 0,
1476
1476
  width: 500,
1477
1477
  height: 300,
1478
- component: c.lazy(() => import("./index-KruFCy9N.mjs")),
1479
- attributesComponent: c.lazy(() => import("./attributes-C_fbpAUx.mjs"))
1478
+ component: c.lazy(() => import("./index-D2B6_fCJ.mjs")),
1479
+ attributesComponent: c.lazy(() => import("./attributes-C5CnEOVO.mjs"))
1480
1480
  },
1481
1481
  {
1482
1482
  cId: "image",
@@ -1487,8 +1487,8 @@ const j = {
1487
1487
  y: 0,
1488
1488
  width: 270,
1489
1489
  height: 150,
1490
- component: c.lazy(() => import("./index-DQU0jlV0.mjs")),
1491
- attributesComponent: c.lazy(() => import("./attributes-COwKDUMI.mjs"))
1490
+ component: c.lazy(() => import("./index-Dqe0ts3H.mjs")),
1491
+ attributesComponent: c.lazy(() => import("./attributes-Dp2yHpTx.mjs"))
1492
1492
  },
1493
1493
  {
1494
1494
  cId: "dateDisplay",
@@ -1499,8 +1499,8 @@ const j = {
1499
1499
  y: 0,
1500
1500
  width: 250,
1501
1501
  height: 26,
1502
- component: c.lazy(() => import("./index-hPKl41YD.mjs")),
1503
- attributesComponent: c.lazy(() => import("./attributes-BuMChZnt.mjs"))
1502
+ component: c.lazy(() => import("./index-DvVQnQMe.mjs")),
1503
+ attributesComponent: c.lazy(() => import("./attributes-C64FfSI6.mjs"))
1504
1504
  },
1505
1505
  {
1506
1506
  cId: "doubleText",
@@ -1511,8 +1511,8 @@ const j = {
1511
1511
  y: 0,
1512
1512
  width: 120,
1513
1513
  height: 64,
1514
- component: c.lazy(() => import("./index-Dh00vKAk.mjs")),
1515
- attributesComponent: c.lazy(() => import("./attributes-DdjjVR4N.mjs"))
1514
+ component: c.lazy(() => import("./index-vk4BFyhF.mjs")),
1515
+ attributesComponent: c.lazy(() => import("./attributes-DrbTSAq7.mjs"))
1516
1516
  }
1517
1517
  ], da = "_carousel_1b8a0_59", ua = "_carousel_bordered_1b8a0_62", ce = {
1518
1518
  carousel: da,
@@ -1598,8 +1598,8 @@ function wa(r) {
1598
1598
  }
1599
1599
  ) }),
1600
1600
  /* @__PURE__ */ u("div", { className: b.editItem_right, children: /* @__PURE__ */ C(fe, { children: [
1601
- t ? /* @__PURE__ */ u(D, { title: "保存", children: /* @__PURE__ */ u(ft, { className: b.editList_opt, onClick: g }) }) : /* @__PURE__ */ u(D, { title: "编辑", children: /* @__PURE__ */ u(mt, { className: b.editList_opt, onClick: l }) }),
1602
- /* @__PURE__ */ u(D, { title: "删除", children: /* @__PURE__ */ u(yt, { className: b.editList_opt, onClick: () => {
1601
+ t ? /* @__PURE__ */ u(D, { title: "保存", children: /* @__PURE__ */ u(mt, { className: b.editList_opt, onClick: g }) }) : /* @__PURE__ */ u(D, { title: "编辑", children: /* @__PURE__ */ u(yt, { className: b.editList_opt, onClick: l }) }),
1602
+ /* @__PURE__ */ u(D, { title: "删除", children: /* @__PURE__ */ u(pt, { className: b.editList_opt, onClick: () => {
1603
1603
  var h;
1604
1604
  return (h = r == null ? void 0 : r.onDelete) == null ? void 0 : h.call(r);
1605
1605
  } }) })
@@ -1620,7 +1620,7 @@ function Sa(r) {
1620
1620
  centered: !0,
1621
1621
  open: e,
1622
1622
  title: /* @__PURE__ */ C(fe, { children: [
1623
- /* @__PURE__ */ u(pt, { style: { color: "#f66e0b" } }),
1623
+ /* @__PURE__ */ u(vt, { style: { color: "#f66e0b" } }),
1624
1624
  r == null ? void 0 : r.title
1625
1625
  ] }),
1626
1626
  onCancel: a,
@@ -1750,7 +1750,7 @@ function Ta(r) {
1750
1750
  size: "small",
1751
1751
  type: "dashed",
1752
1752
  block: !0,
1753
- icon: /* @__PURE__ */ u(vt, {}),
1753
+ icon: /* @__PURE__ */ u(_t, {}),
1754
1754
  style: { marginTop: 4 },
1755
1755
  onClick: () => g(),
1756
1756
  children: "新增"
@@ -1838,7 +1838,7 @@ const Me = [
1838
1838
  var p, f;
1839
1839
  const y = (f = (p = i.panels) == null ? void 0 : p.findIndex) == null ? void 0 : f.call(p, (_) => (_ == null ? void 0 : _.value) === (i == null ? void 0 : i.currentPanelId));
1840
1840
  y !== void 0 && v(y);
1841
- }, [i.currentPanelId, i.panels]), wt(() => {
1841
+ }, [i.currentPanelId, i.panels]), St(() => {
1842
1842
  e.componentNode.hidePanel(l.current);
1843
1843
  }), s({
1844
1844
  changePanel(y) {
@@ -1898,8 +1898,8 @@ const Me = [
1898
1898
  y: 0,
1899
1899
  width: 400,
1900
1900
  height: 300,
1901
- component: c.lazy(() => import("./index-BYJ5e2rN.mjs")),
1902
- attributesComponent: c.lazy(() => import("./attributes-C5pimFaJ.mjs")),
1901
+ component: c.lazy(() => import("./index-Cg9iT8Uy.mjs")),
1902
+ attributesComponent: c.lazy(() => import("./attributes-Bfbf60g8.mjs")),
1903
1903
  icon: () => import("./specialCard-jikYSVVg.mjs"),
1904
1904
  panels: [{ label: "特殊卡片", value: "" }]
1905
1905
  }
@@ -1913,7 +1913,7 @@ const Me = [
1913
1913
  y: 0,
1914
1914
  width: 250,
1915
1915
  height: 250,
1916
- component: c.lazy(() => import("./index-CUkul7R0.mjs"))
1916
+ component: c.lazy(() => import("./index-C3rjkbw6.mjs"))
1917
1917
  },
1918
1918
  {
1919
1919
  cId: "line",
@@ -1924,8 +1924,8 @@ const Me = [
1924
1924
  y: 0,
1925
1925
  width: 250,
1926
1926
  height: 250,
1927
- component: c.lazy(() => import("./index-qoPI1H9i.mjs")),
1928
- attributesComponent: c.lazy(() => import("./attributes-w4UsefFp.mjs")),
1927
+ component: c.lazy(() => import("./index-D8pMW8U5.mjs")),
1928
+ attributesComponent: c.lazy(() => import("./attributes-9sJ7OCyP.mjs")),
1929
1929
  dataSourceType: "static",
1930
1930
  staticDataSource: [
1931
1931
  { name: "选项一", value1: 100, value2: 200, value3: 300 },
@@ -1942,7 +1942,7 @@ const Me = [
1942
1942
  y: 0,
1943
1943
  width: 250,
1944
1944
  height: 250,
1945
- component: c.lazy(() => import("./index-BUth1V1H.mjs"))
1945
+ component: c.lazy(() => import("./index-CG3CqHvP.mjs"))
1946
1946
  },
1947
1947
  {
1948
1948
  cId: "radar",
@@ -1954,7 +1954,7 @@ const Me = [
1954
1954
  width: 350,
1955
1955
  height: 300,
1956
1956
  options: {},
1957
- component: c.lazy(() => import("./index-BzpuXSbE.mjs"))
1957
+ component: c.lazy(() => import("./index-BhEDT1MV.mjs"))
1958
1958
  },
1959
1959
  {
1960
1960
  cId: "gauge",
@@ -1966,7 +1966,7 @@ const Me = [
1966
1966
  width: 350,
1967
1967
  height: 300,
1968
1968
  options: {},
1969
- component: c.lazy(() => import("./index-BRgbtPVH.mjs"))
1969
+ component: c.lazy(() => import("./index-B1V_yDHb.mjs"))
1970
1970
  },
1971
1971
  {
1972
1972
  cId: "horizontalBar",
@@ -1978,7 +1978,7 @@ const Me = [
1978
1978
  width: 350,
1979
1979
  height: 300,
1980
1980
  options: {},
1981
- component: c.lazy(() => import("./index-ryl5yfWq.mjs"))
1981
+ component: c.lazy(() => import("./index-w5Djwuhu.mjs"))
1982
1982
  },
1983
1983
  {
1984
1984
  cId: "barLine",
@@ -1990,7 +1990,7 @@ const Me = [
1990
1990
  width: 350,
1991
1991
  height: 300,
1992
1992
  options: {},
1993
- component: c.lazy(() => import("./index-B4KSL-Bu.mjs"))
1993
+ component: c.lazy(() => import("./index-CXzm2s6x.mjs"))
1994
1994
  },
1995
1995
  {
1996
1996
  cId: "ring",
@@ -2002,8 +2002,8 @@ const Me = [
2002
2002
  width: 350,
2003
2003
  height: 300,
2004
2004
  options: {},
2005
- component: c.lazy(() => import("./index-Bvab-NQ4.mjs")),
2006
- attributesComponent: c.lazy(() => import("./attributes-YL1J6lLR.mjs"))
2005
+ component: c.lazy(() => import("./index-D_XJCVB-.mjs")),
2006
+ attributesComponent: c.lazy(() => import("./attributes-Di0JYz_d.mjs"))
2007
2007
  }
2008
2008
  ], Fa = [
2009
2009
  {
@@ -2017,7 +2017,7 @@ const Me = [
2017
2017
  width: 300,
2018
2018
  height: 32,
2019
2019
  isAllPage: !0,
2020
- component: c.lazy(() => import("./index-Ljz96Vra.mjs"))
2020
+ component: c.lazy(() => import("./index-DG3JLNqh.mjs"))
2021
2021
  }
2022
2022
  ];
2023
2023
  async function Ha(r, e = 300) {
@@ -2097,7 +2097,7 @@ const wn = ot(
2097
2097
  data: s = [],
2098
2098
  loading: l,
2099
2099
  refresh: g
2100
- } = St(
2100
+ } = Ct(
2101
2101
  async () => {
2102
2102
  const v = await Ha($a);
2103
2103
  return Ba(v, n);
@@ -2165,8 +2165,8 @@ const wn = ot(
2165
2165
  y: 0,
2166
2166
  width: 500,
2167
2167
  height: 500,
2168
- component: c.lazy(() => import("./index-n9OtRMYa.mjs")),
2169
- attributesComponent: c.lazy(() => import("./attributes-C0SMjnHG.mjs"))
2168
+ component: c.lazy(() => import("./index-BEdp0lB5.mjs")),
2169
+ attributesComponent: c.lazy(() => import("./attributes-B23RrL8i.mjs"))
2170
2170
  },
2171
2171
  {
2172
2172
  cId: "scrollList",
@@ -2187,8 +2187,8 @@ const wn = ot(
2187
2187
  { key: "5", title: "培训项目二", status: "2" },
2188
2188
  { key: "6", title: "tjh项目", status: "1" }
2189
2189
  ],
2190
- component: c.lazy(() => import("./index-CBxj6uKJ.mjs")),
2191
- attributesComponent: c.lazy(() => import("./attributes-DztmBsKn.mjs"))
2190
+ component: c.lazy(() => import("./index-CTuwto2f.mjs")),
2191
+ attributesComponent: c.lazy(() => import("./attributes-BL0o0sPi.mjs"))
2192
2192
  },
2193
2193
  {
2194
2194
  cId: "defaultImage",
@@ -2200,8 +2200,8 @@ const wn = ot(
2200
2200
  y: 0,
2201
2201
  width: 150,
2202
2202
  height: 150,
2203
- component: c.lazy(() => import("./index-D_0vVSWq.mjs")),
2204
- attributesComponent: c.lazy(() => import("./attributes-E8oqU4q7.mjs"))
2203
+ component: c.lazy(() => import("./index-CRraYtwg.mjs")),
2204
+ attributesComponent: c.lazy(() => import("./attributes-xzP7st08.mjs"))
2205
2205
  },
2206
2206
  {
2207
2207
  cId: "ProgressList",
@@ -2222,8 +2222,8 @@ const wn = ot(
2222
2222
  { key: "5", title: "培训项目二", count: 200 },
2223
2223
  { key: "6", title: "tjh项目", count: 0 }
2224
2224
  ],
2225
- component: c.lazy(() => import("./index-CyS-CdYv.mjs")),
2226
- attributesComponent: c.lazy(() => import("./attributes-Dv8IMI4h.mjs"))
2225
+ component: c.lazy(() => import("./index-XNZ9XEE4.mjs")),
2226
+ attributesComponent: c.lazy(() => import("./attributes-woY1Zfl3.mjs"))
2227
2227
  },
2228
2228
  {
2229
2229
  cId: "specialTitle",
@@ -2235,14 +2235,14 @@ const wn = ot(
2235
2235
  y: 0,
2236
2236
  width: 500,
2237
2237
  height: 32,
2238
- component: c.lazy(() => import("./index-BYe40Zu2.mjs")),
2239
- attributesComponent: c.lazy(() => import("./attributes-BWtBVgsg.mjs"))
2238
+ component: c.lazy(() => import("./index-Di6zy82j.mjs")),
2239
+ attributesComponent: c.lazy(() => import("./attributes-COqeO1sM.mjs"))
2240
2240
  }
2241
2241
  ], ja = {
2242
2242
  id: "system",
2243
2243
  name: "默认组件包",
2244
2244
  origin: "system",
2245
- version: "0.0.20",
2245
+ version: "0.0.22",
2246
2246
  description: "由官方发布的组件库,随编辑器主版本迭代而更新。",
2247
2247
  components: [
2248
2248
  ...ca,
@@ -2473,9 +2473,9 @@ const Wa = {
2473
2473
  zh: "zh"
2474
2474
  };
2475
2475
  function Za(r) {
2476
- ye.changeLanguage(r);
2476
+ pe.changeLanguage(r);
2477
2477
  }
2478
- ye.use(bt).use(_t).init({
2478
+ pe.use(xt).use(bt).init({
2479
2479
  lng: "zh",
2480
2480
  fallbackLng: "en",
2481
2481
  resources: {
@@ -2535,7 +2535,7 @@ class Ka {
2535
2535
  getInitDataRecordItem() {
2536
2536
  return {
2537
2537
  stepId: "init",
2538
- data: pe(this.initData),
2538
+ data: ye(this.initData),
2539
2539
  isPass: !0
2540
2540
  };
2541
2541
  }
@@ -2597,7 +2597,7 @@ class Ka {
2597
2597
  };
2598
2598
  }
2599
2599
  }
2600
- xt.interceptors.request.use((r, e) => ((e == null ? void 0 : e.useCache) === void 0 && (e.useCache = !0, e.ttl === void 0 && (e.ttl = 2e3)), {
2600
+ It.interceptors.request.use((r, e) => ((e == null ? void 0 : e.useCache) === void 0 && (e.useCache = !0, e.ttl === void 0 && (e.ttl = 2e3)), {
2601
2601
  url: r,
2602
2602
  options: e
2603
2603
  }));
@@ -4253,7 +4253,7 @@ function main(value, {origin, target, option}) {
4253
4253
  }, Symbol.toStringTag, { value: "Module" })), Pn = {
4254
4254
  classic: Ge,
4255
4255
  multiple_components_interactive: Ke
4256
- }, O = "_$_rbs_current_engine_$_", en = c.lazy(() => import("./index-CpYmNO_5.mjs")), tn = c.lazy(() => import("./index-DyB0TE1y.mjs"));
4256
+ }, O = "_$_rbs_current_engine_$_", en = c.lazy(() => import("./index-B9wcrwqH.mjs")), tn = c.lazy(() => import("./index-BkI6wVdV.mjs"));
4257
4257
  class zn {
4258
4258
  constructor(e) {
4259
4259
  /** react createApp */
@@ -1,13 +1,13 @@
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";
1
+ import { jsx as R } from "react/jsx-runtime";
2
2
  import { useRef as m, useCallback as T, useEffect as E, useMemo as y } from "react";
3
- import * as f from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/core.js";
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
- 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
- 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
- import { CanvasRenderer as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/renderers.js";
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-CRDggJyg.mjs";
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";
3
+ import * as f from "echarts/core";
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 "echarts/charts";
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 "echarts/components";
6
+ import { LabelLayout as F, UniversalTransition as P } from "echarts/features";
7
+ import { CanvasRenderer as S } from "echarts/renderers";
8
+ import { useUpdateEffect as V } from "ahooks";
9
+ import "./index-C4z4Sjq2.mjs";
10
+ import "react-dom/client";
11
11
  import { u as q } from "./useResizeDom-B6mM4jrh.mjs";
12
12
  f.use([
13
13
  // 图表
@@ -0,0 +1,43 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { R as p } from "./index-CFTpYaN8.mjs";
3
+ import { n as e } from "./index-C4z4Sjq2.mjs";
4
+ import "localforage";
5
+ import "react";
6
+ import "react-dom";
7
+ import "react-dom/client";
8
+ import "antd";
9
+ import "driver.js";
10
+ import "driver.js/dist/driver.css";
11
+ import "lodash-es";
12
+ import "ahooks";
13
+ const g = e((t) => {
14
+ const { width: o, height: r } = t;
15
+ return /* @__PURE__ */ i(
16
+ p,
17
+ {
18
+ options: {
19
+ xAxis: {
20
+ type: "category",
21
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
22
+ },
23
+ yAxis: {
24
+ type: "value"
25
+ },
26
+ series: [
27
+ {
28
+ data: [120, 200, 150, 80, 70, 110, 130],
29
+ type: "bar",
30
+ barWidth: 12
31
+ }
32
+ ]
33
+ },
34
+ style: {
35
+ width: o,
36
+ height: r
37
+ }
38
+ }
39
+ );
40
+ });
41
+ export {
42
+ g as default
43
+ };
@@ -1,19 +1,21 @@
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
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
1
+ import { jsx as r, Fragment as a } from "react/jsx-runtime";
2
+ import { n } from "./index-C4z4Sjq2.mjs";
3
+ import "localforage";
4
4
  import m from "react";
5
5
  import "react-dom";
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";
6
+ import "react-dom/client";
7
7
  import "antd";
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
- 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 c } from "./attributes-E8oqU4q7.mjs";
8
+ import "driver.js";
9
+ import "driver.js/dist/driver.css";
10
+ import "lodash-es";
11
+ import "ahooks";
12
+ import { DEFAULT_OPTIONS as c } from "./attributes-xzP7st08.mjs";
11
13
  const b = /* @__PURE__ */ Object.assign({ "./assets/base-1.png": () => import("./base-1-Bxyjxg2p.mjs"), "./assets/base-2.png": () => import("./base-2-DwwJwZna.mjs"), "./assets/base-3.png": () => import("./base-3-Cgpni-Ls.mjs"), "./assets/base-4.png": () => import("./base-4-B347HMAK.mjs"), "./assets/bg-theme-1.jpeg": () => import("./bg-theme-1-C6_IGFfb.mjs"), "./assets/bg-theme-2.jpg": () => import("./bg-theme-2-CUzHZf9k.mjs"), "./assets/bg-theme-3.jpg": () => import("./bg-theme-3-D8JmxCmu.mjs"), "./assets/bg-theme-4.jpg": () => import("./bg-theme-4-DSDHPL-t.mjs"), "./assets/bg-theme-5.jpg": () => import("./bg-theme-5-CSy6VFVO.mjs"), "./assets/bg-theme-6.jpg": () => import("./bg-theme-6-rNDMxpbu.mjs"), "./assets/bg-theme-7.jpg": () => import("./bg-theme-7-X9aTr92s.mjs"), "./assets/clock.png": () => import("./clock-DnKpmpR_.mjs"), "./assets/com-bg-1.png": () => import("./com-bg-1-CziqISRC.mjs"), "./assets/com-bg-2.png": () => import("./com-bg-2-CJpBMT0l.mjs"), "./assets/com-bg-3.png": () => import("./com-bg-3--MVO0Zy-.mjs"), "./assets/com-bg-4.png": () => import("./com-bg-4-CtztvOjH.mjs"), "./assets/com-bg-5.png": () => import("./com-bg-5-Dn0jCJgl.mjs"), "./assets/com-bg-6.png": () => import("./com-bg-6-DerMFR5l.mjs"), "./assets/title-1.png": () => import("./title-1-d6ywbVeM.mjs"), "./assets/title-2.png": () => import("./title-2-D71Ygwgt.mjs"), "./assets/title-3.png": () => import("./title-3-X8ry0PXo.mjs"), "./assets/title-4.png": () => import("./title-4-HL43GPvP.mjs") });
12
14
  async function h(e) {
13
15
  if (e)
14
16
  return b[`./assets/${e}`]().then((s) => (s == null ? void 0 : s.default) || void 0);
15
17
  }
16
- const S = n((e) => {
18
+ const I = n((e) => {
17
19
  const { width: s, height: i, options: t } = e, [p, o] = m.useState();
18
20
  return m.useEffect(() => {
19
21
  h(t == null ? void 0 : t.id).then((g) => {
@@ -22,5 +24,5 @@ const S = n((e) => {
22
24
  }, [t == null ? void 0 : t.id]), p ? /* @__PURE__ */ r("img", { style: { width: s, height: i, pointerEvents: "none" }, alt: "预制图片", src: p }) : /* @__PURE__ */ r(a, {});
23
25
  }, c);
24
26
  export {
25
- S as default
27
+ I as default
26
28
  };