@base-stone/hooks 1.1.0 → 1.1.3
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.
- package/README.md +27 -10
- package/dist/design-hooks.es.prod.js +179 -173
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -15,11 +15,14 @@
|
|
|
15
15
|
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
const { tableProps, reload } = useTableList<ListItemData>(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
const { tableProps, reload } = useTableList<ListItemData>({
|
|
19
|
+
queryFn: getCooperateList,
|
|
20
|
+
params: {
|
|
21
|
+
orderField: 'createDate',
|
|
22
|
+
orderType: 'DESC',
|
|
23
|
+
taskStatuses: taskStatusesArr,
|
|
24
|
+
scope: scopeType
|
|
25
|
+
}
|
|
23
26
|
})
|
|
24
27
|
|
|
25
28
|
<Table rowKey="id" scroll={{ x: 'max-content' }} columns={columns} {...tableProps} />
|
|
@@ -33,9 +36,7 @@
|
|
|
33
36
|
|
|
34
37
|
const { editModal, infoModal, memberModal, toggle } = useCreateModal(['edit', 'member', 'info'])
|
|
35
38
|
|
|
36
|
-
|
|
37
|
-
toggle(type, data)
|
|
38
|
-
}
|
|
39
|
+
toggle(type, data)
|
|
39
40
|
|
|
40
41
|
```
|
|
41
42
|
|
|
@@ -44,9 +45,25 @@
|
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
```
|
|
47
|
-
const { sceneOptions, sceneMap } = useSelectOptions<string>(
|
|
48
|
-
|
|
48
|
+
const { sceneOptions, sceneMap } = useSelectOptions<string>({
|
|
49
|
+
queryFn: getRecruitSceneList,
|
|
50
|
+
dataKey: 'scene',
|
|
49
51
|
fieldNames: { label: 'recruitTypeName', value: 'recruitEncrypt' }
|
|
50
52
|
})
|
|
51
53
|
|
|
52
54
|
```
|
|
55
|
+
|
|
56
|
+
### useRequestQuery 使用
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
const { settlementInfo, refresh } = useRequestQuery<string, ListItemData>({
|
|
61
|
+
queryFn: getSettlementInfo,
|
|
62
|
+
dataKey: 'settlementInfo',
|
|
63
|
+
dataType: 'Object',
|
|
64
|
+
params: {
|
|
65
|
+
taskId
|
|
66
|
+
}
|
|
67
|
+
})
|
|
68
|
+
|
|
69
|
+
```
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { useRef as
|
|
2
|
-
import { Empty as
|
|
3
|
-
import { create as
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
function
|
|
7
|
-
if (
|
|
8
|
-
|
|
9
|
-
var s = /* @__PURE__ */ Symbol.for("react.transitional.element"),
|
|
10
|
-
function
|
|
1
|
+
import { useRef as k, useMemo as L, useState as S, useEffectEvent as O, useEffect as x, useId as U, useCallback as W } from "react";
|
|
2
|
+
import { Empty as _, App as X } from "antd";
|
|
3
|
+
import { create as K } from "zustand";
|
|
4
|
+
var P = { exports: {} }, b = {};
|
|
5
|
+
var A;
|
|
6
|
+
function ee() {
|
|
7
|
+
if (A) return b;
|
|
8
|
+
A = 1;
|
|
9
|
+
var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), o = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
10
|
+
function t(e, n, r) {
|
|
11
11
|
var p = null;
|
|
12
|
-
if (
|
|
13
|
-
|
|
14
|
-
for (var u in
|
|
15
|
-
u !== "key" && (
|
|
16
|
-
} else
|
|
17
|
-
return
|
|
12
|
+
if (r !== void 0 && (p = "" + r), n.key !== void 0 && (p = "" + n.key), "key" in n) {
|
|
13
|
+
r = {};
|
|
14
|
+
for (var u in n)
|
|
15
|
+
u !== "key" && (r[u] = n[u]);
|
|
16
|
+
} else r = n;
|
|
17
|
+
return n = r.ref, {
|
|
18
18
|
$$typeof: s,
|
|
19
19
|
type: e,
|
|
20
20
|
key: p,
|
|
21
|
-
ref:
|
|
22
|
-
props:
|
|
21
|
+
ref: n !== void 0 ? n : null,
|
|
22
|
+
props: r
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return b.Fragment = o, b.jsx = t, b.jsxs = t, b;
|
|
26
26
|
}
|
|
27
27
|
var j;
|
|
28
|
-
function
|
|
29
|
-
return j || (j = 1,
|
|
28
|
+
function te() {
|
|
29
|
+
return j || (j = 1, P.exports = ee()), P.exports;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
function
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
const
|
|
36
|
-
return
|
|
37
|
-
return
|
|
38
|
-
}),
|
|
31
|
+
var oe = te();
|
|
32
|
+
function y(s) {
|
|
33
|
+
const o = k(s);
|
|
34
|
+
o.current = L(() => s, [s]);
|
|
35
|
+
const t = k(void 0);
|
|
36
|
+
return t.current || (t.current = function(...e) {
|
|
37
|
+
return o.current.apply(this, e);
|
|
38
|
+
}), t.current;
|
|
39
39
|
}
|
|
40
|
-
const
|
|
40
|
+
const R = {
|
|
41
41
|
sortField: ["orderType", "orderField"],
|
|
42
42
|
sortOrder: ["ASC", "DESC"],
|
|
43
43
|
pageSize: 10
|
|
44
44
|
};
|
|
45
|
-
function
|
|
46
|
-
Object.keys(s).forEach((
|
|
47
|
-
|
|
45
|
+
function ie(s) {
|
|
46
|
+
Object.keys(s).forEach((o) => {
|
|
47
|
+
R[o] = s[o];
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function ce({
|
|
51
51
|
queryFn: s,
|
|
52
|
-
params:
|
|
53
|
-
rowSelection:
|
|
52
|
+
params: o,
|
|
53
|
+
rowSelection: t
|
|
54
54
|
}) {
|
|
55
|
-
const e =
|
|
55
|
+
const e = R.pageSize, [n, r] = S({
|
|
56
56
|
pagination: {
|
|
57
57
|
showSizeChanger: !0,
|
|
58
58
|
showQuickJumper: !0,
|
|
@@ -64,220 +64,226 @@ function ie({
|
|
|
64
64
|
queryParams: {
|
|
65
65
|
pageNo: 1,
|
|
66
66
|
pageSize: e,
|
|
67
|
-
...
|
|
67
|
+
...o
|
|
68
68
|
}
|
|
69
|
-
}), { pagination: p, list: u, queryParams:
|
|
70
|
-
if (
|
|
69
|
+
}), { pagination: p, list: u, queryParams: l } = n, { pageNo: a, pageSize: i } = l, [f, c] = S(!0), [m, g] = S([]), E = L(() => {
|
|
70
|
+
if (t)
|
|
71
71
|
return {
|
|
72
|
-
selectedRowKeys:
|
|
73
|
-
onChange: (d) =>
|
|
72
|
+
selectedRowKeys: m,
|
|
73
|
+
onChange: (d) => g(d)
|
|
74
74
|
};
|
|
75
|
-
}, [
|
|
76
|
-
(d) => `共 ${d} 条记录 第 ${a}/${Math.ceil(d /
|
|
77
|
-
),
|
|
78
|
-
const { pageNo:
|
|
79
|
-
|
|
80
|
-
const
|
|
81
|
-
d.pageNo === void 0 && (
|
|
82
|
-
const { data: w } = await s(
|
|
83
|
-
|
|
84
|
-
list:
|
|
85
|
-
queryParams:
|
|
75
|
+
}, [t, m]), z = y(
|
|
76
|
+
(d) => `共 ${d} 条记录 第 ${a}/${Math.ceil(d / i)} 页 `
|
|
77
|
+
), v = async (d) => {
|
|
78
|
+
const { pageNo: F } = d;
|
|
79
|
+
c(!0);
|
|
80
|
+
const M = { ...o, pageSize: i, ...d };
|
|
81
|
+
d.pageNo === void 0 && (M.pageNo = 1), d.pageSize === void 0 && (M.pageSize = i);
|
|
82
|
+
const { data: w } = await s(M), { list: T = [], totalCount: D = 0 } = w || {};
|
|
83
|
+
t && g([]), r({
|
|
84
|
+
list: T,
|
|
85
|
+
queryParams: M,
|
|
86
86
|
pagination: {
|
|
87
87
|
...p,
|
|
88
|
-
current:
|
|
89
|
-
pageSize:
|
|
90
|
-
total:
|
|
88
|
+
current: F,
|
|
89
|
+
pageSize: M.pageSize,
|
|
90
|
+
total: D
|
|
91
91
|
}
|
|
92
|
-
}),
|
|
93
|
-
},
|
|
94
|
-
|
|
92
|
+
}), c(!1);
|
|
93
|
+
}, $ = O(() => {
|
|
94
|
+
v({ ...l, pageNo: 1 });
|
|
95
|
+
}), h = (d) => {
|
|
96
|
+
v({ ...l, ...d, pageNo: 1 });
|
|
95
97
|
}, q = (d) => {
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
const { action:
|
|
101
|
-
if (["paginate", "sort"].includes(
|
|
102
|
-
const { current:
|
|
103
|
-
...
|
|
104
|
-
[
|
|
105
|
-
[
|
|
106
|
-
pageNo:
|
|
107
|
-
pageSize:
|
|
98
|
+
v({ ...l, ...d });
|
|
99
|
+
}, J = (d) => {
|
|
100
|
+
v({ ...d, pageSize: i, pageNo: 1 });
|
|
101
|
+
}, H = (d, F, M, w) => {
|
|
102
|
+
const { action: T } = w;
|
|
103
|
+
if (["paginate", "sort"].includes(T)) {
|
|
104
|
+
const { current: D, pageSize: I } = d, { field: G, order: N } = M, [V, Q] = R.sortField, [Y, Z] = R.sortOrder, B = {
|
|
105
|
+
...l,
|
|
106
|
+
[V]: N ? N === "ascend" ? Y : Z : void 0,
|
|
107
|
+
[Q]: G,
|
|
108
|
+
pageNo: D,
|
|
109
|
+
pageSize: I
|
|
108
110
|
};
|
|
109
|
-
|
|
111
|
+
v(B);
|
|
110
112
|
}
|
|
111
113
|
};
|
|
112
|
-
return
|
|
113
|
-
|
|
114
|
+
return x(() => {
|
|
115
|
+
$();
|
|
114
116
|
}, []), {
|
|
115
|
-
queryParams:
|
|
116
|
-
search:
|
|
117
|
-
refresh:
|
|
118
|
-
reset:
|
|
119
|
-
selectedRowKeys:
|
|
117
|
+
queryParams: l,
|
|
118
|
+
search: y(h),
|
|
119
|
+
refresh: y(q),
|
|
120
|
+
reset: y(J),
|
|
121
|
+
selectedRowKeys: m,
|
|
120
122
|
tableProps: {
|
|
121
123
|
bordered: !0,
|
|
122
124
|
size: "middle",
|
|
123
125
|
sticky: !0,
|
|
124
|
-
rowSelection:
|
|
126
|
+
rowSelection: E,
|
|
125
127
|
loading: f,
|
|
126
128
|
dataSource: u,
|
|
127
|
-
pagination: { ...p, showTotal:
|
|
128
|
-
onChange:
|
|
129
|
+
pagination: { ...p, showTotal: z },
|
|
130
|
+
onChange: y(H),
|
|
129
131
|
locale: {
|
|
130
|
-
emptyText: f ? "" : /* @__PURE__ */
|
|
132
|
+
emptyText: f ? "" : /* @__PURE__ */ oe.jsx(_, { image: _.PRESENTED_IMAGE_SIMPLE })
|
|
131
133
|
}
|
|
132
134
|
}
|
|
133
135
|
};
|
|
134
136
|
}
|
|
135
|
-
const
|
|
137
|
+
const C = K((s) => ({
|
|
136
138
|
modals: {},
|
|
137
|
-
toggleModal: (
|
|
138
|
-
const
|
|
139
|
+
toggleModal: (o, t) => s((e) => {
|
|
140
|
+
const r = e.modals[o]?.visible || !1;
|
|
139
141
|
return {
|
|
140
142
|
modals: {
|
|
141
143
|
...e.modals,
|
|
142
|
-
[
|
|
143
|
-
visible: !
|
|
144
|
-
data:
|
|
144
|
+
[o]: {
|
|
145
|
+
visible: !r,
|
|
146
|
+
data: r ? {} : t || {}
|
|
145
147
|
}
|
|
146
148
|
}
|
|
147
149
|
};
|
|
148
150
|
}),
|
|
149
|
-
setModal: (
|
|
151
|
+
setModal: (o, t, e) => s((n) => ({
|
|
150
152
|
modals: {
|
|
151
|
-
...
|
|
152
|
-
[
|
|
153
|
-
visible:
|
|
154
|
-
data:
|
|
153
|
+
...n.modals,
|
|
154
|
+
[o]: {
|
|
155
|
+
visible: t,
|
|
156
|
+
data: t ? e || {} : {}
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
})),
|
|
158
|
-
clearModals: (
|
|
159
|
-
const e = { ...
|
|
160
|
-
return
|
|
161
|
-
delete e[
|
|
160
|
+
clearModals: (o) => s((t) => {
|
|
161
|
+
const e = { ...t.modals };
|
|
162
|
+
return o.forEach((n) => {
|
|
163
|
+
delete e[n];
|
|
162
164
|
}), { modals: e };
|
|
163
165
|
})
|
|
164
166
|
}));
|
|
165
|
-
function
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
(a) => `${
|
|
167
|
+
function le(s) {
|
|
168
|
+
const o = C((a) => a.modals), t = C((a) => a.toggleModal), e = C((a) => a.setModal), n = C((a) => a.clearModals), r = U(), p = k([]), u = Object.keys(s);
|
|
169
|
+
x(() => (p.current = u.map(
|
|
170
|
+
(a) => `${r}-${a}`
|
|
169
171
|
), () => {
|
|
170
|
-
|
|
172
|
+
n(p.current);
|
|
171
173
|
}), []);
|
|
172
|
-
const
|
|
174
|
+
const l = {};
|
|
173
175
|
return u.forEach((a) => {
|
|
174
|
-
const
|
|
175
|
-
|
|
176
|
+
const i = `${r}-${a}`, f = o[i] ?? { visible: !1, data: {} }, c = s[a], m = typeof c.title == "function" ? c.title(f.data) : c.title;
|
|
177
|
+
l[`${a}Modal`] = {
|
|
176
178
|
visible: f.visible,
|
|
177
179
|
data: f.data,
|
|
178
180
|
modalProps: {
|
|
179
|
-
width:
|
|
180
|
-
title:
|
|
181
|
+
width: c.width,
|
|
182
|
+
title: m,
|
|
181
183
|
open: f.visible,
|
|
182
|
-
maskClosable:
|
|
183
|
-
centered:
|
|
184
|
-
destroyOnHidden:
|
|
185
|
-
onCancel:
|
|
184
|
+
maskClosable: c.maskClosable ?? !1,
|
|
185
|
+
centered: c.centered ?? !0,
|
|
186
|
+
destroyOnHidden: c.destroyOnHidden ?? !0,
|
|
187
|
+
onCancel: c.onCancel ?? (() => e(i, !1))
|
|
186
188
|
},
|
|
187
189
|
drawerProps: {
|
|
188
|
-
size:
|
|
189
|
-
title:
|
|
190
|
+
size: c.width,
|
|
191
|
+
title: m,
|
|
190
192
|
open: f.visible,
|
|
191
|
-
maskClosable:
|
|
192
|
-
destroyOnHidden:
|
|
193
|
-
placement:
|
|
194
|
-
onClose:
|
|
193
|
+
maskClosable: c.maskClosable ?? !0,
|
|
194
|
+
destroyOnHidden: c.destroyOnHidden ?? !0,
|
|
195
|
+
placement: c.placement ?? "right",
|
|
196
|
+
onClose: c.onClose ?? (() => e(i, !1))
|
|
195
197
|
},
|
|
196
|
-
toggle: (g) =>
|
|
197
|
-
open: (g) => e(
|
|
198
|
-
close: () => e(
|
|
198
|
+
toggle: (g) => t(i, g),
|
|
199
|
+
open: (g) => e(i, !0, g),
|
|
200
|
+
close: () => e(i, !1)
|
|
199
201
|
};
|
|
200
|
-
}),
|
|
201
|
-
|
|
202
|
-
},
|
|
203
|
-
e(`${
|
|
204
|
-
},
|
|
205
|
-
e(`${
|
|
206
|
-
},
|
|
202
|
+
}), l.toggle = (a, i) => {
|
|
203
|
+
t(`${r}-${a}`, i);
|
|
204
|
+
}, l.open = (a, i) => {
|
|
205
|
+
e(`${r}-${a}`, !0, i);
|
|
206
|
+
}, l.close = (a) => {
|
|
207
|
+
e(`${r}-${a}`, !1);
|
|
208
|
+
}, l;
|
|
207
209
|
}
|
|
208
|
-
const
|
|
209
|
-
function
|
|
210
|
-
const [
|
|
210
|
+
const ae = (s, o = "value", t = "label") => new Map(s.map((e) => [e[o], e[t]]));
|
|
211
|
+
function ue({ queryFn: s, params: o, dataKey: t, fieldNames: e }) {
|
|
212
|
+
const [n, r] = S({
|
|
211
213
|
list: [],
|
|
212
214
|
mapData: /* @__PURE__ */ new Map()
|
|
213
|
-
}), [p, u] = S(!0),
|
|
215
|
+
}), [p, u] = S(!0), l = async () => {
|
|
214
216
|
u(!0);
|
|
215
|
-
const { data:
|
|
217
|
+
const { data: m } = await s(o), g = m || [];
|
|
216
218
|
if (e) {
|
|
217
|
-
const { label:
|
|
218
|
-
data:
|
|
219
|
-
label:
|
|
220
|
-
value:
|
|
221
|
-
})), $ =
|
|
222
|
-
|
|
219
|
+
const { label: E, value: z } = e, v = g.map((h) => ({
|
|
220
|
+
data: h,
|
|
221
|
+
label: h[E],
|
|
222
|
+
value: h[z]
|
|
223
|
+
})), $ = ae(v);
|
|
224
|
+
r((h) => ({ ...h, options: v, mapData: $ }));
|
|
223
225
|
} else
|
|
224
|
-
|
|
226
|
+
r((E) => ({ ...E, options: g }));
|
|
225
227
|
u(!1);
|
|
226
|
-
}, a =
|
|
227
|
-
|
|
228
|
-
|
|
228
|
+
}, a = O(l), i = y(() => {
|
|
229
|
+
l();
|
|
230
|
+
});
|
|
231
|
+
x(() => {
|
|
232
|
+
a();
|
|
229
233
|
}, []);
|
|
230
|
-
const { list:
|
|
234
|
+
const { list: f, mapData: c } = n;
|
|
231
235
|
return {
|
|
232
236
|
loading: p,
|
|
233
|
-
refresh:
|
|
234
|
-
[`${
|
|
235
|
-
[`${
|
|
237
|
+
refresh: i,
|
|
238
|
+
[`${t}Options`]: f,
|
|
239
|
+
[`${t}Map`]: c
|
|
236
240
|
};
|
|
237
241
|
}
|
|
238
|
-
function
|
|
239
|
-
const [
|
|
242
|
+
function de(s, o) {
|
|
243
|
+
const [t, e] = S(!1), { message: n } = X.useApp(), r = W(async (p) => {
|
|
240
244
|
try {
|
|
241
245
|
e(!0);
|
|
242
|
-
const u = await s(p), { status:
|
|
243
|
-
|
|
246
|
+
const u = await s(p), { status: l, info: a } = u;
|
|
247
|
+
l == "success" && (o(u), n.success(a));
|
|
244
248
|
} catch {
|
|
245
249
|
}
|
|
246
250
|
e(!1);
|
|
247
|
-
}, [s,
|
|
251
|
+
}, [s, o, n]);
|
|
248
252
|
return {
|
|
249
|
-
loading:
|
|
250
|
-
submit:
|
|
253
|
+
loading: t,
|
|
254
|
+
submit: r
|
|
251
255
|
};
|
|
252
256
|
}
|
|
253
|
-
function
|
|
257
|
+
function pe({
|
|
254
258
|
queryFn: s,
|
|
255
|
-
params:
|
|
256
|
-
dataType:
|
|
259
|
+
params: o,
|
|
260
|
+
dataType: t,
|
|
257
261
|
dataKey: e,
|
|
258
|
-
initialValue:
|
|
262
|
+
initialValue: n
|
|
259
263
|
}) {
|
|
260
|
-
const
|
|
264
|
+
const r = n || (t === "Array" ? [] : /* @__PURE__ */ Object.create({})), [p, u] = S(r), [l, a] = S(!1), i = async (m) => {
|
|
261
265
|
a(!0);
|
|
262
|
-
const g = await s(
|
|
266
|
+
const g = await s(m ?? o);
|
|
263
267
|
u(g.data);
|
|
264
|
-
};
|
|
265
|
-
|
|
266
|
-
f(
|
|
268
|
+
}, f = O(i);
|
|
269
|
+
x(() => {
|
|
270
|
+
f();
|
|
267
271
|
}, []);
|
|
268
|
-
const
|
|
272
|
+
const c = y(() => {
|
|
273
|
+
i();
|
|
274
|
+
});
|
|
269
275
|
return {
|
|
270
276
|
[e]: p,
|
|
271
|
-
loading:
|
|
272
|
-
refresh:
|
|
277
|
+
loading: l,
|
|
278
|
+
refresh: c
|
|
273
279
|
};
|
|
274
280
|
}
|
|
275
281
|
export {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
282
|
+
ie as configureTableOption,
|
|
283
|
+
le as useCreateModal,
|
|
284
|
+
de as useFormSubmit,
|
|
285
|
+
y as useMemoizedFn,
|
|
286
|
+
pe as useRequestQuery,
|
|
287
|
+
ue as useSelectOptions,
|
|
288
|
+
ce as useTableList
|
|
283
289
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base-stone/hooks",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.3",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "leafront",
|
|
7
7
|
"email": "leafront@126.com"
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@eslint/js": "^9.39.2",
|
|
40
|
-
"@types/node": "^25.0.
|
|
41
|
-
"@types/react": "^19.2.
|
|
40
|
+
"@types/node": "^25.0.6",
|
|
41
|
+
"@types/react": "^19.2.8",
|
|
42
42
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
43
43
|
"classnames": "^2.5.1",
|
|
44
44
|
"eslint": "^9.39.2",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"antd": "^6.1.4",
|
|
57
57
|
"react": "^19.2.3",
|
|
58
|
-
"zustand": "^5.0.
|
|
58
|
+
"zustand": "^5.0.10"
|
|
59
59
|
}
|
|
60
60
|
}
|