react-big-screen 0.0.2 → 0.0.5

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 (68) hide show
  1. package/es/{IInputNumber-D1VHHCf0.mjs → IInputNumber-Vk6zq2bP.mjs} +2 -2
  2. package/es/{Line-_Oh8Pbbj.mjs → Line-DVDoMjnT.mjs} +5 -5
  3. package/es/{attributes-ue-CmjAw.mjs → attributes--pMmyVOA.mjs} +13 -13
  4. package/es/attributes-5M5tr15v.mjs +40 -0
  5. package/es/{attributes-CSKP7npu.mjs → attributes-5oY9x5a8.mjs} +8 -8
  6. package/es/{attributes-DieePkzV.mjs → attributes-69TpVl_C.mjs} +8 -8
  7. package/es/attributes-BarVtVkc.mjs +24 -0
  8. package/es/{attributes-C4LeY1BZ.mjs → attributes-Bmw2Y3X-.mjs} +8 -8
  9. package/es/attributes-Br_S-XV8.mjs +46 -0
  10. package/es/{attributes-Bd6bjYNO.mjs → attributes-BuzJe_L3.mjs} +9 -9
  11. package/es/attributes-CV1JOSnS.mjs +34 -0
  12. package/es/attributes-Dx-HDQYt.mjs +31 -0
  13. package/es/{attributes-BwCVvyg1.mjs → attributes-M1ouFPxK.mjs} +8 -8
  14. package/es/attributes-hl6Z7Rhg.mjs +38 -0
  15. package/es/{index-oRp9BKd0.mjs → index-81o2kJRl.mjs} +37 -37
  16. package/es/{index-5L7Vf29E.mjs → index-8I5w9LRM.mjs} +9 -9
  17. package/es/index-B1ConyEs.mjs +16 -0
  18. package/es/index-B2lziyy2.mjs +43 -0
  19. package/es/{index-BXv4ZOBe.mjs → index-BGie_kIl.mjs} +13 -13
  20. package/es/{index-BE6SbJah.mjs → index-BZYI9uup.mjs} +11 -11
  21. package/es/index-BbOrP_75.mjs +34 -0
  22. package/es/{index-Bz8aOQKt.mjs → index-BbSp8EOW.mjs} +10 -10
  23. package/es/{index-BUdNXLkt.mjs → index-Bf7e59dz.mjs} +11 -11
  24. package/es/{index-syzd3ScW.mjs → index-BmB_YC5g.mjs} +10 -10
  25. package/es/{index-dvGAMCvV.mjs → index-C3DzVtht.mjs} +10 -10
  26. package/es/index-CD-Rbquv.mjs +37 -0
  27. package/es/{index-CWaDu7tv.mjs → index-CGoCT_sB.mjs} +9 -9
  28. package/es/{index-WI440ion.mjs → index-CaeoT-_5.mjs} +13 -13
  29. package/es/{index-w0pdPP5S.mjs → index-Cq0uVP0H.mjs} +3 -3
  30. package/es/{index-Bf6X5Fsf.mjs → index-DK0DhrYZ.mjs} +11 -11
  31. package/es/{index-NDbr0gtf.mjs → index-DmSPezaB.mjs} +15 -15
  32. package/es/index-DmxNnTw5.mjs +24 -0
  33. package/es/{index-EkKLbWrX.mjs → index-Dzhi5E4U.mjs} +84 -76
  34. package/es/index-FcRKrkDU.mjs +48 -0
  35. package/es/{index-B00lQcU7.mjs → index-Gc-vx-AD.mjs} +12 -12
  36. package/es/{index-NIXnXIfG.mjs → index-HMeXoNZ9.mjs} +10 -10
  37. package/es/{index-Bx44D9HL.mjs → index-IMjP7Auc.mjs} +40 -40
  38. package/es/index-dpApo5uV.mjs +39 -0
  39. package/es/{index-DzGMaMlo.mjs → index-jD1HLwKt.mjs} +7 -7
  40. package/es/{index-BVzODV3B.mjs → index-kvRZQZJ-.mjs} +3 -3
  41. package/es/index-u47sgtBE.mjs +44 -0
  42. package/es/index-w-xe9Qa5.mjs +40 -0
  43. package/es/index.mjs +5 -5
  44. package/es/{selectPage-BQkRPT-9.mjs → selectPage-BPu6n8Ns.mjs} +2 -2
  45. package/es/useCurrentPageId-Ba8-hQQl.mjs +17 -0
  46. package/es/useEffectOnce-Ct0JMBZd.mjs +7 -0
  47. package/es/useListenRef-Dqm6KZRj.mjs +8 -0
  48. package/es/{useResizeDom-CwFwXEqh.mjs → useResizeDom-BUgMcz6M.mjs} +2 -2
  49. package/package.json +5 -3
  50. package/types/src/export/index.d.ts +7 -1
  51. package/es/attributes-BPfIEMhu.mjs +0 -46
  52. package/es/attributes-CE73rly0.mjs +0 -34
  53. package/es/attributes-Ca3YwNp_.mjs +0 -40
  54. package/es/attributes-DZxC4B37.mjs +0 -24
  55. package/es/attributes-D_stokyh.mjs +0 -31
  56. package/es/attributes-LoqmZojB.mjs +0 -38
  57. package/es/index-7ZW-SCwo.mjs +0 -37
  58. package/es/index-BFdbTW64.mjs +0 -16
  59. package/es/index-BH8sNWnz.mjs +0 -40
  60. package/es/index-BSb4qVX4.mjs +0 -34
  61. package/es/index-CNVmSNi4.mjs +0 -48
  62. package/es/index-COR9xxjJ.mjs +0 -24
  63. package/es/index-Ch7bAVMa.mjs +0 -39
  64. package/es/index-D2MkDARx.mjs +0 -43
  65. package/es/index-Gk3zSHHS.mjs +0 -44
  66. package/es/useCurrentPageId-DrIZvYrl.mjs +0 -17
  67. package/es/useEffectOnce-DrBvWFlm.mjs +0 -7
  68. package/es/useListenRef-C7BrHZ68.mjs +0 -8
