react-big-screen 0.0.19 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/es/{IInputNumber-8TbQFEeQ.mjs → IInputNumber-PnHJNf9H.mjs} +3 -3
  2. package/es/{Line-h-rhOKev.mjs → Line-CLgwvraj.mjs} +37 -37
  3. package/es/{attributes-CxnJg-FT.mjs → attributes-BWtBVgsg.mjs} +9 -8
  4. package/es/{attributes-BIXlzE3A.mjs → attributes-BuMChZnt.mjs} +6 -5
  5. package/es/{attributes-BDv3jJ5O.mjs → attributes-C0SMjnHG.mjs} +13 -12
  6. package/es/{attributes-CauLjFb0.mjs → attributes-C5pimFaJ.mjs} +6 -5
  7. package/es/{attributes-DYnxULqW.mjs → attributes-COwKDUMI.mjs} +6 -5
  8. package/es/{attributes-CqNLwRW3.mjs → attributes-C_fbpAUx.mjs} +9 -8
  9. package/es/{attributes-CuUxWoIW.mjs → attributes-DdjjVR4N.mjs} +6 -5
  10. package/es/{attributes-B8s8kYoD.mjs → attributes-Dv8IMI4h.mjs} +6 -5
  11. package/es/{attributes-5RpQLPsm.mjs → attributes-DztmBsKn.mjs} +8 -7
  12. package/es/{attributes-NVduSBUS.mjs → attributes-E8oqU4q7.mjs} +7 -6
  13. package/es/{attributes-CgnjWsLu.mjs → attributes-YL1J6lLR.mjs} +6 -5
  14. package/es/{attributes-DBip_IK_.mjs → attributes-w4UsefFp.mjs} +51 -50
  15. package/es/{index-GdH3Zwz0.mjs → index-B4KSL-Bu.mjs} +8 -7
  16. package/es/{index-BAzeX1Ol.mjs → index-B8JqjjA1.mjs} +29 -28
  17. package/es/{index-8Jjn38kS.mjs → index-B9Nb8R2I.mjs} +19 -18
  18. package/es/{index-BFdLFt4J.mjs → index-BRgbtPVH.mjs} +7 -6
  19. package/es/{index-DCIgeYYw.mjs → index-BUth1V1H.mjs} +7 -6
  20. package/es/{index-56XQx0At.mjs → index-BYJ5e2rN.mjs} +7 -6
  21. package/es/{index-SkjPQ6Pt.mjs → index-BYe40Zu2.mjs} +10 -9
  22. package/es/{index-D07zNDg9.mjs → index-Bvab-NQ4.mjs} +14 -13
  23. package/es/{index-BVjByyUe.mjs → index-BzpuXSbE.mjs} +7 -6
  24. package/es/{index-Cm-Rzkqs.mjs → index-C6HV7IaP.mjs} +42 -41
  25. package/es/{index-CjeVSp69.mjs → index-CBxj6uKJ.mjs} +8 -7
  26. package/es/index-CRDggJyg.mjs +4441 -0
  27. package/es/{index-i0K7Ynj-.mjs → index-CUkul7R0.mjs} +7 -6
  28. package/es/{index-Bi3lZwlI.mjs → index-CpYmNO_5.mjs} +55 -54
  29. package/es/{index-BInCuYp5.mjs → index-CyS-CdYv.mjs} +17 -16
  30. package/es/{index-Daza1EsK.mjs → index-D--V8m-b.mjs} +3 -3
  31. package/es/index-D1ux0Voe.mjs +29 -0
  32. package/es/{index-nSniwbAA.mjs → index-DQU0jlV0.mjs} +8 -7
  33. package/es/{index-Dvs_cgct.mjs → index-D_0vVSWq.mjs} +11 -10
  34. package/es/{index-Dkl0nzkU.mjs → index-Dh00vKAk.mjs} +11 -10
  35. package/es/{index-DzRsgn_u.mjs → index-DyB0TE1y.mjs} +38 -37
  36. package/es/{index-CBAcYtqX.mjs → index-KruFCy9N.mjs} +8 -7
  37. package/es/{index-Bdqrb_sj.mjs → index-Ljz96Vra.mjs} +8 -7
  38. package/es/{index-kvRZQZJ-.mjs → index-guYPVm3G.mjs} +1 -1
  39. package/es/{index-CgI9EXqn.mjs → index-hPKl41YD.mjs} +14 -13
  40. package/es/{index-CFdcAnNu.mjs → index-n9OtRMYa.mjs} +12 -11
  41. package/es/{index-umVDADGS.mjs → index-qoPI1H9i.mjs} +23 -22
  42. package/es/{index-C49BBpRX.mjs → index-ryl5yfWq.mjs} +8 -7
  43. package/es/index.mjs +8 -7
  44. package/es/{selectPage-ChSsIBe9.mjs → selectPage-D267xnl4.mjs} +2 -2
  45. package/es/{useCurrentPageId-BlVc4whf.mjs → useCurrentPageId-DM05DNLI.mjs} +6 -5
  46. package/es/useEffectOnce-l5sUTCBG.mjs +7 -0
  47. package/es/useListenRef-B01dENv0.mjs +8 -0
  48. package/es/{useResizeDom-BUgMcz6M.mjs → useResizeDom-B6mM4jrh.mjs} +2 -2
  49. package/package.json +1 -1
  50. package/es/index-BhafNo6T.mjs +0 -16092
  51. package/es/index-dxiyF_62.mjs +0 -29
  52. package/es/useEffectOnce-Ct0JMBZd.mjs +0 -7
  53. package/es/useListenRef-Dqm6KZRj.mjs +0 -8
