@vue-start/pro 0.5.13 → 0.5.15

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,13 +1,13 @@
1
- var Ut = Object.defineProperty;
2
- var qt = (e, t, o) => t in e ? Ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
- var ae = (e, t, o) => (qt(e, typeof t != "symbol" ? t + "" : t, o), o);
4
- import { defineComponent as I, provide as se, inject as re, ref as z, computed as C, h as me, isVNode as Te, reactive as be, createVNode as i, Fragment as Q, mergeProps as T, createTextVNode as Je, toRef as Bt } from "vue";
5
- import { reduce as X, get as g, isFunction as B, map as $, isString as pe, forEach as Se, size as Y, set as ce, pick as q, omit as M, isArray as G, some as ue, keys as V, head as Vt, isObject as fe, filter as H, split as zt, isEmpty as _t, mergeWith as Gt, startsWith as Ht, mapKeys as Wt, debounce as Xt, clone as Yt, isBoolean as le, has as dt, every as Jt, sortBy as mt, isNumber as Qt, join as Be, findLast as Qe, cloneDeep as Zt } from "lodash";
6
- import { Observable as en, filter as Me, tap as Ie, merge as tn, Subject as nn } from "rxjs";
7
- import { useEffect as te, useState as je, setReactiveValue as ft, useRuleState as Ke, useWatch as yt, useUpdateKey as an, useResizeObserver as Ue, decimalFixed as rn, thousandDivision as on, listToMap as un, treeToMap as sn, convertTreeData as cn, getMenuTopNameMap as ln, findTreeItem as Ze, strToJson as vt, jsonToStr as dn } from "@vue-start/hooks";
1
+ var qt = Object.defineProperty;
2
+ var Bt = (e, t, o) => t in e ? qt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var ae = (e, t, o) => (Bt(e, typeof t != "symbol" ? t + "" : t, o), o);
4
+ import { defineComponent as I, provide as se, inject as re, ref as z, computed as C, h as me, isVNode as Te, reactive as be, createVNode as i, Fragment as Z, mergeProps as M, createTextVNode as Je, toRef as Vt } from "vue";
5
+ import { reduce as X, get as g, isFunction as q, map as $, isString as pe, forEach as Se, size as Y, set as ce, pick as B, omit as E, isArray as W, some as ue, keys as V, head as zt, isObject as fe, filter as G, split as _t, isEmpty as Wt, mergeWith as Gt, startsWith as Ht, mapKeys as Xt, debounce as Yt, clone as Jt, isBoolean as le, has as dt, every as Qt, sortBy as mt, isNumber as Zt, join as Be, findLast as Qe, cloneDeep as en } from "lodash";
6
+ import { Observable as tn, filter as Me, tap as Ie, merge as nn, Subject as an } from "rxjs";
7
+ import { useEffect as te, useState as je, setReactiveValue as ft, useRuleState as Ke, useWatch as yt, useUpdateKey as rn, useResizeObserver as Ue, decimalFixed as on, thousandDivision as un, listToMap as sn, treeToMap as cn, convertTreeData as ln, getMenuTopNameMap as dn, findTreeItem as Ze, strToJson as vt, jsonToStr as mn } from "@vue-start/hooks";
8
8
  import { useRequestProvide as Pe, isDoneRequestActor as ht, isFailedRequestActor as gt } from "@vue-start/request";
9
- import { map as mn, distinctUntilChanged as fn } from "rxjs/operators";
10
- import { useRoute as Ve, useRouter as yn } from "vue-router";
9
+ import { map as fn, distinctUntilChanged as yn } from "rxjs/operators";
10
+ import { useRoute as Ve, useRouter as bt } from "vue-router";
11
11
  import et from "dayjs";
