@vue-start/pro 0.5.57 → 0.5.59

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,16 +1,16 @@
1
- import { inject as be, defineComponent as O, provide as Se, createVNode as c, mergeProps as R, isVNode as Ne, Fragment as me, reactive as ve, computed as x, ref as Q, createTextVNode as Ae, toRef as $n, KeepAlive as jn, Teleport as Vt, h as Oe, resolveComponent as Bn } from "vue";
2
- import { reduce as le, get as p, map as L, isString as ye, forEach as se, isFunction as Y, filter as J, keys as Z, omit as D, isArray as re, split as qn, isEmpty as zt, isObject as De, mergeWith as Un, size as ee, startsWith as Vn, pick as ne, mapKeys as zn, set as he, debounce as Ht, clone as Hn, some as Me, isBoolean as Ke, has as st, sortBy as Wt, every as _t, pickBy as Gt, identity as Wn, find as lt, findIndex as _n, countBy as Gn, findLast as Xn, isNumber as ct, join as Ze, endsWith as Xt, add as Yn, subtract as Qn, head as Jn, cloneDeep as Yt } from "lodash";
3
- import { filter as Re, tap as _e, merge as Zn, Subject as er } from "rxjs";
1
+ import { inject as ge, defineComponent as O, provide as be, createVNode as c, mergeProps as R, isVNode as Ne, Fragment as fe, reactive as ye, computed as x, ref as Q, createTextVNode as lt, toRef as $n, KeepAlive as jn, Teleport as Vt, h as Ae, resolveComponent as Bn } from "vue";
2
+ import { reduce as le, get as p, map as F, isString as me, forEach as se, isFunction as Y, filter as J, keys as Z, omit as D, isArray as re, split as qn, isEmpty as zt, isObject as Oe, mergeWith as Un, size as ee, startsWith as Vn, pick as ne, mapKeys as zn, set as ve, debounce as Ht, clone as Hn, some as Me, isBoolean as De, has as st, sortBy as Wt, every as _t, pickBy as Gt, identity as Wn, find as ut, findIndex as _n, countBy as Gn, findLast as Xn, isNumber as ct, join as Je, endsWith as Xt, add as Yn, subtract as Qn, head as Jn, cloneDeep as Yt } from "lodash";
3
+ import { filter as Ke, tap as We, merge as Zn, Subject as er } from "rxjs";
4
4
  import { map as tr, tap as nr } from "rxjs/operators";
5
- import { mergeStateToData as rr, mergeStateToData2 as ar, useEffect as ae, useUpdateKey as et, useRuleState as at, convertCollection as Qt, useWatch as Ce, useState as xt, signTableMerge as or, useResizeObserver as Jt, treeToMap as it, findTreeItem as Ge, jsonToStr as Xe, filterCollection as ur, getMenuTopNameMap as Et, findFirstValidMenu as Zt, strToJson as dt, decimalFixed as lr, thousandDivision as sr, listToMap as cr, setReactiveValue as ft, restorePath as en, isValidPath as tn, isPathHasParent as nn, useSafeActivated as ir } from "@vue-start/hooks";
6
- import { useRequestProvide as Be, isDoneRequestActor as mt, isFailedRequestActor as rn } from "@vue-start/request";
5
+ import { mergeStateToData as rr, mergeStateToData2 as ar, useEffect as ae, useUpdateKey as Ze, useRuleState as rt, convertCollection as Qt, useWatch as Ce, useState as xt, signTableMerge as or, useResizeObserver as Jt, treeToMap as it, findTreeItem as _e, jsonToStr as Ge, filterCollection as ur, getMenuTopNameMap as Et, findFirstValidMenu as Zt, strToJson as dt, decimalFixed as lr, thousandDivision as sr, listToMap as cr, setReactiveValue as ft, restorePath as en, isValidPath as tn, isPathHasParent as nn, useSafeActivated as ir } from "@vue-start/hooks";
6
+ import { useRequestProvide as je, isDoneRequestActor as mt, isFailedRequestActor as rn } from "@vue-start/request";
7
7
  import { useDispatchStore as an, useObservableRef as on, useStoreConn as un, createStateUse as ln, useStore as dr, shallowEqual as fr } from "@vue-start/store";
8
8
  import { useRoute as yt, RouterView as mr, useRouter as sn, parseQuery as wt, stringifyQuery as yr } from "vue-router";
9
9
  import Tt from "dayjs";
10
10
  import { css as kt } from "@emotion/css";
11
11
  import { mix as cn } from "polished";
12
12
  import { Global as vr } from "@vue-start/css";
