react-big-screen 0.0.19 → 0.0.20

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-Vk6zq2bP.mjs} +3 -3
  2. package/es/{Line-h-rhOKev.mjs → Line-nA3VtARp.mjs} +37 -37
  3. package/es/{attributes-CxnJg-FT.mjs → attributes-BDcSpbcs.mjs} +3 -3
  4. package/es/{attributes-DBip_IK_.mjs → attributes-BWjMqQ_s.mjs} +56 -55
  5. package/es/{attributes-NVduSBUS.mjs → attributes-BZxcK9tt.mjs} +4 -4
  6. package/es/{attributes-BDv3jJ5O.mjs → attributes-C7YISj8O.mjs} +3 -3
  7. package/es/{attributes-CauLjFb0.mjs → attributes-CbI6ZNLl.mjs} +3 -3
  8. package/es/{attributes-DYnxULqW.mjs → attributes-Cg2w2wqR.mjs} +3 -3
  9. package/es/{attributes-BIXlzE3A.mjs → attributes-Ck-M5Rw3.mjs} +3 -3
  10. package/es/{attributes-CgnjWsLu.mjs → attributes-Dk4Khv-P.mjs} +3 -3
  11. package/es/{attributes-5RpQLPsm.mjs → attributes-DuAsVU2g.mjs} +6 -6
  12. package/es/{attributes-CqNLwRW3.mjs → attributes-Nwf_EnEX.mjs} +7 -7
  13. package/es/{attributes-CuUxWoIW.mjs → attributes-OZgEPZfV.mjs} +3 -3
  14. package/es/{attributes-B8s8kYoD.mjs → attributes-jJg_yENs.mjs} +3 -3
  15. package/es/{index-D07zNDg9.mjs → index-7n0O_7or.mjs} +11 -11
  16. package/es/{index-Dvs_cgct.mjs → index-B1ohG9Hu.mjs} +8 -8
  17. package/es/{index-CFdcAnNu.mjs → index-B75SSKFG.mjs} +5 -5
  18. package/es/{index-CBAcYtqX.mjs → index-B8Ei_KZZ.mjs} +5 -5
  19. package/es/{index-Bdqrb_sj.mjs → index-BF07nOIu.mjs} +5 -5
  20. package/es/{index-Bi3lZwlI.mjs → index-BUic5qZC.mjs} +55 -54
  21. package/es/{index-BVjByyUe.mjs → index-BemZB0VC.mjs} +4 -4
  22. package/es/{index-C49BBpRX.mjs → index-BnaaZaeo.mjs} +5 -5
  23. package/es/index-Bwm3aMXZ.mjs +4441 -0
  24. package/es/{index-BFdLFt4J.mjs → index-C7UdPRSB.mjs} +4 -4
  25. package/es/{index-GdH3Zwz0.mjs → index-C8d60TqQ.mjs} +5 -5
  26. package/es/{index-DzRsgn_u.mjs → index-CBBKPguI.mjs} +18 -18
  27. package/es/{index-BInCuYp5.mjs → index-CKqOSJ9y.mjs} +17 -16
  28. package/es/{index-Daza1EsK.mjs → index-CLnTLLjS.mjs} +3 -3
  29. package/es/{index-DCIgeYYw.mjs → index-COVC4gVe.mjs} +4 -4
  30. package/es/{index-umVDADGS.mjs → index-CR3gnAfy.mjs} +5 -5
  31. package/es/{index-56XQx0At.mjs → index-CXKN_KjL.mjs} +4 -4
  32. package/es/{index-Cm-Rzkqs.mjs → index-CaUBqf8D.mjs} +46 -45
  33. package/es/{index-nSniwbAA.mjs → index-Ce7eAD1W.mjs} +8 -7
  34. package/es/index-Cq0uVP0H.mjs +29 -0
  35. package/es/{index-8Jjn38kS.mjs → index-CrN898XP.mjs} +22 -21
  36. package/es/{index-CgI9EXqn.mjs → index-DB3YcEiT.mjs} +4 -4
  37. package/es/{index-i0K7Ynj-.mjs → index-DcyXbsRZ.mjs} +4 -4
  38. package/es/{index-BAzeX1Ol.mjs → index-DuXGzYdH.mjs} +29 -28
  39. package/es/{index-Dkl0nzkU.mjs → index-TjFlu-86.mjs} +6 -6
  40. package/es/{index-kvRZQZJ-.mjs → index-guYPVm3G.mjs} +1 -1
  41. package/es/{index-SkjPQ6Pt.mjs → index-hRI5WRPs.mjs} +4 -4
  42. package/es/{index-CjeVSp69.mjs → index-nTep9Ubc.mjs} +5 -5
  43. package/es/index.mjs +6 -6
  44. package/es/{selectPage-ChSsIBe9.mjs → selectPage-BfNytQ95.mjs} +2 -2
  45. package/es/{useCurrentPageId-BlVc4whf.mjs → useCurrentPageId-C1KnE1O3.mjs} +3 -3
  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,15 +1,16 @@
