@vue-start/pro 0.5.21 → 0.5.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,11 +1,11 @@
1
- import { defineComponent as A, provide as se, inject as ie, reactive as Me, createVNode as l, Fragment as te, computed as I, h as be, isVNode as ge, mergeProps as D, ref as z, createTextVNode as tt, toRef as Jt } from "vue";
2
- import { reduce as Q, get as f, map as x, isString as oe, forEach as _, endsWith as ht, set as re, isArray as V, size as X, pick as B, add as Qt, subtract as Zt, isFunction as W, filter as H, has as He, keys as q, isObject as Se, omit as N, some as le, isNumber as bt, head as en, split as tn, isEmpty as gt, mergeWith as nn, startsWith as rn, mapKeys as an, debounce as on, clone as un, isBoolean as me, every as cn, sortBy as St, join as Ge, findLast as ln, cloneDeep as pt } from "lodash";
1
+ import { defineComponent as A, provide as se, inject as ie, reactive as Me, createVNode as l, Fragment as te, computed as I, h as ge, isVNode as Se, mergeProps as D, ref as z, createTextVNode as tt, toRef as Jt } from "vue";
2
+ import { reduce as Q, get as f, map as F, isString as oe, forEach as Y, endsWith as ht, set as re, isArray as V, size as _, pick as B, add as Qt, subtract as Zt, isFunction as H, filter as G, has as He, keys as q, isObject as Pe, omit as N, some as le, isNumber as bt, head as en, split as tn, isEmpty as gt, mergeWith as nn, startsWith as rn, mapKeys as an, debounce as on, clone as un, isBoolean as me, every as cn, sortBy as St, join as Ge, findLast as ln, cloneDeep as Pt } from "lodash";
3
3
  import { filter as Oe, tap as Ke, merge as sn, Subject as dn } from "rxjs";
4
4
  import { map as mn, tap as fn } from "rxjs/operators";
5
- import { useEffect as ne, setReactiveValue as Pt, restorePath as Ct, isValidPath as Et, isPathHasParent as Mt, useRuleState as ke, mergeStateToData as we, convertCollection as Tt, useWatch as It, useUpdateKey as yn, useResizeObserver as ze, decimalFixed as vn, thousandDivision as hn, listToMap as bn, treeToMap as gn, getMenuTopNameMap as Sn, findTreeItem as nt, strToJson as Nt, jsonToStr as pn, useState as rt } from "@vue-start/hooks";
5
+ import { useEffect as ne, setReactiveValue as pt, restorePath as Ct, isValidPath as Et, isPathHasParent as Mt, useRuleState as ke, mergeStateToData as Fe, convertCollection as Tt, useWatch as It, useUpdateKey as yn, useResizeObserver as ze, decimalFixed as vn, thousandDivision as hn, listToMap as bn, treeToMap as gn, getMenuTopNameMap as Sn, findTreeItem as nt, strToJson as Nt, jsonToStr as Pn, useState as rt } from "@vue-start/hooks";
6
6
  import { useRequestProvide as Te, isDoneRequestActor as At, isFailedRequestActor as Dt } from "@vue-start/request";
7
- import { useDispatchStore as $t, useStore as Ot, useObservableRef as Pn, useStoreConn as Cn, shallowEqual as En, createStateUse as Mn } from "@vue-start/store";
8
- import { useRouter as Xe, useRoute as Fe } from "vue-router";
7
+ import { useDispatchStore as $t, useStore as Ot, useObservableRef as pn, useStoreConn as Cn, shallowEqual as En, createStateUse as Mn } from "@vue-start/store";
8
+ import { useRouter as Xe, useRoute as we } from "vue-router";
9
9
  import { css as at } from "@emotion/css";
10
10
  import ot from "dayjs";