12
12
  const vn = () => ({
13
13
  elementMap: { type: Object },
@@ -134,14 +134,14 @@ class Pn {
134
134
  return t.group === this.group;
135
135
  }
136
136
  }
137
- class Oe extends en {
137
+ class Oe extends tn {
138
138
  constructor(o, u, n = bn) {
139
139
  super((a) => this.state$.pipe(
140
- mn((r) => {
140
+ fn((r) => {
141
141
  const s = this.mapper(r);
142
142
  return n(s, this._value) || (this._value = s), this._value;
143
143
  }),
144
- fn()
144
+ yn()
145
145
  ).subscribe(a));
146
146
  ae(this, "_value");
147
147
  this.state$ = o, this.mapper = u;
@@ -173,28 +173,28 @@ const Cn = (e, t) => {
173
173
  u && u.unsubscribe();
174
174
  };
175
175
  }, []), o;
176
- }, Tn = (e, t) => Oe.from(e, t), Mn = (e) => Tn(De(), e || ((t) => t)), In = Pn.of("state"), bt = In.named("update").effectOn(
176
+ }, Tn = (e, t) => Oe.from(e, t), Mn = (e) => Tn(De(), e || ((t) => t)), In = Pn.of("state"), pt = In.named("update").effectOn(
177
177
  (e) => e.opts.key,
178
178
  (e, t) => t.arg(e)
179
- ), pt = () => {
179
+ ), St = () => {
180
180
  const e = De();
181
181
  return (t, o, u, n) => {
182
- const a = `${u ? "$" : ""}${t}`, r = B(n) ? n() : n;
183
- bt.with(
184
- (s = r) => B(o) ? o(s) : o,
182
+ const a = `${u ? "$" : ""}${t}`, r = q(n) ? n() : n;
183
+ pt.with(
184
+ (s = r) => q(o) ? o(s) : o,
185
185
  { key: a }
186
186
  ).invoke(e);
187
187
  };
188
188
  }, Nn = (e, t, o) => {
189
- const u = `${o ? "$" : ""}${e}`, n = B(t) ? t() : t, a = De(), r = (d) => bt.with(
190
- (b = n) => B(d) ? d(b) : d,
189
+ const u = `${o ? "$" : ""}${e}`, n = q(t) ? t() : t, a = De(), r = (d) => pt.with(
190
+ (b = n) => q(d) ? d(b) : d,
191
191
  { key: u }
192
192
  ).invoke(a), s = Oe.from(a, (d) => g(d, [u], n));
193
193
  return [Cn(s), r];
194
194
  }, Dn = (e, t, o = !1) => () => {
195
195
  const [u, n] = Nn(e, t, o);
196
196
  return [u, n];
197
- }, St = (e) => (t, o) => {
197
+ }, Pt = (e) => (t, o) => {
198
198
  const { requestSubject$: u } = Pe(), n = new Set($(t, (a) => pe(a) ? a : a.name));
199
199
  te(() => {
200
200
  const a = u.pipe(
@@ -207,10 +207,10 @@ const Cn = (e, t) => {
207
207
  a.unsubscribe();
208
208
  };
209
209
  }, []);
210
- }, Da = St(ht), Oa = St(gt), On = (e, t, o) => {
210
+ }, Da = Pt(ht), Oa = Pt(gt), On = (e, t, o) => {
211
211
  const { requestSubject$: u, dispatchRequest: n } = Pe(), a = new Set($(e, (s) => pe(s) ? s : s.name)), r = {};
212
212
  te(() => {
213
- const s = tn(
213
+ const s = nn(
214
214
  u.pipe(
215
215
  Me(ht),
216
216
  Ie((m) => {
@@ -246,7 +246,7 @@ const Cn = (e, t) => {
246
246
  g(e.value, a) || o(u, n.initParams || {});
247
247
  };
248
248
  }, $n = (e, t) => {
249
- const { requestSubject$: o } = Pe(), u = pt(), n = (a) => {
249
+ const { requestSubject$: o } = Pe(), u = St(), n = (a) => {
250
250
  const r = g(e, a.name), s = g(t, a.name);
251
251
  return !!(r && s && s.actor);
252
252
  };
@@ -265,32 +265,32 @@ const Cn = (e, t) => {
265
265
  a.unsubscribe();
266
266
  };
267
267
  }, []);
268
- }, Pt = (e) => e.formValueType || e.valueType || "text", ie = (e) => {
268
+ }, Ct = (e) => e.formValueType || e.valueType || "text", ie = (e) => {
269
269
  var t;
270
270
  return ((t = e.formItemProps) == null ? void 0 : t.name) || e.dataIndex;
271
- }, Ct = (e, t, o = !0) => {
271
+ }, Et = (e, t, o = !0) => {
272
272
  var s;
273
- const u = Pt(t), n = g(e, u);
273
+ const u = Ct(t), n = g(e, u);
274
274
  if (!n)
275
275
  return null;
276
- const a = ie(t), r = o ? t.formItemProps : M(t.formItemProps, "rules");
276
+ const a = ie(t), r = o ? t.formItemProps : E(t.formItemProps, "rules");
277
277
  return me(n, {
278
278
  key: a,
279
279
  name: a,
280
280
  label: t.title,
281
281
  ...r,
282
- fieldProps: M(t.formFieldProps, "slots"),
282
+ fieldProps: E(t.formFieldProps, "slots"),
283
283
  showProps: t.showProps
284
284
  }, (s = t.formFieldProps) == null ? void 0 : s.slots);
285
285
  }, _e = (e, t, o) => {
286
286
  var a;
287
287
  const u = t.valueType || "text", n = g(e, u);
288
288
  return n ? me(n, {
289
- ...M(t.formFieldProps, "slots"),
289
+ ...E(t.formFieldProps, "slots"),
290
290
  showProps: t.showProps,
291
291
  value: o
292
292
  }, (a = t.formFieldProps) == null ? void 0 : a.slots) : null;
293
- }, Ge = (e, t) => $(t, (o) => ve(e, o)), Et = (e, t) => {
293
+ }, We = (e, t) => $(t, (o) => ve(e, o)), Tt = (e, t) => {
294
294
  var n;
295
295
  const o = t.elementProps, u = {
296
296
  ...t.elementProps
@@ -298,10 +298,10 @@ const Cn = (e, t) => {
298
298
  return Se((n = t.highConfig$) == null ? void 0 : n.registerPropsTrans, (a) => {
299
299
  const r = g(o, a.name);
300
300
  if (!(!r || Te(r))) {
301
- if (G(r)) {
301
+ if (W(r)) {
302
302
  if (ue(r, (s) => Te(s)))
303
303
  return;
304
- ce(u, a.name, Ge(e, r));
304
+ ce(u, a.name, We(e, r));
305
305
  return;
306
306
  }
307
307
  !r.elementType || (a.isFun ? ce(u, a.name, (...s) => {
@@ -316,11 +316,11 @@ const Cn = (e, t) => {
316
316
  }) : ce(u, a.name, ve(e, r)));
317
317
  }
318
318
  }), u;
319
- }, Tt = (e, t) => {
320
- const o = Y(t.children) > 0 ? Ge(e, t.children) : void 0, u = t.childrenSlotName || "default", n = M(t.slots, o ? u : "");
319
+ }, Mt = (e, t) => {
320
+ const o = Y(t.children) > 0 ? We(e, t.children) : void 0, u = t.childrenSlotName || "default", n = E(t.slots, o ? u : "");
321
321
  return Se(V(n), (a) => {
322
322
  const r = n[a];
323
- r && !B(r) && r.elementType && (n[a] = (...s) => {
323
+ r && !q(r) && r.elementType && (n[a] = (...s) => {
324
324
  const m = r.needParams ? {
325
325
  ...r.elementProps,
326
326
  params$: s
@@ -342,12 +342,12 @@ const Cn = (e, t) => {
342
342
  elementMap: e,
343
343
  elementConfig: t
344
344
  });
345
- const u = Tt(e, t), n = Et(e, t);
345
+ const u = Mt(e, t), n = Tt(e, t);
346
346
  return me(o, {
347
347
  key: t.elementId,
348
348
  ...n
349
349
  }, u);
350
- }, Kn = (e) => G(e) ? Vt(e) : pe(e) && e.indexOf(".") > 0 ? e.substring(0, e.indexOf(".")) : e, Ln = I({
350
+ }, Kn = (e) => W(e) ? zt(e) : pe(e) && e.indexOf(".") > 0 ? e.substring(0, e.indexOf(".")) : e, Ln = I({
351
351
  props: {
352
352
  elementMap: {
353
353
  type: Object
@@ -363,8 +363,8 @@ const Cn = (e, t) => {
363
363
  } = Ce(), {
364
364
  elementMap: u,
365
365
  elementConfig: n
366
- } = e, a = n.highConfig$, r = Et(u, n), s = X(a.registerEventList, (y, c) => ({
367
- ...y,
366
+ } = e, a = n.highConfig$, r = Tt(u, n), s = X(a.registerEventList, (h, c) => ({
367
+ ...h,
368
368
  [c.name]: (...l) => {
369
369
  o({
370
370
  type: c.sendEventName || n.elementId,
@@ -374,24 +374,24 @@ const Cn = (e, t) => {
374
374
  }), {}), m = C(() => {
375
375
  if (!a.registerStateList || Y(a.registerStateList) <= 0)
376
376
  return;
377
- const y = {
377
+ const h = {
378
378
  ...r
379
379
  }, c = $(a.registerStateList, (l) => {
380
- const v = l.mapName || l.name, f = g(t, l.name);
381
- return ce(y, v, f), Kn(v);
380
+ const y = l.mapName || l.name, f = g(t, l.name);
381
+ return ce(h, y, f), Kn(y);
382
382
  });
383
- return q(y, c);
384
- }), d = g(u, n.elementType) || n.elementType, b = Tt(u, n);
383
+ return B(h, c);
384
+ }), d = g(u, n.elementType) || n.elementType, b = Mt(u, n);
385
385
  return () => g(m.value, "show$") === !1 ? null : me(d, {
386
386
  key: n.elementId,
387
387
  ...r,
388
- ...M(m.value, "show$"),
388
+ ...E(m.value, "show$"),
389
389
  ...s
390
390
  }, b);
391
391
  }
392
- }), Mt = Symbol("pro-module"), Ce = () => re(Mt), wn = (e) => {
393
- se(Mt, e);
394
- }, He = (e) => {
392
+ }), It = Symbol("pro-module"), Ce = () => re(It), wn = (e) => {
393
+ se(It, e);
394
+ }, Ge = (e) => {
395
395
  const {
396
396
  subject$: t
397
397
  } = Ce();
@@ -406,7 +406,7 @@ const Cn = (e, t) => {
406
406
  }, he = {
407
407
  Success: "request-success$",
408
408
  Fail: "request-fail$"
409
- }, xn = () => ({
409
+ }, kn = () => ({
410
410
  state: {
411
411
  type: Object
412
412
  },
@@ -421,51 +421,51 @@ const Cn = (e, t) => {
421
421
  }
422
422
  }), Le = I({
423
423
  props: {
424
- ...xn()
424
+ ...kn()
425
425
  },
426
426
  setup: (e, {
427
427
  slots: t,
428
428
  expose: o
429
429
  }) => {
430
- const u = (c) => G(c) ? Ge(e.elementMap, c) : ve(e.elementMap, c), n = new nn(), a = (c) => {
430
+ const u = (c) => W(c) ? We(e.elementMap, c) : ve(e.elementMap, c), n = new an(), a = (c) => {
431
431
  n.next(c);
432
432
  }, r = e.state || be({}), s = (c) => {
433
- const l = r[c.type], v = B(c.payload) ? c.payload(l) : c.payload;
433
+ const l = r[c.type], y = q(c.payload) ? c.payload(l) : c.payload;
434
434
  if (fe(l)) {
435
- ft(r[c.type], v);
435
+ ft(r[c.type], y);
436
436
  return;
437
437
  }
438
- r[c.type] = v;
438
+ r[c.type] = y;
439
439
  }, {
440
440
  dispatchRequest: m
441
441
  } = Pe(), d = X(e.requests, (c, l) => {
442
- var v;
442
+ var y;
443
443
  return {
444
444
  ...c,
445
- [(v = l.actor) == null ? void 0 : v.name]: l
445
+ [(y = l.actor) == null ? void 0 : y.name]: l
446
446
  };
447
447
  }, {}), b = X(e.requests, (c, l) => ({
448
448
  ...c,
449
449
  [l.action]: l
450
- }), {}), y = (c, ...l) => {
451
- const v = g(d, c) || g(b, c);
452
- if (!v)
450
+ }), {}), h = (c, ...l) => {
451
+ const y = g(d, c) || g(b, c);
452
+ if (!y)
453
453
  return;
454
454
  let f;
455
- v.convertParams ? f = v.convertParams(...l) : f = g(l, 0), v.loadingName && s({
456
- type: v.loadingName,
455
+ y.convertParams ? f = y.convertParams(...l) : f = g(l, 0), y.loadingName && s({
456
+ type: y.loadingName,
457
457
  payload: !0
458
- }), m(v.actor, f);
458
+ }), m(y.actor, f);
459
459
  };
460
460
  return On(V(d), {
461
461
  onSuccess: (c) => {
462
- var v, f;
462
+ var y, f;
463
463
  const l = g(d, c.name);
464
464
  if (l != null && l.stateName) {
465
- const p = l.convertData ? l.convertData(c) : (v = c.res) == null ? void 0 : v.data;
465
+ const S = l.convertData ? l.convertData(c) : (y = c.res) == null ? void 0 : y.data;
466
466
  s({
467
467
  type: l.stateName,
468
- payload: p
468
+ payload: S
469
469
  });
470
470
  }
471
471
  a({
@@ -477,7 +477,7 @@ const Cn = (e, t) => {
477
477
  }), (f = l.onSuccess) == null || f.call(l, c);
478
478
  },
479
479
  onFailed: (c) => {
480
- var v;
480
+ var y;
481
481
  const l = g(d, c.name);
482
482
  a({
483
483
  type: he.Fail,
@@ -485,7 +485,7 @@ const Cn = (e, t) => {
485
485
  actor: c,
486
486
  requestOpts: l
487
487
  }
488
- }), (v = l.onFailed) == null || v.call(l, c);
488
+ }), (y = l.onFailed) == null || y.call(l, c);
489
489
  },
490
490
  onFinish: (c) => {
491
491
  const l = g(d, [c.name, "loadingName"]);
@@ -501,17 +501,17 @@ const Cn = (e, t) => {
501
501
  state: r,
502
502
  dispatch: s,
503
503
  requests: e.requests,
504
- sendRequest: y
504
+ sendRequest: h
505
505
  }), o({
506
506
  sendEvent: a,
507
- sendRequest: y
507
+ sendRequest: h
508
508
  }), () => {
509
509
  var c;
510
- return i(Q, null, [Y(e.elementConfigs) > 0 && u(e.elementConfigs), (c = t.default) == null ? void 0 : c.call(t)]);
510
+ return i(Z, null, [Y(e.elementConfigs) > 0 && u(e.elementConfigs), (c = t.default) == null ? void 0 : c.call(t)]);
511
511
  };
512
512
  }
513
513
  }), $a = () => {
514
- const e = pt(), { registerStoreMap: t } = ne();
514
+ const e = St(), { registerStoreMap: t } = ne();
515
515
  return (o, u) => {
516
516
  const n = g(t, o);
517
517
  !n || e(o, u, !!n.persist, n.initialState);
@@ -520,52 +520,52 @@ const Cn = (e, t) => {
520
520
  const { registerStoreMap: t } = ne(), o = g(t, e), u = `${o != null && o.persist ? "$" : ""}${o == null ? void 0 : o.key}`;
521
521
  return En(Mn((a) => {
522
522
  const r = g(a, u);
523
- return r || (B(o == null ? void 0 : o.initialState) ? o == null ? void 0 : o.initialState() : o == null ? void 0 : o.initialState);
523
+ return r || (q(o == null ? void 0 : o.initialState) ? o == null ? void 0 : o.initialState() : o == null ? void 0 : o.initialState);
524
524
  }));
525
- }, It = Dn("access", void 0, !0), kn = () => {
526
- const [e, t] = It();
525
+ }, Nt = Dn("access", void 0, !0), xn = () => {
526
+ const [e, t] = Nt();
527
527
  return { access: e, setAccess: t, delAccess: () => {
528
528
  t(void 0);
529
529
  } };
530
530
  }, La = () => {
531
- const [e, t] = It();
531
+ const [e, t] = Nt();
532
532
  return [e, t, () => {
533
533
  t(void 0);
534
534
  }];
535
- }, Nt = Symbol("logon-user"), Rn = () => re(Nt), wa = I((e, { slots: t }) => {
535
+ }, Dt = Symbol("logon-user"), Fn = () => re(Dt), wa = I((e, { slots: t }) => {
536
536
  const [o, u] = je(), [n, a] = je();
537
- return se(Nt, { user: o, setUser: u, per: n, setPer: a, opts: {} }), () => {
537
+ return se(Dt, { user: o, setUser: u, per: n, setPer: a, opts: {} }), () => {
538
538
  var s;
539
539
  return (s = t.default) == null ? void 0 : s.call(t);
540
540
  };
541
- }), xa = I((e, { slots: t, emit: o }) => {
542
- const { access: u } = kn(), n = C(() => u && u.token);
541
+ }), ka = I((e, { slots: t, emit: o }) => {
542
+ const { access: u } = xn(), n = C(() => u && u.token);
543
543
  return te(() => {
544
544
  n.value || o("toLogin");
545
545
  }, n), () => {
546
546
  var a;
547
547
  return n.value ? (a = t.default) == null ? void 0 : a.call(t) : null;
548
548
  };
549
- }), ka = {
549
+ }), xa = {
550
550
  Add: "add",
551
551
  Edit: "edit",
552
552
  Delete: "delete"
553
- }, Fn = (e, t) => !e || !t ? !1 : G(t) ? ue(t, (o) => e[o]) : e[t], jn = () => {
554
- const { per: e } = Rn(), t = Ve();
553
+ }, Rn = (e, t) => !e || !t ? !1 : W(t) ? ue(t, (o) => e[o]) : e[t], jn = () => {
554
+ const { per: e } = Fn(), t = Ve();
555
555
  return (o, u) => {
556
556
  if (!o)
557
557
  return !1;
558
558
  let n = o;
559
559
  if (u != null && u.suffix) {
560
560
  const a = t.name ? t.name.toString() : "";
561
- n = G(n) ? $(n, (r) => `${a}:${r}`) : `${a}:${n}`;
561
+ n = W(n) ? $(n, (r) => `${a}:${r}`) : `${a}:${n}`;
562
562
  }
563
- return Fn(e.buttonMap, n);
563
+ return Rn(e.buttonMap, n);
564
564
  };
565
565
  }, Un = () => ({
566
566
  suffix: { type: [String, Array] },
567
567
  value: { type: [String, Array] }
568
- }), Ra = I({
568
+ }), Fa = I({
569
569
  inheritAttrs: !1,
570
570
  props: {
571
571
  ...Un()
@@ -626,7 +626,7 @@ const Bn = () => ({
626
626
  const t = _(), o = t(j.RowKey), u = t(j.ColKey);
627
627
  return () => {
628
628
  let n;
629
- return !o || !u ? null : i(o, e.row, qn(n = $(e.items, (a) => i(u, T({
629
+ return !o || !u ? null : i(o, e.row, qn(n = $(e.items, (a) => i(u, M({
630
630
  key: a.rowKey
631
631
  }, e.col, a.col), {
632
632
  default: () => [a.vNode]
@@ -637,21 +637,21 @@ const Bn = () => ({
637
637
  }
638
638
  }), Vn = (e, t, o) => {
639
639
  if (t) {
640
- const u = H(V(t), (n) => !t[n]);
641
- return M(e, u);
640
+ const u = G(V(t), (n) => !t[n]);
641
+ return E(e, u);
642
642
  }
643
643
  if (o) {
644
- const u = H(V(o), (n) => !o[n](e));
645
- return M(e, u);
644
+ const u = G(V(o), (n) => !o[n](e));
645
+ return E(e, u);
646
646
  }
647
647
  return e;
648
- }, Dt = (e) => {
648
+ }, Ot = (e) => {
649
649
  if (!!e)
650
- return G(e) ? e : e && pe(e) && e.indexOf(".") > 0 ? zt(e, ".") : [e];
650
+ return W(e) ? e : e && pe(e) && e.indexOf(".") > 0 ? _t(e, ".") : [e];
651
651
  }, Ae = (e, t, o) => !t || !o ? e : $(e, (u) => {
652
- const n = B(o) ? o(u) : g(u, o), a = g(t, n);
653
- return !a || _t(a) || B(a) || !fe(a) ? u : Gt(u, a, (r, s) => {
654
- if (G(r) || G(s))
652
+ const n = q(o) ? o(u) : g(u, o), a = g(t, n);
653
+ return !a || Wt(a) || q(a) || !fe(a) ? u : Gt(u, a, (r, s) => {
654
+ if (W(r) || W(s))
655
655
  return s;
656
656
  });
657
657
  }), de = (e, t) => {
@@ -667,7 +667,7 @@ const Bn = () => ({
667
667
  {}
668
668
  );
669
669
  return o.originRef = t, o;
670
- }, Fa = (e, t, o) => {
670
+ }, Ra = (e, t, o) => {
671
671
  const u = { originRef: e, ...o };
672
672
  return t && Y(t) > 0 && Se(t, (n) => {
673
673
  u[n] = (...a) => {
@@ -676,10 +676,10 @@ const Bn = () => ({
676
676
  };
677
677
  }), u;
678
678
  }, zn = (e, t) => g(e, ["extra", t]) || g(e, t), ee = (e, t) => {
679
- const o = V(e), u = `${t}-`, n = H(o, (r) => Ht(r, u)), a = q(e, n);
680
- return Wt(a, (r, s) => s.replace(u, ""));
681
- }, Ot = Symbol("pro-form-list"), At = () => re(Ot), $t = (e) => {
682
- se(Ot, e);
679
+ const o = V(e), u = `${t}-`, n = G(o, (r) => Ht(r, u)), a = B(e, n);
680
+ return Xt(a, (r, s) => s.replace(u, ""));
681
+ }, At = Symbol("pro-form-list"), $t = () => re(At), Kt = (e) => {
682
+ se(At, e);
683
683
  }, _n = I({
684
684
  props: {
685
685
  pathList: {
@@ -688,13 +688,13 @@ const Bn = () => ({
688
688
  },
689
689
  setup: (e, {
690
690
  slots: t
691
- }) => ($t({
691
+ }) => (Kt({
692
692
  pathList: e.pathList
693
693
  }), () => {
694
694
  var o;
695
695
  return (o = t.default) == null ? void 0 : o.call(t);
696
696
  })
697
- }), Gn = () => ({
697
+ }), Wn = () => ({
698
698
  rowKey: {
699
699
  type: String,
700
700
  default: "id"
@@ -705,7 +705,7 @@ const Bn = () => ({
705
705
  }
706
706
  }), ja = I({
707
707
  props: {
708
- ...Gn()
708
+ ...Wn()
709
709
  },
710
710
  setup: (e, {
711
711
  slots: t
@@ -713,48 +713,48 @@ const Bn = () => ({
713
713
  const u = _()(j.FormItemKey), {
714
714
  formState: n,
715
715
  readonly: a
716
- } = Lt(), r = At(), s = Dt(e.name), m = r != null && r.pathList ? [...r.pathList, ...s] : s, d = () => {
717
- let y = g(n, m);
718
- G(y) || (y = []), y.push({
716
+ } = wt(), r = $t(), s = Ot(e.name), m = r != null && r.pathList ? [...r.pathList, ...s] : s, d = () => {
717
+ let h = g(n, m);
718
+ W(h) || (h = []), h.push({
719
719
  [e.rowKey]: new Date().valueOf()
720
- }), ce(n, m, y);
721
- }, b = (y) => {
720
+ }), ce(n, m, h);
721
+ }, b = (h) => {
722
722
  const c = g(n, m);
723
- Y(c) <= 0 || c.splice(y, 1);
723
+ Y(c) <= 0 || c.splice(h, 1);
724
724
  };
725
- return () => u ? i(u, M(e, "rowKey"), {
725
+ return () => u ? i(u, E(e, "rowKey"), {
726
726
  default: () => {
727
- var y;
727
+ var h;
728
728
  return [$(g(n, m), (c, l) => i(_n, {
729
729
  key: c[e.rowKey] || l,
730
730
  pathList: [...m, l]
731
731
  }, {
732
732
  default: () => {
733
- var v, f, p;
733
+ var y, f, S;
734
734
  return [i("div", {
735
735
  class: "pro-form-list-item"
736
- }, [(v = t.default) == null ? void 0 : v.call(t), !a.value && i(Q, null, [i("div", {
736
+ }, [(y = t.default) == null ? void 0 : y.call(t), !a.value && i(Z, null, [i("div", {
737
737
  class: "pro-form-list-item-add",
738
738
  onClick: d
739
739
  }, [(f = t.itemAdd) == null ? void 0 : f.call(t)]), i("div", {
740
740
  class: "pro-form-list-item-minus",
741
741
  onClick: () => b(l)
742
- }, [(p = t.itemMinus) == null ? void 0 : p.call(t)])])])];
742
+ }, [(S = t.itemMinus) == null ? void 0 : S.call(t)])])])];
743
743
  }
744
744
  })), !a.value && i("div", {
745
745
  class: "pro-form-list-add",
746
746
  onClick: d
747
- }, [(y = t.add) == null ? void 0 : y.call(t)])];
747
+ }, [(h = t.add) == null ? void 0 : h.call(t)])];
748
748
  }
749
749
  }) : null;
750
750
  }
751
- }), Kt = Symbol("pro-form"), Lt = () => re(Kt), Hn = (e) => {
752
- se(Kt, e);
751
+ }), Lt = Symbol("pro-form"), wt = () => re(Lt), Gn = (e) => {
752
+ se(Lt, e);
753
753
  };
754
- let W;
754
+ let H;
755
755
  (function(e) {
756
756
  e.RESET = "RESET", e.SUBMIT = "SUBMIT", e.CONTINUE = "CONTINUE";
757
- })(W || (W = {}));
757
+ })(H || (H = {}));
758
758
  const nt = () => ({
759
759
  clsName: {
760
760
  type: String,
@@ -806,7 +806,7 @@ const nt = () => ({
806
806
  props: {
807
807
  ...ye,
808
808
  ...nt(),
809
- ...M(we.props, "items")
809
+ ...E(we.props, "items")
810
810
  },
811
811
  setup: (e, {
812
812
  slots: t,
@@ -817,93 +817,93 @@ const nt = () => ({
817
817
  const {
818
818
  elementMap: a,
819
819
  formElementMap: r
820
- } = ne(), s = e.elementMap || a, m = e.formElementMap || r, d = e.model || be({}), b = Ke(d, e.showStateRules, e.showState), y = Ke(d, e.readonlyStateRules, e.readonlyState), c = Ke(d, e.disableStateRules, e.disableState), l = C(() => e.readonly), v = C(() => Ae(e.columns, e.columnState, (E) => ie(E))), f = (E) => {
821
- const F = Vn(E, b, e.showStateRules);
822
- o("finish", F, E);
823
- }, p = z();
824
- u(de(e.formMethods || [], p)), Hn({
820
+ } = ne(), s = e.elementMap || a, m = e.formElementMap || r, d = e.model || be({}), b = Ke(d, e.showStateRules, e.showState), h = Ke(d, e.readonlyStateRules, e.readonlyState), c = Ke(d, e.disableStateRules, e.disableState), l = C(() => e.readonly), y = C(() => Ae(e.columns, e.columnState, (T) => ie(T))), f = (T) => {
821
+ const R = Vn(T, b, e.showStateRules);
822
+ o("finish", R, T);
823
+ }, S = z();
824
+ u(de(e.formMethods || [], S)), Gn({
825
825
  formState: d,
826
826
  showState: b,
827
- readonlyState: y,
827
+ readonlyState: h,
828
828
  disableState: c,
829
829
  elementMap: s,
830
830
  formElementMap: m,
831
831
  readonly: l,
832
- columns: v,
833
- formRef: p,
832
+ columns: y,
833
+ formRef: S,
834
834
  ...e.provideExtra
835
- }), $t({});
835
+ }), Kt({});
836
836
  const P = [{
837
- value: W.RESET,
837
+ value: H.RESET,
838
838
  label: "\u91CD\u7F6E"
839
839
  }, {
840
- value: W.SUBMIT,
840
+ value: H.SUBMIT,
841
841
  label: "\u63D0\u4EA4",
842
842
  extraProps: {
843
843
  type: "primary"
844
844
  }
845
- }], h = () => {
846
- var E, F;
847
- if ((E = e.operate) != null && E.onReset) {
845
+ }], v = () => {
846
+ var T, R;
847
+ if ((T = e.operate) != null && T.onReset) {
848
848
  e.operate.onReset();
849
849
  return;
850
850
  }
851
- (F = p.value) == null || F.resetFields();
852
- }, S = () => {
853
- var E, F;
854
- if ((E = e.operate) != null && E.onSubmit) {
851
+ (R = S.value) == null || R.resetFields();
852
+ }, p = () => {
853
+ var T, R;
854
+ if ((T = e.operate) != null && T.onSubmit) {
855
855
  e.operate.onSubmit();
856
856
  return;
857
857
  }
858
- (F = p.value) == null || F.submit();
859
- }, k = () => {
860
- var E, F;
861
- (F = (E = e.operate) == null ? void 0 : E.onContinue) == null || F.call(E);
862
- }, R = {
863
- [W.RESET]: h,
864
- [W.SUBMIT]: S,
865
- [W.CONTINUE]: k
858
+ (R = S.value) == null || R.submit();
859
+ }, x = () => {
860
+ var T, R;
861
+ (R = (T = e.operate) == null ? void 0 : T.onContinue) == null || R.call(T);
862
+ }, F = {
863
+ [H.RESET]: v,
864
+ [H.SUBMIT]: p,
865
+ [H.CONTINUE]: x
866
866
  }, U = C(() => {
867
- const E = e.operate, F = (E == null ? void 0 : E.items) || P;
868
- return $(F, (w) => !w.onClick && !g(E == null ? void 0 : E.itemState, [w.value, "onClick"]) ? {
867
+ const T = e.operate, R = (T == null ? void 0 : T.items) || P;
868
+ return $(R, (w) => !w.onClick && !g(T == null ? void 0 : T.itemState, [w.value, "onClick"]) ? {
869
869
  ...w,
870
- onClick: g(R, w.value)
870
+ onClick: g(F, w.value)
871
871
  } : w);
872
- }), Z = C(() => {
873
- var E;
872
+ }), Q = C(() => {
873
+ var T;
874
874
  return {
875
- [W.SUBMIT]: {
876
- value: W.SUBMIT,
875
+ [H.SUBMIT]: {
876
+ value: H.SUBMIT,
877
877
  loading: e.submitLoading
878
878
  },
879
- ...(E = e.operate) == null ? void 0 : E.itemState
879
+ ...(T = e.operate) == null ? void 0 : T.itemState
880
880
  };
881
- }), K = (E) => {
882
- const F = ie(E);
883
- return F && t[F] ? t[F](E, d) : Ct(m, E, e.needRules);
884
- }, D = C(() => e.row ? $(v.value, (E) => ({
885
- rowKey: ie(E),
886
- vNode: K(E),
887
- col: g(E, ["extra", "col"])
888
- })) : $(v.value, (E) => K(E))), O = V(nt()), A = V(M(we.props, "items")), L = g(a, j.FormKey);
889
- return () => L ? i(L, T({
890
- ref: p,
881
+ }), K = (T) => {
882
+ const R = ie(T);
883
+ return R && t[R] ? t[R](T, d) : Et(m, T, e.needRules);
884
+ }, D = C(() => e.row ? $(y.value, (T) => ({
885
+ rowKey: ie(T),
886
+ vNode: K(T),
887
+ col: g(T, ["extra", "col"])
888
+ })) : $(y.value, (T) => K(T))), O = V(nt()), A = V(E(we.props, "items")), L = g(a, j.FormKey);
889
+ return () => L ? i(L, M({
890
+ ref: S,
891
891
  class: e.clsName
892
- }, M(n, "onFinish"), M(e, ...O, ...A, "onFinish", "operate"), {
892
+ }, E(n, "onFinish"), E(e, ...O, ...A, "onFinish", "operate"), {
893
893
  model: d,
894
894
  onFinish: f
895
895
  }), {
896
896
  default: () => {
897
- var E, F, w;
898
- return [(E = t.start) == null ? void 0 : E.call(t), m && Y(v.value) > 0 && i(Q, null, [e.row ? i(we, {
897
+ var T, R, w;
898
+ return [(T = t.start) == null ? void 0 : T.call(t), m && Y(y.value) > 0 && i(Z, null, [e.row ? i(we, {
899
899
  row: e.row,
900
900
  col: e.col,
901
901
  items: D.value
902
- }, null) : D.value]), (F = t.default) == null ? void 0 : F.call(t), e.operate && i(wt, T({
902
+ }, null) : D.value]), (R = t.default) == null ? void 0 : R.call(t), e.operate && i(kt, M({
903
903
  class: `${e.clsName}-operate`
904
- }, M(e.operate, "items", "itemState", "onReset", "onSubmit", "onContinue"), {
904
+ }, E(e.operate, "items", "itemState", "onReset", "onSubmit", "onContinue"), {
905
905
  items: U.value,
906
- itemState: Z.value
906
+ itemState: Q.value
907
907
  }), null), (w = t.end) == null ? void 0 : w.call(t)];
908
908
  }
909
909
  }) : null;
@@ -956,39 +956,39 @@ const at = () => ({
956
956
  slots: t,
957
957
  expose: o
958
958
  }) => {
959
- const n = _()(j.ProFormKey), a = e.model || be({}), r = new Set(e.debounceTypes), s = $(H(e.columns, (f) => {
960
- const p = Pt(f);
961
- return r.has(p);
959
+ const n = _()(j.ProFormKey), a = e.model || be({}), r = new Set(e.debounceTypes), s = $(G(e.columns, (f) => {
960
+ const S = Ct(f);
961
+ return r.has(S);
962
962
  }), (f) => ie(f)), m = C(() => $(e.columns, (f) => ({
963
963
  ...f,
964
- formItemProps: M(f.formItemProps, "required")
964
+ formItemProps: E(f.formItemProps, "required")
965
965
  }))), d = z(), b = e.formMethods || [];
966
966
  o(de(b, d));
967
- const y = () => {
967
+ const h = () => {
968
968
  var f;
969
969
  (f = d.value) == null || f.submit();
970
- }, c = Xt(() => {
971
- y();
970
+ }, c = Yt(() => {
971
+ h();
972
972
  }, e.debounceTime);
973
973
  te(() => {
974
- e.initEmit && y();
974
+ e.initEmit && h();
975
975
  }, []);
976
- const l = (f, p, P) => ue(P, (h) => g(f, h) !== g(p, h));
977
- yt((f, p) => {
976
+ const l = (f, S, P) => ue(P, (v) => g(f, v) !== g(S, v));
977
+ yt((f, S) => {
978
978
  if (e.searchMode !== Ne.AUTO)
979
979
  return;
980
980
  const P = Y(e.debounceKeys) > 0 ? e.debounceKeys : s;
981
- if (Y(P) > 0 && l(f, p, P)) {
981
+ if (Y(P) > 0 && l(f, S, P)) {
982
982
  c();
983
983
  return;
984
984
  }
985
- y();
986
- }, () => Yt(a));
987
- const v = V(at());
988
- return () => n ? i(n, T({
985
+ h();
986
+ }, () => Jt(a));
987
+ const y = V(at());
988
+ return () => n ? i(n, M({
989
989
  ref: d,
990
990
  class: "pro-search-form"
991
- }, M(e, v, "columns"), {
991
+ }, E(e, y, "columns"), {
992
992
  columns: m.value,
993
993
  model: a
994
994
  }), t) : null;
@@ -1026,35 +1026,35 @@ const at = () => ({
1026
1026
  formState: m,
1027
1027
  showState: d,
1028
1028
  readonlyState: b,
1029
- disableState: y,
1029
+ disableState: h,
1030
1030
  readonly: c,
1031
1031
  elementMap: l
1032
- } = Lt(), v = At(), f = C(() => le(a.readonly) ? a.readonly : le(b[a.name]) ? b[a.name] : c.value), p = () => `${g(s == null ? void 0 : s.rulePrefixMap, u) || "\u8BF7\u8F93\u5165"}${a.label || ""}`, P = C(() => s != null && s.rulePrefixMap ? a.required === !0 && !a.rules ? [{
1032
+ } = wt(), y = $t(), f = C(() => le(a.readonly) ? a.readonly : le(b[a.name]) ? b[a.name] : c.value), S = () => `${g(s == null ? void 0 : s.rulePrefixMap, u) || "\u8BF7\u8F93\u5165"}${a.label || ""}`, P = C(() => s != null && s.rulePrefixMap ? a.required === !0 && !a.rules ? [{
1033
1033
  required: !0,
1034
- message: p()
1035
- }] : a.rules ? $(a.rules, (U) => (U.required && !U.message && (U.message = p()), U)) : a.rules : a.rules), h = Dt(a.name), S = v != null && v.pathList ? [...v.pathList, ...h] : h, k = (U) => {
1036
- ce(m, S, U);
1037
- }, R = V(rt());
1034
+ message: S()
1035
+ }] : a.rules ? $(a.rules, (U) => (U.required && !U.message && (U.message = S()), U)) : a.rules : a.rules), v = Ot(a.name), p = y != null && y.pathList ? [...y.pathList, ...v] : v, x = (U) => {
1036
+ ce(m, p, U);
1037
+ }, F = V(rt());
1038
1038
  return () => {
1039
- const U = g(d, S);
1039
+ const U = g(d, p);
1040
1040
  if (le(U) && !U)
1041
1041
  return null;
1042
- const Z = g(m, S), K = g(l, u);
1043
- return i(e, T(M(a, ...R, "name", "rules", "slots"), {
1044
- name: S,
1042
+ const Q = g(m, p), K = g(l, u);
1043
+ return i(e, M(E(a, ...F, "name", "rules", "slots"), {
1044
+ name: p,
1045
1045
  rules: P.value
1046
1046
  }), {
1047
- default: () => [f.value ? i(Q, null, [K ? i(K, T({
1048
- value: Z
1047
+ default: () => [f.value ? i(Z, null, [K ? i(K, M({
1048
+ value: Q
1049
1049
  }, a.fieldProps, {
1050
1050
  showProps: a.showProps
1051
- }), r) : i("span", null, [Z])]) : i(o, T(t(Z, k, g(y, S)), a.fieldProps), r)],
1051
+ }), r) : i("span", null, [Q])]) : i(o, M(t(Q, x, g(h, p)), a.fieldProps), r)],
1052
1052
  ...a.slots
1053
1053
  });
1054
1054
  };
1055
1055
  }
1056
1056
  });
1057
- function Wn(e) {
1057
+ function Hn(e) {
1058
1058
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Te(e);
1059
1059
  }
1060
1060
  const Xn = () => ({
@@ -1072,7 +1072,7 @@ const Xn = () => ({
1072
1072
  type: String,
1073
1073
  default: j.ButtonKey
1074
1074
  }
1075
- }), wt = I({
1075
+ }), kt = I({
1076
1076
  props: {
1077
1077
  ...Xn()
1078
1078
  },
@@ -1080,7 +1080,7 @@ const Xn = () => ({
1080
1080
  slots: t
1081
1081
  }) => {
1082
1082
  const o = _(), u = e.elementKey ? o(e.elementKey) : void 0, n = C(() => {
1083
- const r = H(e.items, (s) => B(s.show) ? s.show() : le(s.show) ? s.show : !0);
1083
+ const r = G(e.items, (s) => q(s.show) ? s.show() : le(s.show) ? s.show : !0);
1084
1084
  return $(r, (s) => dt(e.itemState, s.value) ? {
1085
1085
  ...s,
1086
1086
  ...g(e.itemState, s.value)
@@ -1092,15 +1092,15 @@ const Xn = () => ({
1092
1092
  return () => i("div", {
1093
1093
  class: e.clsName
1094
1094
  }, [$(n.value, (r) => {
1095
- const s = B(r.disabled) ? r.disabled() : r.disabled, m = B(r.loading) ? r.loading() : r.loading, d = B(r.label) ? r.label() : r.label, b = B(r.extraProps) ? r.extraProps() : r.extraProps, y = {
1096
- ...M(r, "show", "disabled", "element"),
1095
+ const s = q(r.disabled) ? r.disabled() : r.disabled, m = q(r.loading) ? r.loading() : r.loading, d = q(r.label) ? r.label() : r.label, b = q(r.extraProps) ? r.extraProps() : r.extraProps, h = {
1096
+ ...E(r, "show", "disabled", "element"),
1097
1097
  disabled: s
1098
1098
  };
1099
- return r.element && B(r.element) ? r.element(y) : t[r.value] ? t[r.value](y) : u ? i(u, T({
1099
+ return r.element && q(r.element) ? r.element(h) : t[r.value] ? t[r.value](h) : u ? i(u, M({
1100
1100
  disabled: s,
1101
1101
  loading: m,
1102
1102
  onClick: () => a(r)
1103
- }, b), Wn(d) ? d : {
1103
+ }, b), Hn(d) ? d : {
1104
1104
  default: () => [d]
1105
1105
  }) : i("div", {
1106
1106
  class: `${e.clsName}-item`,
@@ -1139,60 +1139,60 @@ const Xn = () => ({
1139
1139
  const o = _(), u = o(j.PopoverKey), n = o(j.CheckboxKey), {
1140
1140
  originColumns: a,
1141
1141
  selectIdsRef: r
1142
- } = Qn(), [s, m] = an();
1142
+ } = Qn(), [s, m] = rn();
1143
1143
  let d = {};
1144
- const b = (h) => {
1145
- d[h] = !1;
1146
- }, y = () => {
1147
- Se(r.value, (h) => {
1148
- d[h] = !0;
1144
+ const b = (v) => {
1145
+ d[v] = !1;
1146
+ }, h = () => {
1147
+ Se(r.value, (v) => {
1148
+ d[v] = !0;
1149
1149
  });
1150
- }, c = C(() => X(r.value, (h, S) => ({
1151
- ...h,
1152
- [S]: !0
1153
- }), {})), l = (h) => zn(h, e.signName);
1150
+ }, c = C(() => X(r.value, (v, p) => ({
1151
+ ...v,
1152
+ [p]: !0
1153
+ }), {})), l = (v) => zn(v, e.signName);
1154
1154
  te(() => {
1155
- r.value = $(H(a.value, (h) => {
1156
- var S;
1157
- return e.useSelectedStatus && dt(d, h.dataIndex) ? d[h.dataIndex] : ((S = l(h)) == null ? void 0 : S.initShow) !== !1;
1158
- }), (h) => h.dataIndex);
1155
+ r.value = $(G(a.value, (v) => {
1156
+ var p;
1157
+ return e.useSelectedStatus && dt(d, v.dataIndex) ? d[v.dataIndex] : ((p = l(v)) == null ? void 0 : p.initShow) !== !1;
1158
+ }), (v) => v.dataIndex);
1159
1159
  }, a), yt(() => {
1160
- var h;
1161
- m(), y(), (h = e.onColumnSelectChange) == null || h.call(e, r.value);
1160
+ var v;
1161
+ m(), h(), (v = e.onColumnSelectChange) == null || v.call(e, r.value);
1162
1162
  }, r);
1163
- const v = C(() => {
1164
- const h = Jt(a.value, (k) => {
1165
- var R;
1166
- return (R = l(k)) != null && R.disabled ? !0 : g(c.value, k.dataIndex);
1167
- }), S = ue(a.value, (k) => {
1168
- var R;
1169
- return (R = l(k)) != null && R.disabled ? !0 : g(c.value, k.dataIndex);
1163
+ const y = C(() => {
1164
+ const v = Qt(a.value, (x) => {
1165
+ var F;
1166
+ return (F = l(x)) != null && F.disabled ? !0 : g(c.value, x.dataIndex);
1167
+ }), p = ue(a.value, (x) => {
1168
+ var F;
1169
+ return (F = l(x)) != null && F.disabled ? !0 : g(c.value, x.dataIndex);
1170
1170
  });
1171
1171
  return {
1172
- checked: h,
1173
- indeterminate: h ? !1 : S
1172
+ checked: v,
1173
+ indeterminate: v ? !1 : p
1174
1174
  };
1175
- }), f = (h) => {
1176
- var k;
1177
- (fe(h) ? (k = h.target) == null ? void 0 : k.checked : h) ? r.value = $(a.value, (R) => R.dataIndex) : r.value = $(H(a.value, (R) => {
1175
+ }), f = (v) => {
1176
+ var x;
1177
+ (fe(v) ? (x = v.target) == null ? void 0 : x.checked : v) ? r.value = $(a.value, (F) => F.dataIndex) : r.value = $(G(a.value, (F) => {
1178
1178
  var U;
1179
- return (U = l(R)) != null && U.disabled ? !0 : (b(R.dataIndex), !1);
1180
- }), (R) => R.dataIndex);
1181
- }, p = () => {
1182
- r.value = $(H(a.value, (h) => {
1183
- var S;
1184
- return ((S = l(h)) == null ? void 0 : S.initShow) === !1 ? (b(h.dataIndex), !1) : !0;
1185
- }), (h) => h.dataIndex);
1186
- }, P = (h, S) => {
1187
- var R;
1188
- (fe(S) ? (R = S.target) == null ? void 0 : R.checked : S) ? r.value = [...r.value, h.dataIndex] : r.value = H(r.value, (U) => h.dataIndex === U ? (b(h.dataIndex), !1) : !0);
1179
+ return (U = l(F)) != null && U.disabled ? !0 : (b(F.dataIndex), !1);
1180
+ }), (F) => F.dataIndex);
1181
+ }, S = () => {
1182
+ r.value = $(G(a.value, (v) => {
1183
+ var p;
1184
+ return ((p = l(v)) == null ? void 0 : p.initShow) === !1 ? (b(v.dataIndex), !1) : !0;
1185
+ }), (v) => v.dataIndex);
1186
+ }, P = (v, p) => {
1187
+ var F;
1188
+ (fe(p) ? (F = p.target) == null ? void 0 : F.checked : p) ? r.value = [...r.value, v.dataIndex] : r.value = G(r.value, (U) => v.dataIndex === U ? (b(v.dataIndex), !1) : !0);
1189
1189
  };
1190
- return () => u ? i(u, T({
1190
+ return () => u ? i(u, M({
1191
1191
  trigger: "click"
1192
1192
  }, e.popoverProps), {
1193
1193
  default: () => {
1194
- var h, S;
1195
- return [((h = t.default) == null ? void 0 : h.call(t)) || ((S = e.renderDom) == null ? void 0 : S.call(e))];
1194
+ var v, p;
1195
+ return [((v = t.default) == null ? void 0 : v.call(t)) || ((p = e.renderDom) == null ? void 0 : p.call(e))];
1196
1196
  },
1197
1197
  content: () => i("div", {
1198
1198
  class: `${e.clsName}`
@@ -1200,29 +1200,29 @@ const Xn = () => ({
1200
1200
  class: `${e.clsName}-header`
1201
1201
  }, [i(n, {
1202
1202
  key: s.value,
1203
- checked: v.value.checked,
1204
- indeterminate: v.value.indeterminate,
1203
+ checked: y.value.checked,
1204
+ indeterminate: y.value.indeterminate,
1205
1205
  onChange: f
1206
1206
  }, {
1207
1207
  default: () => [Je("\u5217\u5C55\u793A")]
1208
1208
  }), i("a", {
1209
- onClick: p
1209
+ onClick: S
1210
1210
  }, [Je("\u91CD\u7F6E")])]), i("div", {
1211
1211
  key: s.value,
1212
1212
  class: `${e.clsName}-list`
1213
- }, [$(a.value, (h) => {
1214
- const S = l(h), k = g(c.value, h.dataIndex, !1);
1213
+ }, [$(a.value, (v) => {
1214
+ const p = l(v), x = g(c.value, v.dataIndex, !1);
1215
1215
  return i(n, {
1216
- checked: k,
1217
- disabled: S == null ? void 0 : S.disabled,
1218
- onChange: (R) => {
1219
- P(h, R);
1216
+ checked: x,
1217
+ disabled: p == null ? void 0 : p.disabled,
1218
+ onChange: (F) => {
1219
+ P(v, F);
1220
1220
  }
1221
1221
  }, {
1222
- default: () => [h.title]
1222
+ default: () => [v.title]
1223
1223
  });
1224
1224
  })])]),
1225
- ...M(t, "default")
1225
+ ...E(t, "default")
1226
1226
  }) : null;
1227
1227
  }
1228
1228
  }), xt = Symbol("pro-table"), Qn = () => re(xt), Zn = (e) => {
@@ -1309,39 +1309,39 @@ const Xn = () => ({
1309
1309
  customRender: ({
1310
1310
  record: L
1311
1311
  }) => {
1312
- const E = $(A, (w) => ({
1312
+ const T = $(A, (w) => ({
1313
1313
  ...w,
1314
- show: B(w.show) ? w.show(L) : w.show,
1315
- disabled: B(w.disabled) ? w.disabled(L) : w.disabled,
1316
- loading: B(w.loading) ? w.loading(L) : w.loading,
1317
- extraProps: B(w.extraProps) ? w.extraProps(L) : w.extraProps,
1318
- element: B(w.element) ? () => w.element(L, w) : w.element,
1314
+ show: q(w.show) ? w.show(L) : w.show,
1315
+ disabled: q(w.disabled) ? w.disabled(L) : w.disabled,
1316
+ loading: q(w.loading) ? w.loading(L) : w.loading,
1317
+ extraProps: q(w.extraProps) ? w.extraProps(L) : w.extraProps,
1318
+ element: q(w.element) ? () => w.element(L, w) : w.element,
1319
1319
  onClick: () => m(L, w)
1320
- })), F = X(V(d), (w, Xe) => ({
1320
+ })), R = X(V(d), (w, Xe) => ({
1321
1321
  ...w,
1322
- [Xe]: (jt) => {
1322
+ [Xe]: (Ut) => {
1323
1323
  var Ye;
1324
- return (Ye = d[Xe]) == null ? void 0 : Ye.call(d, L, jt);
1324
+ return (Ye = d[Xe]) == null ? void 0 : Ye.call(d, L, Ut);
1325
1325
  }
1326
1326
  }), {});
1327
- return i(wt, {
1327
+ return i(kt, {
1328
1328
  class: `${e.clsName}-operate`,
1329
- items: E,
1329
+ items: T,
1330
1330
  elementKey: D.elementKey || j.TableOperateKey
1331
- }, F);
1331
+ }, R);
1332
1332
  }
1333
1333
  };
1334
- }, y = z([]), c = C(() => {
1334
+ }, h = z([]), c = C(() => {
1335
1335
  var D;
1336
1336
  return !!((D = e.toolbar) != null && D.columnSetting);
1337
- }), l = Bt(e, "columns"), v = C(() => {
1337
+ }), l = Vt(e, "columns"), y = C(() => {
1338
1338
  if (!c.value)
1339
1339
  return e.columns;
1340
- const D = X(y.value, (O, A) => ({
1340
+ const D = X(h.value, (O, A) => ({
1341
1341
  ...O,
1342
1342
  [A]: !0
1343
1343
  }), {});
1344
- return H(e.columns, (O) => g(D, O.dataIndex));
1344
+ return G(e.columns, (O) => g(D, O.dataIndex));
1345
1345
  }), f = (D) => $(D, (O) => {
1346
1346
  const A = {
1347
1347
  ...e.column,
@@ -1350,53 +1350,53 @@ const Xn = () => ({
1350
1350
  return O.children && Y(O.children) > 0 ? (A.children = f(O.children), A) : (O.customRender || (A.customRender = ({
1351
1351
  text: L
1352
1352
  }) => {
1353
- var F;
1353
+ var R;
1354
1354
  return _e(a, {
1355
1355
  ...O,
1356
1356
  showProps: {
1357
1357
  ...O.showProps,
1358
- content: ((F = O.showProps) == null ? void 0 : F.content) || e.columnEmptyText
1358
+ content: ((R = O.showProps) == null ? void 0 : R.content) || e.columnEmptyText
1359
1359
  }
1360
1360
  }, L) || L || e.columnEmptyText;
1361
1361
  }), A);
1362
- }), p = C(() => {
1363
- const D = Ae(v.value, e.columnState, (A) => A.dataIndex), O = f(D);
1362
+ }), S = C(() => {
1363
+ const D = Ae(y.value, e.columnState, (A) => A.dataIndex), O = f(D);
1364
1364
  return e.serialNumber && O.unshift(s()), e.operate && e.operate.items && ue(e.operate.items, (A) => A.show) && O.push(b()), O;
1365
1365
  }), P = z();
1366
1366
  Zn({
1367
- columns: p,
1367
+ columns: S,
1368
1368
  originColumns: l,
1369
- selectIdsRef: y,
1369
+ selectIdsRef: h,
1370
1370
  tableRef: P,
1371
1371
  toolbar: e.toolbar,
1372
1372
  ...e.provideExtra
1373
1373
  }), o(de(e.tableMethods || [], P));
1374
- const h = z(), S = z(!1), k = z(), R = z(!1);
1375
- Ue(h, () => {
1376
- S.value = !!h.value.innerText;
1377
- }), Ue(k, () => {
1378
- R.value = !!k.value.innerText;
1374
+ const v = z(), p = z(!1), x = z(), F = z(!1);
1375
+ Ue(v, () => {
1376
+ p.value = !!v.value.innerText;
1377
+ }), Ue(x, () => {
1378
+ F.value = !!x.value.innerText;
1379
1379
  });
1380
- const U = C(() => R.value || S.value ? `${e.clsName}-toolbar-valid` : ""), Z = V(ot()), K = ee(t, "columnSetting");
1380
+ const U = C(() => F.value || p.value ? `${e.clsName}-toolbar-valid` : ""), Q = V(ot()), K = ee(t, "columnSetting");
1381
1381
  return () => {
1382
1382
  var O, A;
1383
1383
  if (!r)
1384
1384
  return null;
1385
1385
  const D = c.value ? i(Jn, (O = e.toolbar) == null ? void 0 : O.columnSetting, K) : null;
1386
- return i("div", T({
1386
+ return i("div", M({
1387
1387
  class: e.clsName
1388
- }, q(u, "class")), [i("div", {
1388
+ }, B(u, "class")), [i("div", {
1389
1389
  class: `${e.clsName}-toolbar ${U.value}`
1390
1390
  }, [i("div", {
1391
- ref: h,
1391
+ ref: v,
1392
1392
  class: `${e.clsName}-toolbar-start`
1393
1393
  }, [(A = t.toolbar) == null ? void 0 : A.call(t)]), i("div", {
1394
- ref: k,
1394
+ ref: x,
1395
1395
  class: `${e.clsName}-toolbar-extra`
1396
- }, [t.toolbarExtra ? t.toolbarExtra([D]) : i(Q, null, [D])])]), i(r, T({
1396
+ }, [t.toolbarExtra ? t.toolbarExtra([D]) : i(Z, null, [D])])]), i(r, M({
1397
1397
  ref: P
1398
- }, M(u, "class"), M(e, Z), {
1399
- columns: p.value
1398
+ }, E(u, "class"), E(e, Q), {
1399
+ columns: S.value
1400
1400
  }), t)]);
1401
1401
  };
1402
1402
  }
@@ -1411,33 +1411,47 @@ const Xn = () => ({
1411
1411
  hideWhileNoHistory: {
1412
1412
  type: Boolean,
1413
1413
  default: !0
1414
+ },
1415
+ onBackClick: {
1416
+ type: Function
1417
+ },
1418
+ renderBackIcon: {
1419
+ type: Function,
1420
+ default: () => "\u8FD4\u56DE"
1414
1421
  }
1415
- }), xe = I({
1422
+ }), ke = I({
1416
1423
  props: {
1417
1424
  ...ea()
1418
1425
  },
1419
1426
  setup: (e, {
1420
- slots: t,
1421
- emit: o
1422
- }) => () => {
1423
- var n, a, r, s;
1424
- const u = e.hideWhileNoHistory && ((a = (n = window.history) == null ? void 0 : n.state) == null ? void 0 : a.back) || e.hideWhileNoHistory === !1;
1425
- return i("div", {
1426
- class: "pro-page-header"
1427
- }, [e.showBack && u && i("div", {
1428
- class: "pro-page-header-back",
1429
- onClick: () => {
1430
- o("back");
1427
+ slots: t
1428
+ }) => {
1429
+ const o = bt(), u = () => {
1430
+ var n;
1431
+ if (e.onBackClick) {
1432
+ (n = e.onBackClick) == null || n.call(e);
1433
+ return;
1431
1434
  }
1432
- }, [t.backIcon ? t.backIcon() : "\u8FD4\u56DE"]), i("div", {
1433
- class: "pro-page-header-title"
1434
- }, [t.title ? t.title() : e.title]), i("div", {
1435
- class: "pro-page-header-sub-title"
1436
- }, [t.subTitle ? t.subTitle() : e.subTitle]), i("div", {
1437
- class: "pro-page-header-space"
1438
- }, [(r = t.space) == null ? void 0 : r.call(t)]), i("div", {
1439
- class: "pro-page-header-extra"
1440
- }, [(s = t.extra) == null ? void 0 : s.call(t)])]);
1435
+ o.back();
1436
+ };
1437
+ return () => {
1438
+ var a, r, s, m, d;
1439
+ const n = e.hideWhileNoHistory && ((r = (a = window.history) == null ? void 0 : a.state) == null ? void 0 : r.back) || e.hideWhileNoHistory === !1;
1440
+ return i("div", {
1441
+ class: "pro-page-header"
1442
+ }, [e.showBack && n && i("div", {
1443
+ class: "pro-page-header-back",
1444
+ onClick: u
1445
+ }, [t.backIcon ? t.backIcon() : (s = e.renderBackIcon) == null ? void 0 : s.call(e)]), i("div", {
1446
+ class: "pro-page-header-title"
1447
+ }, [t.title ? t.title() : e.title]), i("div", {
1448
+ class: "pro-page-header-sub-title"
1449
+ }, [t.subTitle ? t.subTitle() : e.subTitle]), i("div", {
1450
+ class: "pro-page-header-space"
1451
+ }, [(m = t.space) == null ? void 0 : m.call(t)]), i("div", {
1452
+ class: "pro-page-header-extra"
1453
+ }, [(d = t.extra) == null ? void 0 : d.call(t)])]);
1454
+ };
1441
1455
  }
1442
1456
  }), ta = () => ({
1443
1457
  loading: {
@@ -1451,44 +1465,29 @@ const Xn = () => ({
1451
1465
  }
1452
1466
  }), _a = I({
1453
1467
  props: {
1454
- ...xe.props,
1468
+ ...ke.props,
1455
1469
  ...ta()
1456
1470
  },
1457
1471
  setup: (e, {
1458
- slots: t,
1459
- emit: o
1472
+ slots: t
1460
1473
  }) => {
1461
- const n = _()(j.LoadingKey), a = z(), r = z(0);
1462
- Ue(a, (m) => {
1463
- var b;
1464
- if (!e.fillMode)
1465
- return;
1466
- const d = (b = m[0]) == null ? void 0 : b.contentRect;
1467
- r.value = d == null ? void 0 : d.height;
1468
- });
1469
- const s = V(xe.props);
1474
+ const u = _()(j.LoadingKey), n = V(ke.props);
1470
1475
  return () => {
1471
- var b, y, c, l;
1472
- const m = e.title || t.title || e.subTitle || t.subTitle || t.extra, d = !!t.footer;
1476
+ var s, m, d;
1477
+ const a = e.title || t.title || e.subTitle || t.subTitle || t.extra, r = !!t.footer;
1473
1478
  return i("div", {
1474
- class: "pro-page"
1475
- }, [(b = t.start) == null ? void 0 : b.call(t), m && i(xe, T(q(e, s), {
1476
- onBack: () => {
1477
- o("back");
1478
- }
1479
- }), q(t, "backIcon", "title", "subTitle", "space", "extra")), e.loading && n ? i(n, T({
1479
+ class: `pro-page ${e.fillMode ? "pro-page-fill" : ""}`
1480
+ }, [(s = t.start) == null ? void 0 : s.call(t), a && i(ke, B(e, n), E(t, "start", "default", "footer")), i("div", {
1481
+ class: "pro-page-content"
1482
+ }, [e.loading ? u ? i(u, M({
1480
1483
  loading: !0
1481
1484
  }, e.loadingOpts), {
1482
1485
  default: () => [i("div", {
1483
1486
  class: "pro-loading-dom"
1484
1487
  }, null)]
1485
- }) : i("div", {
1486
- ref: a,
1487
- style: e.fillMode && r.value > 0 ? `height:${r.value};overflow-y:auto` : "",
1488
- class: "pro-page-content"
1489
- }, [e.fillMode ? i(Q, null, [r.value > 0 && ((y = t.default) == null ? void 0 : y.call(t))]) : (c = t.default) == null ? void 0 : c.call(t)]), !e.loading && d && i("div", {
1488
+ }) : null : (m = t.default) == null ? void 0 : m.call(t)]), !e.loading && r && i("div", {
1490
1489
  class: "pro-page-footer"
1491
- }, [(l = t.footer) == null ? void 0 : l.call(t)])]);
1490
+ }, [(d = t.footer) == null ? void 0 : d.call(t)])]);
1492
1491
  };
1493
1492
  }
1494
1493
  }), na = Object.freeze({
@@ -1533,26 +1532,26 @@ const Xn = () => ({
1533
1532
  ...m,
1534
1533
  ...s
1535
1534
  });
1536
- }, b = (f, p) => {
1537
- m = f, s.page = p || 1, d();
1538
- }, y = (f, p) => {
1539
- s.page = f, s.pageSize = p, d();
1540
- }, c = ee(t, "search"), l = ee(t, "table"), v = ee(t, "pagination");
1535
+ }, b = (f, S) => {
1536
+ m = f, s.page = S || 1, d();
1537
+ }, h = (f, S) => {
1538
+ s.page = f, s.pageSize = S, d();
1539
+ }, c = ee(t, "search"), l = ee(t, "table"), y = ee(t, "pagination");
1541
1540
  return () => {
1542
- var p, P, h, S;
1541
+ var S, P, v, p;
1543
1542
  const f = t.search ? t.search({
1544
1543
  executeSearchWithResetPage: b,
1545
1544
  pageState: s
1546
- }) : i(Q, null, [n && i(n, T({
1545
+ }) : i(Z, null, [n && i(n, M({
1547
1546
  class: `${e.clsName}-search`
1548
- }, M(e.searchProps, "onFinish"), {
1549
- onFinish: (k) => b(k)
1547
+ }, E(e.searchProps, "onFinish"), {
1548
+ onFinish: (x) => b(x)
1550
1549
  }), c)]);
1551
1550
  return i("div", {
1552
1551
  class: e.clsName
1553
- }, [(p = t.start) == null ? void 0 : p.call(t), !e.searchInTable && f, (P = t.divide) == null ? void 0 : P.call(t), t.table ? t.table({
1552
+ }, [(S = t.start) == null ? void 0 : S.call(t), !e.searchInTable && f, (P = t.divide) == null ? void 0 : P.call(t), t.table ? t.table({
1554
1553
  pageState: s
1555
- }) : i(Q, null, [a && i(a, T({
1554
+ }) : i(Z, null, [a && i(a, M({
1556
1555
  class: `${e.clsName}-table`,
1557
1556
  paginationState: {
1558
1557
  page: s.page,
@@ -1562,16 +1561,16 @@ const Xn = () => ({
1562
1561
  }, e.tableProps), {
1563
1562
  ...l,
1564
1563
  toolbar: e.searchInTable ? () => l.toolbar ? l.toolbar(f) : f : l.toolbar
1565
- })]), (h = t.divide2) == null ? void 0 : h.call(t), t.pagination ? t.pagination({
1566
- executePageChange: y,
1564
+ })]), (v = t.divide2) == null ? void 0 : v.call(t), t.pagination ? t.pagination({
1565
+ executePageChange: h,
1567
1566
  pageState: s
1568
- }) : i(Q, null, [e.paginationProps !== !1 && r && i("div", {
1567
+ }) : i(Z, null, [e.paginationProps !== !1 && r && i("div", {
1569
1568
  class: `${e.clsName}-pagination`
1570
- }, [i(r, T(M(le(e.paginationProps) ? {} : e.paginationProps, "onChange"), {
1569
+ }, [i(r, M(E(le(e.paginationProps) ? {} : e.paginationProps, "onChange"), {
1571
1570
  page: s.page,
1572
1571
  pageSize: s.pageSize,
1573
- onComposeChange: y
1574
- }), v)])]), (S = t.end) == null ? void 0 : S.call(t)]);
1572
+ onComposeChange: h
1573
+ }), y)])]), (p = t.end) == null ? void 0 : p.call(t)]);
1575
1574
  };
1576
1575
  }
1577
1576
  }), ut = () => ({
@@ -1593,26 +1592,26 @@ const Xn = () => ({
1593
1592
  const {
1594
1593
  elementMap: o
1595
1594
  } = ne(), u = e.elementMap || o, n = _(), a = n(j.DescriptionsKey), r = n(j.DescriptionsItemKey), s = C(() => Ae(e.columns, e.columnState, "dataIndex")), m = V(ye), d = V(ut());
1596
- return () => !a || !r ? null : i(a, T({
1595
+ return () => !a || !r ? null : i(a, M({
1597
1596
  class: e.clsName
1598
- }, M(e, ...m, ...d, "model")), {
1597
+ }, E(e, ...m, ...d, "model")), {
1599
1598
  default: () => {
1600
- var b, y;
1599
+ var b, h;
1601
1600
  return [(b = t.start) == null ? void 0 : b.call(t), $(s.value, (c) => {
1602
- const l = c.dataIndex, v = g(e.model, l);
1603
- return i(r, T({
1601
+ const l = c.dataIndex, y = g(e.model, l);
1602
+ return i(r, M({
1604
1603
  class: `${e.clsName}-item`
1605
1604
  }, g(c.extra, "desc")), {
1606
1605
  default: () => {
1607
1606
  var f;
1608
- return [((f = t.value) == null ? void 0 : f.call(t, v, c)) || _e(u, c, v)];
1607
+ return [((f = t.value) == null ? void 0 : f.call(t, y, c)) || _e(u, c, y)];
1609
1608
  },
1610
1609
  label: () => {
1611
1610
  var f;
1612
1611
  return ((f = t.label) == null ? void 0 : f.call(t, c)) || c.title;
1613
1612
  }
1614
1613
  });
1615
- }), (y = t.default) == null ? void 0 : y.call(t)];
1614
+ }), (h = t.default) == null ? void 0 : h.call(t)];
1616
1615
  },
1617
1616
  ...t
1618
1617
  });
@@ -1638,7 +1637,7 @@ const Xn = () => ({
1638
1637
  return e.ellipsis ? e.ellipsis === !0 ? 1 : ((a = e.ellipsis) == null ? void 0 : a.rows) || ((r = e.ellipsis) == null ? void 0 : r.num) || 1 : "unset";
1639
1638
  };
1640
1639
  return () => {
1641
- const a = i("span", T({
1640
+ const a = i("span", M({
1642
1641
  class: `pro-typography ${e.ellipsis ? "pro-typography-ellipsis" : ""}`,
1643
1642
  style: `-webkit-line-clamp:${n()}`
1644
1643
  }, t), [e.content]);
@@ -1668,14 +1667,14 @@ const Xn = () => ({
1668
1667
  }) => {
1669
1668
  const o = C(() => {
1670
1669
  var a;
1671
- const u = (a = e.showProps) == null ? void 0 : a.content, n = e.value || Qt(e.value) ? e.value : u;
1670
+ const u = (a = e.showProps) == null ? void 0 : a.content, n = e.value || Zt(e.value) ? e.value : u;
1672
1671
  return e.convert ? e.convert(n, e) : n;
1673
1672
  });
1674
- return () => i(sa, T(q(t, "style", "class"), M(e.showProps, "content"), {
1673
+ return () => i(sa, M(B(t, "style", "class"), E(e.showProps, "content"), {
1675
1674
  content: o.value
1676
1675
  }), null);
1677
1676
  }
1678
- }), Ga = I({
1677
+ }), Wa = I({
1679
1678
  inheritAttrs: !1,
1680
1679
  props: {
1681
1680
  ...Ee,
@@ -1693,14 +1692,14 @@ const Xn = () => ({
1693
1692
  }) => {
1694
1693
  const o = C(() => {
1695
1694
  let u = e.value;
1696
- return u && e.decimalFixed && (u = rn(u, e.decimalFixed || 2)), u && e.thousandDivision && (u = on(u)), e.convert ? e.convert(u, e) : u;
1695
+ return u && e.decimalFixed && (u = on(u, e.decimalFixed || 2)), u && e.thousandDivision && (u = un(u)), e.convert ? e.convert(u, e) : u;
1697
1696
  });
1698
- return () => i($e, T(q(t, "style", "class"), {
1697
+ return () => i($e, M(B(t, "style", "class"), {
1699
1698
  value: o.value,
1700
1699
  showProps: e.showProps
1701
1700
  }), null);
1702
1701
  }
1703
- }), Ha = I({
1702
+ }), Ga = I({
1704
1703
  inheritAttrs: !1,
1705
1704
  props: {
1706
1705
  ...Ee,
@@ -1719,18 +1718,18 @@ const Xn = () => ({
1719
1718
  setup: (e, {
1720
1719
  attrs: t
1721
1720
  }) => {
1722
- const o = C(() => un(e.options, (a) => a.label), void 0), u = C(() => {
1721
+ const o = C(() => sn(e.options, (a) => a.label), void 0), u = C(() => {
1723
1722
  const a = e.value;
1724
1723
  let r = e.value;
1725
- return G(a) ? r = Be($(a, (s) => g(o.value, s, s)), e.splitStr) : r = g(o.value, a, e.value), e.convert ? e.convert(r, e) : r;
1724
+ return W(a) ? r = Be($(a, (s) => g(o.value, s, s)), e.splitStr) : r = g(o.value, a, e.value), e.convert ? e.convert(r, e) : r;
1726
1725
  }), n = C(() => g(e.colorMap, e.value));
1727
- return () => i($e, T(q(t, "style", "class"), {
1726
+ return () => i($e, M(B(t, "style", "class"), {
1728
1727
  style: `color:${n.value || ""}`,
1729
1728
  value: u.value,
1730
1729
  showProps: e.showProps
1731
1730
  }), null);
1732
1731
  }
1733
- }), Wa = I({
1732
+ }), Ha = I({
1734
1733
  inheritAttrs: !1,
1735
1734
  props: {
1736
1735
  ...Ee,
@@ -1752,16 +1751,16 @@ const Xn = () => ({
1752
1751
  }) => {
1753
1752
  const o = C(() => {
1754
1753
  const n = e.treeData || e.data || e.options, a = e.fieldNames || e.props;
1755
- return sn(n, (r) => g(r, (a == null ? void 0 : a.label) || "label"), {
1754
+ return cn(n, (r) => g(r, (a == null ? void 0 : a.label) || "label"), {
1756
1755
  value: "value",
1757
1756
  children: "children",
1758
1757
  ...a
1759
1758
  });
1760
1759
  }), u = C(() => {
1761
1760
  let n = e.value;
1762
- return G(e.value) ? n = Be($(e.value, (a) => g(o.value, a, a)), e.splitStr) : n = g(o.value, e.value, e.value), e.convert ? e.convert(n, e) : n;
1761
+ return W(e.value) ? n = Be($(e.value, (a) => g(o.value, a, a)), e.splitStr) : n = g(o.value, e.value, e.value), e.convert ? e.convert(n, e) : n;
1763
1762
  });
1764
- return () => i($e, T(q(t, "style", "class"), {
1763
+ return () => i($e, M(B(t, "style", "class"), {
1765
1764
  value: u.value,
1766
1765
  showProps: e.showProps
1767
1766
  }), null);
@@ -1790,18 +1789,28 @@ const Xn = () => ({
1790
1789
  }) => {
1791
1790
  const o = (n) => n && (e.isUnix ? et.unix(n).format(e.format) : et(n).format(e.format)), u = C(() => {
1792
1791
  let n = e.value;
1793
- return G(e.value) ? n = Be($(e.value, (a) => o(a) || ""), e.splitStr) : n = o(e.value) || "", e.convert ? e.convert(n, e) : n;
1792
+ return W(e.value) ? n = Be($(e.value, (a) => o(a) || ""), e.splitStr) : n = o(e.value) || "", e.convert ? e.convert(n, e) : n;
1794
1793
  });
1795
- return () => i($e, T(q(t, "style", "class"), {
1794
+ return () => i($e, M(B(t, "style", "class"), {
1796
1795
  value: u.value,
1797
1796
  showProps: e.showProps
1798
1797
  }), null);
1799
1798
  }
1800
- }), ke = I((e, {
1799
+ }), xe = I((e, {
1801
1800
  slots: t
1802
- }) => () => {
1803
- var o, u, n, a;
1804
- return i("header", null, [(o = t.start) == null ? void 0 : o.call(t), (u = t.menus) == null ? void 0 : u.call(t), (n = t.default) == null ? void 0 : n.call(t), (a = t.end) == null ? void 0 : a.call(t)]);
1801
+ }) => {
1802
+ const o = z(), u = z(0);
1803
+ return Ue(o, (n) => {
1804
+ var r;
1805
+ const a = (r = n[0]) == null ? void 0 : r.contentRect;
1806
+ u.value = a == null ? void 0 : a.width;
1807
+ }), () => {
1808
+ var n, a, r;
1809
+ return i("header", null, [(n = t.start) == null ? void 0 : n.call(t), t.menus && i("div", {
1810
+ ref: o,
1811
+ class: "pro-header-menus-wrapper"
1812
+ }, [t.menus(u.value)]), (a = t.default) == null ? void 0 : a.call(t), (r = t.end) == null ? void 0 : r.call(t)]);
1813
+ };
1805
1814
  }), ca = () => ({
1806
1815
  clsName: {
1807
1816
  type: String,
@@ -1847,82 +1856,84 @@ const Xn = () => ({
1847
1856
  attrs: o
1848
1857
  }) => {
1849
1858
  const n = _()(j.MenusKey), a = Ve(), r = C(() => {
1850
- var v;
1851
- return cn(e.menus, (f) => {
1852
- var h, S;
1853
- const p = ((h = e.fieldNames) == null ? void 0 : h.value) || "value", P = ((S = e.fieldNames) == null ? void 0 : S.label) || "label";
1859
+ var y;
1860
+ return ln(e.menus, (f) => {
1861
+ var v, p;
1862
+ const S = ((v = e.fieldNames) == null ? void 0 : v.value) || "value", P = ((p = e.fieldNames) == null ? void 0 : p.label) || "label";
1854
1863
  return {
1855
- ...M(f, p, P),
1856
- value: g(f, p),
1864
+ ...E(f, S, P),
1865
+ value: g(f, S),
1857
1866
  label: g(f, P)
1858
1867
  };
1859
1868
  }, {
1860
- children: ((v = e.fieldNames) == null ? void 0 : v.children) || "children",
1869
+ children: ((y = e.fieldNames) == null ? void 0 : y.children) || "children",
1861
1870
  childrenName: "children"
1862
1871
  });
1863
- }), s = C(() => ln(r.value)), m = C(() => {
1872
+ }), s = C(() => dn(r.value)), m = C(() => {
1864
1873
  var f;
1865
- const v = Qe(a.matched, (p) => !!g(s.value, p.name));
1866
- return v ? g(s.value, v.name) : (f = e.findCurrentTopName) == null ? void 0 : f.call(e, a, s.value);
1867
- }), d = C(() => m.value ? Ze(r.value, (v) => v.value === m.value).target : null), b = C(() => {
1874
+ const y = Qe(a.matched, (S) => !!g(s.value, S.name));
1875
+ return y ? g(s.value, y.name) : (f = e.findCurrentTopName) == null ? void 0 : f.call(e, a, s.value);
1876
+ }), d = C(() => m.value ? Ze(r.value, (y) => y.value === m.value).target : null), b = C(() => {
1868
1877
  var f;
1869
- const v = Qe(a.matched, (p) => !!g(s.value, p.name));
1870
- return v ? v.name : (f = e.findActiveKey) == null ? void 0 : f.call(e, a, s.value);
1871
- }), y = (v) => {
1872
- var p;
1873
- const f = Ze(r.value, (P) => P.value === v.value).target;
1874
- (p = e.onMenuItemClick) == null || p.call(e, f);
1878
+ const y = Qe(a.matched, (S) => !!g(s.value, S.name));
1879
+ return y ? y.name : (f = e.findActiveKey) == null ? void 0 : f.call(e, a, s.value);
1880
+ }), h = (y) => {
1881
+ var S;
1882
+ const f = Ze(r.value, (P) => P.value === y.value).target;
1883
+ (S = e.onMenuItemClick) == null || S.call(e, f);
1875
1884
  }, c = ee(t, "header"), l = ee(t, "menu");
1876
1885
  return () => {
1877
- var p, P, h;
1886
+ var S, P, v;
1878
1887
  if (!n)
1879
1888
  return null;
1880
- const v = q(o, "class"), f = {
1889
+ const y = B(o, "class"), f = {
1881
1890
  class: "pro-layout-menus",
1882
1891
  options: r.value,
1883
1892
  activeKey: b.value,
1884
- ...q(e, "convertSubMenuProps", "convertMenuItemProps", "onMenuItemClick")
1893
+ ...B(e, "convertSubMenuProps", "convertMenuItemProps", "onMenuItemClick")
1885
1894
  };
1886
- return e.layout === "vertical" ? i("main", T(v, {
1895
+ return e.layout === "vertical" ? i("main", M(y, {
1887
1896
  class: `${e.clsName} ${e.clsName}-${e.layout}`
1888
- }), [i(ke, {
1897
+ }), [i(xe, {
1889
1898
  class: `${e.clsName}-header`
1890
1899
  }, {
1891
- menus: () => i(n, T({
1900
+ menus: (p) => p ? i(n, M({
1901
+ style: `width:${p}px`,
1892
1902
  mode: "horizontal"
1893
- }, f), l),
1903
+ }, f), l) : null,
1894
1904
  ...c
1895
1905
  }), i("div", {
1896
1906
  class: `${e.clsName}-section`
1897
- }, [(p = t.default) == null ? void 0 : p.call(t)])]) : e.layout === "horizontal" ? i("main", T(v, {
1907
+ }, [(S = t.default) == null ? void 0 : S.call(t)])]) : e.layout === "horizontal" ? i("main", M(y, {
1898
1908
  class: `${e.clsName} ${e.clsName}-${e.layout}`
1899
1909
  }), [i(n, f, l), i("div", {
1900
1910
  class: `${e.clsName}-structure`
1901
- }, [i(ke, {
1911
+ }, [i(xe, {
1902
1912
  class: `${e.clsName}-header`
1903
1913
  }, c), i("div", {
1904
1914
  class: `${e.clsName}-section`
1905
- }, [(P = t.default) == null ? void 0 : P.call(t)])])]) : i("main", T(v, {
1915
+ }, [(P = t.default) == null ? void 0 : P.call(t)])])]) : i("main", M(y, {
1906
1916
  class: `${e.clsName} ${e.clsName}-${e.layout}`
1907
- }), [i(ke, {
1917
+ }), [i(xe, {
1908
1918
  class: `${e.clsName}-header`
1909
1919
  }, {
1910
- menus: () => i(n, T({
1920
+ menus: (p) => p ? i(n, M({
1921
+ style: `width:${p}px`,
1911
1922
  class: "pro-layout-menus",
1912
1923
  mode: "horizontal",
1913
- options: $(r.value, (S) => M(S, "children")),
1924
+ options: $(r.value, (x) => E(x, "children")),
1914
1925
  activeKey: m.value
1915
- }, q(e, "convertSubMenuProps", "convertMenuItemProps"), {
1916
- onMenuItemClick: y
1917
- }), l),
1926
+ }, B(e, "convertSubMenuProps", "convertMenuItemProps"), {
1927
+ onMenuItemClick: h
1928
+ }), l) : null,
1918
1929
  ...c
1919
1930
  }), i("div", {
1920
1931
  class: `${e.clsName}-structure`
1921
- }, [d.value && Y(d.value.children) > 0 && i(n, T({
1932
+ }, [d.value && Y(d.value.children) > 0 && i(n, M({
1922
1933
  options: d.value.children
1923
- }, M(f, "options")), l), i("div", {
1934
+ }, E(f, "options")), l), i("div", {
1924
1935
  class: `${e.clsName}-section`
1925
- }, [(h = t.default) == null ? void 0 : h.call(t)])])]);
1936
+ }, [(v = t.default) == null ? void 0 : v.call(t)])])]);
1926
1937
  };
1927
1938
  }
1928
1939
  }), Ja = I({
@@ -1942,34 +1953,34 @@ const Xn = () => ({
1942
1953
  }) => {
1943
1954
  const n = _()(j.UploaderKey), a = (d) => {
1944
1955
  const b = vt(d);
1945
- if (G(b)) {
1946
- const y = e.fieldNames;
1956
+ if (W(b)) {
1957
+ const h = e.fieldNames;
1947
1958
  return $(b, (c) => ({
1948
- ...M(c, y.id, y.name, y.size),
1949
- id: g(c, y.id),
1950
- name: g(c, y.name),
1951
- size: g(c, y.size)
1959
+ ...E(c, h.id, h.name, h.size),
1960
+ id: g(c, h.id),
1961
+ name: g(c, h.name),
1962
+ size: g(c, h.size)
1952
1963
  }));
1953
1964
  }
1954
1965
  return [];
1955
1966
  }, r = C(() => a(e.value)), s = C(() => a(e.modelValue)), m = (d, b) => {
1956
- let y = "";
1957
- d && Y(d) > 0 && (y = dn($(d, (c) => {
1967
+ let h = "";
1968
+ d && Y(d) > 0 && (h = mn($(d, (c) => {
1958
1969
  const l = e.fieldNames;
1959
1970
  return {
1960
1971
  [l.id]: c.id,
1961
1972
  [l.name]: c.name,
1962
1973
  [l.size || "size"]: c.size
1963
1974
  };
1964
- }))), o(b, y);
1975
+ }))), o(b, h);
1965
1976
  };
1966
- return () => n ? i(n, T({
1977
+ return () => n ? i(n, M({
1967
1978
  class: "pro-uploader-text",
1968
1979
  value: r.value,
1969
1980
  "onUpdate:value": (d) => m(d, "update:value"),
1970
1981
  modelValue: s.value,
1971
1982
  "onUpdate:modelValue": (d) => m(d, "update:modelValue")
1972
- }, M(e, "value", "modelValue", "fieldNames")), t) : null;
1983
+ }, E(e, "value", "modelValue", "fieldNames")), t) : null;
1973
1984
  }
1974
1985
  }), Qa = I({
1975
1986
  props: {
@@ -1992,9 +2003,9 @@ const Xn = () => ({
1992
2003
  return !!g(r, ((s = e.fieldNames) == null ? void 0 : s.id) || "id");
1993
2004
  }, n = C(() => {
1994
2005
  let r = e.value;
1995
- return r && pe(r) && (r = vt(r)), r && !G(r) && fe(r) && u(r) && (r = [r]), G(r) ? $(H(r, (s) => u(s)), (s) => {
1996
- var y, c, l;
1997
- const m = g(s, ((y = e.fieldNames) == null ? void 0 : y.id) || "id"), d = g(s, ((c = e.fieldNames) == null ? void 0 : c.name) || "name"), b = g(s, ((l = e.fieldNames) == null ? void 0 : l.name) || "size");
2006
+ return r && pe(r) && (r = vt(r)), r && !W(r) && fe(r) && u(r) && (r = [r]), W(r) ? $(G(r, (s) => u(s)), (s) => {
2007
+ var h, c, l;
2008
+ const m = g(s, ((h = e.fieldNames) == null ? void 0 : h.id) || "id"), d = g(s, ((c = e.fieldNames) == null ? void 0 : c.name) || "name"), b = g(s, ((l = e.fieldNames) == null ? void 0 : l.name) || "size");
1998
2009
  return {
1999
2010
  ...s,
2000
2011
  id: m,
@@ -2020,8 +2031,8 @@ const Xn = () => ({
2020
2031
  }), (s = t.default) == null ? void 0 : s.call(t)]);
2021
2032
  };
2022
2033
  }
2023
- }), kt = Symbol("pro-curd"), J = () => re(kt), la = (e) => se(kt, e);
2024
- var N = /* @__PURE__ */ ((e) => (e.LIST = "LIST", e.DETAIL = "DETAIL", e.ADD = "ADD", e.EDIT = "EDIT", e.DELETE = "DELETE", e))(N || {}), x = /* @__PURE__ */ ((e) => (e.EMIT = "EMIT", e.EXECUTE = "EXECUTE", e.PAGE = "PAGE", e.SUCCESS = "SUCCESS", e.FAIL = "FAIL", e))(x || {}), oe = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.EDIT = "EDIT", e.DETAIL = "DETAIL", e))(oe || {}), ge = /* @__PURE__ */ ((e) => (e.NORMAL = "NORMAL", e.CONTINUE = "CONTINUE", e))(ge || {});
2034
+ }), Ft = Symbol("pro-curd"), J = () => re(Ft), la = (e) => se(Ft, e);
2035
+ var N = /* @__PURE__ */ ((e) => (e.LIST = "LIST", e.DETAIL = "DETAIL", e.ADD = "ADD", e.EDIT = "EDIT", e.DELETE = "DELETE", e))(N || {}), k = /* @__PURE__ */ ((e) => (e.EMIT = "EMIT", e.EXECUTE = "EXECUTE", e.PAGE = "PAGE", e.SUCCESS = "SUCCESS", e.FAIL = "FAIL", e))(k || {}), oe = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.EDIT = "EDIT", e.DETAIL = "DETAIL", e))(oe || {}), ge = /* @__PURE__ */ ((e) => (e.NORMAL = "NORMAL", e.CONTINUE = "CONTINUE", e))(ge || {});
2025
2036
  const ia = () => ({
2026
2037
  rowKey: {
2027
2038
  type: String,
@@ -2059,15 +2070,15 @@ const ia = () => ({
2059
2070
  state: n,
2060
2071
  sendEvent: a,
2061
2072
  sendRequest: r
2062
- } = Ce(), s = C(() => Ae(e.columns, e.columnState, (K) => ie(K))), m = (K, D = !0) => Ct(e.formElementMap, K, D), d = (K, D) => _e(u, K, D), b = (K, D) => {
2063
- const O = H(s.value, (A) => {
2073
+ } = Ce(), s = C(() => Ae(e.columns, e.columnState, (K) => ie(K))), m = (K, D = !0) => Et(e.formElementMap, K, D), d = (K, D) => _e(u, K, D), b = (K, D) => {
2074
+ const O = G(s.value, (A) => {
2064
2075
  const L = g(A, ["extra", K]) || g(A, K);
2065
2076
  return D ? L !== !1 : L;
2066
2077
  });
2067
2078
  return mt(O, (A) => g(A, ["extra", `${K}Sort`]) || g(A, `${K}Sort`));
2068
- }, y = C(() => b("form", !0)), c = C(() => b("detail", !0)), l = C(() => b("table", !0)), v = C(() => b("search"));
2079
+ }, h = C(() => b("form", !0)), c = C(() => b("detail", !0)), l = C(() => b("table", !0)), y = C(() => b("search"));
2069
2080
  let f;
2070
- const p = (K) => {
2081
+ const S = (K) => {
2071
2082
  r(N.LIST, {
2072
2083
  ...f,
2073
2084
  ...K
@@ -2075,11 +2086,11 @@ const ia = () => ({
2075
2086
  }, P = (K) => {
2076
2087
  a({
2077
2088
  type: K.action,
2078
- payload: M(K, "action", "source"),
2089
+ payload: E(K, "action", "source"),
2079
2090
  source: K.source
2080
2091
  });
2081
2092
  };
2082
- He(({
2093
+ Ge(({
2083
2094
  type: K,
2084
2095
  payload: D,
2085
2096
  source: O
@@ -2087,31 +2098,31 @@ const ia = () => ({
2087
2098
  if (O)
2088
2099
  return;
2089
2100
  let A = K, L = D == null ? void 0 : D.type;
2090
- A === he.Success && (A = g(D, ["requestOpts", "action"]), L = x.SUCCESS);
2101
+ A === he.Success && (A = g(D, ["requestOpts", "action"]), L = k.SUCCESS);
2091
2102
  const {
2092
- values: E,
2093
- record: F
2103
+ values: T,
2104
+ record: R
2094
2105
  } = D;
2095
2106
  switch (A) {
2096
2107
  case N.LIST:
2097
- L === x.EMIT && (f = E, p());
2108
+ L === k.EMIT && (f = T, S());
2098
2109
  return;
2099
2110
  case N.ADD:
2100
- L === x.EXECUTE && r(N.ADD, E, n.detailData);
2111
+ L === k.EXECUTE && r(N.ADD, T, n.detailData);
2101
2112
  return;
2102
2113
  case N.EDIT:
2103
- L === x.EXECUTE && r(N.EDIT, E, n.detailData);
2114
+ L === k.EXECUTE && r(N.EDIT, T, n.detailData);
2104
2115
  return;
2105
2116
  case N.DELETE:
2106
- L === x.EMIT ? r(N.DELETE, F, e.rowKey) : L === x.SUCCESS && p();
2117
+ L === k.EMIT ? r(N.DELETE, R, e.rowKey) : L === k.SUCCESS && S();
2107
2118
  return;
2108
2119
  }
2109
- A && K === x.EXECUTE && r(A, E);
2120
+ A && K === k.EXECUTE && r(A, T);
2110
2121
  });
2111
- const h = X(e.operates, (K, D) => ({
2122
+ const v = X(e.operates, (K, D) => ({
2112
2123
  ...K,
2113
2124
  [D.action]: D
2114
- }), {}), S = (K) => g(h, K), k = C(() => e.listProps), R = C(() => e.formProps), U = C(() => e.descProps), Z = C(() => e.modalProps);
2125
+ }), {}), p = (K) => g(v, K), x = C(() => e.listProps), F = C(() => e.formProps), U = C(() => e.descProps), Q = C(() => e.modalProps);
2115
2126
  return la({
2116
2127
  columns: s,
2117
2128
  getSignColumns: b,
@@ -2121,21 +2132,21 @@ const ia = () => ({
2121
2132
  formElementMap: e.formElementMap,
2122
2133
  rowKey: e.rowKey,
2123
2134
  curdState: n,
2124
- formColumns: y,
2135
+ formColumns: h,
2125
2136
  descColumns: c,
2126
2137
  tableColumns: l,
2127
- searchColumns: v,
2138
+ searchColumns: y,
2128
2139
  sendCurdEvent: P,
2129
2140
  operates: e.operates,
2130
- getOperate: S,
2131
- refreshList: p,
2132
- listProps: k,
2133
- formProps: R,
2141
+ getOperate: p,
2142
+ refreshList: S,
2143
+ listProps: x,
2144
+ formProps: F,
2134
2145
  descProps: U,
2135
- modalProps: Z
2146
+ modalProps: Q
2136
2147
  }), o({
2137
2148
  sendCurdEvent: P,
2138
- refreshList: p
2149
+ refreshList: S
2139
2150
  }), () => {
2140
2151
  var K;
2141
2152
  return (K = t.default) == null ? void 0 : K.call(t);
@@ -2143,7 +2154,7 @@ const ia = () => ({
2143
2154
  }
2144
2155
  }), qe = I({
2145
2156
  props: {
2146
- ...M(Le.props, "state", "requests"),
2157
+ ...E(Le.props, "state", "requests"),
2147
2158
  ...st.props,
2148
2159
  curdState: {
2149
2160
  type: Object
@@ -2169,7 +2180,7 @@ const ia = () => ({
2169
2180
  stateName: "listData"
2170
2181
  },
2171
2182
  [N.DETAIL]: {
2172
- convertParams: (c, l) => q(c, l),
2183
+ convertParams: (c, l) => B(c, l),
2173
2184
  convertData: (c) => {
2174
2185
  var l;
2175
2186
  return (l = c.res) == null ? void 0 : l.data;
@@ -2199,17 +2210,17 @@ const ia = () => ({
2199
2210
  label: "\u7F16\u8F91"
2200
2211
  },
2201
2212
  [N.DELETE]: {
2202
- convertParams: (c, l) => q(c, l),
2213
+ convertParams: (c, l) => B(c, l),
2203
2214
  label: "\u5220\u9664"
2204
2215
  }
2205
2216
  }, d = $(e.operates, (c) => {
2206
- var p;
2207
- const v = {
2208
- ...g(m, c.action),
2209
- ...c
2217
+ var f;
2218
+ const l = g(m, c.action), y = ((f = e.convertOperate) == null ? void 0 : f.call(e, c, l)) || c;
2219
+ return {
2220
+ ...l,
2221
+ ...y
2210
2222
  };
2211
- return ((p = e.convertOperate) == null ? void 0 : p.call(e, v)) || v;
2212
- }), b = H(d, (c) => c.actor), y = V(M(Le.props, "state", "requests"));
2223
+ }), b = G(d, (c) => c.actor), h = V(E(Le.props, "state", "requests"));
2213
2224
  return o({
2214
2225
  sendCurdEvent: (c) => {
2215
2226
  var l;
@@ -2224,19 +2235,19 @@ const ia = () => ({
2224
2235
  (l = a.value) == null || l.sendEvent(c);
2225
2236
  },
2226
2237
  sendRequest: (c, ...l) => {
2227
- var v;
2228
- (v = a.value) == null || v.sendRequest(c, ...l);
2238
+ var y;
2239
+ (y = a.value) == null || y.sendRequest(c, ...l);
2229
2240
  }
2230
- }), () => i(Le, T({
2241
+ }), () => i(Le, M({
2231
2242
  ref: a
2232
- }, q(e, y), {
2243
+ }, B(e, h), {
2233
2244
  elementMap: e.elementMap || u,
2234
2245
  state: s,
2235
2246
  requests: b
2236
2247
  }), {
2237
- default: () => [i(st, T({
2248
+ default: () => [i(st, M({
2238
2249
  ref: r
2239
- }, M(e, ...y, "curdState", "operates", "convertOperate"), {
2250
+ }, E(e, ...h, "curdState", "operates", "convertOperate"), {
2240
2251
  formElementMap: e.formElementMap || n,
2241
2252
  operates: d
2242
2253
  }), t)]
@@ -2246,7 +2257,7 @@ const ia = () => ({
2246
2257
  defaultAddRecord: {
2247
2258
  type: Object
2248
2259
  }
2249
- }), Re = I({
2260
+ }), Fe = I({
2250
2261
  props: {
2251
2262
  ...da()
2252
2263
  },
@@ -2261,65 +2272,65 @@ const ia = () => ({
2261
2272
  listProps: a,
2262
2273
  getOperate: r,
2263
2274
  refreshList: s
2264
- } = J(), m = (l = a == null ? void 0 : a.value) == null ? void 0 : l.pageState, d = (v) => {
2275
+ } = J(), m = (l = a == null ? void 0 : a.value) == null ? void 0 : l.pageState, d = (y) => {
2265
2276
  const f = r(N.DETAIL);
2266
- f != null && f.actor ? o(N.DETAIL, v, u) : t({
2277
+ f != null && f.actor ? o(N.DETAIL, y, u) : t({
2267
2278
  type: "detailData",
2268
- payload: Zt(v)
2279
+ payload: en(y)
2269
2280
  });
2270
- }, b = (v, {
2281
+ }, b = (y, {
2271
2282
  record: f
2272
2283
  }) => {
2273
- v === x.EMIT && (t({
2284
+ y === k.EMIT && (t({
2274
2285
  type: "mode",
2275
2286
  payload: oe.DETAIL
2276
2287
  }), d(f));
2277
- }, y = (v) => {
2278
- v === x.EMIT ? (t({
2288
+ }, h = (y) => {
2289
+ y === k.EMIT ? (t({
2279
2290
  type: "mode",
2280
2291
  payload: oe.ADD
2281
2292
  }), t({
2282
2293
  type: "detailData",
2283
2294
  payload: e.defaultAddRecord || {}
2284
- })) : v === x.SUCCESS && (m && (m.page = 1), s(), n.addAction === ge.CONTINUE ? t({
2295
+ })) : y === k.SUCCESS && (m && (m.page = 1), s(), n.addAction === ge.CONTINUE ? t({
2285
2296
  type: "detailData",
2286
2297
  payload: e.defaultAddRecord || {}
2287
2298
  }) : t({
2288
2299
  type: "mode",
2289
2300
  payload: void 0
2290
2301
  }));
2291
- }, c = (v, {
2302
+ }, c = (y, {
2292
2303
  record: f
2293
2304
  }) => {
2294
- v === x.EMIT ? (t({
2305
+ y === k.EMIT ? (t({
2295
2306
  type: "mode",
2296
2307
  payload: oe.EDIT
2297
- }), d(f)) : v === x.SUCCESS && (t({
2308
+ }), d(f)) : y === k.SUCCESS && (t({
2298
2309
  type: "mode",
2299
2310
  payload: void 0
2300
2311
  }), s());
2301
2312
  };
2302
- return He(({
2303
- type: v,
2313
+ return Ge(({
2314
+ type: y,
2304
2315
  payload: f,
2305
- source: p
2316
+ source: S
2306
2317
  }) => {
2307
- if (p)
2318
+ if (S)
2308
2319
  return;
2309
- let P = v, h = f == null ? void 0 : f.type;
2310
- const S = f == null ? void 0 : f.record;
2311
- switch (P === he.Success && (P = g(f, ["requestOpts", "action"]), h = x.SUCCESS), P) {
2320
+ let P = y, v = f == null ? void 0 : f.type;
2321
+ const p = f == null ? void 0 : f.record;
2322
+ switch (P === he.Success && (P = g(f, ["requestOpts", "action"]), v = k.SUCCESS), P) {
2312
2323
  case N.DETAIL:
2313
- b(h, {
2314
- record: S
2324
+ b(v, {
2325
+ record: p
2315
2326
  });
2316
2327
  break;
2317
2328
  case N.ADD:
2318
- y(h);
2329
+ h(v);
2319
2330
  break;
2320
2331
  case N.EDIT:
2321
- c(h, {
2322
- record: S
2332
+ c(v, {
2333
+ record: p
2323
2334
  });
2324
2335
  break;
2325
2336
  }
@@ -2328,7 +2339,7 @@ const ia = () => ({
2328
2339
  }), Za = I({
2329
2340
  props: {
2330
2341
  ...qe.props,
2331
- ...Re.props
2342
+ ...Fe.props
2332
2343
  },
2333
2344
  setup: (e, {
2334
2345
  slots: t,
@@ -2336,13 +2347,13 @@ const ia = () => ({
2336
2347
  }) => {
2337
2348
  const u = z();
2338
2349
  o(de(Rt, u));
2339
- const n = V(Re.props), r = _()(j.ProCurdKey);
2340
- return () => r ? i(r, T({
2350
+ const n = V(Fe.props), r = _()(j.ProCurdKey);
2351
+ return () => r ? i(r, M({
2341
2352
  ref: u
2342
- }, M(e, n)), {
2353
+ }, E(e, n)), {
2343
2354
  default: () => {
2344
2355
  var s;
2345
- return [i(Re, q(e, n), null), (s = t.default) == null ? void 0 : s.call(t)];
2356
+ return [i(Fe, B(e, n), null), (s = t.default) == null ? void 0 : s.call(t)];
2346
2357
  }
2347
2358
  }) : null;
2348
2359
  }
@@ -2353,19 +2364,19 @@ const ia = () => ({
2353
2364
  routeBack: {
2354
2365
  type: Function
2355
2366
  }
2356
- }), Fe = I({
2367
+ }), Re = I({
2357
2368
  props: {
2358
2369
  ...ma()
2359
2370
  },
2360
2371
  setup: (e) => {
2361
- const t = yn(), o = Ve(), {
2372
+ const t = bt(), o = Ve(), {
2362
2373
  dispatch: u,
2363
2374
  sendRequest: n
2364
2375
  } = Ce(), {
2365
2376
  rowKey: a,
2366
2377
  curdState: r
2367
- } = J(), s = (y) => {
2368
- y === x.PAGE && (u({
2378
+ } = J(), s = (h) => {
2379
+ h === k.PAGE && (u({
2369
2380
  type: "mode",
2370
2381
  payload: void 0
2371
2382
  }), u({
@@ -2378,56 +2389,56 @@ const ia = () => ({
2378
2389
  type: "addAction",
2379
2390
  payload: void 0
2380
2391
  }));
2381
- }, m = (y, {
2392
+ }, m = (h, {
2382
2393
  record: c
2383
2394
  }) => {
2384
- y === x.EMIT ? t.push({
2395
+ h === k.EMIT ? t.push({
2385
2396
  path: `${o.path}/detail`,
2386
- query: q(c, a)
2387
- }) : y === x.PAGE && (u({
2397
+ query: B(c, a)
2398
+ }) : h === k.PAGE && (u({
2388
2399
  type: "mode",
2389
2400
  payload: oe.DETAIL
2390
2401
  }), n(N.DETAIL, o.query, a));
2391
- }, d = (y) => {
2392
- y === x.EMIT ? t.push({
2402
+ }, d = (h) => {
2403
+ h === k.EMIT ? t.push({
2393
2404
  path: `${o.path}/add`
2394
- }) : y === x.PAGE ? (u({
2405
+ }) : h === k.PAGE ? (u({
2395
2406
  type: "mode",
2396
2407
  payload: oe.ADD
2397
2408
  }), u({
2398
2409
  type: "detailData",
2399
2410
  payload: e.defaultAddRecord || {}
2400
- })) : y === x.SUCCESS && (r.addAction === ge.CONTINUE ? u({
2411
+ })) : h === k.SUCCESS && (r.addAction === ge.CONTINUE ? u({
2401
2412
  type: "detailData",
2402
2413
  payload: e.defaultAddRecord || {}
2403
2414
  }) : e.routeBack ? e.routeBack(N.ADD) : t.go(-1));
2404
- }, b = (y, {
2415
+ }, b = (h, {
2405
2416
  record: c
2406
2417
  }) => {
2407
- y === x.EMIT ? t.push({
2418
+ h === k.EMIT ? t.push({
2408
2419
  path: `${o.path}/edit`,
2409
- query: q(c, a)
2410
- }) : y === x.PAGE ? (u({
2420
+ query: B(c, a)
2421
+ }) : h === k.PAGE ? (u({
2411
2422
  type: "mode",
2412
2423
  payload: oe.EDIT
2413
- }), n(N.DETAIL, o.query, a)) : y === x.SUCCESS && (e.routeBack ? e.routeBack(N.EDIT) : t.go(-1));
2424
+ }), n(N.DETAIL, o.query, a)) : h === k.SUCCESS && (e.routeBack ? e.routeBack(N.EDIT) : t.go(-1));
2414
2425
  };
2415
- return He(({
2416
- type: y,
2426
+ return Ge(({
2427
+ type: h,
2417
2428
  payload: c,
2418
2429
  source: l
2419
2430
  }) => {
2420
2431
  if (l)
2421
2432
  return;
2422
- let v = y, f = c == null ? void 0 : c.type;
2423
- const p = c == null ? void 0 : c.record;
2424
- switch (v === he.Success && (v = g(c, ["requestOpts", "action"]), f = x.SUCCESS), v) {
2433
+ let y = h, f = c == null ? void 0 : c.type;
2434
+ const S = c == null ? void 0 : c.record;
2435
+ switch (y === he.Success && (y = g(c, ["requestOpts", "action"]), f = k.SUCCESS), y) {
2425
2436
  case N.LIST:
2426
2437
  s(f);
2427
2438
  break;
2428
2439
  case N.DETAIL:
2429
2440
  m(f, {
2430
- record: p
2441
+ record: S
2431
2442
  });
2432
2443
  break;
2433
2444
  case N.ADD:
@@ -2435,7 +2446,7 @@ const ia = () => ({
2435
2446
  break;
2436
2447
  case N.EDIT:
2437
2448
  b(f, {
2438
- record: p
2449
+ record: S
2439
2450
  });
2440
2451
  break;
2441
2452
  }
@@ -2444,7 +2455,7 @@ const ia = () => ({
2444
2455
  }), er = I({
2445
2456
  props: {
2446
2457
  ...qe.props,
2447
- ...Fe.props
2458
+ ...Re.props
2448
2459
  },
2449
2460
  setup: (e, {
2450
2461
  slots: t,
@@ -2452,13 +2463,13 @@ const ia = () => ({
2452
2463
  }) => {
2453
2464
  const u = z();
2454
2465
  o(de(Rt, u));
2455
- const n = V(Fe.props);
2456
- return () => i(qe, T({
2466
+ const n = V(Re.props);
2467
+ return () => i(qe, M({
2457
2468
  ref: u
2458
- }, M(e, n)), {
2469
+ }, E(e, n)), {
2459
2470
  default: () => {
2460
2471
  var a;
2461
- return [i(Fe, q(e, n), null), (a = t.default) == null ? void 0 : a.call(t)];
2472
+ return [i(Re, B(e, n), null), (a = t.default) == null ? void 0 : a.call(t)];
2462
2473
  }
2463
2474
  });
2464
2475
  }
@@ -2479,11 +2490,12 @@ const ia = () => ({
2479
2490
  }
2480
2491
  u({
2481
2492
  action: N.ADD,
2482
- type: x.EMIT
2493
+ type: k.EMIT
2483
2494
  });
2484
2495
  }, s = _()(j.ButtonKey);
2485
- return () => n != null && n.show ? t.default ? t.default(n, a) : s ? i(s, T({
2486
- class: "pro-curd-add-button"
2496
+ return () => n != null && n.show ? t.default ? t.default(n, a) : s ? i(s, M({
2497
+ class: "pro-curd-add-button",
2498
+ disabled: q(n.disabled) ? n.disabled() : n.disabled
2487
2499
  }, e.buttonProps, {
2488
2500
  onClick: a
2489
2501
  }), {
@@ -2514,44 +2526,44 @@ const ia = () => ({
2514
2526
  sendCurdEvent: s,
2515
2527
  operates: m
2516
2528
  } = J(), d = $(
2517
- H(m, (P) => {
2518
- const h = P.action;
2519
- return h === N.DETAIL || h === N.EDIT || h === N.DELETE || P.tableOperate;
2529
+ G(m, (P) => {
2530
+ const v = P.action;
2531
+ return v === N.DETAIL || v === N.EDIT || v === N.DELETE || P.tableOperate;
2520
2532
  }),
2521
2533
  (P) => {
2522
- const h = {
2523
- ...q(P, "label", "show", "disabled", "loading", "extraProps", "onClick", "element"),
2534
+ const v = {
2535
+ ...B(P, "label", "show", "disabled", "loading", "extraProps", "onClick", "element"),
2524
2536
  value: P.action
2525
2537
  };
2526
- return h.onClick || (h.onClick = (S) => {
2538
+ return v.onClick || (v.onClick = (p) => {
2527
2539
  s({
2528
2540
  action: P.action,
2529
- type: x.EMIT,
2530
- record: S
2541
+ type: k.EMIT,
2542
+ record: p
2531
2543
  });
2532
- }), h;
2544
+ }), v;
2533
2545
  }
2534
2546
  ), b = (P) => {
2535
2547
  s({
2536
2548
  action: N.LIST,
2537
- type: x.EMIT,
2549
+ type: k.EMIT,
2538
2550
  values: P
2539
2551
  });
2540
- }, y = C(() => ({
2552
+ }, h = C(() => ({
2541
2553
  formElementMap: u,
2542
2554
  columns: a.value,
2543
2555
  ...e.searchProps
2544
2556
  })), c = C(() => {
2545
- var P, h;
2557
+ var P, v;
2546
2558
  return {
2547
2559
  elementMap: o,
2548
2560
  columns: r.value,
2549
2561
  loading: n.listLoading,
2550
2562
  dataSource: (P = n.listData) == null ? void 0 : P.dataSource,
2551
- ...M(e.tableProps, "operate"),
2563
+ ...E(e.tableProps, "operate"),
2552
2564
  operate: {
2553
2565
  items: d,
2554
- ...(h = e.tableProps) == null ? void 0 : h.operate
2566
+ ...(v = e.tableProps) == null ? void 0 : v.operate
2555
2567
  }
2556
2568
  };
2557
2569
  }), l = C(() => {
@@ -2560,29 +2572,31 @@ const ia = () => ({
2560
2572
  total: (P = n.listData) == null ? void 0 : P.total,
2561
2573
  ...e.paginationProps
2562
2574
  };
2563
- }), v = V(lt()), p = _()(j.ProListKey);
2575
+ }), y = V(lt()), S = _()(j.ProListKey);
2564
2576
  return () => {
2565
- var P, h;
2566
- return p ? i(p, T({
2577
+ var P, v;
2578
+ return S ? i(S, M({
2567
2579
  class: "pro-curd-list"
2568
- }, M(e, ...v, "searchProps", "tableProps", "paginationProps"), {
2569
- searchProps: y.value,
2580
+ }, E(e, ...y, "searchProps", "tableProps", "paginationProps"), {
2581
+ searchProps: h.value,
2570
2582
  tableProps: c.value,
2571
2583
  paginationProps: l.value,
2572
2584
  onSearch: b
2573
2585
  }), {
2574
2586
  "search-end": (P = e.addConfig) != null && P.inSearch ? () => {
2575
- var S;
2576
- return i(ct, (S = e.addConfig) == null ? void 0 : S.buttonProps, null);
2587
+ var p;
2588
+ return i("div", {
2589
+ class: "pro-curd-list-search-end"
2590
+ }, [i(ct, (p = e.addConfig) == null ? void 0 : p.buttonProps, null)]);
2577
2591
  } : void 0,
2578
- "table-toolbarExtra": (h = e.addConfig) != null && h.inTable ? (S) => {
2579
- var k;
2580
- return i(Q, null, [i(ct, (k = e.addConfig) == null ? void 0 : k.buttonProps, null), S]);
2592
+ "table-toolbarExtra": (v = e.addConfig) != null && v.inTable ? (p) => {
2593
+ var x;
2594
+ return i(Z, null, [i(ct, (x = e.addConfig) == null ? void 0 : x.buttonProps, null), p]);
2581
2595
  } : void 0,
2582
2596
  ...t,
2583
- search: t.search ? (S) => t.search(S, y.value) : void 0,
2584
- table: t.table ? (S) => t.table(S, c.value) : void 0,
2585
- pagination: t.pagination ? (S) => t.pagination(S, l.value) : void 0
2597
+ search: t.search ? (p) => t.search(p, h.value) : void 0,
2598
+ table: t.table ? (p) => t.table(p, c.value) : void 0,
2599
+ pagination: t.pagination ? (p) => t.pagination(p, l.value) : void 0
2586
2600
  }) : null;
2587
2601
  };
2588
2602
  }
@@ -2590,12 +2604,12 @@ const ia = () => ({
2590
2604
  const {
2591
2605
  listProps: e
2592
2606
  } = J();
2593
- return () => i(fa, M(e == null ? void 0 : e.value, "slots"), g(e == null ? void 0 : e.value, "slots"));
2607
+ return () => i(fa, E(e == null ? void 0 : e.value, "slots"), g(e == null ? void 0 : e.value, "slots"));
2594
2608
  }), ya = () => ({
2595
2609
  signName: {
2596
2610
  type: String
2597
2611
  }
2598
- }), We = I({
2612
+ }), He = I({
2599
2613
  props: {
2600
2614
  ...ya()
2601
2615
  },
@@ -2613,55 +2627,55 @@ const ia = () => ({
2613
2627
  sendCurdEvent: d
2614
2628
  } = J(), b = z();
2615
2629
  o(de(e.formMethods || [], b));
2616
- const y = C(() => e.signName ? m(e.signName) : s.value), c = () => {
2617
- var h;
2618
- r.addAction = ge.NORMAL, (h = b.value) == null || h.submit();
2630
+ const h = C(() => e.signName ? m(e.signName) : s.value), c = () => {
2631
+ var v;
2632
+ r.addAction = ge.NORMAL, (v = b.value) == null || v.submit();
2619
2633
  }, l = () => {
2620
- var h;
2621
- r.addAction = ge.CONTINUE, (h = b.value) == null || h.submit();
2622
- }, v = [
2634
+ var v;
2635
+ r.addAction = ge.CONTINUE, (v = b.value) == null || v.submit();
2636
+ }, y = [
2623
2637
  {
2624
- value: W.RESET,
2638
+ value: H.RESET,
2625
2639
  label: "\u91CD\u7F6E"
2626
2640
  },
2627
2641
  {
2628
- value: W.SUBMIT,
2642
+ value: H.SUBMIT,
2629
2643
  label: "\u63D0\u4EA4",
2630
2644
  extraProps: {
2631
2645
  type: "primary"
2632
2646
  }
2633
2647
  },
2634
2648
  {
2635
- value: W.CONTINUE,
2649
+ value: H.CONTINUE,
2636
2650
  label: "\u786E\u5B9A\u5E76\u7EE7\u7EED",
2637
2651
  extraProps: {
2638
2652
  type: "primary"
2639
2653
  },
2640
2654
  show: !1
2641
2655
  }
2642
- ], f = (h) => {
2656
+ ], f = (v) => {
2643
2657
  u.onFinish || (r.mode === N.EDIT ? d({
2644
2658
  action: N.EDIT,
2645
- type: x.EXECUTE,
2646
- values: h
2659
+ type: k.EXECUTE,
2660
+ values: v
2647
2661
  }) : d({
2648
2662
  action: N.ADD,
2649
- type: x.EXECUTE,
2650
- values: h
2663
+ type: k.EXECUTE,
2664
+ values: v
2651
2665
  }));
2652
2666
  }, P = _()(j.ProFormKey);
2653
- return () => P ? i(P, T({
2667
+ return () => P ? i(P, M({
2654
2668
  ref: b,
2655
2669
  class: "pro-curd-form"
2656
- }, M(e, "operate"), {
2670
+ }, E(e, "operate"), {
2657
2671
  elementMap: e.elementMap || n,
2658
2672
  formElementMap: e.formElementMap || a,
2659
- columns: e.columns || y.value,
2673
+ columns: e.columns || h.value,
2660
2674
  readonly: r.mode === N.DETAIL,
2661
2675
  model: e.model || r.detailData,
2662
2676
  hideRequiredMark: r.mode === N.DETAIL,
2663
2677
  operate: e.operate ? {
2664
- items: v,
2678
+ items: y,
2665
2679
  onSubmit: c,
2666
2680
  onContinue: l,
2667
2681
  ...e.operate
@@ -2673,7 +2687,7 @@ const ia = () => ({
2673
2687
  const {
2674
2688
  formProps: e
2675
2689
  } = J();
2676
- return () => i(We, M(e == null ? void 0 : e.value, "slots"), g(e == null ? void 0 : e.value, "slots"));
2690
+ return () => i(He, E(e == null ? void 0 : e.value, "slots"), g(e == null ? void 0 : e.value, "slots"));
2677
2691
  }), va = () => ({
2678
2692
  signName: {
2679
2693
  type: String
@@ -2690,7 +2704,7 @@ const ia = () => ({
2690
2704
  descColumns: u,
2691
2705
  getSignColumns: n
2692
2706
  } = J(), a = C(() => e.signName ? n(e.signName) : u.value);
2693
- return () => i(oa, T(M(e, "signName", "model", "columns"), {
2707
+ return () => i(oa, M(E(e, "signName", "model", "columns"), {
2694
2708
  model: e.model || o.detailData,
2695
2709
  columns: a.value
2696
2710
  }), t);
@@ -2699,9 +2713,9 @@ const ia = () => ({
2699
2713
  const {
2700
2714
  descProps: e
2701
2715
  } = J();
2702
- return () => i(ha, T({
2716
+ return () => i(ha, M({
2703
2717
  class: "pro-curd-desc"
2704
- }, M(e == null ? void 0 : e.value, "slots")), g(e == null ? void 0 : e.value, "slots"));
2718
+ }, E(e == null ? void 0 : e.value, "slots")), g(e == null ? void 0 : e.value, "slots"));
2705
2719
  }), it = () => ({
2706
2720
  validMode: {
2707
2721
  type: Array,
@@ -2713,7 +2727,7 @@ const ia = () => ({
2713
2727
  overrideProps: {
2714
2728
  type: Object
2715
2729
  }
2716
- }), Ft = I({
2730
+ }), jt = I({
2717
2731
  props: {
2718
2732
  ...it()
2719
2733
  },
@@ -2729,10 +2743,10 @@ const ia = () => ({
2729
2743
  return () => {
2730
2744
  var b;
2731
2745
  const d = a.mode;
2732
- return !ue(e.validMode, (y) => y === d) || !u ? null : i(u, T({
2746
+ return !ue(e.validMode, (h) => h === d) || !u ? null : i(u, M({
2733
2747
  class: "pro-curd-modal"
2734
- }, M(e, m), {
2735
- visible: ue(e.validMode, (y) => y === d),
2748
+ }, E(e, m), {
2749
+ visible: ue(e.validMode, (h) => h === d),
2736
2750
  title: e.title || ((b = r(a.mode)) == null ? void 0 : b.label),
2737
2751
  confirmLoading: a.operateLoading,
2738
2752
  maskClosable: a.mode === N.DETAIL,
@@ -2741,16 +2755,16 @@ const ia = () => ({
2741
2755
  onCancel: s
2742
2756
  }), {
2743
2757
  default: () => {
2744
- var y;
2745
- return [a.detailLoading && n ? i(n, T({
2758
+ var h;
2759
+ return [a.detailLoading && n ? i(n, M({
2746
2760
  loading: !0
2747
2761
  }, e.loadingOpts), {
2748
2762
  default: () => [i("div", {
2749
2763
  class: "pro-curd-modal-loading-dom"
2750
2764
  }, null)]
2751
- }) : (y = t.default) == null ? void 0 : y.call(t)];
2765
+ }) : (h = t.default) == null ? void 0 : h.call(t)];
2752
2766
  },
2753
- ...M(t, "default")
2767
+ ...E(t, "default")
2754
2768
  });
2755
2769
  };
2756
2770
  }
@@ -2763,13 +2777,13 @@ const ia = () => ({
2763
2777
  slots: t
2764
2778
  }) => {
2765
2779
  const o = z(), u = ee(t, "modal"), n = ee(t, "form");
2766
- return () => i(Ft, T(e.modalProps, {
2780
+ return () => i(jt, M(e.modalProps, {
2767
2781
  onOk: () => {
2768
2782
  var a;
2769
2783
  (a = o.value) == null || a.submit();
2770
2784
  }
2771
2785
  }), {
2772
- default: () => [i(We, T({
2786
+ default: () => [i(He, M({
2773
2787
  ref: o
2774
2788
  }, e.formProps), n)],
2775
2789
  ...u
@@ -2780,15 +2794,15 @@ const ia = () => ({
2780
2794
  modalProps: e,
2781
2795
  formProps: t
2782
2796
  } = J(), o = z();
2783
- return () => i(Ft, T(M(e == null ? void 0 : e.value, "slots"), {
2797
+ return () => i(jt, M(E(e == null ? void 0 : e.value, "slots"), {
2784
2798
  onOk: () => {
2785
2799
  var u;
2786
2800
  (u = o.value) == null || u.submit();
2787
2801
  }
2788
2802
  }), {
2789
- default: () => [i(We, T({
2803
+ default: () => [i(He, M({
2790
2804
  ref: o
2791
- }, M(t == null ? void 0 : t.value, "slots")), g(t == null ? void 0 : t.value, "slots"))],
2805
+ }, E(t == null ? void 0 : t.value, "slots")), g(t == null ? void 0 : t.value, "slots"))],
2792
2806
  ...g(e == null ? void 0 : e.value, "slots")
2793
2807
  });
2794
2808
  });
@@ -2799,25 +2813,24 @@ export {
2799
2813
  ge as CurdAddAction,
2800
2814
  oe as CurdCurrentMode,
2801
2815
  Rt as CurdMethods,
2802
- x as CurdSubAction,
2816
+ k as CurdSubAction,
2803
2817
  j as ElementKeys,
2804
- W as FormAction,
2818
+ H as FormAction,
2805
2819
  qa as FormRulePrefixMap,
2806
2820
  wa as LogonUser,
2807
- Nt as LogonUserKey,
2808
- xa as MustLogon,
2809
- xe as PageHeader,
2810
- ka as PerSuffix,
2811
- Ra as Permission,
2821
+ Dt as LogonUserKey,
2822
+ ka as MustLogon,
2823
+ xa as PerSuffix,
2824
+ Fa as Permission,
2812
2825
  Ia as ProConfig,
2813
2826
  qe as ProCurd,
2814
2827
  ha as ProCurdDesc,
2815
2828
  ar as ProCurdDescConnect,
2816
- We as ProCurdForm,
2829
+ He as ProCurdForm,
2817
2830
  nr as ProCurdFormConnect,
2818
2831
  fa as ProCurdList,
2819
2832
  tr as ProCurdListConnect,
2820
- Ft as ProCurdModal,
2833
+ jt as ProCurdModal,
2821
2834
  rr as ProCurdModalForm,
2822
2835
  or as ProCurdModalFormConnect,
2823
2836
  oa as ProDesc,
@@ -2828,15 +2841,15 @@ export {
2828
2841
  ra as ProList,
2829
2842
  Za as ProModalCurd,
2830
2843
  Le as ProModule,
2831
- wt as ProOperate,
2844
+ kt as ProOperate,
2832
2845
  _a as ProPage,
2833
2846
  er as ProPageCurd,
2834
2847
  Ba as ProSearchForm,
2835
2848
  Xa as ProShowDate,
2836
- Ga as ProShowDigit,
2837
- Ha as ProShowOptions,
2849
+ Wa as ProShowDigit,
2850
+ Ga as ProShowOptions,
2838
2851
  $e as ProShowText,
2839
- Wa as ProShowTree,
2852
+ Ha as ProShowTree,
2840
2853
  za as ProTable,
2841
2854
  sa as ProTypography,
2842
2855
  Ja as ProUploaderText,
@@ -2844,29 +2857,29 @@ export {
2844
2857
  Ne as SearchMode,
2845
2858
  Qa as UploadList,
2846
2859
  Ln as Wrapper,
2847
- Dt as convertPathToList,
2860
+ Ot as convertPathToList,
2848
2861
  An as convertResData,
2849
2862
  de as createExpose,
2850
- Fa as createExposeObj,
2863
+ Ra as createExposeObj,
2851
2864
  Va as createFormItemCompFn,
2852
2865
  Na as createProConfig,
2853
2866
  na as defaultPage,
2854
2867
  ee as filterSlotsByPrefix,
2855
2868
  ie as getColumnFormItemName,
2856
- Pt as getColumnValueType,
2869
+ Ct as getColumnValueType,
2857
2870
  Kn as getFirstPropName,
2858
- Ct as getFormItemEl,
2871
+ Et as getFormItemEl,
2859
2872
  _e as getItemEl,
2860
2873
  zn as getSignValue,
2861
2874
  Vn as getValidValues,
2862
2875
  Ae as mergeStateToList,
2863
2876
  ye as proBaseProps,
2864
2877
  la as provideProCurd,
2865
- $t as provideProFormList,
2878
+ Kt as provideProFormList,
2866
2879
  wn as provideProModule,
2867
2880
  ve as renderElement,
2868
- Ge as renderElements,
2869
- kn as useAccess,
2881
+ We as renderElements,
2882
+ xn as useAccess,
2870
2883
  La as useAccessMgr,
2871
2884
  On as useComposeRequestActor,
2872
2885
  Aa as useDispatchMeta,
@@ -2875,13 +2888,13 @@ export {
2875
2888
  Oa as useFailedRequestActor,
2876
2889
  _ as useGetCompByKey,
2877
2890
  jn as useHasPer,
2878
- Rn as useLogonUser,
2891
+ Fn as useLogonUser,
2879
2892
  $n as useMetaRegister,
2880
- He as useModuleEvent,
2893
+ Ge as useModuleEvent,
2881
2894
  ne as useProConfig,
2882
2895
  J as useProCurd,
2883
- Lt as useProForm,
2884
- At as useProFormList,
2896
+ wt as useProForm,
2897
+ $t as useProFormList,
2885
2898
  Ce as useProModule,
2886
2899
  Qn as useProTable,
2887
2900
  Ka as useReadStore