1
1
  import { jsx as n, jsxs as g } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { G as l, T as v, t as h, S as C } from "./index-BhafNo6T.mjs";
3
- import { I as u } from "./index-BAzeX1Ol.mjs";
4
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
2
+ import { C as l } from "./index-Bwm3aMXZ.mjs";
3
+ import { I as u } from "./index-DuXGzYdH.mjs";
4
+ import "react";
5
5
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
6
  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";
7
- import { I as f, b } from "./Line-h-rhOKev.mjs";
7
+ import { I as v, b as C } from "./Line-nA3VtARp.mjs";
8
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
9
- import { I as m, a as o } from "./IInputNumber-8TbQFEeQ.mjs";
9
+ import { I as f, a as m } from "./IInputNumber-Vk6zq2bP.mjs";
10
+ import { Tooltip as o, Checkbox as h, Slider as b } 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";
10
11
  import { ReloadOutlined as x } 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";
11
- import { useTranslation as y } 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";
12
- const k = () => {
12
+ import { useTranslation as r } 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";
13
+ const y = () => {
13
14
  l.register("select", (e) => /* @__PURE__ */ n(
14
15
  u,
15
16
  {
@@ -20,7 +21,7 @@ const k = () => {
20
21
  }
21
22
  ));
22
23
  };
23
- function r(e) {
24
+ function k(e) {
24
25
  return /* @__PURE__ */ n(
25
26
  u,
26
27
  {
@@ -50,14 +51,14 @@ function I(e) {
50
51
  );
51
52
  }
52
53
  function d(e) {
53
- const [t] = y();
54
- return /* @__PURE__ */ n(v, { title: t("reset"), children: /* @__PURE__ */ n(x, { className: "icon_clickable", onClick: e == null ? void 0 : e.onClick }) });
54
+ const [t] = r();
55
+ return /* @__PURE__ */ n(o, { title: t("reset"), children: /* @__PURE__ */ n(x, { className: "icon_clickable", onClick: e == null ? void 0 : e.onClick }) });
55
56
  }
56
57
  const S = () => {
57
- l.register("input", (e) => /* @__PURE__ */ n(f, { ...e == null ? void 0 : e.options, value: e.value, onChange: e.onChange }));
58
- }, T = () => {
58
+ l.register("input", (e) => /* @__PURE__ */ n(v, { ...e == null ? void 0 : e.options, value: e.value, onChange: e.onChange }));
59
+ }, w = () => {
59
60
  l.register("inputNumber", (e) => /* @__PURE__ */ n(
60
- m,
61
+ f,
61
62
  {
62
63
  style: { width: "100%" },
63
64
  ...e == null ? void 0 : e.options,
@@ -65,9 +66,9 @@ const S = () => {
65
66
  onChange: e.onChange
66
67
  }
67
68
  ));
68
- }, w = () => {
69
+ }, T = () => {
69
70
  l.register("textarea", (e) => /* @__PURE__ */ n(
70
- o,
71
+ m,
71
72
  {
72
73
  ...e == null ? void 0 : e.options,
73
74
  value: e.value,
@@ -76,7 +77,7 @@ const S = () => {
76
77
  ));
77
78
  }, N = () => {
78
79
  l.register("fontWeightSelect", (e) => /* @__PURE__ */ n(
79
- r,
80
+ k,
80
81
  {
81
82
  style: { width: "100%" },
82
83
  ...e == null ? void 0 : e.options,
@@ -94,7 +95,7 @@ const S = () => {
94
95
  resetColor: c
95
96
  // 重置颜色
96
97
  } = (e == null ? void 0 : e.options) || {}, i = /* @__PURE__ */ n(
97
- b,
98
+ C,
98
99
  {
99
100
  style: { width: "100%" },
100
101
  ...e == null ? void 0 : e.options,
@@ -185,7 +186,7 @@ const S = () => {
185
186
  },
186
187
  children: [
187
188
  /* @__PURE__ */ n(
188
- C,
189
+ b,
189
190
  {
190
191
  style: { flex: 1, margin: "4px 8px" },
191
192
  min: 0,
@@ -208,9 +209,9 @@ const S = () => {
208
209
  );
209
210
  });
210
211
  };
211
- function H() {
212
- k(), S(), T(), w(), N(), P(), A(), B(), F(), R(), W();
212
+ function J() {
213
+ y(), S(), w(), T(), N(), P(), A(), B(), F(), R(), W();
213
214
  }
214
215
  export {
215
- H as default
216
+ J as default
216
217
  };
@@ -1,12 +1,12 @@
1
1
  import { jsx as f } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { H as l } from "./index-BhafNo6T.mjs";
2
+ import { n as l } from "./index-Bwm3aMXZ.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 { 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";
4
+ import { useRef as c, useEffect as a } 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
7
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import { DEFAULT_OPTIONS as u } from "./attributes-BIXlzE3A.mjs";
9
+ import { DEFAULT_OPTIONS as u } from "./attributes-Ck-M5Rw3.mjs";
10
10
  import d from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js";
11
11
  const D = l((m) => {
12
12
  const { width: i, height: n, options: e } = m, r = c(null);
@@ -1,9 +1,9 @@
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-CLnTLLjS.mjs";
3
+ import { n as a } from "./index-Bwm3aMXZ.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
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
9
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
@@ -1,16 +1,17 @@
1
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";
2
+ import { useState as S } from "react";
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";
3
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";
4
- import { u as Y } from "./useEffectOnce-Ct0JMBZd.mjs";
5
- import { n as Z, O as E } from "./index-BhafNo6T.mjs";
5
+ import { u as Y } from "./useEffectOnce-l5sUTCBG.mjs";
6
+ import { i as Z } from "./index-Bwm3aMXZ.mjs";
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
- const q = (e, n) => {
8
+ const q = (e, l) => {
8
9
  var r, f, d;
9
- return (d = (r = (n == null ? void 0 : n.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));
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));
10
11
  };
11
12
  function $(e) {
12
13
  const {
13
- allowClear: n = !0,
14
+ allowClear: l = !0,
14
15
  size: r = "small",
15
16
  defaultFirst: f,
16
17
  disabled: d,
@@ -21,22 +22,22 @@ function $(e) {
21
22
  style: N = {},
22
23
  debounceTime: U = 500,
23
24
  showSearch: w = !0,
24
- isLocalSearch: M = !0,
25
+ isLocalSearch: O = !0,
25
26
  effectParams: W = [],
26
27
  filterOption: h = void 0,
27
28
  requestFn: m = () => Promise.resolve([]),
28
- onChange: l
29
+ onChange: n
29
30
  } = e, i = {
30
31
  label: B,
31
32
  value: ""
32
- }, [P, _] = S(""), [C, A] = S([]), [g, O] = S(void 0), [I, L] = S({}), [k, G, H] = Z(!1);
33
- function R(t = "", u) {
33
+ }, [P, _] = S(""), [C, A] = S([]), [g, R] = S(void 0), [I, L] = S({}), [k, G, H] = Z(!1);
34
+ function E(t = "", u) {
34
35
  m == null || m(t).then((a = []) => {
35
36
  var T, D, F, j;
36
37
  const c = {};
37
38
  a.forEach((o) => {
38
39
  c[`${o == null ? void 0 : o.value}`] = o;
39
- }), L(c), A(a), !H.current && f && (l == null || l((T = a == null ? void 0 : a[0]) == null ? void 0 : T.value, (D = a == null ? void 0 : a[0]) == null ? void 0 : D.label, c), G(!0)), u && e != null && e.effectDefaultFirst && (l == null || l((F = a == null ? void 0 : a[0]) == null ? void 0 : F.value, (j = a == null ? void 0 : a[0]) == null ? void 0 : j.label, c));
40
+ }), L(c), A(a), !H.current && f && (n == null || n((T = a == null ? void 0 : a[0]) == null ? void 0 : T.value, (D = a == null ? void 0 : a[0]) == null ? void 0 : D.label, c), G(!0)), u && e != null && e.effectDefaultFirst && (n == null || n((F = a == null ? void 0 : a[0]) == null ? void 0 : F.value, (j = a == null ? void 0 : a[0]) == null ? void 0 : j.label, c));
40
41
  });
41
42
  }
42
43
  X(
@@ -58,45 +59,45 @@ function $(e) {
58
59
  return h == null ? void 0 : h(t, u, I);
59
60
  }
60
61
  return Y(() => {
61
- v !== void 0 && O(v), R("");
62
+ v !== void 0 && R(v), E("");
62
63
  }), V(() => {
63
- O(v);
64
+ R(v);
64
65
  }, [v]), V(() => {
65
- R("", !0);
66
+ E("", !0);
66
67
  }, W), /* @__PURE__ */ Q(
67
- E,
68
+ M,
68
69
  {
69
70
  size: r,
70
- allowClear: n,
71
+ allowClear: l,
71
72
  disabled: d,
72
73
  style: N,
73
74
  value: g,
74
75
  placeholder: K,
75
76
  showSearch: w,
76
- filterOption: w && M ? h ? J : q : !1,
77
+ filterOption: w && O ? h ? J : q : !1,
77
78
  onBlur: () => {
78
- e != null && e.isLocalSearch || R("");
79
+ e != null && e.isLocalSearch || E("");
79
80
  },
80
- onSearch: w && !M ? (t) => _(t) : void 0,
81
+ onSearch: w && !O ? (t) => _(t) : void 0,
81
82
  onChange: (t, u) => {
82
83
  const a = Array.isArray(u) ? u.map((c) => c.children) : u == null ? void 0 : u.children;
83
- l == null || l(t, a, I), v === void 0 && O(t);
84
+ n == null || n(t, a, I), v === void 0 && R(t);
84
85
  },
85
86
  ...e == null ? void 0 : e.extAntdProps,
86
87
  children: [
87
- z && /* @__PURE__ */ b(E.Option, { value: i.value, children: e != null && e.optionRender ? e.optionRender(i) : i == null ? void 0 : i.label }, i.value),
88
- C == null ? void 0 : C.map((t) => /* @__PURE__ */ b(E.Option, { value: t.value, children: e != null && e.optionRender ? e.optionRender(t) : t == null ? void 0 : t.label }, t.value))
88
+ z && /* @__PURE__ */ b(M.Option, { value: i.value, children: e != null && e.optionRender ? e.optionRender(i) : i == null ? void 0 : i.label }, i.value),
89
+ C == null ? void 0 : C.map((t) => /* @__PURE__ */ b(M.Option, { value: t.value, children: e != null && e.optionRender ? e.optionRender(t) : t == null ? void 0 : t.label }, t.value))
89
90
  ]
90
91
  }
91
92
  );
92
93
  }
93
94
  function y(e) {
94
- const { value: n, onChange: r, extAntdProps: f, ...d } = e;
95
+ const { value: l, onChange: r, extAntdProps: f, ...d } = e;
95
96
  return /* @__PURE__ */ b(
96
97
  $,
97
98
  {
98
99
  ...d,
99
- value: n,
100
+ value: l,
100
101
  onChange: r,
101
102
  extAntdProps: {
102
103
  mode: "multiple",
@@ -106,10 +107,10 @@ function y(e) {
106
107
  }
107
108
  );
108
109
  }
109
- function ue(e) {
110
- const n = e != null && e.multiple ? y : $;
111
- return /* @__PURE__ */ b(n, { ...e });
110
+ function ce(e) {
111
+ const l = e != null && e.multiple ? y : $;
112
+ return /* @__PURE__ */ b(l, { ...e });
112
113
  }
113
114
  export {
114
- ue as I
115
+ ce as I
115
116
  };
@@ -1,13 +1,13 @@
1
1
  import { jsxs as a, jsx as l } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { H as t } from "./index-BhafNo6T.mjs";
2
+ import { n as t } from "./index-Bwm3aMXZ.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 "/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 "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
7
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import { DEFAULT_OPTIONS as d } from "./attributes-CuUxWoIW.mjs";
10
- const H = t((r) => {
9
+ import { DEFAULT_OPTIONS as d } from "./attributes-OZgEPZfV.mjs";
10
+ const k = t((r) => {
11
11
  const { options: e, width: _, height: g } = r;
12
12
  return /* @__PURE__ */ a(
13
13
  "div",
@@ -58,5 +58,5 @@ const H = t((r) => {
58
58
  );
59
59
  }, d);
60
60
  export {
61
- H as default
61
+ k as default
62
62
  };
@@ -1,5 +1,5 @@
1
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";
2
+ import { forwardRef as I, useRef as r, useState as i, useImperativeHandle as M, useEffect as w } from "react";
3
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,
@@ -1,13 +1,13 @@
1
1
  import { jsxs as t, jsx as l } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { H as a } from "./index-BhafNo6T.mjs";
2
+ import { n as a } from "./index-Bwm3aMXZ.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 "/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 "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
7
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
9
  import { DoubleRightOutlined as r, DoubleLeftOutlined as s } 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";
10
- import { DEFAULT_OPTIONS as T } from "./attributes-CxnJg-FT.mjs";
10
+ import { DEFAULT_OPTIONS as T } from "./attributes-BDcSpbcs.mjs";
11
11
  const p = "_specialTitle_7705n_59", m = "_specialTitle_line_left_7705n_64", o = "_specialTitle_inner_7705n_69", h = "_specialTitle_inner_icon_7705n_74", d = "_specialTitle_line_right_7705n_78", i = {
12
12
  specialTitle: p,
13
13
  specialTitle_line_left: m,
@@ -1,13 +1,13 @@
1
1
  import { jsx as s, jsxs as a } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { H as d } from "./index-BhafNo6T.mjs";
2
+ import { n as d } from "./index-Bwm3aMXZ.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 "/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 "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
7
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import { DEFAULT_OPTIONS as p } from "./attributes-5RpQLPsm.mjs";
10
- import { A as _ } from "./index-kvRZQZJ-.mjs";
9
+ import { DEFAULT_OPTIONS as p } from "./attributes-DuAsVU2g.mjs";
10
+ import { A as _ } from "./index-guYPVm3G.mjs";
11
11
  import { CalendarOutlined as f } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/@ant-design+icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/index.js";
12
12
  const L = "_scrollList_ni091_59", h = "_scrollList_line_ni091_62", o = {
13
13
  scrollList: L,
package/es/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { V as e, R as m, U as p, s as E } from "./index-BhafNo6T.mjs";
2
+ import { q as p, R as e, p as m, s as E } from "./index-Bwm3aMXZ.mjs";
3
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";
4
+ import "react";
5
+ import "react-dom";
6
6
  export {
7
- e as EXAMPLE,
8
- m as RbsEngine,
9
- p as defaultPackage,
7
+ p as EXAMPLE,
8
+ e as RbsEngine,
9
+ m as defaultPackage,
10
10
  E as startDriver
11
11
  };
@@ -1,5 +1,5 @@
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-BhafNo6T.mjs";
1
+ import { useState as g, useEffect as r } from "react";
2
+ import { u as i, R as a } from "./index-Bwm3aMXZ.mjs";
3
3
  function f() {
4
4
  const [n, e] = g([]), { engine: t } = i();
5
5
  return r(() => {
@@ -1,7 +1,7 @@
1
- import { b as i, N as m } from "./index-BhafNo6T.mjs";
1
+ import { b as i, D as m } from "./index-Bwm3aMXZ.mjs";
2
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";
3
+ import "react";
4
+ import "react-dom";
5
5
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
6
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
7
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
@@ -0,0 +1,7 @@
1
+ import { useEffect as f } from "react";
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 "react";
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/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";
1
+ import { useEffect as i } from "react";
2
+ import { u as m } from "./useListenRef-B01dENv0.mjs";
3
3
  function p(r, n) {
4
4
  const e = m(n);
5
5
  i(() => {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author": "tangjiahui-cn",
6
6
  "description": "一个前端大屏看板项目",
7
7
  "license": "ISC",
8
- "version": "0.0.19",
8
+ "version": "0.0.20",
9
9
  "module": "./es/index.mjs",
10
10
  "types": "./types/src/export/index.d.ts",
11
11
  "scripts": {