13
- const dn = Symbol("logon-user"), Xa = () => be(dn), vt = {
13
+ const dn = Symbol("logon-user"), Xa = () => ge(dn), vt = {
14
14
  color: {
15
15
  primary: "#409eff",
16
16
  success: "#67c23a",
@@ -59,9 +59,9 @@ const dn = Symbol("logon-user"), Xa = () => be(dn), vt = {
59
59
  convertColumn: { type: Function },
60
60
  columnState: { type: Object },
61
61
  columnState2: { type: Object }
62
- }), we = gr(), tt = (e, t, r) => {
62
+ }), we = gr(), et = (e, t, r) => {
63
63
  let a = e;
64
- return t && (a = rr(a, t, (o) => ge(o))), r && (a = ar(a, r, (o) => ge(o))), a;
64
+ return t && (a = rr(a, t, (o) => pe(o))), r && (a = ar(a, r, (o) => pe(o))), a;
65
65
  }, br = () => ({
66
66
  elementMap: { type: Object },
67
67
  formElementMap: { type: Object },
@@ -75,7 +75,7 @@ const dn = Symbol("logon-user"), Xa = () => be(dn), vt = {
75
75
  showModal: { type: Function },
76
76
  showNotify: { type: Function },
77
77
  appConfig: { type: Object, default: pr }
78
- }), ht = Symbol("pro-config"), ce = () => be(ht) || {}, Ya = () => {
78
+ }), ht = Symbol("pro-config"), ce = () => ge(ht) || {}, Ya = () => {
79
79
  const { showMsg: e } = ce();
80
80
  return (t) => e(t);
81
81
  }, Qa = () => {
@@ -89,12 +89,12 @@ const dn = Symbol("logon-user"), Xa = () => be(dn), vt = {
89
89
  ...br()
90
90
  },
91
91
  setup: (e, { slots: t }) => {
92
- const r = le(e.registerStores, (l, s) => ({ ...l, [s.key]: s }), {}), a = le(e.registerActors, (l, s) => ({ ...l, [s.actor.name]: s }), {}), o = le(e.registerMetas, (l, s) => ({ ...l, [s.actorName]: s }), {}), { dispatchRequest: n } = Be(), u = (l, s, i) => {
92
+ const r = le(e.registerStores, (l, s) => ({ ...l, [s.key]: s }), {}), a = le(e.registerActors, (l, s) => ({ ...l, [s.actor.name]: s }), {}), o = le(e.registerMetas, (l, s) => ({ ...l, [s.actorName]: s }), {}), { dispatchRequest: n } = je(), u = (l, s, i) => {
93
93
  const f = p(a, l);
94
94
  if (!!f)
95
95
  return n(f.actor, s, i);
96
96
  };
97
- return Cr(o, a), Se(ht, {
97
+ return Cr(o, a), be(ht, {
98
98
  elementMap: e.elementMap,
99
99
  formElementMap: e.formElementMap,
100
100
  formExtraMap: e.formExtraMap,
@@ -115,11 +115,11 @@ const dn = Symbol("logon-user"), Xa = () => be(dn), vt = {
115
115
  }), eo = (e = {}) => (t) => {
116
116
  t.provide(ht, e);
117
117
  }, fn = (e) => (t, r) => {
118
- const { requestSubject$: a } = Be(), o = new Set(L(t, (n) => ye(n) ? n : n.name));
118
+ const { requestSubject$: a } = je(), o = new Set(F(t, (n) => me(n) ? n : n.name));
119
119
  ae(() => {
120
120
  const n = a.pipe(
121
- Re(e),
122
- _e((u) => {
121
+ Ke(e),
122
+ We((u) => {
123
123
  o.has(u.name) && r(u);
124
124
  })
125
125
  ).subscribe();
@@ -128,19 +128,19 @@ const dn = Symbol("logon-user"), Xa = () => be(dn), vt = {
128
128
  };
129
129
  }, []);
130
130
  }, to = fn(mt), no = fn(rn), Sr = (e, t, r) => {
131
- const { requestSubject$: a, dispatchRequest: o } = Be(), n = new Set(L(e, (l) => ye(l) ? l : l.name)), u = {};
131
+ const { requestSubject$: a, dispatchRequest: o } = je(), n = new Set(F(e, (l) => me(l) ? l : l.name)), u = {};
132
132
  ae(() => {
133
133
  const l = Zn(
134
134
  a.pipe(
135
- Re(mt),
136
- _e((s) => {
135
+ Ke(mt),
136
+ We((s) => {
137
137
  var i, f;
138
138
  n.has(s.name) && ((i = t.onSuccess) == null || i.call(t, s), (f = t.onFinish) == null || f.call(t, s), u[s.name] = void 0);
139
139
  })
140
140
  ),
141
141
  a.pipe(
142
- Re(rn),
143
- _e((s) => {
142
+ Ke(rn),
143
+ We((s) => {
144
144
  var i, f;
145
145
  n.has(s.name) && ((i = t.onFailed) == null || i.call(t, s), (f = t.onFinish) == null || f.call(t, s), u[s.name] = void 0);
146
146
  })
@@ -163,15 +163,15 @@ const dn = Symbol("logon-user"), Xa = () => be(dn), vt = {
163
163
  const n = mn(o.storeName || e, t || o.initParams), l = on(un((s) => p(s, n)));
164
164
  return l.value || a(e, t || o.initParams || {}), l;
165
165
  }, Cr = (e, t) => {
166
- const { requestSubject$: r } = Be(), a = an(), o = (n) => {
166
+ const { requestSubject$: r } = je(), a = an(), o = (n) => {
167
167
  const u = p(e, n.name), l = p(t, n.name);
168
168
  return !!(u && l && l.actor);
169
169
  };
170
170
  ae(() => {
171
171
  const n = r.pipe(
172
- Re(o),
173
- Re(mt),
174
- _e((u) => {
172
+ Ke(o),
173
+ Ke(mt),
174
+ We((u) => {
175
175
  const l = p(e, u.name);
176
176
  if (!l)
177
177
  return;
@@ -240,7 +240,7 @@ const Ir = () => ({
240
240
  const t = te(), r = t(z.RowKey), a = t(z.ColKey);
241
241
  return () => {
242
242
  let o;
243
- return !r || !a ? null : c(r, e.row, Mr(o = L(e.items, (n) => c(a, R({
243
+ return !r || !a ? null : c(r, e.row, Mr(o = F(e.items, (n) => c(a, R({
244
244
  key: n.rowKey
245
245
  }, e.col, n.col), {
246
246
  default: () => [n.vNode]
@@ -261,10 +261,10 @@ const Ir = () => ({
261
261
  return e;
262
262
  }, yn = (e) => {
263
263
  if (!!e)
264
- return re(e) ? e : e && ye(e) && e.indexOf(".") > 0 ? qn(e, ".") : [e];
265
- }, ao = (e, t, r) => !t || !r ? e : L(e, (a) => {
264
+ return re(e) ? e : e && me(e) && e.indexOf(".") > 0 ? qn(e, ".") : [e];
265
+ }, ao = (e, t, r) => !t || !r ? e : F(e, (a) => {
266
266
  const o = Y(r) ? r(a) : p(a, r), n = p(t, o);
267
- return !n || zt(n) || Y(n) || !De(n) ? a : Un(a, n, (u, l) => {
267
+ return !n || zt(n) || Y(n) || !Oe(n) ? a : Un(a, n, (u, l) => {
268
268
  if (re(u) || re(l))
269
269
  return l;
270
270
  });
@@ -289,11 +289,11 @@ const Ir = () => ({
289
289
  return (l = (u = e.value) == null ? void 0 : u[o]) == null ? void 0 : l.call(u, ...n);
290
290
  };
291
291
  }), a;
292
- }, Er = (e, t) => p(e, ["extra", t]) || p(e, t), pe = (e, t) => {
292
+ }, Er = (e, t) => p(e, ["extra", t]) || p(e, t), he = (e, t) => {
293
293
  const r = Z(e), a = `${t}-`, o = J(r, (u) => Vn(u, a)), n = ne(e, o);
294
294
  return zn(n, (u, l) => l.replace(a, ""));
295
- }, vn = Symbol("pro-form-list"), hn = () => be(vn), pn = (e) => {
296
- Se(vn, e);
295
+ }, vn = Symbol("pro-form-list"), hn = () => ge(vn), pn = (e) => {
296
+ be(vn, e);
297
297
  }, wr = O({
298
298
  props: {
299
299
  pathList: {
@@ -358,7 +358,7 @@ const Ir = () => ({
358
358
  readonly: n,
359
359
  elementMap: u,
360
360
  formElementMap: l
361
- } = bn(), s = hn(), i = yn(e.name), f = s != null && s.pathList ? [...s.pathList, ...i] : i, [m, d] = et(), g = () => {
361
+ } = bn(), s = hn(), i = yn(e.name), f = s != null && s.pathList ? [...s.pathList, ...i] : i, [m, d] = Ze(), g = () => {
362
362
  var w;
363
363
  if (((w = e.onPreAdd) == null ? void 0 : w.call(e)) === !0)
364
364
  return;
@@ -366,7 +366,7 @@ const Ir = () => ({
366
366
  let K = p(o, f);
367
367
  re(K) || (K = []), K.push({
368
368
  [e.rowKey]: new Date().valueOf()
369
- }), he(o, f, K);
369
+ }), ve(o, f, K);
370
370
  };
371
371
  if (e.onAdd) {
372
372
  e.onAdd(M);
@@ -393,7 +393,7 @@ const Ir = () => ({
393
393
  }
394
394
  K();
395
395
  }, y = (h, M) => {
396
- const w = ge(h);
396
+ const w = pe(h);
397
397
  return w && t[w] ? t[w]({
398
398
  item: h,
399
399
  formState: o,
@@ -403,9 +403,9 @@ const Ir = () => ({
403
403
  if (!l || ee(e.columns) <= 0)
404
404
  return null;
405
405
  if (!e.row)
406
- return L(e.columns, (K) => y(K, h));
407
- const w = L(e.columns, (K) => ({
408
- rowKey: ge(K),
406
+ return F(e.columns, (K) => y(K, h));
407
+ const w = F(e.columns, (K) => ({
408
+ rowKey: pe(K),
409
409
  vNode: y(K, h),
410
410
  col: p(K, ["extra", "col"])
411
411
  }));
@@ -421,7 +421,7 @@ const Ir = () => ({
421
421
  }, D(e, E)), {
422
422
  default: () => {
423
423
  var h, M;
424
- return [L(p(o, f), (w, K) => {
424
+ return [F(p(o, f), (w, K) => {
425
425
  const j = [...f, K];
426
426
  return c(wr, {
427
427
  key: w[e.rowKey] + m.value,
@@ -435,7 +435,7 @@ const Ir = () => ({
435
435
  state: o,
436
436
  path: f,
437
437
  index: K
438
- }), b(j), ($ = t.default) == null ? void 0 : $.call(t), !n.value && c(me, null, [c("div", {
438
+ }), b(j), ($ = t.default) == null ? void 0 : $.call(t), !n.value && c(fe, null, [c("div", {
439
439
  class: "pro-form-list-item-add",
440
440
  onClick: g
441
441
  }, [((T = t.itemAdd) == null ? void 0 : T.call(t)) || ((k = e.renderItemAdd) == null ? void 0 : k.call(e))]), c("div", {
@@ -451,8 +451,8 @@ const Ir = () => ({
451
451
  }
452
452
  }) : null;
453
453
  }
454
- }), gn = Symbol("pro-form"), bn = () => be(gn), Tr = (e, t = 300, r) => Ht(e, t, r), kr = (e) => {
455
- Se(gn, e);
454
+ }), gn = Symbol("pro-form"), bn = () => ge(gn), Tr = (e, t = 300, r) => Ht(e, t, r), kr = (e) => {
455
+ be(gn, e);
456
456
  };
457
457
  let ie;
458
458
  (function(e) {
@@ -524,8 +524,8 @@ const At = () => ({
524
524
  const {
525
525
  elementMap: n,
526
526
  formElementMap: u
527
- } = ce(), l = e.elementMap || n, s = e.formElementMap || u, i = e.model || ve({}), f = at(i, e.showStateRules, e.showState), m = at(i, e.readonlyStateRules, e.readonlyState), d = at(i, e.disableStateRules, e.disableState), g = x(() => e.readonly), C = x(() => {
528
- const A = tt(e.columns, e.columnState, e.columnState2);
527
+ } = ce(), l = e.elementMap || n, s = e.formElementMap || u, i = e.model || ye({}), f = rt(i, e.showStateRules, e.showState), m = rt(i, e.readonlyStateRules, e.readonlyState), d = rt(i, e.disableStateRules, e.disableState), g = x(() => e.readonly), C = x(() => {
528
+ const A = et(e.columns, e.columnState, e.columnState2);
529
529
  return e.convertColumn ? Qt(A, e.convertColumn) : A;
530
530
  }), y = Q(!1), b = Q(0), E = (...A) => {
531
531
  var I;
@@ -593,7 +593,7 @@ const At = () => ({
593
593
  [ie.CONTINUE]: k
594
594
  }, S = x(() => {
595
595
  const A = e.operate, q = (A == null ? void 0 : A.items) || G;
596
- return L(q, (I) => !I.onClick && !p(A == null ? void 0 : A.itemState, [I.value, "onClick"]) ? {
596
+ return F(q, (I) => !I.onClick && !p(A == null ? void 0 : A.itemState, [I.value, "onClick"]) ? {
597
597
  ...I,
598
598
  onClick: p(W, I.value)
599
599
  } : I);
@@ -607,32 +607,32 @@ const At = () => ({
607
607
  ...(A = e.operate) == null ? void 0 : A.itemState
608
608
  };
609
609
  }), N = (A) => {
610
- const q = ge(A);
610
+ const q = pe(A);
611
611
  return q && t[q] ? t[q](A, i) : Nn(l, s, A);
612
612
  }, v = x(() => {
613
613
  const A = J(C.value, (q) => {
614
- const I = ge(q);
614
+ const I = pe(q);
615
615
  return !!p(f, I, !0);
616
616
  });
617
- return e.row ? L(A, (q) => ({
618
- rowKey: ge(q),
617
+ return e.row ? F(A, (q) => ({
618
+ rowKey: pe(q),
619
619
  vNode: N(q),
620
620
  col: p(q, ["extra", "col"])
621
- })) : L(A, (q) => N(q));
622
- }), F = [...Z(At()), ...Z(we)], B = Z(D(Te.props, "items")), H = p(n, z.FormKey);
621
+ })) : F(A, (q) => N(q));
622
+ }), L = [...Z(At()), ...Z(we)], B = Z(D(Te.props, "items")), H = p(n, z.FormKey);
623
623
  return () => {
624
- var ue, de, fe;
624
+ var ue, de, Se;
625
625
  if (!H)
626
626
  return null;
627
- const A = (ue = t.start) == null ? void 0 : ue.call(t), q = (de = t.default) == null ? void 0 : de.call(t), I = (fe = t.end) == null ? void 0 : fe.call(t), V = [e.clsName], X = ee(v.value) <= 0 && !Le(A) && !Le(q);
627
+ const A = (ue = t.start) == null ? void 0 : ue.call(t), q = (de = t.default) == null ? void 0 : de.call(t), I = (Se = t.end) == null ? void 0 : Se.call(t), V = [e.clsName], X = ee(v.value) <= 0 && !Le(A) && !Le(q);
628
628
  return X && V.push("is-empty"), c(H, R({
629
629
  ref: j,
630
630
  class: V
631
- }, D(o, "onFinish"), D(e, ...F, ...B, "onFinish", "operate"), {
631
+ }, D(o, "onFinish"), D(e, ...L, ...B, "onFinish", "operate"), {
632
632
  model: i,
633
633
  onFinish: K
634
634
  }), {
635
- default: () => [A, s && ee(C.value) > 0 && c(me, null, [e.row ? c(Te, {
635
+ default: () => [A, s && ee(C.value) > 0 && c(fe, null, [e.row ? c(Te, {
636
636
  row: e.row,
637
637
  col: e.col,
638
638
  items: v.value
@@ -657,10 +657,10 @@ const At = () => ({
657
657
  date: "\u8BF7\u9009\u62E9",
658
658
  time: "\u8BF7\u9009\u62E9"
659
659
  };
660
- let Ye;
660
+ let Xe;
661
661
  (function(e) {
662
662
  e.AUTO = "AUTO", e.MANUAL = "MANUAL";
663
- })(Ye || (Ye = {}));
663
+ })(Xe || (Xe = {}));
664
664
  const Ot = () => ({
665
665
  initEmit: {
666
666
  type: Boolean,
@@ -668,7 +668,7 @@ const Ot = () => ({
668
668
  },
669
669
  searchMode: {
670
670
  type: String,
671
- default: Ye.AUTO
671
+ default: Xe.AUTO
672
672
  },
673
673
  debounceKeys: {
674
674
  type: Array
@@ -693,10 +693,10 @@ const Ot = () => ({
693
693
  slots: t,
694
694
  expose: r
695
695
  }) => {
696
- const o = te()(z.ProFormKey), n = e.model || ve({}), u = new Set(e.debounceTypes), l = L(J(e.columns, (y) => {
696
+ const o = te()(z.ProFormKey), n = e.model || ye({}), u = new Set(e.debounceTypes), l = F(J(e.columns, (y) => {
697
697
  const b = kn(y);
698
698
  return u.has(b);
699
- }), (y) => ge(y)), s = x(() => L(e.columns, (y) => ({
699
+ }), (y) => pe(y)), s = x(() => F(e.columns, (y) => ({
700
700
  ...y,
701
701
  formItemProps: D(y.formItemProps, "required")
702
702
  }))), i = Q(), f = e.formMethods || [];
@@ -712,7 +712,7 @@ const Ot = () => ({
712
712
  }, []);
713
713
  const g = (y, b, E) => Me(E, (h) => p(y, h) !== p(b, h));
714
714
  Ce((y, b) => {
715
- if (e.searchMode !== Ye.AUTO)
715
+ if (e.searchMode !== Xe.AUTO)
716
716
  return;
717
717
  const E = ee(e.debounceKeys) > 0 ? e.debounceKeys : l;
718
718
  if (ee(E) > 0 && g(y, b, E)) {
@@ -737,7 +737,7 @@ const Ot = () => ({
737
737
  type: Function,
738
738
  default: () => c("span", {
739
739
  class: "pro-tip-dom"
740
- }, [Ae("?")])
740
+ }, [lt("?")])
741
741
  }
742
742
  }), Ar = O({
743
743
  props: {
@@ -799,11 +799,11 @@ const Ot = () => ({
799
799
  disableState: m,
800
800
  readonly: d,
801
801
  userOpe: g
802
- } = bn(), C = hn(), y = x(() => Ke(n.readonly) ? n.readonly : Ke(f[n.name]) ? f[n.name] : d.value), b = () => `${p(l == null ? void 0 : l.rulePrefixMap, a) || "\u8BF7\u8F93\u5165"}${n.label || ""}`, E = x(() => l != null && l.rulePrefixMap ? n.required === !0 && !n.rules ? [{
802
+ } = bn(), C = hn(), y = x(() => De(n.readonly) ? n.readonly : De(f[n.name]) ? f[n.name] : d.value), b = () => `${p(l == null ? void 0 : l.rulePrefixMap, a) || "\u8BF7\u8F93\u5165"}${n.label || ""}`, E = x(() => l != null && l.rulePrefixMap ? n.required === !0 && !n.rules ? [{
803
803
  required: !0,
804
804
  message: b()
805
- }] : n.rules ? L(n.rules, (T) => (T.required && !T.message && (T.message = b()), T)) : n.rules : n.rules), h = yn(n.name), M = C != null && C.pathList ? [...C.pathList, ...h] : h, w = (T) => {
806
- g.value = !0, he(i, M, T);
805
+ }] : n.rules ? F(n.rules, (T) => (T.required && !T.message && (T.message = b()), T)) : n.rules : n.rules), h = yn(n.name), M = C != null && C.pathList ? [...C.pathList, ...h] : h, w = (T) => {
806
+ g.value = !0, ve(i, M, T);
807
807
  }, K = Z(Dt()), j = () => {
808
808
  const T = p(i, M);
809
809
  if (u.renderShow)
@@ -827,7 +827,7 @@ const Ot = () => ({
827
827
  record: i,
828
828
  path: M
829
829
  }) : c(r, R(t(T, w, k), n.fieldProps), u);
830
- }, $ = () => c(me, null, [n.label, n.tip && c(Ar, R({
830
+ }, $ = () => c(fe, null, [n.label, n.tip && c(Ar, R({
831
831
  content: n.tip,
832
832
  title: n.tip
833
833
  }, n.tipProps), null)]);
@@ -852,9 +852,9 @@ const Ot = () => ({
852
852
  return [e, t, () => {
853
853
  t(void 0);
854
854
  }];
855
- }, Pn = Symbol("logon-user"), Dr = () => be(Pn), mo = O((e, { slots: t }) => {
855
+ }, Pn = Symbol("logon-user"), Dr = () => ge(Pn), mo = O((e, { slots: t }) => {
856
856
  const [r, a] = xt(), [o, n] = xt();
857
- return Se(Pn, { user: r, setUser: a, per: o, setPer: n, opts: {} }), () => {
857
+ return be(Pn, { user: r, setUser: a, per: o, setPer: n, opts: {} }), () => {
858
858
  var l;
859
859
  return (l = t.default) == null ? void 0 : l.call(t);
860
860
  };
@@ -878,7 +878,7 @@ const Ot = () => ({
878
878
  let o = r;
879
879
  if (a != null && a.suffix) {
880
880
  const n = t.name ? t.name.toString() : "", u = (a == null ? void 0 : a.splitStr) || "_";
881
- o = re(o) ? L(o, (l) => `${n}${u}${l}`) : `${n}${u}${o}`;
881
+ o = re(o) ? F(o, (l) => `${n}${u}${l}`) : `${n}${u}${o}`;
882
882
  }
883
883
  return Kr(e.buttonMap, o);
884
884
  };
@@ -902,10 +902,10 @@ const Ot = () => ({
902
902
  };
903
903
  }
904
904
  });
905
- function Fr(e) {
905
+ function Lr(e) {
906
906
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ne(e);
907
907
  }
908
- const Lr = () => ({
908
+ const Fr = () => ({
909
909
  clsName: {
910
910
  type: String,
911
911
  default: "pro-operate"
@@ -925,13 +925,13 @@ const Lr = () => ({
925
925
  }
926
926
  }), pt = O({
927
927
  props: {
928
- ...Lr()
928
+ ...Fr()
929
929
  },
930
930
  setup: (e, {
931
931
  slots: t
932
932
  }) => {
933
933
  const r = Mn(), a = x(() => {
934
- const s = J(e.items, (f) => r(f.per, f.perSuffix, e.splitStr) ? Y(f.show) ? f.show() : Ke(f.show) ? f.show : !0 : !1), i = L(s, (f) => st(e.itemState, f.value) ? {
934
+ const s = J(e.items, (f) => r(f.per, f.perSuffix, e.splitStr) ? Y(f.show) ? f.show() : De(f.show) ? f.show : !0 : !1), i = F(s, (f) => st(e.itemState, f.value) ? {
935
935
  ...f,
936
936
  ...p(e.itemState, f.value)
937
937
  } : f);
@@ -942,7 +942,7 @@ const Lr = () => ({
942
942
  }, n = te(), u = e.elementKey ? n(e.elementKey) : void 0, l = n(z.TooltipKey);
943
943
  return () => c("div", {
944
944
  class: e.clsName
945
- }, [L(a.value, (s) => {
945
+ }, [F(a.value, (s) => {
946
946
  const i = Y(s.disabled) ? s.disabled() : s.disabled, f = Y(s.loading) ? s.loading() : s.loading, m = Y(s.label) ? s.label() : s.label, d = Y(s.extraProps) ? s.extraProps() : s.extraProps, g = {
947
947
  ...D(s, "show", "disabled", "element"),
948
948
  disabled: i
@@ -956,7 +956,7 @@ const Lr = () => ({
956
956
  disabled: i,
957
957
  loading: f,
958
958
  onClick: () => o(s)
959
- }, d), Fr(m) ? m : {
959
+ }, d), Lr(m) ? m : {
960
960
  default: () => [m]
961
961
  });
962
962
  return s.tip && l ? c(l, R({
@@ -992,6 +992,14 @@ const Lr = () => ({
992
992
  renderDom: {
993
993
  type: Function,
994
994
  default: () => "\u5217\u8BBE\u7F6E"
995
+ },
996
+ allTitle: {
997
+ type: String,
998
+ default: "\u5217\u5C55\u793A"
999
+ },
1000
+ resetTitle: {
1001
+ type: String,
1002
+ default: "\u91CD\u7F6E"
995
1003
  }
996
1004
  }), jr = O({
997
1005
  props: {
@@ -1003,7 +1011,7 @@ const Lr = () => ({
1003
1011
  const r = te(), a = r(z.PopoverKey), o = r(z.CheckboxKey), {
1004
1012
  originColumns: n,
1005
1013
  selectIdsRef: u
1006
- } = Br(), [l, s] = et();
1014
+ } = Br(), [l, s] = Ze();
1007
1015
  let i = {};
1008
1016
  const f = (h) => {
1009
1017
  i[h] = !1;
@@ -1016,7 +1024,7 @@ const Lr = () => ({
1016
1024
  [M]: !0
1017
1025
  }), {})), g = (h) => Er(h, e.signName);
1018
1026
  ae(() => {
1019
- u.value = L(J(n.value, (h) => {
1027
+ u.value = F(J(n.value, (h) => {
1020
1028
  var M;
1021
1029
  return e.useSelectedStatus && st(i, h.dataIndex) ? i[h.dataIndex] : ((M = g(h)) == null ? void 0 : M.initShow) !== !1;
1022
1030
  }), (h) => h.dataIndex);
@@ -1038,18 +1046,18 @@ const Lr = () => ({
1038
1046
  };
1039
1047
  }), y = (h) => {
1040
1048
  var w;
1041
- (De(h) ? (w = h.target) == null ? void 0 : w.checked : h) ? u.value = L(n.value, (K) => K.dataIndex) : u.value = L(J(n.value, (K) => {
1049
+ (Oe(h) ? (w = h.target) == null ? void 0 : w.checked : h) ? u.value = F(n.value, (K) => K.dataIndex) : u.value = F(J(n.value, (K) => {
1042
1050
  var j;
1043
1051
  return (j = g(K)) != null && j.disabled ? !0 : (f(K.dataIndex), !1);
1044
1052
  }), (K) => K.dataIndex);
1045
1053
  }, b = () => {
1046
- u.value = L(J(n.value, (h) => {
1054
+ u.value = F(J(n.value, (h) => {
1047
1055
  var M;
1048
1056
  return ((M = g(h)) == null ? void 0 : M.initShow) === !1 ? (f(h.dataIndex), !1) : !0;
1049
1057
  }), (h) => h.dataIndex);
1050
1058
  }, E = (h, M) => {
1051
1059
  var K;
1052
- (De(M) ? (K = M.target) == null ? void 0 : K.checked : M) ? u.value = [...u.value, h.dataIndex] : u.value = J(u.value, (j) => h.dataIndex === j ? (f(h.dataIndex), !1) : !0);
1060
+ (Oe(M) ? (K = M.target) == null ? void 0 : K.checked : M) ? u.value = [...u.value, h.dataIndex] : u.value = J(u.value, (j) => h.dataIndex === j ? (f(h.dataIndex), !1) : !0);
1053
1061
  };
1054
1062
  return () => a ? c(a, R({
1055
1063
  trigger: "click"
@@ -1068,13 +1076,13 @@ const Lr = () => ({
1068
1076
  indeterminate: C.value.indeterminate,
1069
1077
  onChange: y
1070
1078
  }, {
1071
- default: () => [Ae("\u5217\u5C55\u793A")]
1079
+ default: () => [e.allTitle]
1072
1080
  }), c("a", {
1073
1081
  onClick: b
1074
- }, [Ae("\u91CD\u7F6E")])]), c("div", {
1082
+ }, [e.resetTitle])]), c("div", {
1075
1083
  key: l.value,
1076
1084
  class: `${e.clsName}-list`
1077
- }, [L(n.value, (h) => {
1085
+ }, [F(n.value, (h) => {
1078
1086
  const M = g(h), w = p(d.value, h.dataIndex, !1);
1079
1087
  return c(o, {
1080
1088
  checked: w,
@@ -1089,8 +1097,8 @@ const Lr = () => ({
1089
1097
  ...D(t, "default")
1090
1098
  }) : null;
1091
1099
  }
1092
- }), In = Symbol("pro-table"), Br = () => be(In), qr = (e) => {
1093
- Se(In, e);
1100
+ }), In = Symbol("pro-table"), Br = () => ge(In), qr = (e) => {
1101
+ be(In, e);
1094
1102
  }, Kt = () => ({
1095
1103
  clsName: {
1096
1104
  type: String,
@@ -1152,7 +1160,7 @@ const Lr = () => ({
1152
1160
  dataIndex: "serialNumber",
1153
1161
  width: 80,
1154
1162
  ...e.column,
1155
- ...Ke(e.serialNumber) ? void 0 : e.serialNumber,
1163
+ ...De(e.serialNumber) ? void 0 : e.serialNumber,
1156
1164
  customRender: ({
1157
1165
  index: $
1158
1166
  }) => {
@@ -1174,8 +1182,8 @@ const Lr = () => ({
1174
1182
  return;
1175
1183
  }
1176
1184
  (W = T.onClick) == null || W.call(T, $);
1177
- }, f = pe(t, "operate"), m = () => {
1178
- const $ = e.operate, T = L($.items, (k) => ({
1185
+ }, f = he(t, "operate"), m = () => {
1186
+ const $ = e.operate, T = F($.items, (k) => ({
1179
1187
  ...p(e.operateItemState, k.value),
1180
1188
  ...k,
1181
1189
  ...p($.itemState, k.value)
@@ -1189,7 +1197,7 @@ const Lr = () => ({
1189
1197
  customRender: ({
1190
1198
  record: k
1191
1199
  }) => {
1192
- const W = L(T, (P) => ({
1200
+ const W = F(T, (P) => ({
1193
1201
  ...P,
1194
1202
  show: Y(P.show) ? P.show(k) : P.show,
1195
1203
  disabled: Y(P.disabled) ? P.disabled(k) : P.disabled,
@@ -1202,8 +1210,8 @@ const Lr = () => ({
1202
1210
  })), S = le(Z(f), (P, N) => ({
1203
1211
  ...P,
1204
1212
  [N]: (v) => {
1205
- var F;
1206
- return (F = f[N]) == null ? void 0 : F.call(f, k, v);
1213
+ var L;
1214
+ return (L = f[N]) == null ? void 0 : L.call(f, k, v);
1207
1215
  }
1208
1216
  }), {});
1209
1217
  return c(pt, {
@@ -1224,7 +1232,7 @@ const Lr = () => ({
1224
1232
  [k]: !0
1225
1233
  }), {});
1226
1234
  return J(e.columns, (T) => p($, T.dataIndex));
1227
- }), b = ($) => L($, (T) => {
1235
+ }), b = ($) => F($, (T) => {
1228
1236
  const k = {
1229
1237
  ...e.column,
1230
1238
  ...T
@@ -1237,7 +1245,7 @@ const Lr = () => ({
1237
1245
  render: "tableRender"
1238
1246
  }) || S), W);
1239
1247
  }), E = x(() => {
1240
- const $ = tt(y.value, e.columnState, e.columnState2), T = b($);
1248
+ const $ = et(y.value, e.columnState, e.columnState2), T = b($);
1241
1249
  return e.serialNumber && T.unshift(s()), e.operate && e.operate.items && Me(e.operate.items, (k) => k.show) && T.push(m()), T;
1242
1250
  }), h = x(() => {
1243
1251
  var T, k;
@@ -1260,7 +1268,7 @@ const Lr = () => ({
1260
1268
  K.value = T.height + S;
1261
1269
  }
1262
1270
  });
1263
- const j = Z(Kt()), G = pe(t, "columnSetting");
1271
+ const j = Z(Kt()), G = he(t, "columnSetting");
1264
1272
  return () => {
1265
1273
  var P, N, v;
1266
1274
  if (!l)
@@ -1286,7 +1294,7 @@ const Lr = () => ({
1286
1294
  }), t)]);
1287
1295
  };
1288
1296
  }
1289
- }), xn = Symbol("pro-layout"), qe = () => be(xn), Ur = () => ({
1297
+ }), xn = Symbol("pro-layout"), Be = () => ge(xn), Ur = () => ({
1290
1298
  includes: {
1291
1299
  type: Array,
1292
1300
  default: []
@@ -1308,7 +1316,7 @@ const Lr = () => ({
1308
1316
  showTabs: n,
1309
1317
  convertName: u,
1310
1318
  convertValue: l
1311
- } = qe(), {
1319
+ } = Be(), {
1312
1320
  router: s,
1313
1321
  route: i
1314
1322
  } = xe(), f = x(() => {
@@ -1319,15 +1327,15 @@ const Lr = () => ({
1319
1327
  if (!n.value) {
1320
1328
  const {
1321
1329
  parentList: E
1322
- } = Ge(t.value, (M) => M.value === u(i), void 0, []), h = J(E, (M) => {
1330
+ } = _e(t.value, (M) => M.value === u(i), void 0, []), h = J(E, (M) => {
1323
1331
  const w = l(M);
1324
1332
  return s.hasRoute(w);
1325
1333
  });
1326
- return [...C, ...e.includes, ...L(h, (M) => M.value)];
1334
+ return [...C, ...e.includes, ...F(h, (M) => M.value)];
1327
1335
  }
1328
1336
  let y = a.value;
1329
1337
  e.tagsCache || (y = J(a.value, (E) => E.keep));
1330
- let b = L(y, (E) => E.value);
1338
+ let b = F(y, (E) => E.value);
1331
1339
  return o.value && (b = J(b, (E) => E !== i.name)), [...e.includes, ...b];
1332
1340
  }), d = /* @__PURE__ */ new Map(), g = (C, y) => (d.has(y) || d.set(y, {
1333
1341
  ...C,
@@ -1381,7 +1389,7 @@ const Lr = () => ({
1381
1389
  tabs: n,
1382
1390
  refresh: u,
1383
1391
  convertName: l
1384
- } = qe(), s = ve({
1392
+ } = Be(), s = ye({
1385
1393
  ctxMenuPos: null,
1386
1394
  ctxMenuItem: null
1387
1395
  }), i = (v) => e.isHideClose ? e.isHideClose(v) : !1, f = x(() => {
@@ -1390,34 +1398,34 @@ const Lr = () => ({
1390
1398
  }), m = ({
1391
1399
  queryUpdateCb: v
1392
1400
  }) => {
1393
- const F = f.value;
1394
- if (!F)
1401
+ const L = f.value;
1402
+ if (!L)
1395
1403
  return;
1396
- let B = lt(n.value, (q) => q.value === F.value);
1404
+ let B = ut(n.value, (q) => q.value === L.value);
1397
1405
  if (!B) {
1398
1406
  n.value = [...n.value, {
1399
- ...F,
1407
+ ...L,
1400
1408
  query: r.query
1401
1409
  }];
1402
1410
  return;
1403
1411
  }
1404
- const H = Xe(B.query) || "{}", A = Xe(r.query) || "{}";
1412
+ const H = Ge(B.query) || "{}", A = Ge(r.query) || "{}";
1405
1413
  if (H !== A) {
1406
1414
  const q = {
1407
- ...F,
1415
+ ...L,
1408
1416
  query: r.query
1409
1417
  };
1410
- n.value = L(L(n.value, (I) => I.value === F.value ? q : I)), v == null || v(q);
1418
+ n.value = F(F(n.value, (I) => I.value === L.value ? q : I)), v == null || v(q);
1411
1419
  }
1412
1420
  };
1413
- ae((v, F) => {
1421
+ ae((v, L) => {
1414
1422
  m({
1415
1423
  queryUpdateCb: (B) => {
1416
- v !== F && b(B);
1424
+ v !== L && b(B);
1417
1425
  }
1418
1426
  });
1419
- }, () => r.name), ae((v, F) => {
1420
- const B = v == null ? void 0 : v[0], H = F == null ? void 0 : F[0];
1427
+ }, () => r.name), ae((v, L) => {
1428
+ const B = v == null ? void 0 : v[0], H = L == null ? void 0 : L[0];
1421
1429
  if (B !== H)
1422
1430
  return;
1423
1431
  if (a.value[B]) {
@@ -1425,7 +1433,7 @@ const Lr = () => ({
1425
1433
  return;
1426
1434
  }
1427
1435
  const A = f.value;
1428
- !A || (n.value = L(L(n.value, (q) => q.value === A.value ? {
1436
+ !A || (n.value = F(F(n.value, (q) => q.value === A.value ? {
1429
1437
  ...A,
1430
1438
  query: r.query
1431
1439
  } : q)));
@@ -1444,26 +1452,26 @@ const Lr = () => ({
1444
1452
  }
1445
1453
  t.openMenu(v);
1446
1454
  }, g = (v) => {
1447
- var F;
1455
+ var L;
1448
1456
  if (!i(v)) {
1449
- if (v.value === ((F = f.value) == null ? void 0 : F.value)) {
1457
+ if (v.value === ((L = f.value) == null ? void 0 : L.value)) {
1450
1458
  const B = _n(n.value, (H) => H.value === f.value.value);
1451
1459
  n.value[B + 1] ? d(n.value[B + 1]) : n.value[B - 1] && d(n.value[B - 1]);
1452
1460
  }
1453
1461
  n.value = J(n.value, (B) => B.value !== v.value);
1454
1462
  }
1455
1463
  }, C = (v) => {
1456
- var F;
1457
- v.value !== ((F = f.value) == null ? void 0 : F.value) && d(v), n.value = J(n.value, (B) => B.value === v.value ? !0 : i(B));
1464
+ var L;
1465
+ v.value !== ((L = f.value) == null ? void 0 : L.value) && d(v), n.value = J(n.value, (B) => B.value === v.value ? !0 : i(B));
1458
1466
  }, y = () => {
1459
1467
  if (!f.value || !i(f.value)) {
1460
- const v = lt(n.value, (F) => i(F));
1468
+ const v = ut(n.value, (L) => i(L));
1461
1469
  v && t.openMenu(v);
1462
1470
  }
1463
1471
  n.value = J(n.value, (v) => i(v));
1464
1472
  }, b = (v) => {
1465
1473
  u(v);
1466
- }, E = (v, F) => {
1474
+ }, E = (v, L) => {
1467
1475
  v.preventDefault();
1468
1476
  const B = v.target;
1469
1477
  if (!B)
@@ -1472,17 +1480,17 @@ const Lr = () => ({
1472
1480
  s.ctxMenuPos = {
1473
1481
  x: H.x + H.width / 2,
1474
1482
  y: H.y + H.height
1475
- }, s.ctxMenuItem = F;
1483
+ }, s.ctxMenuItem = L;
1476
1484
  }, h = (v) => {
1477
1485
  v.preventDefault(), v.stopPropagation();
1478
1486
  }, M = () => {
1479
1487
  s.ctxMenuItem = null;
1480
- }, w = Q(), [K, j] = et(), G = (v) => {
1481
- const F = le(n.value, (B, H) => ({
1488
+ }, w = Q(), [K, j] = Ze(), G = (v) => {
1489
+ const L = le(n.value, (B, H) => ({
1482
1490
  ...B,
1483
1491
  [H.value]: H
1484
1492
  }), {});
1485
- n.value = L(v, (B) => p(F, B)), j();
1493
+ n.value = F(v, (B) => p(L, B)), j();
1486
1494
  };
1487
1495
  ae(() => {
1488
1496
  !w.value || !e.onDragRegister || e.onDragRegister({
@@ -1493,8 +1501,8 @@ const Lr = () => ({
1493
1501
  }, [w]);
1494
1502
  const $ = Q();
1495
1503
  ae(() => {
1496
- var F;
1497
- const v = (F = $.value) == null ? void 0 : F.originRef;
1504
+ var L;
1505
+ const v = (L = $.value) == null ? void 0 : L.originRef;
1498
1506
  !v || v == null || v.handleOpen();
1499
1507
  }, $);
1500
1508
  const T = (v) => {
@@ -1502,9 +1510,9 @@ const Lr = () => ({
1502
1510
  }, k = (v) => {
1503
1511
  v === "refresh" ? b(s.ctxMenuItem) : v === "close" ? g(s.ctxMenuItem) : v === "close-other" ? C(s.ctxMenuItem) : v === "close-all" && y(), M();
1504
1512
  }, W = x(() => {
1505
- var F, B;
1513
+ var L, B;
1506
1514
  const v = [];
1507
- return ((F = f.value) == null ? void 0 : F.value) === ((B = s.ctxMenuItem) == null ? void 0 : B.value) && v.push({
1515
+ return ((L = f.value) == null ? void 0 : L.value) === ((B = s.ctxMenuItem) == null ? void 0 : B.value) && v.push({
1508
1516
  label: "\u5237\u65B0",
1509
1517
  value: "refresh"
1510
1518
  }), i(s.ctxMenuItem) || v.push({
@@ -1516,30 +1524,30 @@ const Lr = () => ({
1516
1524
  }, {
1517
1525
  label: "\u5168\u90E8\u5173\u95ED",
1518
1526
  value: "close-all"
1519
- }), L(v, (H) => e.covertMenuItem ? e.covertMenuItem(H) : H);
1527
+ }), F(v, (H) => e.covertMenuItem ? e.covertMenuItem(H) : H);
1520
1528
  }), S = te(), P = S(z.DropdownKey), N = S(z.ScrollKey) || "div";
1521
- return () => c(me, null, [c(N, {
1529
+ return () => c(fe, null, [c(N, {
1522
1530
  class: "pro-layout-tabs"
1523
1531
  }, {
1524
1532
  default: () => [c("div", {
1525
1533
  class: "pro-layout-tabs-root",
1526
1534
  ref: w,
1527
1535
  key: K.value
1528
- }, [L(n.value, (v) => {
1536
+ }, [F(n.value, (v) => {
1529
1537
  var H, A;
1530
- const F = i(v), B = v.value === ((H = f.value) == null ? void 0 : H.value);
1538
+ const L = i(v), B = v.value === ((H = f.value) == null ? void 0 : H.value);
1531
1539
  return c("div", {
1532
1540
  class: ["pro-layout-tabs-item", B ? "active" : ""],
1533
1541
  "data-url": v.value,
1534
1542
  onClick: () => d(v),
1535
1543
  oncontextmenu: (q) => E(q, v)
1536
- }, [((A = v.itemLabel) == null ? void 0 : A.call(v, v)) || v.label, !F && c("div", {
1544
+ }, [((A = v.itemLabel) == null ? void 0 : A.call(v, v)) || v.label, !L && c("div", {
1537
1545
  class: "pro-layout-tabs-item-close",
1538
1546
  onClick: (q) => {
1539
1547
  q.preventDefault(), q.stopPropagation(), g(v);
1540
1548
  },
1541
1549
  oncontextmenu: h
1542
- }, [Ae("\u2715")])]);
1550
+ }, [lt("\u2715")])]);
1543
1551
  })])]
1544
1552
  }), s.ctxMenuItem && s.ctxMenuPos && c(Vt, {
1545
1553
  to: "body"
@@ -1569,7 +1577,7 @@ const Lr = () => ({
1569
1577
  ...Wr()
1570
1578
  },
1571
1579
  setup: (e) => {
1572
- const t = Q(), r = ve({
1580
+ const t = Q(), r = ye({
1573
1581
  imgStr: ""
1574
1582
  });
1575
1583
  return ae(() => {
@@ -1589,7 +1597,7 @@ const Lr = () => ({
1589
1597
  }, null)]
1590
1598
  });
1591
1599
  }
1592
- }), ze = O((e, {
1600
+ }), Ve = O((e, {
1593
1601
  slots: t
1594
1602
  }) => {
1595
1603
  const r = Q(), a = Q(0);
@@ -1601,8 +1609,11 @@ const Lr = () => ({
1601
1609
  var o, n, u;
1602
1610
  return c("header", null, [(o = t.start) == null ? void 0 : o.call(t), t.menus && c("div", {
1603
1611
  ref: r,
1604
- class: "pro-header-menus-wrapper"
1605
- }, [t.menus(a.value)]), (n = t.default) == null ? void 0 : n.call(t), (u = t.end) == null ? void 0 : u.call(t)]);
1612
+ class: "pro-header-menus-wrapper",
1613
+ style: {
1614
+ "--pro-header-menus-wrapper-wid": a.value + "px"
1615
+ }
1616
+ }, [t.menus()]), (n = t.default) == null ? void 0 : n.call(t), (u = t.end) == null ? void 0 : u.call(t)]);
1606
1617
  };
1607
1618
  }), Gr = () => ({
1608
1619
  clsName: {
@@ -1684,14 +1695,14 @@ const Lr = () => ({
1684
1695
  } = xe(), s = x(() => {
1685
1696
  var I;
1686
1697
  return Qt(e.menus, (V) => {
1687
- var Ve, Ct, Mt, It;
1688
- const X = ((Ve = e.fieldNames) == null ? void 0 : Ve.value) || "value", ue = ((Ct = e.fieldNames) == null ? void 0 : Ct.label) || "label", de = ((Mt = e.fieldNames) == null ? void 0 : Mt.hide) || "hide", fe = ((It = e.fieldNames) == null ? void 0 : It.keep) || "keep";
1698
+ var Ue, Ct, Mt, It;
1699
+ const X = ((Ue = e.fieldNames) == null ? void 0 : Ue.value) || "value", ue = ((Ct = e.fieldNames) == null ? void 0 : Ct.label) || "label", de = ((Mt = e.fieldNames) == null ? void 0 : Mt.hide) || "hide", Se = ((It = e.fieldNames) == null ? void 0 : It.keep) || "keep";
1689
1700
  return {
1690
- ...D(V, X, ue, de, fe),
1701
+ ...D(V, X, ue, de, Se),
1691
1702
  value: p(V, X),
1692
1703
  label: p(V, ue),
1693
1704
  hide: p(V, de),
1694
- keep: p(V, fe)
1705
+ keep: p(V, Se)
1695
1706
  };
1696
1707
  }, {
1697
1708
  children: ((I = e.fieldNames) == null ? void 0 : I.children) || "children",
@@ -1723,7 +1734,7 @@ const Lr = () => ({
1723
1734
  return e.findCurrentTopName(l, f.value);
1724
1735
  const I = y(l);
1725
1736
  return f.value[I];
1726
- }), E = x(() => b.value ? lt(i.value, (I) => I.value === b.value) : null), h = x(() => !!(E.value && E.value.children && ee(E.value.children) > 0)), M = x(() => {
1737
+ }), E = x(() => b.value ? ut(i.value, (I) => I.value === b.value) : null), h = x(() => !!(E.value && E.value.children && ee(E.value.children) > 0)), M = x(() => {
1727
1738
  if (e.findActiveKey)
1728
1739
  return e.findActiveKey(l, f.value);
1729
1740
  const I = y(l);
@@ -1731,12 +1742,12 @@ const Lr = () => ({
1731
1742
  return I;
1732
1743
  const {
1733
1744
  parentList: V
1734
- } = Ge(s.value, (ue) => ue.value === I, void 0, []), X = Xn(V, (ue) => !ue.hide);
1745
+ } = _e(s.value, (ue) => ue.value === I, void 0, []), X = Xn(V, (ue) => !ue.hide);
1735
1746
  return (X == null ? void 0 : X.value) || I;
1736
1747
  }), w = (I) => {
1737
1748
  e.onMenuItemClick ? e.onMenuItemClick(I) : u.openMenu(I);
1738
1749
  }, K = (I) => {
1739
- const V = Ge(i.value, (X) => X.value === I.value).target;
1750
+ const V = _e(i.value, (X) => X.value === I.value).target;
1740
1751
  w(V);
1741
1752
  }, j = x(() => !!e.tabs), G = () => {
1742
1753
  var V;
@@ -1749,7 +1760,7 @@ const Lr = () => ({
1749
1760
  let V = [];
1750
1761
  if (I) {
1751
1762
  const X = window.sessionStorage.getItem(I), ue = X ? dt(X) : [];
1752
- V = L(ue, (de) => ({
1763
+ V = F(ue, (de) => ({
1753
1764
  ...p(d.value, de.name),
1754
1765
  query: de.query
1755
1766
  }));
@@ -1762,11 +1773,11 @@ const Lr = () => ({
1762
1773
  const I = G();
1763
1774
  if (!I)
1764
1775
  return;
1765
- const V = L(k.value, (X) => ({
1776
+ const V = F(k.value, (X) => ({
1766
1777
  name: X.value,
1767
1778
  query: X.query
1768
1779
  }));
1769
- window.sessionStorage.setItem(I, Xe(V));
1780
+ window.sessionStorage.setItem(I, Ge(V));
1770
1781
  }, k);
1771
1782
  const P = () => {
1772
1783
  var V;
@@ -1778,7 +1789,7 @@ const Lr = () => ({
1778
1789
  I && P() && window.sessionStorage.removeItem(I);
1779
1790
  }, []);
1780
1791
  const N = Q(!1);
1781
- Se(xn, {
1792
+ be(xn, {
1782
1793
  convertName: y,
1783
1794
  convertValue: g,
1784
1795
  menus: s,
@@ -1795,7 +1806,7 @@ const Lr = () => ({
1795
1806
  }, 0);
1796
1807
  }
1797
1808
  });
1798
- const F = pe(t, "header"), B = pe(t, "menu"), H = (I) => {
1809
+ const L = he(t, "header"), B = he(t, "menu"), H = (I) => {
1799
1810
  var V, X;
1800
1811
  return c("div", {
1801
1812
  class: `${e.clsName}-menus-wrapper`
@@ -1806,7 +1817,7 @@ const Lr = () => ({
1806
1817
  }), (X = B.end) == null ? void 0 : X.call(B)]);
1807
1818
  };
1808
1819
  return () => {
1809
- var de;
1820
+ var de, Se;
1810
1821
  if (!o)
1811
1822
  return null;
1812
1823
  const I = [`${e.clsName} ${e.clsName}-${e.layout}`];
@@ -1821,50 +1832,48 @@ const Lr = () => ({
1821
1832
  }, X = {
1822
1833
  collapse: e.collapse,
1823
1834
  ...V
1824
- }, ue = c(me, null, [j.value && c(Hr, R({
1835
+ }, ue = c(fe, null, [j.value && c(Hr, R({
1825
1836
  isHideClose: W
1826
1837
  }, D(e.tabs, "sessionKey", "clearWhileUnmount")), null), c("div", {
1827
1838
  class: `${e.clsName}-section`
1828
- }, [(de = t.default) == null ? void 0 : de.call(t), t.routerView ? t.routerView() : c(Vr, e.routeOpts, null), e.watermark && c(_r, e.watermark, null)])]);
1839
+ }, [(de = t.default) == null ? void 0 : de.call(t), t.routerView ? t.routerView() : c(Vr, e.routeOpts, null), e.watermark && c(_r, e.watermark, null), (Se = t.end) == null ? void 0 : Se.call(t)])]);
1829
1840
  return e.layout === "vertical" ? c("main", R(r, {
1830
1841
  class: I
1831
- }), [c(ze, {
1842
+ }), [c(Ve, {
1832
1843
  class: `${e.clsName}-header`
1833
1844
  }, {
1834
- menus: (fe) => fe ? c(o, R({
1835
- style: `width:${fe}px`,
1845
+ menus: () => c(o, R({
1836
1846
  mode: "horizontal"
1837
- }, V), B) : null,
1838
- ...F
1847
+ }, V), B),
1848
+ ...L
1839
1849
  }), ue]) : e.layout === "horizontal" ? (I.push("has-left-menu"), e.collapse && I.push("mini"), c("main", R(r, {
1840
1850
  class: I
1841
1851
  }), [H(X), c("div", {
1842
1852
  class: `${e.clsName}-structure`
1843
- }, [c(ze, {
1853
+ }, [c(Ve, {
1844
1854
  class: `${e.clsName}-header`
1845
- }, F), ue])])) : e.layout === "horizontal-v" ? (I.push("has-left-menu"), e.collapse && I.push("mini"), c("main", R(r, {
1855
+ }, L), ue])])) : e.layout === "horizontal-v" ? (I.push("has-left-menu"), e.collapse && I.push("mini"), c("main", R(r, {
1846
1856
  class: I
1847
- }), [c(ze, {
1857
+ }), [c(Ve, {
1848
1858
  class: `${e.clsName}-header`
1849
- }, F), c("div", {
1859
+ }, L), c("div", {
1850
1860
  class: `${e.clsName}-structure`
1851
1861
  }, [H(X), c("div", {
1852
1862
  class: `${e.clsName}-right`
1853
1863
  }, [ue])])])) : (h.value && I.push("has-left-menu"), e.collapse && I.push("mini"), c("main", R(r, {
1854
1864
  class: I
1855
- }), [c(ze, {
1865
+ }), [c(Ve, {
1856
1866
  class: `${e.clsName}-header`
1857
1867
  }, {
1858
- menus: (fe) => fe ? c(o, R({
1859
- style: `width:${fe}px`,
1868
+ menus: () => c(o, R({
1860
1869
  class: `${e.clsName}-menus`,
1861
1870
  mode: "horizontal",
1862
- options: L(i.value, (Ve) => D(Ve, "children")),
1871
+ options: F(i.value, (Ue) => D(Ue, "children")),
1863
1872
  activeKey: b.value
1864
1873
  }, e.topMenuProps, ne(e, "convertSubMenuProps", "convertMenuItemProps"), {
1865
1874
  onMenuItemClick: K
1866
- }), B) : null,
1867
- ...F
1875
+ }), B),
1876
+ ...L
1868
1877
  }), c("div", {
1869
1878
  class: `${e.clsName}-structure`
1870
1879
  }, [h.value && H({
@@ -1895,7 +1904,7 @@ const Lr = () => ({
1895
1904
  type: Function,
1896
1905
  default: () => "\u8FD4\u56DE"
1897
1906
  }
1898
- }), ot = O({
1907
+ }), at = O({
1899
1908
  props: {
1900
1909
  ...Xr()
1901
1910
  },
@@ -1952,13 +1961,13 @@ const Lr = () => ({
1952
1961
  }
1953
1962
  }), En = O({
1954
1963
  props: {
1955
- ...ot.props,
1964
+ ...at.props,
1956
1965
  ...Yr()
1957
1966
  },
1958
1967
  setup: (e, {
1959
1968
  slots: t
1960
1969
  }) => {
1961
- const r = qe(), a = x(() => {
1970
+ const r = Be(), a = x(() => {
1962
1971
  if (!e.layoutTabsBackMode || e.sub || !r)
1963
1972
  return e.showBack;
1964
1973
  const {
@@ -1971,7 +1980,7 @@ const Lr = () => ({
1971
1980
  default: () => [c("div", {
1972
1981
  class: "pro-loading-dom"
1973
1982
  }, null)]
1974
- }) : null, s = Z(ot.props).filter((i) => i !== "showBack");
1983
+ }) : null, s = Z(at.props).filter((i) => i !== "showBack");
1975
1984
  return () => {
1976
1985
  var g;
1977
1986
  const i = e.title || t.title || e.subTitle || t.subTitle || t.extra, f = (g = t.footer) == null ? void 0 : g.call(t), m = !e.loading && Le(f), d = ["pro-page"];
@@ -1980,7 +1989,7 @@ const Lr = () => ({
1980
1989
  }, {
1981
1990
  default: () => {
1982
1991
  var C, y;
1983
- return [(C = t.start) == null ? void 0 : C.call(t), i && c(ot, R(ne(e, s), {
1992
+ return [(C = t.start) == null ? void 0 : C.call(t), i && c(at, R(ne(e, s), {
1984
1993
  showBack: a.value
1985
1994
  }), D(t, "start", "default", "footer")), c("div", {
1986
1995
  class: "pro-page-content"
@@ -2036,7 +2045,7 @@ const Lr = () => ({
2036
2045
  slots: t,
2037
2046
  emit: r
2038
2047
  }) => {
2039
- const a = te(), o = a(z.ProSearchFormKey), n = a(z.ProTableKey), u = a(z.PaginationKey), l = e.pageState || ve({
2048
+ const a = te(), o = a(z.ProSearchFormKey), n = a(z.ProTableKey), u = a(z.PaginationKey), l = e.pageState || ye({
2040
2049
  ...Qr
2041
2050
  });
2042
2051
  let s;
@@ -2049,13 +2058,13 @@ const Lr = () => ({
2049
2058
  s = y, l.page = b || 1, i();
2050
2059
  }, m = (y, b) => {
2051
2060
  l.page = y, l.pageSize = b, i();
2052
- }, d = pe(t, "search"), g = pe(t, "table"), C = pe(t, "pagination");
2061
+ }, d = he(t, "search"), g = he(t, "table"), C = he(t, "pagination");
2053
2062
  return () => {
2054
2063
  var b, E, h, M, w, K, j, G;
2055
2064
  const y = t.search ? t.search({
2056
2065
  executeSearchWithResetPage: f,
2057
2066
  pageState: l
2058
- }) : c(me, null, [o && c(o, R({
2067
+ }) : c(fe, null, [o && c(o, R({
2059
2068
  class: `${e.clsName}-search`
2060
2069
  }, D(e.searchProps, "onFinish"), {
2061
2070
  onFinish: ($) => f($)
@@ -2064,7 +2073,7 @@ const Lr = () => ({
2064
2073
  class: e.clsName
2065
2074
  }, [((b = t.start) == null ? void 0 : b.call(t)) || ((E = e.start) == null ? void 0 : E.call(e)), !e.searchInTable && y, ((h = t.divide) == null ? void 0 : h.call(t)) || ((M = e.divide) == null ? void 0 : M.call(e)), t.table ? t.table({
2066
2075
  pageState: l
2067
- }) : c(me, null, [n && c(n, R({
2076
+ }) : c(fe, null, [n && c(n, R({
2068
2077
  class: `${e.clsName}-table`,
2069
2078
  paginationState: {
2070
2079
  page: l.page,
@@ -2077,9 +2086,9 @@ const Lr = () => ({
2077
2086
  })]), ((w = t.divide2) == null ? void 0 : w.call(t)) || ((K = e.divide2) == null ? void 0 : K.call(e)), t.pagination ? t.pagination({
2078
2087
  executePageChange: m,
2079
2088
  pageState: l
2080
- }) : c(me, null, [e.paginationProps !== !1 && u && c("div", {
2089
+ }) : c(fe, null, [e.paginationProps !== !1 && u && c("div", {
2081
2090
  class: `${e.clsName}-pagination`
2082
- }, [c(u, R(D(Ke(e.paginationProps) ? {} : e.paginationProps, "onChange"), {
2091
+ }, [c(u, R(D(De(e.paginationProps) ? {} : e.paginationProps, "onChange"), {
2083
2092
  page: l.page,
2084
2093
  pageSize: l.pageSize,
2085
2094
  onComposeChange: m
@@ -2104,13 +2113,13 @@ const Lr = () => ({
2104
2113
  }) => {
2105
2114
  const {
2106
2115
  elementMap: r
2107
- } = ce(), a = e.elementMap || r, o = te(), n = o(z.DescriptionsKey), u = o(z.DescriptionsItemKey), l = x(() => tt(e.columns, e.columnState, e.columnState2)), s = Z(we), i = Z(Rt());
2116
+ } = ce(), a = e.elementMap || r, o = te(), n = o(z.DescriptionsKey), u = o(z.DescriptionsItemKey), l = x(() => et(e.columns, e.columnState, e.columnState2)), s = Z(we), i = Z(Rt());
2108
2117
  return () => !n || !u ? null : c(n, R({
2109
2118
  class: e.clsName
2110
2119
  }, D(e, ...s, ...i, "model")), {
2111
2120
  default: () => {
2112
2121
  var f, m;
2113
- return [(f = t.start) == null ? void 0 : f.call(t), L(l.value, (d) => {
2122
+ return [(f = t.start) == null ? void 0 : f.call(t), F(l.value, (d) => {
2114
2123
  const g = d.dataIndex, C = p(e.model, g);
2115
2124
  return c(u, R({
2116
2125
  class: `${e.clsName}-item`
@@ -2179,7 +2188,7 @@ const Lr = () => ({
2179
2188
  });
2180
2189
  };
2181
2190
  }
2182
- }), Ue = {
2191
+ }), qe = {
2183
2192
  value: {
2184
2193
  type: [String, Number]
2185
2194
  },
@@ -2193,10 +2202,10 @@ const Lr = () => ({
2193
2202
  type: Function,
2194
2203
  default: void 0
2195
2204
  }
2196
- }, nt = O({
2205
+ }, tt = O({
2197
2206
  inheritAttrs: !1,
2198
2207
  props: {
2199
- ...Ue
2208
+ ...qe
2200
2209
  },
2201
2210
  setup: (e, {
2202
2211
  attrs: t
@@ -2213,7 +2222,7 @@ const Lr = () => ({
2213
2222
  }), So = O({
2214
2223
  inheritAttrs: !1,
2215
2224
  props: {
2216
- ...Ue,
2225
+ ...qe,
2217
2226
  decimalFixed: {
2218
2227
  type: Number,
2219
2228
  default: 0
@@ -2233,7 +2242,7 @@ const Lr = () => ({
2233
2242
  return () => e.render ? e.render({
2234
2243
  value: r.value,
2235
2244
  props: e
2236
- }) : c(nt, R({
2245
+ }) : c(tt, R({
2237
2246
  class: "pro-show-digit"
2238
2247
  }, ne(t, "style", "class"), {
2239
2248
  value: r.value,
@@ -2243,7 +2252,7 @@ const Lr = () => ({
2243
2252
  }), Po = O({
2244
2253
  inheritAttrs: !1,
2245
2254
  props: {
2246
- ...Ue,
2255
+ ...qe,
2247
2256
  value: {
2248
2257
  type: [String, Number, Array]
2249
2258
  },
@@ -2262,13 +2271,13 @@ const Lr = () => ({
2262
2271
  const r = x(() => cr(e.options, (n) => n.label), void 0), a = x(() => {
2263
2272
  const n = e.value;
2264
2273
  let u = e.value;
2265
- return re(n) ? u = Ze(L(n, (l) => p(r.value, l, l)), e.splitStr) : u = p(r.value, n, e.value), e.convert ? e.convert(u, e) : u;
2274
+ return re(n) ? u = Je(F(n, (l) => p(r.value, l, l)), e.splitStr) : u = p(r.value, n, e.value), e.convert ? e.convert(u, e) : u;
2266
2275
  }), o = x(() => p(e.colorMap, e.value));
2267
2276
  return () => e.render ? e.render({
2268
2277
  color: o.value,
2269
2278
  value: a.value,
2270
2279
  props: e
2271
- }) : c(nt, R({
2280
+ }) : c(tt, R({
2272
2281
  class: "pro-show-options"
2273
2282
  }, ne(t, "style", "class"), {
2274
2283
  style: `color:${o.value || ""}`,
@@ -2279,7 +2288,7 @@ const Lr = () => ({
2279
2288
  }), Co = O({
2280
2289
  inheritAttrs: !1,
2281
2290
  props: {
2282
- ...Ue,
2291
+ ...qe,
2283
2292
  value: {
2284
2293
  type: [String, Number, Array]
2285
2294
  },
@@ -2312,12 +2321,12 @@ const Lr = () => ({
2312
2321
  });
2313
2322
  }), a = x(() => {
2314
2323
  let o = e.value;
2315
- return re(e.value) ? o = Ze(L(e.value, (n) => p(r.value, n, n)), e.multiple ? e.splitStr2 : e.splitStr) : o = p(r.value, e.value, e.value), e.convert ? e.convert(o, e) : o;
2324
+ return re(e.value) ? o = Je(F(e.value, (n) => p(r.value, n, n)), e.multiple ? e.splitStr2 : e.splitStr) : o = p(r.value, e.value, e.value), e.convert ? e.convert(o, e) : o;
2316
2325
  });
2317
2326
  return () => e.render ? e.render({
2318
2327
  value: a.value,
2319
2328
  props: e
2320
- }) : c(nt, R({
2329
+ }) : c(tt, R({
2321
2330
  class: "pro-show-tree"
2322
2331
  }, ne(t, "style", "class"), {
2323
2332
  value: a.value,
@@ -2326,7 +2335,7 @@ const Lr = () => ({
2326
2335
  }
2327
2336
  }), Mo = O({
2328
2337
  props: {
2329
- ...Ue,
2338
+ ...qe,
2330
2339
  value: {
2331
2340
  type: [String, Number, Array]
2332
2341
  },
@@ -2348,12 +2357,12 @@ const Lr = () => ({
2348
2357
  }) => {
2349
2358
  const r = (o) => o && (e.isUnix ? Tt.unix(o).format(e.format) : Tt(o).format(e.format)), a = x(() => {
2350
2359
  let o = e.value;
2351
- return re(e.value) ? o = Ze(L(e.value, (n) => r(n) || ""), e.splitStr) : o = r(e.value) || "", e.convert ? e.convert(o, e) : o;
2360
+ return re(e.value) ? o = Je(F(e.value, (n) => r(n) || ""), e.splitStr) : o = r(e.value) || "", e.convert ? e.convert(o, e) : o;
2352
2361
  });
2353
2362
  return () => e.render ? e.render({
2354
2363
  value: a.value,
2355
2364
  props: e
2356
- }) : c(nt, R({
2365
+ }) : c(tt, R({
2357
2366
  class: "pro-show-date"
2358
2367
  }, ne(t, "style", "class"), {
2359
2368
  value: a.value,
@@ -2382,7 +2391,7 @@ const Lr = () => ({
2382
2391
  const f = dt(i);
2383
2392
  if (re(f)) {
2384
2393
  const m = e.fieldNames;
2385
- return L(f, (d) => ({
2394
+ return F(f, (d) => ({
2386
2395
  ...D(d, m.id, m.name, m.size),
2387
2396
  id: p(d, m.id),
2388
2397
  name: p(d, m.name),
@@ -2392,7 +2401,7 @@ const Lr = () => ({
2392
2401
  return [];
2393
2402
  }, u = x(() => n(e.value)), l = x(() => n(e.modelValue)), s = (i, f) => {
2394
2403
  let m = "";
2395
- i && ee(i) > 0 && (m = Xe(L(i, (d) => {
2404
+ i && ee(i) > 0 && (m = Ge(F(i, (d) => {
2396
2405
  var y;
2397
2406
  const g = e.fieldNames, C = {
2398
2407
  [g.id]: d.id,
@@ -2431,7 +2440,7 @@ const Lr = () => ({
2431
2440
  return !!p(u, ((l = e.fieldNames) == null ? void 0 : l.id) || "id");
2432
2441
  }, o = x(() => {
2433
2442
  let u = e.value;
2434
- return u && ye(u) && (u = dt(u)), u && !re(u) && De(u) && a(u) && (u = [u]), re(u) ? L(J(u, (l) => a(l)), (l) => {
2443
+ return u && me(u) && (u = dt(u)), u && !re(u) && Oe(u) && a(u) && (u = [u]), re(u) ? F(J(u, (l) => a(l)), (l) => {
2435
2444
  var m, d, g;
2436
2445
  const s = p(l, ((m = e.fieldNames) == null ? void 0 : m.id) || "id"), i = p(l, ((d = e.fieldNames) == null ? void 0 : d.name) || "name"), f = p(l, ((g = e.fieldNames) == null ? void 0 : g.name) || "size");
2437
2446
  return {
@@ -2448,7 +2457,7 @@ const Lr = () => ({
2448
2457
  var u, l;
2449
2458
  return c("div", {
2450
2459
  class: "pro-upload-list"
2451
- }, [(u = t.start) == null ? void 0 : u.call(t), L(o.value, (s) => {
2460
+ }, [(u = t.start) == null ? void 0 : u.call(t), F(o.value, (s) => {
2452
2461
  var i;
2453
2462
  return c("div", {
2454
2463
  class: "pro-upload-list-item"
@@ -2487,7 +2496,7 @@ const Lr = () => ({
2487
2496
  return `${e}${r ? "?" : ""}${r || ""}`;
2488
2497
  }
2489
2498
  }, xe = () => {
2490
- const { convertRouter: e } = ce(), t = sn(), r = yt(), a = qe(), u = { ...t, openMenu: (s) => {
2499
+ const { convertRouter: e } = ce(), t = sn(), r = yt(), a = Be(), u = { ...t, openMenu: (s) => {
2491
2500
  if (!!s) {
2492
2501
  if (ee(s.children) > 0) {
2493
2502
  const i = Zt(s.children, (f) => !f.children || ee(f.children) <= 0);
@@ -2513,8 +2522,8 @@ const Lr = () => ({
2513
2522
  if (!re(e) || ee(e) <= 0)
2514
2523
  return !1;
2515
2524
  const t = e[0];
2516
- return ye(t) ? Xt(t, "$") : !1;
2517
- }, ua = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "data$" && e.type$, la = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "obj", sa = { get: p, pick: ne, add: Yn, subtract: Qn }, Qe = (e, t) => {
2525
+ return me(t) ? Xt(t, "$") : !1;
2526
+ }, ua = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "data$" && e.type$, la = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "obj", sa = { get: p, pick: ne, add: Yn, subtract: Qn }, Ye = (e, t) => {
2518
2527
  if (ua(e)) {
2519
2528
  const r = p(t, e.name$);
2520
2529
  return e.namePath$ ? p(r, e.namePath$) : r;
@@ -2523,8 +2532,8 @@ const Lr = () => ({
2523
2532
  return se(e, (a, o) => {
2524
2533
  if (o !== "type$")
2525
2534
  if (Xt(o, "$")) {
2526
- const n = Qe(a, t);
2527
- he(r, o.replace("$", ""), n);
2535
+ const n = Ye(a, t);
2536
+ ve(r, o.replace("$", ""), n);
2528
2537
  } else
2529
2538
  r[o] = a;
2530
2539
  }), r;
@@ -2534,7 +2543,7 @@ const Lr = () => ({
2534
2543
  console.log("ex", "\u672A\u627E\u5230\u5BF9\u5E94\u7684\u65B9\u6CD5", e);
2535
2544
  return;
2536
2545
  }
2537
- const u = L(a, (l) => Qe(l, t));
2546
+ const u = F(a, (l) => Ye(l, t));
2538
2547
  return n(...u);
2539
2548
  }
2540
2549
  return e;
@@ -2550,8 +2559,8 @@ const Lr = () => ({
2550
2559
  const u = p(n, a);
2551
2560
  return u || (Y(r == null ? void 0 : r.initialState) ? r == null ? void 0 : r.initialState() : r == null ? void 0 : r.initialState);
2552
2561
  }));
2553
- }, Tn = Symbol("pro-module"), Ee = () => be(Tn), ia = (e) => {
2554
- Se(Tn, e);
2562
+ }, Tn = Symbol("pro-module"), Ee = () => ge(Tn), ia = (e) => {
2563
+ be(Tn, e);
2555
2564
  }, gt = (e) => {
2556
2565
  const {
2557
2566
  subject$: t
@@ -2564,7 +2573,7 @@ const Lr = () => ({
2564
2573
  });
2565
2574
  return () => r.unsubscribe();
2566
2575
  }, []);
2567
- }, Fe = {
2576
+ }, Re = {
2568
2577
  Success: "request-success$",
2569
2578
  Fail: "request-fail$"
2570
2579
  }, da = () => ({
@@ -2592,7 +2601,7 @@ const Lr = () => ({
2592
2601
  requests: {
2593
2602
  type: Array
2594
2603
  }
2595
- }), He = O({
2604
+ }), ze = O({
2596
2605
  props: {
2597
2606
  ...da()
2598
2607
  },
@@ -2606,7 +2615,7 @@ const Lr = () => ({
2606
2615
  elementMap: n,
2607
2616
  registerStoreMap: u,
2608
2617
  expressionMethods: l
2609
- } = ce(), s = e.elementMap || n, i = (S) => re(S) ? St(s, S) : $e(s, S), f = new er(), m = (S) => {
2618
+ } = ce(), s = e.elementMap || n, i = (S) => re(S) ? St(s, S) : Fe(s, S), f = new er(), m = (S) => {
2610
2619
  f.next(S);
2611
2620
  }, d = J(e.storeKeys, (S) => st(u, S)), g = () => le(d, (S, P) => {
2612
2621
  const N = p(u, P);
@@ -2614,12 +2623,12 @@ const Lr = () => ({
2614
2623
  ...S,
2615
2624
  [P]: p(a.value, `${N.persist ? "$" : ""}${P}`) || p(u, [P, "initialState"])
2616
2625
  };
2617
- }, {}), C = g(), y = e.state || ve({
2626
+ }, {}), C = g(), y = e.state || ye({
2618
2627
  ...C,
2619
2628
  ...e.initState
2620
2629
  }), b = {}, E = (S) => {
2621
2630
  const P = y[S.type], N = Y(S.payload) ? S.payload(P) : S.payload;
2622
- if (!re(P) && De(P)) {
2631
+ if (!re(P) && Oe(P)) {
2623
2632
  ft(y[S.type], N);
2624
2633
  return;
2625
2634
  }
@@ -2631,8 +2640,8 @@ const Lr = () => ({
2631
2640
  ae(() => {
2632
2641
  const S = a.pipe(tr(() => g()), nr((P) => {
2633
2642
  se(P, (N, v) => {
2634
- const F = p(y, v);
2635
- fr(F, N) || E({
2643
+ const L = p(y, v);
2644
+ fr(L, N) || E({
2636
2645
  type: v,
2637
2646
  payload: N
2638
2647
  });
@@ -2644,13 +2653,13 @@ const Lr = () => ({
2644
2653
  }, []);
2645
2654
  const {
2646
2655
  dispatchRequest: w
2647
- } = Be(), j = (() => {
2656
+ } = je(), j = (() => {
2648
2657
  const S = {}, P = le(e.actors || [], (N, v) => ({
2649
2658
  ...N,
2650
2659
  [v.name]: v
2651
2660
  }), {});
2652
2661
  return se(e.requests, (N) => {
2653
- if (ye(N.actor)) {
2662
+ if (me(N.actor)) {
2654
2663
  const v = p(P, N.actor);
2655
2664
  if (!v)
2656
2665
  return;
@@ -2679,7 +2688,7 @@ const Lr = () => ({
2679
2688
  type: P.stateName,
2680
2689
  payload: N
2681
2690
  }), m({
2682
- type: Fe.Success,
2691
+ type: Re.Success,
2683
2692
  payload: {
2684
2693
  actor: S,
2685
2694
  requestOpts: P
@@ -2690,7 +2699,7 @@ const Lr = () => ({
2690
2699
  var N;
2691
2700
  const P = p(j, S.name);
2692
2701
  m({
2693
- type: Fe.Fail,
2702
+ type: Re.Fail,
2694
2703
  payload: {
2695
2704
  actor: S,
2696
2705
  requestOpts: P
@@ -2705,7 +2714,7 @@ const Lr = () => ({
2705
2714
  });
2706
2715
  }
2707
2716
  }, !0);
2708
- const k = (S, P) => Qe(S, {
2717
+ const k = (S, P) => Ye(S, {
2709
2718
  state: y,
2710
2719
  data: b,
2711
2720
  args: P,
@@ -2724,9 +2733,9 @@ const Lr = () => ({
2724
2733
  console.log("execute invalid", v);
2725
2734
  return;
2726
2735
  }
2727
- const [F, B, ...H] = v;
2736
+ const [L, B, ...H] = v;
2728
2737
  let A;
2729
- switch (F) {
2738
+ switch (L) {
2730
2739
  case "router":
2731
2740
  A = p(o, B);
2732
2741
  break;
@@ -2736,7 +2745,7 @@ const Lr = () => ({
2736
2745
  }
2737
2746
  if (A)
2738
2747
  try {
2739
- const q = L(H, (I) => Qe(I, N));
2748
+ const q = F(H, (I) => Ye(I, N));
2740
2749
  A(...q);
2741
2750
  } catch (q) {
2742
2751
  console.log("execute err", q);
@@ -2759,19 +2768,19 @@ const Lr = () => ({
2759
2768
  sendRequest: T
2760
2769
  }), () => {
2761
2770
  var S;
2762
- return c(me, null, [ee(e.elementConfigs) > 0 && i(e.elementConfigs), (S = t.default) == null ? void 0 : S.call(t)]);
2771
+ return c(fe, null, [ee(e.elementConfigs) > 0 && i(e.elementConfigs), (S = t.default) == null ? void 0 : S.call(t)]);
2763
2772
  };
2764
2773
  }
2765
2774
  }), Le = (e) => {
2766
2775
  var t, r;
2767
2776
  return !(!e || ((r = (t = e == null ? void 0 : e[0]) == null ? void 0 : t.type) == null ? void 0 : r.toString()) === "Symbol(Comment)");
2768
- }, kn = (e) => e.formValueType || e.valueType || "text", ge = (e) => {
2777
+ }, kn = (e) => e.formValueType || e.valueType || "text", pe = (e) => {
2769
2778
  var a, o;
2770
2779
  const t = (a = e.formItemProps) == null ? void 0 : a.name;
2771
2780
  return ((o = e.inputProps) == null ? void 0 : o.name) || t || e.dataIndex;
2772
2781
  }, fa = (e, t) => {
2773
2782
  let r = t;
2774
- return ye(t) && (r = p(e, t)), Y(r) || (r = p(e, "render")), Y(r) ? r : void 0;
2783
+ return me(t) && (r = p(e, t)), Y(r) || (r = p(e, "render")), Y(r) ? r : void 0;
2775
2784
  }, bt = (e, t, r, a) => {
2776
2785
  var f, m, d;
2777
2786
  const o = fa(t, a == null ? void 0 : a.render);
@@ -2792,7 +2801,7 @@ const Lr = () => ({
2792
2801
  ...D(t.formFieldProps, "slots"),
2793
2802
  ...s
2794
2803
  };
2795
- return Oe(u, {
2804
+ return Ae(u, {
2796
2805
  ...i
2797
2806
  }, l);
2798
2807
  }, Nn = (e, t, r) => {
@@ -2809,7 +2818,7 @@ const Lr = () => ({
2809
2818
  }, {
2810
2819
  render: "formReadRender"
2811
2820
  }) || d.value);
2812
- const l = ge(r), s = r.title, i = n ? {
2821
+ const l = pe(r), s = r.title, i = n ? {
2813
2822
  ...n,
2814
2823
  fieldProps: D(n.fieldProps, "slots")
2815
2824
  } : {
@@ -2817,18 +2826,18 @@ const Lr = () => ({
2817
2826
  fieldProps: D(r.formFieldProps, "slots"),
2818
2827
  showProps: r.showProps
2819
2828
  };
2820
- return Oe(o, {
2829
+ return Ae(o, {
2821
2830
  key: l,
2822
2831
  name: l,
2823
2832
  label: s,
2824
2833
  ...i
2825
2834
  }, u);
2826
- }, ma = (e) => e && !Y(e) && e.elementType, St = (e, t) => L(t, (r) => $e(e, r)), An = (e, t) => {
2835
+ }, ma = (e) => e && !Y(e) && e.elementType, St = (e, t) => F(t, (r) => Fe(e, r)), An = (e, t) => {
2827
2836
  var n;
2828
2837
  const r = t.elementProps, a = {
2829
2838
  ...t.elementProps
2830
2839
  }, o = r == null ? void 0 : r.class;
2831
- return o && (typeof o == "object" ? a.class = kt(o) : ye(o) && o.indexOf(":") > 0 && (a.class = kt`
2840
+ return o && (typeof o == "object" ? a.class = kt(o) : me(o) && o.indexOf(":") > 0 && (a.class = kt`
2832
2841
  ${o}
2833
2842
  `)), se((n = t.highConfig$) == null ? void 0 : n.registerPropsTrans, (u) => {
2834
2843
  const l = p(r, u.name);
@@ -2836,19 +2845,19 @@ const Lr = () => ({
2836
2845
  if (re(l)) {
2837
2846
  if (Me(l, (s) => Ne(s)))
2838
2847
  return;
2839
- he(a, u.name, St(e, l));
2848
+ ve(a, u.name, St(e, l));
2840
2849
  return;
2841
2850
  }
2842
- !l.elementType || (u.isFun ? he(a, u.name, (...s) => {
2851
+ !l.elementType || (u.isFun ? ve(a, u.name, (...s) => {
2843
2852
  const i = u.needParams ? {
2844
2853
  ...l.elementProps,
2845
2854
  params$: s
2846
2855
  } : l.elementProps;
2847
- return $e(e, {
2856
+ return Fe(e, {
2848
2857
  ...l,
2849
2858
  elementProps: i
2850
2859
  });
2851
- }) : he(a, u.name, $e(e, l)));
2860
+ }) : ve(a, u.name, Fe(e, l)));
2852
2861
  }
2853
2862
  }), a;
2854
2863
  }, On = (e, t) => {
@@ -2860,29 +2869,29 @@ const Lr = () => ({
2860
2869
  ...u.elementProps,
2861
2870
  params$: l
2862
2871
  } : u.elementProps;
2863
- return $e(e, {
2872
+ return Fe(e, {
2864
2873
  ...u,
2865
2874
  elementProps: s
2866
2875
  });
2867
- } : (ye(u) || ct(u)) && (o[n] = () => u);
2876
+ } : (me(u) || ct(u)) && (o[n] = () => u);
2868
2877
  }), {
2869
2878
  [a]: r ? () => r : void 0,
2870
2879
  ...o
2871
2880
  };
2872
- }, $e = (e, t) => {
2881
+ }, Fe = (e, t) => {
2873
2882
  const r = p(e, t.elementType) || t.elementType;
2874
2883
  if (t.highConfig$)
2875
- return Oe(va, {
2884
+ return Ae(va, {
2876
2885
  key: t.elementId,
2877
2886
  elementMap: e,
2878
2887
  elementConfig: t
2879
2888
  });
2880
2889
  const a = On(e, t), o = An(e, t);
2881
- return Oe(r, {
2890
+ return Ae(r, {
2882
2891
  key: t.elementId,
2883
2892
  ...o
2884
2893
  }, a);
2885
- }, ya = (e) => re(e) ? Jn(e) : ye(e) && e.indexOf(".") > 0 ? e.substring(0, e.indexOf(".")) : e, va = O({
2894
+ }, ya = (e) => re(e) ? Jn(e) : me(e) && e.indexOf(".") > 0 ? e.substring(0, e.indexOf(".")) : e, va = O({
2886
2895
  props: {
2887
2896
  elementMap: {
2888
2897
  type: Object
@@ -2909,16 +2918,16 @@ const Lr = () => ({
2909
2918
  payload: E
2910
2919
  }), a(C.executeList, E);
2911
2920
  }, b = en(C.name, l);
2912
- l && tn(b) && nn(b, l) && he(l, b, y);
2921
+ l && tn(b) && nn(b, l) && ve(l, b, y);
2913
2922
  });
2914
2923
  const s = x(() => {
2915
2924
  if (!u.registerStateList || ee(u.registerStateList) <= 0)
2916
2925
  return;
2917
2926
  const C = {
2918
2927
  ...l
2919
- }, y = J(u.registerStateList, (E) => !E.target || E.target === "prop"), b = L(y, (E) => {
2928
+ }, y = J(u.registerStateList, (E) => !E.target || E.target === "prop"), b = F(y, (E) => {
2920
2929
  const h = E.mapName || E.name, M = p(t, E.name);
2921
- return he(C, h, M), ya(h);
2930
+ return ve(C, h, M), ya(h);
2922
2931
  });
2923
2932
  return ne(C, b);
2924
2933
  }), i = p(o, n.elementType) || n.elementType, f = On(o, n), m = le(J(u.registerStateList, (C) => C.target === "slot"), (C, y) => ({
@@ -2928,7 +2937,7 @@ const Lr = () => ({
2928
2937
  ...f,
2929
2938
  ...m
2930
2939
  };
2931
- return () => p(s.value, "show$") === !1 ? null : Oe(i, {
2940
+ return () => p(s.value, "show$") === !1 ? null : Ae(i, {
2932
2941
  key: n.elementId,
2933
2942
  ...l,
2934
2943
  ...D(s.value, "show$")
@@ -2945,7 +2954,7 @@ const Lr = () => ({
2945
2954
  console.log("ConfigExtra\uFF1A\u8865\u5145\u5BF9\u8C61key\u672A\u627E\u5230\u7236\u7EA7", e.elementId, a, "->", o);
2946
2955
  return;
2947
2956
  }
2948
- he(e, o, r);
2957
+ ve(e, o, r);
2949
2958
  });
2950
2959
  }, ke = (e, t) => {
2951
2960
  ha(e, p(t, e.elementId));
@@ -2986,7 +2995,7 @@ const Lr = () => ({
2986
2995
  t && t.elementConfigs && (o.value = n(t.elementConfigs)), t != null && t.elementConfigs;
2987
2996
  }, []);
2988
2997
  const l = te()(z.LoadingKey);
2989
- return () => o.value ? c(He, {
2998
+ return () => o.value ? c(ze, {
2990
2999
  initState: t == null ? void 0 : t.initState,
2991
3000
  storeKeys: t == null ? void 0 : t.storeKeys,
2992
3001
  actors: e,
@@ -3001,8 +3010,8 @@ const Lr = () => ({
3001
3010
  class: "pro-module-loading-dom"
3002
3011
  }, null)]
3003
3012
  }) : null;
3004
- }), Dn = Symbol("pro-curd"), oe = () => be(Dn), ga = (e) => Se(Dn, e);
3005
- var U = /* @__PURE__ */ ((e) => (e.LIST = "LIST", e.DETAIL = "DETAIL", e.ADD = "ADD", e.EDIT = "EDIT", e.DELETE = "DELETE", e))(U || {}), _ = /* @__PURE__ */ ((e) => (e.EMIT = "EMIT", e.EXECUTE = "EXECUTE", e.PAGE = "PAGE", e.SUCCESS = "SUCCESS", e.FAIL = "FAIL", e))(_ || {}), Pe = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.EDIT = "EDIT", e.DETAIL = "DETAIL", e))(Pe || {}), je = /* @__PURE__ */ ((e) => (e.NORMAL = "NORMAL", e.CONTINUE = "CONTINUE", e))(je || {});
3013
+ }), Dn = Symbol("pro-curd"), oe = () => ge(Dn), ga = (e) => be(Dn, e);
3014
+ var U = /* @__PURE__ */ ((e) => (e.LIST = "LIST", e.DETAIL = "DETAIL", e.ADD = "ADD", e.EDIT = "EDIT", e.DELETE = "DELETE", e))(U || {}), _ = /* @__PURE__ */ ((e) => (e.EMIT = "EMIT", e.EXECUTE = "EXECUTE", e.PAGE = "PAGE", e.SUCCESS = "SUCCESS", e.FAIL = "FAIL", e))(_ || {}), Pe = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.EDIT = "EDIT", e.DETAIL = "DETAIL", e))(Pe || {}), $e = /* @__PURE__ */ ((e) => (e.NORMAL = "NORMAL", e.CONTINUE = "CONTINUE", e))($e || {});
3006
3015
  const ba = () => ({
3007
3016
  rowKey: {
3008
3017
  type: String,
@@ -3041,7 +3050,7 @@ const ba = () => ({
3041
3050
  subPageProps: {
3042
3051
  type: Object
3043
3052
  }
3044
- }), Pt = ["sendCurdEvent", "refreshList", "sendEvent", "sendRequest"], Ft = O({
3053
+ }), Pt = ["sendCurdEvent", "refreshList", "sendEvent", "sendRequest"], Lt = O({
3045
3054
  inheritAttrs: !1,
3046
3055
  props: {
3047
3056
  ...we,
@@ -3051,7 +3060,7 @@ const ba = () => ({
3051
3060
  slots: t,
3052
3061
  expose: r
3053
3062
  }) => {
3054
- const a = qe(), {
3063
+ const a = Be(), {
3055
3064
  route: o
3056
3065
  } = xe(), {
3057
3066
  elementMap: n,
@@ -3067,14 +3076,14 @@ const ba = () => ({
3067
3076
  convertName: P
3068
3077
  } = a, {
3069
3078
  target: N
3070
- } = Ge(S.value, (v) => v.value === P(o));
3079
+ } = _e(S.value, (v) => v.value === P(o));
3071
3080
  return (N == null ? void 0 : N.label) || "";
3072
3081
  }
3073
3082
  return "";
3074
- }), f = x(() => tt(e.columns, e.columnState, e.columnState2)), m = (S, P) => {
3083
+ }), f = x(() => et(e.columns, e.columnState, e.columnState2)), m = (S, P) => {
3075
3084
  const N = J(f.value, (v) => {
3076
- const F = p(v, ["extra", S]) || p(v, S);
3077
- return P ? F !== !1 : F;
3085
+ const L = p(v, ["extra", S]) || p(v, S);
3086
+ return P ? L !== !1 : L;
3078
3087
  });
3079
3088
  return Wt(N, (v) => p(v, ["extra", `${S}Sort`]) || p(v, `${S}Sort`));
3080
3089
  }, d = x(() => m("form", !0)), g = x(() => m("detail", !0)), C = x(() => m("table", !0)), y = x(() => m("search"));
@@ -3098,24 +3107,24 @@ const ba = () => ({
3098
3107
  }) => {
3099
3108
  if (N)
3100
3109
  return;
3101
- let v = S, F = P == null ? void 0 : P.type;
3102
- v === Fe.Success && (v = p(P, ["requestOpts", "action"]), F = _.SUCCESS);
3110
+ let v = S, L = P == null ? void 0 : P.type;
3111
+ v === Re.Success && (v = p(P, ["requestOpts", "action"]), L = _.SUCCESS);
3103
3112
  const {
3104
3113
  values: B,
3105
3114
  record: H
3106
3115
  } = P;
3107
3116
  switch (v) {
3108
3117
  case U.LIST:
3109
- F === _.EMIT && (b = B, E());
3118
+ L === _.EMIT && (b = B, E());
3110
3119
  return;
3111
3120
  case U.ADD:
3112
- F === _.EXECUTE && s(U.ADD, B, u.detailData);
3121
+ L === _.EXECUTE && s(U.ADD, B, u.detailData);
3113
3122
  return;
3114
3123
  case U.EDIT:
3115
- F === _.EXECUTE && s(U.EDIT, B, u.detailData);
3124
+ L === _.EXECUTE && s(U.EDIT, B, u.detailData);
3116
3125
  return;
3117
3126
  case U.DELETE:
3118
- F === _.EMIT ? s(U.DELETE, H, e.rowKey) : F === _.SUCCESS && E();
3127
+ L === _.EMIT ? s(U.DELETE, H, e.rowKey) : L === _.SUCCESS && E();
3119
3128
  return;
3120
3129
  }
3121
3130
  v && S === _.EXECUTE && s(v, B);
@@ -3155,10 +3164,10 @@ const ba = () => ({
3155
3164
  return (S = t.default) == null ? void 0 : S.call(t);
3156
3165
  };
3157
3166
  }
3158
- }), Je = O({
3167
+ }), Qe = O({
3159
3168
  props: {
3160
- ...D(He.props, "state", "requests"),
3161
- ...Ft.props,
3169
+ ...D(ze.props, "state", "requests"),
3170
+ ...Lt.props,
3162
3171
  curdState: {
3163
3172
  type: Object
3164
3173
  }
@@ -3170,7 +3179,7 @@ const ba = () => ({
3170
3179
  const {
3171
3180
  elementMap: a,
3172
3181
  formElementMap: o
3173
- } = ce(), n = Q(), u = Q(), l = e.curdState || ve({
3182
+ } = ce(), n = Q(), u = Q(), l = e.curdState || ye({
3174
3183
  detailData: {}
3175
3184
  }), s = {
3176
3185
  [U.LIST]: {
@@ -3216,14 +3225,14 @@ const ba = () => ({
3216
3225
  convertParams: (d, g) => ne(d, g),
3217
3226
  label: "\u5220\u9664"
3218
3227
  }
3219
- }, i = L(e.operates, (d) => {
3228
+ }, i = F(e.operates, (d) => {
3220
3229
  var y;
3221
3230
  const g = p(s, d.action), C = ((y = e.convertOperate) == null ? void 0 : y.call(e, d, g)) || d;
3222
3231
  return {
3223
3232
  ...g,
3224
3233
  ...C
3225
3234
  };
3226
- }), f = J(i, (d) => d.actor), m = Z(D(He.props, "state", "requests"));
3235
+ }), f = J(i, (d) => d.actor), m = Z(D(ze.props, "state", "requests"));
3227
3236
  return r({
3228
3237
  sendCurdEvent: (d) => {
3229
3238
  var g;
@@ -3241,14 +3250,14 @@ const ba = () => ({
3241
3250
  var C;
3242
3251
  (C = n.value) == null || C.sendRequest(d, ...g);
3243
3252
  }
3244
- }), () => c(He, R({
3253
+ }), () => c(ze, R({
3245
3254
  ref: n
3246
3255
  }, ne(e, m), {
3247
3256
  elementMap: e.elementMap || a,
3248
3257
  state: l,
3249
3258
  requests: f
3250
3259
  }), {
3251
- default: () => [c(Ft, R({
3260
+ default: () => [c(Lt, R({
3252
3261
  ref: u
3253
3262
  }, D(e, ...m, "curdState", "operates", "convertOperate"), {
3254
3263
  formElementMap: e.formElementMap || o,
@@ -3288,7 +3297,7 @@ const ba = () => ({
3288
3297
  if (l.title)
3289
3298
  return l.title;
3290
3299
  const s = l.label || "";
3291
- return a && ye(s) ? `${a}-${s}` : s;
3300
+ return a && me(s) ? `${a}-${s}` : s;
3292
3301
  });
3293
3302
  return {
3294
3303
  clearMode: o,
@@ -3299,7 +3308,7 @@ const ba = () => ({
3299
3308
  defaultAddRecord: {
3300
3309
  type: Object
3301
3310
  }
3302
- }), We = O({
3311
+ }), He = O({
3303
3312
  props: {
3304
3313
  ...Sa()
3305
3314
  },
@@ -3335,7 +3344,7 @@ const ba = () => ({
3335
3344
  }), t({
3336
3345
  type: "detailData",
3337
3346
  payload: e.defaultAddRecord || (s == null ? void 0 : s.value) || {}
3338
- })) : y === _.SUCCESS && (i && (i.page = 1), l(), o.addAction === je.CONTINUE ? t({
3347
+ })) : y === _.SUCCESS && (i && (i.page = 1), l(), o.addAction === $e.CONTINUE ? t({
3339
3348
  type: "detailData",
3340
3349
  payload: e.defaultAddRecord || (s == null ? void 0 : s.value) || {}
3341
3350
  }) : t({
@@ -3362,7 +3371,7 @@ const ba = () => ({
3362
3371
  return;
3363
3372
  let h = y, M = b == null ? void 0 : b.type;
3364
3373
  const w = b == null ? void 0 : b.record;
3365
- switch (h === Fe.Success && (h = p(b, ["requestOpts", "action"]), M = _.SUCCESS), h) {
3374
+ switch (h === Re.Success && (h = p(b, ["requestOpts", "action"]), M = _.SUCCESS), h) {
3366
3375
  case U.DETAIL:
3367
3376
  m(M, {
3368
3377
  record: w
@@ -3381,8 +3390,8 @@ const ba = () => ({
3381
3390
  }
3382
3391
  }), To = O({
3383
3392
  props: {
3384
- ...Je.props,
3385
- ...We.props
3393
+ ...Qe.props,
3394
+ ...He.props
3386
3395
  },
3387
3396
  setup: (e, {
3388
3397
  slots: t,
@@ -3390,13 +3399,13 @@ const ba = () => ({
3390
3399
  }) => {
3391
3400
  const a = Q();
3392
3401
  r(Ie(Pt, a));
3393
- const o = Z(We.props), u = te()(z.ProCurdKey);
3402
+ const o = Z(He.props), u = te()(z.ProCurdKey);
3394
3403
  return () => u ? c(u, R({
3395
3404
  ref: a
3396
3405
  }, D(e, o)), {
3397
3406
  default: () => {
3398
3407
  var l;
3399
- return [c(We, ne(e, o), null), (l = t.default) == null ? void 0 : l.call(t)];
3408
+ return [c(He, ne(e, o), null), (l = t.default) == null ? void 0 : l.call(t)];
3400
3409
  }
3401
3410
  }) : null;
3402
3411
  }
@@ -3407,7 +3416,7 @@ const ba = () => ({
3407
3416
  routeBack: {
3408
3417
  type: Function
3409
3418
  }
3410
- }), ut = O({
3419
+ }), ot = O({
3411
3420
  props: {
3412
3421
  ...Pa()
3413
3422
  },
@@ -3451,7 +3460,7 @@ const ba = () => ({
3451
3460
  }), a({
3452
3461
  type: "detailData",
3453
3462
  payload: e.defaultAddRecord || {}
3454
- })) : m === _.SUCCESS && (u.addAction === je.CONTINUE ? a({
3463
+ })) : m === _.SUCCESS && (u.addAction === $e.CONTINUE ? a({
3455
3464
  type: "detailData",
3456
3465
  payload: e.defaultAddRecord || {}
3457
3466
  }) : e.routeBack ? e.routeBack(U.ADD) : t.go(-1));
@@ -3475,7 +3484,7 @@ const ba = () => ({
3475
3484
  return;
3476
3485
  let C = m, y = d == null ? void 0 : d.type;
3477
3486
  const b = d == null ? void 0 : d.record;
3478
- switch (C === Fe.Success && (C = p(d, ["requestOpts", "action"]), y = _.SUCCESS), C) {
3487
+ switch (C === Re.Success && (C = p(d, ["requestOpts", "action"]), y = _.SUCCESS), C) {
3479
3488
  case U.LIST:
3480
3489
  l(y);
3481
3490
  break;
@@ -3497,8 +3506,8 @@ const ba = () => ({
3497
3506
  }
3498
3507
  }), ko = O({
3499
3508
  props: {
3500
- ...Je.props,
3501
- ...ut.props
3509
+ ...Qe.props,
3510
+ ...ot.props
3502
3511
  },
3503
3512
  setup: (e, {
3504
3513
  slots: t,
@@ -3506,17 +3515,17 @@ const ba = () => ({
3506
3515
  }) => {
3507
3516
  const a = Q();
3508
3517
  r(Ie(Pt, a));
3509
- const o = Z(ut.props);
3510
- return () => c(Je, R({
3518
+ const o = Z(ot.props);
3519
+ return () => c(Qe, R({
3511
3520
  ref: a
3512
3521
  }, D(e, o)), {
3513
3522
  default: () => {
3514
3523
  var n;
3515
- return [c(ut, ne(e, o), null), (n = t.default) == null ? void 0 : n.call(t)];
3524
+ return [c(ot, ne(e, o), null), (n = t.default) == null ? void 0 : n.call(t)];
3516
3525
  }
3517
3526
  });
3518
3527
  }
3519
- }), Lt = O({
3528
+ }), Ft = O({
3520
3529
  props: {
3521
3530
  buttonProps: Object
3522
3531
  },
@@ -3573,7 +3582,7 @@ const ba = () => ({
3573
3582
  sendCurdEvent: l,
3574
3583
  operates: s,
3575
3584
  refreshList: i
3576
- } = oe(), f = L(
3585
+ } = oe(), f = F(
3577
3586
  J(s, (M) => {
3578
3587
  const w = M.action;
3579
3588
  return w === U.DETAIL || w === U.EDIT || w === U.DELETE || M.tableOperate;
@@ -3645,11 +3654,11 @@ const ba = () => ({
3645
3654
  var j;
3646
3655
  return c("div", {
3647
3656
  class: "pro-curd-list-search-end"
3648
- }, [c(Lt, (j = e.addConfig) == null ? void 0 : j.buttonProps, null)]);
3657
+ }, [c(Ft, (j = e.addConfig) == null ? void 0 : j.buttonProps, null)]);
3649
3658
  } : void 0,
3650
3659
  "table-toolbarExtra": (K = e.addConfig) != null && K.inTable ? (j) => {
3651
3660
  var G;
3652
- return c(me, null, [c(Lt, (G = e.addConfig) == null ? void 0 : G.buttonProps, null), j]);
3661
+ return c(fe, null, [c(Ft, (G = e.addConfig) == null ? void 0 : G.buttonProps, null), j]);
3653
3662
  } : void 0,
3654
3663
  ...t,
3655
3664
  search: t.search ? (j) => t.search(j, d.value) : void 0,
@@ -3698,7 +3707,7 @@ const ba = () => ({
3698
3707
  signName: {
3699
3708
  type: String
3700
3709
  }
3701
- }), rt = O({
3710
+ }), nt = O({
3702
3711
  props: {
3703
3712
  ...xa()
3704
3713
  },
@@ -3718,10 +3727,10 @@ const ba = () => ({
3718
3727
  r(Ie(e.formMethods || [], f));
3719
3728
  const m = x(() => e.signName ? s(e.signName) : l.value), d = () => {
3720
3729
  var h;
3721
- u.addAction = je.NORMAL, (h = f.value) == null || h.submit();
3730
+ u.addAction = $e.NORMAL, (h = f.value) == null || h.submit();
3722
3731
  }, g = () => {
3723
3732
  var h;
3724
- u.addAction = je.CONTINUE, (h = f.value) == null || h.submit();
3733
+ u.addAction = $e.CONTINUE, (h = f.value) == null || h.submit();
3725
3734
  }, C = [
3726
3735
  {
3727
3736
  value: ie.RESET,
@@ -3776,7 +3785,7 @@ const ba = () => ({
3776
3785
  const {
3777
3786
  formProps: e
3778
3787
  } = oe();
3779
- return () => c(rt, D(e == null ? void 0 : e.value, "slots"), p(e == null ? void 0 : e.value, "slots"));
3788
+ return () => c(nt, D(e == null ? void 0 : e.value, "slots"), p(e == null ? void 0 : e.value, "slots"));
3780
3789
  }), Ea = () => ({
3781
3790
  signName: {
3782
3791
  type: String
@@ -3816,7 +3825,7 @@ const ba = () => ({
3816
3825
  overrideProps: {
3817
3826
  type: Object
3818
3827
  }
3819
- }), Fn = O({
3828
+ }), Ln = O({
3820
3829
  props: {
3821
3830
  ...jt()
3822
3831
  },
@@ -3844,7 +3853,8 @@ const ba = () => ({
3844
3853
  maskClosable: d === U.DETAIL,
3845
3854
  footer: r.detailLoading || d === U.DETAIL ? !1 : void 0
3846
3855
  }, e.overrideProps, {
3847
- "onUpdate:modelValue": l
3856
+ "onUpdate:modelValue": l,
3857
+ "onUpdate:visible": l
3848
3858
  }), {
3849
3859
  default: () => {
3850
3860
  var g;
@@ -3868,14 +3878,14 @@ const ba = () => ({
3868
3878
  setup: (e, {
3869
3879
  slots: t
3870
3880
  }) => {
3871
- const r = Q(), a = pe(t, "modal"), o = pe(t, "form");
3872
- return () => c(Fn, R(e.modalProps, {
3881
+ const r = Q(), a = he(t, "modal"), o = he(t, "form");
3882
+ return () => c(Ln, R(e.modalProps, {
3873
3883
  onOk: () => {
3874
3884
  var n;
3875
3885
  (n = r.value) == null || n.submit();
3876
3886
  }
3877
3887
  }), {
3878
- default: () => [c(rt, R({
3888
+ default: () => [c(nt, R({
3879
3889
  ref: r
3880
3890
  }, e.formProps), o)],
3881
3891
  ...a
@@ -3886,13 +3896,13 @@ const ba = () => ({
3886
3896
  modalProps: e,
3887
3897
  formProps: t
3888
3898
  } = oe(), r = Q();
3889
- return () => c(Fn, R(D(e == null ? void 0 : e.value, "slots"), {
3899
+ return () => c(Ln, R(D(e == null ? void 0 : e.value, "slots"), {
3890
3900
  onOk: () => {
3891
3901
  var a;
3892
3902
  (a = r.value) == null || a.submit();
3893
3903
  }
3894
3904
  }), {
3895
- default: () => [c(rt, R({
3905
+ default: () => [c(nt, R({
3896
3906
  ref: r
3897
3907
  }, D(t == null ? void 0 : t.value, "slots")), p(t == null ? void 0 : t.value, "slots"))],
3898
3908
  ...p(e == null ? void 0 : e.value, "slots")
@@ -3986,7 +3996,7 @@ const ba = () => ({
3986
3996
  }), {
3987
3997
  default: () => {
3988
3998
  var n, u;
3989
- return [(n = t.start) == null ? void 0 : n.call(t), c(rt, R({
3999
+ return [(n = t.start) == null ? void 0 : n.call(t), c(nt, R({
3990
4000
  ref: a
3991
4001
  }, D(r == null ? void 0 : r.value, "slots")), p(r == null ? void 0 : r.value, "slots")), (u = t.end) == null ? void 0 : u.call(t)];
3992
4002
  },
@@ -4008,7 +4018,7 @@ const ba = () => ({
4008
4018
  }
4009
4019
  }), Do = O({
4010
4020
  props: {
4011
- ...Je.props,
4021
+ ...Qe.props,
4012
4022
  ...Ut()
4013
4023
  },
4014
4024
  setup: (e, {
@@ -4025,15 +4035,15 @@ const ba = () => ({
4025
4035
  }, D(e, u)), {
4026
4036
  default: () => {
4027
4037
  var i;
4028
- return [l === "page" && c(Ia, null, null), l === "list" && c(Ca, null, null), s === "page" && c(Na, null, null), s === "modal" && c(Ta, null, null), (s === "page" || s === "modal") && c(We, null, null), (i = t.default) == null ? void 0 : i.call(t)];
4038
+ return [l === "page" && c(Ia, null, null), l === "list" && c(Ca, null, null), s === "page" && c(Na, null, null), s === "modal" && c(Ta, null, null), (s === "page" || s === "modal") && c(He, null, null), (i = t.default) == null ? void 0 : i.call(t)];
4029
4039
  }
4030
4040
  });
4031
4041
  };
4032
4042
  }
4033
- }), Aa = ln("app-config", void 0, !0), Ln = () => {
4043
+ }), Aa = ln("app-config", void 0, !0), Fn = () => {
4034
4044
  const {
4035
4045
  appConfig: e
4036
- } = ce(), [t, r] = Aa(), a = ve({
4046
+ } = ce(), [t, r] = Aa(), a = ye({
4037
4047
  ...e,
4038
4048
  ...t
4039
4049
  });
@@ -4068,7 +4078,7 @@ const ba = () => ({
4068
4078
  appConfig: a,
4069
4079
  setAppConfig: o,
4070
4080
  delAppConfig: n
4071
- } = Ln(), u = ve({
4081
+ } = Fn(), u = ye({
4072
4082
  ...a
4073
4083
  }), l = () => {
4074
4084
  r("cancel");
@@ -4183,7 +4193,7 @@ const ba = () => ({
4183
4193
  }, {
4184
4194
  key: "horizontal-v",
4185
4195
  child: ["left"]
4186
- }], m = x(() => L(e.columns || i, (b) => b.valueType === "title" ? {
4196
+ }], m = x(() => F(e.columns || i, (b) => b.valueType === "title" ? {
4187
4197
  ...ne(b, "dataIndex"),
4188
4198
  formItemProps: {
4189
4199
  class: "pro-app-config_form_title"
@@ -4193,12 +4203,12 @@ const ba = () => ({
4193
4203
  ...ne(b, "dataIndex"),
4194
4204
  inputRender: () => c("div", {
4195
4205
  class: "pro-app-config_form_layout"
4196
- }, [L(f, (E) => {
4206
+ }, [F(f, (E) => {
4197
4207
  const h = a.layout === E.key;
4198
4208
  return c("div", {
4199
4209
  class: h ? "selected" : void 0,
4200
4210
  onClick: () => s(E.key)
4201
- }, [L(E.child, (M) => c("div", {
4211
+ }, [F(E.child, (M) => c("div", {
4202
4212
  class: M
4203
4213
  }, null))]);
4204
4214
  })])
@@ -4222,7 +4232,7 @@ const ba = () => ({
4222
4232
  type: "primary",
4223
4233
  onClick: d
4224
4234
  }, {
4225
- default: () => [Ae("\u6062\u590D\u9ED8\u8BA4\u914D\u7F6E")]
4235
+ default: () => [lt("\u6062\u590D\u9ED8\u8BA4\u914D\u7F6E")]
4226
4236
  })])];
4227
4237
  }
4228
4238
  });
@@ -4280,7 +4290,7 @@ const ba = () => ({
4280
4290
  inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"
4281
4291
  }
4282
4292
  };
4283
- }, Fa = () => ({
4293
+ }, La = () => ({
4284
4294
  theme: {
4285
4295
  type: Object
4286
4296
  },
@@ -4307,14 +4317,14 @@ const ba = () => ({
4307
4317
  }
4308
4318
  }), Ro = O({
4309
4319
  props: {
4310
- ...Fa()
4320
+ ...La()
4311
4321
  },
4312
4322
  setup: (e, {
4313
4323
  slots: t
4314
4324
  }) => {
4315
4325
  const {
4316
4326
  appConfig: r
4317
- } = Ln(), [a, o] = et(), n = x(() => e.mode ? e.mode : r.isDark ? "dark" : "light"), u = () => {
4327
+ } = Fn(), [a, o] = Ze(), n = x(() => e.mode ? e.mode : r.isDark ? "dark" : "light"), u = () => {
4318
4328
  var d;
4319
4329
  if (e.theme)
4320
4330
  return e.theme;
@@ -4326,7 +4336,7 @@ const ba = () => ({
4326
4336
  primary: ((d = m == null ? void 0 : m.color) == null ? void 0 : d.primary) || r.primary
4327
4337
  }
4328
4338
  }, n.value === "dark" ? e.darkThemeToken : e.lightThemeToken);
4329
- }, l = ve({
4339
+ }, l = ye({
4330
4340
  ...u()
4331
4341
  });
4332
4342
  Ce(() => {
@@ -4338,17 +4348,17 @@ const ba = () => ({
4338
4348
  o();
4339
4349
  }, l, {
4340
4350
  deep: !0
4341
- }), Se(dn, {
4351
+ }), be(dn, {
4342
4352
  theme: l
4343
4353
  });
4344
4354
  const s = x(() => e.createCssVar ? e.createCssVar(l, n.value) : {}), i = x(() => n.value === "dark" ? {
4345
4355
  "html.dark": s.value
4346
4356
  } : {
4347
4357
  ":root": s.value
4348
- }), f = x(() => Ze(L(s.value, (m, d) => `${d}:${m}`), ";"));
4358
+ }), f = x(() => Je(F(s.value, (m, d) => `${d}:${m}`), ";"));
4349
4359
  return () => {
4350
4360
  var m, d;
4351
- return e.global ? c(me, null, [e.createCssVar && c(vr, {
4361
+ return e.global ? c(fe, null, [e.createCssVar && c(vr, {
4352
4362
  key: a.value,
4353
4363
  styles: i.value
4354
4364
  }, null), (m = t.default) == null ? void 0 : m.call(t)]) : c("div", {
@@ -4359,11 +4369,11 @@ const ba = () => ({
4359
4369
  }
4360
4370
  });
4361
4371
  export {
4362
- Lt as AddButton,
4372
+ Ft as AddButton,
4363
4373
  pr as AppConfig,
4364
4374
  jr as ColumnSetting,
4365
4375
  U as CurdAction,
4366
- je as CurdAddAction,
4376
+ $e as CurdAddAction,
4367
4377
  Pe as CurdCurrentMode,
4368
4378
  Pt as CurdMethods,
4369
4379
  _ as CurdSubAction,
@@ -4373,24 +4383,24 @@ export {
4373
4383
  so as FormRulePrefixMap,
4374
4384
  mo as LogonUser,
4375
4385
  Pn as LogonUserKey,
4376
- We as ModalCurdOpe,
4386
+ He as ModalCurdOpe,
4377
4387
  yo as MustLogon,
4378
- ot as PageHeader,
4388
+ at as PageHeader,
4379
4389
  vo as PerSuffix,
4380
4390
  ho as Permission,
4381
4391
  Ko as ProAppConfigDrawer,
4382
4392
  Za as ProConfig,
4383
- Je as ProCurd,
4393
+ Qe as ProCurd,
4384
4394
  wa as ProCurdDesc,
4385
4395
  Ao as ProCurdDescConnect,
4386
- rt as ProCurdForm,
4396
+ nt as ProCurdForm,
4387
4397
  No as ProCurdFormConnect,
4388
4398
  ka as ProCurdFormPage,
4389
4399
  Rn as ProCurdList,
4390
4400
  Ca as ProCurdListConnect,
4391
4401
  Ma as ProCurdListPage,
4392
4402
  Ia as ProCurdListPageConnect,
4393
- Fn as ProCurdModal,
4403
+ Ln as ProCurdModal,
4394
4404
  Oo as ProCurdModalForm,
4395
4405
  Ta as ProCurdModalFormConnect,
4396
4406
  Do as ProCurdModule,
@@ -4404,7 +4414,7 @@ export {
4404
4414
  xn as ProLayoutKey,
4405
4415
  Zr as ProList,
4406
4416
  To as ProModalCurd,
4407
- He as ProModule,
4417
+ ze as ProModule,
4408
4418
  pt as ProOperate,
4409
4419
  En as ProPage,
4410
4420
  ko as ProPageCurd,
@@ -4413,7 +4423,7 @@ export {
4413
4423
  Mo as ProShowDate,
4414
4424
  So as ProShowDigit,
4415
4425
  Po as ProShowOptions,
4416
- nt as ProShowText,
4426
+ tt as ProShowText,
4417
4427
  Co as ProShowTree,
4418
4428
  po as ProTable,
4419
4429
  Ro as ProTheme,
@@ -4423,9 +4433,9 @@ export {
4423
4433
  Io as ProUploaderText,
4424
4434
  bo as ProValue,
4425
4435
  _r as ProWatermark,
4426
- Fe as RequestAction,
4436
+ Re as RequestAction,
4427
4437
  aa as RouterMethods,
4428
- Ye as SearchMode,
4438
+ Xe as SearchMode,
4429
4439
  dn as ThemeKey,
4430
4440
  vt as ThemeToken,
4431
4441
  va as Wrapper,
@@ -4438,8 +4448,8 @@ export {
4438
4448
  eo as createProConfig,
4439
4449
  Ra as createTheme,
4440
4450
  Qr as defaultPage,
4441
- pe as filterSlotsByPrefix,
4442
- ge as getColumnFormItemName,
4451
+ he as filterSlotsByPrefix,
4452
+ pe as getColumnFormItemName,
4443
4453
  kn as getColumnValueType,
4444
4454
  ya as getFirstPropName,
4445
4455
  fa as getRealRender,
@@ -4447,20 +4457,20 @@ export {
4447
4457
  xr as getValidValues,
4448
4458
  ma as isValidConfig,
4449
4459
  Le as isValidNode,
4450
- tt as mergeState,
4460
+ et as mergeState,
4451
4461
  ao as mergeStateToList,
4452
4462
  we as proBaseProps,
4453
4463
  ga as provideProCurd,
4454
4464
  pn as provideProFormList,
4455
4465
  ia as provideProModule,
4456
4466
  bt as renderColumn,
4457
- $e as renderElement,
4467
+ Fe as renderElement,
4458
4468
  St as renderElements,
4459
4469
  Nn as renderInputColumn,
4460
4470
  wn as showValue,
4461
4471
  Or as useAccess,
4462
4472
  fo as useAccessMgr,
4463
- Ln as useAppConfig,
4473
+ Fn as useAppConfig,
4464
4474
  Sr as useComposeRequestActor,
4465
4475
  Kn as useCurdCommon,
4466
4476
  ca as useDispatchStore,
@@ -4478,7 +4488,7 @@ export {
4478
4488
  oe as useProCurd,
4479
4489
  bn as useProForm,
4480
4490
  hn as useProFormList,
4481
- qe as useProLayout,
4491
+ Be as useProLayout,
4482
4492
  Qa as useProModal,
4483
4493
  Ee as useProModule,
4484
4494
  Ya as useProMsg,