@@ -1,39 +1,39 @@
1
1
  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 te = (e, t, n) => bn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { jsx as l, jsxs as g, Fragment as W } from "/Users/tangjiahui/Desktop/big-screen-demo/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/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
6
- import { DownOutlined as Sn, ReloadOutlined as Q, 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 p, 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 qt, BarsOutlined as qn, FileOutlined as Un, AppstoreOutlined as Jn, FileTextOutlined as Wn, ApartmentOutlined as Vn, BankOutlined as Gn, HistoryOutlined as Xn, PlusOutlined as rt, RedoOutlined as Yn } from "/Users/tangjiahui/Desktop/big-screen-demo/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 Ut, Tabs as ei, Empty as xt } from "/Users/tangjiahui/Desktop/big-screen-demo/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
- import $ from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
9
- import { R as k, u as N, E as ti, a as ni, b as ii, c as ut, s as li, L as ci, d as ai, e as Jt, f as ht, g as it, l as ze, h as It, i as oi, j as kt, I as Te, k as di, m as ri } from "./index-EkKLbWrX.mjs";
10
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
11
- import { createPortal as si } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
12
- import { createRoot as Wt } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
13
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
14
- import "/Users/tangjiahui/Desktop/big-screen-demo/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-NDbr0gtf.mjs";
16
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-color@2.19.3_react@18.3.1/node_modules/react-color/es/index.js";
17
- import { I as ee, L as Le, a as z, C as vi, b as $e } from "./Line-_Oh8Pbbj.mjs";
18
- import { I as _t, a as bi } from "./IInputNumber-D1VHHCf0.mjs";
19
- import { useTranslation as se } from "/Users/tangjiahui/Desktop/big-screen-demo/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
- import lt from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/hotkeys-js@3.13.15/node_modules/hotkeys-js/dist/hotkeys.esm.js";
21
- import Ci from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
22
- import { cloneDeep as Yt, debounce as xi, groupBy as Ii, throttle as Zt } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js";
23
- import { useUpdateEffect as mt, useUnmount as Qt, useRequest as pt } from "/Users/tangjiahui/Desktop/big-screen-demo/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 q, i as ki, a as Si } from "./index-w0pdPP5S.mjs";
25
- import * as Ni from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/editor/editor.api.js";
26
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/language/json/monaco.contribution.js";
27
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.js";
28
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.contribution.js";
29
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution.js";
30
- import ft from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js";
31
- import { saveAs as en } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.js";
32
- import { u as tn } from "./useEffectOnce-DrBvWFlm.mjs";
33
- import { u as wi, s as Re } from "./selectPage-BQkRPT-9.mjs";
34
- import { u as Ei } from "./useCurrentPageId-DrIZvYrl.mjs";
35
- import { u as nn } from "./useListenRef-C7BrHZ68.mjs";
36
- import { I as Ce } from "./index-DzGMaMlo.mjs";
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";
6
+ import { DownOutlined as Sn, ReloadOutlined as Q, 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 p, 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 qt, BarsOutlined as qn, FileOutlined as Un, 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 Ut, 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
+ import $ from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
9
+ import { R as k, u as N, E as ti, a as ni, b as ii, c as ut, s as li, L as ci, d as ai, e as Jt, f as ht, g as it, l as ze, h as It, i as oi, j as kt, I as Te, k as di, m as ri } from "./index-Dzhi5E4U.mjs";
10
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
11
+ import { createPortal as si } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
12
+ 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
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
14
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
15
+ import { u as Ee, i as Ae, a as gt, b as Vt, c as Gt, g as ae, d as ui, e as hi, f as gi, h as _i, j as Xt, s as St, P as mi, k as fi, l as yi } from "./index-DmSPezaB.mjs";
16
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-color@2.19.3_react@18.3.1/node_modules/react-color/es/index.js";
17
+ import { I as ee, L as Le, a as z, C as vi, b as $e } from "./Line-DVDoMjnT.mjs";
18
+ import { I as _t, a as bi } from "./IInputNumber-Vk6zq2bP.mjs";
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";
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";
21
+ import Ci from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
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";
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";
24
+ import { I as q, i as ki, a as Si } from "./index-Cq0uVP0H.mjs";
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";
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";
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
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/monaco-editor@0.52.2/node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.contribution.js";
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";
30
+ import ft from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.js";
31
+ 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
+ import { u as tn } from "./useEffectOnce-Ct0JMBZd.mjs";
33
+ import { u as wi, s as Re } from "./selectPage-BPu6n8Ns.mjs";
34
+ import { u as Ei } from "./useCurrentPageId-Ba8-hQQl.mjs";
35
+ import { u as nn } from "./useListenRef-Dqm6KZRj.mjs";
36
+ import { I as Ce } from "./index-jD1HLwKt.mjs";
37
37
  async function ln(e) {
38
38
  return new Promise((t) => {
39
39
  let n = document.createElement("input");
@@ -815,7 +815,7 @@ const Sl = (e, t, n) => {
815
815
  };
816
816
  async function Nl(e) {
817
817
  var i;
818
- const t = await Sl(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-EkKLbWrX.mjs").then((c) => c.r), "../../../../../../public/example/multiple-components-interactive.json": () => import("./index-EkKLbWrX.mjs").then((c) => c.t) }), `../../../../../../public/example/${e}.json`, 9), n = k.getActiveEngine();
818
+ const t = await Sl(/* @__PURE__ */ Object.assign({ "../../../../../../public/example/classic.json": () => import("./index-Dzhi5E4U.mjs").then((c) => c.r), "../../../../../../public/example/multiple-components-interactive.json": () => import("./index-Dzhi5E4U.mjs").then((c) => c.t) }), `../../../../../../public/example/${e}.json`, 9), n = k.getActiveEngine();
819
819
  (i = n == null ? void 0 : n.loadJSON) == null || i.call(n, t);
820
820
  }
821
821
  function wl() {
@@ -4694,12 +4694,12 @@ function Kd() {
4694
4694
  }
4695
4695
  function Ir(e) {
4696
4696
  const { engine: t, json: n } = e;
4697
- return pi(), zt.useEffect(() => (t.loadJSON(n).then(() => {
4698
- var i;
4699
- (i = e == null ? void 0 : e.onJSONLoad) == null || i.call(e);
4700
- }), () => {
4701
- t.destroy();
4702
- }), []), /* @__PURE__ */ g("div", { className: G.page, children: [
4697
+ return pi(), zt.useEffect(() => {
4698
+ t.loadJSON(n).then(() => {
4699
+ var i;
4700
+ (i = e == null ? void 0 : e.onJSONLoad) == null || i.call(e);
4701
+ });
4702
+ }, []), /* @__PURE__ */ g("div", { className: G.page, children: [
4703
4703
  /* @__PURE__ */ l("div", { className: G.page_header, children: /* @__PURE__ */ l(Ll, {}) }),
4704
4704
  /* @__PURE__ */ g("div", { className: G.page_body, children: [
4705
4705
  /* @__PURE__ */ l("div", { className: G.page_body_left, id: "rbs-menu", children: /* @__PURE__ */ l(fa, {}) }),
@@ -0,0 +1,39 @@
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 { n as l } from "./index-Dzhi5E4U.mjs";
3
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
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
+ 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
+ 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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
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-Br_S-XV8.mjs";
10
+ import d from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
11
+ const D = l((m) => {
12
+ const { width: i, height: n, options: e } = m, r = c(null);
13
+ return a(() => {
14
+ function t() {
15
+ r.current.innerHTML = d().format("YYYY-MM-DD HH:mm:ss");
16
+ }
17
+ let o = setInterval(t, 1e3);
18
+ return t(), () => {
19
+ clearInterval(o);
20
+ };
21
+ }, []), /* @__PURE__ */ f(
22
+ "div",
23
+ {
24
+ style: {
25
+ width: i,
26
+ height: n,
27
+ color: e == null ? void 0 : e.color,
28
+ fontSize: e == null ? void 0 : e.fontSize,
29
+ textAlign: e == null ? void 0 : e.textAlign,
30
+ lineHeight: `${e == null ? void 0 : e.lineHeight}px`
31
+ },
32
+ ref: r,
33
+ children: 11
34
+ }
35
+ );
36
+ }, u);
37
+ export {
38
+ D as default
39
+ };
@@ -1,10 +1,10 @@
1
- import { jsxs as Q, jsx as b } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { useState as S } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
3
- import { Select as M } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/antd@4.24.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/index.js";
4
- import { useDebounceEffect as X, useUpdateEffect as V } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/ahooks@3.9.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/ahooks/es/index.js";
5
- import { u as Y } from "./useEffectOnce-DrBvWFlm.mjs";
6
- import { i as Z } from "./index-EkKLbWrX.mjs";
7
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
1
+ import { jsxs as Q, 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 { useState as S } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
3
+ import { Select as M } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/antd@4.24.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/index.js";
4
+ import { useDebounceEffect as X, useUpdateEffect as V } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/ahooks@3.9.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/ahooks/es/index.js";
5
+ import { u as Y } from "./useEffectOnce-Ct0JMBZd.mjs";
6
+ import { i as Z } from "./index-Dzhi5E4U.mjs";
7
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
8
8
  const q = (e, l) => {
9
9
  var r, f, d;
10
10
  return (d = (r = (l == null ? void 0 : l.children) || "") == null ? void 0 : r.toLowerCase) == null ? void 0 : d.call(r).includes((f = e == null ? void 0 : e.toLowerCase) == null ? void 0 : f.call(e));
@@ -1,6 +1,6 @@
1
- import { jsx as l, jsxs as x } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { forwardRef as I, useRef as r, useState as i, useImperativeHandle as M, useEffect as w } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
3
- import y from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
1
+ import { jsx as l, jsxs as x } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import { forwardRef as I, useRef as r, useState as i, useImperativeHandle as M, useEffect as w } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
3
+ import y from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
4
4
  const A = "_autoScroll_h2edl_59", D = "_autoScroll_inner_h2edl_65", H = "_scroll_h2edl_112", P = "_scroll_paused_h2edl_115", n = {
5
5
  autoScroll: A,
6
6
  autoScroll_inner: D,
@@ -0,0 +1,44 @@
1
+ import { jsx as e } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import { R as a } from "./index-BZYI9uup.mjs";
3
+ import { n as i } from "./index-Dzhi5E4U.mjs";
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";
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 "/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
+ const g = i((t) => {
11
+ const { width: r, height: o } = t;
12
+ return /* @__PURE__ */ e(
13
+ a,
14
+ {
15
+ options: {
16
+ tooltip: {
17
+ formatter: "{a} <br/>{b} : {c}%"
18
+ },
19
+ series: [
20
+ {
21
+ name: "Pressure",
22
+ type: "gauge",
23
+ detail: {
24
+ formatter: "{value}"
25
+ },
26
+ data: [
27
+ {
28
+ value: 50,
29
+ name: "SCORE"
30
+ }
31
+ ]
32
+ }
33
+ ]
34
+ },
35
+ style: {
36
+ width: r,
37
+ height: o
38
+ }
39
+ }
40
+ );
41
+ });
42
+ export {
43
+ g as default
44
+ };
@@ -0,0 +1,40 @@
1
+ import { jsx as i } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import { R as e } from "./index-BZYI9uup.mjs";
3
+ import { n as a } from "./index-Dzhi5E4U.mjs";
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";
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 "/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
+ const f = a((t) => {
11
+ const { width: o, height: r } = t;
12
+ return /* @__PURE__ */ i(
13
+ e,
14
+ {
15
+ options: {
16
+ xAxis: {
17
+ type: "category",
18
+ data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
19
+ },
20
+ yAxis: {
21
+ type: "value"
22
+ },
23
+ series: [
24
+ {
25
+ data: [120, 200, 150, 80, 70, 110, 130],
26
+ type: "bar",
27
+ barWidth: 12
28
+ }
29
+ ]
30
+ },
31
+ style: {
32
+ width: o,
33
+ height: r
34
+ }
35
+ }
36
+ );
37
+ });
38
+ export {
39
+ f as default
40
+ };
package/es/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { q as p, R as e, p as m, s as E } from "./index-EkKLbWrX.mjs";
3
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
4
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
5
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
1
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import { q as p, R as e, p as m, s as E } from "./index-Dzhi5E4U.mjs";
3
+ 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";
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";
6
6
  export {
7
7
  p as EXAMPLE,
8
8
  e as RbsEngine,
@@ -1,5 +1,5 @@
1
- import { useState as g, useEffect as r } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
2
- import { u as i, R as a } from "./index-EkKLbWrX.mjs";
1
+ import { useState as g, useEffect as r } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
2
+ import { u as i, R as a } from "./index-Dzhi5E4U.mjs";
3
3
  function f() {
4
4
  const [n, e] = g([]), { engine: t } = i();
5
5
  return r(() => {
@@ -0,0 +1,17 @@
1
+ import { b as i, D as m } from "./index-Dzhi5E4U.mjs";
2
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
4
+ 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 "/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 "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
7
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
8
+ import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
9
+ function g() {
10
+ return i((r) => {
11
+ var o;
12
+ return ((o = r == null ? void 0 : r.config) == null ? void 0 : o.currentPageId) || m.id;
13
+ });
14
+ }
15
+ export {
16
+ g as u
17
+ };
@@ -0,0 +1,7 @@
1
+ import { useEffect as f } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
2
+ function c(e) {
3
+ f(e, []);
4
+ }
5
+ export {
6
+ c as u
7
+ };
@@ -0,0 +1,8 @@
1
+ import { useRef as n } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
2
+ function f(e) {
3
+ const r = n(e);
4
+ return r.current = e, r;
5
+ }
6
+ export {
7
+ f as u
8
+ };
@@ -1,5 +1,5 @@
1
- import { useEffect as i } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
2
- import { u as m } from "./useListenRef-C7BrHZ68.mjs";
1
+ import { useEffect as i } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
2
+ import { u as m } from "./useListenRef-Dqm6KZRj.mjs";
3
3
  function p(r, n) {
4
4
  const e = m(n);
5
5
  i(() => {
package/package.json CHANGED
@@ -5,15 +5,17 @@
5
5
  "author": "tangjiahui-cn",
6
6
  "description": "一个前端大屏看板项目",
7
7
  "license": "ISC",
8
- "version": "0.0.2",
8
+ "version": "0.0.5",
9
9
  "module": "./es/index.mjs",
10
10
  "types": "./types/src/export/index.d.ts",
11
11
  "scripts": {
12
12
  "dev": "cross-env vite",
13
13
  "build": "tsc -b && vite build",
14
14
  "build:analyzer": "tsc -b cross-env mode=analyzer pnpm build",
15
- "build:esm": "tsc -b && cross-env LIB_MODE=1 vite build -c ./config/vite.buildEsmBundle.ts",
16
- "build-analysis:esm": "tsc -b && cross-env LIB_MODE=1 mode=analyzer vite build -c ./config/vite.buildEsmBundle.ts",
15
+ "build:esm": "tsc -b && cross-env LIB_MODE=1 vite build -c ./config/vite.buildESM.ts",
16
+ "build-analysis:esm": "tsc -b && cross-env LIB_MODE=1 mode=analyzer vite build -c ./config/vite.buildESM.ts",
17
+ "build:lib": "pnpm build:esm",
18
+ "publish-npm": "sh ./script/checkLogin.sh && pnpm build:lib && sh ./script/publish.sh",
17
19
  "lint": "eslint .",
18
20
  "preview": "vite preview",
19
21
  "postinstall": "husky install",
@@ -23,12 +23,18 @@ export declare class RbsEngine {
23
23
  mode: "edit" | "preview";
24
24
  /** 事件钩子 */
25
25
  private hooks;
26
+ private lastJson;
26
27
  constructor(options?: RbsEngineOptions);
27
28
  /**
28
29
  * 挂载dom(会触发编辑器渲染)
29
30
  * @param el 待挂载到的dom
30
31
  */
31
32
  mount(el: HTMLElement): Promise<void>;
33
+ /**
34
+ * 取消挂载dom
35
+ * @description 与destroy的区别是会保留json的状态,重新挂载dom即可重新渲染。
36
+ */
37
+ unmount(): Promise<void>;
32
38
  /**
33
39
  * 监听事件
34
40
  * @param type 事件类型
@@ -52,7 +58,7 @@ export declare class RbsEngine {
52
58
  /**
53
59
  * 销毁
54
60
  */
55
- destroy(): void;
61
+ destroy(): Promise<void>;
56
62
  /**
57
63
  * 导入JSONString(会触发渲染)
58
64
  * @param text json的文本格式
@@ -1,46 +0,0 @@
1
- import { o as e } from "./index-EkKLbWrX.mjs";
2
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
4
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
7
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
8
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
9
- const t = {
10
- color: "#F8E71C",
11
- fontSize: 20,
12
- lineHeight: 22
13
- }, a = e(
14
- [
15
- {
16
- key: "color",
17
- label: "字色",
18
- component: "colorPicker",
19
- options: {
20
- reset: !0,
21
- resetColor: t.color
22
- }
23
- },
24
- {
25
- key: "fontSize",
26
- label: "字号",
27
- component: "inputNumber"
28
- },
29
- {
30
- key: "lineHeight",
31
- label: "行高",
32
- labelTip: "单位:px",
33
- component: "inputNumber"
34
- },
35
- {
36
- key: "textAlign",
37
- label: "布局",
38
- component: "textAlignSelect"
39
- }
40
- ],
41
- t
42
- );
43
- export {
44
- t as DEFAULT_OPTIONS,
45
- a as default
46
- };
@@ -1,34 +0,0 @@
1
- import { o as t } from "./index-EkKLbWrX.mjs";
2
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
4
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
7
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
8
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
9
- const o = {
10
- src: "https://ts3.cn.mm.bing.net/th?id=OIP-C.3r1vguZyWFUJ80A2Nf2k3AHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=2&pid=3.1&rm=2"
11
- }, c = t(
12
- [
13
- {
14
- key: "src",
15
- label: "地址",
16
- component: "textarea",
17
- options: {
18
- autoSize: {
19
- minRows: 5
20
- }
21
- }
22
- },
23
- {
24
- key: "enablePreview",
25
- label: "启用预览",
26
- component: "checkbox"
27
- }
28
- ],
29
- o
30
- );
31
- export {
32
- o as DEFAULT_OPTIONS,
33
- c as default
34
- };
@@ -1,40 +0,0 @@
1
- import { o as e } from "./index-EkKLbWrX.mjs";
2
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
4
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
7
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
8
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
9
- const t = {
10
- color: "#2EDCF7",
11
- value: "一段文字",
12
- fontSize: 20,
13
- lineHeight: 32
14
- }, c = e(
15
- [
16
- { key: "value", label: "内容", component: "textarea" },
17
- { key: "fontSize", label: "字号", component: "inputNumber", options: { min: 8 } },
18
- {
19
- key: "lineHeight",
20
- label: "行高",
21
- labelTip: "单位px",
22
- component: "inputNumber",
23
- options: { min: 8 }
24
- },
25
- { key: "fontWeight", label: "字重", component: "fontWeightSelect" },
26
- {
27
- key: "color",
28
- label: "颜色",
29
- component: "colorPicker",
30
- options: {
31
- reset: !0
32
- }
33
- }
34
- ],
35
- t
36
- );
37
- export {
38
- t as DEFAULT_OPTIONS,
39
- c as default
40
- };
@@ -1,24 +0,0 @@
1
- import { o } from "./index-EkKLbWrX.mjs";
2
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
4
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
7
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
8
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
9
- const t = {
10
- background: "#223447"
11
- }, s = o(
12
- [
13
- {
14
- key: "background",
15
- label: "背景",
16
- component: "colorPicker"
17
- }
18
- ],
19
- t
20
- );
21
- export {
22
- t as DEFAULT_OPTIONS,
23
- s as default
24
- };
@@ -1,31 +0,0 @@
1
- import { jsx as o } from "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { o as t } from "./index-EkKLbWrX.mjs";
3
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
5
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
6
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
7
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- const r = {
10
- autoScroll: !0,
11
- pxPerSecond: 12
12
- }, u = t(
13
- [
14
- /* @__PURE__ */ o("b", { children: "滚动配置" }, "data"),
15
- {
16
- key: "pxPerSecond",
17
- label: "每秒滚动像素",
18
- component: "inputNumber"
19
- },
20
- {
21
- key: "autoScroll",
22
- label: "自动滚动",
23
- component: "checkbox"
24
- }
25
- ],
26
- r
27
- );
28
- export {
29
- r as DEFAULT_OPTIONS,
30
- u as default
31
- };
@@ -1,38 +0,0 @@
1
- import { o as t } from "./index-EkKLbWrX.mjs";
2
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
3
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
4
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
7
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
8
- import "/Users/tangjiahui/Desktop/big-screen-demo/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
9
- const o = {
10
- titleColor: "#000",
11
- subtextColor: "#bababa"
12
- }, b = t(
13
- [
14
- {
15
- key: "titleColor",
16
- label: "标题颜色",
17
- component: "colorPicker",
18
- options: {
19
- reset: !0,
20
- presetColor: o == null ? void 0 : o.titleColor
21
- }
22
- },
23
- {
24
- key: "subtextColor",
25
- label: "副标题颜色",
26
- component: "colorPicker",
27
- options: {
28
- reset: !0,
29
- presetColor: o == null ? void 0 : o.subtextColor
30
- }
31
- }
32
- ],
33
- o
34
- );
35
- export {
36
- o as DEFAULT_OPTIONS,
37
- b as default
38
- };