11
11
  const Tn = () => ({
@@ -14,7 +14,7 @@ const Tn = () => ({
14
14
  columns: { type: Array },
15
15
  convertColumn: { type: Function },
16
16
  columnState: { type: Object }
17
- }), pe = Tn(), In = () => ({
17
+ }), fe = Tn(), In = () => ({
18
18
  elementMap: { type: Object },
19
19
  formElementMap: { type: Object },
20
20
  formExtraMap: { type: Object },
@@ -23,7 +23,7 @@ const Tn = () => ({
23
23
  registerMetas: { type: Array },
24
24
  convertRouter: { type: Function },
25
25
  expressionMethods: { type: Object }
26
- }), _e = Symbol("pro-config"), Z = () => ie(_e) || {}, Lr = A({
26
+ }), _e = Symbol("pro-config"), Z = () => ie(_e) || {}, xr = A({
27
27
  props: {
28
28
  ...In()
29
29
  },
@@ -31,9 +31,9 @@ const Tn = () => ({
31
31
  const u = Q(e.registerStores, (c, m) => ({ ...c, [m.key]: m }), {}), o = Q(e.registerActors, (c, m) => ({ ...c, [m.actor.name]: m }), {}), n = Q(e.registerMetas, (c, m) => ({ ...c, [m.actorName]: m }), {});
32
32
  Dn(n, o);
33
33
  const { dispatchRequest: r } = Te(), a = (c, m, i) => {
34
- const P = f(o, c);
35
- if (!!P)
36
- return r(P.actor, m, i);
34
+ const p = f(o, c);
35
+ if (!!p)
36
+ return r(p.actor, m, i);
37
37
  };
38
38
  return se(_e, {
39
39
  elementMap: e.elementMap,
@@ -49,10 +49,10 @@ const Tn = () => ({
49
49
  return (c = t.default) == null ? void 0 : c.call(t);
50
50
  };
51
51
  }
52
- }), xr = (e = {}) => (t) => {
52
+ }), Lr = (e = {}) => (t) => {
53
53
  t.provide(_e, e);
54
54
  }, Kt = (e) => (t, u) => {
55
- const { requestSubject$: o } = Te(), n = new Set(x(t, (r) => oe(r) ? r : r.name));
55
+ const { requestSubject$: o } = Te(), n = new Set(F(t, (r) => oe(r) ? r : r.name));
56
56
  ne(() => {
57
57
  const r = o.pipe(
58
58
  Oe(e),
@@ -64,27 +64,27 @@ const Tn = () => ({
64
64
  r.unsubscribe();
65
65
  };
66
66
  }, []);
67
- }, wr = Kt(At), Fr = Kt(Dt), Nn = (e, t, u) => {
68
- const { requestSubject$: o, dispatchRequest: n } = Te(), r = new Set(x(e, (c) => oe(c) ? c : c.name)), a = {};
67
+ }, Fr = Kt(At), wr = Kt(Dt), Nn = (e, t, u) => {
68
+ const { requestSubject$: o, dispatchRequest: n } = Te(), r = new Set(F(e, (c) => oe(c) ? c : c.name)), a = {};
69
69
  ne(() => {
70
70
  const c = sn(
71
71
  o.pipe(
72
72
  Oe(At),
73
73
  Ke((m) => {
74
- var i, P;
75
- r.has(m.name) && ((i = t.onSuccess) == null || i.call(t, m), (P = t.onFinish) == null || P.call(t, m), a[m.name] = void 0);
74
+ var i, p;
75
+ r.has(m.name) && ((i = t.onSuccess) == null || i.call(t, m), (p = t.onFinish) == null || p.call(t, m), a[m.name] = void 0);
76
76
  })
77
77
  ),
78
78
  o.pipe(
79
79
  Oe(Dt),
80
80
  Ke((m) => {
81
- var i, P;
82
- r.has(m.name) && ((i = t.onFailed) == null || i.call(t, m), (P = t.onFinish) == null || P.call(t, m), a[m.name] = void 0);
81
+ var i, p;
82
+ r.has(m.name) && ((i = t.onFailed) == null || i.call(t, m), (p = t.onFinish) == null || p.call(t, m), a[m.name] = void 0);
83
83
  })
84
84
  )
85
85
  ).subscribe();
86
86
  return () => {
87
- c.unsubscribe(), u && _(a, (m) => {
87
+ c.unsubscribe(), u && Y(a, (m) => {
88
88
  m && n({ ...m, stage: "CANCEL" });
89
89
  });
90
90
  };
@@ -123,39 +123,39 @@ const Tn = () => ({
123
123
  };
124
124
  }, []);
125
125
  }, $n = () => {
126
- const { convertRouter: e } = Z(), t = Xe(), u = Fe(), r = { ...t, open: (c, m, i) => window.open(c, m, i), openMenu: (c) => {
126
+ const { convertRouter: e } = Z(), t = Xe(), u = we(), r = { ...t, open: (c, m, i) => window.open(c, m, i), openMenu: (c) => {
127
127
  } };
128
128
  return { router: e ? e(r) : r, route: u };
129
129
  }, On = (e) => {
130
- if (!V(e) || X(e) <= 0)
130
+ if (!V(e) || _(e) <= 0)
131
131
  return !1;
132
132
  const t = e[0];
133
133
  return oe(t) ? ht(t, "$") : !1;
134
- }, Kn = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "data$" && e.type$, Ln = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "obj", xn = { get: f, pick: B, add: Qt, subtract: Zt }, Le = (e, t) => {
134
+ }, Kn = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "data$" && e.type$, xn = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "obj", Ln = { get: f, pick: B, add: Qt, subtract: Zt }, xe = (e, t) => {
135
135
  if (Kn(e)) {
136
136
  const u = f(t, e.name$);
137
137
  return e.namePath$ ? f(u, e.namePath$) : u;
138
- } else if (Ln(e)) {
138
+ } else if (xn(e)) {
139
139
  const u = {};
140
- return _(e, (o, n) => {
140
+ return Y(e, (o, n) => {
141
141
  if (n !== "type$")
142
142
  if (ht(n, "$")) {
143
- const r = Le(o, t);
143
+ const r = xe(o, t);
144
144
  re(u, n.replace("$", ""), r);
145
145
  } else
146
146
  u[n] = o;
147
147
  }), u;
148
148
  } else if (On(e)) {
149
- const [u, ...o] = e, n = t.expressionMethods || xn, r = f(n, u.replace("$", ""));
149
+ const [u, ...o] = e, n = t.expressionMethods || Ln, r = f(n, u.replace("$", ""));
150
150
  if (!r) {
151
151
  console.log("ex", "\u672A\u627E\u5230\u5BF9\u5E94\u7684\u65B9\u6CD5", e);
152
152
  return;
153
153
  }
154
- const a = x(o, (c) => Le(c, t));
154
+ const a = F(o, (c) => xe(c, t));
155
155
  return r(...a);
156
156
  }
157
157
  return e;
158
- }, wn = () => {
158
+ }, Fn = () => {
159
159
  const e = $t(), { registerStoreMap: t } = Z();
160
160
  return (u, o) => {
161
161
  const n = f(t, u);
@@ -163,16 +163,16 @@ const Tn = () => ({
163
163
  };
164
164
  }, jr = (e) => {
165
165
  const { registerStoreMap: t } = Z(), u = f(t, e), o = `${u != null && u.persist ? "$" : ""}${u == null ? void 0 : u.key}`;
166
- return Pn(Cn((r) => {
166
+ return pn(Cn((r) => {
167
167
  const a = f(r, o);
168
- return a || (W(u == null ? void 0 : u.initialState) ? u == null ? void 0 : u.initialState() : u == null ? void 0 : u.initialState);
168
+ return a || (H(u == null ? void 0 : u.initialState) ? u == null ? void 0 : u.initialState() : u == null ? void 0 : u.initialState);
169
169
  }));
170
- }, Lt = Symbol("pro-module"), fe = () => ie(Lt), Fn = (e) => {
171
- se(Lt, e);
170
+ }, xt = Symbol("pro-module"), ye = () => ie(xt), wn = (e) => {
171
+ se(xt, e);
172
172
  }, Ye = (e) => {
173
173
  const {
174
174
  subject$: t
175
- } = fe();
175
+ } = ye();
176
176
  ne(() => {
177
177
  const u = t.subscribe({
178
178
  next: (o) => {
@@ -181,7 +181,7 @@ const Tn = () => ({
181
181
  });
182
182
  return () => u.unsubscribe();
183
183
  }, []);
184
- }, Pe = {
184
+ }, pe = {
185
185
  Success: "request-success$",
186
186
  Fail: "request-fail$"
187
187
  }, Rn = () => ({
@@ -223,112 +223,112 @@ const Tn = () => ({
223
223
  elementMap: r,
224
224
  registerStoreMap: a,
225
225
  expressionMethods: c
226
- } = Z(), m = e.elementMap || r, i = (h) => V(h) ? Ze(m, h) : Ce(m, h), P = new dn(), S = (h) => {
227
- P.next(h);
228
- }, v = H(e.storeKeys, (h) => He(a, h)), b = () => Q(v, (h, y) => {
226
+ } = Z(), m = e.elementMap || r, i = (b) => V(b) ? Ze(m, b) : Ce(m, b), p = new dn(), S = (b) => {
227
+ p.next(b);
228
+ }, v = G(e.storeKeys, (b) => He(a, b)), h = () => Q(v, (b, y) => {
229
229
  const M = f(a, y);
230
230
  return {
231
- ...h,
231
+ ...b,
232
232
  [y]: f(o.value, `${M.persist ? "$" : ""}${y}`) || f(a, [y, "initialState"])
233
233
  };
234
- }, {}), g = b(), s = e.state || Me({
234
+ }, {}), g = h(), s = e.state || Me({
235
235
  ...g,
236
236
  ...e.initState
237
- }), C = {}, p = (h) => {
238
- const y = s[h.type], M = W(h.payload) ? h.payload(y) : h.payload;
239
- if (Se(y)) {
240
- Pt(s[h.type], M);
237
+ }), C = {}, P = (b) => {
238
+ const y = s[b.type], M = H(b.payload) ? b.payload(y) : b.payload;
239
+ if (Pe(y)) {
240
+ pt(s[b.type], M);
241
241
  return;
242
242
  }
243
- s[h.type] = M;
244
- }, d = wn(), E = {
245
- dispatch: p,
243
+ s[b.type] = M;
244
+ }, d = Fn(), E = {
245
+ dispatch: P,
246
246
  dispatchStore: d
247
247
  };
248
248
  ne(() => {
249
- const h = o.pipe(mn(() => b()), fn((y) => {
250
- _(y, (M, T) => {
249
+ const b = o.pipe(mn(() => h()), fn((y) => {
250
+ Y(y, (M, T) => {
251
251
  const de = f(s, T);
252
- En(de, M) || p({
252
+ En(de, M) || P({
253
253
  type: T,
254
254
  payload: M
255
255
  });
256
256
  });
257
257
  })).subscribe();
258
258
  return () => {
259
- h.unsubscribe();
259
+ b.unsubscribe();
260
260
  };
261
261
  }, []);
262
262
  const {
263
- dispatchRequest: F
263
+ dispatchRequest: R
264
264
  } = Te(), j = (() => {
265
- const h = {}, y = Q(e.actors || [], (M, T) => ({
265
+ const b = {}, y = Q(e.actors || [], (M, T) => ({
266
266
  ...M,
267
267
  [T.name]: T
268
268
  }), {});
269
- return _(e.requests, (M) => {
269
+ return Y(e.requests, (M) => {
270
270
  if (oe(M.actor)) {
271
271
  const T = f(y, M.actor);
272
272
  if (!T)
273
273
  return;
274
274
  M.actor = T;
275
275
  }
276
- !M.actor || (h[M.actor.name] = M, M.action && (h[M.action] = M));
277
- }), h;
278
- })(), Y = (h, ...y) => h.convertParams ? h.convertParams(...y) : h.convertParamsEx ? K(h.convertParamsEx, y) : f(y, 0), L = (h, y) => {
276
+ !M.actor || (b[M.actor.name] = M, M.action && (b[M.action] = M));
277
+ }), b;
278
+ })(), W = (b, ...y) => b.convertParams ? b.convertParams(...y) : b.convertParamsEx ? x(b.convertParamsEx, y) : f(y, 0), O = (b, y) => {
279
279
  var M;
280
- return h.convertData ? h.convertData(y) : h.convertDataEx ? K(h.convertDataEx, y) : (M = y.res) == null ? void 0 : M.data;
281
- }, O = (h, ...y) => {
282
- const M = f(j, h);
280
+ return b.convertData ? b.convertData(y) : b.convertDataEx ? x(b.convertDataEx, y) : (M = y.res) == null ? void 0 : M.data;
281
+ }, K = (b, ...y) => {
282
+ const M = f(j, b);
283
283
  if (!M)
284
284
  return;
285
- const T = Y(M, ...y);
286
- M.loadingName && p({
285
+ const T = W(M, ...y);
286
+ M.loadingName && P({
287
287
  type: M.loadingName,
288
288
  payload: !0
289
- }), F(M.actor, T);
289
+ }), R(M.actor, T);
290
290
  };
291
291
  Nn(q(j), {
292
- onSuccess: (h) => {
292
+ onSuccess: (b) => {
293
293
  var T;
294
- const y = f(j, h.name), M = L(y, h);
295
- y != null && y.stateName && p({
294
+ const y = f(j, b.name), M = O(y, b);
295
+ y != null && y.stateName && P({
296
296
  type: y.stateName,
297
297
  payload: M
298
298
  }), S({
299
- type: Pe.Success,
299
+ type: pe.Success,
300
300
  payload: {
301
- actor: h,
301
+ actor: b,
302
302
  requestOpts: y
303
303
  }
304
- }), (T = y.onSuccess) == null || T.call(y, h), y.onSuccessEx && w(y.onSuccessEx, [M]);
304
+ }), (T = y.onSuccess) == null || T.call(y, b), y.onSuccessEx && w(y.onSuccessEx, [M]);
305
305
  },
306
- onFailed: (h) => {
306
+ onFailed: (b) => {
307
307
  var M;
308
- const y = f(j, h.name);
308
+ const y = f(j, b.name);
309
309
  S({
310
- type: Pe.Fail,
310
+ type: pe.Fail,
311
311
  payload: {
312
- actor: h,
312
+ actor: b,
313
313
  requestOpts: y
314
314
  }
315
- }), (M = y.onFailed) == null || M.call(y, h), y.onFailedEx && w(y.onFailedEx, [h.err]);
315
+ }), (M = y.onFailed) == null || M.call(y, b), y.onFailedEx && w(y.onFailedEx, [b.err]);
316
316
  },
317
- onFinish: (h) => {
318
- const y = f(j, [h.name, "loadingName"]);
319
- y && p({
317
+ onFinish: (b) => {
318
+ const y = f(j, [b.name, "loadingName"]);
319
+ y && P({
320
320
  type: y,
321
321
  payload: !1
322
322
  });
323
323
  }
324
324
  }, !0);
325
- const K = (h, y) => Le(h, {
325
+ const x = (b, y) => xe(b, {
326
326
  state: s,
327
327
  data: C,
328
328
  args: y,
329
329
  expressionMethods: c
330
- }), w = (h, y) => {
331
- if (!h)
330
+ }), w = (b, y) => {
331
+ if (!b)
332
332
  return;
333
333
  const M = {
334
334
  state: s,
@@ -336,8 +336,8 @@ const Tn = () => ({
336
336
  args: y,
337
337
  expressionMethods: c
338
338
  };
339
- _(h, (T) => {
340
- if (!V(T) || X(T) < 2) {
339
+ Y(b, (T) => {
340
+ if (!V(T) || _(T) < 2) {
341
341
  console.log("execute invalid", T);
342
342
  return;
343
343
  }
@@ -353,42 +353,42 @@ const Tn = () => ({
353
353
  }
354
354
  if (De)
355
355
  try {
356
- const je = x(Ae, (Yt) => Le(Yt, M));
356
+ const je = F(Ae, (Yt) => xe(Yt, M));
357
357
  De(...je);
358
358
  } catch (je) {
359
359
  console.log("execute err", je);
360
360
  }
361
361
  });
362
362
  };
363
- return Fn({
363
+ return wn({
364
364
  elementMap: m,
365
- subject$: P,
365
+ subject$: p,
366
366
  sendEvent: S,
367
367
  state: s,
368
- dispatch: p,
368
+ dispatch: P,
369
369
  data: C,
370
370
  requests: e.requests,
371
- sendRequest: O,
372
- executeExp: K,
371
+ sendRequest: K,
372
+ executeExp: x,
373
373
  execute: w
374
374
  }), u({
375
375
  sendEvent: S,
376
- sendRequest: O
376
+ sendRequest: K
377
377
  }), () => {
378
- var h;
379
- return l(te, null, [X(e.elementConfigs) > 0 && i(e.elementConfigs), (h = t.default) == null ? void 0 : h.call(t)]);
378
+ var b;
379
+ return l(te, null, [_(e.elementConfigs) > 0 && i(e.elementConfigs), (b = t.default) == null ? void 0 : b.call(t)]);
380
380
  };
381
381
  }
382
- }), xt = (e) => e.formValueType || e.valueType || "text", ue = (e) => {
382
+ }), Lt = (e) => e.formValueType || e.valueType || "text", ue = (e) => {
383
383
  var t;
384
384
  return ((t = e.formItemProps) == null ? void 0 : t.name) || e.dataIndex;
385
385
  }, Je = (e, t) => {
386
386
  var r;
387
- const u = xt(t), o = f(e, u);
387
+ const u = Lt(t), o = f(e, u);
388
388
  if (!o)
389
389
  return null;
390
390
  const n = ue(t);
391
- return be(o, {
391
+ return ge(o, {
392
392
  key: n,
393
393
  name: n,
394
394
  label: t.title,
@@ -399,23 +399,23 @@ const Tn = () => ({
399
399
  }, Qe = (e, t, u) => {
400
400
  var r;
401
401
  const o = t.valueType || "text", n = f(e, o);
402
- return n ? be(n, {
402
+ return n ? ge(n, {
403
403
  ...N(t.formFieldProps, "slots"),
404
404
  showProps: t.showProps,
405
405
  value: u
406
406
  }, (r = t.formFieldProps) == null ? void 0 : r.slots) : null;
407
- }, jn = (e) => e && !W(e) && e.elementType, Ze = (e, t) => x(t, (u) => Ce(e, u)), wt = (e, t) => {
407
+ }, jn = (e) => e && !H(e) && e.elementType, Ze = (e, t) => F(t, (u) => Ce(e, u)), Ft = (e, t) => {
408
408
  var r;
409
409
  const u = t.elementProps, o = {
410
410
  ...t.elementProps
411
411
  }, n = u == null ? void 0 : u.class;
412
412
  return n && (typeof n == "object" ? o.class = at(n) : oe(n) && n.indexOf(":") > 0 && (o.class = at`
413
413
  ${n}
414
- `)), _((r = t.highConfig$) == null ? void 0 : r.registerPropsTrans, (a) => {
414
+ `)), Y((r = t.highConfig$) == null ? void 0 : r.registerPropsTrans, (a) => {
415
415
  const c = f(u, a.name);
416
- if (!(!c || ge(c))) {
416
+ if (!(!c || Se(c))) {
417
417
  if (V(c)) {
418
- if (le(c, (m) => ge(m)))
418
+ if (le(c, (m) => Se(m)))
419
419
  return;
420
420
  re(o, a.name, Ze(e, c));
421
421
  return;
@@ -432,9 +432,9 @@ const Tn = () => ({
432
432
  }) : re(o, a.name, Ce(e, c)));
433
433
  }
434
434
  }), o;
435
- }, Ft = (e, t) => {
436
- const u = X(t.children) > 0 ? Ze(e, t.children) : void 0, o = t.childrenSlotName || "default", n = N(t.slots, u ? o : "");
437
- return _(q(n), (r) => {
435
+ }, wt = (e, t) => {
436
+ const u = _(t.children) > 0 ? Ze(e, t.children) : void 0, o = t.childrenSlotName || "default", n = N(t.slots, u ? o : "");
437
+ return Y(q(n), (r) => {
438
438
  const a = n[r];
439
439
  jn(a) ? n[r] = (...c) => {
440
440
  const m = a.needParams ? {
@@ -453,13 +453,13 @@ const Tn = () => ({
453
453
  }, Ce = (e, t) => {
454
454
  const u = f(e, t.elementType) || t.elementType;
455
455
  if (t.highConfig$)
456
- return be(Un, {
456
+ return ge(Un, {
457
457
  key: t.elementId,
458
458
  elementMap: e,
459
459
  elementConfig: t
460
460
  });
461
- const o = Ft(e, t), n = wt(e, t);
462
- return be(u, {
461
+ const o = wt(e, t), n = Ft(e, t);
462
+ return ge(u, {
463
463
  key: t.elementId,
464
464
  ...n
465
465
  }, o);
@@ -473,43 +473,43 @@ const Tn = () => ({
473
473
  }
474
474
  },
475
475
  setup: (e) => {
476
- var b;
476
+ var h;
477
477
  const {
478
478
  state: t,
479
479
  sendEvent: u,
480
480
  execute: o
481
- } = fe(), {
481
+ } = ye(), {
482
482
  elementMap: n,
483
483
  elementConfig: r
484
- } = e, a = r.highConfig$, c = wt(n, r);
485
- _((b = r.highConfig$) == null ? void 0 : b.registerEventList, (g) => {
486
- const s = (...p) => {
484
+ } = e, a = r.highConfig$, c = Ft(n, r);
485
+ Y((h = r.highConfig$) == null ? void 0 : h.registerEventList, (g) => {
486
+ const s = (...P) => {
487
487
  const d = `${r.elementId}-${g.name}`;
488
488
  u({
489
489
  type: d,
490
- payload: p
491
- }), o(g.executeList, p);
490
+ payload: P
491
+ }), o(g.executeList, P);
492
492
  }, C = Ct(g.name, c);
493
493
  c && Et(C) && Mt(C, c) && re(c, C, s);
494
494
  });
495
495
  const m = I(() => {
496
- if (!a.registerStateList || X(a.registerStateList) <= 0)
496
+ if (!a.registerStateList || _(a.registerStateList) <= 0)
497
497
  return;
498
498
  const g = {
499
499
  ...c
500
- }, s = H(a.registerStateList, (p) => !p.target || p.target === "prop"), C = x(s, (p) => {
501
- const d = p.mapName || p.name, E = f(t, p.name);
500
+ }, s = G(a.registerStateList, (P) => !P.target || P.target === "prop"), C = F(s, (P) => {
501
+ const d = P.mapName || P.name, E = f(t, P.name);
502
502
  return re(g, d, E), kn(d);
503
503
  });
504
504
  return B(g, C);
505
- }), i = f(n, r.elementType) || r.elementType, P = Ft(n, r), S = Q(H(a.registerStateList, (g) => g.target === "slot"), (g, s) => ({
505
+ }), i = f(n, r.elementType) || r.elementType, p = wt(n, r), S = Q(G(a.registerStateList, (g) => g.target === "slot"), (g, s) => ({
506
506
  ...g,
507
507
  [s.mapName]: () => f(t, s.name)
508
508
  }), {}), v = {
509
- ...P,
509
+ ...p,
510
510
  ...S
511
511
  };
512
- return () => f(m.value, "show$") === !1 ? null : be(i, {
512
+ return () => f(m.value, "show$") === !1 ? null : ge(i, {
513
513
  key: r.elementId,
514
514
  ...c,
515
515
  ...N(m.value, "show$")
@@ -538,12 +538,12 @@ const Tn = () => ({
538
538
  ProTableKey: "ProTable$",
539
539
  ProCurdKey: "ProCurd$",
540
540
  ProListKey: "ProList$"
541
- }, G = () => {
541
+ }, X = () => {
542
542
  const { elementMap: e } = Z();
543
543
  return (t) => f(e, t);
544
544
  };
545
545
  function Bn(e) {
546
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ge(e);
546
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Se(e);
547
547
  }
548
548
  const qn = () => ({
549
549
  row: {
@@ -556,15 +556,15 @@ const qn = () => ({
556
556
  items: {
557
557
  type: Array
558
558
  }
559
- }), ve = A({
559
+ }), he = A({
560
560
  props: {
561
561
  ...qn()
562
562
  },
563
563
  setup: (e) => {
564
- const t = G(), u = t(U.RowKey), o = t(U.ColKey);
564
+ const t = X(), u = t(U.RowKey), o = t(U.ColKey);
565
565
  return () => {
566
566
  let n;
567
- return !u || !o ? null : l(u, e.row, Bn(n = x(e.items, (r) => l(o, D({
567
+ return !u || !o ? null : l(u, e.row, Bn(n = F(e.items, (r) => l(o, D({
568
568
  key: r.rowKey
569
569
  }, e.col, r.col), {
570
570
  default: () => [r.vNode]
@@ -575,24 +575,24 @@ const qn = () => ({
575
575
  }
576
576
  }), Vn = (e, t, u) => {
577
577
  if (t) {
578
- const o = H(q(t), (n) => !t[n]);
578
+ const o = G(q(t), (n) => !t[n]);
579
579
  return N(e, o);
580
580
  }
581
581
  if (u) {
582
- const o = H(q(u), (n) => !u[n](e));
582
+ const o = G(q(u), (n) => !u[n](e));
583
583
  return N(e, o);
584
584
  }
585
585
  return e;
586
586
  }, Rt = (e) => {
587
587
  if (!!e)
588
588
  return V(e) ? e : e && oe(e) && e.indexOf(".") > 0 ? tn(e, ".") : [e];
589
- }, kr = (e, t, u) => !t || !u ? e : x(e, (o) => {
590
- const n = W(u) ? u(o) : f(o, u), r = f(t, n);
591
- return !r || gt(r) || W(r) || !Se(r) ? o : nn(o, r, (a, c) => {
589
+ }, kr = (e, t, u) => !t || !u ? e : F(e, (o) => {
590
+ const n = H(u) ? u(o) : f(o, u), r = f(t, n);
591
+ return !r || gt(r) || H(r) || !Pe(r) ? o : nn(o, r, (a, c) => {
592
592
  if (V(a) || V(c))
593
593
  return c;
594
594
  });
595
- }), ye = (e, t) => {
595
+ }), ve = (e, t) => {
596
596
  const u = Q(
597
597
  e,
598
598
  (o, n) => ({
@@ -607,14 +607,14 @@ const qn = () => ({
607
607
  return u.originRef = t, u;
608
608
  }, Ur = (e, t, u) => {
609
609
  const o = { originRef: e, ...u };
610
- return t && X(t) > 0 && _(t, (n) => {
610
+ return t && _(t) > 0 && Y(t, (n) => {
611
611
  o[n] = (...r) => {
612
612
  var a, c;
613
613
  return (c = (a = e.value) == null ? void 0 : a[n]) == null ? void 0 : c.call(a, ...r);
614
614
  };
615
615
  }), o;
616
616
  }, zn = (e, t) => f(e, ["extra", t]) || f(e, t), ae = (e, t) => {
617
- const u = q(e), o = `${t}-`, n = H(u, (a) => rn(a, o)), r = B(e, n);
617
+ const u = q(e), o = `${t}-`, n = G(u, (a) => rn(a, o)), r = B(e, n);
618
618
  return an(r, (a, c) => c.replace(o, ""));
619
619
  }, jt = Symbol("pro-form-list"), kt = () => ie(jt), Ut = (e) => {
620
620
  se(jt, e);
@@ -660,64 +660,64 @@ const qn = () => ({
660
660
  }), Br = A({
661
661
  props: {
662
662
  ...ut(),
663
- ...N(ve.props, "items")
663
+ ...N(he.props, "items")
664
664
  },
665
665
  setup: (e, {
666
666
  slots: t
667
667
  }) => {
668
- const o = G()(U.FormItemKey), {
668
+ const o = X()(U.FormItemKey), {
669
669
  formState: n,
670
670
  readonly: r,
671
671
  formElementMap: a
672
- } = qt(), c = kt(), m = Rt(e.name), i = c != null && c.pathList ? [...c.pathList, ...m] : m, P = () => {
672
+ } = qt(), c = kt(), m = Rt(e.name), i = c != null && c.pathList ? [...c.pathList, ...m] : m, p = () => {
673
673
  let s = f(n, i);
674
674
  V(s) || (s = []), s.push({
675
675
  [e.rowKey]: new Date().valueOf()
676
676
  }), re(n, i, s);
677
677
  }, S = (s) => {
678
678
  const C = f(n, i);
679
- X(C) <= 0 || C.splice(s, 1);
679
+ _(C) <= 0 || C.splice(s, 1);
680
680
  }, v = (s) => {
681
681
  const C = ue(s);
682
682
  return C && t[C] ? t[C](s, n) : Je(a, s);
683
- }, b = I(() => e.row ? x(e.columns, (s) => ({
683
+ }, h = I(() => e.row ? F(e.columns, (s) => ({
684
684
  rowKey: ue(s),
685
685
  vNode: v(s),
686
686
  col: f(s, ["extra", "col"])
687
- })) : x(e.columns, (s) => v(s))), g = q(ut());
687
+ })) : F(e.columns, (s) => v(s))), g = q(ut());
688
688
  return () => o ? l(o, D({
689
689
  class: `pro-form-list ${e.inline ? "pro-form-list-inline" : ""}`,
690
690
  name: e.name
691
691
  }, N(e, g)), {
692
692
  default: () => {
693
693
  var s, C;
694
- return [x(f(n, i), (p, d) => l(Wn, {
695
- key: p[e.rowKey] || d,
694
+ return [F(f(n, i), (P, d) => l(Wn, {
695
+ key: P[e.rowKey] || d,
696
696
  pathList: [...i, d]
697
697
  }, {
698
698
  default: () => {
699
- var E, F, R, j, Y, L;
699
+ var E, R, L, j, W, O;
700
700
  return [l("div", {
701
701
  class: "pro-form-list-item"
702
702
  }, [(E = t.start) == null ? void 0 : E.call(t, {
703
703
  state: n,
704
704
  path: i,
705
705
  index: d
706
- }), a && X(e.columns) > 0 && l(te, null, [e.row ? l(ve, {
706
+ }), a && _(e.columns) > 0 && l(te, null, [e.row ? l(he, {
707
707
  row: e.row,
708
708
  col: e.col,
709
- items: b.value
710
- }, null) : b.value]), (F = t.default) == null ? void 0 : F.call(t), !r.value && l(te, null, [l("div", {
709
+ items: h.value
710
+ }, null) : h.value]), (R = t.default) == null ? void 0 : R.call(t), !r.value && l(te, null, [l("div", {
711
711
  class: "pro-form-list-item-add",
712
- onClick: P
713
- }, [((R = t.itemAdd) == null ? void 0 : R.call(t)) || ((j = e.renderItemAdd) == null ? void 0 : j.call(e))]), l("div", {
712
+ onClick: p
713
+ }, [((L = t.itemAdd) == null ? void 0 : L.call(t)) || ((j = e.renderItemAdd) == null ? void 0 : j.call(e))]), l("div", {
714
714
  class: "pro-form-list-item-minus",
715
715
  onClick: () => S(d)
716
- }, [((Y = t.itemMinus) == null ? void 0 : Y.call(t)) || ((L = e.renderItemMinus) == null ? void 0 : L.call(e))])])])];
716
+ }, [((W = t.itemMinus) == null ? void 0 : W.call(t)) || ((O = e.renderItemMinus) == null ? void 0 : O.call(e))])])])];
717
717
  }
718
718
  })), !r.value && l("div", {
719
719
  class: "pro-form-list-add",
720
- onClick: P
720
+ onClick: p
721
721
  }, [((s = t.add) == null ? void 0 : s.call(t)) || ((C = e.renderAdd) == null ? void 0 : C.call(e))])];
722
722
  }
723
723
  }) : null;
@@ -774,9 +774,9 @@ const ct = () => ({
774
774
  }), qr = A({
775
775
  inheritAttrs: !1,
776
776
  props: {
777
- ...pe,
777
+ ...fe,
778
778
  ...ct(),
779
- ...N(ve.props, "items")
779
+ ...N(he.props, "items")
780
780
  },
781
781
  setup: (e, {
782
782
  slots: t,
@@ -787,26 +787,26 @@ const ct = () => ({
787
787
  const {
788
788
  elementMap: r,
789
789
  formElementMap: a
790
- } = Z(), c = e.elementMap || r, m = e.formElementMap || a, i = e.model || Me({}), P = ke(i, e.showStateRules, e.showState), S = ke(i, e.readonlyStateRules, e.readonlyState), v = ke(i, e.disableStateRules, e.disableState), b = I(() => e.readonly), g = I(() => {
791
- const y = we(e.columns, e.columnState, (M) => ue(M));
790
+ } = Z(), c = e.elementMap || r, m = e.formElementMap || a, i = e.model || Me({}), p = ke(i, e.showStateRules, e.showState), S = ke(i, e.readonlyStateRules, e.readonlyState), v = ke(i, e.disableStateRules, e.disableState), h = I(() => e.readonly), g = I(() => {
791
+ const y = Fe(e.columns, e.columnState, (M) => ue(M));
792
792
  return e.convertColumn ? Tt(y, e.convertColumn) : y;
793
793
  }), s = (y) => {
794
- const M = Vn(y, P, e.showStateRules);
794
+ const M = Vn(y, p, e.showStateRules);
795
795
  u("finish", M, y);
796
796
  }, C = z();
797
- o(ye(e.formMethods || [], C)), Hn({
797
+ o(ve(e.formMethods || [], C)), Hn({
798
798
  formState: i,
799
- showState: P,
799
+ showState: p,
800
800
  readonlyState: S,
801
801
  disableState: v,
802
802
  elementMap: c,
803
803
  formElementMap: m,
804
- readonly: b,
804
+ readonly: h,
805
805
  columns: g,
806
806
  formRef: C,
807
807
  ...e.provideExtra
808
808
  }), Ut({});
809
- const p = [{
809
+ const P = [{
810
810
  value: J.RESET,
811
811
  label: "\u91CD\u7F6E"
812
812
  }, {
@@ -829,20 +829,20 @@ const ct = () => ({
829
829
  return;
830
830
  }
831
831
  (M = C.value) == null || M.submit();
832
- }, F = () => {
832
+ }, R = () => {
833
833
  var y, M;
834
834
  (M = (y = e.operate) == null ? void 0 : y.onContinue) == null || M.call(y);
835
- }, R = {
835
+ }, L = {
836
836
  [J.RESET]: d,
837
837
  [J.SUBMIT]: E,
838
- [J.CONTINUE]: F
838
+ [J.CONTINUE]: R
839
839
  }, j = I(() => {
840
- const y = e.operate, M = (y == null ? void 0 : y.items) || p;
841
- return x(M, (T) => !T.onClick && !f(y == null ? void 0 : y.itemState, [T.value, "onClick"]) ? {
840
+ const y = e.operate, M = (y == null ? void 0 : y.items) || P;
841
+ return F(M, (T) => !T.onClick && !f(y == null ? void 0 : y.itemState, [T.value, "onClick"]) ? {
842
842
  ...T,
843
- onClick: f(R, T.value)
843
+ onClick: f(L, T.value)
844
844
  } : T);
845
- }), Y = I(() => {
845
+ }), W = I(() => {
846
846
  var y;
847
847
  return {
848
848
  [J.SUBMIT]: {
@@ -851,32 +851,32 @@ const ct = () => ({
851
851
  },
852
852
  ...(y = e.operate) == null ? void 0 : y.itemState
853
853
  };
854
- }), L = (y) => {
854
+ }), O = (y) => {
855
855
  const M = ue(y);
856
856
  return M && t[M] ? t[M](y, i) : Je(m, y);
857
- }, O = I(() => e.row ? x(g.value, (y) => ({
857
+ }, K = I(() => e.row ? F(g.value, (y) => ({
858
858
  rowKey: ue(y),
859
- vNode: L(y),
859
+ vNode: O(y),
860
860
  col: f(y, ["extra", "col"])
861
- })) : x(g.value, (y) => L(y))), K = q(ct()), w = q(N(ve.props, "items")), h = f(r, U.FormKey);
862
- return () => h ? l(h, D({
861
+ })) : F(g.value, (y) => O(y))), x = [...q(ct()), ...q(fe)], w = q(N(he.props, "items")), b = f(r, U.FormKey);
862
+ return () => b ? l(b, D({
863
863
  ref: C,
864
864
  class: e.clsName
865
- }, N(n, "onFinish"), N(e, ...K, ...w, "onFinish", "operate"), {
865
+ }, N(n, "onFinish"), N(e, ...x, ...w, "onFinish", "operate"), {
866
866
  model: i,
867
867
  onFinish: s
868
868
  }), {
869
869
  default: () => {
870
870
  var y, M, T;
871
- return [(y = t.start) == null ? void 0 : y.call(t), m && X(g.value) > 0 && l(te, null, [e.row ? l(ve, {
871
+ return [(y = t.start) == null ? void 0 : y.call(t), m && _(g.value) > 0 && l(te, null, [e.row ? l(he, {
872
872
  row: e.row,
873
873
  col: e.col,
874
- items: O.value
875
- }, null) : O.value]), (M = t.default) == null ? void 0 : M.call(t), e.operate && l(Vt, D({
874
+ items: K.value
875
+ }, null) : K.value]), (M = t.default) == null ? void 0 : M.call(t), e.operate && l(Vt, D({
876
876
  class: `${e.clsName}-operate`
877
877
  }, N(e.operate, "items", "itemState", "onReset", "onSubmit", "onContinue"), {
878
878
  items: j.value,
879
- itemState: Y.value
879
+ itemState: W.value
880
880
  }), null), (T = t.end) == null ? void 0 : T.call(t)];
881
881
  }
882
882
  }) : null;
@@ -893,10 +893,10 @@ const ct = () => ({
893
893
  date: "\u8BF7\u9009\u62E9",
894
894
  time: "\u8BF7\u9009\u62E9"
895
895
  };
896
- let xe;
896
+ let Le;
897
897
  (function(e) {
898
898
  e.AUTO = "AUTO", e.MANUAL = "MANUAL";
899
- })(xe || (xe = {}));
899
+ })(Le || (Le = {}));
900
900
  const lt = () => ({
901
901
  initEmit: {
902
902
  type: Boolean,
@@ -904,7 +904,7 @@ const lt = () => ({
904
904
  },
905
905
  searchMode: {
906
906
  type: String,
907
- default: xe.AUTO
907
+ default: Le.AUTO
908
908
  },
909
909
  debounceKeys: {
910
910
  type: Array
@@ -929,14 +929,14 @@ const lt = () => ({
929
929
  slots: t,
930
930
  expose: u
931
931
  }) => {
932
- const n = G()(U.ProFormKey), r = e.model || Me({}), a = new Set(e.debounceTypes), c = x(H(e.columns, (s) => {
933
- const C = xt(s);
932
+ const n = X()(U.ProFormKey), r = e.model || Me({}), a = new Set(e.debounceTypes), c = F(G(e.columns, (s) => {
933
+ const C = Lt(s);
934
934
  return a.has(C);
935
- }), (s) => ue(s)), m = I(() => x(e.columns, (s) => ({
935
+ }), (s) => ue(s)), m = I(() => F(e.columns, (s) => ({
936
936
  ...s,
937
937
  formItemProps: N(s.formItemProps, "required")
938
- }))), i = z(), P = e.formMethods || [];
939
- u(ye(P, i));
938
+ }))), i = z(), p = e.formMethods || [];
939
+ u(ve(p, i));
940
940
  const S = () => {
941
941
  var s;
942
942
  (s = i.value) == null || s.submit();
@@ -946,12 +946,12 @@ const lt = () => ({
946
946
  ne(() => {
947
947
  e.initEmit && S();
948
948
  }, []);
949
- const b = (s, C, p) => le(p, (d) => f(s, d) !== f(C, d));
949
+ const h = (s, C, P) => le(P, (d) => f(s, d) !== f(C, d));
950
950
  It((s, C) => {
951
- if (e.searchMode !== xe.AUTO)
951
+ if (e.searchMode !== Le.AUTO)
952
952
  return;
953
- const p = X(e.debounceKeys) > 0 ? e.debounceKeys : c;
954
- if (X(p) > 0 && b(s, C, p)) {
953
+ const P = _(e.debounceKeys) > 0 ? e.debounceKeys : c;
954
+ if (_(P) > 0 && h(s, C, P)) {
955
955
  v();
956
956
  return;
957
957
  }
@@ -998,37 +998,37 @@ const lt = () => ({
998
998
  } = Z(), {
999
999
  formState: m,
1000
1000
  showState: i,
1001
- readonlyState: P,
1001
+ readonlyState: p,
1002
1002
  disableState: S,
1003
1003
  readonly: v,
1004
- elementMap: b
1005
- } = qt(), g = kt(), s = I(() => me(r.readonly) ? r.readonly : me(P[r.name]) ? P[r.name] : v.value), C = () => `${f(c == null ? void 0 : c.rulePrefixMap, o) || "\u8BF7\u8F93\u5165"}${r.label || ""}`, p = I(() => c != null && c.rulePrefixMap ? r.required === !0 && !r.rules ? [{
1004
+ elementMap: h
1005
+ } = qt(), g = kt(), s = I(() => me(r.readonly) ? r.readonly : me(p[r.name]) ? p[r.name] : v.value), C = () => `${f(c == null ? void 0 : c.rulePrefixMap, o) || "\u8BF7\u8F93\u5165"}${r.label || ""}`, P = I(() => c != null && c.rulePrefixMap ? r.required === !0 && !r.rules ? [{
1006
1006
  required: !0,
1007
1007
  message: C()
1008
- }] : r.rules ? x(r.rules, (j) => (j.required && !j.message && (j.message = C()), j)) : r.rules : r.rules), d = Rt(r.name), E = g != null && g.pathList ? [...g.pathList, ...d] : d, F = (j) => {
1008
+ }] : r.rules ? F(r.rules, (j) => (j.required && !j.message && (j.message = C()), j)) : r.rules : r.rules), d = Rt(r.name), E = g != null && g.pathList ? [...g.pathList, ...d] : d, R = (j) => {
1009
1009
  re(m, E, j);
1010
- }, R = q(st());
1010
+ }, L = q(st());
1011
1011
  return () => {
1012
1012
  const j = f(i, E);
1013
1013
  if (me(j) && !j)
1014
1014
  return null;
1015
- const Y = f(m, E), L = f(b, o);
1016
- return l(e, D(N(r, ...R, "name", "rules", "slots"), {
1015
+ const W = f(m, E), O = f(h, o);
1016
+ return l(e, D(N(r, ...L, "name", "rules", "slots"), {
1017
1017
  name: E,
1018
- rules: p.value
1018
+ rules: P.value
1019
1019
  }), {
1020
- default: () => [s.value ? l(te, null, [L ? l(L, D({
1021
- value: Y
1020
+ default: () => [s.value ? l(te, null, [O ? l(O, D({
1021
+ value: W
1022
1022
  }, r.fieldProps, {
1023
1023
  showProps: r.showProps
1024
- }), a) : l("span", null, [Y])]) : l(u, D(t(Y, F, f(S, E)), r.fieldProps), a)],
1024
+ }), a) : l("span", null, [W])]) : l(u, D(t(W, R, f(S, E)), r.fieldProps), a)],
1025
1025
  ...r.slots
1026
1026
  });
1027
1027
  };
1028
1028
  }
1029
1029
  });
1030
1030
  function Gn(e) {
1031
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ge(e);
1031
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Se(e);
1032
1032
  }
1033
1033
  const Xn = () => ({
1034
1034
  clsName: {
@@ -1052,9 +1052,9 @@ const Xn = () => ({
1052
1052
  setup: (e, {
1053
1053
  slots: t
1054
1054
  }) => {
1055
- const u = G(), o = e.elementKey ? u(e.elementKey) : void 0, n = I(() => {
1056
- const a = H(e.items, (c) => W(c.show) ? c.show() : me(c.show) ? c.show : !0);
1057
- return x(a, (c) => He(e.itemState, c.value) ? {
1055
+ const u = X(), o = e.elementKey ? u(e.elementKey) : void 0, n = I(() => {
1056
+ const a = G(e.items, (c) => H(c.show) ? c.show() : me(c.show) ? c.show : !0);
1057
+ return F(a, (c) => He(e.itemState, c.value) ? {
1058
1058
  ...c,
1059
1059
  ...f(e.itemState, c.value)
1060
1060
  } : c);
@@ -1064,16 +1064,16 @@ const Xn = () => ({
1064
1064
  };
1065
1065
  return () => l("div", {
1066
1066
  class: e.clsName
1067
- }, [x(n.value, (a) => {
1068
- const c = W(a.disabled) ? a.disabled() : a.disabled, m = W(a.loading) ? a.loading() : a.loading, i = W(a.label) ? a.label() : a.label, P = W(a.extraProps) ? a.extraProps() : a.extraProps, S = {
1067
+ }, [F(n.value, (a) => {
1068
+ const c = H(a.disabled) ? a.disabled() : a.disabled, m = H(a.loading) ? a.loading() : a.loading, i = H(a.label) ? a.label() : a.label, p = H(a.extraProps) ? a.extraProps() : a.extraProps, S = {
1069
1069
  ...N(a, "show", "disabled", "element"),
1070
1070
  disabled: c
1071
1071
  };
1072
- return a.element && W(a.element) ? a.element(S) : t[a.value] ? t[a.value](S) : o ? l(o, D({
1072
+ return a.element && H(a.element) ? a.element(S) : t[a.value] ? t[a.value](S) : o ? l(o, D({
1073
1073
  disabled: c,
1074
1074
  loading: m,
1075
1075
  onClick: () => r(a)
1076
- }, P), Gn(i) ? i : {
1076
+ }, p), Gn(i) ? i : {
1077
1077
  default: () => [i]
1078
1078
  }) : l("div", {
1079
1079
  class: `${e.clsName}-item`,
@@ -1109,56 +1109,56 @@ const Xn = () => ({
1109
1109
  setup: (e, {
1110
1110
  slots: t
1111
1111
  }) => {
1112
- const u = G(), o = u(U.PopoverKey), n = u(U.CheckboxKey), {
1112
+ const u = X(), o = u(U.PopoverKey), n = u(U.CheckboxKey), {
1113
1113
  originColumns: r,
1114
1114
  selectIdsRef: a
1115
1115
  } = Jn(), [c, m] = yn();
1116
1116
  let i = {};
1117
- const P = (d) => {
1117
+ const p = (d) => {
1118
1118
  i[d] = !1;
1119
1119
  }, S = () => {
1120
- _(a.value, (d) => {
1120
+ Y(a.value, (d) => {
1121
1121
  i[d] = !0;
1122
1122
  });
1123
1123
  }, v = I(() => Q(a.value, (d, E) => ({
1124
1124
  ...d,
1125
1125
  [E]: !0
1126
- }), {})), b = (d) => zn(d, e.signName);
1126
+ }), {})), h = (d) => zn(d, e.signName);
1127
1127
  ne(() => {
1128
- a.value = x(H(r.value, (d) => {
1128
+ a.value = F(G(r.value, (d) => {
1129
1129
  var E;
1130
- return e.useSelectedStatus && He(i, d.dataIndex) ? i[d.dataIndex] : ((E = b(d)) == null ? void 0 : E.initShow) !== !1;
1130
+ return e.useSelectedStatus && He(i, d.dataIndex) ? i[d.dataIndex] : ((E = h(d)) == null ? void 0 : E.initShow) !== !1;
1131
1131
  }), (d) => d.dataIndex);
1132
1132
  }, r), It(() => {
1133
1133
  var d;
1134
1134
  m(), S(), (d = e.onColumnSelectChange) == null || d.call(e, a.value);
1135
1135
  }, a);
1136
1136
  const g = I(() => {
1137
- const d = cn(r.value, (F) => {
1138
- var R;
1139
- return (R = b(F)) != null && R.disabled ? !0 : f(v.value, F.dataIndex);
1140
- }), E = le(r.value, (F) => {
1141
- var R;
1142
- return (R = b(F)) != null && R.disabled ? !0 : f(v.value, F.dataIndex);
1137
+ const d = cn(r.value, (R) => {
1138
+ var L;
1139
+ return (L = h(R)) != null && L.disabled ? !0 : f(v.value, R.dataIndex);
1140
+ }), E = le(r.value, (R) => {
1141
+ var L;
1142
+ return (L = h(R)) != null && L.disabled ? !0 : f(v.value, R.dataIndex);
1143
1143
  });
1144
1144
  return {
1145
1145
  checked: d,
1146
1146
  indeterminate: d ? !1 : E
1147
1147
  };
1148
1148
  }), s = (d) => {
1149
- var F;
1150
- (Se(d) ? (F = d.target) == null ? void 0 : F.checked : d) ? a.value = x(r.value, (R) => R.dataIndex) : a.value = x(H(r.value, (R) => {
1149
+ var R;
1150
+ (Pe(d) ? (R = d.target) == null ? void 0 : R.checked : d) ? a.value = F(r.value, (L) => L.dataIndex) : a.value = F(G(r.value, (L) => {
1151
1151
  var j;
1152
- return (j = b(R)) != null && j.disabled ? !0 : (P(R.dataIndex), !1);
1153
- }), (R) => R.dataIndex);
1152
+ return (j = h(L)) != null && j.disabled ? !0 : (p(L.dataIndex), !1);
1153
+ }), (L) => L.dataIndex);
1154
1154
  }, C = () => {
1155
- a.value = x(H(r.value, (d) => {
1155
+ a.value = F(G(r.value, (d) => {
1156
1156
  var E;
1157
- return ((E = b(d)) == null ? void 0 : E.initShow) === !1 ? (P(d.dataIndex), !1) : !0;
1157
+ return ((E = h(d)) == null ? void 0 : E.initShow) === !1 ? (p(d.dataIndex), !1) : !0;
1158
1158
  }), (d) => d.dataIndex);
1159
- }, p = (d, E) => {
1160
- var R;
1161
- (Se(E) ? (R = E.target) == null ? void 0 : R.checked : E) ? a.value = [...a.value, d.dataIndex] : a.value = H(a.value, (j) => d.dataIndex === j ? (P(d.dataIndex), !1) : !0);
1159
+ }, P = (d, E) => {
1160
+ var L;
1161
+ (Pe(E) ? (L = E.target) == null ? void 0 : L.checked : E) ? a.value = [...a.value, d.dataIndex] : a.value = G(a.value, (j) => d.dataIndex === j ? (p(d.dataIndex), !1) : !0);
1162
1162
  };
1163
1163
  return () => o ? l(o, D({
1164
1164
  trigger: "click"
@@ -1183,13 +1183,13 @@ const Xn = () => ({
1183
1183
  }, [tt("\u91CD\u7F6E")])]), l("div", {
1184
1184
  key: c.value,
1185
1185
  class: `${e.clsName}-list`
1186
- }, [x(r.value, (d) => {
1187
- const E = b(d), F = f(v.value, d.dataIndex, !1);
1186
+ }, [F(r.value, (d) => {
1187
+ const E = h(d), R = f(v.value, d.dataIndex, !1);
1188
1188
  return l(n, {
1189
- checked: F,
1189
+ checked: R,
1190
1190
  disabled: E == null ? void 0 : E.disabled,
1191
- onChange: (R) => {
1192
- p(d, R);
1191
+ onChange: (L) => {
1192
+ P(d, L);
1193
1193
  }
1194
1194
  }, {
1195
1195
  default: () => [d.title]
@@ -1238,7 +1238,7 @@ const Xn = () => ({
1238
1238
  }), Hr = A({
1239
1239
  inheritAttrs: !1,
1240
1240
  props: {
1241
- ...pe,
1241
+ ...fe,
1242
1242
  ...it()
1243
1243
  },
1244
1244
  setup: (e, {
@@ -1255,109 +1255,109 @@ const Xn = () => ({
1255
1255
  ...e.column,
1256
1256
  ...me(e.serialNumber) ? void 0 : e.serialNumber,
1257
1257
  customRender: ({
1258
- index: O
1258
+ index: K
1259
1259
  }) => {
1260
- var K, w;
1261
- return ((K = e.paginationState) == null ? void 0 : K.page) && ((w = e.paginationState) == null ? void 0 : w.pageSize) ? e.paginationState.pageSize * (e.paginationState.page - 1) + O + 1 : O + 1;
1260
+ var x, w;
1261
+ return ((x = e.paginationState) == null ? void 0 : x.page) && ((w = e.paginationState) == null ? void 0 : w.pageSize) ? e.paginationState.pageSize * (e.paginationState.page - 1) + K + 1 : K + 1;
1262
1262
  }
1263
- }), m = (O, K) => {
1263
+ }), m = (K, x) => {
1264
1264
  var w;
1265
- if (e.operateItemClickMap && e.operateItemClickMap[K.value]) {
1266
- e.operateItemClickMap[K.value](O, K);
1265
+ if (e.operateItemClickMap && e.operateItemClickMap[x.value]) {
1266
+ e.operateItemClickMap[x.value](K, x);
1267
1267
  return;
1268
1268
  }
1269
- (w = K.onClick) == null || w.call(K, O);
1270
- }, i = ae(t, "operate"), P = () => {
1271
- const O = e.operate, K = x(O.items, (h) => ({
1272
- ...f(e.operateItemState, h.value),
1273
- ...h,
1274
- ...f(O.itemState, h.value)
1275
- })), w = St(K, (h) => h.sort);
1269
+ (w = x.onClick) == null || w.call(x, K);
1270
+ }, i = ae(t, "operate"), p = () => {
1271
+ const K = e.operate, x = F(K.items, (b) => ({
1272
+ ...f(e.operateItemState, b.value),
1273
+ ...b,
1274
+ ...f(K.itemState, b.value)
1275
+ })), w = St(x, (b) => b.sort);
1276
1276
  return {
1277
1277
  ...e.column,
1278
1278
  title: "\u64CD\u4F5C",
1279
1279
  dataIndex: "operate",
1280
1280
  fixed: "right",
1281
- ...O.column,
1281
+ ...K.column,
1282
1282
  customRender: ({
1283
- record: h
1283
+ record: b
1284
1284
  }) => {
1285
- const y = x(w, (T) => ({
1285
+ const y = F(w, (T) => ({
1286
1286
  ...T,
1287
- show: W(T.show) ? T.show(h) : T.show,
1288
- disabled: W(T.disabled) ? T.disabled(h) : T.disabled,
1289
- loading: W(T.loading) ? T.loading(h) : T.loading,
1290
- extraProps: W(T.extraProps) ? T.extraProps(h) : T.extraProps,
1291
- element: W(T.element) ? () => T.element(h, T) : T.element,
1292
- onClick: () => m(h, T)
1287
+ show: H(T.show) ? T.show(b) : T.show,
1288
+ disabled: H(T.disabled) ? T.disabled(b) : T.disabled,
1289
+ loading: H(T.loading) ? T.loading(b) : T.loading,
1290
+ extraProps: H(T.extraProps) ? T.extraProps(b) : T.extraProps,
1291
+ element: H(T.element) ? () => T.element(b, T) : T.element,
1292
+ onClick: () => m(b, T)
1293
1293
  })), M = Q(q(i), (T, de) => ({
1294
1294
  ...T,
1295
1295
  [de]: (Ne) => {
1296
1296
  var Ae;
1297
- return (Ae = i[de]) == null ? void 0 : Ae.call(i, h, Ne);
1297
+ return (Ae = i[de]) == null ? void 0 : Ae.call(i, b, Ne);
1298
1298
  }
1299
1299
  }), {});
1300
1300
  return l(Vt, {
1301
1301
  class: `${e.clsName}-operate`,
1302
1302
  items: y,
1303
- elementKey: O.elementKey || U.TableOperateKey
1303
+ elementKey: K.elementKey || U.TableOperateKey
1304
1304
  }, M);
1305
1305
  }
1306
1306
  };
1307
1307
  }, S = z([]), v = I(() => {
1308
- var O;
1309
- return !!((O = e.toolbar) != null && O.columnSetting);
1310
- }), b = Jt(e, "columns"), g = I(() => {
1308
+ var K;
1309
+ return !!((K = e.toolbar) != null && K.columnSetting);
1310
+ }), h = Jt(e, "columns"), g = I(() => {
1311
1311
  if (!v.value)
1312
1312
  return e.columns;
1313
- const O = Q(S.value, (K, w) => ({
1314
- ...K,
1313
+ const K = Q(S.value, (x, w) => ({
1314
+ ...x,
1315
1315
  [w]: !0
1316
1316
  }), {});
1317
- return H(e.columns, (K) => f(O, K.dataIndex));
1318
- }), s = (O) => x(O, (K) => {
1317
+ return G(e.columns, (x) => f(K, x.dataIndex));
1318
+ }), s = (K) => F(K, (x) => {
1319
1319
  const w = {
1320
1320
  ...e.column,
1321
- ...K
1322
- }, h = e.convertColumn ? e.convertColumn(w) : w;
1323
- return K.children && X(K.children) > 0 ? (h.children = s(K.children), h) : (K.customRender || (h.customRender = ({
1321
+ ...x
1322
+ }, b = e.convertColumn ? e.convertColumn(w) : w;
1323
+ return x.children && _(x.children) > 0 ? (b.children = s(x.children), b) : (x.customRender || (b.customRender = ({
1324
1324
  text: y
1325
1325
  }) => {
1326
1326
  var T;
1327
1327
  return Qe(r, {
1328
- ...K,
1328
+ ...x,
1329
1329
  showProps: {
1330
- ...K.showProps,
1331
- content: ((T = K.showProps) == null ? void 0 : T.content) || e.columnEmptyText
1330
+ ...x.showProps,
1331
+ content: ((T = x.showProps) == null ? void 0 : T.content) || e.columnEmptyText
1332
1332
  }
1333
1333
  }, y) || y || e.columnEmptyText;
1334
- }), h);
1334
+ }), b);
1335
1335
  }), C = I(() => {
1336
- const O = we(g.value, e.columnState, (w) => w.dataIndex, {
1336
+ const K = Fe(g.value, e.columnState, (w) => w.dataIndex, {
1337
1337
  children: "children"
1338
- }), K = s(O);
1339
- return e.serialNumber && K.unshift(c()), e.operate && e.operate.items && le(e.operate.items, (w) => w.show) && K.push(P()), K;
1340
- }), p = z();
1338
+ }), x = s(K);
1339
+ return e.serialNumber && x.unshift(c()), e.operate && e.operate.items && le(e.operate.items, (w) => w.show) && x.push(p()), x;
1340
+ }), P = z();
1341
1341
  Qn({
1342
1342
  columns: C,
1343
- originColumns: b,
1343
+ originColumns: h,
1344
1344
  selectIdsRef: S,
1345
- tableRef: p,
1345
+ tableRef: P,
1346
1346
  toolbar: e.toolbar,
1347
1347
  ...e.provideExtra
1348
- }), u(ye(e.tableMethods || [], p));
1349
- const d = z(), E = z(!1), F = z(), R = z(!1);
1348
+ }), u(ve(e.tableMethods || [], P));
1349
+ const d = z(), E = z(!1), R = z(), L = z(!1);
1350
1350
  ze(d, () => {
1351
1351
  E.value = !!d.value.innerText;
1352
- }), ze(F, () => {
1353
- R.value = !!F.value.innerText;
1352
+ }), ze(R, () => {
1353
+ L.value = !!R.value.innerText;
1354
1354
  });
1355
- const j = I(() => R.value || E.value ? `${e.clsName}-toolbar-valid` : ""), Y = q(it()), L = ae(t, "columnSetting");
1355
+ const j = I(() => L.value || E.value ? `${e.clsName}-toolbar-valid` : ""), W = q(it()), O = ae(t, "columnSetting");
1356
1356
  return () => {
1357
- var K, w;
1357
+ var x, w;
1358
1358
  if (!a)
1359
1359
  return null;
1360
- const O = v.value ? l(Yn, (K = e.toolbar) == null ? void 0 : K.columnSetting, L) : null;
1360
+ const K = v.value ? l(Yn, (x = e.toolbar) == null ? void 0 : x.columnSetting, O) : null;
1361
1361
  return l("div", D({
1362
1362
  class: e.clsName
1363
1363
  }, B(o, "class")), [l("div", {
@@ -1366,11 +1366,11 @@ const Xn = () => ({
1366
1366
  ref: d,
1367
1367
  class: `${e.clsName}-toolbar-start`
1368
1368
  }, [(w = t.toolbar) == null ? void 0 : w.call(t)]), l("div", {
1369
- ref: F,
1369
+ ref: R,
1370
1370
  class: `${e.clsName}-toolbar-extra`
1371
- }, [t.toolbarExtra ? t.toolbarExtra([O]) : l(te, null, [O])])]), l(a, D({
1372
- ref: p
1373
- }, N(o, "class"), N(e, Y), {
1371
+ }, [t.toolbarExtra ? t.toolbarExtra([K]) : l(te, null, [K])])]), l(a, D({
1372
+ ref: P
1373
+ }, N(o, "class"), N(e, W), {
1374
1374
  columns: C.value
1375
1375
  }), t)]);
1376
1376
  };
@@ -1446,7 +1446,7 @@ const Xn = () => ({
1446
1446
  setup: (e, {
1447
1447
  slots: t
1448
1448
  }) => {
1449
- const o = G()(U.LoadingKey), n = q(Ue.props);
1449
+ const o = X()(U.LoadingKey), n = q(Ue.props);
1450
1450
  return () => {
1451
1451
  var c, m, i;
1452
1452
  const r = e.title || t.title || e.subTitle || t.subTitle || t.extra, a = !!t.footer;
@@ -1489,6 +1489,18 @@ const Xn = () => ({
1489
1489
  },
1490
1490
  pageState: {
1491
1491
  type: Object
1492
+ },
1493
+ start: {
1494
+ type: Function
1495
+ },
1496
+ divide: {
1497
+ type: Function
1498
+ },
1499
+ divide2: {
1500
+ type: Function
1501
+ },
1502
+ end: {
1503
+ type: Function
1492
1504
  }
1493
1505
  }), rr = A({
1494
1506
  props: {
@@ -1498,7 +1510,7 @@ const Xn = () => ({
1498
1510
  slots: t,
1499
1511
  emit: u
1500
1512
  }) => {
1501
- const o = G(), n = o(U.ProSearchFormKey), r = o(U.ProTableKey), a = o(U.PaginationKey), c = e.pageState || Me({
1513
+ const o = X(), n = o(U.ProSearchFormKey), r = o(U.ProTableKey), a = o(U.PaginationKey), c = e.pageState || Me({
1502
1514
  ...tr
1503
1515
  });
1504
1516
  let m;
@@ -1507,24 +1519,24 @@ const Xn = () => ({
1507
1519
  ...m,
1508
1520
  ...c
1509
1521
  });
1510
- }, P = (s, C) => {
1522
+ }, p = (s, C) => {
1511
1523
  m = s, c.page = C || 1, i();
1512
1524
  }, S = (s, C) => {
1513
1525
  c.page = s, c.pageSize = C, i();
1514
- }, v = ae(t, "search"), b = ae(t, "table"), g = ae(t, "pagination");
1526
+ }, v = ae(t, "search"), h = ae(t, "table"), g = ae(t, "pagination");
1515
1527
  return () => {
1516
- var C, p, d, E;
1528
+ var C, P, d, E, R, L, j, W;
1517
1529
  const s = t.search ? t.search({
1518
- executeSearchWithResetPage: P,
1530
+ executeSearchWithResetPage: p,
1519
1531
  pageState: c
1520
1532
  }) : l(te, null, [n && l(n, D({
1521
1533
  class: `${e.clsName}-search`
1522
1534
  }, N(e.searchProps, "onFinish"), {
1523
- onFinish: (F) => P(F)
1535
+ onFinish: (O) => p(O)
1524
1536
  }), v)]);
1525
1537
  return l("div", {
1526
1538
  class: e.clsName
1527
- }, [(C = t.start) == null ? void 0 : C.call(t), !e.searchInTable && s, (p = t.divide) == null ? void 0 : p.call(t), t.table ? t.table({
1539
+ }, [((C = t.start) == null ? void 0 : C.call(t)) || ((P = e.start) == null ? void 0 : P.call(e)), !e.searchInTable && s, ((d = t.divide) == null ? void 0 : d.call(t)) || ((E = e.divide) == null ? void 0 : E.call(e)), t.table ? t.table({
1528
1540
  pageState: c
1529
1541
  }) : l(te, null, [r && l(r, D({
1530
1542
  class: `${e.clsName}-table`,
@@ -1534,9 +1546,9 @@ const Xn = () => ({
1534
1546
  },
1535
1547
  pagination: !1
1536
1548
  }, e.tableProps), {
1537
- ...b,
1538
- toolbar: e.searchInTable ? () => b.toolbar ? b.toolbar(s) : s : b.toolbar
1539
- })]), (d = t.divide2) == null ? void 0 : d.call(t), t.pagination ? t.pagination({
1549
+ ...h,
1550
+ toolbar: e.searchInTable ? () => h.toolbar ? h.toolbar(s) : s : h.toolbar
1551
+ })]), ((R = t.divide2) == null ? void 0 : R.call(t)) || ((L = e.divide2) == null ? void 0 : L.call(e)), t.pagination ? t.pagination({
1540
1552
  executePageChange: S,
1541
1553
  pageState: c
1542
1554
  }) : l(te, null, [e.paginationProps !== !1 && a && l("div", {
@@ -1545,7 +1557,7 @@ const Xn = () => ({
1545
1557
  page: c.page,
1546
1558
  pageSize: c.pageSize,
1547
1559
  onComposeChange: S
1548
- }), g)])]), (E = t.end) == null ? void 0 : E.call(t)]);
1560
+ }), g)])]), ((j = t.end) == null ? void 0 : j.call(t)) || ((W = e.end) == null ? void 0 : W.call(e))]);
1549
1561
  };
1550
1562
  }
1551
1563
  }), dt = () => ({
@@ -1558,7 +1570,7 @@ const Xn = () => ({
1558
1570
  }
1559
1571
  }), ar = A({
1560
1572
  props: {
1561
- ...pe,
1573
+ ...fe,
1562
1574
  ...dt()
1563
1575
  },
1564
1576
  setup: (e, {
@@ -1566,14 +1578,14 @@ const Xn = () => ({
1566
1578
  }) => {
1567
1579
  const {
1568
1580
  elementMap: u
1569
- } = Z(), o = e.elementMap || u, n = G(), r = n(U.DescriptionsKey), a = n(U.DescriptionsItemKey), c = I(() => we(e.columns, e.columnState, "dataIndex")), m = q(pe), i = q(dt());
1581
+ } = Z(), o = e.elementMap || u, n = X(), r = n(U.DescriptionsKey), a = n(U.DescriptionsItemKey), c = I(() => Fe(e.columns, e.columnState, "dataIndex")), m = q(fe), i = q(dt());
1570
1582
  return () => !r || !a ? null : l(r, D({
1571
1583
  class: e.clsName
1572
1584
  }, N(e, ...m, ...i, "model")), {
1573
1585
  default: () => {
1574
- var P, S;
1575
- return [(P = t.start) == null ? void 0 : P.call(t), x(c.value, (v) => {
1576
- const b = v.dataIndex, g = f(e.model, b);
1586
+ var p, S;
1587
+ return [(p = t.start) == null ? void 0 : p.call(t), F(c.value, (v) => {
1588
+ const h = v.dataIndex, g = f(e.model, h);
1577
1589
  return l(a, D({
1578
1590
  class: `${e.clsName}-item`
1579
1591
  }, f(v.extra, "desc")), {
@@ -1607,7 +1619,7 @@ const Xn = () => ({
1607
1619
  setup: (e, {
1608
1620
  attrs: t
1609
1621
  }) => {
1610
- const o = G()(U.PopoverKey), n = () => {
1622
+ const o = X()(U.PopoverKey), n = () => {
1611
1623
  var r, a;
1612
1624
  return e.ellipsis ? e.ellipsis === !0 ? 1 : ((r = e.ellipsis) == null ? void 0 : r.rows) || ((a = e.ellipsis) == null ? void 0 : a.num) || 1 : "unset";
1613
1625
  };
@@ -1696,7 +1708,7 @@ const Xn = () => ({
1696
1708
  const u = I(() => bn(e.options, (r) => r.label), void 0), o = I(() => {
1697
1709
  const r = e.value;
1698
1710
  let a = e.value;
1699
- return V(r) ? a = Ge(x(r, (c) => f(u.value, c, c)), e.splitStr) : a = f(u.value, r, e.value), e.convert ? e.convert(a, e) : a;
1711
+ return V(r) ? a = Ge(F(r, (c) => f(u.value, c, c)), e.splitStr) : a = f(u.value, r, e.value), e.convert ? e.convert(a, e) : a;
1700
1712
  }), n = I(() => f(e.colorMap, e.value));
1701
1713
  return () => l(Re, D(B(t, "style", "class"), {
1702
1714
  style: `color:${n.value || ""}`,
@@ -1733,7 +1745,7 @@ const Xn = () => ({
1733
1745
  });
1734
1746
  }), o = I(() => {
1735
1747
  let n = e.value;
1736
- return V(e.value) ? n = Ge(x(e.value, (r) => f(u.value, r, r)), e.splitStr) : n = f(u.value, e.value, e.value), e.convert ? e.convert(n, e) : n;
1748
+ return V(e.value) ? n = Ge(F(e.value, (r) => f(u.value, r, r)), e.splitStr) : n = f(u.value, e.value, e.value), e.convert ? e.convert(n, e) : n;
1737
1749
  });
1738
1750
  return () => l(Re, D(B(t, "style", "class"), {
1739
1751
  value: o.value,
@@ -1764,7 +1776,7 @@ const Xn = () => ({
1764
1776
  }) => {
1765
1777
  const u = (n) => n && (e.isUnix ? ot.unix(n).format(e.format) : ot(n).format(e.format)), o = I(() => {
1766
1778
  let n = e.value;
1767
- return V(e.value) ? n = Ge(x(e.value, (r) => u(r) || ""), e.splitStr) : n = u(e.value) || "", e.convert ? e.convert(n, e) : n;
1779
+ return V(e.value) ? n = Ge(F(e.value, (r) => u(r) || ""), e.splitStr) : n = u(e.value) || "", e.convert ? e.convert(n, e) : n;
1768
1780
  });
1769
1781
  return () => l(Re, D(B(t, "style", "class"), {
1770
1782
  value: o.value,
@@ -1830,15 +1842,15 @@ const Xn = () => ({
1830
1842
  slots: t,
1831
1843
  attrs: u
1832
1844
  }) => {
1833
- const n = G()(U.MenusKey), r = Fe(), a = I(() => {
1845
+ const n = X()(U.MenusKey), r = we(), a = I(() => {
1834
1846
  var g;
1835
1847
  return Tt(e.menus, (s) => {
1836
1848
  var d, E;
1837
- const C = ((d = e.fieldNames) == null ? void 0 : d.value) || "value", p = ((E = e.fieldNames) == null ? void 0 : E.label) || "label";
1849
+ const C = ((d = e.fieldNames) == null ? void 0 : d.value) || "value", P = ((E = e.fieldNames) == null ? void 0 : E.label) || "label";
1838
1850
  return {
1839
- ...N(s, C, p),
1851
+ ...N(s, C, P),
1840
1852
  value: f(s, C),
1841
- label: f(s, p)
1853
+ label: f(s, P)
1842
1854
  };
1843
1855
  }, {
1844
1856
  children: ((g = e.fieldNames) == null ? void 0 : g.children) || "children",
@@ -1848,22 +1860,22 @@ const Xn = () => ({
1848
1860
  var s;
1849
1861
  const g = ln(r.matched, (C) => !!f(c.value, C.name));
1850
1862
  return g ? f(c.value, g.name) : (s = e.findCurrentTopName) == null ? void 0 : s.call(e, r, c.value);
1851
- }), i = I(() => m.value ? nt(a.value, (g) => g.value === m.value).target : null), P = I(() => {
1863
+ }), i = I(() => m.value ? nt(a.value, (g) => g.value === m.value).target : null), p = I(() => {
1852
1864
  var g;
1853
1865
  return r.name && f(c.value, r.name) ? r.name : (g = e.findActiveKey) == null ? void 0 : g.call(e, r, c.value);
1854
1866
  }), S = (g) => {
1855
1867
  var C;
1856
- const s = nt(a.value, (p) => p.value === g.value).target;
1868
+ const s = nt(a.value, (P) => P.value === g.value).target;
1857
1869
  (C = e.onMenuItemClick) == null || C.call(e, s);
1858
- }, v = ae(t, "header"), b = ae(t, "menu");
1870
+ }, v = ae(t, "header"), h = ae(t, "menu");
1859
1871
  return () => {
1860
- var C, p, d;
1872
+ var C, P, d, E, R;
1861
1873
  if (!n)
1862
1874
  return null;
1863
1875
  const g = B(u, "class"), s = {
1864
1876
  class: "pro-layout-menus",
1865
1877
  options: a.value,
1866
- activeKey: P.value,
1878
+ activeKey: p.value,
1867
1879
  ...B(e, "convertSubMenuProps", "convertMenuItemProps", "onMenuItemClick")
1868
1880
  };
1869
1881
  return e.layout === "vertical" ? l("main", D(g, {
@@ -1871,43 +1883,45 @@ const Xn = () => ({
1871
1883
  }), [l(Be, {
1872
1884
  class: `${e.clsName}-header`
1873
1885
  }, {
1874
- menus: (E) => E ? l(n, D({
1875
- style: `width:${E}px`,
1886
+ menus: (L) => L ? l(n, D({
1887
+ style: `width:${L}px`,
1876
1888
  mode: "horizontal"
1877
- }, s), b) : null,
1889
+ }, s), h) : null,
1878
1890
  ...v
1879
1891
  }), l("div", {
1880
1892
  class: `${e.clsName}-section`
1881
1893
  }, [(C = t.default) == null ? void 0 : C.call(t)])]) : e.layout === "horizontal" ? l("main", D(g, {
1882
1894
  class: `${e.clsName} ${e.clsName}-${e.layout}`
1883
- }), [l(n, s, b), l("div", {
1895
+ }), [l("div", {
1896
+ class: "pro-layout-menus-wrapper"
1897
+ }, [(P = h.start) == null ? void 0 : P.call(h), l(n, s, h), (d = h.end) == null ? void 0 : d.call(h)]), l("div", {
1884
1898
  class: `${e.clsName}-structure`
1885
1899
  }, [l(Be, {
1886
1900
  class: `${e.clsName}-header`
1887
1901
  }, v), l("div", {
1888
1902
  class: `${e.clsName}-section`
1889
- }, [(p = t.default) == null ? void 0 : p.call(t)])])]) : l("main", D(g, {
1903
+ }, [(E = t.default) == null ? void 0 : E.call(t)])])]) : l("main", D(g, {
1890
1904
  class: `${e.clsName} ${e.clsName}-${e.layout}`
1891
1905
  }), [l(Be, {
1892
1906
  class: `${e.clsName}-header`
1893
1907
  }, {
1894
- menus: (E) => E ? l(n, D({
1895
- style: `width:${E}px`,
1908
+ menus: (L) => L ? l(n, D({
1909
+ style: `width:${L}px`,
1896
1910
  class: "pro-layout-menus",
1897
1911
  mode: "horizontal",
1898
- options: x(a.value, (F) => N(F, "children")),
1912
+ options: F(a.value, (j) => N(j, "children")),
1899
1913
  activeKey: m.value
1900
1914
  }, B(e, "convertSubMenuProps", "convertMenuItemProps"), {
1901
1915
  onMenuItemClick: S
1902
- }), b) : null,
1916
+ }), h) : null,
1903
1917
  ...v
1904
1918
  }), l("div", {
1905
1919
  class: `${e.clsName}-structure`
1906
- }, [i.value && X(i.value.children) > 0 && l(n, D({
1920
+ }, [i.value && _(i.value.children) > 0 && l(n, D({
1907
1921
  options: i.value.children
1908
- }, N(s, "options")), b), l("div", {
1922
+ }, N(s, "options")), h), l("div", {
1909
1923
  class: `${e.clsName}-section`
1910
- }, [(d = t.default) == null ? void 0 : d.call(t)])])]);
1924
+ }, [(R = t.default) == null ? void 0 : R.call(t)])])]);
1911
1925
  };
1912
1926
  }
1913
1927
  }), Zr = A({
@@ -1919,17 +1933,20 @@ const Xn = () => ({
1919
1933
  name: "name",
1920
1934
  size: "size"
1921
1935
  }
1936
+ },
1937
+ convertItem: {
1938
+ type: Function
1922
1939
  }
1923
1940
  },
1924
1941
  setup: (e, {
1925
1942
  slots: t,
1926
1943
  emit: u
1927
1944
  }) => {
1928
- const n = G()(U.UploaderKey), r = (i) => {
1929
- const P = Nt(i);
1930
- if (V(P)) {
1945
+ const n = X()(U.UploaderKey), r = (i) => {
1946
+ const p = Nt(i);
1947
+ if (V(p)) {
1931
1948
  const S = e.fieldNames;
1932
- return x(P, (v) => ({
1949
+ return F(p, (v) => ({
1933
1950
  ...N(v, S.id, S.name, S.size),
1934
1951
  id: f(v, S.id),
1935
1952
  name: f(v, S.name),
@@ -1937,16 +1954,17 @@ const Xn = () => ({
1937
1954
  }));
1938
1955
  }
1939
1956
  return [];
1940
- }, a = I(() => r(e.value)), c = I(() => r(e.modelValue)), m = (i, P) => {
1957
+ }, a = I(() => r(e.value)), c = I(() => r(e.modelValue)), m = (i, p) => {
1941
1958
  let S = "";
1942
- i && X(i) > 0 && (S = pn(x(i, (v) => {
1943
- const b = e.fieldNames;
1944
- return {
1945
- [b.id]: v.id,
1946
- [b.name]: v.name,
1947
- [b.size || "size"]: v.size
1959
+ i && _(i) > 0 && (S = Pn(F(i, (v) => {
1960
+ var s;
1961
+ const h = e.fieldNames, g = {
1962
+ [h.id]: v.id,
1963
+ [h.name]: v.name,
1964
+ [h.size || "size"]: v.size
1948
1965
  };
1949
- }))), u(P, S);
1966
+ return ((s = e.convertItem) == null ? void 0 : s.call(e, v)) || g;
1967
+ }))), u(p, S);
1950
1968
  };
1951
1969
  return () => n ? l(n, D({
1952
1970
  class: "pro-uploader-text",
@@ -1977,13 +1995,13 @@ const Xn = () => ({
1977
1995
  return !!f(a, ((c = e.fieldNames) == null ? void 0 : c.id) || "id");
1978
1996
  }, n = I(() => {
1979
1997
  let a = e.value;
1980
- return a && oe(a) && (a = Nt(a)), a && !V(a) && Se(a) && o(a) && (a = [a]), V(a) ? x(H(a, (c) => o(c)), (c) => {
1981
- var S, v, b;
1982
- const m = f(c, ((S = e.fieldNames) == null ? void 0 : S.id) || "id"), i = f(c, ((v = e.fieldNames) == null ? void 0 : v.name) || "name"), P = f(c, ((b = e.fieldNames) == null ? void 0 : b.name) || "size");
1998
+ return a && oe(a) && (a = Nt(a)), a && !V(a) && Pe(a) && o(a) && (a = [a]), V(a) ? F(G(a, (c) => o(c)), (c) => {
1999
+ var S, v, h;
2000
+ const m = f(c, ((S = e.fieldNames) == null ? void 0 : S.id) || "id"), i = f(c, ((v = e.fieldNames) == null ? void 0 : v.name) || "name"), p = f(c, ((h = e.fieldNames) == null ? void 0 : h.name) || "size");
1983
2001
  return {
1984
2002
  ...c,
1985
2003
  id: m,
1986
- size: P,
2004
+ size: p,
1987
2005
  name: i || m
1988
2006
  };
1989
2007
  }) : [];
@@ -1994,7 +2012,7 @@ const Xn = () => ({
1994
2012
  var a, c;
1995
2013
  return l("div", {
1996
2014
  class: "pro-upload-list"
1997
- }, [(a = t.start) == null ? void 0 : a.call(t), x(n.value, (m) => {
2015
+ }, [(a = t.start) == null ? void 0 : a.call(t), F(n.value, (m) => {
1998
2016
  var i;
1999
2017
  return l("div", {
2000
2018
  class: "pro-upload-list-item"
@@ -2006,7 +2024,7 @@ const Xn = () => ({
2006
2024
  };
2007
2025
  }
2008
2026
  }), lr = (e, t) => {
2009
- !e || !t || gt(t) || ge(e) || _(t, (u, o) => {
2027
+ !e || !t || gt(t) || Se(e) || Y(t, (u, o) => {
2010
2028
  const n = Ct(o, e);
2011
2029
  if (!Et(n)) {
2012
2030
  console.log("ConfigExtra\uFF1A\u8865\u5145\u5BF9\u8C61key\u8F6C\u6362\u5931\u8D25", e.elementId, o);
@@ -2018,16 +2036,16 @@ const Xn = () => ({
2018
2036
  }
2019
2037
  re(e, n, u);
2020
2038
  });
2021
- }, he = (e, t) => {
2039
+ }, be = (e, t) => {
2022
2040
  lr(e, f(t, e.elementId));
2023
2041
  const u = f(e, ["highConfig$", "registerPropsTrans"]);
2024
- u && X(u) > 0 && _(u, (o) => {
2042
+ u && _(u) > 0 && Y(u, (o) => {
2025
2043
  const n = f(e.elementProps, o.name);
2026
- V(n) ? _(n, (r) => {
2027
- he(r, t);
2028
- }) : he(n, t);
2029
- }), e.children && X(e.children) > 0 && _(e.children, (o) => {
2030
- he(o, t);
2044
+ V(n) ? Y(n, (r) => {
2045
+ be(r, t);
2046
+ }) : be(n, t);
2047
+ }), e.children && _(e.children) > 0 && Y(e.children, (o) => {
2048
+ be(o, t);
2031
2049
  });
2032
2050
  }, sr = A({
2033
2051
  props: {
@@ -2038,7 +2056,7 @@ const Xn = () => ({
2038
2056
  setup: (e) => {
2039
2057
  const {
2040
2058
  execute: t
2041
- } = fe();
2059
+ } = ye();
2042
2060
  return ne(() => {
2043
2061
  e.initExecuteList && t(e.initExecuteList, []);
2044
2062
  }, []), () => null;
@@ -2050,13 +2068,13 @@ const Xn = () => ({
2050
2068
  Logic: o
2051
2069
  }) => A(() => {
2052
2070
  const n = z(), r = (m) => {
2053
- const i = pt(m);
2054
- return u && (V(i) ? _(i, (P) => he(P, u)) : he(i, u)), i;
2071
+ const i = Pt(m);
2072
+ return u && (V(i) ? Y(i, (p) => be(p, u)) : be(i, u)), i;
2055
2073
  };
2056
2074
  ne(() => {
2057
2075
  t && t.elementConfigs && (n.value = r(t.elementConfigs)), t != null && t.elementConfigs;
2058
2076
  }, []);
2059
- const c = G()(U.LoadingKey);
2077
+ const c = X()(U.LoadingKey);
2060
2078
  return () => n.value ? l($e, {
2061
2079
  initState: t == null ? void 0 : t.initState,
2062
2080
  storeKeys: t == null ? void 0 : t.storeKeys,
@@ -2101,14 +2119,14 @@ const Xn = () => ({
2101
2119
  Edit: "edit",
2102
2120
  Delete: "delete"
2103
2121
  }, mr = (e, t) => !e || !t ? !1 : V(t) ? le(t, (u) => e[u]) : e[t], fr = () => {
2104
- const { per: e } = dr(), t = Fe();
2122
+ const { per: e } = dr(), t = we();
2105
2123
  return (u, o) => {
2106
2124
  if (!u)
2107
2125
  return !1;
2108
2126
  let n = u;
2109
2127
  if (o != null && o.suffix) {
2110
2128
  const r = t.name ? t.name.toString() : "";
2111
- n = V(n) ? x(n, (a) => `${r}:${a}`) : `${r}:${n}`;
2129
+ n = V(n) ? F(n, (a) => `${r}:${a}`) : `${r}:${n}`;
2112
2130
  }
2113
2131
  return mr(e.buttonMap, n);
2114
2132
  };
@@ -2154,7 +2172,7 @@ const hr = () => ({
2154
2172
  }
2155
2173
  }), Xt = ["sendCurdEvent", "refreshList", "sendEvent", "sendRequest"], mt = A({
2156
2174
  props: {
2157
- ...pe,
2175
+ ...fe,
2158
2176
  ...hr()
2159
2177
  },
2160
2178
  setup: (e, {
@@ -2166,62 +2184,62 @@ const hr = () => ({
2166
2184
  state: n,
2167
2185
  sendEvent: r,
2168
2186
  sendRequest: a
2169
- } = fe(), c = I(() => we(e.columns, e.columnState, (L) => ue(L))), m = (L) => Je(e.formElementMap, L), i = (L, O) => Qe(o, L, O), P = (L, O) => {
2170
- const K = H(c.value, (w) => {
2171
- const h = f(w, ["extra", L]) || f(w, L);
2172
- return O ? h !== !1 : h;
2187
+ } = ye(), c = I(() => Fe(e.columns, e.columnState, (O) => ue(O))), m = (O) => Je(e.formElementMap, O), i = (O, K) => Qe(o, O, K), p = (O, K) => {
2188
+ const x = G(c.value, (w) => {
2189
+ const b = f(w, ["extra", O]) || f(w, O);
2190
+ return K ? b !== !1 : b;
2173
2191
  });
2174
- return St(K, (w) => f(w, ["extra", `${L}Sort`]) || f(w, `${L}Sort`));
2175
- }, S = I(() => P("form", !0)), v = I(() => P("detail", !0)), b = I(() => P("table", !0)), g = I(() => P("search"));
2192
+ return St(x, (w) => f(w, ["extra", `${O}Sort`]) || f(w, `${O}Sort`));
2193
+ }, S = I(() => p("form", !0)), v = I(() => p("detail", !0)), h = I(() => p("table", !0)), g = I(() => p("search"));
2176
2194
  let s;
2177
- const C = (L) => {
2195
+ const C = (O) => {
2178
2196
  a($.LIST, {
2179
2197
  ...s,
2180
- ...L
2198
+ ...O
2181
2199
  });
2182
- }, p = (L) => {
2200
+ }, P = (O) => {
2183
2201
  r({
2184
- type: L.action,
2185
- payload: N(L, "action", "source"),
2186
- source: L.source
2202
+ type: O.action,
2203
+ payload: N(O, "action", "source"),
2204
+ source: O.source
2187
2205
  });
2188
2206
  };
2189
2207
  Ye(({
2190
- type: L,
2191
- payload: O,
2192
- source: K
2208
+ type: O,
2209
+ payload: K,
2210
+ source: x
2193
2211
  }) => {
2194
- if (K)
2212
+ if (x)
2195
2213
  return;
2196
- let w = L, h = O == null ? void 0 : O.type;
2197
- w === Pe.Success && (w = f(O, ["requestOpts", "action"]), h = k.SUCCESS);
2214
+ let w = O, b = K == null ? void 0 : K.type;
2215
+ w === pe.Success && (w = f(K, ["requestOpts", "action"]), b = k.SUCCESS);
2198
2216
  const {
2199
2217
  values: y,
2200
2218
  record: M
2201
- } = O;
2219
+ } = K;
2202
2220
  switch (w) {
2203
2221
  case $.LIST:
2204
- h === k.EMIT && (s = y, C());
2222
+ b === k.EMIT && (s = y, C());
2205
2223
  return;
2206
2224
  case $.ADD:
2207
- h === k.EXECUTE && a($.ADD, y, n.detailData);
2225
+ b === k.EXECUTE && a($.ADD, y, n.detailData);
2208
2226
  return;
2209
2227
  case $.EDIT:
2210
- h === k.EXECUTE && a($.EDIT, y, n.detailData);
2228
+ b === k.EXECUTE && a($.EDIT, y, n.detailData);
2211
2229
  return;
2212
2230
  case $.DELETE:
2213
- h === k.EMIT ? a($.DELETE, M, e.rowKey) : h === k.SUCCESS && C();
2231
+ b === k.EMIT ? a($.DELETE, M, e.rowKey) : b === k.SUCCESS && C();
2214
2232
  return;
2215
2233
  }
2216
- w && L === k.EXECUTE && a(w, y);
2234
+ w && O === k.EXECUTE && a(w, y);
2217
2235
  });
2218
- const d = Q(e.operates, (L, O) => ({
2219
- ...L,
2220
- [O.action]: O
2221
- }), {}), E = (L) => f(d, L), F = I(() => e.listProps), R = I(() => e.formProps), j = I(() => e.descProps), Y = I(() => e.modalProps);
2236
+ const d = Q(e.operates, (O, K) => ({
2237
+ ...O,
2238
+ [K.action]: K
2239
+ }), {}), E = (O) => f(d, O), R = I(() => e.listProps), L = I(() => e.formProps), j = I(() => e.descProps), W = I(() => e.modalProps);
2222
2240
  return vr({
2223
2241
  columns: c,
2224
- getSignColumns: P,
2242
+ getSignColumns: p,
2225
2243
  getFormItemVNode: m,
2226
2244
  getItemVNode: i,
2227
2245
  elementMap: o,
@@ -2230,22 +2248,22 @@ const hr = () => ({
2230
2248
  curdState: n,
2231
2249
  formColumns: S,
2232
2250
  descColumns: v,
2233
- tableColumns: b,
2251
+ tableColumns: h,
2234
2252
  searchColumns: g,
2235
- sendCurdEvent: p,
2253
+ sendCurdEvent: P,
2236
2254
  operates: e.operates,
2237
2255
  getOperate: E,
2238
2256
  refreshList: C,
2239
- listProps: F,
2240
- formProps: R,
2257
+ listProps: R,
2258
+ formProps: L,
2241
2259
  descProps: j,
2242
- modalProps: Y
2260
+ modalProps: W
2243
2261
  }), u({
2244
- sendCurdEvent: p,
2262
+ sendCurdEvent: P,
2245
2263
  refreshList: C
2246
2264
  }), () => {
2247
- var L;
2248
- return (L = t.default) == null ? void 0 : L.call(t);
2265
+ var O;
2266
+ return (O = t.default) == null ? void 0 : O.call(t);
2249
2267
  };
2250
2268
  }
2251
2269
  }), We = A({
@@ -2269,26 +2287,26 @@ const hr = () => ({
2269
2287
  [$.LIST]: {
2270
2288
  convertParams: (v) => v,
2271
2289
  convertData: (v) => {
2272
- var b;
2273
- return (b = v.res) == null ? void 0 : b.data;
2290
+ var h;
2291
+ return (h = v.res) == null ? void 0 : h.data;
2274
2292
  },
2275
2293
  loadingName: "listLoading",
2276
2294
  stateName: "listData"
2277
2295
  },
2278
2296
  [$.DETAIL]: {
2279
- convertParams: (v, b) => B(v, b),
2297
+ convertParams: (v, h) => B(v, h),
2280
2298
  convertData: (v) => {
2281
- var b;
2282
- return (b = v.res) == null ? void 0 : b.data;
2299
+ var h;
2300
+ return (h = v.res) == null ? void 0 : h.data;
2283
2301
  },
2284
2302
  loadingName: "detailLoading",
2285
2303
  stateName: "detailData",
2286
2304
  label: "\u8BE6\u60C5"
2287
2305
  },
2288
2306
  [$.ADD]: {
2289
- convertParams: (v, b) => ({
2307
+ convertParams: (v, h) => ({
2290
2308
  body: {
2291
- ...b,
2309
+ ...h,
2292
2310
  ...v
2293
2311
  }
2294
2312
  }),
@@ -2296,9 +2314,9 @@ const hr = () => ({
2296
2314
  label: "\u6DFB\u52A0"
2297
2315
  },
2298
2316
  [$.EDIT]: {
2299
- convertParams: (v, b) => ({
2317
+ convertParams: (v, h) => ({
2300
2318
  body: {
2301
- ...b,
2319
+ ...h,
2302
2320
  ...v
2303
2321
  }
2304
2322
  }),
@@ -2306,40 +2324,40 @@ const hr = () => ({
2306
2324
  label: "\u7F16\u8F91"
2307
2325
  },
2308
2326
  [$.DELETE]: {
2309
- convertParams: (v, b) => B(v, b),
2327
+ convertParams: (v, h) => B(v, h),
2310
2328
  label: "\u5220\u9664"
2311
2329
  }
2312
- }, i = x(e.operates, (v) => {
2330
+ }, i = F(e.operates, (v) => {
2313
2331
  var s;
2314
- const b = f(m, v.action), g = ((s = e.convertOperate) == null ? void 0 : s.call(e, v, b)) || v;
2332
+ const h = f(m, v.action), g = ((s = e.convertOperate) == null ? void 0 : s.call(e, v, h)) || v;
2315
2333
  return {
2316
- ...b,
2334
+ ...h,
2317
2335
  ...g
2318
2336
  };
2319
- }), P = H(i, (v) => v.actor), S = q(N($e.props, "state", "requests"));
2337
+ }), p = G(i, (v) => v.actor), S = q(N($e.props, "state", "requests"));
2320
2338
  return u({
2321
2339
  sendCurdEvent: (v) => {
2322
- var b;
2323
- (b = a.value) == null || b.sendCurdEvent(v);
2340
+ var h;
2341
+ (h = a.value) == null || h.sendCurdEvent(v);
2324
2342
  },
2325
2343
  refreshList: (v) => {
2326
- var b;
2327
- (b = a.value) == null || b.refreshList(v);
2344
+ var h;
2345
+ (h = a.value) == null || h.refreshList(v);
2328
2346
  },
2329
2347
  sendEvent: (v) => {
2330
- var b;
2331
- (b = r.value) == null || b.sendEvent(v);
2348
+ var h;
2349
+ (h = r.value) == null || h.sendEvent(v);
2332
2350
  },
2333
- sendRequest: (v, ...b) => {
2351
+ sendRequest: (v, ...h) => {
2334
2352
  var g;
2335
- (g = r.value) == null || g.sendRequest(v, ...b);
2353
+ (g = r.value) == null || g.sendRequest(v, ...h);
2336
2354
  }
2337
2355
  }), () => l($e, D({
2338
2356
  ref: r
2339
2357
  }, B(e, S), {
2340
2358
  elementMap: e.elementMap || o,
2341
2359
  state: c,
2342
- requests: P
2360
+ requests: p
2343
2361
  }), {
2344
2362
  default: () => [l(mt, D({
2345
2363
  ref: a
@@ -2358,23 +2376,23 @@ const hr = () => ({
2358
2376
  ...br()
2359
2377
  },
2360
2378
  setup: (e) => {
2361
- var b;
2379
+ var h;
2362
2380
  const {
2363
2381
  dispatch: t,
2364
2382
  sendRequest: u
2365
- } = fe(), {
2383
+ } = ye(), {
2366
2384
  rowKey: o,
2367
2385
  curdState: n,
2368
2386
  listProps: r,
2369
2387
  getOperate: a,
2370
2388
  refreshList: c
2371
- } = ee(), m = (b = r == null ? void 0 : r.value) == null ? void 0 : b.pageState, i = (g) => {
2389
+ } = ee(), m = (h = r == null ? void 0 : r.value) == null ? void 0 : h.pageState, i = (g) => {
2372
2390
  const s = a($.DETAIL);
2373
2391
  s != null && s.actor ? u($.DETAIL, g, o) : t({
2374
2392
  type: "detailData",
2375
- payload: pt(g)
2393
+ payload: Pt(g)
2376
2394
  });
2377
- }, P = (g, {
2395
+ }, p = (g, {
2378
2396
  record: s
2379
2397
  }) => {
2380
2398
  g === k.EMIT && (t({
@@ -2413,11 +2431,11 @@ const hr = () => ({
2413
2431
  }) => {
2414
2432
  if (C)
2415
2433
  return;
2416
- let p = g, d = s == null ? void 0 : s.type;
2434
+ let P = g, d = s == null ? void 0 : s.type;
2417
2435
  const E = s == null ? void 0 : s.record;
2418
- switch (p === Pe.Success && (p = f(s, ["requestOpts", "action"]), d = k.SUCCESS), p) {
2436
+ switch (P === pe.Success && (P = f(s, ["requestOpts", "action"]), d = k.SUCCESS), P) {
2419
2437
  case $.DETAIL:
2420
- P(d, {
2438
+ p(d, {
2421
2439
  record: E
2422
2440
  });
2423
2441
  break;
@@ -2442,8 +2460,8 @@ const hr = () => ({
2442
2460
  expose: u
2443
2461
  }) => {
2444
2462
  const o = z();
2445
- u(ye(Xt, o));
2446
- const n = q(qe.props), a = G()(U.ProCurdKey);
2463
+ u(ve(Xt, o));
2464
+ const n = q(qe.props), a = X()(U.ProCurdKey);
2447
2465
  return () => a ? l(a, D({
2448
2466
  ref: o
2449
2467
  }, N(e, n)), {
@@ -2465,10 +2483,10 @@ const hr = () => ({
2465
2483
  ...gr()
2466
2484
  },
2467
2485
  setup: (e) => {
2468
- const t = Xe(), u = Fe(), {
2486
+ const t = Xe(), u = we(), {
2469
2487
  dispatch: o,
2470
2488
  sendRequest: n
2471
- } = fe(), {
2489
+ } = ye(), {
2472
2490
  rowKey: r,
2473
2491
  curdState: a
2474
2492
  } = ee(), c = (S) => {
@@ -2508,7 +2526,7 @@ const hr = () => ({
2508
2526
  type: "detailData",
2509
2527
  payload: e.defaultAddRecord || {}
2510
2528
  }) : e.routeBack ? e.routeBack($.ADD) : t.go(-1));
2511
- }, P = (S, {
2529
+ }, p = (S, {
2512
2530
  record: v
2513
2531
  }) => {
2514
2532
  S === k.EMIT ? t.push({
@@ -2522,13 +2540,13 @@ const hr = () => ({
2522
2540
  return Ye(({
2523
2541
  type: S,
2524
2542
  payload: v,
2525
- source: b
2543
+ source: h
2526
2544
  }) => {
2527
- if (b)
2545
+ if (h)
2528
2546
  return;
2529
2547
  let g = S, s = v == null ? void 0 : v.type;
2530
2548
  const C = v == null ? void 0 : v.record;
2531
- switch (g === Pe.Success && (g = f(v, ["requestOpts", "action"]), s = k.SUCCESS), g) {
2549
+ switch (g === pe.Success && (g = f(v, ["requestOpts", "action"]), s = k.SUCCESS), g) {
2532
2550
  case $.LIST:
2533
2551
  c(s);
2534
2552
  break;
@@ -2541,7 +2559,7 @@ const hr = () => ({
2541
2559
  i(s);
2542
2560
  break;
2543
2561
  case $.EDIT:
2544
- P(s, {
2562
+ p(s, {
2545
2563
  record: C
2546
2564
  });
2547
2565
  break;
@@ -2558,7 +2576,7 @@ const hr = () => ({
2558
2576
  expose: u
2559
2577
  }) => {
2560
2578
  const o = z();
2561
- u(ye(Xt, o));
2579
+ u(ve(Xt, o));
2562
2580
  const n = q(Ve.props);
2563
2581
  return () => l(We, D({
2564
2582
  ref: o
@@ -2588,10 +2606,10 @@ const hr = () => ({
2588
2606
  action: $.ADD,
2589
2607
  type: k.EMIT
2590
2608
  });
2591
- }, c = G()(U.ButtonKey);
2609
+ }, c = X()(U.ButtonKey);
2592
2610
  return () => n != null && n.show ? t.default ? t.default(n, r) : c ? l(c, D({
2593
2611
  class: "pro-curd-add-button",
2594
- disabled: W(n.disabled) ? n.disabled() : n.disabled
2612
+ disabled: H(n.disabled) ? n.disabled() : n.disabled
2595
2613
  }, e.buttonProps, {
2596
2614
  onClick: r
2597
2615
  }), {
@@ -2621,78 +2639,78 @@ const hr = () => ({
2621
2639
  tableColumns: a,
2622
2640
  sendCurdEvent: c,
2623
2641
  operates: m
2624
- } = ee(), i = x(
2625
- H(m, (p) => {
2626
- const d = p.action;
2627
- return d === $.DETAIL || d === $.EDIT || d === $.DELETE || p.tableOperate;
2642
+ } = ee(), i = F(
2643
+ G(m, (P) => {
2644
+ const d = P.action;
2645
+ return d === $.DETAIL || d === $.EDIT || d === $.DELETE || P.tableOperate;
2628
2646
  }),
2629
- (p) => {
2647
+ (P) => {
2630
2648
  const d = {
2631
- ...B(p, "label", "show", "disabled", "loading", "extraProps", "onClick", "element"),
2632
- value: p.action
2649
+ ...B(P, "label", "show", "disabled", "loading", "extraProps", "onClick", "element"),
2650
+ value: P.action
2633
2651
  };
2634
2652
  return d.onClick || (d.onClick = (E) => {
2635
2653
  c({
2636
- action: p.action,
2654
+ action: P.action,
2637
2655
  type: k.EMIT,
2638
2656
  record: E
2639
2657
  });
2640
2658
  }), d;
2641
2659
  }
2642
- ), P = (p) => {
2660
+ ), p = (P) => {
2643
2661
  c({
2644
2662
  action: $.LIST,
2645
2663
  type: k.EMIT,
2646
- values: p
2664
+ values: P
2647
2665
  });
2648
2666
  }, S = I(() => ({
2649
2667
  formElementMap: o,
2650
2668
  columns: r.value,
2651
2669
  ...e.searchProps
2652
2670
  })), v = I(() => {
2653
- var p, d;
2671
+ var P, d;
2654
2672
  return {
2655
2673
  elementMap: u,
2656
2674
  columns: a.value,
2657
2675
  loading: n.listLoading,
2658
- dataSource: (p = n.listData) == null ? void 0 : p.dataSource,
2676
+ dataSource: (P = n.listData) == null ? void 0 : P.dataSource,
2659
2677
  ...N(e.tableProps, "operate"),
2660
2678
  operate: {
2661
2679
  items: i,
2662
2680
  ...(d = e.tableProps) == null ? void 0 : d.operate
2663
2681
  }
2664
2682
  };
2665
- }), b = I(() => {
2666
- var p;
2683
+ }), h = I(() => {
2684
+ var P;
2667
2685
  return e.paginationProps === !1 ? !1 : {
2668
- total: (p = n.listData) == null ? void 0 : p.total,
2686
+ total: (P = n.listData) == null ? void 0 : P.total,
2669
2687
  ...e.paginationProps
2670
2688
  };
2671
- }), g = q(yt()), C = G()(U.ProListKey);
2689
+ }), g = q(yt()), C = X()(U.ProListKey);
2672
2690
  return () => {
2673
- var p, d;
2691
+ var P, d;
2674
2692
  return C ? l(C, D({
2675
2693
  class: "pro-curd-list"
2676
2694
  }, N(e, ...g, "searchProps", "tableProps", "paginationProps"), {
2677
2695
  searchProps: S.value,
2678
2696
  tableProps: v.value,
2679
- paginationProps: b.value,
2680
- onSearch: P
2697
+ paginationProps: h.value,
2698
+ onSearch: p
2681
2699
  }), {
2682
- "search-end": (p = e.addConfig) != null && p.inSearch ? () => {
2700
+ "search-end": (P = e.addConfig) != null && P.inSearch ? () => {
2683
2701
  var E;
2684
2702
  return l("div", {
2685
2703
  class: "pro-curd-list-search-end"
2686
2704
  }, [l(ft, (E = e.addConfig) == null ? void 0 : E.buttonProps, null)]);
2687
2705
  } : void 0,
2688
2706
  "table-toolbarExtra": (d = e.addConfig) != null && d.inTable ? (E) => {
2689
- var F;
2690
- return l(te, null, [l(ft, (F = e.addConfig) == null ? void 0 : F.buttonProps, null), E]);
2707
+ var R;
2708
+ return l(te, null, [l(ft, (R = e.addConfig) == null ? void 0 : R.buttonProps, null), E]);
2691
2709
  } : void 0,
2692
2710
  ...t,
2693
2711
  search: t.search ? (E) => t.search(E, S.value) : void 0,
2694
2712
  table: t.table ? (E) => t.table(E, v.value) : void 0,
2695
- pagination: t.pagination ? (E) => t.pagination(E, b.value) : void 0
2713
+ pagination: t.pagination ? (E) => t.pagination(E, h.value) : void 0
2696
2714
  }) : null;
2697
2715
  };
2698
2716
  }
@@ -2701,13 +2719,13 @@ const hr = () => ({
2701
2719
  listProps: e
2702
2720
  } = ee();
2703
2721
  return () => l(Sr, N(e == null ? void 0 : e.value, "slots"), f(e == null ? void 0 : e.value, "slots"));
2704
- }), pr = () => ({
2722
+ }), Pr = () => ({
2705
2723
  signName: {
2706
2724
  type: String
2707
2725
  }
2708
2726
  }), et = A({
2709
2727
  props: {
2710
- ...pr()
2728
+ ...Pr()
2711
2729
  },
2712
2730
  setup: (e, {
2713
2731
  slots: t,
@@ -2721,14 +2739,14 @@ const hr = () => ({
2721
2739
  formColumns: c,
2722
2740
  getSignColumns: m,
2723
2741
  sendCurdEvent: i
2724
- } = ee(), P = z();
2725
- u(ye(e.formMethods || [], P));
2742
+ } = ee(), p = z();
2743
+ u(ve(e.formMethods || [], p));
2726
2744
  const S = I(() => e.signName ? m(e.signName) : c.value), v = () => {
2727
2745
  var d;
2728
- a.addAction = Ee.NORMAL, (d = P.value) == null || d.submit();
2729
- }, b = () => {
2746
+ a.addAction = Ee.NORMAL, (d = p.value) == null || d.submit();
2747
+ }, h = () => {
2730
2748
  var d;
2731
- a.addAction = Ee.CONTINUE, (d = P.value) == null || d.submit();
2749
+ a.addAction = Ee.CONTINUE, (d = p.value) == null || d.submit();
2732
2750
  }, g = [
2733
2751
  {
2734
2752
  value: J.RESET,
@@ -2759,9 +2777,9 @@ const hr = () => ({
2759
2777
  type: k.EXECUTE,
2760
2778
  values: d
2761
2779
  }));
2762
- }, p = G()(U.ProFormKey);
2763
- return () => p ? l(p, D({
2764
- ref: P,
2780
+ }, P = X()(U.ProFormKey);
2781
+ return () => P ? l(P, D({
2782
+ ref: p,
2765
2783
  class: "pro-curd-form"
2766
2784
  }, N(e, "operate"), {
2767
2785
  elementMap: e.elementMap || n,
@@ -2773,7 +2791,7 @@ const hr = () => ({
2773
2791
  operate: e.operate ? {
2774
2792
  items: g,
2775
2793
  onSubmit: v,
2776
- onContinue: b,
2794
+ onContinue: h,
2777
2795
  ...e.operate
2778
2796
  } : void 0,
2779
2797
  onFinish: s
@@ -2784,13 +2802,13 @@ const hr = () => ({
2784
2802
  formProps: e
2785
2803
  } = ee();
2786
2804
  return () => l(et, N(e == null ? void 0 : e.value, "slots"), f(e == null ? void 0 : e.value, "slots"));
2787
- }), Pr = () => ({
2805
+ }), pr = () => ({
2788
2806
  signName: {
2789
2807
  type: String
2790
2808
  }
2791
2809
  }), Cr = A({
2792
2810
  props: {
2793
- ...Pr()
2811
+ ...pr()
2794
2812
  },
2795
2813
  setup: (e, {
2796
2814
  slots: t
@@ -2830,20 +2848,20 @@ const hr = () => ({
2830
2848
  setup: (e, {
2831
2849
  slots: t
2832
2850
  }) => {
2833
- const u = G(), o = u(U.ModalKey), n = u(U.LoadingKey), {
2851
+ const u = X(), o = u(U.ModalKey), n = u(U.LoadingKey), {
2834
2852
  curdState: r,
2835
2853
  getOperate: a
2836
2854
  } = ee(), c = () => {
2837
- r.mode = void 0, Pt(r.detailData, {}), r.detailLoading = !1, r.addAction = void 0;
2855
+ r.mode = void 0, pt(r.detailData, {}), r.detailLoading = !1, r.addAction = void 0;
2838
2856
  }, m = q(vt());
2839
2857
  return () => {
2840
- var P;
2858
+ var p;
2841
2859
  const i = r.mode;
2842
2860
  return !le(e.validMode, (S) => S === i) || !o ? null : l(o, D({
2843
2861
  class: "pro-curd-modal"
2844
2862
  }, N(e, m), {
2845
2863
  visible: le(e.validMode, (S) => S === i),
2846
- title: e.title || ((P = a(r.mode)) == null ? void 0 : P.label),
2864
+ title: e.title || ((p = a(r.mode)) == null ? void 0 : p.label),
2847
2865
  confirmLoading: r.operateLoading,
2848
2866
  maskClosable: r.mode === $.DETAIL,
2849
2867
  footer: r.mode === $.DETAIL ? !1 : void 0
@@ -2918,7 +2936,7 @@ export {
2918
2936
  aa as MustLogon,
2919
2937
  oa as PerSuffix,
2920
2938
  ua as Permission,
2921
- Lr as ProConfig,
2939
+ xr as ProConfig,
2922
2940
  We as ProCurd,
2923
2941
  Cr as ProCurdDesc,
2924
2942
  da as ProCurdDescConnect,
@@ -2932,7 +2950,7 @@ export {
2932
2950
  ar as ProDesc,
2933
2951
  qr as ProForm,
2934
2952
  Br as ProFormList,
2935
- ve as ProGrid,
2953
+ he as ProGrid,
2936
2954
  Qr as ProLayout,
2937
2955
  rr as ProList,
2938
2956
  ca as ProModalCurd,
@@ -2948,22 +2966,22 @@ export {
2948
2966
  Yr as ProShowTree,
2949
2967
  Hr as ProTable,
2950
2968
  ur as ProTypography,
2969
+ ea as ProUploadList,
2951
2970
  Zr as ProUploaderText,
2952
- Pe as RequestAction,
2953
- xe as SearchMode,
2954
- ea as UploadList,
2971
+ pe as RequestAction,
2972
+ Le as SearchMode,
2955
2973
  Un as Wrapper,
2956
2974
  Rt as convertPathToList,
2957
2975
  An as convertResData,
2958
- ye as createExpose,
2976
+ ve as createExpose,
2959
2977
  Ur as createExposeObj,
2960
2978
  Wr as createFormItemCompFn,
2961
2979
  ta as createModule,
2962
- xr as createProConfig,
2980
+ Lr as createProConfig,
2963
2981
  tr as defaultPage,
2964
2982
  ae as filterSlotsByPrefix,
2965
2983
  ue as getColumnFormItemName,
2966
- xt as getColumnValueType,
2984
+ Lt as getColumnValueType,
2967
2985
  kn as getFirstPropName,
2968
2986
  Je as getFormItemEl,
2969
2987
  Qe as getItemEl,
@@ -2971,20 +2989,20 @@ export {
2971
2989
  Vn as getValidValues,
2972
2990
  jn as isValidConfig,
2973
2991
  kr as mergeStateToList,
2974
- pe as proBaseProps,
2992
+ fe as proBaseProps,
2975
2993
  vr as provideProCurd,
2976
2994
  Ut as provideProFormList,
2977
- Fn as provideProModule,
2995
+ wn as provideProModule,
2978
2996
  Ce as renderElement,
2979
2997
  Ze as renderElements,
2980
2998
  ir as useAccess,
2981
2999
  na as useAccessMgr,
2982
3000
  Nn as useComposeRequestActor,
2983
3001
  Rr as useDispatchMeta,
2984
- wn as useDispatchStore,
2985
- wr as useDoneRequestActor,
2986
- Fr as useFailedRequestActor,
2987
- G as useGetCompByKey,
3002
+ Fn as useDispatchStore,
3003
+ Fr as useDoneRequestActor,
3004
+ wr as useFailedRequestActor,
3005
+ X as useGetCompByKey,
2988
3006
  fr as useHasPer,
2989
3007
  dr as useLogonUser,
2990
3008
  Dn as useMetaRegister,
@@ -2993,7 +3011,7 @@ export {
2993
3011
  ee as useProCurd,
2994
3012
  qt as useProForm,
2995
3013
  kt as useProFormList,
2996
- fe as useProModule,
3014
+ ye as useProModule,
2997
3015
  $n as useProRouter,
2998
3016
  Jn as useProTable,
2999
3017
  jr as useReadStore