@@ -1,15 +1,16 @@
1
- import { jsxs as r, jsx as d } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { C as k, n as I, d as L, J as S } from "./index-BhafNo6T.mjs";
1
+ import { jsxs as y, jsx as d } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import { i as k, c as I, o as L } from "./index-CRDggJyg.mjs";
3
3
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
- import { useRef as N, useMemo as H } 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 S, useMemo as H } from "react";
5
+ import "react-dom";
6
6
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
7
+ import { Space as N } from "antd";
7
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
10
  import g from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
10
11
  import { CloseOutlined as R, PlusOutlined as A } 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 { b as T, I as q } from "./index-dxiyF_62.mjs";
12
- import { L as D, a as v, I as C, b as P } from "./Line-h-rhOKev.mjs";
12
+ import { b as T, I as q } from "./index-D1ux0Voe.mjs";
13
+ import { L as D, a as v, I as C, b as P } from "./Line-CLgwvraj.mjs";
13
14
  const w = "_editSeriesList_c1zv3_59", O = {
14
15
  editSeriesList: w
15
16
  }, U = "_tabsHead_1q8na_59", j = "_tabsHead_add_1q8na_64", B = "_tabsHead_body_1q8na_72", E = "_tabsHead_body_inner_1q8na_85", F = "_tabsHead_item_1q8na_90", K = "_tabsHead_item_selected_1q8na_102", $ = "_tabsHead_item_delete_1q8na_107", h = {
@@ -23,39 +24,39 @@ const w = "_editSeriesList_c1zv3_59", O = {
23
24
  };
24
25
  function z(e) {
25
26
  var l, i;
26
- const t = N(null);
27
- function b(n) {
28
- const m = n.getBoundingClientRect(), o = t.current.getBoundingClientRect();
27
+ const t = S(null);
28
+ function _(n) {
29
+ const m = n.getBoundingClientRect(), b = t.current.getBoundingClientRect();
29
30
  return T(
30
31
  { x1: m.x, y1: m.y, x2: m.right, y2: m.bottom },
31
32
  {
32
- x1: o.x,
33
- y1: o.y,
34
- x2: o.right,
35
- y2: o.bottom
33
+ x1: b.x,
34
+ y1: b.y,
35
+ x2: b.right,
36
+ y2: b.bottom
36
37
  }
37
38
  );
38
39
  }
39
40
  function s(n) {
40
- b(n) || t.current.scrollTo({
41
+ _(n) || t.current.scrollTo({
41
42
  left: n.offsetLeft - 20,
42
43
  // -20 是为了能刚好看到前一个
43
44
  behavior: "smooth"
44
45
  });
45
46
  }
46
- return /* @__PURE__ */ r("div", { style: e == null ? void 0 : e.style, className: h.tabsHead, children: [
47
+ return /* @__PURE__ */ y("div", { style: e == null ? void 0 : e.style, className: h.tabsHead, children: [
47
48
  /* @__PURE__ */ d("div", { className: h.tabsHead_body, ref: t, children: /* @__PURE__ */ d("div", { className: h.tabsHead_body_inner, children: (i = (l = e == null ? void 0 : e.items) == null ? void 0 : l.map) == null ? void 0 : i.call(l, (n, m) => {
48
- const o = (n == null ? void 0 : n.value) === (e == null ? void 0 : e.value);
49
- return /* @__PURE__ */ r(
49
+ const b = (n == null ? void 0 : n.value) === (e == null ? void 0 : e.value);
50
+ return /* @__PURE__ */ y(
50
51
  "div",
51
52
  {
52
53
  className: g(
53
54
  h.tabsHead_item,
54
- o && h.tabsHead_item_selected
55
+ b && h.tabsHead_item_selected
55
56
  ),
56
- onClick: (y) => {
57
+ onClick: (r) => {
57
58
  var a;
58
- o || (s(y.target), (a = e == null ? void 0 : e.onChange) == null || a.call(e, n == null ? void 0 : n.value));
59
+ b || (s(r.target), (a = e == null ? void 0 : e.onChange) == null || a.call(e, n == null ? void 0 : n.value));
59
60
  },
60
61
  children: [
61
62
  n == null ? void 0 : n.label,
@@ -63,9 +64,9 @@ function z(e) {
63
64
  R,
64
65
  {
65
66
  className: g(h.tabsHead_item_delete, "icon_clickable"),
66
- onClick: (y) => {
67
+ onClick: (r) => {
67
68
  var a;
68
- y.stopPropagation(), (a = e == null ? void 0 : e.onDelete) == null || a.call(e, n.value);
69
+ r.stopPropagation(), (a = e == null ? void 0 : e.onDelete) == null || a.call(e, n.value);
69
70
  }
70
71
  }
71
72
  )
@@ -77,24 +78,24 @@ function z(e) {
77
78
  (e == null ? void 0 : e.showAdd) && /* @__PURE__ */ d("div", { className: h.tabsHead_add, onClick: e == null ? void 0 : e.onAdd, children: /* @__PURE__ */ d(A, {}) })
78
79
  ] });
79
80
  }
80
- function J(e) {
81
- const { value: t, onChange: b } = e;
81
+ function M(e) {
82
+ const { value: t, onChange: _ } = e;
82
83
  function s(l) {
83
- b == null || b({
84
+ _ == null || _({
84
85
  ...t,
85
86
  ...l
86
87
  });
87
88
  }
88
- return /* @__PURE__ */ d(D, { labelSpan: 6, children: /* @__PURE__ */ r(k, { direction: "vertical", style: { width: "100%", padding: 12 }, children: [
89
+ return /* @__PURE__ */ d(D, { labelSpan: 6, children: /* @__PURE__ */ y(N, { direction: "vertical", style: { width: "100%", padding: 12 }, children: [
89
90
  /* @__PURE__ */ d(v, { label: "名称", children: /* @__PURE__ */ d(C, { value: t == null ? void 0 : t.name, onChange: (l) => s({ name: l }) }) }),
90
91
  /* @__PURE__ */ d(v, { label: "字段", children: /* @__PURE__ */ d(C, { value: t == null ? void 0 : t.value, onChange: (l) => s({ value: l }) }) }),
91
92
  /* @__PURE__ */ d(v, { label: "颜色", children: /* @__PURE__ */ d(P, { value: t == null ? void 0 : t.color, onChange: (l) => s({ color: l }) }) })
92
93
  ] }) });
93
94
  }
94
- function M(e) {
95
- const { value: t = [] } = e, [b, s, l] = I(""), i = H(() => {
96
- var u, _;
97
- const a = ((_ = (u = e == null ? void 0 : e.value) == null ? void 0 : u.map) == null ? void 0 : _.call(u, (c) => ({
95
+ function V(e) {
96
+ const { value: t = [] } = e, [_, s, l] = k(""), i = H(() => {
97
+ var u, o;
98
+ const a = ((o = (u = e == null ? void 0 : e.value) == null ? void 0 : u.map) == null ? void 0 : o.call(u, (c) => ({
98
99
  label: c.name || "",
99
100
  value: c.key || (c == null ? void 0 : c.value) || "",
100
101
  data: c
@@ -102,66 +103,66 @@ function M(e) {
102
103
  return a.length && (a.some((f) => f.value === l.current) || s(a[0].value)), a;
103
104
  }, [e == null ? void 0 : e.value]), n = H(() => {
104
105
  var a, u;
105
- return (u = (a = i == null ? void 0 : i.find) == null ? void 0 : a.call(i, (_) => (_ == null ? void 0 : _.value) === b)) == null ? void 0 : u.data;
106
- }, [i, b]);
106
+ return (u = (a = i == null ? void 0 : i.find) == null ? void 0 : a.call(i, (o) => (o == null ? void 0 : o.value) === _)) == null ? void 0 : u.data;
107
+ }, [i, _]);
107
108
  function m() {
108
109
  var a;
109
110
  (a = e == null ? void 0 : e.onChange) == null || a.call(e, [
110
111
  ...t,
111
112
  {
112
- key: L(4),
113
+ key: I(4),
113
114
  name: `数据${t.length + 1}`,
114
115
  value: void 0,
115
116
  color: "white"
116
117
  }
117
118
  ]);
118
119
  }
119
- function o(a) {
120
- var _;
120
+ function b(a) {
121
+ var o;
121
122
  const u = i == null ? void 0 : i.reduce((c, f) => (f.value !== a && c.push(f.data), c), []);
122
- (_ = e == null ? void 0 : e.onChange) == null || _.call(e, u);
123
+ (o = e == null ? void 0 : e.onChange) == null || o.call(e, u);
123
124
  }
124
- function y(a) {
125
- var u, _;
125
+ function r(a) {
126
+ var u, o;
126
127
  (u = t == null ? void 0 : t.some) == null || u.call(t, (c) => {
127
128
  const f = c.key === a.key;
128
129
  return f && Object.assign(c, a), f;
129
- }), (_ = e == null ? void 0 : e.onChange) == null || _.call(e, [...t]);
130
+ }), (o = e == null ? void 0 : e.onChange) == null || o.call(e, [...t]);
130
131
  }
131
- return /* @__PURE__ */ r("div", { className: O.editSeriesList, children: [
132
+ return /* @__PURE__ */ y("div", { className: O.editSeriesList, children: [
132
133
  /* @__PURE__ */ d(
133
134
  z,
134
135
  {
135
136
  showAdd: !0,
136
137
  showDelete: !0,
137
- value: b,
138
+ value: _,
138
139
  items: i,
139
140
  onChange: s,
140
141
  onAdd: m,
141
142
  onDelete: (a) => {
142
- o(a);
143
+ b(a);
143
144
  }
144
145
  }
145
146
  ),
146
147
  !n && /* @__PURE__ */ d(q, {}),
147
148
  n && /* @__PURE__ */ d(
148
- J,
149
+ M,
149
150
  {
150
151
  value: n,
151
152
  onChange: (a) => {
152
- y(a);
153
+ r(a);
153
154
  }
154
155
  }
155
156
  )
156
157
  ] });
157
158
  }
158
- const V = {
159
+ const W = {
159
160
  seriesList: [
160
161
  { key: "1", name: "数据1", value: "value1", color: "#f8e71c" },
161
162
  { key: "2", name: "数据2", value: "value2", color: "#7ed321" },
162
163
  { key: "3", name: "数据3", value: "value3", color: "#1071e0" }
163
164
  ]
164
- }, de = S(
165
+ }, le = L(
165
166
  [
166
167
  {
167
168
  key: "background",
@@ -175,12 +176,12 @@ const V = {
175
176
  key: "seriesList",
176
177
  label: "映射",
177
178
  labelTip: "图表的数据映射",
178
- component: ({ value: e, onChange: t }) => /* @__PURE__ */ d("div", { style: { border: "1px solid #e8e8e8" }, children: /* @__PURE__ */ d(M, { value: e, onChange: t }) })
179
+ component: ({ value: e, onChange: t }) => /* @__PURE__ */ d("div", { style: { border: "1px solid #e8e8e8" }, children: /* @__PURE__ */ d(V, { value: e, onChange: t }) })
179
180
  }
180
181
  ],
181
- V
182
+ W
182
183
  );
183
184
  export {
184
- V as DEFAULT_OPTIONS,
185
- de as default
185
+ W as DEFAULT_OPTIONS,
186
+ le as default
186
187
  };
@@ -1,15 +1,16 @@
1
1
  import { jsx as c } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { H as b } from "./index-BhafNo6T.mjs";
2
+ import { n as b } from "./index-CRDggJyg.mjs";
3
3
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
- import { useState as u, useMemo as x } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
5
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
4
+ import { useState as u, useMemo as x } from "react";
5
+ import "react-dom";
6
6
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
7
+ import "antd";
7
8
  import { r as f, g as y } from "./random-DD0zMfMm.mjs";
8
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
9
10
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
10
- import { u as d } from "./useEffectOnce-Ct0JMBZd.mjs";
11
- import { R as h } from "./index-Daza1EsK.mjs";
12
- const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 250, a = [210, 200, 195, 200, 202, 195, 180], N = b((i) => {
11
+ import { u as d } from "./useEffectOnce-l5sUTCBG.mjs";
12
+ import { R as h } from "./index-D--V8m-b.mjs";
13
+ const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 250, a = [210, 200, 195, 200, 202, 195, 180], C = b((i) => {
13
14
  const { width: n, height: s } = i, [e, l] = u(a), m = x(() => {
14
15
  const o = e.map((t) => t * 100 / r);
15
16
  return {
@@ -147,5 +148,5 @@ const g = ["06-01", "06-02", "06-03", "06-04", "06-05", "06-06", "06-07"], r = 2
147
148
  }), /* @__PURE__ */ c(h, { options: m, style: { width: n, height: s } });
148
149
  });
149
150
  export {
150
- N as default
151
+ C as default
151
152
  };
@@ -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 "antd";
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-CRDggJyg.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,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-CRDggJyg.mjs";
3
+ import { I as u } from "./index-B8JqjjA1.mjs";
4
+ import "react";
5
+ import { Tooltip as v, Checkbox as h, Slider as C } from "antd";
5
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
7
  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";
8
+ import { I as f, b as m } from "./Line-CLgwvraj.mjs";
8
9
  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";
10
+ import { I as o, a as b } from "./IInputNumber-PnHJNf9H.mjs";
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
+ const [t] = r();
54
55
  return /* @__PURE__ */ n(v, { title: t("reset"), children: /* @__PURE__ */ n(x, { className: "icon_clickable", onClick: e == null ? void 0 : e.onClick }) });
55
56
  }
56
57
  const S = () => {
57
58
  l.register("input", (e) => /* @__PURE__ */ n(f, { ...e == null ? void 0 : e.options, value: e.value, onChange: e.onChange }));
58
- }, T = () => {
59
+ }, w = () => {
59
60
  l.register("inputNumber", (e) => /* @__PURE__ */ n(
60
- m,
61
+ o,
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
+ b,
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
+ m,
98
99
  {
99
100
  style: { width: "100%" },
100
101
  ...e == null ? void 0 : e.options,
@@ -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,13 +1,14 @@
1
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-Daza1EsK.mjs";
3
- import { H as i } from "./index-BhafNo6T.mjs";
2
+ import { R as a } from "./index-D--V8m-b.mjs";
3
+ import { n as i } from "./index-CRDggJyg.mjs";
4
4
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
5
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
6
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
+ import "react";
6
+ import "react-dom";
7
7
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
8
+ import "antd";
8
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
9
10
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
10
- const g = i((t) => {
11
+ const x = i((t) => {
11
12
  const { width: r, height: o } = t;
12
13
  return /* @__PURE__ */ e(
13
14
  a,
@@ -40,5 +41,5 @@ const g = i((t) => {
40
41
  );
41
42
  });
42
43
  export {
43
- g as default
44
+ x as default
44
45
  };
@@ -1,13 +1,14 @@
1
1
  import { jsx as i } from "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { R as e } from "./index-Daza1EsK.mjs";
3
- import { H as a } from "./index-BhafNo6T.mjs";
2
+ import { R as e } from "./index-D--V8m-b.mjs";
3
+ import { n as a } from "./index-CRDggJyg.mjs";
4
4
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
5
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react@18.3.1/node_modules/react/index.js";
6
- import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js";
5
+ import "react";
6
+ import "react-dom";
7
7
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js";
8
+ import "antd";
8
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
9
10
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
10
- const f = a((t) => {
11
+ const l = a((t) => {
11
12
  const { width: o, height: r } = t;
12
13
  return /* @__PURE__ */ i(
13
14
  e,
@@ -36,5 +37,5 @@ const f = a((t) => {
36
37
  );
37
38
  });
38
39
  export {
39
- f as default
40
+ l as default
40
41
  };
@@ -1,19 +1,20 @@
1
1
  import { jsx as e, jsxs 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 c } from "./index-BhafNo6T.mjs";
2
+ import { n as c } from "./index-CRDggJyg.mjs";
3
3
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
- import "/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
+ import "antd";
7
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
- import { DEFAULT_OPTIONS as i } from "./attributes-CauLjFb0.mjs";
10
+ import { DEFAULT_OPTIONS as i } from "./attributes-C5pimFaJ.mjs";
10
11
  import { DoubleRightOutlined 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";
11
12
  const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_specialCard_head_arrow_1s46n_71", o = "_specialCard_head_title_1s46n_74", r = {
12
13
  specialCard: _,
13
14
  specialCard_head: t,
14
15
  specialCard_head_arrow: m,
15
16
  specialCard_head_title: o
16
- }, v = c((d) => {
17
+ }, g = c((d) => {
17
18
  const { options: a } = d;
18
19
  return /* @__PURE__ */ e(
19
20
  "div",
@@ -33,5 +34,5 @@ const _ = "_specialCard_1s46n_59", t = "_specialCard_head_1s46n_64", m = "_speci
33
34
  );
34
35
  }, i);
35
36
  export {
36
- v as default
37
+ g as default
37
38
  };
@@ -1,20 +1,21 @@
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-CRDggJyg.mjs";
3
3
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/localforage@1.10.0/node_modules/localforage/dist/localforage.js";
4
- import "/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
+ import "antd";
7
8
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.js.mjs";
8
9
  import "/Users/tangjiahui/tjh/react-big-screen/node_modules/.pnpm/driver.js@1.3.6/node_modules/driver.js/dist/driver.css";
9
10
  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";
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
- specialTitle: p,
11
+ import { DEFAULT_OPTIONS as p } from "./attributes-BWtBVgsg.mjs";
12
+ const T = "_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 = {
13
+ specialTitle: T,
13
14
  specialTitle_line_left: m,
14
15
  specialTitle_inner: o,
15
16
  specialTitle_inner_icon: h,
16
17
  specialTitle_line_right: d
17
- }, b = a((n) => {
18
+ }, D = a((n) => {
18
19
  const { width: _, height: c, options: e } = n;
19
20
  return /* @__PURE__ */ t("div", { style: { width: _, height: c }, className: i.specialTitle, children: [
20
21
  /* @__PURE__ */ l("div", { className: i.specialTitle_line_left }),
@@ -39,7 +40,7 @@ const p = "_specialTitle_7705n_59", m = "_specialTitle_line_left_7705n_64", o =
39
40
  ] }),
40
41
  /* @__PURE__ */ l("div", { className: i.specialTitle_line_right })
41
42
  ] });
42
- }, T);
43
+ }, p);
43
44
  export {
44
- b as default
45
+ D as default
45
46
  };