@vue-start/pro 0.5.44 → 0.5.45

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,26 +1,26 @@
1
- import { defineComponent as D, provide as ve, inject as he, createVNode as i, mergeProps as F, isVNode as we, Fragment as le, reactive as Se, computed as N, ref as W, createTextVNode as Be, toRef as Pn, KeepAlive as Cn, Teleport as Mn, h as Ne } from "vue";
2
- import { reduce as re, get as h, map as $, isString as de, forEach as ne, filter as _, keys as Y, omit as R, isArray as J, split as Tn, isFunction as X, isEmpty as Dt, isObject as Oe, mergeWith as En, size as Q, startsWith as xn, pick as Z, mapKeys as In, set as fe, debounce as Rt, clone as wn, some as pe, isBoolean as Ke, has as rt, sortBy as Ft, every as Nn, isNumber as at, join as ot, find as et, findIndex as On, findLast as Kn, endsWith as $t, add as An, subtract as Dn, head as Rn, cloneDeep as Lt } from "lodash";
3
- import { filter as Ue, tap as qe, merge as Fn, Subject as $n } from "rxjs";
4
- import { map as Ln, tap as kn } from "rxjs/operators";
5
- import { mergeStateToData as jn, mergeStateToData2 as Bn, useEffect as ae, useUpdateKey as ut, useRuleState as Ye, convertCollection as kt, useWatch as lt, useState as bt, signTableMerge as Un, useResizeObserver as ke, decimalFixed as qn, thousandDivision as Vn, listToMap as zn, treeToMap as jt, jsonToStr as Ve, filterCollection as Hn, getMenuTopNameMap as gt, findTreeItem as pt, findFirstValidMenu as Bt, strToJson as ct, setReactiveValue as Ut, restorePath as qt, isValidPath as Vt, isPathHasParent as zt, useSafeActivated as Wn } from "@vue-start/hooks";
6
- import { useRequestProvide as Fe, isDoneRequestActor as Ht, isFailedRequestActor as Wt } from "@vue-start/request";
7
- import { useDispatchStore as Gt, useStore as Xt, createStateUse as Gn, useObservableRef as Xn, useStoreConn as _n, shallowEqual as Yn } from "@vue-start/store";
8
- import { useRoute as st, useRouter as it, RouterView as Qn, parseQuery as St, stringifyQuery as Jn } from "vue-router";
9
- import Pt from "dayjs";
10
- import { css as Ct } from "@emotion/css";
11
- import { Global as Zn } from "@vue-start/css";
12
- import { mix as _t } from "polished";
13
- const er = () => ({
1
+ import { defineComponent as D, provide as ve, inject as he, createVNode as i, mergeProps as $, isVNode as we, Fragment as le, reactive as be, computed as N, ref as W, createTextVNode as Ue, toRef as Tn, KeepAlive as En, Teleport as Rt, h as Ne } from "vue";
2
+ import { reduce as ae, get as h, map as F, isString as de, forEach as ne, isFunction as _, filter as X, keys as Y, omit as R, isArray as J, split as xn, isEmpty as $t, isObject as Oe, mergeWith as In, size as Q, startsWith as wn, pick as Z, mapKeys as Nn, set as fe, debounce as Ft, clone as On, some as Se, isBoolean as Ke, has as rt, sortBy as Lt, every as Kn, isNumber as at, join as ot, find as et, findIndex as An, findLast as Dn, endsWith as kt, add as Rn, subtract as $n, head as Fn, cloneDeep as jt } from "lodash";
3
+ import { filter as Ae, tap as qe, merge as Ln, Subject as kn } from "rxjs";
4
+ import { map as jn, tap as Bn } from "rxjs/operators";
5
+ import { mergeStateToData as Un, mergeStateToData2 as qn, useEffect as re, useUpdateKey as ut, useRuleState as Ye, convertCollection as Bt, useWatch as lt, useState as gt, signTableMerge as Vn, useResizeObserver as je, decimalFixed as zn, thousandDivision as Hn, listToMap as Wn, treeToMap as Ut, jsonToStr as Ve, filterCollection as Gn, getMenuTopNameMap as pt, findTreeItem as St, findFirstValidMenu as qt, strToJson as ct, setReactiveValue as Vt, restorePath as zt, isValidPath as Ht, isPathHasParent as Wt, useSafeActivated as _n } from "@vue-start/hooks";
6
+ import { useRequestProvide as Fe, isDoneRequestActor as st, isFailedRequestActor as Gt } from "@vue-start/request";
7
+ import { useDispatchStore as _t, useObservableRef as Xt, useStoreConn as Yt, createStateUse as Xn, useStore as Yn, shallowEqual as Qn } from "@vue-start/store";
8
+ import { useRoute as it, useRouter as dt, RouterView as Jn, parseQuery as Pt, stringifyQuery as Zn } from "vue-router";
9
+ import Ct from "dayjs";
10
+ import { css as Mt } from "@emotion/css";
11
+ import { Global as er } from "@vue-start/css";
12
+ import { mix as Qt } from "polished";
13
+ const tr = () => ({
14
14
  elementMap: { type: Object },
15
15
  formElementMap: { type: Object },
16
16
  columns: { type: Array },
17
17
  convertColumn: { type: Function },
18
18
  columnState: { type: Object },
19
19
  columnState2: { type: Object }
20
- }), Ce = er(), We = (e, t, r) => {
20
+ }), Ce = tr(), We = (e, t, r) => {
21
21
  let o = e;
22
- return t && (o = jn(o, t, (a) => ye(a))), r && (o = Bn(o, r, (a) => ye(a))), o;
23
- }, tr = () => ({
22
+ return t && (o = Un(o, t, (n) => ye(n))), r && (o = qn(o, r, (n) => ye(n))), o;
23
+ }, nr = () => ({
24
24
  elementMap: { type: Object },
25
25
  formElementMap: { type: Object },
26
26
  formExtraMap: { type: Object },
@@ -32,34 +32,32 @@ const er = () => ({
32
32
  showMsg: { type: Function },
33
33
  showModal: { type: Function },
34
34
  showNotify: { type: Function }
35
- }), dt = Symbol("pro-config"), oe = () => he(dt) || {}, Ca = () => {
35
+ }), ft = Symbol("pro-config"), oe = () => he(ft) || {}, Ea = () => {
36
36
  const { showMsg: e } = oe();
37
37
  return (t) => e(t);
38
- }, Ma = () => {
38
+ }, xa = () => {
39
39
  const { showModal: e } = oe();
40
40
  return (t) => e(t);
41
- }, Ta = () => {
41
+ }, Ia = () => {
42
42
  const { showNotify: e } = oe();
43
43
  return (t) => e(t);
44
- }, Ea = D({
44
+ }, wa = D({
45
45
  props: {
46
- ...tr()
46
+ ...nr()
47
47
  },
48
48
  setup: (e, { slots: t }) => {
49
- const r = re(e.registerStores, (l, c) => ({ ...l, [c.key]: c }), {}), o = re(e.registerActors, (l, c) => ({ ...l, [c.actor.name]: c }), {}), a = re(e.registerMetas, (l, c) => ({ ...l, [c.actorName]: c }), {});
50
- ar(a, o);
51
- const { dispatchRequest: n } = Fe(), u = (l, c, d) => {
49
+ const r = ae(e.registerStores, (l, c) => ({ ...l, [c.key]: c }), {}), o = ae(e.registerActors, (l, c) => ({ ...l, [c.actor.name]: c }), {}), n = ae(e.registerMetas, (l, c) => ({ ...l, [c.actorName]: c }), {}), { dispatchRequest: a } = Fe(), u = (l, c, d) => {
52
50
  const y = h(o, l);
53
51
  if (!!y)
54
- return n(y.actor, c, d);
52
+ return a(y.actor, c, d);
55
53
  };
56
- return ve(dt, {
54
+ return or(n, o), ve(ft, {
57
55
  elementMap: e.elementMap,
58
56
  formElementMap: e.formElementMap,
59
57
  formExtraMap: e.formExtraMap,
60
58
  registerStoreMap: r,
61
59
  registerActorMap: o,
62
- registerMetaMap: a,
60
+ registerMetaMap: n,
63
61
  dispatchRequest: u,
64
62
  convertRouter: e.convertRouter,
65
63
  showMsg: e.showMsg,
@@ -70,77 +68,75 @@ const er = () => ({
70
68
  return (l = t.default) == null ? void 0 : l.call(t);
71
69
  };
72
70
  }
73
- }), xa = (e = {}) => (t) => {
74
- t.provide(dt, e);
75
- }, Yt = (e) => (t, r) => {
76
- const { requestSubject$: o } = Fe(), a = new Set($(t, (n) => de(n) ? n : n.name));
77
- ae(() => {
78
- const n = o.pipe(
79
- Ue(e),
71
+ }), Na = (e = {}) => (t) => {
72
+ t.provide(ft, e);
73
+ }, Jt = (e) => (t, r) => {
74
+ const { requestSubject$: o } = Fe(), n = new Set(F(t, (a) => de(a) ? a : a.name));
75
+ re(() => {
76
+ const a = o.pipe(
77
+ Ae(e),
80
78
  qe((u) => {
81
- a.has(u.name) && r(u);
79
+ n.has(u.name) && r(u);
82
80
  })
83
81
  ).subscribe();
84
82
  return () => {
85
- n.unsubscribe();
83
+ a.unsubscribe();
86
84
  };
87
85
  }, []);
88
- }, Ia = Yt(Ht), wa = Yt(Wt), nr = (e, t, r) => {
89
- const { requestSubject$: o, dispatchRequest: a } = Fe(), n = new Set($(e, (l) => de(l) ? l : l.name)), u = {};
90
- ae(() => {
91
- const l = Fn(
86
+ }, Oa = Jt(st), Ka = Jt(Gt), rr = (e, t, r) => {
87
+ const { requestSubject$: o, dispatchRequest: n } = Fe(), a = new Set(F(e, (l) => de(l) ? l : l.name)), u = {};
88
+ re(() => {
89
+ const l = Ln(
92
90
  o.pipe(
93
- Ue(Ht),
91
+ Ae(st),
94
92
  qe((c) => {
95
93
  var d, y;
96
- n.has(c.name) && ((d = t.onSuccess) == null || d.call(t, c), (y = t.onFinish) == null || y.call(t, c), u[c.name] = void 0);
94
+ a.has(c.name) && ((d = t.onSuccess) == null || d.call(t, c), (y = t.onFinish) == null || y.call(t, c), u[c.name] = void 0);
97
95
  })
98
96
  ),
99
97
  o.pipe(
100
- Ue(Wt),
98
+ Ae(Gt),
101
99
  qe((c) => {
102
100
  var d, y;
103
- n.has(c.name) && ((d = t.onFailed) == null || d.call(t, c), (y = t.onFinish) == null || y.call(t, c), u[c.name] = void 0);
101
+ a.has(c.name) && ((d = t.onFailed) == null || d.call(t, c), (y = t.onFinish) == null || y.call(t, c), u[c.name] = void 0);
104
102
  })
105
103
  )
106
104
  ).subscribe();
107
105
  return () => {
108
106
  l.unsubscribe(), r && ne(u, (c) => {
109
- c && a({ ...c, stage: "CANCEL" });
107
+ c && n({ ...c, stage: "CANCEL" });
110
108
  });
111
109
  };
112
110
  }, []);
113
- }, rr = (e, t, r) => {
114
- var a;
115
- const o = (a = e.res) == null ? void 0 : a.data;
111
+ }, ar = (e, t, r) => {
112
+ var n;
113
+ const o = (n = e.res) == null ? void 0 : n.data;
116
114
  return t ? t(o, e) : r ? h(o, r) : o;
117
- }, Na = () => {
118
- const e = Xt(), { registerMetaMap: t, dispatchRequest: r } = oe();
119
- return (o) => {
120
- const a = h(t, o);
121
- if (!a)
122
- return;
123
- const n = a.storeName || o;
124
- h(e.value, n) || r(o, a.initParams || {});
125
- };
126
- }, ar = (e, t) => {
127
- const { requestSubject$: r } = Fe(), o = Gt(), a = (n) => {
128
- const u = h(e, n.name), l = h(t, n.name);
115
+ }, Zt = (e, t) => _(e) ? "meta_" + e(t) : "meta_" + e, Aa = (e, t) => {
116
+ const { registerMetaMap: r, dispatchRequest: o } = oe(), n = h(r, e);
117
+ if (!n)
118
+ return {};
119
+ const a = Zt(n.storeName || e, t || n.initParams), l = Xt(Yt((c) => h(c, a)));
120
+ return l.value || o(e, t || n.initParams || {}), l;
121
+ }, or = (e, t) => {
122
+ const { requestSubject$: r } = Fe(), o = _t(), n = (a) => {
123
+ const u = h(e, a.name), l = h(t, a.name);
129
124
  return !!(u && l && l.actor);
130
125
  };
131
- ae(() => {
132
- const n = r.pipe(
133
- Ue(a),
126
+ re(() => {
127
+ const a = r.pipe(
128
+ Ae(n),
129
+ Ae(st),
134
130
  qe((u) => {
135
131
  const l = h(e, u.name);
136
132
  if (!l)
137
133
  return;
138
- const c = l.storeName || u.name, d = rr(u, l.convertData, l.convertPath);
139
- o(c, d, !1, void 0);
134
+ const c = l.storeName || u.name, d = ar(u, l.convertData, l.convertPath), y = Zt(c, u.req);
135
+ o(y, d, !1, void 0);
140
136
  })
141
137
  ).subscribe();
142
138
  return () => {
143
- n.unsubscribe();
139
+ a.unsubscribe();
144
140
  };
145
141
  }, []);
146
142
  }, V = {
@@ -157,6 +153,7 @@ const er = () => ({
157
153
  CheckboxKey: "Checkbox$",
158
154
  MenusKey: "Menus$",
159
155
  ModalKey: "Modal$",
156
+ DrawerKey: "Drawer$",
160
157
  ScrollKey: "Scroll$",
161
158
  PageKey: "Page$",
162
159
  FormKey: "Form$",
@@ -171,15 +168,16 @@ const er = () => ({
171
168
  ProTableKey: "ProTable$",
172
169
  ProCurdKey: "ProCurd$",
173
170
  ProListKey: "ProList$",
174
- ProPageKey: "ProPage$"
171
+ ProPageKey: "ProPage$",
172
+ ProOperateKey: "ProOperate$"
175
173
  }, te = () => {
176
174
  const { elementMap: e } = oe();
177
175
  return (t) => h(e, t);
178
176
  };
179
- function or(e) {
177
+ function ur(e) {
180
178
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !we(e);
181
179
  }
182
- const ur = () => ({
180
+ const lr = () => ({
183
181
  row: {
184
182
  type: Object,
185
183
  default: void 0
@@ -192,67 +190,67 @@ const ur = () => ({
192
190
  }
193
191
  }), xe = D({
194
192
  props: {
195
- ...ur()
193
+ ...lr()
196
194
  },
197
195
  setup: (e) => {
198
196
  const t = te(), r = t(V.RowKey), o = t(V.ColKey);
199
197
  return () => {
200
- let a;
201
- return !r || !o ? null : i(r, e.row, or(a = $(e.items, (n) => i(o, F({
202
- key: n.rowKey
203
- }, e.col, n.col), {
204
- default: () => [n.vNode]
205
- }))) ? a : {
206
- default: () => [a]
198
+ let n;
199
+ return !r || !o ? null : i(r, e.row, ur(n = F(e.items, (a) => i(o, $({
200
+ key: a.rowKey
201
+ }, e.col, a.col), {
202
+ default: () => [a.vNode]
203
+ }))) ? n : {
204
+ default: () => [n]
207
205
  });
208
206
  };
209
207
  }
210
- }), lr = (e, t, r) => {
208
+ }), cr = (e, t, r) => {
211
209
  if (t) {
212
- const o = _(Y(t), (a) => !t[a]);
210
+ const o = X(Y(t), (n) => !t[n]);
213
211
  return R(e, o);
214
212
  }
215
213
  if (r) {
216
- const o = _(Y(r), (a) => !r[a](e));
214
+ const o = X(Y(r), (n) => !r[n](e));
217
215
  return R(e, o);
218
216
  }
219
217
  return e;
220
- }, Qt = (e) => {
218
+ }, en = (e) => {
221
219
  if (!!e)
222
- return J(e) ? e : e && de(e) && e.indexOf(".") > 0 ? Tn(e, ".") : [e];
223
- }, Oa = (e, t, r) => !t || !r ? e : $(e, (o) => {
224
- const a = X(r) ? r(o) : h(o, r), n = h(t, a);
225
- return !n || Dt(n) || X(n) || !Oe(n) ? o : En(o, n, (u, l) => {
220
+ return J(e) ? e : e && de(e) && e.indexOf(".") > 0 ? xn(e, ".") : [e];
221
+ }, Da = (e, t, r) => !t || !r ? e : F(e, (o) => {
222
+ const n = _(r) ? r(o) : h(o, r), a = h(t, n);
223
+ return !a || $t(a) || _(a) || !Oe(a) ? o : In(o, a, (u, l) => {
226
224
  if (J(u) || J(l))
227
225
  return l;
228
226
  });
229
227
  }), Me = (e, t) => {
230
- const r = re(
228
+ const r = ae(
231
229
  e,
232
- (o, a) => ({
230
+ (o, n) => ({
233
231
  ...o,
234
- [a]: (...n) => {
232
+ [n]: (...a) => {
235
233
  var u, l;
236
- return (l = (u = t.value) == null ? void 0 : u[a]) == null ? void 0 : l.call(u, ...n);
234
+ return (l = (u = t.value) == null ? void 0 : u[n]) == null ? void 0 : l.call(u, ...a);
237
235
  }
238
236
  }),
239
237
  {}
240
238
  );
241
239
  return r.originRef = t, r;
242
- }, Ka = (e, t, r) => {
240
+ }, Ra = (e, t, r) => {
243
241
  const o = { originRef: e, ...r };
244
- return t && Q(t) > 0 && ne(t, (a) => {
245
- o[a] = (...n) => {
242
+ return t && Q(t) > 0 && ne(t, (n) => {
243
+ o[n] = (...a) => {
246
244
  var u, l;
247
- return (l = (u = e.value) == null ? void 0 : u[a]) == null ? void 0 : l.call(u, ...n);
245
+ return (l = (u = e.value) == null ? void 0 : u[n]) == null ? void 0 : l.call(u, ...a);
248
246
  };
249
247
  }), o;
250
- }, cr = (e, t) => h(e, ["extra", t]) || h(e, t), me = (e, t) => {
251
- const r = Y(e), o = `${t}-`, a = _(r, (u) => xn(u, o)), n = Z(e, a);
252
- return In(n, (u, l) => l.replace(o, ""));
253
- }, Jt = Symbol("pro-form-list"), Zt = () => he(Jt), en = (e) => {
254
- ve(Jt, e);
255
- }, sr = D({
248
+ }, sr = (e, t) => h(e, ["extra", t]) || h(e, t), me = (e, t) => {
249
+ const r = Y(e), o = `${t}-`, n = X(r, (u) => wn(u, o)), a = Z(e, n);
250
+ return Nn(a, (u, l) => l.replace(o, ""));
251
+ }, tn = Symbol("pro-form-list"), nn = () => he(tn), rn = (e) => {
252
+ ve(tn, e);
253
+ }, ir = D({
256
254
  props: {
257
255
  pathList: {
258
256
  type: Array
@@ -260,13 +258,13 @@ const ur = () => ({
260
258
  },
261
259
  setup: (e, {
262
260
  slots: t
263
- }) => (en({
261
+ }) => (rn({
264
262
  pathList: e.pathList
265
263
  }), () => {
266
264
  var r;
267
265
  return (r = t.default) == null ? void 0 : r.call(t);
268
266
  })
269
- }), Mt = () => ({
267
+ }), Tt = () => ({
270
268
  rowKey: {
271
269
  type: String,
272
270
  default: "id"
@@ -303,28 +301,28 @@ const ur = () => ({
303
301
  onRemove: {
304
302
  type: Function
305
303
  }
306
- }), Aa = D({
304
+ }), $a = D({
307
305
  props: {
308
- ...Mt(),
306
+ ...Tt(),
309
307
  ...R(xe.props, "items")
310
308
  },
311
309
  setup: (e, {
312
310
  slots: t
313
311
  }) => {
314
312
  const o = te()(V.FormItemKey), {
315
- formState: a,
316
- readonly: n,
313
+ formState: n,
314
+ readonly: a,
317
315
  elementMap: u,
318
316
  formElementMap: l
319
- } = nn(), c = Zt(), d = Qt(e.name), y = c != null && c.pathList ? [...c.pathList, ...d] : d, [g, m] = ut(), p = () => {
317
+ } = on(), c = nn(), d = en(e.name), y = c != null && c.pathList ? [...c.pathList, ...d] : d, [g, m] = ut(), p = () => {
320
318
  var K;
321
319
  if (((K = e.onPreAdd) == null ? void 0 : K.call(e)) === !0)
322
320
  return;
323
321
  const T = () => {
324
- let w = h(a, y);
322
+ let w = h(n, y);
325
323
  J(w) || (w = []), w.push({
326
324
  [e.rowKey]: new Date().valueOf()
327
- }), fe(a, y, w);
325
+ }), fe(n, y, w);
328
326
  };
329
327
  if (e.onAdd) {
330
328
  e.onAdd(T);
@@ -339,7 +337,7 @@ const ur = () => ({
339
337
  })) === !0)
340
338
  return;
341
339
  const w = () => {
342
- const B = h(a, y);
340
+ const B = h(n, y);
343
341
  Q(B) <= 0 || (B.splice(f, 1), m());
344
342
  };
345
343
  if (e.onRemove) {
@@ -354,15 +352,15 @@ const ur = () => ({
354
352
  const K = ye(f);
355
353
  return K && t[K] ? t[K]({
356
354
  item: f,
357
- formState: a,
355
+ formState: n,
358
356
  pathList: T
359
- }) : yn(u, l, f);
357
+ }) : bn(u, l, f);
360
358
  }, I = (f, T) => {
361
359
  if (!l || Q(e.columns) <= 0)
362
360
  return null;
363
361
  if (!e.row)
364
- return $(e.columns, (w) => v(w, f));
365
- const K = $(e.columns, (w) => ({
362
+ return F(e.columns, (w) => v(w, f));
363
+ const K = F(e.columns, (w) => ({
366
364
  rowKey: ye(w),
367
365
  vNode: v(w, f),
368
366
  col: h(w, ["extra", "col"])
@@ -372,16 +370,16 @@ const ur = () => ({
372
370
  col: e.col,
373
371
  items: K
374
372
  }, null);
375
- }, A = Y(Mt());
376
- return () => o ? i(o, F({
373
+ }, A = Y(Tt());
374
+ return () => o ? i(o, $({
377
375
  class: `pro-form-list ${e.inline ? "pro-form-list-inline" : ""}`,
378
376
  name: e.name
379
377
  }, R(e, A)), {
380
378
  default: () => {
381
379
  var f, T;
382
- return [$(h(a, y), (K, w) => {
380
+ return [F(h(n, y), (K, w) => {
383
381
  const x = [...y, w];
384
- return i(sr, {
382
+ return i(ir, {
385
383
  key: K[e.rowKey] + g.value,
386
384
  pathList: x
387
385
  }, {
@@ -390,10 +388,10 @@ const ur = () => ({
390
388
  return [i("div", {
391
389
  class: "pro-form-list-item"
392
390
  }, [(B = t.start) == null ? void 0 : B.call(t, {
393
- state: a,
391
+ state: n,
394
392
  path: y,
395
393
  index: w
396
- }), I(x), (q = t.default) == null ? void 0 : q.call(t), !n.value && i(le, null, [i("div", {
394
+ }), I(x), (q = t.default) == null ? void 0 : q.call(t), !a.value && i(le, null, [i("div", {
397
395
  class: "pro-form-list-item-add",
398
396
  onClick: p
399
397
  }, [((U = t.itemAdd) == null ? void 0 : U.call(t)) || ((G = e.renderItemAdd) == null ? void 0 : G.call(e))]), i("div", {
@@ -402,21 +400,21 @@ const ur = () => ({
402
400
  }, [((ee = t.itemMinus) == null ? void 0 : ee.call(t)) || ((S = e.renderItemMinus) == null ? void 0 : S.call(e))])])])];
403
401
  }
404
402
  });
405
- }), !n.value && i("div", {
403
+ }), !a.value && i("div", {
406
404
  class: "pro-form-list-add",
407
405
  onClick: p
408
406
  }, [((f = t.add) == null ? void 0 : f.call(t)) || ((T = e.renderAdd) == null ? void 0 : T.call(e))])];
409
407
  }
410
408
  }) : null;
411
409
  }
412
- }), tn = Symbol("pro-form"), nn = () => he(tn), ir = (e, t = 300, r) => Rt(e, t, r), dr = (e) => {
413
- ve(tn, e);
410
+ }), an = Symbol("pro-form"), on = () => he(an), dr = (e, t = 300, r) => Ft(e, t, r), fr = (e) => {
411
+ ve(an, e);
414
412
  };
415
413
  let ue;
416
414
  (function(e) {
417
415
  e.RESET = "RESET", e.SUBMIT = "SUBMIT", e.CONTINUE = "CONTINUE";
418
416
  })(ue || (ue = {}));
419
- const Tt = () => ({
417
+ const Et = () => ({
420
418
  clsName: {
421
419
  type: String,
422
420
  default: "pro-form"
@@ -466,40 +464,40 @@ const Tt = () => ({
466
464
  type: Function,
467
465
  default: void 0
468
466
  }
469
- }), Da = D({
467
+ }), Fa = D({
470
468
  inheritAttrs: !1,
471
469
  props: {
472
470
  ...Ce,
473
- ...Tt(),
471
+ ...Et(),
474
472
  ...R(xe.props, "items")
475
473
  },
476
474
  setup: (e, {
477
475
  slots: t,
478
476
  emit: r,
479
477
  expose: o,
480
- attrs: a
478
+ attrs: n
481
479
  }) => {
482
480
  const {
483
- elementMap: n,
481
+ elementMap: a,
484
482
  formElementMap: u
485
- } = oe(), l = e.elementMap || n, c = e.formElementMap || u, d = e.model || Se({}), y = Ye(d, e.showStateRules, e.showState), g = Ye(d, e.readonlyStateRules, e.readonlyState), m = Ye(d, e.disableStateRules, e.disableState), p = N(() => e.readonly), P = N(() => {
483
+ } = oe(), l = e.elementMap || a, c = e.formElementMap || u, d = e.model || be({}), y = Ye(d, e.showStateRules, e.showState), g = Ye(d, e.readonlyStateRules, e.readonlyState), m = Ye(d, e.disableStateRules, e.disableState), p = N(() => e.readonly), P = N(() => {
486
484
  const M = We(e.columns, e.columnState, e.columnState2);
487
- return e.convertColumn ? kt(M, e.convertColumn) : M;
485
+ return e.convertColumn ? Bt(M, e.convertColumn) : M;
488
486
  }), v = W(!1), I = W(0), A = (...M) => {
489
487
  var H;
490
488
  ((H = e.onPreFinish) == null ? void 0 : H.call(e, ...M)) !== !0 && r("finish", ...M, {
491
489
  userOpe: v,
492
490
  asyncNum: I
493
491
  });
494
- }, f = e.debounceSubmit, T = (typeof f == "object" ? f.wait : f) || 300, K = ir((...M) => A(...M), T, f == null ? void 0 : f.options), w = (M) => {
495
- const O = lr(M, y, e.showStateRules);
492
+ }, f = e.debounceSubmit, T = (typeof f == "object" ? f.wait : f) || 300, K = dr((...M) => A(...M), T, f == null ? void 0 : f.options), w = (M) => {
493
+ const O = cr(M, y, e.showStateRules);
496
494
  f !== void 0 ? K(O, M) : A(O, M);
497
495
  }, x = W();
498
496
  o({
499
497
  ...Me(e.formMethods || [], x),
500
498
  userOpe: v,
501
499
  asyncNum: I
502
- }), dr({
500
+ }), fr({
503
501
  formState: d,
504
502
  showState: y,
505
503
  readonlyState: g,
@@ -512,7 +510,7 @@ const Tt = () => ({
512
510
  userOpe: v,
513
511
  asyncNum: I,
514
512
  ...e.provideExtra
515
- }), en({});
513
+ }), rn({});
516
514
  const B = [{
517
515
  value: ue.RESET,
518
516
  label: "\u91CD\u7F6E"
@@ -551,7 +549,7 @@ const Tt = () => ({
551
549
  [ue.CONTINUE]: G
552
550
  }, S = N(() => {
553
551
  const M = e.operate, O = (M == null ? void 0 : M.items) || B;
554
- return $(O, (H) => !H.onClick && !h(M == null ? void 0 : M.itemState, [H.value, "onClick"]) ? {
552
+ return F(O, (H) => !H.onClick && !h(M == null ? void 0 : M.itemState, [H.value, "onClick"]) ? {
555
553
  ...H,
556
554
  onClick: h(ee, H.value)
557
555
  } : H);
@@ -566,27 +564,27 @@ const Tt = () => ({
566
564
  };
567
565
  }), b = (M) => {
568
566
  const O = ye(M);
569
- return O && t[O] ? t[O](M, d) : yn(l, c, M);
567
+ return O && t[O] ? t[O](M, d) : bn(l, c, M);
570
568
  }, E = N(() => {
571
- const M = _(P.value, (O) => {
569
+ const M = X(P.value, (O) => {
572
570
  const H = ye(O);
573
571
  return !!h(y, H, !0);
574
572
  });
575
- return e.row ? $(M, (O) => ({
573
+ return e.row ? F(M, (O) => ({
576
574
  rowKey: ye(O),
577
575
  vNode: b(O),
578
576
  col: h(O, ["extra", "col"])
579
- })) : $(M, (O) => b(O));
580
- }), L = [...Y(Tt()), ...Y(Ce)], j = Y(R(xe.props, "items")), C = h(n, V.FormKey);
577
+ })) : F(M, (O) => b(O));
578
+ }), L = [...Y(Et()), ...Y(Ce)], j = Y(R(xe.props, "items")), C = h(a, V.FormKey);
581
579
  return () => {
582
- var be, Ee, ht;
580
+ var ge, Ee, bt;
583
581
  if (!C)
584
582
  return null;
585
- const M = (be = t.start) == null ? void 0 : be.call(t), O = (Ee = t.default) == null ? void 0 : Ee.call(t), H = (ht = t.end) == null ? void 0 : ht.call(t), ce = [e.clsName], se = Q(E.value) <= 0 && !tt(M) && !tt(O);
586
- return se && ce.push("is-empty"), i(C, F({
583
+ const M = (ge = t.start) == null ? void 0 : ge.call(t), O = (Ee = t.default) == null ? void 0 : Ee.call(t), H = (bt = t.end) == null ? void 0 : bt.call(t), ce = [e.clsName], se = Q(E.value) <= 0 && !tt(M) && !tt(O);
584
+ return se && ce.push("is-empty"), i(C, $({
587
585
  ref: x,
588
586
  class: ce
589
- }, R(a, "onFinish"), R(e, ...L, ...j, "onFinish", "operate"), {
587
+ }, R(n, "onFinish"), R(e, ...L, ...j, "onFinish", "operate"), {
590
588
  model: d,
591
589
  onFinish: w
592
590
  }), {
@@ -594,7 +592,7 @@ const Tt = () => ({
594
592
  row: e.row,
595
593
  col: e.col,
596
594
  items: E.value
597
- }, null) : E.value]), O, e.operate && !se && i(ln, F({
595
+ }, null) : E.value]), O, e.operate && !se && i(dn, $({
598
596
  class: `${e.clsName}-operate`
599
597
  }, R(e.operate, "items", "itemState", "onReset", "onSubmit", "onContinue"), {
600
598
  items: S.value,
@@ -603,7 +601,7 @@ const Tt = () => ({
603
601
  });
604
602
  };
605
603
  }
606
- }), Ra = {
604
+ }), La = {
607
605
  text: "\u8BF7\u8F93\u5165",
608
606
  digit: "\u8BF7\u8F93\u5165",
609
607
  select: "\u8BF7\u9009\u62E9",
@@ -619,7 +617,7 @@ let ze;
619
617
  (function(e) {
620
618
  e.AUTO = "AUTO", e.MANUAL = "MANUAL";
621
619
  })(ze || (ze = {}));
622
- const Et = () => ({
620
+ const xt = () => ({
623
621
  initEmit: {
624
622
  type: Boolean,
625
623
  default: !0
@@ -639,9 +637,9 @@ const Et = () => ({
639
637
  type: Number,
640
638
  default: 800
641
639
  }
642
- }), Fa = D({
640
+ }), ka = D({
643
641
  props: {
644
- ...Et(),
642
+ ...xt(),
645
643
  needRules: {
646
644
  type: Boolean,
647
645
  default: !1
@@ -651,10 +649,10 @@ const Et = () => ({
651
649
  slots: t,
652
650
  expose: r
653
651
  }) => {
654
- const a = te()(V.ProFormKey), n = e.model || Se({}), u = new Set(e.debounceTypes), l = $(_(e.columns, (v) => {
655
- const I = mn(v);
652
+ const n = te()(V.ProFormKey), a = e.model || be({}), u = new Set(e.debounceTypes), l = F(X(e.columns, (v) => {
653
+ const I = hn(v);
656
654
  return u.has(I);
657
- }), (v) => ye(v)), c = N(() => $(e.columns, (v) => ({
655
+ }), (v) => ye(v)), c = N(() => F(e.columns, (v) => ({
658
656
  ...v,
659
657
  formItemProps: R(v.formItemProps, "required")
660
658
  }))), d = W(), y = e.formMethods || [];
@@ -662,13 +660,13 @@ const Et = () => ({
662
660
  const g = () => {
663
661
  var v;
664
662
  (v = d.value) == null || v.submit();
665
- }, m = Rt(() => {
663
+ }, m = Ft(() => {
666
664
  g();
667
665
  }, e.debounceTime);
668
- ae(() => {
666
+ re(() => {
669
667
  e.initEmit && g();
670
668
  }, []);
671
- const p = (v, I, A) => pe(A, (f) => h(v, f) !== h(I, f));
669
+ const p = (v, I, A) => Se(A, (f) => h(v, f) !== h(I, f));
672
670
  lt((v, I) => {
673
671
  if (e.searchMode !== ze.AUTO)
674
672
  return;
@@ -678,28 +676,28 @@ const Et = () => ({
678
676
  return;
679
677
  }
680
678
  g();
681
- }, () => wn(n));
682
- const P = Y(Et());
683
- return () => a ? i(a, F({
679
+ }, () => On(a));
680
+ const P = Y(xt());
681
+ return () => n ? i(n, $({
684
682
  ref: d,
685
683
  class: "pro-search-form"
686
684
  }, R(e, P, "columns"), {
687
685
  columns: c.value,
688
- model: n
686
+ model: a
689
687
  }), t) : null;
690
688
  }
691
- }), fr = () => ({
689
+ }), mr = () => ({
692
690
  title: String,
693
691
  content: String,
694
692
  renderDom: {
695
693
  type: Function,
696
694
  default: () => i("span", {
697
695
  class: "pro-tip-dom"
698
- }, [Be("?")])
696
+ }, [Ue("?")])
699
697
  }
700
- }), mr = D({
698
+ }), yr = D({
701
699
  props: {
702
- ...fr()
700
+ ...mr()
703
701
  },
704
702
  setup: (e, {
705
703
  slots: t
@@ -707,15 +705,15 @@ const Et = () => ({
707
705
  const o = te()(V.TooltipKey);
708
706
  return () => i(o, R(e, "renderDom"), {
709
707
  default: () => {
710
- var a, n;
711
- return [((a = t.default) == null ? void 0 : a.call(t)) || ((n = e.renderDom) == null ? void 0 : n.call(e))];
708
+ var n, a;
709
+ return [((n = t.default) == null ? void 0 : n.call(t)) || ((a = e.renderDom) == null ? void 0 : a.call(e))];
712
710
  },
713
711
  content: () => e.content,
714
712
  title: () => e.title,
715
713
  ...t
716
714
  });
717
715
  }
718
- }), xt = () => ({
716
+ }), It = () => ({
719
717
  readonly: {
720
718
  type: Boolean,
721
719
  default: void 0
@@ -735,17 +733,17 @@ const Et = () => ({
735
733
  tipProps: {
736
734
  type: Object
737
735
  }
738
- }), $a = (e, t) => ({
736
+ }), ja = (e, t) => ({
739
737
  InputComp: r,
740
738
  valueType: o,
741
- name: a
739
+ name: n
742
740
  }) => D({
743
- name: a,
741
+ name: n,
744
742
  props: {
745
743
  ...e.props,
746
- ...xt()
744
+ ...It()
747
745
  },
748
- setup: (n, {
746
+ setup: (a, {
749
747
  slots: u
750
748
  }) => {
751
749
  const {
@@ -757,12 +755,12 @@ const Et = () => ({
757
755
  disableState: g,
758
756
  readonly: m,
759
757
  userOpe: p
760
- } = nn(), P = Zt(), v = N(() => Ke(n.readonly) ? n.readonly : Ke(y[n.name]) ? y[n.name] : m.value), I = () => `${h(l == null ? void 0 : l.rulePrefixMap, o) || "\u8BF7\u8F93\u5165"}${n.label || ""}`, A = N(() => l != null && l.rulePrefixMap ? n.required === !0 && !n.rules ? [{
758
+ } = on(), P = nn(), v = N(() => Ke(a.readonly) ? a.readonly : Ke(y[a.name]) ? y[a.name] : m.value), I = () => `${h(l == null ? void 0 : l.rulePrefixMap, o) || "\u8BF7\u8F93\u5165"}${a.label || ""}`, A = N(() => l != null && l.rulePrefixMap ? a.required === !0 && !a.rules ? [{
761
759
  required: !0,
762
760
  message: I()
763
- }] : n.rules ? $(n.rules, (q) => (q.required && !q.message && (q.message = I()), q)) : n.rules : n.rules), f = Qt(n.name), T = P != null && P.pathList ? [...P.pathList, ...f] : f, K = (q) => {
761
+ }] : a.rules ? F(a.rules, (q) => (q.required && !q.message && (q.message = I()), q)) : a.rules : a.rules), f = en(a.name), T = P != null && P.pathList ? [...P.pathList, ...f] : f, K = (q) => {
764
762
  p.value = !0, fe(d, T, q);
765
- }, w = Y(xt()), x = () => {
763
+ }, w = Y(It()), x = () => {
766
764
  const q = h(d, T);
767
765
  if (u.renderShow)
768
766
  return u.renderShow({
@@ -771,10 +769,10 @@ const Et = () => ({
771
769
  path: T
772
770
  });
773
771
  const U = h(c, o);
774
- return U ? i(U, F({
772
+ return U ? i(U, $({
775
773
  value: q
776
- }, n.fieldProps, {
777
- showProps: n.showProps
774
+ }, a.fieldProps, {
775
+ showProps: a.showProps
778
776
  }), u) : i("span", null, [q]);
779
777
  }, B = () => {
780
778
  const q = h(d, T), U = h(g, T);
@@ -784,86 +782,86 @@ const Et = () => ({
784
782
  disabled: U,
785
783
  record: d,
786
784
  path: T
787
- }) : i(r, F(t(q, K, U), n.fieldProps), u);
785
+ }) : i(r, $(t(q, K, U), a.fieldProps), u);
788
786
  };
789
- return () => i(e, F({
787
+ return () => i(e, $({
790
788
  class: "pro-form-item"
791
- }, R(n, ...w, "name", "rules"), {
789
+ }, R(a, ...w, "name", "rules"), {
792
790
  name: T,
793
791
  rules: A.value
794
792
  }), {
795
793
  default: () => [v.value ? x() : B()],
796
- label: () => i(le, null, [n.label, n.tip && i(mr, F({
797
- content: n.tip,
798
- title: n.tip
799
- }, n.tipProps), null)]),
800
- ...n.slots
794
+ label: () => i(le, null, [a.label, a.tip && i(yr, $({
795
+ content: a.tip,
796
+ title: a.tip
797
+ }, a.tipProps), null)]),
798
+ ...a.slots
801
799
  });
802
800
  }
803
- }), rn = Gn("access", void 0, !0), yr = () => {
804
- const [e, t] = rn();
801
+ }), un = Xn("access", void 0, !0), vr = () => {
802
+ const [e, t] = un();
805
803
  return { access: e, setAccess: t, delAccess: () => {
806
804
  t(void 0);
807
805
  } };
808
- }, La = () => {
809
- const [e, t] = rn();
806
+ }, Ba = () => {
807
+ const [e, t] = un();
810
808
  return [e, t, () => {
811
809
  t(void 0);
812
810
  }];
813
- }, an = Symbol("logon-user"), vr = () => he(an), ka = D((e, { slots: t }) => {
814
- const [r, o] = bt(), [a, n] = bt();
815
- return ve(an, { user: r, setUser: o, per: a, setPer: n, opts: {} }), () => {
811
+ }, ln = Symbol("logon-user"), hr = () => he(ln), Ua = D((e, { slots: t }) => {
812
+ const [r, o] = gt(), [n, a] = gt();
813
+ return ve(ln, { user: r, setUser: o, per: n, setPer: a, opts: {} }), () => {
816
814
  var l;
817
815
  return (l = t.default) == null ? void 0 : l.call(t);
818
816
  };
819
- }), ja = D((e, { slots: t, emit: r }) => {
820
- const { access: o } = yr(), a = N(() => o && o.token);
821
- return ae(() => {
822
- a.value || r("toLogin");
823
- }, a), () => {
824
- var n;
825
- return a.value ? (n = t.default) == null ? void 0 : n.call(t) : null;
817
+ }), qa = D((e, { slots: t, emit: r }) => {
818
+ const { access: o } = vr(), n = N(() => o && o.token);
819
+ return re(() => {
820
+ n.value || r("toLogin");
821
+ }, n), () => {
822
+ var a;
823
+ return n.value ? (a = t.default) == null ? void 0 : a.call(t) : null;
826
824
  };
827
- }), Ba = {
825
+ }), Va = {
828
826
  Add: "add",
829
827
  Edit: "edit",
830
828
  Delete: "delete"
831
- }, hr = (e, t) => !e || !t ? !1 : J(t) ? pe(t, (r) => e[r]) : e[t], on = () => {
832
- const { per: e } = vr() || { per: { menus: [], buttonMap: {} } }, t = st();
829
+ }, br = (e, t) => !e || !t ? !1 : J(t) ? Se(t, (r) => e[r]) : e[t], cn = () => {
830
+ const { per: e } = hr() || { per: { menus: [], buttonMap: {} } }, t = it();
833
831
  return (r, o) => {
834
832
  if (!r)
835
833
  return !1;
836
- let a = r;
834
+ let n = r;
837
835
  if (o != null && o.suffix) {
838
- const n = t.name ? t.name.toString() : "", u = (o == null ? void 0 : o.splitStr) || "_";
839
- a = J(a) ? $(a, (l) => `${n}${u}${l}`) : `${n}${u}${a}`;
836
+ const a = t.name ? t.name.toString() : "", u = (o == null ? void 0 : o.splitStr) || "_";
837
+ n = J(n) ? F(n, (l) => `${a}${u}${l}`) : `${a}${u}${n}`;
840
838
  }
841
- return hr(e.buttonMap, a);
839
+ return br(e.buttonMap, n);
842
840
  };
843
- }, un = () => {
844
- const e = on();
841
+ }, sn = () => {
842
+ const e = cn();
845
843
  return (t, r, o) => t ? e(t) : r ? e(r, { suffix: !0, splitStr: o }) : !0;
846
- }, br = () => ({
844
+ }, gr = () => ({
847
845
  suffix: { type: [String, Array] },
848
846
  value: { type: [String, Array] },
849
847
  splitStr: { type: String }
850
- }), Ua = D({
848
+ }), za = D({
851
849
  inheritAttrs: !1,
852
850
  props: {
853
- ...br()
851
+ ...gr()
854
852
  },
855
853
  setup: (e, { slots: t }) => {
856
- const r = on(), o = N(() => e.value ? r(e.value) : e.suffix ? r(e.suffix, { suffix: !0, splitStr: e.splitStr }) : !1);
854
+ const r = cn(), o = N(() => e.value ? r(e.value) : e.suffix ? r(e.suffix, { suffix: !0, splitStr: e.splitStr }) : !1);
857
855
  return () => {
858
- var a;
859
- return o.value ? (a = t.default) == null ? void 0 : a.call(t) : null;
856
+ var n;
857
+ return o.value ? (n = t.default) == null ? void 0 : n.call(t) : null;
860
858
  };
861
859
  }
862
860
  });
863
- function gr(e) {
861
+ function pr(e) {
864
862
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !we(e);
865
863
  }
866
- const pr = () => ({
864
+ const Sr = () => ({
867
865
  clsName: {
868
866
  type: String,
869
867
  default: "pro-operate"
@@ -881,43 +879,43 @@ const pr = () => ({
881
879
  splitStr: {
882
880
  type: String
883
881
  }
884
- }), ln = D({
882
+ }), dn = D({
885
883
  props: {
886
- ...pr()
884
+ ...Sr()
887
885
  },
888
886
  setup: (e, {
889
887
  slots: t
890
888
  }) => {
891
- const r = un(), o = N(() => {
892
- const c = _(e.items, (y) => r(y.per, y.perSuffix, e.splitStr) ? X(y.show) ? y.show() : Ke(y.show) ? y.show : !0 : !1), d = $(c, (y) => rt(e.itemState, y.value) ? {
889
+ const r = sn(), o = N(() => {
890
+ const c = X(e.items, (y) => r(y.per, y.perSuffix, e.splitStr) ? _(y.show) ? y.show() : Ke(y.show) ? y.show : !0 : !1), d = F(c, (y) => rt(e.itemState, y.value) ? {
893
891
  ...y,
894
892
  ...h(e.itemState, y.value)
895
893
  } : y);
896
- return Ft(d, (y) => y.sort);
897
- }), a = (c) => {
894
+ return Lt(d, (y) => y.sort);
895
+ }), n = (c) => {
898
896
  var d;
899
897
  (d = c.onClick) == null || d.call(c, c);
900
- }, n = te(), u = e.elementKey ? n(e.elementKey) : void 0, l = n(V.TooltipKey);
898
+ }, a = te(), u = e.elementKey ? a(e.elementKey) : void 0, l = a(V.TooltipKey);
901
899
  return () => i("div", {
902
900
  class: e.clsName
903
- }, [$(o.value, (c) => {
904
- const d = X(c.disabled) ? c.disabled() : c.disabled, y = X(c.loading) ? c.loading() : c.loading, g = X(c.label) ? c.label() : c.label, m = X(c.extraProps) ? c.extraProps() : c.extraProps, p = {
901
+ }, [F(o.value, (c) => {
902
+ const d = _(c.disabled) ? c.disabled() : c.disabled, y = _(c.loading) ? c.loading() : c.loading, g = _(c.label) ? c.label() : c.label, m = _(c.extraProps) ? c.extraProps() : c.extraProps, p = {
905
903
  ...R(c, "show", "disabled", "element"),
906
904
  disabled: d
907
905
  };
908
- if (c.element && X(c.element))
906
+ if (c.element && _(c.element))
909
907
  return c.element(p);
910
908
  if (t[c.value])
911
909
  return t[c.value](p);
912
910
  if (u) {
913
- const P = i(u, F({
911
+ const P = i(u, $({
914
912
  disabled: d,
915
913
  loading: y,
916
- onClick: () => a(c)
917
- }, m), gr(g) ? g : {
914
+ onClick: () => n(c)
915
+ }, m), pr(g) ? g : {
918
916
  default: () => [g]
919
917
  });
920
- return c.tip && l ? i(l, F({
918
+ return c.tip && l ? i(l, $({
921
919
  placement: "top"
922
920
  }, c.tipProps), {
923
921
  default: () => [P],
@@ -926,11 +924,11 @@ const pr = () => ({
926
924
  }
927
925
  return i("div", {
928
926
  class: `${e.clsName}-item`,
929
- onClick: () => a(c)
927
+ onClick: () => n(c)
930
928
  }, [g]);
931
929
  })]);
932
930
  }
933
- }), Sr = () => ({
931
+ }), Pr = () => ({
934
932
  clsName: {
935
933
  type: String,
936
934
  default: "pro-table-toolbar-column"
@@ -951,17 +949,17 @@ const pr = () => ({
951
949
  type: Function,
952
950
  default: () => "\u5217\u8BBE\u7F6E"
953
951
  }
954
- }), Pr = D({
952
+ }), Cr = D({
955
953
  props: {
956
- ...Sr()
954
+ ...Pr()
957
955
  },
958
956
  setup: (e, {
959
957
  slots: t
960
958
  }) => {
961
- const r = te(), o = r(V.PopoverKey), a = r(V.CheckboxKey), {
962
- originColumns: n,
959
+ const r = te(), o = r(V.PopoverKey), n = r(V.CheckboxKey), {
960
+ originColumns: a,
963
961
  selectIdsRef: u
964
- } = Cr(), [l, c] = ut();
962
+ } = Mr(), [l, c] = ut();
965
963
  let d = {};
966
964
  const y = (f) => {
967
965
  d[f] = !1;
@@ -969,24 +967,24 @@ const pr = () => ({
969
967
  ne(u.value, (f) => {
970
968
  d[f] = !0;
971
969
  });
972
- }, m = N(() => re(u.value, (f, T) => ({
970
+ }, m = N(() => ae(u.value, (f, T) => ({
973
971
  ...f,
974
972
  [T]: !0
975
- }), {})), p = (f) => cr(f, e.signName);
976
- ae(() => {
977
- u.value = $(_(n.value, (f) => {
973
+ }), {})), p = (f) => sr(f, e.signName);
974
+ re(() => {
975
+ u.value = F(X(a.value, (f) => {
978
976
  var T;
979
977
  return e.useSelectedStatus && rt(d, f.dataIndex) ? d[f.dataIndex] : ((T = p(f)) == null ? void 0 : T.initShow) !== !1;
980
978
  }), (f) => f.dataIndex);
981
- }, n), lt(() => {
979
+ }, a), lt(() => {
982
980
  var f;
983
981
  c(), g(), (f = e.onColumnSelectChange) == null || f.call(e, u.value);
984
982
  }, u);
985
983
  const P = N(() => {
986
- const f = Nn(n.value, (K) => {
984
+ const f = Kn(a.value, (K) => {
987
985
  var w;
988
986
  return (w = p(K)) != null && w.disabled ? !0 : h(m.value, K.dataIndex);
989
- }), T = pe(n.value, (K) => {
987
+ }), T = Se(a.value, (K) => {
990
988
  var w;
991
989
  return (w = p(K)) != null && w.disabled ? !0 : h(m.value, K.dataIndex);
992
990
  });
@@ -996,20 +994,20 @@ const pr = () => ({
996
994
  };
997
995
  }), v = (f) => {
998
996
  var K;
999
- (Oe(f) ? (K = f.target) == null ? void 0 : K.checked : f) ? u.value = $(n.value, (w) => w.dataIndex) : u.value = $(_(n.value, (w) => {
997
+ (Oe(f) ? (K = f.target) == null ? void 0 : K.checked : f) ? u.value = F(a.value, (w) => w.dataIndex) : u.value = F(X(a.value, (w) => {
1000
998
  var x;
1001
999
  return (x = p(w)) != null && x.disabled ? !0 : (y(w.dataIndex), !1);
1002
1000
  }), (w) => w.dataIndex);
1003
1001
  }, I = () => {
1004
- u.value = $(_(n.value, (f) => {
1002
+ u.value = F(X(a.value, (f) => {
1005
1003
  var T;
1006
1004
  return ((T = p(f)) == null ? void 0 : T.initShow) === !1 ? (y(f.dataIndex), !1) : !0;
1007
1005
  }), (f) => f.dataIndex);
1008
1006
  }, A = (f, T) => {
1009
1007
  var w;
1010
- (Oe(T) ? (w = T.target) == null ? void 0 : w.checked : T) ? u.value = [...u.value, f.dataIndex] : u.value = _(u.value, (x) => f.dataIndex === x ? (y(f.dataIndex), !1) : !0);
1008
+ (Oe(T) ? (w = T.target) == null ? void 0 : w.checked : T) ? u.value = [...u.value, f.dataIndex] : u.value = X(u.value, (x) => f.dataIndex === x ? (y(f.dataIndex), !1) : !0);
1011
1009
  };
1012
- return () => o ? i(o, F({
1010
+ return () => o ? i(o, $({
1013
1011
  trigger: "click"
1014
1012
  }, e.popoverProps), {
1015
1013
  default: () => {
@@ -1020,21 +1018,21 @@ const pr = () => ({
1020
1018
  class: `${e.clsName}`
1021
1019
  }, [i("div", {
1022
1020
  class: `${e.clsName}-header`
1023
- }, [i(a, {
1021
+ }, [i(n, {
1024
1022
  key: l.value,
1025
1023
  checked: P.value.checked,
1026
1024
  indeterminate: P.value.indeterminate,
1027
1025
  onChange: v
1028
1026
  }, {
1029
- default: () => [Be("\u5217\u5C55\u793A")]
1027
+ default: () => [Ue("\u5217\u5C55\u793A")]
1030
1028
  }), i("a", {
1031
1029
  onClick: I
1032
- }, [Be("\u91CD\u7F6E")])]), i("div", {
1030
+ }, [Ue("\u91CD\u7F6E")])]), i("div", {
1033
1031
  key: l.value,
1034
1032
  class: `${e.clsName}-list`
1035
- }, [$(n.value, (f) => {
1033
+ }, [F(a.value, (f) => {
1036
1034
  const T = p(f), K = h(m.value, f.dataIndex, !1);
1037
- return i(a, {
1035
+ return i(n, {
1038
1036
  checked: K,
1039
1037
  disabled: T == null ? void 0 : T.disabled,
1040
1038
  onChange: (w) => {
@@ -1047,9 +1045,9 @@ const pr = () => ({
1047
1045
  ...R(t, "default")
1048
1046
  }) : null;
1049
1047
  }
1050
- }), cn = Symbol("pro-table"), Cr = () => he(cn), Mr = (e) => {
1051
- ve(cn, e);
1052
- }, It = () => ({
1048
+ }), fn = Symbol("pro-table"), Mr = () => he(fn), Tr = (e) => {
1049
+ ve(fn, e);
1050
+ }, wt = () => ({
1053
1051
  clsName: {
1054
1052
  type: String,
1055
1053
  default: "pro-table"
@@ -1090,11 +1088,11 @@ const pr = () => ({
1090
1088
  dataSource: {
1091
1089
  type: Array
1092
1090
  }
1093
- }), qa = D({
1091
+ }), Ha = D({
1094
1092
  inheritAttrs: !1,
1095
1093
  props: {
1096
1094
  ...Ce,
1097
- ...It()
1095
+ ...wt()
1098
1096
  },
1099
1097
  setup: (e, {
1100
1098
  slots: t,
@@ -1102,8 +1100,8 @@ const pr = () => ({
1102
1100
  attrs: o
1103
1101
  }) => {
1104
1102
  const {
1105
- elementMap: a
1106
- } = oe(), n = e.elementMap || a, u = h(a, V.TableKey), l = () => ({
1103
+ elementMap: n
1104
+ } = oe(), a = e.elementMap || n, u = h(n, V.TableKey), l = () => ({
1107
1105
  title: "\u5E8F\u53F7",
1108
1106
  dataIndex: "serialNumber",
1109
1107
  width: 80,
@@ -1123,7 +1121,7 @@ const pr = () => ({
1123
1121
  }
1124
1122
  (b = s.onClick) == null || b.call(s, S);
1125
1123
  }, d = me(t, "operate"), y = () => {
1126
- const S = e.operate, s = $(S.items, (b) => ({
1124
+ const S = e.operate, s = F(S.items, (b) => ({
1127
1125
  ...h(e.operateItemState, b.value),
1128
1126
  ...b,
1129
1127
  ...h(S.itemState, b.value)
@@ -1137,24 +1135,24 @@ const pr = () => ({
1137
1135
  customRender: ({
1138
1136
  record: b
1139
1137
  }) => {
1140
- const E = $(s, (j) => ({
1138
+ const E = F(s, (j) => ({
1141
1139
  ...j,
1142
- show: X(j.show) ? j.show(b) : j.show,
1143
- disabled: X(j.disabled) ? j.disabled(b) : j.disabled,
1144
- loading: X(j.loading) ? j.loading(b) : j.loading,
1145
- extraProps: X(j.extraProps) ? j.extraProps(b) : j.extraProps,
1146
- element: X(j.element) ? (C) => j.element(b, C) : j.element,
1140
+ show: _(j.show) ? j.show(b) : j.show,
1141
+ disabled: _(j.disabled) ? j.disabled(b) : j.disabled,
1142
+ loading: _(j.loading) ? j.loading(b) : j.loading,
1143
+ extraProps: _(j.extraProps) ? j.extraProps(b) : j.extraProps,
1144
+ element: _(j.element) ? (C) => j.element(b, C) : j.element,
1147
1145
  onClick: () => c(b, j),
1148
- tip: X(j.tip) ? j.tip(b) : j.tip,
1149
- tipProps: X(j.tipProps) ? j.tipProps(b) : j.tipProps
1150
- })), L = re(Y(d), (j, C) => ({
1146
+ tip: _(j.tip) ? j.tip(b) : j.tip,
1147
+ tipProps: _(j.tipProps) ? j.tipProps(b) : j.tipProps
1148
+ })), L = ae(Y(d), (j, C) => ({
1151
1149
  ...j,
1152
1150
  [C]: (M) => {
1153
1151
  var O;
1154
1152
  return (O = d[C]) == null ? void 0 : O.call(d, b, M);
1155
1153
  }
1156
1154
  }), {});
1157
- return i(ln, {
1155
+ return i(dn, {
1158
1156
  class: `${e.clsName}-operate`,
1159
1157
  items: E,
1160
1158
  elementKey: S.elementKey || V.TableOperateKey
@@ -1164,35 +1162,35 @@ const pr = () => ({
1164
1162
  }, g = W([]), m = N(() => {
1165
1163
  var S;
1166
1164
  return !!((S = e.toolbar) != null && S.columnSetting);
1167
- }), p = Pn(e, "columns"), P = N(() => {
1165
+ }), p = Tn(e, "columns"), P = N(() => {
1168
1166
  if (!m.value)
1169
1167
  return e.columns;
1170
- const S = re(g.value, (s, b) => ({
1168
+ const S = ae(g.value, (s, b) => ({
1171
1169
  ...s,
1172
1170
  [b]: !0
1173
1171
  }), {});
1174
- return _(e.columns, (s) => h(S, s.dataIndex));
1175
- }), v = (S) => $(S, (s) => {
1172
+ return X(e.columns, (s) => h(S, s.dataIndex));
1173
+ }), v = (S) => F(S, (s) => {
1176
1174
  const b = {
1177
1175
  ...e.column,
1178
1176
  ...s
1179
1177
  }, E = e.convertColumn ? e.convertColumn(b) : b;
1180
1178
  return s.children && Q(s.children) > 0 ? (E.children = v(s.children), E) : (s.customRender || (E.customRender = ({
1181
1179
  value: L
1182
- }) => typeof L > "u" || L === null || L === "" ? e.columnEmptyText : mt(n, s, {
1180
+ }) => typeof L > "u" || L === null || L === "" ? e.columnEmptyText : yt(a, s, {
1183
1181
  value: L
1184
1182
  }, {
1185
1183
  render: "tableRender"
1186
1184
  }) || L), E);
1187
1185
  }), I = N(() => {
1188
1186
  const S = We(P.value, e.columnState, e.columnState2), s = v(S);
1189
- return e.serialNumber && s.unshift(l()), e.operate && e.operate.items && pe(e.operate.items, (b) => b.show) && s.push(y()), s;
1187
+ return e.serialNumber && s.unshift(l()), e.operate && e.operate.items && Se(e.operate.items, (b) => b.show) && s.push(y()), s;
1190
1188
  }), A = N(() => {
1191
1189
  var s, b;
1192
1190
  const S = e.dataSource;
1193
- return S && (((s = e.mergeOpts) == null ? void 0 : s.rowNames) || ((b = e.mergeOpts) == null ? void 0 : b.colNames)) && Un(S, e.mergeOpts), S;
1191
+ return S && (((s = e.mergeOpts) == null ? void 0 : s.rowNames) || ((b = e.mergeOpts) == null ? void 0 : b.colNames)) && Vn(S, e.mergeOpts), S;
1194
1192
  }), f = W();
1195
- Mr({
1193
+ Tr({
1196
1194
  columns: I,
1197
1195
  originColumns: p,
1198
1196
  selectIdsRef: g,
@@ -1201,24 +1199,24 @@ const pr = () => ({
1201
1199
  ...e.provideExtra
1202
1200
  }), r(Me(e.tableMethods || [], f));
1203
1201
  const T = W(), K = W(0), w = W(), x = W(!1), B = W(), q = W(!1);
1204
- ke(T, (S) => {
1202
+ je(T, (S) => {
1205
1203
  const s = h(S, [0, "contentRect"]), b = window.getComputedStyle(T.value);
1206
1204
  if (s.height && b) {
1207
1205
  const E = b.getPropertyValue("margin-bottom"), L = parseInt(E.replace("px", ""));
1208
1206
  K.value = s.height + L;
1209
1207
  }
1210
- }), ke(w, () => {
1208
+ }), je(w, () => {
1211
1209
  x.value = !!w.value.innerText;
1212
- }), ke(B, () => {
1210
+ }), je(B, () => {
1213
1211
  q.value = !!B.value.innerText;
1214
1212
  });
1215
- const U = N(() => q.value || x.value ? `${e.clsName}-toolbar-valid` : ""), G = Y(It()), ee = me(t, "columnSetting");
1213
+ const U = N(() => q.value || x.value ? `${e.clsName}-toolbar-valid` : ""), G = Y(wt()), ee = me(t, "columnSetting");
1216
1214
  return () => {
1217
1215
  var s, b;
1218
1216
  if (!u)
1219
1217
  return null;
1220
- const S = m.value ? i(Pr, (s = e.toolbar) == null ? void 0 : s.columnSetting, ee) : null;
1221
- return i("div", F({
1218
+ const S = m.value ? i(Cr, (s = e.toolbar) == null ? void 0 : s.columnSetting, ee) : null;
1219
+ return i("div", $({
1222
1220
  class: e.clsName,
1223
1221
  style: `--pro-table-toolbar-hei: ${K.value}px`
1224
1222
  }, Z(o, "class")), [i("div", {
@@ -1230,7 +1228,7 @@ const pr = () => ({
1230
1228
  }, [(b = t.toolbar) == null ? void 0 : b.call(t)]), i("div", {
1231
1229
  ref: B,
1232
1230
  class: `${e.clsName}-toolbar-extra`
1233
- }, [t.toolbarExtra ? t.toolbarExtra([S]) : i(le, null, [S])])]), i(u, F({
1231
+ }, [t.toolbarExtra ? t.toolbarExtra([S]) : i(le, null, [S])])]), i(u, $({
1234
1232
  ref: f
1235
1233
  }, R(o, "class"), R(e, G), {
1236
1234
  mergeOpts: e.mergeOpts,
@@ -1239,7 +1237,7 @@ const pr = () => ({
1239
1237
  }), t)]);
1240
1238
  };
1241
1239
  }
1242
- }), sn = Symbol("pro-layout"), Ge = () => he(sn), Tr = () => ({
1240
+ }), mn = Symbol("pro-layout"), Ge = () => he(mn), Er = () => ({
1243
1241
  title: {
1244
1242
  type: String
1245
1243
  },
@@ -1260,25 +1258,25 @@ const pr = () => ({
1260
1258
  }
1261
1259
  }), Qe = D({
1262
1260
  props: {
1263
- ...Tr()
1261
+ ...Er()
1264
1262
  },
1265
1263
  setup: (e, {
1266
1264
  slots: t
1267
1265
  }) => {
1268
- const r = it(), o = () => {
1269
- var a;
1266
+ const r = dt(), o = () => {
1267
+ var n;
1270
1268
  if (e.onBackClick) {
1271
- (a = e.onBackClick) == null || a.call(e);
1269
+ (n = e.onBackClick) == null || n.call(e);
1272
1270
  return;
1273
1271
  }
1274
1272
  r.back();
1275
1273
  };
1276
1274
  return () => {
1277
- var n, u, l, c, d;
1278
- const a = e.hideWhileNoHistory && ((u = (n = window.history) == null ? void 0 : n.state) == null ? void 0 : u.back) || e.hideWhileNoHistory === !1;
1275
+ var a, u, l, c, d;
1276
+ const n = e.hideWhileNoHistory && ((u = (a = window.history) == null ? void 0 : a.state) == null ? void 0 : u.back) || e.hideWhileNoHistory === !1;
1279
1277
  return i("div", {
1280
1278
  class: "pro-page-header"
1281
- }, [e.showBack && a && i("div", {
1279
+ }, [e.showBack && n && i("div", {
1282
1280
  class: "pro-page-header-back",
1283
1281
  onClick: o
1284
1282
  }, [t.backIcon ? t.backIcon() : (l = e.renderBackIcon) == null ? void 0 : l.call(e)]), i("div", {
@@ -1292,7 +1290,7 @@ const pr = () => ({
1292
1290
  }, [(d = t.extra) == null ? void 0 : d.call(t)])]);
1293
1291
  };
1294
1292
  }
1295
- }), Er = () => ({
1293
+ }), xr = () => ({
1296
1294
  loading: {
1297
1295
  type: Boolean,
1298
1296
  default: !1
@@ -1311,10 +1309,10 @@ const pr = () => ({
1311
1309
  sub: {
1312
1310
  type: Boolean
1313
1311
  }
1314
- }), Va = D({
1312
+ }), Wa = D({
1315
1313
  props: {
1316
1314
  ...Qe.props,
1317
- ...Er()
1315
+ ...xr()
1318
1316
  },
1319
1317
  setup: (e, {
1320
1318
  slots: t
@@ -1326,7 +1324,7 @@ const pr = () => ({
1326
1324
  showTabs: d
1327
1325
  } = r;
1328
1326
  return d.value ? !1 : e.showBack;
1329
- }), a = te(), n = a(V.LoadingKey), u = e.as || a(V.ScrollKey) || "div", l = () => n ? i(n, F({
1327
+ }), n = te(), a = n(V.LoadingKey), u = e.as || n(V.ScrollKey) || "div", l = () => a ? i(a, $({
1330
1328
  loading: !0
1331
1329
  }, e.loadingOpts), {
1332
1330
  default: () => [i("div", {
@@ -1341,7 +1339,7 @@ const pr = () => ({
1341
1339
  }, {
1342
1340
  default: () => {
1343
1341
  var P, v;
1344
- return [(P = t.start) == null ? void 0 : P.call(t), d && i(Qe, F(Z(e, c), {
1342
+ return [(P = t.start) == null ? void 0 : P.call(t), d && i(Qe, $(Z(e, c), {
1345
1343
  showBack: o.value
1346
1344
  }), R(t, "start", "default", "footer")), i("div", {
1347
1345
  class: "pro-page-content"
@@ -1352,10 +1350,10 @@ const pr = () => ({
1352
1350
  });
1353
1351
  };
1354
1352
  }
1355
- }), xr = Object.freeze({
1353
+ }), Ir = Object.freeze({
1356
1354
  page: 1,
1357
1355
  pageSize: 10
1358
- }), Ir = () => ({
1356
+ }), wr = () => ({
1359
1357
  clsName: {
1360
1358
  type: String,
1361
1359
  default: "pro-list"
@@ -1389,16 +1387,16 @@ const pr = () => ({
1389
1387
  end: {
1390
1388
  type: Function
1391
1389
  }
1392
- }), wr = D({
1390
+ }), Nr = D({
1393
1391
  props: {
1394
- ...Ir()
1392
+ ...wr()
1395
1393
  },
1396
1394
  setup: (e, {
1397
1395
  slots: t,
1398
1396
  emit: r
1399
1397
  }) => {
1400
- const o = te(), a = o(V.ProSearchFormKey), n = o(V.ProTableKey), u = o(V.PaginationKey), l = e.pageState || Se({
1401
- ...xr
1398
+ const o = te(), n = o(V.ProSearchFormKey), a = o(V.ProTableKey), u = o(V.PaginationKey), l = e.pageState || be({
1399
+ ...Ir
1402
1400
  });
1403
1401
  let c;
1404
1402
  const d = () => {
@@ -1416,7 +1414,7 @@ const pr = () => ({
1416
1414
  const v = t.search ? t.search({
1417
1415
  executeSearchWithResetPage: y,
1418
1416
  pageState: l
1419
- }) : i(le, null, [a && i(a, F({
1417
+ }) : i(le, null, [n && i(n, $({
1420
1418
  class: `${e.clsName}-search`
1421
1419
  }, R(e.searchProps, "onFinish"), {
1422
1420
  onFinish: (q) => y(q)
@@ -1425,7 +1423,7 @@ const pr = () => ({
1425
1423
  class: e.clsName
1426
1424
  }, [((I = t.start) == null ? void 0 : I.call(t)) || ((A = e.start) == null ? void 0 : A.call(e)), !e.searchInTable && v, ((f = t.divide) == null ? void 0 : f.call(t)) || ((T = e.divide) == null ? void 0 : T.call(e)), t.table ? t.table({
1427
1425
  pageState: l
1428
- }) : i(le, null, [n && i(n, F({
1426
+ }) : i(le, null, [a && i(a, $({
1429
1427
  class: `${e.clsName}-table`,
1430
1428
  paginationState: {
1431
1429
  page: l.page,
@@ -1440,14 +1438,14 @@ const pr = () => ({
1440
1438
  pageState: l
1441
1439
  }) : i(le, null, [e.paginationProps !== !1 && u && i("div", {
1442
1440
  class: `${e.clsName}-pagination`
1443
- }, [i(u, F(R(Ke(e.paginationProps) ? {} : e.paginationProps, "onChange"), {
1441
+ }, [i(u, $(R(Ke(e.paginationProps) ? {} : e.paginationProps, "onChange"), {
1444
1442
  page: l.page,
1445
1443
  pageSize: l.pageSize,
1446
1444
  onComposeChange: g
1447
1445
  }), P)])]), ((x = t.end) == null ? void 0 : x.call(t)) || ((B = e.end) == null ? void 0 : B.call(e))]);
1448
1446
  };
1449
1447
  }
1450
- }), wt = () => ({
1448
+ }), Nt = () => ({
1451
1449
  clsName: {
1452
1450
  type: String,
1453
1451
  default: "pro-desc"
@@ -1455,30 +1453,30 @@ const pr = () => ({
1455
1453
  model: {
1456
1454
  type: Object
1457
1455
  }
1458
- }), Nr = D({
1456
+ }), Or = D({
1459
1457
  props: {
1460
1458
  ...Ce,
1461
- ...wt()
1459
+ ...Nt()
1462
1460
  },
1463
1461
  setup: (e, {
1464
1462
  slots: t
1465
1463
  }) => {
1466
1464
  const {
1467
1465
  elementMap: r
1468
- } = oe(), o = e.elementMap || r, a = te(), n = a(V.DescriptionsKey), u = a(V.DescriptionsItemKey), l = N(() => We(e.columns, e.columnState, e.columnState2)), c = Y(Ce), d = Y(wt());
1469
- return () => !n || !u ? null : i(n, F({
1466
+ } = oe(), o = e.elementMap || r, n = te(), a = n(V.DescriptionsKey), u = n(V.DescriptionsItemKey), l = N(() => We(e.columns, e.columnState, e.columnState2)), c = Y(Ce), d = Y(Nt());
1467
+ return () => !a || !u ? null : i(a, $({
1470
1468
  class: e.clsName
1471
1469
  }, R(e, ...c, ...d, "model")), {
1472
1470
  default: () => {
1473
1471
  var y, g;
1474
- return [(y = t.start) == null ? void 0 : y.call(t), $(l.value, (m) => {
1472
+ return [(y = t.start) == null ? void 0 : y.call(t), F(l.value, (m) => {
1475
1473
  const p = m.dataIndex, P = h(e.model, p);
1476
- return i(u, F({
1474
+ return i(u, $({
1477
1475
  class: `${e.clsName}-item`
1478
1476
  }, h(m.extra, "desc")), {
1479
1477
  default: () => {
1480
1478
  var v, I;
1481
- return [((v = t[p]) == null ? void 0 : v.call(t, P, m)) || ((I = t.value) == null ? void 0 : I.call(t, P, m)) || mt(o, m, {
1479
+ return [((v = t[p]) == null ? void 0 : v.call(t, P, m)) || ((I = t.value) == null ? void 0 : I.call(t, P, m)) || yt(o, m, {
1482
1480
  value: P
1483
1481
  }, {
1484
1482
  render: "descRender"
@@ -1494,19 +1492,19 @@ const pr = () => ({
1494
1492
  ...t
1495
1493
  });
1496
1494
  }
1497
- }), dn = (e, t) => at(e) ? e : e || t, Or = () => ({
1495
+ }), yn = (e, t) => at(e) ? e : e || t, Kr = () => ({
1498
1496
  value: {
1499
1497
  type: [String, Number]
1500
1498
  },
1501
1499
  emptyText: {
1502
1500
  type: String
1503
1501
  }
1504
- }), za = D({
1502
+ }), Ga = D({
1505
1503
  props: {
1506
- ...Or()
1504
+ ...Kr()
1507
1505
  },
1508
- setup: (e) => () => dn(e.value, e.emptyText)
1509
- }), Kr = () => ({
1506
+ setup: (e) => () => yn(e.value, e.emptyText)
1507
+ }), Ar = () => ({
1510
1508
  content: {
1511
1509
  type: [String, Number]
1512
1510
  },
@@ -1517,30 +1515,30 @@ const pr = () => ({
1517
1515
  emptyText: {
1518
1516
  type: String
1519
1517
  }
1520
- }), Ar = D({
1518
+ }), Dr = D({
1521
1519
  inheritAttrs: !1,
1522
1520
  props: {
1523
- ...Kr()
1521
+ ...Ar()
1524
1522
  },
1525
1523
  setup: (e, {
1526
1524
  attrs: t
1527
1525
  }) => {
1528
- const o = te()(V.PopoverKey), a = () => {
1529
- var n, u;
1530
- return e.ellipsis ? e.ellipsis === !0 ? 1 : ((n = e.ellipsis) == null ? void 0 : n.rows) || ((u = e.ellipsis) == null ? void 0 : u.num) || 1 : "unset";
1526
+ const o = te()(V.PopoverKey), n = () => {
1527
+ var a, u;
1528
+ return e.ellipsis ? e.ellipsis === !0 ? 1 : ((a = e.ellipsis) == null ? void 0 : a.rows) || ((u = e.ellipsis) == null ? void 0 : u.num) || 1 : "unset";
1531
1529
  };
1532
1530
  return () => {
1533
- const n = i("span", F({
1531
+ const a = i("span", $({
1534
1532
  class: `pro-typography ${e.ellipsis ? "pro-typography-ellipsis" : ""}`,
1535
- style: `-webkit-line-clamp:${a()}`
1536
- }, t), [dn(e.content, e.emptyText)]);
1537
- return !e.popoverProps || !o ? n : i(o, e.popoverProps, {
1538
- default: () => [n],
1533
+ style: `-webkit-line-clamp:${n()}`
1534
+ }, t), [yn(e.content, e.emptyText)]);
1535
+ return !e.popoverProps || !o ? a : i(o, e.popoverProps, {
1536
+ default: () => [a],
1539
1537
  content: () => e.content
1540
1538
  });
1541
1539
  };
1542
1540
  }
1543
- }), $e = {
1541
+ }), Le = {
1544
1542
  value: {
1545
1543
  type: [String, Number]
1546
1544
  },
@@ -1554,27 +1552,27 @@ const pr = () => ({
1554
1552
  type: Function,
1555
1553
  default: void 0
1556
1554
  }
1557
- }, Xe = D({
1555
+ }, _e = D({
1558
1556
  inheritAttrs: !1,
1559
1557
  props: {
1560
- ...$e
1558
+ ...Le
1561
1559
  },
1562
1560
  setup: (e, {
1563
1561
  attrs: t
1564
1562
  }) => {
1565
1563
  const r = N(() => {
1566
- var n;
1567
- const o = (n = e.showProps) == null ? void 0 : n.content, a = e.value || at(e.value) ? e.value : o;
1568
- return e.convert ? e.convert(a, e) : a;
1564
+ var a;
1565
+ const o = (a = e.showProps) == null ? void 0 : a.content, n = e.value || at(e.value) ? e.value : o;
1566
+ return e.convert ? e.convert(n, e) : n;
1569
1567
  });
1570
- return () => i(Ar, F(Z(t, "style", "class"), R(e.showProps, "content"), {
1568
+ return () => i(Dr, $(Z(t, "style", "class"), R(e.showProps, "content"), {
1571
1569
  content: r.value
1572
1570
  }), null);
1573
1571
  }
1574
- }), Ha = D({
1572
+ }), _a = D({
1575
1573
  inheritAttrs: !1,
1576
1574
  props: {
1577
- ...$e,
1575
+ ...Le,
1578
1576
  decimalFixed: {
1579
1577
  type: Number,
1580
1578
  default: 0
@@ -1589,22 +1587,22 @@ const pr = () => ({
1589
1587
  }) => {
1590
1588
  const r = N(() => {
1591
1589
  let o = e.value;
1592
- return o && e.decimalFixed && (o = qn(o, e.decimalFixed || 2)), o && e.thousandDivision && (o = Vn(o)), e.convert ? e.convert(o, e) : o;
1590
+ return o && e.decimalFixed && (o = zn(o, e.decimalFixed || 2)), o && e.thousandDivision && (o = Hn(o)), e.convert ? e.convert(o, e) : o;
1593
1591
  });
1594
1592
  return () => e.render ? e.render({
1595
1593
  value: r.value,
1596
1594
  props: e
1597
- }) : i(Xe, F({
1595
+ }) : i(_e, $({
1598
1596
  class: "pro-show-digit"
1599
1597
  }, Z(t, "style", "class"), {
1600
1598
  value: r.value,
1601
1599
  showProps: e.showProps
1602
1600
  }), null);
1603
1601
  }
1604
- }), Wa = D({
1602
+ }), Xa = D({
1605
1603
  inheritAttrs: !1,
1606
1604
  props: {
1607
- ...$e,
1605
+ ...Le,
1608
1606
  value: {
1609
1607
  type: [String, Number, Array]
1610
1608
  },
@@ -1620,27 +1618,27 @@ const pr = () => ({
1620
1618
  setup: (e, {
1621
1619
  attrs: t
1622
1620
  }) => {
1623
- const r = N(() => zn(e.options, (n) => n.label), void 0), o = N(() => {
1624
- const n = e.value;
1621
+ const r = N(() => Wn(e.options, (a) => a.label), void 0), o = N(() => {
1622
+ const a = e.value;
1625
1623
  let u = e.value;
1626
- return J(n) ? u = ot($(n, (l) => h(r.value, l, l)), e.splitStr) : u = h(r.value, n, e.value), e.convert ? e.convert(u, e) : u;
1627
- }), a = N(() => h(e.colorMap, e.value));
1624
+ return J(a) ? u = ot(F(a, (l) => h(r.value, l, l)), e.splitStr) : u = h(r.value, a, e.value), e.convert ? e.convert(u, e) : u;
1625
+ }), n = N(() => h(e.colorMap, e.value));
1628
1626
  return () => e.render ? e.render({
1629
- color: a.value,
1627
+ color: n.value,
1630
1628
  value: o.value,
1631
1629
  props: e
1632
- }) : i(Xe, F({
1630
+ }) : i(_e, $({
1633
1631
  class: "pro-show-options"
1634
1632
  }, Z(t, "style", "class"), {
1635
- style: `color:${a.value || ""}`,
1633
+ style: `color:${n.value || ""}`,
1636
1634
  value: o.value,
1637
1635
  showProps: e.showProps
1638
1636
  }), null);
1639
1637
  }
1640
- }), Ga = D({
1638
+ }), Ya = D({
1641
1639
  inheritAttrs: !1,
1642
1640
  props: {
1643
- ...$e,
1641
+ ...Le,
1644
1642
  value: {
1645
1643
  type: [String, Number, Array]
1646
1644
  },
@@ -1648,39 +1646,46 @@ const pr = () => ({
1648
1646
  type: String,
1649
1647
  default: "/"
1650
1648
  },
1649
+ splitStr2: {
1650
+ type: String,
1651
+ default: ","
1652
+ },
1651
1653
  treeData: Array,
1652
1654
  data: Array,
1653
1655
  options: Array,
1654
1656
  fieldNames: Object,
1655
- props: Object
1657
+ props: Object,
1658
+ multiple: {
1659
+ type: Boolean
1660
+ }
1656
1661
  },
1657
1662
  setup: (e, {
1658
1663
  attrs: t
1659
1664
  }) => {
1660
1665
  const r = N(() => {
1661
- const a = e.treeData || e.data || e.options, n = e.fieldNames || e.props;
1662
- return jt(a, (u) => h(u, (n == null ? void 0 : n.label) || "label"), {
1666
+ const n = e.treeData || e.data || e.options, a = e.fieldNames || e.props;
1667
+ return Ut(n, (u) => h(u, (a == null ? void 0 : a.label) || "label"), {
1663
1668
  value: "value",
1664
1669
  children: "children",
1665
- ...n
1670
+ ...a
1666
1671
  });
1667
1672
  }), o = N(() => {
1668
- let a = e.value;
1669
- return J(e.value) ? a = ot($(e.value, (n) => h(r.value, n, n)), e.splitStr) : a = h(r.value, e.value, e.value), e.convert ? e.convert(a, e) : a;
1673
+ let n = e.value;
1674
+ return J(e.value) ? n = ot(F(e.value, (a) => h(r.value, a, a)), e.multiple ? e.splitStr2 : e.splitStr) : n = h(r.value, e.value, e.value), e.convert ? e.convert(n, e) : n;
1670
1675
  });
1671
1676
  return () => e.render ? e.render({
1672
1677
  value: o.value,
1673
1678
  props: e
1674
- }) : i(Xe, F({
1679
+ }) : i(_e, $({
1675
1680
  class: "pro-show-tree"
1676
1681
  }, Z(t, "style", "class"), {
1677
1682
  value: o.value,
1678
1683
  showProps: e.showProps
1679
1684
  }), null);
1680
1685
  }
1681
- }), Xa = D({
1686
+ }), Qa = D({
1682
1687
  props: {
1683
- ...$e,
1688
+ ...Le,
1684
1689
  value: {
1685
1690
  type: [String, Number, Array]
1686
1691
  },
@@ -1700,47 +1705,47 @@ const pr = () => ({
1700
1705
  setup: (e, {
1701
1706
  attrs: t
1702
1707
  }) => {
1703
- const r = (a) => a && (e.isUnix ? Pt.unix(a).format(e.format) : Pt(a).format(e.format)), o = N(() => {
1704
- let a = e.value;
1705
- return J(e.value) ? a = ot($(e.value, (n) => r(n) || ""), e.splitStr) : a = r(e.value) || "", e.convert ? e.convert(a, e) : a;
1708
+ const r = (n) => n && (e.isUnix ? Ct.unix(n).format(e.format) : Ct(n).format(e.format)), o = N(() => {
1709
+ let n = e.value;
1710
+ return J(e.value) ? n = ot(F(e.value, (a) => r(a) || ""), e.splitStr) : n = r(e.value) || "", e.convert ? e.convert(n, e) : n;
1706
1711
  });
1707
1712
  return () => e.render ? e.render({
1708
1713
  value: o.value,
1709
1714
  props: e
1710
- }) : i(Xe, F({
1715
+ }) : i(_e, $({
1711
1716
  class: "pro-show-date"
1712
1717
  }, Z(t, "style", "class"), {
1713
1718
  value: o.value,
1714
1719
  showProps: e.showProps
1715
1720
  }), null);
1716
1721
  }
1717
- }), Dr = () => ({
1722
+ }), Rr = () => ({
1718
1723
  includes: {
1719
1724
  type: Array
1720
1725
  }
1721
- }), Rr = D({
1726
+ }), $r = D({
1722
1727
  props: {
1723
- ...Dr()
1728
+ ...Rr()
1724
1729
  },
1725
1730
  setup: (e) => {
1726
1731
  const {
1727
1732
  tabs: t,
1728
1733
  refreshRef: r,
1729
1734
  showTabs: o,
1730
- convertValue: a
1735
+ convertValue: n
1731
1736
  } = Ge(), {
1732
- route: n
1733
- } = _e(), u = N(() => {
1737
+ route: a
1738
+ } = Xe(), u = N(() => {
1734
1739
  if (!o.value)
1735
1740
  return e.includes || [];
1736
- const l = $(t.value, (c) => a(c));
1737
- return r.value ? _(l, (c) => c !== n.name) : l;
1741
+ const l = F(t.value, (c) => n(c));
1742
+ return r.value ? X(l, (c) => c !== a.name) : l;
1738
1743
  });
1739
- return () => i(Qn, null, {
1744
+ return () => i(Jn, null, {
1740
1745
  default: ({
1741
1746
  Component: l,
1742
1747
  route: c
1743
- }) => (l && l.type && !l.type.name && c.name && (l.type.name = c.name), i(Cn, {
1748
+ }) => (l && l.type && !l.type.name && c.name && (l.type.name = c.name), i(En, {
1744
1749
  include: u.value
1745
1750
  }, [r.value ? null : i(l, null, null)]))
1746
1751
  });
@@ -1758,7 +1763,7 @@ const pr = () => ({
1758
1763
  onDragRegister: {
1759
1764
  type: Function
1760
1765
  }
1761
- }), $r = D({
1766
+ }), Lr = D({
1762
1767
  props: {
1763
1768
  ...Fr()
1764
1769
  },
@@ -1766,23 +1771,23 @@ const pr = () => ({
1766
1771
  const {
1767
1772
  router: t,
1768
1773
  route: r
1769
- } = _e(), {
1774
+ } = Xe(), {
1770
1775
  menuMap: o,
1771
- tabs: a,
1772
- refresh: n,
1776
+ tabs: n,
1777
+ refresh: a,
1773
1778
  convertName: u
1774
- } = Ge(), l = Se({
1779
+ } = Ge(), l = be({
1775
1780
  ctxMenuPos: null,
1776
1781
  ctxMenuItem: null
1777
1782
  }), c = (s) => e.isHideClose ? e.isHideClose(s) : !1, d = N(() => {
1778
1783
  const s = u(r);
1779
1784
  return h(o.value, s);
1780
1785
  });
1781
- ae(() => {
1786
+ re(() => {
1782
1787
  const s = d.value;
1783
1788
  if (!s)
1784
1789
  return;
1785
- let b = et(a.value, (E) => E.value === s.value);
1790
+ let b = et(n.value, (E) => E.value === s.value);
1786
1791
  if (b) {
1787
1792
  if (s.hide) {
1788
1793
  const E = Ve(b.query) || "{}", L = Ve(r.query) || "{}";
@@ -1791,7 +1796,7 @@ const pr = () => ({
1791
1796
  ...s,
1792
1797
  query: r.query
1793
1798
  };
1794
- a.value = $($(a.value, (C) => C.value === s.value ? j : C)), P(j);
1799
+ n.value = F(F(n.value, (C) => C.value === s.value ? j : C)), P(j);
1795
1800
  }
1796
1801
  }
1797
1802
  } else {
@@ -1799,7 +1804,7 @@ const pr = () => ({
1799
1804
  ...s,
1800
1805
  query: r.query
1801
1806
  } : s;
1802
- a.value = [...a.value, E];
1807
+ n.value = [...n.value, E];
1803
1808
  }
1804
1809
  }, r);
1805
1810
  const y = (s) => {
@@ -1815,22 +1820,22 @@ const pr = () => ({
1815
1820
  var b;
1816
1821
  if (!c(s)) {
1817
1822
  if (s.value === ((b = d.value) == null ? void 0 : b.value)) {
1818
- const E = On(a.value, (L) => L.value === d.value.value);
1819
- a.value[E + 1] ? y(a.value[E + 1]) : a.value[E - 1] && y(a.value[E - 1]);
1823
+ const E = An(n.value, (L) => L.value === d.value.value);
1824
+ n.value[E + 1] ? y(n.value[E + 1]) : n.value[E - 1] && y(n.value[E - 1]);
1820
1825
  }
1821
- a.value = _(a.value, (E) => E.value !== s.value);
1826
+ n.value = X(n.value, (E) => E.value !== s.value);
1822
1827
  }
1823
1828
  }, m = (s) => {
1824
1829
  var b;
1825
- s.value !== ((b = d.value) == null ? void 0 : b.value) && y(d.value), a.value = _(a.value, (E) => E.value === s.value ? !0 : c(s));
1830
+ s.value !== ((b = d.value) == null ? void 0 : b.value) && y(s), n.value = X(n.value, (E) => E.value === s.value ? !0 : c(E));
1826
1831
  }, p = () => {
1827
1832
  if (!d.value || !c(d.value)) {
1828
- const s = et(a.value, (b) => c(b));
1833
+ const s = et(n.value, (b) => c(b));
1829
1834
  s && t.openMenu(s);
1830
1835
  }
1831
- a.value = _(a.value, (s) => c(s));
1836
+ n.value = X(n.value, (s) => c(s));
1832
1837
  }, P = (s) => {
1833
- n(s);
1838
+ a(s);
1834
1839
  }, v = (s, b) => {
1835
1840
  s.preventDefault();
1836
1841
  const E = s.target;
@@ -1846,13 +1851,13 @@ const pr = () => ({
1846
1851
  }, A = () => {
1847
1852
  l.ctxMenuItem = null;
1848
1853
  }, f = W(), [T, K] = ut(), w = (s) => {
1849
- const b = re(a.value, (E, L) => ({
1854
+ const b = ae(n.value, (E, L) => ({
1850
1855
  ...E,
1851
1856
  [L.value]: L
1852
1857
  }), {});
1853
- a.value = $(s, (E) => h(b, E)), K();
1858
+ n.value = F(s, (E) => h(b, E)), K();
1854
1859
  };
1855
- ae(() => {
1860
+ re(() => {
1856
1861
  !f.value || !e.onDragRegister || e.onDragRegister({
1857
1862
  dom: f.value,
1858
1863
  dataIdAttr: "data-url",
@@ -1860,7 +1865,7 @@ const pr = () => ({
1860
1865
  });
1861
1866
  }, [f]);
1862
1867
  const x = W();
1863
- ae(() => {
1868
+ re(() => {
1864
1869
  var b;
1865
1870
  const s = (b = x.value) == null ? void 0 : b.originRef;
1866
1871
  !s || s == null || s.handleOpen();
@@ -1884,7 +1889,7 @@ const pr = () => ({
1884
1889
  }, {
1885
1890
  label: "\u5168\u90E8\u5173\u95ED",
1886
1891
  value: "close-all"
1887
- }), $(s, (L) => e.covertMenuItem ? e.covertMenuItem(L) : L);
1892
+ }), F(s, (L) => e.covertMenuItem ? e.covertMenuItem(L) : L);
1888
1893
  }), G = te(), ee = G(V.DropdownKey), S = G(V.ScrollKey) || "div";
1889
1894
  return () => i(le, null, [i(S, {
1890
1895
  class: "pro-layout-tabs"
@@ -1893,7 +1898,7 @@ const pr = () => ({
1893
1898
  class: "pro-layout-tabs-root",
1894
1899
  ref: f,
1895
1900
  key: T.value
1896
- }, [$(a.value, (s) => {
1901
+ }, [F(n.value, (s) => {
1897
1902
  var L, j;
1898
1903
  const b = c(s), E = s.value === ((L = d.value) == null ? void 0 : L.value);
1899
1904
  return i("div", {
@@ -1907,9 +1912,9 @@ const pr = () => ({
1907
1912
  C.preventDefault(), C.stopPropagation(), g(s);
1908
1913
  },
1909
1914
  oncontextmenu: I
1910
- }, [Be("\u2715")])]);
1915
+ }, [Ue("\u2715")])]);
1911
1916
  })])]
1912
- }), l.ctxMenuItem && l.ctxMenuPos && i(Mn, {
1917
+ }), l.ctxMenuItem && l.ctxMenuPos && i(Rt, {
1913
1918
  to: "body"
1914
1919
  }, {
1915
1920
  default: () => [i("div", {
@@ -1927,22 +1932,52 @@ const pr = () => ({
1927
1932
  })])]
1928
1933
  })]);
1929
1934
  }
1930
- }), Le = D((e, {
1935
+ }), kr = () => ({
1936
+ str: {
1937
+ type: String,
1938
+ default: "watermark"
1939
+ }
1940
+ }), jr = D({
1941
+ props: {
1942
+ ...kr()
1943
+ },
1944
+ setup: (e) => {
1945
+ const t = W(), r = be({
1946
+ imgStr: ""
1947
+ });
1948
+ return re(() => {
1949
+ if (!t.value)
1950
+ return;
1951
+ let o = document.createElement("canvas");
1952
+ o.width = 200, o.height = 130;
1953
+ let n = o.getContext("2d");
1954
+ n.rotate(-20 * Math.PI / 180), n.font = "12px Vedana", n.fillStyle = "rgba(200, 200, 200, 0.30)", n.textBaseline = "middle", n.fillText(e.str, o.width / 10, o.height / 2), r.imgStr = o.toDataURL("image/png"), n = null, o = null;
1955
+ }, [() => e.str, t]), () => i(Rt, {
1956
+ to: "body"
1957
+ }, {
1958
+ default: () => [i("div", {
1959
+ ref: t,
1960
+ class: "pro-watermark",
1961
+ style: `background:url(${r.imgStr}) left top repeat`
1962
+ }, null)]
1963
+ });
1964
+ }
1965
+ }), ke = D((e, {
1931
1966
  slots: t
1932
1967
  }) => {
1933
1968
  const r = W(), o = W(0);
1934
- return ke(r, (a) => {
1969
+ return je(r, (n) => {
1935
1970
  var u;
1936
- const n = (u = a[0]) == null ? void 0 : u.contentRect;
1937
- o.value = n == null ? void 0 : n.width;
1971
+ const a = (u = n[0]) == null ? void 0 : u.contentRect;
1972
+ o.value = a == null ? void 0 : a.width;
1938
1973
  }), () => {
1939
- var a, n, u;
1940
- return i("header", null, [(a = t.start) == null ? void 0 : a.call(t), t.menus && i("div", {
1974
+ var n, a, u;
1975
+ return i("header", null, [(n = t.start) == null ? void 0 : n.call(t), t.menus && i("div", {
1941
1976
  ref: r,
1942
1977
  class: "pro-header-menus-wrapper"
1943
- }, [t.menus(o.value)]), (n = t.default) == null ? void 0 : n.call(t), (u = t.end) == null ? void 0 : u.call(t)]);
1978
+ }, [t.menus(o.value)]), (a = t.default) == null ? void 0 : a.call(t), (u = t.end) == null ? void 0 : u.call(t)]);
1944
1979
  };
1945
- }), Lr = () => ({
1980
+ }), Br = () => ({
1946
1981
  clsName: {
1947
1982
  type: String,
1948
1983
  default: "pro-layout"
@@ -1974,6 +2009,10 @@ const pr = () => ({
1974
2009
  type: Object,
1975
2010
  default: void 0
1976
2011
  },
2012
+ watermark: {
2013
+ type: Object,
2014
+ default: void 0
2015
+ },
1977
2016
  menus: {
1978
2017
  type: Array
1979
2018
  },
@@ -1998,23 +2037,23 @@ const pr = () => ({
1998
2037
  menuProps: {
1999
2038
  type: Object
2000
2039
  }
2001
- }), _a = D({
2040
+ }), Ja = D({
2002
2041
  inheritAttrs: !1,
2003
2042
  props: {
2004
- ...Lr()
2043
+ ...Br()
2005
2044
  },
2006
2045
  setup: (e, {
2007
2046
  slots: t,
2008
2047
  attrs: r
2009
2048
  }) => {
2010
- const o = te(), a = o(V.MenusKey), n = o(V.ScrollKey) || "div", {
2049
+ const o = te(), n = o(V.MenusKey), a = o(V.ScrollKey) || "div", {
2011
2050
  router: u,
2012
2051
  route: l
2013
- } = _e(), c = N(() => {
2052
+ } = Xe(), c = N(() => {
2014
2053
  var C;
2015
- return kt(e.menus, (M) => {
2016
- var se, be, Ee;
2017
- const O = ((se = e.fieldNames) == null ? void 0 : se.value) || "value", H = ((be = e.fieldNames) == null ? void 0 : be.label) || "label", ce = ((Ee = e.fieldNames) == null ? void 0 : Ee.hide) || "hide";
2054
+ return Bt(e.menus, (M) => {
2055
+ var se, ge, Ee;
2056
+ const O = ((se = e.fieldNames) == null ? void 0 : se.value) || "value", H = ((ge = e.fieldNames) == null ? void 0 : ge.label) || "label", ce = ((Ee = e.fieldNames) == null ? void 0 : Ee.hide) || "hide";
2018
2057
  return {
2019
2058
  ...R(M, O, H, ce),
2020
2059
  value: h(M, O),
@@ -2025,7 +2064,7 @@ const pr = () => ({
2025
2064
  children: ((C = e.fieldNames) == null ? void 0 : C.children) || "children",
2026
2065
  childrenName: "children"
2027
2066
  });
2028
- }), d = N(() => Hn(c.value, (C) => !C.hide)), y = N(() => gt(c.value)), g = N(() => gt(d.value)), m = N(() => jt(c.value, (C) => R(C, "children"))), p = (C) => e.convertName ? e.convertName({
2067
+ }), d = N(() => Gn(c.value, (C) => !C.hide)), y = N(() => pt(c.value)), g = N(() => pt(d.value)), m = N(() => Ut(c.value, (C) => R(C, "children"))), p = (C) => e.convertName ? e.convertName(C, {
2029
2068
  menuTopMap: y.value
2030
2069
  }) : C.name, P = (C) => e.convertValue ? e.convertValue({}) : C.value, v = N(() => {
2031
2070
  if (e.findCurrentTopName)
@@ -2040,38 +2079,38 @@ const pr = () => ({
2040
2079
  return C;
2041
2080
  const {
2042
2081
  parentList: M
2043
- } = pt(c.value, (H) => H.value === C, void 0, []), O = Kn(M, (H) => !H.hide);
2082
+ } = St(c.value, (H) => H.value === C, void 0, []), O = Dn(M, (H) => !H.hide);
2044
2083
  return (O == null ? void 0 : O.value) || C;
2045
2084
  }), T = (C) => {
2046
2085
  e.onMenuItemClick ? e.onMenuItemClick(C) : u.openMenu(C);
2047
2086
  }, K = (C) => {
2048
- const M = pt(d.value, (O) => O.value === C.value).target;
2087
+ const M = St(d.value, (O) => O.value === C.value).target;
2049
2088
  T(M);
2050
2089
  }, w = N(() => !!e.tabs), x = () => {
2051
2090
  var M;
2052
2091
  let C = (M = e.tabs) == null ? void 0 : M.sessionKey;
2053
2092
  return C === void 0 && (C = "pro-layout-tabs"), C;
2054
- }, B = Bt(d.value, (C) => !C.children || Q(C.children) <= 0), U = W((() => {
2093
+ }, B = qt(d.value, (C) => !C.children || Q(C.children) <= 0), U = W((() => {
2055
2094
  if (!w.value)
2056
2095
  return [];
2057
2096
  const C = x();
2058
2097
  let M = [];
2059
2098
  if (C) {
2060
2099
  const O = window.sessionStorage.getItem(C), H = O ? ct(O) : [];
2061
- M = $(H, (ce) => ({
2100
+ M = F(H, (ce) => ({
2062
2101
  ...h(m.value, ce.name),
2063
2102
  query: ce.query
2064
2103
  }));
2065
2104
  }
2066
2105
  return Q(M) <= 0 && B && (M = [B]), M;
2067
2106
  })()), G = (C) => C.value === (B == null ? void 0 : B.value), ee = (C) => {
2068
- U.value = _(U.value, (M) => M.value !== C);
2107
+ U.value = X(U.value, (M) => M.value !== C);
2069
2108
  };
2070
2109
  lt(() => {
2071
2110
  const C = x();
2072
2111
  if (!C)
2073
2112
  return;
2074
- const M = $(U.value, (O) => ({
2113
+ const M = F(U.value, (O) => ({
2075
2114
  name: O.value,
2076
2115
  query: O.query
2077
2116
  }));
@@ -2082,12 +2121,12 @@ const pr = () => ({
2082
2121
  const C = (M = e.tabs) == null ? void 0 : M.clearWhileUnmount;
2083
2122
  return C === void 0 ? !0 : C;
2084
2123
  };
2085
- ae(() => () => {
2124
+ re(() => () => {
2086
2125
  const C = x();
2087
2126
  C && S() && window.sessionStorage.removeItem(C);
2088
2127
  }, []);
2089
2128
  const s = W(!1);
2090
- ve(sn, {
2129
+ ve(mn, {
2091
2130
  convertName: p,
2092
2131
  convertValue: P,
2093
2132
  menus: c,
@@ -2106,15 +2145,15 @@ const pr = () => ({
2106
2145
  var M, O;
2107
2146
  return i("div", {
2108
2147
  class: `${e.clsName}-menus-wrapper`
2109
- }, [(M = L.start) == null ? void 0 : M.call(L), i(n, {
2148
+ }, [(M = L.start) == null ? void 0 : M.call(L), i(a, {
2110
2149
  class: `${e.clsName}-menus-scroll`
2111
2150
  }, {
2112
- default: () => [i(a, C, L)]
2151
+ default: () => [i(n, C, L)]
2113
2152
  }), (O = L.end) == null ? void 0 : O.call(L)]);
2114
2153
  };
2115
2154
  return () => {
2116
2155
  var ce;
2117
- if (!a)
2156
+ if (!n)
2118
2157
  return null;
2119
2158
  const C = [`${e.clsName} ${e.clsName}-${e.layout}`];
2120
2159
  w.value && C.push("has-tabs");
@@ -2128,45 +2167,45 @@ const pr = () => ({
2128
2167
  }, O = {
2129
2168
  collapse: e.collapse,
2130
2169
  ...M
2131
- }, H = i(le, null, [w.value && i($r, F({
2170
+ }, H = i(le, null, [w.value && i(Lr, $({
2132
2171
  isHideClose: G
2133
2172
  }, R(e.tabs, "sessionKey", "clearWhileUnmount")), null), i("div", {
2134
2173
  class: `${e.clsName}-section`
2135
- }, [(ce = t.default) == null ? void 0 : ce.call(t), t.routerView ? t.routerView() : i(Rr, e.routeOpts, null)])]);
2136
- return e.layout === "vertical" ? i("main", F(r, {
2174
+ }, [(ce = t.default) == null ? void 0 : ce.call(t), t.routerView ? t.routerView() : i($r, e.routeOpts, null), e.watermark && i(jr, e.watermark, null)])]);
2175
+ return e.layout === "vertical" ? i("main", $(r, {
2137
2176
  class: C
2138
- }), [i(Le, {
2177
+ }), [i(ke, {
2139
2178
  class: `${e.clsName}-header`
2140
2179
  }, {
2141
- menus: (se) => se ? i(a, F({
2180
+ menus: (se) => se ? i(n, $({
2142
2181
  style: `width:${se}px`,
2143
2182
  mode: "horizontal"
2144
2183
  }, M), L) : null,
2145
2184
  ...E
2146
- }), H]) : e.layout === "horizontal" ? (C.push("has-left-menu"), e.collapse && C.push("mini"), i("main", F(r, {
2185
+ }), H]) : e.layout === "horizontal" ? (C.push("has-left-menu"), e.collapse && C.push("mini"), i("main", $(r, {
2147
2186
  class: C
2148
2187
  }), [j(O), i("div", {
2149
2188
  class: `${e.clsName}-structure`
2150
- }, [i(Le, {
2189
+ }, [i(ke, {
2151
2190
  class: `${e.clsName}-header`
2152
- }, E), H])])) : e.layout === "horizontal-v" ? (C.push("has-left-menu"), e.collapse && C.push("mini"), i("main", F(r, {
2191
+ }, E), H])])) : e.layout === "horizontal-v" ? (C.push("has-left-menu"), e.collapse && C.push("mini"), i("main", $(r, {
2153
2192
  class: C
2154
- }), [i(Le, {
2193
+ }), [i(ke, {
2155
2194
  class: `${e.clsName}-header`
2156
2195
  }, E), i("div", {
2157
2196
  class: `${e.clsName}-structure`
2158
2197
  }, [j(O), i("div", {
2159
2198
  class: `${e.clsName}-right`
2160
- }, [H])])])) : (A.value && C.push("has-left-menu"), e.collapse && C.push("mini"), i("main", F(r, {
2199
+ }, [H])])])) : (A.value && C.push("has-left-menu"), e.collapse && C.push("mini"), i("main", $(r, {
2161
2200
  class: C
2162
- }), [i(Le, {
2201
+ }), [i(ke, {
2163
2202
  class: `${e.clsName}-header`
2164
2203
  }, {
2165
- menus: (se) => se ? i(a, F({
2204
+ menus: (se) => se ? i(n, $({
2166
2205
  style: `width:${se}px`,
2167
2206
  class: `${e.clsName}-menus`,
2168
2207
  mode: "horizontal",
2169
- options: $(d.value, (be) => R(be, "children")),
2208
+ options: F(d.value, (ge) => R(ge, "children")),
2170
2209
  activeKey: v.value
2171
2210
  }, Z(e, "convertSubMenuProps", "convertMenuItemProps"), {
2172
2211
  onMenuItemClick: K
@@ -2182,7 +2221,7 @@ const pr = () => ({
2182
2221
  }, [H])])]));
2183
2222
  };
2184
2223
  }
2185
- }), Ya = D({
2224
+ }), Za = D({
2186
2225
  props: {
2187
2226
  fieldNames: {
2188
2227
  type: Object,
@@ -2200,11 +2239,11 @@ const pr = () => ({
2200
2239
  slots: t,
2201
2240
  emit: r
2202
2241
  }) => {
2203
- const a = te()(V.UploaderKey), n = (d) => {
2242
+ const n = te()(V.UploaderKey), a = (d) => {
2204
2243
  const y = ct(d);
2205
2244
  if (J(y)) {
2206
2245
  const g = e.fieldNames;
2207
- return $(y, (m) => ({
2246
+ return F(y, (m) => ({
2208
2247
  ...R(m, g.id, g.name, g.size),
2209
2248
  id: h(m, g.id),
2210
2249
  name: h(m, g.name),
@@ -2212,9 +2251,9 @@ const pr = () => ({
2212
2251
  }));
2213
2252
  }
2214
2253
  return [];
2215
- }, u = N(() => n(e.value)), l = N(() => n(e.modelValue)), c = (d, y) => {
2254
+ }, u = N(() => a(e.value)), l = N(() => a(e.modelValue)), c = (d, y) => {
2216
2255
  let g = "";
2217
- d && Q(d) > 0 && (g = Ve($(d, (m) => {
2256
+ d && Q(d) > 0 && (g = Ve(F(d, (m) => {
2218
2257
  var v;
2219
2258
  const p = e.fieldNames, P = {
2220
2259
  [p.id]: m.id,
@@ -2224,7 +2263,7 @@ const pr = () => ({
2224
2263
  return ((v = e.convertItem) == null ? void 0 : v.call(e, m)) || P;
2225
2264
  }))), r(y, g);
2226
2265
  };
2227
- return () => a ? i(a, F({
2266
+ return () => n ? i(n, $({
2228
2267
  class: "pro-uploader-text",
2229
2268
  value: u.value,
2230
2269
  "onUpdate:value": (d) => c(d, "update:value"),
@@ -2232,7 +2271,7 @@ const pr = () => ({
2232
2271
  "onUpdate:modelValue": (d) => c(d, "update:modelValue")
2233
2272
  }, R(e, "value", "modelValue", "fieldNames")), t) : null;
2234
2273
  }
2235
- }), Qa = D({
2274
+ }), eo = D({
2236
2275
  props: {
2237
2276
  value: [String, Array],
2238
2277
  fieldNames: {
@@ -2251,9 +2290,9 @@ const pr = () => ({
2251
2290
  const o = (u) => {
2252
2291
  var l;
2253
2292
  return !!h(u, ((l = e.fieldNames) == null ? void 0 : l.id) || "id");
2254
- }, a = N(() => {
2293
+ }, n = N(() => {
2255
2294
  let u = e.value;
2256
- return u && de(u) && (u = ct(u)), u && !J(u) && Oe(u) && o(u) && (u = [u]), J(u) ? $(_(u, (l) => o(l)), (l) => {
2295
+ return u && de(u) && (u = ct(u)), u && !J(u) && Oe(u) && o(u) && (u = [u]), J(u) ? F(X(u, (l) => o(l)), (l) => {
2257
2296
  var g, m, p;
2258
2297
  const c = h(l, ((g = e.fieldNames) == null ? void 0 : g.id) || "id"), d = h(l, ((m = e.fieldNames) == null ? void 0 : m.name) || "name"), y = h(l, ((p = e.fieldNames) == null ? void 0 : p.name) || "size");
2259
2298
  return {
@@ -2263,28 +2302,28 @@ const pr = () => ({
2263
2302
  name: d || c
2264
2303
  };
2265
2304
  }) : [];
2266
- }), n = (u) => {
2305
+ }), a = (u) => {
2267
2306
  r("titleClick", u);
2268
2307
  };
2269
2308
  return () => {
2270
2309
  var u, l;
2271
2310
  return i("div", {
2272
2311
  class: "pro-upload-list"
2273
- }, [(u = t.start) == null ? void 0 : u.call(t), $(a.value, (c) => {
2312
+ }, [(u = t.start) == null ? void 0 : u.call(t), F(n.value, (c) => {
2274
2313
  var d;
2275
2314
  return i("div", {
2276
2315
  class: "pro-upload-list-item"
2277
2316
  }, [i("span", {
2278
2317
  class: "pro-upload-list-item-title",
2279
- onClick: () => n(c)
2318
+ onClick: () => a(c)
2280
2319
  }, [c.name]), (d = t.extra) == null ? void 0 : d.call(t, c)]);
2281
2320
  }), (l = t.default) == null ? void 0 : l.call(t)]);
2282
2321
  };
2283
2322
  }
2284
- }), kr = {
2323
+ }), Ur = {
2285
2324
  open: (e, t, r) => window.open(e, t, r),
2286
2325
  parseStr: (e) => {
2287
- var n;
2326
+ var a;
2288
2327
  if (!e)
2289
2328
  return null;
2290
2329
  try {
@@ -2293,26 +2332,26 @@ const pr = () => ({
2293
2332
  protocol: u.protocol,
2294
2333
  path: u.pathname,
2295
2334
  origin: u.origin,
2296
- query: St(u.search),
2335
+ query: Pt(u.search),
2297
2336
  url: u.origin + u.pathname
2298
2337
  };
2299
2338
  } catch {
2300
2339
  }
2301
- const t = e.indexOf("//") > -1 ? (n = e.split("//")) == null ? void 0 : n[0] : "";
2340
+ const t = e.indexOf("//") > -1 ? (a = e.split("//")) == null ? void 0 : a[0] : "";
2302
2341
  let r = "", o = "";
2303
2342
  e.indexOf("?") >= -1 && (r = e.substring(0, e.indexOf("?")), o = e.substring(e.indexOf("?")));
2304
- const a = o ? St(o) : {};
2305
- return { protocol: t, query: a, url: r };
2343
+ const n = o ? Pt(o) : {};
2344
+ return { protocol: t, query: n, url: r };
2306
2345
  },
2307
2346
  stringifyUrl: ({ url: e, query: t }) => {
2308
- const r = Jn(t);
2347
+ const r = Zn(t);
2309
2348
  return `${e}${r ? "?" : ""}${r || ""}`;
2310
2349
  }
2311
- }, _e = () => {
2312
- const { convertRouter: e } = oe(), t = it(), r = st(), o = Ge(), u = { ...t, openMenu: (c) => {
2350
+ }, Xe = () => {
2351
+ const { convertRouter: e } = oe(), t = dt(), r = it(), o = Ge(), u = { ...t, openMenu: (c) => {
2313
2352
  if (!!c) {
2314
2353
  if (Q(c.children) > 0) {
2315
- const d = Bt(c.children, (y) => !y.children || Q(y.children) <= 0);
2354
+ const d = qt(c.children, (y) => !y.children || Q(y.children) <= 0);
2316
2355
  if (d) {
2317
2356
  t.push({ name: d.value });
2318
2357
  return;
@@ -2329,56 +2368,56 @@ const pr = () => ({
2329
2368
  }
2330
2369
  }
2331
2370
  t.back();
2332
- }, ...kr };
2371
+ }, ...Ur };
2333
2372
  return { router: e ? e(u) : u, route: r };
2334
- }, jr = (e) => {
2373
+ }, qr = (e) => {
2335
2374
  if (!J(e) || Q(e) <= 0)
2336
2375
  return !1;
2337
2376
  const t = e[0];
2338
- return de(t) ? $t(t, "$") : !1;
2339
- }, Br = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "data$" && e.type$, Ur = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "obj", qr = { get: h, pick: Z, add: An, subtract: Dn }, He = (e, t) => {
2340
- if (Br(e)) {
2377
+ return de(t) ? kt(t, "$") : !1;
2378
+ }, Vr = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "data$" && e.type$, zr = (e) => typeof e != "object" || !e.type$ ? !1 : e.type$ === "obj", Hr = { get: h, pick: Z, add: Rn, subtract: $n }, He = (e, t) => {
2379
+ if (Vr(e)) {
2341
2380
  const r = h(t, e.name$);
2342
2381
  return e.namePath$ ? h(r, e.namePath$) : r;
2343
- } else if (Ur(e)) {
2382
+ } else if (zr(e)) {
2344
2383
  const r = {};
2345
- return ne(e, (o, a) => {
2346
- if (a !== "type$")
2347
- if ($t(a, "$")) {
2348
- const n = He(o, t);
2349
- fe(r, a.replace("$", ""), n);
2384
+ return ne(e, (o, n) => {
2385
+ if (n !== "type$")
2386
+ if (kt(n, "$")) {
2387
+ const a = He(o, t);
2388
+ fe(r, n.replace("$", ""), a);
2350
2389
  } else
2351
- r[a] = o;
2390
+ r[n] = o;
2352
2391
  }), r;
2353
- } else if (jr(e)) {
2354
- const [r, ...o] = e, a = t.expressionMethods || qr, n = h(a, r.replace("$", ""));
2355
- if (!n) {
2392
+ } else if (qr(e)) {
2393
+ const [r, ...o] = e, n = t.expressionMethods || Hr, a = h(n, r.replace("$", ""));
2394
+ if (!a) {
2356
2395
  console.log("ex", "\u672A\u627E\u5230\u5BF9\u5E94\u7684\u65B9\u6CD5", e);
2357
2396
  return;
2358
2397
  }
2359
- const u = $(o, (l) => He(l, t));
2360
- return n(...u);
2398
+ const u = F(o, (l) => He(l, t));
2399
+ return a(...u);
2361
2400
  }
2362
2401
  return e;
2363
- }, Vr = () => {
2364
- const e = Gt(), { registerStoreMap: t } = oe();
2402
+ }, Wr = () => {
2403
+ const e = _t(), { registerStoreMap: t } = oe();
2365
2404
  return (r, o) => {
2366
- const a = h(t, r);
2367
- !a || e(r, o, !!a.persist, a.initialState);
2405
+ const n = h(t, r);
2406
+ !n || e(r, o, !!n.persist, n.initialState);
2368
2407
  };
2369
- }, Ja = (e) => {
2408
+ }, to = (e) => {
2370
2409
  const { registerStoreMap: t } = oe(), r = h(t, e), o = `${r != null && r.persist ? "$" : ""}${r == null ? void 0 : r.key}`;
2371
- return Xn(_n((n) => {
2372
- const u = h(n, o);
2373
- return u || (X(r == null ? void 0 : r.initialState) ? r == null ? void 0 : r.initialState() : r == null ? void 0 : r.initialState);
2410
+ return Xt(Yt((a) => {
2411
+ const u = h(a, o);
2412
+ return u || (_(r == null ? void 0 : r.initialState) ? r == null ? void 0 : r.initialState() : r == null ? void 0 : r.initialState);
2374
2413
  }));
2375
- }, fn = Symbol("pro-module"), Te = () => he(fn), zr = (e) => {
2376
- ve(fn, e);
2377
- }, ft = (e) => {
2414
+ }, vn = Symbol("pro-module"), Te = () => he(vn), Gr = (e) => {
2415
+ ve(vn, e);
2416
+ }, mt = (e) => {
2378
2417
  const {
2379
2418
  subject$: t
2380
2419
  } = Te();
2381
- ae(() => {
2420
+ re(() => {
2382
2421
  const r = t.subscribe({
2383
2422
  next: (o) => {
2384
2423
  e(o);
@@ -2386,10 +2425,10 @@ const pr = () => ({
2386
2425
  });
2387
2426
  return () => r.unsubscribe();
2388
2427
  }, []);
2389
- }, Ae = {
2428
+ }, De = {
2390
2429
  Success: "request-success$",
2391
2430
  Fail: "request-fail$"
2392
- }, Hr = () => ({
2431
+ }, _r = () => ({
2393
2432
  state: {
2394
2433
  type: Object
2395
2434
  },
@@ -2414,47 +2453,47 @@ const pr = () => ({
2414
2453
  requests: {
2415
2454
  type: Array
2416
2455
  }
2417
- }), je = D({
2456
+ }), Be = D({
2418
2457
  props: {
2419
- ...Hr()
2458
+ ..._r()
2420
2459
  },
2421
2460
  setup: (e, {
2422
2461
  slots: t,
2423
2462
  expose: r
2424
2463
  }) => {
2425
- const o = Xt(), {
2426
- router: a
2427
- } = _e(), {
2428
- elementMap: n,
2464
+ const o = Yn(), {
2465
+ router: n
2466
+ } = Xe(), {
2467
+ elementMap: a,
2429
2468
  registerStoreMap: u,
2430
2469
  expressionMethods: l
2431
- } = oe(), c = e.elementMap || n, d = (S) => J(S) ? yt(c, S) : De(c, S), y = new $n(), g = (S) => {
2470
+ } = oe(), c = e.elementMap || a, d = (S) => J(S) ? vt(c, S) : Re(c, S), y = new kn(), g = (S) => {
2432
2471
  y.next(S);
2433
- }, m = _(e.storeKeys, (S) => rt(u, S)), p = () => re(m, (S, s) => {
2472
+ }, m = X(e.storeKeys, (S) => rt(u, S)), p = () => ae(m, (S, s) => {
2434
2473
  const b = h(u, s);
2435
2474
  return {
2436
2475
  ...S,
2437
2476
  [s]: h(o.value, `${b.persist ? "$" : ""}${s}`) || h(u, [s, "initialState"])
2438
2477
  };
2439
- }, {}), P = p(), v = e.state || Se({
2478
+ }, {}), P = p(), v = e.state || be({
2440
2479
  ...P,
2441
2480
  ...e.initState
2442
2481
  }), I = {}, A = (S) => {
2443
- const s = v[S.type], b = X(S.payload) ? S.payload(s) : S.payload;
2482
+ const s = v[S.type], b = _(S.payload) ? S.payload(s) : S.payload;
2444
2483
  if (!J(s) && Oe(s)) {
2445
- Ut(v[S.type], b);
2484
+ Vt(v[S.type], b);
2446
2485
  return;
2447
2486
  }
2448
2487
  v[S.type] = b;
2449
- }, f = Vr(), T = {
2488
+ }, f = Wr(), T = {
2450
2489
  dispatch: A,
2451
2490
  dispatchStore: f
2452
2491
  };
2453
- ae(() => {
2454
- const S = o.pipe(Ln(() => p()), kn((s) => {
2492
+ re(() => {
2493
+ const S = o.pipe(jn(() => p()), Bn((s) => {
2455
2494
  ne(s, (b, E) => {
2456
2495
  const L = h(v, E);
2457
- Yn(L, b) || A({
2496
+ Qn(L, b) || A({
2458
2497
  type: E,
2459
2498
  payload: b
2460
2499
  });
@@ -2467,7 +2506,7 @@ const pr = () => ({
2467
2506
  const {
2468
2507
  dispatchRequest: K
2469
2508
  } = Fe(), x = (() => {
2470
- const S = {}, s = re(e.actors || [], (b, E) => ({
2509
+ const S = {}, s = ae(e.actors || [], (b, E) => ({
2471
2510
  ...b,
2472
2511
  [E.name]: E
2473
2512
  }), {});
@@ -2493,7 +2532,7 @@ const pr = () => ({
2493
2532
  payload: !0
2494
2533
  }), K(b.actor, E);
2495
2534
  };
2496
- nr(Y(x), {
2535
+ rr(Y(x), {
2497
2536
  onSuccess: (S) => {
2498
2537
  var E;
2499
2538
  const s = h(x, S.name), b = q(s, S);
@@ -2501,7 +2540,7 @@ const pr = () => ({
2501
2540
  type: s.stateName,
2502
2541
  payload: b
2503
2542
  }), g({
2504
- type: Ae.Success,
2543
+ type: De.Success,
2505
2544
  payload: {
2506
2545
  actor: S,
2507
2546
  requestOpts: s
@@ -2512,7 +2551,7 @@ const pr = () => ({
2512
2551
  var b;
2513
2552
  const s = h(x, S.name);
2514
2553
  g({
2515
- type: Ae.Fail,
2554
+ type: De.Fail,
2516
2555
  payload: {
2517
2556
  actor: S,
2518
2557
  requestOpts: s
@@ -2550,7 +2589,7 @@ const pr = () => ({
2550
2589
  let M;
2551
2590
  switch (L) {
2552
2591
  case "router":
2553
- M = h(a, j);
2592
+ M = h(n, j);
2554
2593
  break;
2555
2594
  case "state":
2556
2595
  M = h(T, j);
@@ -2558,14 +2597,14 @@ const pr = () => ({
2558
2597
  }
2559
2598
  if (M)
2560
2599
  try {
2561
- const O = $(C, (H) => He(H, b));
2600
+ const O = F(C, (H) => He(H, b));
2562
2601
  M(...O);
2563
2602
  } catch (O) {
2564
2603
  console.log("execute err", O);
2565
2604
  }
2566
2605
  });
2567
2606
  };
2568
- return zr({
2607
+ return Gr({
2569
2608
  elementMap: c,
2570
2609
  subject$: y,
2571
2610
  sendEvent: g,
@@ -2587,22 +2626,22 @@ const pr = () => ({
2587
2626
  }), tt = (e) => {
2588
2627
  var t, r;
2589
2628
  return !(!e || ((r = (t = e == null ? void 0 : e[0]) == null ? void 0 : t.type) == null ? void 0 : r.toString()) === "Symbol(Comment)");
2590
- }, mn = (e) => e.formValueType || e.valueType || "text", ye = (e) => {
2591
- var o, a;
2629
+ }, hn = (e) => e.formValueType || e.valueType || "text", ye = (e) => {
2630
+ var o, n;
2592
2631
  const t = (o = e.formItemProps) == null ? void 0 : o.name;
2593
- return ((a = e.inputProps) == null ? void 0 : a.name) || t || e.dataIndex;
2594
- }, Wr = (e, t) => {
2632
+ return ((n = e.inputProps) == null ? void 0 : n.name) || t || e.dataIndex;
2633
+ }, Xr = (e, t) => {
2595
2634
  let r = t;
2596
- return de(t) && (r = h(e, t)), X(r) || (r = h(e, "render")), X(r) ? r : void 0;
2597
- }, mt = (e, t, r, o) => {
2635
+ return de(t) && (r = h(e, t)), _(r) || (r = h(e, "render")), _(r) ? r : void 0;
2636
+ }, yt = (e, t, r, o) => {
2598
2637
  var y, g, m;
2599
- const a = Wr(t, o == null ? void 0 : o.render);
2600
- if (a)
2601
- return a({
2638
+ const n = Xr(t, o == null ? void 0 : o.render);
2639
+ if (n)
2640
+ return n({
2602
2641
  ...r,
2603
2642
  column: t
2604
2643
  });
2605
- const n = t.valueType || "text", u = h(e, n);
2644
+ const a = t.valueType || "text", u = h(e, a);
2606
2645
  if (!u)
2607
2646
  return null;
2608
2647
  const l = ((y = t.props) == null ? void 0 : y.slots) || ((g = t.formFieldProps) == null ? void 0 : g.slots) || {}, c = r || {};
@@ -2617,48 +2656,48 @@ const pr = () => ({
2617
2656
  return Ne(u, {
2618
2657
  ...d
2619
2658
  }, l);
2620
- }, yn = (e, t, r) => {
2659
+ }, bn = (e, t, r) => {
2621
2660
  var y, g;
2622
- const o = mn(r), a = h(t, o);
2623
- if (!a)
2661
+ const o = hn(r), n = h(t, o);
2662
+ if (!n)
2624
2663
  return null;
2625
- const n = r.inputProps, u = ((y = n == null ? void 0 : n.fieldProps) == null ? void 0 : y.slots) || ((g = r.formFieldProps) == null ? void 0 : g.slots) || {};
2626
- !u.renderInput && X(r.inputRender) && (u.renderInput = (m) => r.inputRender({
2664
+ const a = r.inputProps, u = ((y = a == null ? void 0 : a.fieldProps) == null ? void 0 : y.slots) || ((g = r.formFieldProps) == null ? void 0 : g.slots) || {};
2665
+ !u.renderInput && _(r.inputRender) && (u.renderInput = (m) => r.inputRender({
2627
2666
  ...m,
2628
2667
  column: r
2629
- })), u.renderShow || (u.renderShow = (m) => mt(e, r, {
2668
+ })), u.renderShow || (u.renderShow = (m) => yt(e, r, {
2630
2669
  value: m.value
2631
2670
  }, {
2632
2671
  render: "formReadRender"
2633
2672
  }) || m.value);
2634
- const l = ye(r), c = r.title, d = n ? {
2635
- ...n,
2636
- fieldProps: R(n.fieldProps, "slots")
2673
+ const l = ye(r), c = r.title, d = a ? {
2674
+ ...a,
2675
+ fieldProps: R(a.fieldProps, "slots")
2637
2676
  } : {
2638
2677
  ...r.formItemProps,
2639
2678
  fieldProps: R(r.formFieldProps, "slots"),
2640
2679
  showProps: r.showProps
2641
2680
  };
2642
- return Ne(a, {
2681
+ return Ne(n, {
2643
2682
  key: l,
2644
2683
  name: l,
2645
2684
  label: c,
2646
2685
  ...d
2647
2686
  }, u);
2648
- }, Gr = (e) => e && !X(e) && e.elementType, yt = (e, t) => $(t, (r) => De(e, r)), vn = (e, t) => {
2649
- var n;
2687
+ }, Yr = (e) => e && !_(e) && e.elementType, vt = (e, t) => F(t, (r) => Re(e, r)), gn = (e, t) => {
2688
+ var a;
2650
2689
  const r = t.elementProps, o = {
2651
2690
  ...t.elementProps
2652
- }, a = r == null ? void 0 : r.class;
2653
- return a && (typeof a == "object" ? o.class = Ct(a) : de(a) && a.indexOf(":") > 0 && (o.class = Ct`
2654
- ${a}
2655
- `)), ne((n = t.highConfig$) == null ? void 0 : n.registerPropsTrans, (u) => {
2691
+ }, n = r == null ? void 0 : r.class;
2692
+ return n && (typeof n == "object" ? o.class = Mt(n) : de(n) && n.indexOf(":") > 0 && (o.class = Mt`
2693
+ ${n}
2694
+ `)), ne((a = t.highConfig$) == null ? void 0 : a.registerPropsTrans, (u) => {
2656
2695
  const l = h(r, u.name);
2657
2696
  if (!(!l || we(l))) {
2658
2697
  if (J(l)) {
2659
- if (pe(l, (c) => we(c)))
2698
+ if (Se(l, (c) => we(c)))
2660
2699
  return;
2661
- fe(o, u.name, yt(e, l));
2700
+ fe(o, u.name, vt(e, l));
2662
2701
  return;
2663
2702
  }
2664
2703
  !l.elementType || (u.isFun ? fe(o, u.name, (...c) => {
@@ -2666,45 +2705,45 @@ const pr = () => ({
2666
2705
  ...l.elementProps,
2667
2706
  params$: c
2668
2707
  } : l.elementProps;
2669
- return De(e, {
2708
+ return Re(e, {
2670
2709
  ...l,
2671
2710
  elementProps: d
2672
2711
  });
2673
- }) : fe(o, u.name, De(e, l)));
2712
+ }) : fe(o, u.name, Re(e, l)));
2674
2713
  }
2675
2714
  }), o;
2676
- }, hn = (e, t) => {
2677
- const r = Q(t.children) > 0 ? yt(e, t.children) : void 0, o = t.childrenSlotName || "default", a = R(t.slots, r ? o : "");
2678
- return ne(Y(a), (n) => {
2679
- const u = a[n];
2680
- Gr(u) ? a[n] = (...l) => {
2715
+ }, pn = (e, t) => {
2716
+ const r = Q(t.children) > 0 ? vt(e, t.children) : void 0, o = t.childrenSlotName || "default", n = R(t.slots, r ? o : "");
2717
+ return ne(Y(n), (a) => {
2718
+ const u = n[a];
2719
+ Yr(u) ? n[a] = (...l) => {
2681
2720
  const c = u.needParams ? {
2682
2721
  ...u.elementProps,
2683
2722
  params$: l
2684
2723
  } : u.elementProps;
2685
- return De(e, {
2724
+ return Re(e, {
2686
2725
  ...u,
2687
2726
  elementProps: c
2688
2727
  });
2689
- } : (de(u) || at(u)) && (a[n] = () => u);
2728
+ } : (de(u) || at(u)) && (n[a] = () => u);
2690
2729
  }), {
2691
2730
  [o]: r ? () => r : void 0,
2692
- ...a
2731
+ ...n
2693
2732
  };
2694
- }, De = (e, t) => {
2733
+ }, Re = (e, t) => {
2695
2734
  const r = h(e, t.elementType) || t.elementType;
2696
2735
  if (t.highConfig$)
2697
- return Ne(_r, {
2736
+ return Ne(Jr, {
2698
2737
  key: t.elementId,
2699
2738
  elementMap: e,
2700
2739
  elementConfig: t
2701
2740
  });
2702
- const o = hn(e, t), a = vn(e, t);
2741
+ const o = pn(e, t), n = gn(e, t);
2703
2742
  return Ne(r, {
2704
2743
  key: t.elementId,
2705
- ...a
2744
+ ...n
2706
2745
  }, o);
2707
- }, Xr = (e) => J(e) ? Rn(e) : de(e) && e.indexOf(".") > 0 ? e.substring(0, e.indexOf(".")) : e, _r = D({
2746
+ }, Qr = (e) => J(e) ? Fn(e) : de(e) && e.indexOf(".") > 0 ? e.substring(0, e.indexOf(".")) : e, Jr = D({
2708
2747
  props: {
2709
2748
  elementMap: {
2710
2749
  type: Object
@@ -2720,30 +2759,30 @@ const pr = () => ({
2720
2759
  sendEvent: r,
2721
2760
  execute: o
2722
2761
  } = Te(), {
2723
- elementMap: a,
2724
- elementConfig: n
2725
- } = e, u = n.highConfig$, l = vn(a, n);
2726
- ne((p = n.highConfig$) == null ? void 0 : p.registerEventList, (P) => {
2762
+ elementMap: n,
2763
+ elementConfig: a
2764
+ } = e, u = a.highConfig$, l = gn(n, a);
2765
+ ne((p = a.highConfig$) == null ? void 0 : p.registerEventList, (P) => {
2727
2766
  const v = (...A) => {
2728
- const f = `${n.elementId}-${P.name}`;
2767
+ const f = `${a.elementId}-${P.name}`;
2729
2768
  r({
2730
2769
  type: f,
2731
2770
  payload: A
2732
2771
  }), o(P.executeList, A);
2733
- }, I = qt(P.name, l);
2734
- l && Vt(I) && zt(I, l) && fe(l, I, v);
2772
+ }, I = zt(P.name, l);
2773
+ l && Ht(I) && Wt(I, l) && fe(l, I, v);
2735
2774
  });
2736
2775
  const c = N(() => {
2737
2776
  if (!u.registerStateList || Q(u.registerStateList) <= 0)
2738
2777
  return;
2739
2778
  const P = {
2740
2779
  ...l
2741
- }, v = _(u.registerStateList, (A) => !A.target || A.target === "prop"), I = $(v, (A) => {
2780
+ }, v = X(u.registerStateList, (A) => !A.target || A.target === "prop"), I = F(v, (A) => {
2742
2781
  const f = A.mapName || A.name, T = h(t, A.name);
2743
- return fe(P, f, T), Xr(f);
2782
+ return fe(P, f, T), Qr(f);
2744
2783
  });
2745
2784
  return Z(P, I);
2746
- }), d = h(a, n.elementType) || n.elementType, y = hn(a, n), g = re(_(u.registerStateList, (P) => P.target === "slot"), (P, v) => ({
2785
+ }), d = h(n, a.elementType) || a.elementType, y = pn(n, a), g = ae(X(u.registerStateList, (P) => P.target === "slot"), (P, v) => ({
2747
2786
  ...P,
2748
2787
  [v.mapName]: () => h(t, v.name)
2749
2788
  }), {}), m = {
@@ -2751,36 +2790,36 @@ const pr = () => ({
2751
2790
  ...g
2752
2791
  };
2753
2792
  return () => h(c.value, "show$") === !1 ? null : Ne(d, {
2754
- key: n.elementId,
2793
+ key: a.elementId,
2755
2794
  ...l,
2756
2795
  ...R(c.value, "show$")
2757
2796
  }, m);
2758
2797
  }
2759
- }), Yr = (e, t) => {
2760
- !e || !t || Dt(t) || we(e) || ne(t, (r, o) => {
2761
- const a = qt(o, e);
2762
- if (!Vt(a)) {
2798
+ }), Zr = (e, t) => {
2799
+ !e || !t || $t(t) || we(e) || ne(t, (r, o) => {
2800
+ const n = zt(o, e);
2801
+ if (!Ht(n)) {
2763
2802
  console.log("ConfigExtra\uFF1A\u8865\u5145\u5BF9\u8C61key\u8F6C\u6362\u5931\u8D25", e.elementId, o);
2764
2803
  return;
2765
2804
  }
2766
- if (!zt(a, e)) {
2767
- console.log("ConfigExtra\uFF1A\u8865\u5145\u5BF9\u8C61key\u672A\u627E\u5230\u7236\u7EA7", e.elementId, o, "->", a);
2805
+ if (!Wt(n, e)) {
2806
+ console.log("ConfigExtra\uFF1A\u8865\u5145\u5BF9\u8C61key\u672A\u627E\u5230\u7236\u7EA7", e.elementId, o, "->", n);
2768
2807
  return;
2769
2808
  }
2770
- fe(e, a, r);
2809
+ fe(e, n, r);
2771
2810
  });
2772
2811
  }, Ie = (e, t) => {
2773
- Yr(e, h(t, e.elementId));
2812
+ Zr(e, h(t, e.elementId));
2774
2813
  const r = h(e, ["highConfig$", "registerPropsTrans"]);
2775
2814
  r && Q(r) > 0 && ne(r, (o) => {
2776
- const a = h(e.elementProps, o.name);
2777
- J(a) ? ne(a, (n) => {
2778
- Ie(n, t);
2779
- }) : Ie(a, t);
2815
+ const n = h(e.elementProps, o.name);
2816
+ J(n) ? ne(n, (a) => {
2817
+ Ie(a, t);
2818
+ }) : Ie(n, t);
2780
2819
  }), e.children && Q(e.children) > 0 && ne(e.children, (o) => {
2781
2820
  Ie(o, t);
2782
2821
  });
2783
- }, Qr = D({
2822
+ }, ea = D({
2784
2823
  props: {
2785
2824
  initExecuteList: {
2786
2825
  type: Array
@@ -2790,32 +2829,32 @@ const pr = () => ({
2790
2829
  const {
2791
2830
  execute: t
2792
2831
  } = Te();
2793
- return ae(() => {
2832
+ return re(() => {
2794
2833
  e.initExecuteList && t(e.initExecuteList, []);
2795
2834
  }, []), () => null;
2796
2835
  }
2797
- }), Za = ({
2836
+ }), no = ({
2798
2837
  actors: e,
2799
2838
  configData: t,
2800
2839
  configDataExtra: r,
2801
2840
  Logic: o
2802
2841
  }) => D(() => {
2803
- const a = W(), n = (c) => {
2804
- const d = Lt(c);
2842
+ const n = W(), a = (c) => {
2843
+ const d = jt(c);
2805
2844
  return r && (J(d) ? ne(d, (y) => Ie(y, r)) : Ie(d, r)), d;
2806
2845
  };
2807
- ae(() => {
2808
- t && t.elementConfigs && (a.value = n(t.elementConfigs)), t != null && t.elementConfigs;
2846
+ re(() => {
2847
+ t && t.elementConfigs && (n.value = a(t.elementConfigs)), t != null && t.elementConfigs;
2809
2848
  }, []);
2810
2849
  const l = te()(V.LoadingKey);
2811
- return () => a.value ? i(je, {
2850
+ return () => n.value ? i(Be, {
2812
2851
  initState: t == null ? void 0 : t.initState,
2813
2852
  storeKeys: t == null ? void 0 : t.storeKeys,
2814
2853
  actors: e,
2815
2854
  requests: t == null ? void 0 : t.requests,
2816
- elementConfigs: a.value
2855
+ elementConfigs: n.value
2817
2856
  }, {
2818
- default: () => [i(Qr, null, null), o && i(o, null, null)]
2857
+ default: () => [i(ea, null, null), o && i(o, null, null)]
2819
2858
  }) : l ? i(l, {
2820
2859
  loading: !0
2821
2860
  }, {
@@ -2823,9 +2862,9 @@ const pr = () => ({
2823
2862
  class: "pro-module-loading-dom"
2824
2863
  }, null)]
2825
2864
  }) : null;
2826
- }), bn = Symbol("pro-curd"), ie = () => he(bn), Jr = (e) => ve(bn, e);
2827
- var k = /* @__PURE__ */ ((e) => (e.LIST = "LIST", e.DETAIL = "DETAIL", e.ADD = "ADD", e.EDIT = "EDIT", e.DELETE = "DELETE", e))(k || {}), z = /* @__PURE__ */ ((e) => (e.EMIT = "EMIT", e.EXECUTE = "EXECUTE", e.PAGE = "PAGE", e.SUCCESS = "SUCCESS", e.FAIL = "FAIL", e))(z || {}), ge = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.EDIT = "EDIT", e.DETAIL = "DETAIL", e))(ge || {}), Re = /* @__PURE__ */ ((e) => (e.NORMAL = "NORMAL", e.CONTINUE = "CONTINUE", e))(Re || {});
2828
- const Zr = () => ({
2865
+ }), Sn = Symbol("pro-curd"), ie = () => he(Sn), ta = (e) => ve(Sn, e);
2866
+ var k = /* @__PURE__ */ ((e) => (e.LIST = "LIST", e.DETAIL = "DETAIL", e.ADD = "ADD", e.EDIT = "EDIT", e.DELETE = "DELETE", e))(k || {}), z = /* @__PURE__ */ ((e) => (e.EMIT = "EMIT", e.EXECUTE = "EXECUTE", e.PAGE = "PAGE", e.SUCCESS = "SUCCESS", e.FAIL = "FAIL", e))(z || {}), 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 || {});
2867
+ const na = () => ({
2829
2868
  rowKey: {
2830
2869
  type: String,
2831
2870
  default: "id"
@@ -2848,10 +2887,10 @@ const Zr = () => ({
2848
2887
  modalProps: {
2849
2888
  type: Object
2850
2889
  }
2851
- }), gn = ["sendCurdEvent", "refreshList", "sendEvent", "sendRequest"], Nt = D({
2890
+ }), Pn = ["sendCurdEvent", "refreshList", "sendEvent", "sendRequest"], Ot = D({
2852
2891
  props: {
2853
2892
  ...Ce,
2854
- ...Zr()
2893
+ ...na()
2855
2894
  },
2856
2895
  setup: (e, {
2857
2896
  slots: t,
@@ -2859,15 +2898,15 @@ const Zr = () => ({
2859
2898
  }) => {
2860
2899
  const {
2861
2900
  elementMap: o,
2862
- state: a,
2863
- sendEvent: n,
2901
+ state: n,
2902
+ sendEvent: a,
2864
2903
  sendRequest: u
2865
2904
  } = Te(), l = N(() => We(e.columns, e.columnState, e.columnState2)), c = (x, B) => {
2866
- const q = _(l.value, (U) => {
2905
+ const q = X(l.value, (U) => {
2867
2906
  const G = h(U, ["extra", x]) || h(U, x);
2868
2907
  return B ? G !== !1 : G;
2869
2908
  });
2870
- return Ft(q, (U) => h(U, ["extra", `${x}Sort`]) || h(U, `${x}Sort`));
2909
+ return Lt(q, (U) => h(U, ["extra", `${x}Sort`]) || h(U, `${x}Sort`));
2871
2910
  }, d = N(() => c("form", !0)), y = N(() => c("detail", !0)), g = N(() => c("table", !0)), m = N(() => c("search"));
2872
2911
  let p;
2873
2912
  const P = (x) => {
@@ -2876,13 +2915,13 @@ const Zr = () => ({
2876
2915
  ...x
2877
2916
  });
2878
2917
  }, v = (x) => {
2879
- n({
2918
+ a({
2880
2919
  type: x.action,
2881
2920
  payload: R(x, "action", "source"),
2882
2921
  source: x.source
2883
2922
  });
2884
2923
  };
2885
- ft(({
2924
+ mt(({
2886
2925
  type: x,
2887
2926
  payload: B,
2888
2927
  source: q
@@ -2890,7 +2929,7 @@ const Zr = () => ({
2890
2929
  if (q)
2891
2930
  return;
2892
2931
  let U = x, G = B == null ? void 0 : B.type;
2893
- U === Ae.Success && (U = h(B, ["requestOpts", "action"]), G = z.SUCCESS);
2932
+ U === De.Success && (U = h(B, ["requestOpts", "action"]), G = z.SUCCESS);
2894
2933
  const {
2895
2934
  values: ee,
2896
2935
  record: S
@@ -2900,10 +2939,10 @@ const Zr = () => ({
2900
2939
  G === z.EMIT && (p = ee, P());
2901
2940
  return;
2902
2941
  case k.ADD:
2903
- G === z.EXECUTE && u(k.ADD, ee, a.detailData);
2942
+ G === z.EXECUTE && u(k.ADD, ee, n.detailData);
2904
2943
  return;
2905
2944
  case k.EDIT:
2906
- G === z.EXECUTE && u(k.EDIT, ee, a.detailData);
2945
+ G === z.EXECUTE && u(k.EDIT, ee, n.detailData);
2907
2946
  return;
2908
2947
  case k.DELETE:
2909
2948
  G === z.EMIT ? u(k.DELETE, S, e.rowKey) : G === z.SUCCESS && P();
@@ -2911,17 +2950,17 @@ const Zr = () => ({
2911
2950
  }
2912
2951
  U && x === z.EXECUTE && u(U, ee);
2913
2952
  });
2914
- const I = re(e.operates, (x, B) => ({
2953
+ const I = ae(e.operates, (x, B) => ({
2915
2954
  ...x,
2916
2955
  [B.action]: B
2917
2956
  }), {}), A = (x) => h(I, x), f = N(() => e.listProps), T = N(() => e.formProps), K = N(() => e.descProps), w = N(() => e.modalProps);
2918
- return Jr({
2957
+ return ta({
2919
2958
  columns: l,
2920
2959
  getSignColumns: c,
2921
2960
  elementMap: o,
2922
2961
  formElementMap: e.formElementMap,
2923
2962
  rowKey: e.rowKey,
2924
- curdState: a,
2963
+ curdState: n,
2925
2964
  formColumns: d,
2926
2965
  descColumns: y,
2927
2966
  tableColumns: g,
@@ -2944,8 +2983,8 @@ const Zr = () => ({
2944
2983
  }
2945
2984
  }), nt = D({
2946
2985
  props: {
2947
- ...R(je.props, "state", "requests"),
2948
- ...Nt.props,
2986
+ ...R(Be.props, "state", "requests"),
2987
+ ...Ot.props,
2949
2988
  curdState: {
2950
2989
  type: Object
2951
2990
  }
@@ -2956,8 +2995,8 @@ const Zr = () => ({
2956
2995
  }) => {
2957
2996
  const {
2958
2997
  elementMap: o,
2959
- formElementMap: a
2960
- } = oe(), n = W(), u = W(), l = e.curdState || Se({
2998
+ formElementMap: n
2999
+ } = oe(), a = W(), u = W(), l = e.curdState || be({
2961
3000
  detailData: {}
2962
3001
  }), c = {
2963
3002
  [k.LIST]: {
@@ -3003,14 +3042,14 @@ const Zr = () => ({
3003
3042
  convertParams: (m, p) => Z(m, p),
3004
3043
  label: "\u5220\u9664"
3005
3044
  }
3006
- }, d = $(e.operates, (m) => {
3045
+ }, d = F(e.operates, (m) => {
3007
3046
  var v;
3008
3047
  const p = h(c, m.action), P = ((v = e.convertOperate) == null ? void 0 : v.call(e, m, p)) || m;
3009
3048
  return {
3010
3049
  ...p,
3011
3050
  ...P
3012
3051
  };
3013
- }), y = _(d, (m) => m.actor), g = Y(R(je.props, "state", "requests"));
3052
+ }), y = X(d, (m) => m.actor), g = Y(R(Be.props, "state", "requests"));
3014
3053
  return r({
3015
3054
  sendCurdEvent: (m) => {
3016
3055
  var p;
@@ -3022,34 +3061,34 @@ const Zr = () => ({
3022
3061
  },
3023
3062
  sendEvent: (m) => {
3024
3063
  var p;
3025
- (p = n.value) == null || p.sendEvent(m);
3064
+ (p = a.value) == null || p.sendEvent(m);
3026
3065
  },
3027
3066
  sendRequest: (m, ...p) => {
3028
3067
  var P;
3029
- (P = n.value) == null || P.sendRequest(m, ...p);
3068
+ (P = a.value) == null || P.sendRequest(m, ...p);
3030
3069
  }
3031
- }), () => i(je, F({
3032
- ref: n
3070
+ }), () => i(Be, $({
3071
+ ref: a
3033
3072
  }, Z(e, g), {
3034
3073
  elementMap: e.elementMap || o,
3035
3074
  state: l,
3036
3075
  requests: y
3037
3076
  }), {
3038
- default: () => [i(Nt, F({
3077
+ default: () => [i(Ot, $({
3039
3078
  ref: u
3040
3079
  }, R(e, ...g, "curdState", "operates", "convertOperate"), {
3041
- formElementMap: e.formElementMap || a,
3080
+ formElementMap: e.formElementMap || n,
3042
3081
  operates: d
3043
3082
  }), t)]
3044
3083
  });
3045
3084
  }
3046
- }), ea = () => ({
3085
+ }), ra = () => ({
3047
3086
  defaultAddRecord: {
3048
3087
  type: Object
3049
3088
  }
3050
3089
  }), Je = D({
3051
3090
  props: {
3052
- ...ea()
3091
+ ...ra()
3053
3092
  },
3054
3093
  setup: (e) => {
3055
3094
  var p;
@@ -3058,31 +3097,31 @@ const Zr = () => ({
3058
3097
  sendRequest: r
3059
3098
  } = Te(), {
3060
3099
  rowKey: o,
3061
- curdState: a,
3062
- listProps: n,
3100
+ curdState: n,
3101
+ listProps: a,
3063
3102
  getOperate: u,
3064
3103
  refreshList: l
3065
- } = ie(), c = (p = n == null ? void 0 : n.value) == null ? void 0 : p.pageState, d = (P) => {
3104
+ } = ie(), c = (p = a == null ? void 0 : a.value) == null ? void 0 : p.pageState, d = (P) => {
3066
3105
  const v = u(k.DETAIL);
3067
3106
  v != null && v.actor ? r(k.DETAIL, P, o) : t({
3068
3107
  type: "detailData",
3069
- payload: Lt(P)
3108
+ payload: jt(P)
3070
3109
  });
3071
3110
  }, y = (P, {
3072
3111
  record: v
3073
3112
  }) => {
3074
3113
  P === z.EMIT && (t({
3075
3114
  type: "mode",
3076
- payload: ge.DETAIL
3115
+ payload: pe.DETAIL
3077
3116
  }), d(v));
3078
3117
  }, g = (P) => {
3079
3118
  P === z.EMIT ? (t({
3080
3119
  type: "mode",
3081
- payload: ge.ADD
3120
+ payload: pe.ADD
3082
3121
  }), t({
3083
3122
  type: "detailData",
3084
3123
  payload: e.defaultAddRecord || {}
3085
- })) : P === z.SUCCESS && (c && (c.page = 1), l(), a.addAction === Re.CONTINUE ? t({
3124
+ })) : P === z.SUCCESS && (c && (c.page = 1), l(), n.addAction === $e.CONTINUE ? t({
3086
3125
  type: "detailData",
3087
3126
  payload: e.defaultAddRecord || {}
3088
3127
  }) : t({
@@ -3094,13 +3133,13 @@ const Zr = () => ({
3094
3133
  }) => {
3095
3134
  P === z.EMIT ? (t({
3096
3135
  type: "mode",
3097
- payload: ge.EDIT
3136
+ payload: pe.EDIT
3098
3137
  }), d(v)) : P === z.SUCCESS && (t({
3099
3138
  type: "mode",
3100
3139
  payload: void 0
3101
3140
  }), l());
3102
3141
  };
3103
- return ft(({
3142
+ return mt(({
3104
3143
  type: P,
3105
3144
  payload: v,
3106
3145
  source: I
@@ -3109,7 +3148,7 @@ const Zr = () => ({
3109
3148
  return;
3110
3149
  let A = P, f = v == null ? void 0 : v.type;
3111
3150
  const T = v == null ? void 0 : v.record;
3112
- switch (A === Ae.Success && (A = h(v, ["requestOpts", "action"]), f = z.SUCCESS), A) {
3151
+ switch (A === De.Success && (A = h(v, ["requestOpts", "action"]), f = z.SUCCESS), A) {
3113
3152
  case k.DETAIL:
3114
3153
  y(f, {
3115
3154
  record: T
@@ -3126,7 +3165,7 @@ const Zr = () => ({
3126
3165
  }
3127
3166
  }), () => null;
3128
3167
  }
3129
- }), eo = D({
3168
+ }), ro = D({
3130
3169
  props: {
3131
3170
  ...nt.props,
3132
3171
  ...Je.props
@@ -3136,18 +3175,18 @@ const Zr = () => ({
3136
3175
  expose: r
3137
3176
  }) => {
3138
3177
  const o = W();
3139
- r(Me(gn, o));
3140
- const a = Y(Je.props), u = te()(V.ProCurdKey);
3141
- return () => u ? i(u, F({
3178
+ r(Me(Pn, o));
3179
+ const n = Y(Je.props), u = te()(V.ProCurdKey);
3180
+ return () => u ? i(u, $({
3142
3181
  ref: o
3143
- }, R(e, a)), {
3182
+ }, R(e, n)), {
3144
3183
  default: () => {
3145
3184
  var l;
3146
- return [i(Je, Z(e, a), null), (l = t.default) == null ? void 0 : l.call(t)];
3185
+ return [i(Je, Z(e, n), null), (l = t.default) == null ? void 0 : l.call(t)];
3147
3186
  }
3148
3187
  }) : null;
3149
3188
  }
3150
- }), ta = () => ({
3189
+ }), aa = () => ({
3151
3190
  defaultAddRecord: {
3152
3191
  type: Object
3153
3192
  },
@@ -3156,14 +3195,14 @@ const Zr = () => ({
3156
3195
  }
3157
3196
  }), Ze = D({
3158
3197
  props: {
3159
- ...ta()
3198
+ ...aa()
3160
3199
  },
3161
3200
  setup: (e) => {
3162
- const t = it(), r = st(), {
3201
+ const t = dt(), r = it(), {
3163
3202
  dispatch: o,
3164
- sendRequest: a
3203
+ sendRequest: n
3165
3204
  } = Te(), {
3166
- rowKey: n,
3205
+ rowKey: a,
3167
3206
  curdState: u
3168
3207
  } = ie(), l = (g) => {
3169
3208
  g === z.PAGE && (o({
@@ -3184,21 +3223,21 @@ const Zr = () => ({
3184
3223
  }) => {
3185
3224
  g === z.EMIT ? t.push({
3186
3225
  path: `${r.path}/detail`,
3187
- query: Z(m, n)
3226
+ query: Z(m, a)
3188
3227
  }) : g === z.PAGE && (o({
3189
3228
  type: "mode",
3190
- payload: ge.DETAIL
3191
- }), a(k.DETAIL, r.query, n));
3229
+ payload: pe.DETAIL
3230
+ }), n(k.DETAIL, r.query, a));
3192
3231
  }, d = (g) => {
3193
3232
  g === z.EMIT ? t.push({
3194
3233
  path: `${r.path}/add`
3195
3234
  }) : g === z.PAGE ? (o({
3196
3235
  type: "mode",
3197
- payload: ge.ADD
3236
+ payload: pe.ADD
3198
3237
  }), o({
3199
3238
  type: "detailData",
3200
3239
  payload: e.defaultAddRecord || {}
3201
- })) : g === z.SUCCESS && (u.addAction === Re.CONTINUE ? o({
3240
+ })) : g === z.SUCCESS && (u.addAction === $e.CONTINUE ? o({
3202
3241
  type: "detailData",
3203
3242
  payload: e.defaultAddRecord || {}
3204
3243
  }) : e.routeBack ? e.routeBack(k.ADD) : t.go(-1));
@@ -3207,13 +3246,13 @@ const Zr = () => ({
3207
3246
  }) => {
3208
3247
  g === z.EMIT ? t.push({
3209
3248
  path: `${r.path}/edit`,
3210
- query: Z(m, n)
3249
+ query: Z(m, a)
3211
3250
  }) : g === z.PAGE ? (o({
3212
3251
  type: "mode",
3213
- payload: ge.EDIT
3214
- }), a(k.DETAIL, r.query, n)) : g === z.SUCCESS && (e.routeBack ? e.routeBack(k.EDIT) : t.go(-1));
3252
+ payload: pe.EDIT
3253
+ }), n(k.DETAIL, r.query, a)) : g === z.SUCCESS && (e.routeBack ? e.routeBack(k.EDIT) : t.go(-1));
3215
3254
  };
3216
- return ft(({
3255
+ return mt(({
3217
3256
  type: g,
3218
3257
  payload: m,
3219
3258
  source: p
@@ -3222,7 +3261,7 @@ const Zr = () => ({
3222
3261
  return;
3223
3262
  let P = g, v = m == null ? void 0 : m.type;
3224
3263
  const I = m == null ? void 0 : m.record;
3225
- switch (P === Ae.Success && (P = h(m, ["requestOpts", "action"]), v = z.SUCCESS), P) {
3264
+ switch (P === De.Success && (P = h(m, ["requestOpts", "action"]), v = z.SUCCESS), P) {
3226
3265
  case k.LIST:
3227
3266
  l(v);
3228
3267
  break;
@@ -3242,7 +3281,7 @@ const Zr = () => ({
3242
3281
  }
3243
3282
  }), () => null;
3244
3283
  }
3245
- }), to = D({
3284
+ }), ao = D({
3246
3285
  props: {
3247
3286
  ...nt.props,
3248
3287
  ...Ze.props
@@ -3252,47 +3291,47 @@ const Zr = () => ({
3252
3291
  expose: r
3253
3292
  }) => {
3254
3293
  const o = W();
3255
- r(Me(gn, o));
3256
- const a = Y(Ze.props);
3257
- return () => i(nt, F({
3294
+ r(Me(Pn, o));
3295
+ const n = Y(Ze.props);
3296
+ return () => i(nt, $({
3258
3297
  ref: o
3259
- }, R(e, a)), {
3298
+ }, R(e, n)), {
3260
3299
  default: () => {
3261
- var n;
3262
- return [i(Ze, Z(e, a), null), (n = t.default) == null ? void 0 : n.call(t)];
3300
+ var a;
3301
+ return [i(Ze, Z(e, n), null), (a = t.default) == null ? void 0 : a.call(t)];
3263
3302
  }
3264
3303
  });
3265
3304
  }
3266
- }), Ot = D({
3305
+ }), Kt = D({
3267
3306
  props: {
3268
3307
  buttonProps: Object
3269
3308
  },
3270
3309
  setup: (e, {
3271
3310
  slots: t
3272
3311
  }) => {
3273
- const r = un(), {
3312
+ const r = sn(), {
3274
3313
  getOperate: o,
3275
- sendCurdEvent: a
3276
- } = ie(), n = o(k.ADD), u = () => {
3277
- if (n != null && n.onClick) {
3278
- n.onClick();
3314
+ sendCurdEvent: n
3315
+ } = ie(), a = o(k.ADD), u = () => {
3316
+ if (a != null && a.onClick) {
3317
+ a.onClick();
3279
3318
  return;
3280
3319
  }
3281
- a({
3320
+ n({
3282
3321
  action: k.ADD,
3283
3322
  type: z.EMIT
3284
3323
  });
3285
3324
  }, c = te()(V.ButtonKey);
3286
- return () => !n || !r(n.per, n.perSuffix) || !(X(n.show) ? n.show({}) : n.show) ? null : n.element ? n.element({}, n) : t.default ? t.default(n, u) : c ? i(c, F({
3325
+ return () => !a || !r(a.per, a.perSuffix) || !(_(a.show) ? a.show({}) : a.show) ? null : a.element ? a.element({}, a) : t.default ? t.default(a, u) : c ? i(c, $({
3287
3326
  class: "pro-curd-add-button",
3288
- disabled: X(n.disabled) ? n.disabled() : n.disabled
3327
+ disabled: _(a.disabled) ? a.disabled() : a.disabled
3289
3328
  }, e.buttonProps, {
3290
3329
  onClick: u
3291
3330
  }), {
3292
- default: () => [n.label]
3331
+ default: () => [a.label]
3293
3332
  }) : null;
3294
3333
  }
3295
- }), Kt = () => ({
3334
+ }), At = () => ({
3296
3335
  addConfig: {
3297
3336
  type: Object,
3298
3337
  default: {
@@ -3303,10 +3342,10 @@ const Zr = () => ({
3303
3342
  type: Boolean,
3304
3343
  default: !0
3305
3344
  }
3306
- }), na = D({
3345
+ }), oa = D({
3307
3346
  props: {
3308
- ...wr.props,
3309
- ...Kt()
3347
+ ...Nr.props,
3348
+ ...At()
3310
3349
  },
3311
3350
  setup: (e, {
3312
3351
  slots: t
@@ -3314,14 +3353,14 @@ const Zr = () => ({
3314
3353
  const {
3315
3354
  elementMap: r,
3316
3355
  formElementMap: o,
3317
- curdState: a,
3318
- searchColumns: n,
3356
+ curdState: n,
3357
+ searchColumns: a,
3319
3358
  tableColumns: u,
3320
3359
  sendCurdEvent: l,
3321
3360
  operates: c,
3322
3361
  refreshList: d
3323
- } = ie(), y = $(
3324
- _(c, (f) => {
3362
+ } = ie(), y = F(
3363
+ X(c, (f) => {
3325
3364
  const T = f.action;
3326
3365
  return T === k.DETAIL || T === k.EDIT || T === k.DELETE || f.tableOperate;
3327
3366
  }),
@@ -3345,20 +3384,20 @@ const Zr = () => ({
3345
3384
  values: f
3346
3385
  });
3347
3386
  };
3348
- Wn(() => {
3387
+ _n(() => {
3349
3388
  e.activatedRefresh && d();
3350
3389
  });
3351
3390
  const m = N(() => ({
3352
3391
  formElementMap: o,
3353
- columns: n.value,
3392
+ columns: a.value,
3354
3393
  ...e.searchProps
3355
3394
  })), p = N(() => {
3356
3395
  var f, T;
3357
3396
  return {
3358
3397
  elementMap: r,
3359
3398
  columns: u.value,
3360
- loading: a.listLoading,
3361
- dataSource: (f = a.listData) == null ? void 0 : f.dataSource,
3399
+ loading: n.listLoading,
3400
+ dataSource: (f = n.listData) == null ? void 0 : f.dataSource,
3362
3401
  ...R(e.tableProps, "operate"),
3363
3402
  operate: {
3364
3403
  items: y,
@@ -3368,13 +3407,13 @@ const Zr = () => ({
3368
3407
  }), P = N(() => {
3369
3408
  var f;
3370
3409
  return e.paginationProps === !1 ? !1 : {
3371
- total: (f = a.listData) == null ? void 0 : f.total,
3410
+ total: (f = n.listData) == null ? void 0 : f.total,
3372
3411
  ...e.paginationProps
3373
3412
  };
3374
- }), v = Y(Kt()), A = te()(V.ProListKey);
3413
+ }), v = Y(At()), A = te()(V.ProListKey);
3375
3414
  return () => {
3376
3415
  var f, T;
3377
- return A ? i(A, F({
3416
+ return A ? i(A, $({
3378
3417
  class: "pro-curd-list"
3379
3418
  }, R(e, ...v, "searchProps", "tableProps", "paginationProps"), {
3380
3419
  searchProps: m.value,
@@ -3386,11 +3425,11 @@ const Zr = () => ({
3386
3425
  var K;
3387
3426
  return i("div", {
3388
3427
  class: "pro-curd-list-search-end"
3389
- }, [i(Ot, (K = e.addConfig) == null ? void 0 : K.buttonProps, null)]);
3428
+ }, [i(Kt, (K = e.addConfig) == null ? void 0 : K.buttonProps, null)]);
3390
3429
  } : void 0,
3391
3430
  "table-toolbarExtra": (T = e.addConfig) != null && T.inTable ? (K) => {
3392
3431
  var w;
3393
- return i(le, null, [i(Ot, (w = e.addConfig) == null ? void 0 : w.buttonProps, null), K]);
3432
+ return i(le, null, [i(Kt, (w = e.addConfig) == null ? void 0 : w.buttonProps, null), K]);
3394
3433
  } : void 0,
3395
3434
  ...t,
3396
3435
  search: t.search ? (K) => t.search(K, m.value) : void 0,
@@ -3399,18 +3438,18 @@ const Zr = () => ({
3399
3438
  }) : null;
3400
3439
  };
3401
3440
  }
3402
- }), no = D(() => {
3441
+ }), oo = D(() => {
3403
3442
  const {
3404
3443
  listProps: e
3405
3444
  } = ie();
3406
- return () => i(na, R(e == null ? void 0 : e.value, "slots"), h(e == null ? void 0 : e.value, "slots"));
3407
- }), ra = () => ({
3445
+ return () => i(oa, R(e == null ? void 0 : e.value, "slots"), h(e == null ? void 0 : e.value, "slots"));
3446
+ }), ua = () => ({
3408
3447
  signName: {
3409
3448
  type: String
3410
3449
  }
3411
- }), vt = D({
3450
+ }), ht = D({
3412
3451
  props: {
3413
- ...ra()
3452
+ ...ua()
3414
3453
  },
3415
3454
  setup: (e, {
3416
3455
  slots: t,
@@ -3418,8 +3457,8 @@ const Zr = () => ({
3418
3457
  attrs: o
3419
3458
  }) => {
3420
3459
  const {
3421
- elementMap: a,
3422
- formElementMap: n,
3460
+ elementMap: n,
3461
+ formElementMap: a,
3423
3462
  curdState: u,
3424
3463
  formColumns: l,
3425
3464
  getSignColumns: c,
@@ -3428,10 +3467,10 @@ const Zr = () => ({
3428
3467
  r(Me(e.formMethods || [], y));
3429
3468
  const g = N(() => e.signName ? c(e.signName) : l.value), m = () => {
3430
3469
  var f;
3431
- u.addAction = Re.NORMAL, (f = y.value) == null || f.submit();
3470
+ u.addAction = $e.NORMAL, (f = y.value) == null || f.submit();
3432
3471
  }, p = () => {
3433
3472
  var f;
3434
- u.addAction = Re.CONTINUE, (f = y.value) == null || f.submit();
3473
+ u.addAction = $e.CONTINUE, (f = y.value) == null || f.submit();
3435
3474
  }, P = [
3436
3475
  {
3437
3476
  value: ue.RESET,
@@ -3463,12 +3502,12 @@ const Zr = () => ({
3463
3502
  values: f
3464
3503
  }));
3465
3504
  }, A = te()(V.ProFormKey);
3466
- return () => A ? i(A, F({
3505
+ return () => A ? i(A, $({
3467
3506
  ref: y,
3468
3507
  class: "pro-curd-form"
3469
3508
  }, R(e, "operate"), {
3470
- elementMap: e.elementMap || a,
3471
- formElementMap: e.formElementMap || n,
3509
+ elementMap: e.elementMap || n,
3510
+ formElementMap: e.formElementMap || a,
3472
3511
  columns: e.columns || g.value,
3473
3512
  readonly: u.mode === k.DETAIL,
3474
3513
  model: e.model || u.detailData,
@@ -3482,18 +3521,18 @@ const Zr = () => ({
3482
3521
  onFinish: v
3483
3522
  }), t) : null;
3484
3523
  }
3485
- }), ro = D(() => {
3524
+ }), uo = D(() => {
3486
3525
  const {
3487
3526
  formProps: e
3488
3527
  } = ie();
3489
- return () => i(vt, R(e == null ? void 0 : e.value, "slots"), h(e == null ? void 0 : e.value, "slots"));
3490
- }), aa = () => ({
3528
+ return () => i(ht, R(e == null ? void 0 : e.value, "slots"), h(e == null ? void 0 : e.value, "slots"));
3529
+ }), la = () => ({
3491
3530
  signName: {
3492
3531
  type: String
3493
3532
  }
3494
- }), oa = D({
3533
+ }), ca = D({
3495
3534
  props: {
3496
- ...aa()
3535
+ ...la()
3497
3536
  },
3498
3537
  setup: (e, {
3499
3538
  slots: t
@@ -3501,21 +3540,21 @@ const Zr = () => ({
3501
3540
  const {
3502
3541
  curdState: r,
3503
3542
  descColumns: o,
3504
- getSignColumns: a
3505
- } = ie(), n = N(() => e.signName ? a(e.signName) : o.value);
3506
- return () => i(Nr, F(R(e, "signName", "model", "columns"), {
3543
+ getSignColumns: n
3544
+ } = ie(), a = N(() => e.signName ? n(e.signName) : o.value);
3545
+ return () => i(Or, $(R(e, "signName", "model", "columns"), {
3507
3546
  model: e.model || r.detailData,
3508
- columns: n.value
3547
+ columns: a.value
3509
3548
  }), t);
3510
3549
  }
3511
- }), ao = D(() => {
3550
+ }), lo = D(() => {
3512
3551
  const {
3513
3552
  descProps: e
3514
3553
  } = ie();
3515
- return () => i(oa, F({
3554
+ return () => i(ca, $({
3516
3555
  class: "pro-curd-desc"
3517
3556
  }, R(e == null ? void 0 : e.value, "slots")), h(e == null ? void 0 : e.value, "slots"));
3518
- }), At = () => ({
3557
+ }), Dt = () => ({
3519
3558
  validMode: {
3520
3559
  type: Array,
3521
3560
  default: [k.ADD, k.DETAIL, k.EDIT]
@@ -3526,36 +3565,36 @@ const Zr = () => ({
3526
3565
  overrideProps: {
3527
3566
  type: Object
3528
3567
  }
3529
- }), pn = D({
3568
+ }), Cn = D({
3530
3569
  props: {
3531
- ...At()
3570
+ ...Dt()
3532
3571
  },
3533
3572
  setup: (e, {
3534
3573
  slots: t
3535
3574
  }) => {
3536
- const r = te(), o = r(V.ModalKey), a = r(V.LoadingKey), {
3537
- curdState: n,
3575
+ const r = te(), o = r(V.ModalKey), n = r(V.LoadingKey), {
3576
+ curdState: a,
3538
3577
  getOperate: u
3539
3578
  } = ie(), l = () => {
3540
- n.mode = void 0, Ut(n.detailData, {}), n.detailLoading = !1, n.addAction = void 0;
3541
- }, c = Y(At());
3579
+ a.mode = void 0, Vt(a.detailData, {}), a.detailLoading = !1, a.addAction = void 0;
3580
+ }, c = Y(Dt());
3542
3581
  return () => {
3543
3582
  var y;
3544
- const d = n.mode;
3545
- return !pe(e.validMode, (g) => g === d) || !o ? null : i(o, F({
3583
+ const d = a.mode;
3584
+ return !Se(e.validMode, (g) => g === d) || !o ? null : i(o, $({
3546
3585
  class: "pro-curd-modal"
3547
3586
  }, R(e, c), {
3548
- visible: pe(e.validMode, (g) => g === d),
3549
- title: e.title || ((y = u(n.mode)) == null ? void 0 : y.label),
3550
- confirmLoading: n.operateLoading,
3551
- maskClosable: n.mode === k.DETAIL,
3552
- footer: n.detailLoading || n.mode === k.DETAIL ? !1 : void 0
3587
+ visible: Se(e.validMode, (g) => g === d),
3588
+ title: e.title || ((y = u(a.mode)) == null ? void 0 : y.label),
3589
+ confirmLoading: a.operateLoading,
3590
+ maskClosable: a.mode === k.DETAIL,
3591
+ footer: a.detailLoading || a.mode === k.DETAIL ? !1 : void 0
3553
3592
  }, e.overrideProps, {
3554
3593
  onCancel: l
3555
3594
  }), {
3556
3595
  default: () => {
3557
3596
  var g;
3558
- return [n.detailLoading && a ? i(a, F({
3597
+ return [a.detailLoading && n ? i(n, $({
3559
3598
  loading: !0
3560
3599
  }, e.loadingOpts), {
3561
3600
  default: () => [i("div", {
@@ -3567,7 +3606,7 @@ const Zr = () => ({
3567
3606
  });
3568
3607
  };
3569
3608
  }
3570
- }), oo = D({
3609
+ }), co = D({
3571
3610
  props: {
3572
3611
  modalProps: Object,
3573
3612
  formProps: Object
@@ -3575,36 +3614,36 @@ const Zr = () => ({
3575
3614
  setup: (e, {
3576
3615
  slots: t
3577
3616
  }) => {
3578
- const r = W(), o = me(t, "modal"), a = me(t, "form");
3579
- return () => i(pn, F(e.modalProps, {
3617
+ const r = W(), o = me(t, "modal"), n = me(t, "form");
3618
+ return () => i(Cn, $(e.modalProps, {
3580
3619
  onOk: () => {
3581
- var n;
3582
- (n = r.value) == null || n.submit();
3620
+ var a;
3621
+ (a = r.value) == null || a.submit();
3583
3622
  }
3584
3623
  }), {
3585
- default: () => [i(vt, F({
3624
+ default: () => [i(ht, $({
3586
3625
  ref: r
3587
- }, e.formProps), a)],
3626
+ }, e.formProps), n)],
3588
3627
  ...o
3589
3628
  });
3590
3629
  }
3591
- }), uo = D(() => {
3630
+ }), so = D(() => {
3592
3631
  const {
3593
3632
  modalProps: e,
3594
3633
  formProps: t
3595
3634
  } = ie(), r = W();
3596
- return () => i(pn, F(R(e == null ? void 0 : e.value, "slots"), {
3635
+ return () => i(Cn, $(R(e == null ? void 0 : e.value, "slots"), {
3597
3636
  onOk: () => {
3598
3637
  var o;
3599
3638
  (o = r.value) == null || o.submit();
3600
3639
  }
3601
3640
  }), {
3602
- default: () => [i(vt, F({
3641
+ default: () => [i(ht, $({
3603
3642
  ref: r
3604
3643
  }, R(t == null ? void 0 : t.value, "slots")), h(t == null ? void 0 : t.value, "slots"))],
3605
3644
  ...h(e == null ? void 0 : e.value, "slots")
3606
3645
  });
3607
- }), Sn = Symbol("logon-user"), lo = () => he(Sn), ua = (e, t) => _t(t / 10, "#000000", e), la = (e, t) => _t(t / 10, "#ffffff", e), Pe = {
3646
+ }), Mn = Symbol("logon-user"), io = () => he(Mn), sa = (e, t) => Qt(t / 10, "#000000", e), ia = (e, t) => Qt(t / 10, "#ffffff", e), Pe = {
3608
3647
  color: {
3609
3648
  primary: "#409eff",
3610
3649
  success: "#67c23a",
@@ -3616,22 +3655,22 @@ const Zr = () => ({
3616
3655
  radius: "4px",
3617
3656
  lineHeight: 1.5714285714285714,
3618
3657
  spacing: 4
3619
- }, ca = (e) => {
3620
- var o, a, n, u, l, c, d, y, g, m, p, P;
3658
+ }, da = (e) => {
3659
+ var o, n, a, u, l, c, d, y, g, m, p, P;
3621
3660
  const t = [1, 2, 3, 4, 5, 6, 7, 8, 9], r = (v) => ({
3622
3661
  base: v,
3623
- light: re(t, (I, A) => ({
3662
+ light: ae(t, (I, A) => ({
3624
3663
  ...I,
3625
- [String(A)]: la(v, A)
3664
+ [String(A)]: ia(v, A)
3626
3665
  }), {}),
3627
3666
  dark: {
3628
- 2: ua(v, 2)
3667
+ 2: sa(v, 2)
3629
3668
  }
3630
3669
  });
3631
3670
  return {
3632
3671
  color: {
3633
- primary: r(((o = e == null ? void 0 : e.color) == null ? void 0 : o.primary) || ((a = Pe.color) == null ? void 0 : a.primary)),
3634
- success: r(((n = e == null ? void 0 : e.color) == null ? void 0 : n.success) || ((u = Pe.color) == null ? void 0 : u.success)),
3672
+ primary: r(((o = e == null ? void 0 : e.color) == null ? void 0 : o.primary) || ((n = Pe.color) == null ? void 0 : n.primary)),
3673
+ success: r(((a = e == null ? void 0 : e.color) == null ? void 0 : a.success) || ((u = Pe.color) == null ? void 0 : u.success)),
3635
3674
  warning: r(((l = e == null ? void 0 : e.color) == null ? void 0 : l.warning) || ((c = Pe.color) == null ? void 0 : c.warning)),
3636
3675
  danger: r(((d = e == null ? void 0 : e.color) == null ? void 0 : d.danger) || ((y = Pe.color) == null ? void 0 : y.danger)),
3637
3676
  error: r(((g = e == null ? void 0 : e.color) == null ? void 0 : g.error) || ((m = Pe.color) == null ? void 0 : m.error)),
@@ -3668,7 +3707,7 @@ const Zr = () => ({
3668
3707
  md: 1.5714285714285714,
3669
3708
  sm: 1.6666666666666667
3670
3709
  },
3671
- spacing: re(t, (v, I) => ({
3710
+ spacing: ae(t, (v, I) => ({
3672
3711
  ...v,
3673
3712
  [String(I)]: I * 4 + "px"
3674
3713
  }), {}),
@@ -3680,7 +3719,7 @@ const Zr = () => ({
3680
3719
  inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"
3681
3720
  }
3682
3721
  };
3683
- }, sa = () => ({
3722
+ }, fa = () => ({
3684
3723
  theme: {
3685
3724
  type: Object
3686
3725
  },
@@ -3694,141 +3733,142 @@ const Zr = () => ({
3694
3733
  createCssVar: {
3695
3734
  type: Function
3696
3735
  }
3697
- }), co = D({
3736
+ }), fo = D({
3698
3737
  props: {
3699
- ...sa()
3738
+ ...fa()
3700
3739
  },
3701
3740
  setup: (e, {
3702
3741
  slots: t
3703
3742
  }) => {
3704
- const o = Se({
3705
- ...(() => e.theme ? e.theme : ca(e.themeToken))()
3743
+ const o = be({
3744
+ ...(() => e.theme ? e.theme : da(e.themeToken))()
3706
3745
  });
3707
- return ve(Sn, o), () => {
3708
- var a, n;
3709
- return e.global ? i(le, null, [e.createCssVar && i(Zn, {
3746
+ return ve(Mn, o), () => {
3747
+ var n, a;
3748
+ return e.global ? i(le, null, [e.createCssVar && i(er, {
3710
3749
  styles: {
3711
3750
  ":root": e.createCssVar(o)
3712
3751
  }
3713
- }, null), (a = t.default) == null ? void 0 : a.call(t)]) : (n = t.default) == null ? void 0 : n.call(t);
3752
+ }, null), (n = t.default) == null ? void 0 : n.call(t)]) : (a = t.default) == null ? void 0 : a.call(t);
3714
3753
  };
3715
3754
  }
3716
3755
  });
3717
3756
  export {
3718
- Ot as AddButton,
3719
- Pr as ColumnSetting,
3757
+ Kt as AddButton,
3758
+ Cr as ColumnSetting,
3720
3759
  k as CurdAction,
3721
- Re as CurdAddAction,
3722
- ge as CurdCurrentMode,
3723
- gn as CurdMethods,
3760
+ $e as CurdAddAction,
3761
+ pe as CurdCurrentMode,
3762
+ Pn as CurdMethods,
3724
3763
  z as CurdSubAction,
3725
3764
  V as ElementKeys,
3726
3765
  ue as FormAction,
3727
- Ra as FormRulePrefixMap,
3728
- ka as LogonUser,
3729
- an as LogonUserKey,
3766
+ La as FormRulePrefixMap,
3767
+ Ua as LogonUser,
3768
+ ln as LogonUserKey,
3730
3769
  Je as ModalCurdOpe,
3731
- ja as MustLogon,
3770
+ qa as MustLogon,
3732
3771
  Qe as PageHeader,
3733
- Ba as PerSuffix,
3734
- Ua as Permission,
3735
- Ea as ProConfig,
3772
+ Va as PerSuffix,
3773
+ za as Permission,
3774
+ wa as ProConfig,
3736
3775
  nt as ProCurd,
3737
- oa as ProCurdDesc,
3738
- ao as ProCurdDescConnect,
3739
- vt as ProCurdForm,
3740
- ro as ProCurdFormConnect,
3741
- na as ProCurdList,
3742
- no as ProCurdListConnect,
3743
- pn as ProCurdModal,
3744
- oo as ProCurdModalForm,
3745
- uo as ProCurdModalFormConnect,
3746
- Nr as ProDesc,
3747
- Da as ProForm,
3748
- Aa as ProFormList,
3776
+ ca as ProCurdDesc,
3777
+ lo as ProCurdDescConnect,
3778
+ ht as ProCurdForm,
3779
+ uo as ProCurdFormConnect,
3780
+ oa as ProCurdList,
3781
+ oo as ProCurdListConnect,
3782
+ Cn as ProCurdModal,
3783
+ co as ProCurdModalForm,
3784
+ so as ProCurdModalFormConnect,
3785
+ Or as ProDesc,
3786
+ Fa as ProForm,
3787
+ $a as ProFormList,
3749
3788
  xe as ProGrid,
3750
- _a as ProLayout,
3751
- sn as ProLayoutKey,
3752
- wr as ProList,
3753
- eo as ProModalCurd,
3754
- je as ProModule,
3755
- ln as ProOperate,
3756
- Va as ProPage,
3757
- to as ProPageCurd,
3758
- Rr as ProRouterView,
3759
- Fa as ProSearchForm,
3760
- Xa as ProShowDate,
3761
- Ha as ProShowDigit,
3762
- Wa as ProShowOptions,
3763
- Xe as ProShowText,
3764
- Ga as ProShowTree,
3765
- qa as ProTable,
3766
- co as ProTheme,
3767
- mr as ProTip,
3768
- Ar as ProTypography,
3769
- Qa as ProUploadList,
3770
- Ya as ProUploaderText,
3771
- za as ProValue,
3772
- Ae as RequestAction,
3773
- kr as RouterMethods,
3789
+ Ja as ProLayout,
3790
+ mn as ProLayoutKey,
3791
+ Nr as ProList,
3792
+ ro as ProModalCurd,
3793
+ Be as ProModule,
3794
+ dn as ProOperate,
3795
+ Wa as ProPage,
3796
+ ao as ProPageCurd,
3797
+ $r as ProRouterView,
3798
+ ka as ProSearchForm,
3799
+ Qa as ProShowDate,
3800
+ _a as ProShowDigit,
3801
+ Xa as ProShowOptions,
3802
+ _e as ProShowText,
3803
+ Ya as ProShowTree,
3804
+ Ha as ProTable,
3805
+ fo as ProTheme,
3806
+ yr as ProTip,
3807
+ Dr as ProTypography,
3808
+ eo as ProUploadList,
3809
+ Za as ProUploaderText,
3810
+ Ga as ProValue,
3811
+ jr as ProWatermark,
3812
+ De as RequestAction,
3813
+ Ur as RouterMethods,
3774
3814
  ze as SearchMode,
3775
- Sn as ThemeKey,
3815
+ Mn as ThemeKey,
3776
3816
  Pe as ThemeToken,
3777
- _r as Wrapper,
3778
- Qt as convertPathToList,
3779
- rr as convertResData,
3817
+ Jr as Wrapper,
3818
+ en as convertPathToList,
3819
+ ar as convertResData,
3780
3820
  Me as createExpose,
3781
- Ka as createExposeObj,
3782
- $a as createFormItemCompFn,
3783
- Za as createModule,
3784
- xa as createProConfig,
3785
- ca as createTheme,
3786
- xr as defaultPage,
3821
+ Ra as createExposeObj,
3822
+ ja as createFormItemCompFn,
3823
+ no as createModule,
3824
+ Na as createProConfig,
3825
+ da as createTheme,
3826
+ Ir as defaultPage,
3787
3827
  me as filterSlotsByPrefix,
3788
3828
  ye as getColumnFormItemName,
3789
- mn as getColumnValueType,
3790
- Xr as getFirstPropName,
3791
- Wr as getRealRender,
3792
- cr as getSignValue,
3793
- lr as getValidValues,
3794
- Gr as isValidConfig,
3829
+ hn as getColumnValueType,
3830
+ Qr as getFirstPropName,
3831
+ Xr as getRealRender,
3832
+ sr as getSignValue,
3833
+ cr as getValidValues,
3834
+ Yr as isValidConfig,
3795
3835
  tt as isValidNode,
3796
3836
  We as mergeState,
3797
- Oa as mergeStateToList,
3837
+ Da as mergeStateToList,
3798
3838
  Ce as proBaseProps,
3799
- Jr as provideProCurd,
3800
- en as provideProFormList,
3801
- zr as provideProModule,
3802
- mt as renderColumn,
3803
- De as renderElement,
3804
- yt as renderElements,
3805
- yn as renderInputColumn,
3806
- dn as showValue,
3807
- yr as useAccess,
3808
- La as useAccessMgr,
3809
- nr as useComposeRequestActor,
3810
- Na as useDispatchMeta,
3811
- Vr as useDispatchStore,
3812
- Ia as useDoneRequestActor,
3813
- wa as useFailedRequestActor,
3814
- ir as useFormSubmit,
3839
+ ta as provideProCurd,
3840
+ rn as provideProFormList,
3841
+ Gr as provideProModule,
3842
+ yt as renderColumn,
3843
+ Re as renderElement,
3844
+ vt as renderElements,
3845
+ bn as renderInputColumn,
3846
+ yn as showValue,
3847
+ vr as useAccess,
3848
+ Ba as useAccessMgr,
3849
+ rr as useComposeRequestActor,
3850
+ Wr as useDispatchStore,
3851
+ Oa as useDoneRequestActor,
3852
+ Ka as useFailedRequestActor,
3853
+ dr as useFormSubmit,
3815
3854
  te as useGetCompByKey,
3816
- on as useHasPer,
3817
- un as useHasPer2,
3818
- vr as useLogonUser,
3819
- ar as useMetaRegister,
3820
- ft as useModuleEvent,
3855
+ cn as useHasPer,
3856
+ sn as useHasPer2,
3857
+ hr as useLogonUser,
3858
+ Aa as useMeta,
3859
+ or as useMetaRegister,
3860
+ mt as useModuleEvent,
3821
3861
  oe as useProConfig,
3822
3862
  ie as useProCurd,
3823
- nn as useProForm,
3824
- Zt as useProFormList,
3863
+ on as useProForm,
3864
+ nn as useProFormList,
3825
3865
  Ge as useProLayout,
3826
- Ma as useProModal,
3866
+ xa as useProModal,
3827
3867
  Te as useProModule,
3828
- Ca as useProMsg,
3829
- Ta as useProNotify,
3830
- _e as useProRouter,
3831
- Cr as useProTable,
3832
- Ja as useReadStore,
3833
- lo as useTheme
3868
+ Ea as useProMsg,
3869
+ Ia as useProNotify,
3870
+ Xe as useProRouter,
3871
+ Mr as useProTable,
3872
+ to as useReadStore,
3873
+ io as useTheme
3834
3874
  };