@fox-js/foxui-pc 4.0.1-58 → 4.0.1-59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -5,7 +5,7 @@ import { ElAffix as ah, ElAlert as oh, ElAside as sh, ElAutoResizer as ih, ElAut
5
5
  import { ArrowUp as Cn, Download as eo, RefreshLeft as to, Setting as no, Close as lo } from "@element-plus/icons-vue";
6
6
  import { useFoxI18n as ze } from "@fox-js/i18n";
7
7
  /*!
8
- * @fox-js/foxui-desktop v4.0.0 Mon Jul 31 2023 21:10:51 GMT+0800 (中国标准时间)
8
+ * @fox-js/foxui-desktop v4.0.0 Tue Aug 01 2023 20:09:53 GMT+0800 (中国标准时间)
9
9
  */
10
10
  const Pt = window, ro = typeof window < "u";
11
11
  function ao() {
@@ -1294,19 +1294,19 @@ function Zl(e, t, l = [], n) {
1294
1294
  else if (Array.isArray(d) && d.length > 0) {
1295
1295
  const E = d;
1296
1296
  R = {
1297
- name: (V) => V ? E.indexOf(V) !== -1 : !1
1297
+ name: (A) => A ? E.indexOf(A) !== -1 : !1
1298
1298
  };
1299
1299
  } else if (d != null && typeof d == "object") {
1300
1300
  const E = d;
1301
1301
  if (q.ignoreHidden = E.ignoreHidden, Array.isArray(E.include) && E.include.length > 0) {
1302
- const V = E.include;
1302
+ const A = E.include;
1303
1303
  R = {
1304
- name: (D) => D ? V.indexOf(D) !== -1 : !1
1304
+ name: (D) => D ? A.indexOf(D) !== -1 : !1
1305
1305
  };
1306
1306
  } else if (Array.isArray(E.exclude) && E.exclude.length > 0) {
1307
- const V = E.exclude;
1307
+ const A = E.exclude;
1308
1308
  R = {
1309
- name: (D) => D ? V.indexOf(D) === -1 : !1
1309
+ name: (D) => D ? A.indexOf(D) === -1 : !1
1310
1310
  };
1311
1311
  } else
1312
1312
  R = { name: "*" };
@@ -1316,12 +1316,12 @@ function Zl(e, t, l = [], n) {
1316
1316
  E && Reflect.apply([].push, S, E);
1317
1317
  }
1318
1318
  return S.length == 1 ? S[0] : S.length > 1 ? Promise.all(S).then((E) => {
1319
- let V = [];
1319
+ let A = [];
1320
1320
  return E.forEach((D) => {
1321
- D.pass === !1 && Array.isArray(D.errors) && (V = [...V, ...D.errors]);
1322
- }), V.length > 0 ? {
1321
+ D.pass === !1 && Array.isArray(D.errors) && (A = [...A, ...D.errors]);
1322
+ }), A.length > 0 ? {
1323
1323
  pass: !1,
1324
- errors: V
1324
+ errors: A
1325
1325
  } : {
1326
1326
  pass: !0
1327
1327
  };
@@ -1331,17 +1331,17 @@ function Zl(e, t, l = [], n) {
1331
1331
  }, a.setNameValidateRules = (d, S = !0) => {
1332
1332
  if (S) {
1333
1333
  const R = Reflect.ownKeys(d), q = [...R], E = {
1334
- name: (V) => {
1335
- const D = R.includes(V);
1334
+ name: (A) => {
1335
+ const D = R.includes(A);
1336
1336
  if (D) {
1337
- const I = q.findIndex((P) => V === P);
1337
+ const I = q.findIndex((P) => A === P);
1338
1338
  I !== -1 && q.splice(I, 1);
1339
1339
  }
1340
1340
  return D;
1341
1341
  }
1342
1342
  };
1343
- w?.emitToChildren(E, "setNameValidateRules", d, !1), q.length > 0 && q.forEach((V) => {
1344
- let D = String(V);
1343
+ w?.emitToChildren(E, "setNameValidateRules", d, !1), q.length > 0 && q.forEach((A) => {
1344
+ let D = String(A);
1345
1345
  const P = Ro(
1346
1346
  i,
1347
1347
  D,
@@ -1467,12 +1467,12 @@ function Ee(e, t, l) {
1467
1467
  if (R.ignoreHidden = q.ignoreHidden, Array.isArray(q.include) && q.include.length > 0) {
1468
1468
  const E = q.include;
1469
1469
  S = {
1470
- name: (V) => V ? E.indexOf(V) !== -1 : !1
1470
+ name: (A) => A ? E.indexOf(A) !== -1 : !1
1471
1471
  };
1472
1472
  } else if (Array.isArray(q.exclude) && q.exclude.length > 0) {
1473
1473
  const E = q.exclude;
1474
1474
  S = {
1475
- name: (V) => V ? E.indexOf(V) === -1 : !1
1475
+ name: (A) => A ? E.indexOf(A) === -1 : !1
1476
1476
  };
1477
1477
  } else
1478
1478
  S = { name: "*" };
@@ -2715,7 +2715,7 @@ const Ke = (e, t) => {
2715
2715
  }), m = b(() => {
2716
2716
  const _ = {};
2717
2717
  return u.value.safeAreaTop !== null && u.value.safeAreaTop !== void 0 && (_.top = `${u.value.safeAreaTop}px`), _;
2718
- }), w = b(() => !!n.leftShow), g = b(() => !(u.value.height !== null && u.value.height !== void 0 && u.value.height <= 0)), p = b(() => n.titleShow ? n.title || n.titleIcon || r.slots.titleIcon || r.slots.default : !1), v = b(() => n.rightShow ? n.rightText || n.rightIcon || r.slots.rightIcon || r.slots.right : !1), d = b(() => n.leftIcon), S = b(() => d.value || r.slots.leftIcon), R = b(() => n.titleIcon), q = b(() => n.titleIcon || r.slots.titleIcon), E = b(() => n.rightIcon), V = b(() => n.rightIcon || r.slots.rightIcon);
2718
+ }), w = b(() => !!n.leftShow), g = b(() => !(u.value.height !== null && u.value.height !== void 0 && u.value.height <= 0)), p = b(() => n.titleShow ? n.title || n.titleIcon || r.slots.titleIcon || r.slots.default : !1), v = b(() => n.rightShow ? n.rightText || n.rightIcon || r.slots.rightIcon || r.slots.right : !1), d = b(() => n.leftIcon), S = b(() => d.value || r.slots.leftIcon), R = b(() => n.titleIcon), q = b(() => n.titleIcon || r.slots.titleIcon), E = b(() => n.rightIcon), A = b(() => n.rightIcon || r.slots.rightIcon);
2719
2719
  function D() {
2720
2720
  r.emit("back");
2721
2721
  }
@@ -2742,7 +2742,7 @@ const Ke = (e, t) => {
2742
2742
  mTitleIcon: R,
2743
2743
  hasTitleIcon: q,
2744
2744
  mRightIcon: E,
2745
- hasRightIcon: V,
2745
+ hasRightIcon: A,
2746
2746
  handleLeft: D,
2747
2747
  handleCenter: I,
2748
2748
  handleRight: P,
@@ -3094,15 +3094,15 @@ function As(e, t, l) {
3094
3094
  const a = Zl(n.name, n, nr), s = Ss(a, { type: n.type }), o = Ut();
3095
3095
  Xt(!0);
3096
3096
  const i = b(() => o && a ? It(a, !0).value : null), u = ke(), c = (h) => {
3097
- const A = u?.proxy;
3098
- A && typeof A.setNameValidateRules == "function" && A.setNameValidateRules(h, !0);
3097
+ const V = u?.proxy;
3098
+ V && typeof V.setNameValidateRules == "function" && V.setNameValidateRules(h, !0);
3099
3099
  };
3100
3100
  ce(
3101
3101
  () => n.rules,
3102
- (h, A) => {
3103
- if (!h && !A)
3102
+ (h, V) => {
3103
+ if (!h && !V)
3104
3104
  return;
3105
- const M = be(A), j = be(h), U = j ? Reflect.ownKeys(j) : [];
3105
+ const M = be(V), j = be(h), U = j ? Reflect.ownKeys(j) : [];
3106
3106
  (M ? Reflect.ownKeys(M) : []).forEach((Y) => {
3107
3107
  U.includes(Y) || (j[Y] = []);
3108
3108
  }), c(j);
@@ -3112,41 +3112,41 @@ function As(e, t, l) {
3112
3112
  const f = e, m = b(() => {
3113
3113
  const h = {};
3114
3114
  if (h.height = _.value, i.value) {
3115
- const A = It(a, !0);
3116
- if (A.value.type === "flex") {
3115
+ const V = It(a, !0);
3116
+ if (V.value.type === "flex") {
3117
3117
  if (n.width) {
3118
3118
  const U = pe(n.width);
3119
3119
  h.width = U;
3120
3120
  } else {
3121
- const U = Re(A.value.column, n.span);
3121
+ const U = Re(V.value.column, n.span);
3122
3122
  U > 0 && (h.width = `${U}%`);
3123
3123
  }
3124
- const M = Re(A.value.column, n.offset);
3124
+ const M = Re(V.value.column, n.offset);
3125
3125
  M > 0 && (h["margin-left"] = `${M}%`);
3126
- const j = A.value.gutter / 2;
3126
+ const j = V.value.gutter / 2;
3127
3127
  j > 0 && (h["padding-left"] = `${j}px`, h["padding-right"] = `${j}px`);
3128
- } else if (A.value.type === "flow") {
3128
+ } else if (V.value.type === "flow") {
3129
3129
  if (n.width) {
3130
3130
  const U = pe(n.width);
3131
3131
  h.width = U;
3132
3132
  } else {
3133
- const U = Re(A.value.column, n.span);
3133
+ const U = Re(V.value.column, n.span);
3134
3134
  U > 0 && (h.width = `${U}%`);
3135
3135
  }
3136
- const M = Re(A.value.column, n.offset);
3136
+ const M = Re(V.value.column, n.offset);
3137
3137
  M > 0 && (h["margin-left"] = `${M}%`);
3138
- const j = A.value.gutter / 2;
3138
+ const j = V.value.gutter / 2;
3139
3139
  if (j > 0) {
3140
3140
  const U = a ? On(a, !0) : null;
3141
3141
  if (U) {
3142
3142
  let T = me(n.offset) + me(n.span);
3143
- (T === -1 || T > A.value.column) && (T = A.value.column);
3144
- const Y = Math.ceil((U.index + 1) / A.value.column), L = Math.ceil((U.index + T) / A.value.column);
3143
+ (T === -1 || T > V.value.column) && (T = V.value.column);
3144
+ const Y = Math.ceil((U.index + 1) / V.value.column), L = Math.ceil((U.index + T) / V.value.column);
3145
3145
  if (Y === L) {
3146
- const k = (U.index + 1) % A.value.column, G = (U.index + T) % A.value.column, Z = k === 1 ? 0 : j, ee = G === 0 ? 0 : j;
3146
+ const k = (U.index + 1) % V.value.column, G = (U.index + T) % V.value.column, Z = k === 1 ? 0 : j, ee = G === 0 ? 0 : j;
3147
3147
  h["padding-left"] = `${Z}px`, h["padding-right"] = `${ee}px`;
3148
3148
  } else {
3149
- const k = T % A.value.column, G = 0, Z = k === 0 ? 0 : j;
3149
+ const k = T % V.value.column, G = 0, Z = k === 0 ? 0 : j;
3150
3150
  h["padding-left"] = `${G}px`, h["padding-right"] = `${Z}px`;
3151
3151
  }
3152
3152
  U.index += T;
@@ -3155,8 +3155,8 @@ function As(e, t, l) {
3155
3155
  }
3156
3156
  }
3157
3157
  } else if (n.width) {
3158
- const A = pe(n.width);
3159
- h.width = A;
3158
+ const V = pe(n.width);
3159
+ h.width = V;
3160
3160
  }
3161
3161
  return x.value && (h["box-sizing"] = "content-box"), h;
3162
3162
  }), w = b(() => n.type === "flex" ? {
@@ -3175,10 +3175,10 @@ function As(e, t, l) {
3175
3175
  let h = S.length;
3176
3176
  S.splice(0, h);
3177
3177
  }, E = H(-1);
3178
- Gn(a, E.value, v.value, p.value, !0, n.minItemWidth), n.autoLayout && ce([E, v, p], ([h, A, M]) => {
3179
- s.order.index = 0, Gn(a, h, A, M, !1, n.minItemWidth);
3178
+ Gn(a, E.value, v.value, p.value, !0, n.minItemWidth), n.autoLayout && ce([E, v, p], ([h, V, M]) => {
3179
+ s.order.index = 0, Gn(a, h, V, M, !1, n.minItemWidth);
3180
3180
  });
3181
- const V = b(() => x.value ? n.expandText ?? "" : n.collapseText ?? ""), D = b(() => ({
3181
+ const A = b(() => x.value ? n.expandText ?? "" : n.collapseText ?? ""), D = b(() => ({
3182
3182
  [`${e}__header-collapse-text`]: !0
3183
3183
  })), I = b(() => ({
3184
3184
  [`${e}__header-collapse-icon`]: !0,
@@ -3186,10 +3186,10 @@ function As(e, t, l) {
3186
3186
  ["is-collapse"]: x.value
3187
3187
  })), P = H(), O = H(), _ = b(() => y.value || pe(n.height) || ""), W = H(!1), y = H(""), x = H(!1);
3188
3188
  let $ = -1;
3189
- const F = (h, A = !0) => {
3189
+ const F = (h, V = !0) => {
3190
3190
  const M = P.value;
3191
3191
  if (M && W.value !== h) {
3192
- if ($ = $ === -1 ? nn(M) : $, x.value = !0, A)
3192
+ if ($ = $ === -1 ? nn(M) : $, x.value = !0, V)
3193
3193
  if (M.style["will-change"] = "height", M.ontransitionend = function() {
3194
3194
  M.ontransitionend = null, this.style["will-change"] = "auto", h || (y.value = "", x.value = !1);
3195
3195
  }, h) {
@@ -3231,25 +3231,25 @@ function As(e, t, l) {
3231
3231
  if (Yt && (F(ae(n.collapse), !1), n.autoLayout && Array.isArray(S) && S.length > 0)) {
3232
3232
  const h = S[0];
3233
3233
  E.value = zt(h).width, window.ResizeObserver && (C = new window.ResizeObserver(() => {
3234
- const A = zt(h).width;
3235
- A > 0 && A !== E.value && (E.value = A);
3234
+ const V = zt(h).width;
3235
+ V > 0 && V !== E.value && (E.value = V);
3236
3236
  }), C.observe(h));
3237
3237
  }
3238
3238
  }), Ye(() => {
3239
3239
  C?.disconnect();
3240
3240
  });
3241
- const N = (h, A, M, j) => {
3241
+ const N = (h, V, M, j) => {
3242
3242
  const U = { ...w.value };
3243
- return A === 0 && (U[`${f}__first`] = !0), M >= j - 1 && (U[`${f}__last`] = !0), z("div", { ref: R, key: `${A}`, class: U }, h);
3243
+ return V === 0 && (U[`${f}__first`] = !0), M >= j - 1 && (U[`${f}__last`] = !0), z("div", { ref: R, key: `${V}`, class: U }, h);
3244
3244
  }, K = (h) => {
3245
3245
  if (typeof h.type == "symbol") {
3246
3246
  if (Array.isArray(h.children)) {
3247
- const A = [...h.children];
3248
- for (let M = A.length - 1; M >= 0; M--) {
3249
- const j = A[M], U = K(j);
3250
- U === null ? A.splice(M, 1) : U.length > 0 && Reflect.apply([].splice, A, [M, 1, ...U]);
3247
+ const V = [...h.children];
3248
+ for (let M = V.length - 1; M >= 0; M--) {
3249
+ const j = V[M], U = K(j);
3250
+ U === null ? V.splice(M, 1) : U.length > 0 && Reflect.apply([].splice, V, [M, 1, ...U]);
3251
3251
  }
3252
- return A;
3252
+ return V;
3253
3253
  }
3254
3254
  return null;
3255
3255
  }
@@ -3258,10 +3258,10 @@ function As(e, t, l) {
3258
3258
  return () => {
3259
3259
  s.order.index = 0;
3260
3260
  const h = [];
3261
- let A = 0;
3261
+ let V = 0;
3262
3262
  if (r.slots.header) {
3263
3263
  const T = {
3264
- key: `${A++}`,
3264
+ key: `${V++}`,
3265
3265
  ref: O,
3266
3266
  class: { [`${f}__header`]: !0, [`${f}__first`]: !0 }
3267
3267
  }, Y = z("div", T, [r.slots.header()]);
@@ -3284,10 +3284,10 @@ function As(e, t, l) {
3284
3284
  }
3285
3285
  if (r.slots.toolbar && T.push(r.slots.toolbar()), n.showCollapse) {
3286
3286
  const Y = [];
3287
- if (V.value) {
3287
+ if (A.value) {
3288
3288
  const G = {
3289
3289
  class: D.value
3290
- }, Z = z("span", G, [V.value]);
3290
+ }, Z = z("span", G, [A.value]);
3291
3291
  Y.push(Z);
3292
3292
  }
3293
3293
  const L = {
@@ -3304,7 +3304,7 @@ function As(e, t, l) {
3304
3304
  }
3305
3305
  if (T.length > 0) {
3306
3306
  const Y = {
3307
- key: `${A++}`,
3307
+ key: `${V++}`,
3308
3308
  ref: O,
3309
3309
  class: { [`${f}__header`]: !0, [`${f}__first`]: !0 }
3310
3310
  }, L = z("div", Y, T);
@@ -3326,7 +3326,7 @@ function As(e, t, l) {
3326
3326
  ne > s.layout.value.column ? ne = s.layout.value.column : ne <= 0 && (ne = 1);
3327
3327
  const we = U + ne;
3328
3328
  if (we > s.layout.value.column) {
3329
- const ut = N([...j], A++, T - 1, M.length);
3329
+ const ut = N([...j], V++, T - 1, M.length);
3330
3330
  h.push(ut), U = ne, j = [L];
3331
3331
  } else
3332
3332
  j.push(L), U = we;
@@ -3336,12 +3336,12 @@ function As(e, t, l) {
3336
3336
  if (G === "stretch") {
3337
3337
  if (U < s.layout.value.column) {
3338
3338
  j.push(L);
3339
- const ne = N([...j], A++, T, M.length);
3339
+ const ne = N([...j], V++, T, M.length);
3340
3340
  h.push(ne);
3341
3341
  } else {
3342
- const ne = N([...j], A++, T - 1, M.length);
3342
+ const ne = N([...j], V++, T - 1, M.length);
3343
3343
  h.push(ne);
3344
- const we = N([L], A++, T, M.length);
3344
+ const we = N([L], V++, T, M.length);
3345
3345
  h.push(we);
3346
3346
  }
3347
3347
  U = 0, j = [];
@@ -3350,31 +3350,31 @@ function As(e, t, l) {
3350
3350
  let ee = me(G);
3351
3351
  if (ee === -1) {
3352
3352
  if (j.length > 0) {
3353
- const we = N([...j], A++, T - 1, M.length);
3353
+ const we = N([...j], V++, T - 1, M.length);
3354
3354
  h.push(we);
3355
3355
  }
3356
- const ne = N([L], A++, T, M.length);
3356
+ const ne = N([L], V++, T, M.length);
3357
3357
  h.push(ne), U = 0, j = [];
3358
3358
  continue;
3359
3359
  }
3360
3360
  ee > s.layout.value.column ? ee = s.layout.value.column : ee <= 0 && (ee = 1);
3361
3361
  const fe = U + ee + Z;
3362
3362
  if (fe > s.layout.value.column) {
3363
- const ne = N([...j], A++, T - 1, M.length);
3363
+ const ne = N([...j], V++, T - 1, M.length);
3364
3364
  h.push(ne), U = ee + Z, j = [L];
3365
3365
  } else
3366
3366
  j.push(L), U = fe;
3367
3367
  }
3368
3368
  if (j.length > 0) {
3369
- const T = N([...j], A++, M.length, M.length);
3369
+ const T = N([...j], V++, M.length, M.length);
3370
3370
  h.push(T);
3371
3371
  }
3372
3372
  } else if (n.type === "flow") {
3373
- const T = N(M, A++, 0, M.length);
3373
+ const T = N(M, V++, 0, M.length);
3374
3374
  h.push(T);
3375
3375
  } else
3376
3376
  for (let T = 0; T < M.length; T++) {
3377
- const Y = M[T], L = N([Y], A++, T, M.length);
3377
+ const Y = M[T], L = N([Y], V++, T, M.length);
3378
3378
  h.push(L);
3379
3379
  }
3380
3380
  if (d.value) {
@@ -3684,7 +3684,7 @@ const ar = /* @__PURE__ */ Ke(Hs, [["render", Ks]]), { componentName: qt, create
3684
3684
  return a.value ? I.visibility = "hidden" : I.transform = `translate(${s.value.x}px, ${s.value.y}px)`, I;
3685
3685
  }), q = b(() => ({
3686
3686
  [`${qt}__content`]: !0
3687
- })), E = b(() => ({})), V = b(() => ({
3687
+ })), E = b(() => ({})), A = b(() => ({
3688
3688
  [`${qt}__arrow`]: !0,
3689
3689
  [`${qt}__arrow-${e.placement}`]: !0
3690
3690
  })), D = b(() => ({ top: `${o.value.y}px`, left: `${o.value.x}px` }));
@@ -3695,7 +3695,7 @@ const ar = /* @__PURE__ */ Ke(Hs, [["render", Ks]]), { componentName: qt, create
3695
3695
  styles: R,
3696
3696
  textClasses: q,
3697
3697
  textStyles: E,
3698
- arrowClasses: V,
3698
+ arrowClasses: A,
3699
3699
  arrowStyles: D
3700
3700
  };
3701
3701
  }
@@ -3925,7 +3925,7 @@ const mn = {}, Zs = new Xs(), dt = /* @__PURE__ */ new Map(), yn = (e) => {
3925
3925
  [e.contentClass]: !0
3926
3926
  })), E = b(() => ({
3927
3927
  ...e.contentStyle
3928
- })), V = Wt({
3928
+ })), A = Wt({
3929
3929
  errorTip: "",
3930
3930
  errorIcon: null,
3931
3931
  warnTip: "",
@@ -3940,34 +3940,34 @@ const mn = {}, Zs = new Xs(), dt = /* @__PURE__ */ new Map(), yn = (e) => {
3940
3940
  },
3941
3941
  // 设置error tip
3942
3942
  setErrorTip(T) {
3943
- V.errorTip = T;
3943
+ A.errorTip = T;
3944
3944
  },
3945
3945
  // 设置error icon
3946
3946
  setErrorIcon(T) {
3947
- V.errorIcon = T;
3947
+ A.errorIcon = T;
3948
3948
  },
3949
3949
  // 设置warn tip
3950
3950
  setWarnTip(T) {
3951
- V.warnTip = T;
3951
+ A.warnTip = T;
3952
3952
  },
3953
3953
  // 设置warn icon
3954
3954
  setWarnIcon(T) {
3955
- V.warnIcon = T;
3955
+ A.warnIcon = T;
3956
3956
  },
3957
3957
  // 设置info tip
3958
3958
  setInfoTip(T) {
3959
- V.infoTip = T;
3959
+ A.infoTip = T;
3960
3960
  },
3961
3961
  // 设置info icon
3962
3962
  setInfoIcon(T) {
3963
- V.infoIcon = T;
3963
+ A.infoIcon = T;
3964
3964
  },
3965
3965
  // 设置自定义class name
3966
3966
  setCustomClassName(T) {
3967
3967
  o.value = T;
3968
3968
  }
3969
3969
  });
3970
- const D = b(() => e.infoTip || V.infoTip), I = b(() => e.infoIcon || V.infoIcon), P = b(() => e.warnTip || V.warnTip), O = b(() => e.warnIcon || V.warnIcon), _ = b(() => e.errorTip || V.errorTip), W = b(() => e.errorIcon || V.errorIcon), y = b(() => _.value ? "error" : P.value ? "warn" : D.value ? "info" : ""), x = b(() => y.value.length > 0), $ = b(() => y.value === "error" ? _.value : y.value === "warn" ? P.value : y.value === "info" ? D.value : ""), F = b(() => y.value === "error" ? W.value : y.value === "warn" ? O.value : y.value === "info" ? I.value : null), B = b(() => {
3970
+ const D = b(() => e.infoTip || A.infoTip), I = b(() => e.infoIcon || A.infoIcon), P = b(() => e.warnTip || A.warnTip), O = b(() => e.warnIcon || A.warnIcon), _ = b(() => e.errorTip || A.errorTip), W = b(() => e.errorIcon || A.errorIcon), y = b(() => _.value ? "error" : P.value ? "warn" : D.value ? "info" : ""), x = b(() => y.value.length > 0), $ = b(() => y.value === "error" ? _.value : y.value === "warn" ? P.value : y.value === "info" ? D.value : ""), F = b(() => y.value === "error" ? W.value : y.value === "warn" ? O.value : y.value === "info" ? I.value : null), B = b(() => {
3971
3971
  let T = {
3972
3972
  [`${s}__tip`]: !0,
3973
3973
  [`${s}__tip--${y.value}`]: !0
@@ -3979,11 +3979,11 @@ const mn = {}, Zs = new Xs(), dt = /* @__PURE__ */ new Map(), yn = (e) => {
3979
3979
  }), C = () => z(F.value, { width: 12, height: 12 }), N = b(() => t.slots.fixedTip), K = b(() => ({
3980
3980
  [`${s}__fixed-tip`]: !0
3981
3981
  })), h = H();
3982
- let A = "";
3982
+ let V = "";
3983
3983
  ce(
3984
3984
  [() => e.hintVisible, () => e.hintText, () => e.hintType, () => e.hintProps],
3985
3985
  ([T, Y, L, k]) => {
3986
- h.value && (T && !xe(Y) ? A ? _t.show(h.value, Y, { ...k, id: A, type: L }, !0) : A = _t.show(h.value, Y, { ...k, type: L }, !0) : _t.hide(A));
3986
+ h.value && (T && !xe(Y) ? V ? _t.show(h.value, Y, { ...k, id: V, type: L }, !0) : V = _t.show(h.value, Y, { ...k, type: L }, !0) : _t.hide(V));
3987
3987
  }
3988
3988
  );
3989
3989
  let M = null;
@@ -4361,13 +4361,13 @@ function pi(e, t, l) {
4361
4361
  }, q = () => {
4362
4362
  o("clear", "");
4363
4363
  }, E = H(!1);
4364
- let V = null;
4364
+ let A = null;
4365
4365
  const D = () => {
4366
- n.showTooltip && E.value === !1 && (V = setTimeout(() => {
4366
+ n.showTooltip && E.value === !1 && (A = setTimeout(() => {
4367
4367
  E.value = !0;
4368
4368
  }, 150));
4369
4369
  }, I = () => {
4370
- V && (clearTimeout(V), E.value = !1, V = null);
4370
+ A && (clearTimeout(A), E.value = !1, A = null);
4371
4371
  }, P = b(() => E.value || d.value), O = b(() => E.value ? f.value : v.value), _ = b(() => Gt(n.unit) > 0), W = H();
4372
4372
  return Ve({
4373
4373
  //使 input 获取焦点
@@ -4622,8 +4622,8 @@ function Ti(e, t, l) {
4622
4622
  }
4623
4623
  },
4624
4624
  n.prop ?? r.attrs.name
4625
- ), { toLocaleRefs: i } = ze(t), u = i(n, ["placeholder"]), c = H(null), f = H([]), m = (h, A, M, j = !0) => {
4626
- const U = ir(n, h, A, M);
4625
+ ), { toLocaleRefs: i } = ze(t), u = i(n, ["placeholder"]), c = H(null), f = H([]), m = (h, V, M, j = !0) => {
4626
+ const U = ir(n, h, V, M);
4627
4627
  if (U === null) {
4628
4628
  if (f.value === null || f.value.length === 0)
4629
4629
  return;
@@ -4655,9 +4655,9 @@ function Ti(e, t, l) {
4655
4655
  "lazyLoad",
4656
4656
  He.Near,
4657
4657
  (h) => ae(h)
4658
- ), d = $i(), S = async (h, A) => {
4658
+ ), d = $i(), S = async (h, V) => {
4659
4659
  if (h) {
4660
- const M = await d.load("select", h, A);
4660
+ const M = await d.load("select", h, V);
4661
4661
  if (M.length > 0)
4662
4662
  if (typeof M[0] == "string") {
4663
4663
  let T = M.map((Y) => Si(Y));
@@ -4670,8 +4670,8 @@ function Ti(e, t, l) {
4670
4670
  };
4671
4671
  ce(
4672
4672
  [() => n.source, () => n.params],
4673
- ([h, A]) => {
4674
- S(h, A);
4673
+ ([h, V]) => {
4674
+ S(h, V);
4675
4675
  },
4676
4676
  { immediate: !v.value }
4677
4677
  );
@@ -4679,23 +4679,23 @@ function Ti(e, t, l) {
4679
4679
  const q = () => {
4680
4680
  R || (R = !0, S(n.source, n.params));
4681
4681
  };
4682
- ce([() => p.value, () => n.modelValue], ([h, A]) => {
4683
- m(A, n.valueType, h, !1);
4682
+ ce([() => p.value, () => n.modelValue], ([h, V]) => {
4683
+ m(V, n.valueType, h, !1);
4684
4684
  });
4685
- let E = null, V = H(!1);
4685
+ let E = null, A = H(!1);
4686
4686
  typeof n.remoteMethod == "function" && (E = async (h) => {
4687
4687
  if (h == null) {
4688
4688
  g.value = null;
4689
4689
  return;
4690
4690
  }
4691
- V.value = !0;
4691
+ A.value = !0;
4692
4692
  try {
4693
- const A = await n.remoteMethod(h);
4694
- g.value = A;
4695
- } catch (A) {
4696
- g.value = null, console.error(A);
4693
+ const V = await n.remoteMethod(h);
4694
+ V && (g.value = V);
4695
+ } catch (V) {
4696
+ g.value = null, console.error(V);
4697
4697
  }
4698
- V.value = !1;
4698
+ A.value = !1;
4699
4699
  });
4700
4700
  let D = null;
4701
4701
  typeof n.filterMethod == "function" && (D = async (h) => {
@@ -4703,14 +4703,14 @@ function Ti(e, t, l) {
4703
4703
  g.value = null;
4704
4704
  return;
4705
4705
  }
4706
- V.value = !0;
4706
+ A.value = !0;
4707
4707
  try {
4708
- const A = await n.filterMethod(h, w.value);
4709
- g.value = A;
4710
- } catch (A) {
4711
- g.value = null, console.error(A);
4708
+ const V = await n.filterMethod(h, w.value);
4709
+ V && (g.value = V);
4710
+ } catch (V) {
4711
+ g.value = null, console.error(V);
4712
4712
  }
4713
- V.value = !1;
4713
+ A.value = !1;
4714
4714
  });
4715
4715
  const I = H(!1), P = e, O = b(() => ({
4716
4716
  [P]: !0
@@ -4733,12 +4733,12 @@ function Ti(e, t, l) {
4733
4733
  B.value = h, o("visible-change", h), h || o("selected");
4734
4734
  }, C = (h) => {
4735
4735
  o("remove-tag", h);
4736
- }, N = (h, A) => {
4736
+ }, N = (h, V) => {
4737
4737
  const M = [];
4738
4738
  return h.forEach((j, U) => {
4739
4739
  const T = or(n, j);
4740
4740
  if (Array.isArray(T) && T.length > 0) {
4741
- const Y = N(T, A), L = at(n, j), G = {
4741
+ const Y = N(T, V), L = at(n, j), G = {
4742
4742
  key: `${L}_${U}`,
4743
4743
  label: L
4744
4744
  };
@@ -4750,8 +4750,8 @@ function Ti(e, t, l) {
4750
4750
  disabled: k,
4751
4751
  value: Y
4752
4752
  };
4753
- if (typeof A == "function")
4754
- M.push(z(Ct, Z, { default: () => A(j) }));
4753
+ if (typeof V == "function")
4754
+ M.push(z(Ct, Z, { default: () => V(j) }));
4755
4755
  else if (n.optionType === "item") {
4756
4756
  const fe = z("span", {
4757
4757
  class: { "fox-select-item__option-left": !0 }
@@ -4774,7 +4774,7 @@ function Ti(e, t, l) {
4774
4774
  K?.value.blur();
4775
4775
  }
4776
4776
  }), () => {
4777
- const A = {
4777
+ const V = {
4778
4778
  ...r.attrs,
4779
4779
  ref: K,
4780
4780
  class: O.value,
@@ -4792,10 +4792,10 @@ function Ti(e, t, l) {
4792
4792
  onVisibleChange: X,
4793
4793
  onRemoveTag: C
4794
4794
  };
4795
- typeof E == "function" && (A["remote-method"] = E, A.loading = V.value), typeof D == "function" && (A["filter-method"] = D, A.loading = V.value);
4795
+ typeof E == "function" && (V["remote-method"] = E, V.loading = A.value), typeof D == "function" && (V["filter-method"] = D, V.loading = A.value);
4796
4796
  const M = {};
4797
4797
  r.slots.prefix && (M.prefix = r.slots.prefix), r.slots.empty && (M.empty = r.slots.empty), r.slots.options ? M.default = r.slots.options : M.default = () => N(p.value, r.slots.option);
4798
- const j = [], U = z(Ll, A, M);
4798
+ const j = [], U = z(Ll, V, M);
4799
4799
  j.push(U);
4800
4800
  const T = {
4801
4801
  default: () => j
@@ -4839,8 +4839,8 @@ var ur = { exports: {} };
4839
4839
  return { M: f, y: w, w: c, d: u, D: g, h: i, m: o, s, ms: a, Q: m }[y] || String(y || "").toLowerCase().replace(/s$/, "");
4840
4840
  }, u: function(y) {
4841
4841
  return y === void 0;
4842
- } }, E = "en", V = {};
4843
- V[E] = S;
4842
+ } }, E = "en", A = {};
4843
+ A[E] = S;
4844
4844
  var D = function(y) {
4845
4845
  return y instanceof _;
4846
4846
  }, I = function y(x, $, F) {
@@ -4849,13 +4849,13 @@ var ur = { exports: {} };
4849
4849
  return E;
4850
4850
  if (typeof x == "string") {
4851
4851
  var X = x.toLowerCase();
4852
- V[X] && (B = X), $ && (V[X] = $, B = X);
4852
+ A[X] && (B = X), $ && (A[X] = $, B = X);
4853
4853
  var C = x.split("-");
4854
4854
  if (!B && C.length > 1)
4855
4855
  return y(C[0]);
4856
4856
  } else {
4857
4857
  var N = x.name;
4858
- V[N] = x, B = N;
4858
+ A[N] = x, B = N;
4859
4859
  }
4860
4860
  return !F && B && (E = B), B || !F && E;
4861
4861
  }, P = function(y, x) {
@@ -4916,15 +4916,15 @@ var ur = { exports: {} };
4916
4916
  return X ? k : k.endOf(u);
4917
4917
  }, K = function(Y, L) {
4918
4918
  return O.w(B.toDate()[Y].apply(B.toDate("s"), (X ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(L)), B);
4919
- }, h = this.$W, A = this.$M, M = this.$D, j = "set" + (this.$u ? "UTC" : "");
4919
+ }, h = this.$W, V = this.$M, M = this.$D, j = "set" + (this.$u ? "UTC" : "");
4920
4920
  switch (C) {
4921
4921
  case w:
4922
4922
  return X ? N(1, 0) : N(31, 11);
4923
4923
  case f:
4924
- return X ? N(1, A) : N(0, A + 1);
4924
+ return X ? N(1, V) : N(0, V + 1);
4925
4925
  case c:
4926
4926
  var U = this.$locale().weekStart || 0, T = (h < U ? h + 7 : h) - U;
4927
- return N(X ? M - T : M + (6 - T), A);
4927
+ return N(X ? M - T : M + (6 - T), V);
4928
4928
  case u:
4929
4929
  case g:
4930
4930
  return K(j + "Hours", 0);
@@ -4954,9 +4954,9 @@ var ur = { exports: {} };
4954
4954
  }, x.add = function($, F) {
4955
4955
  var B, X = this;
4956
4956
  $ = Number($);
4957
- var C = O.p(F), N = function(A) {
4957
+ var C = O.p(F), N = function(V) {
4958
4958
  var M = P(X);
4959
- return O.w(M.date(M.date() + Math.round(A * $)), X);
4959
+ return O.w(M.date(M.date() + Math.round(V * $)), X);
4960
4960
  };
4961
4961
  if (C === f)
4962
4962
  return this.set(f, this.$M + $);
@@ -4974,26 +4974,26 @@ var ur = { exports: {} };
4974
4974
  var F = this, B = this.$locale();
4975
4975
  if (!this.isValid())
4976
4976
  return B.invalidDate || p;
4977
- var X = $ || "YYYY-MM-DDTHH:mm:ssZ", C = O.z(this), N = this.$H, K = this.$m, h = this.$M, A = B.weekdays, M = B.months, j = function(L, k, G, Z) {
4977
+ var X = $ || "YYYY-MM-DDTHH:mm:ssZ", C = O.z(this), N = this.$H, K = this.$m, h = this.$M, V = B.weekdays, M = B.months, j = function(L, k, G, Z) {
4978
4978
  return L && (L[k] || L(F, X)) || G[k].slice(0, Z);
4979
4979
  }, U = function(L) {
4980
4980
  return O.s(N % 12 || 12, L, "0");
4981
4981
  }, T = B.meridiem || function(L, k, G) {
4982
4982
  var Z = L < 12 ? "AM" : "PM";
4983
4983
  return G ? Z.toLowerCase() : Z;
4984
- }, Y = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: h + 1, MM: O.s(h + 1, 2, "0"), MMM: j(B.monthsShort, h, M, 3), MMMM: j(M, h), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: j(B.weekdaysMin, this.$W, A, 2), ddd: j(B.weekdaysShort, this.$W, A, 3), dddd: A[this.$W], H: String(N), HH: O.s(N, 2, "0"), h: U(1), hh: U(2), a: T(N, K, !0), A: T(N, K, !1), m: String(K), mm: O.s(K, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: C };
4984
+ }, Y = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: h + 1, MM: O.s(h + 1, 2, "0"), MMM: j(B.monthsShort, h, M, 3), MMMM: j(M, h), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: j(B.weekdaysMin, this.$W, V, 2), ddd: j(B.weekdaysShort, this.$W, V, 3), dddd: V[this.$W], H: String(N), HH: O.s(N, 2, "0"), h: U(1), hh: U(2), a: T(N, K, !0), A: T(N, K, !1), m: String(K), mm: O.s(K, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: C };
4985
4985
  return X.replace(d, function(L, k) {
4986
4986
  return k || Y[L] || C.replace(":", "");
4987
4987
  });
4988
4988
  }, x.utcOffset = function() {
4989
4989
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4990
4990
  }, x.diff = function($, F, B) {
4991
- var X, C = O.p(F), N = P($), K = (N.utcOffset() - this.utcOffset()) * n, h = this - N, A = O.m(this, N);
4992
- return A = (X = {}, X[w] = A / 12, X[f] = A, X[m] = A / 3, X[c] = (h - K) / 6048e5, X[u] = (h - K) / 864e5, X[i] = h / r, X[o] = h / n, X[s] = h / l, X)[C] || h, B ? A : O.a(A);
4991
+ var X, C = O.p(F), N = P($), K = (N.utcOffset() - this.utcOffset()) * n, h = this - N, V = O.m(this, N);
4992
+ return V = (X = {}, X[w] = V / 12, X[f] = V, X[m] = V / 3, X[c] = (h - K) / 6048e5, X[u] = (h - K) / 864e5, X[i] = h / r, X[o] = h / n, X[s] = h / l, X)[C] || h, B ? V : O.a(V);
4993
4993
  }, x.daysInMonth = function() {
4994
4994
  return this.endOf(f).$D;
4995
4995
  }, x.$locale = function() {
4996
- return V[this.$L];
4996
+ return A[this.$L];
4997
4997
  }, x.locale = function($, F) {
4998
4998
  if (!$)
4999
4999
  return this.$L;
@@ -5019,7 +5019,7 @@ var ur = { exports: {} };
5019
5019
  return y.$i || (y(x, _, P), y.$i = !0), P;
5020
5020
  }, P.locale = I, P.isDayjs = D, P.unix = function(y) {
5021
5021
  return P(1e3 * y);
5022
- }, P.en = V[E], P.Ls = V, P.p = {}, P;
5022
+ }, P.en = A[E], P.Ls = A, P.p = {}, P;
5023
5023
  });
5024
5024
  })(ur);
5025
5025
  var Ai = ur.exports;
@@ -5095,7 +5095,7 @@ var cr = { exports: {} };
5095
5095
  return x || $.slice(1);
5096
5096
  });
5097
5097
  })).match(n), R = S.length, q = 0; q < R; q += 1) {
5098
- var E = S[q], V = w[E], D = V && V[0], I = V && V[1];
5098
+ var E = S[q], A = w[E], D = A && A[0], I = A && A[1];
5099
5099
  S[q] = I ? { regex: D, parser: I } : E.replace(/^\[|\]$/g, "");
5100
5100
  }
5101
5101
  return function(P) {
@@ -5121,8 +5121,8 @@ var cr = { exports: {} };
5121
5121
  d.p.customParseFormat = !0, p && p.parseTwoDigitYear && (i = p.parseTwoDigitYear);
5122
5122
  var S = v.prototype, R = S.parse;
5123
5123
  S.parse = function(q) {
5124
- var E = q.date, V = q.utc, D = q.args;
5125
- this.$u = V;
5124
+ var E = q.date, A = q.utc, D = q.args;
5125
+ this.$u = A;
5126
5126
  var I = D[1];
5127
5127
  if (typeof I == "string") {
5128
5128
  var P = D[2] === !0, O = D[3] === !0, _ = P || O, W = D[2];
@@ -5130,14 +5130,14 @@ var cr = { exports: {} };
5130
5130
  try {
5131
5131
  if (["x", "X"].indexOf(B) > -1)
5132
5132
  return new Date((B === "X" ? 1e3 : 1) * F);
5133
- var C = g(B)(F), N = C.year, K = C.month, h = C.day, A = C.hours, M = C.minutes, j = C.seconds, U = C.milliseconds, T = C.zone, Y = /* @__PURE__ */ new Date(), L = h || (N || K ? 1 : Y.getDate()), k = N || Y.getFullYear(), G = 0;
5133
+ var C = g(B)(F), N = C.year, K = C.month, h = C.day, V = C.hours, M = C.minutes, j = C.seconds, U = C.milliseconds, T = C.zone, Y = /* @__PURE__ */ new Date(), L = h || (N || K ? 1 : Y.getDate()), k = N || Y.getFullYear(), G = 0;
5134
5134
  N && !K || (G = K > 0 ? K - 1 : Y.getMonth());
5135
- var Z = A || 0, ee = M || 0, fe = j || 0, ne = U || 0;
5135
+ var Z = V || 0, ee = M || 0, fe = j || 0, ne = U || 0;
5136
5136
  return T ? new Date(Date.UTC(k, G, L, Z, ee, fe, ne + 60 * T.offset * 1e3)) : X ? new Date(Date.UTC(k, G, L, Z, ee, fe, ne)) : new Date(k, G, L, Z, ee, fe, ne);
5137
5137
  } catch {
5138
5138
  return /* @__PURE__ */ new Date("");
5139
5139
  }
5140
- }(E, I, V), this.init(), W && W !== !0 && (this.$L = this.locale(W).$L), _ && E != this.format(I) && (this.$d = /* @__PURE__ */ new Date("")), o = {};
5140
+ }(E, I, A), this.init(), W && W !== !0 && (this.$L = this.locale(W).$L), _ && E != this.format(I) && (this.$d = /* @__PURE__ */ new Date("")), o = {};
5141
5141
  } else if (I instanceof Array)
5142
5142
  for (var y = I.length, x = 1; x <= y; x += 1) {
5143
5143
  D[1] = I[x - 1];
@@ -5225,8 +5225,8 @@ var dr = { exports: {} };
5225
5225
  if (!p)
5226
5226
  return R;
5227
5227
  var q = v.weekStart;
5228
- return R.map(function(E, V) {
5229
- return R[(V + (q || 0)) % 7];
5228
+ return R.map(function(E, A) {
5229
+ return R[(A + (q || 0)) % 7];
5230
5230
  });
5231
5231
  }, i = function() {
5232
5232
  return r.Ls[r.locale()];
@@ -5650,7 +5650,7 @@ function Wi(e, t, l) {
5650
5650
  o("calendar-change", x);
5651
5651
  }, E = (x, $, F) => {
5652
5652
  o("panel-change", x, $, F);
5653
- }, V = (x) => {
5653
+ }, A = (x) => {
5654
5654
  o("visible-change", x);
5655
5655
  }, D = Fe(
5656
5656
  b(() => n.longTermValue),
@@ -5715,7 +5715,7 @@ function Wi(e, t, l) {
5715
5715
  onBlur: S,
5716
5716
  onCalendarChange: q,
5717
5717
  onPanelChange: E,
5718
- onVisibleChange: V
5718
+ onVisibleChange: A
5719
5719
  }, F = {};
5720
5720
  r.slots["range-separator"] && (F["range-separator"] = r.slots["range-separator"]), r.slots.cell && (F.default = r.slots.cell);
5721
5721
  const B = [], X = z(Il, $, F);
@@ -5724,12 +5724,12 @@ function Wi(e, t, l) {
5724
5724
  default: () => B
5725
5725
  };
5726
5726
  if (r.slots.default && (C.label = r.slots.default), r.slots.fixedTip && (C.fixedTip = r.slots.fixedTip), W) {
5727
- const A = {
5727
+ const V = {
5728
5728
  label: D.value,
5729
5729
  disabled: s.value || a.value,
5730
5730
  modelValue: O.value,
5731
5731
  ["onUpdate:modelValue"]: _
5732
- }, M = z(Vt, A), j = z(
5732
+ }, M = z(Vt, V), j = z(
5733
5733
  "div",
5734
5734
  {
5735
5735
  class: {
@@ -5798,23 +5798,23 @@ function Zi(e, t, l) {
5798
5798
  n.prop ?? r.attrs.name
5799
5799
  ), { toLocaleRefs: i } = ze(t), u = i(n, ["placeholder"]), c = H(!1), f = ue(n, "modelValue"), m = e, w = b(() => ({
5800
5800
  [m]: !0
5801
- })), g = (V) => {
5802
- f.value = V, o("update:modelValue", V), o("change", V);
5801
+ })), g = (A) => {
5802
+ f.value = A, o("update:modelValue", A), o("change", A);
5803
5803
  };
5804
5804
  let p = ue(n, "hintText"), v = H(!1);
5805
- const d = (V) => {
5806
- let I = V.target.value;
5807
- c.value = !0, xe(p.value) || (v.value = !0), o("focus", I, V);
5808
- }, S = (V) => {
5805
+ const d = (A) => {
5806
+ let I = A.target.value;
5807
+ c.value = !0, xe(p.value) || (v.value = !0), o("focus", I, A);
5808
+ }, S = (A) => {
5809
5809
  setTimeout(() => {
5810
5810
  v.value && (v.value = !1), c.value = !1;
5811
5811
  }, 0);
5812
- let I = V.target.value;
5813
- n.maxLength && I.length > Number(n.maxLength) && (I = I.slice(0, Number(n.maxLength))), o("blur", I, V);
5812
+ let I = A.target.value;
5813
+ n.maxLength && I.length > Number(n.maxLength) && (I = I.slice(0, Number(n.maxLength))), o("blur", I, A);
5814
5814
  }, R = () => {
5815
5815
  o("clear", "");
5816
- }, q = (V) => {
5817
- o("visible-change", V);
5816
+ }, q = (A) => {
5817
+ o("visible-change", A);
5818
5818
  }, E = H();
5819
5819
  return Ve({
5820
5820
  //使 input 获取焦点
@@ -5941,7 +5941,7 @@ function nu(e, t, l) {
5941
5941
  q?.value.handleClose();
5942
5942
  }
5943
5943
  }), () => {
5944
- const V = {
5944
+ const A = {
5945
5945
  ...r.attrs,
5946
5946
  ref: q,
5947
5947
  class: w.value,
@@ -5953,7 +5953,7 @@ function nu(e, t, l) {
5953
5953
  onClear: R,
5954
5954
  onFocus: d,
5955
5955
  onBlur: S
5956
- }, D = {}, I = [], P = z(Hl, V, D);
5956
+ }, D = {}, I = [], P = z(Hl, A, D);
5957
5957
  I.push(P);
5958
5958
  const O = {
5959
5959
  default: () => I
@@ -6236,7 +6236,7 @@ function iu(e, t, l) {
6236
6236
  R.value = y, ae(n.showTip) && (q.value = y.length > 0), c.value = y, u.value = al(y, n.rates, n.precision, !0), x.forEach(($) => {
6237
6237
  o($, u.value);
6238
6238
  });
6239
- }, V = (y) => {
6239
+ }, A = (y) => {
6240
6240
  E(y, ["update:modelValue", "input"]);
6241
6241
  }, D = (y) => {
6242
6242
  E(y, ["update:modelValue", "change"]);
@@ -6288,7 +6288,7 @@ function iu(e, t, l) {
6288
6288
  "adjust-position": n.adjustPosition,
6289
6289
  "always-system": n.alwaysSystem,
6290
6290
  onClear: O,
6291
- onInput: V,
6291
+ onInput: A,
6292
6292
  onChange: D,
6293
6293
  onFocus: I,
6294
6294
  onBlur: P
@@ -6371,7 +6371,7 @@ function hu(e, t, l) {
6371
6371
  n.prop ?? r.attrs.name
6372
6372
  ), { toLocaleRefs: i } = ze(t), u = i(n, ["placeholder"]), c = H(!1), f = ue(n, "modelValue"), m = e, w = b(() => ({
6373
6373
  [m]: !0,
6374
- [`${m}__append`]: V.value
6374
+ [`${m}__append`]: A.value
6375
6375
  })), g = b(() => ({
6376
6376
  [`${m}__unit`]: !0
6377
6377
  })), p = (I) => {
@@ -6391,7 +6391,7 @@ function hu(e, t, l) {
6391
6391
  n.maxLength && O.length > Number(n.maxLength) && (O = O.slice(0, Number(n.maxLength))), o("blur", O, I);
6392
6392
  }, E = () => {
6393
6393
  o("clear", "");
6394
- }, V = b(() => Gt(n.unit) > 0), D = H();
6394
+ }, A = b(() => Gt(n.unit) > 0), D = H();
6395
6395
  return Ve({
6396
6396
  //使 input 获取焦点
6397
6397
  focus: () => {
@@ -6432,7 +6432,7 @@ function hu(e, t, l) {
6432
6432
  };
6433
6433
  if (r.slots.append)
6434
6434
  y.append = r.slots.append;
6435
- else if (V.value) {
6435
+ else if (A.value) {
6436
6436
  const B = {
6437
6437
  class: g.value
6438
6438
  }, X = z("div", B, [n.unit]);
@@ -6642,13 +6642,13 @@ function $u(e, t, l) {
6642
6642
  }
6643
6643
  },
6644
6644
  n.prop ?? r.attrs.name
6645
- ), { toLocaleRefs: i } = ze(t), u = i(n, ["placeholder"]), c = H(null), f = H([]), m = (N, K, h, A = !0) => {
6645
+ ), { toLocaleRefs: i } = ze(t), u = i(n, ["placeholder"]), c = H(null), f = H([]), m = (N, K, h, V = !0) => {
6646
6646
  if (n.props && n.props.lazy === !0 || n.lazy === !0) {
6647
6647
  if (c.value === N)
6648
6648
  return;
6649
6649
  c.value = N;
6650
6650
  const U = be(N);
6651
- if (A) {
6651
+ if (V) {
6652
6652
  const T = C?.value.getCheckedNodes();
6653
6653
  if (T)
6654
6654
  if (n.multiple) {
@@ -6668,7 +6668,7 @@ function $u(e, t, l) {
6668
6668
  if (M === null) {
6669
6669
  if (f.value.length === 0 || f.value === null)
6670
6670
  return;
6671
- f.value = [], c.value = null, A && (o("update:pathNodes", []), o("update:modelValue", null), o("change", null));
6671
+ f.value = [], c.value = null, V && (o("update:pathNodes", []), o("update:modelValue", null), o("change", null));
6672
6672
  return;
6673
6673
  }
6674
6674
  let j = !0;
@@ -6704,7 +6704,7 @@ function $u(e, t, l) {
6704
6704
  U.push(rt(n, L)), n.valueType === "text" ? T.push(yt(n, L)) : n.valueType === "item" ? T.push(L) : T.push(rt(n, L));
6705
6705
  }), c.value = U;
6706
6706
  const Y = be(T);
6707
- A && (o("update:pathNodes", M), o("update:modelValue", Y), o("change", Y));
6707
+ V && (o("update:pathNodes", M), o("update:modelValue", Y), o("change", Y));
6708
6708
  }
6709
6709
  }, w = H([]), g = Fe(
6710
6710
  b(() => n.lazyLoad),
@@ -6749,8 +6749,8 @@ function $u(e, t, l) {
6749
6749
  q.value = !1;
6750
6750
  }
6751
6751
  });
6752
- const E = H(!1), V = e, D = b(() => ({
6753
- [V]: !0
6752
+ const E = H(!1), A = e, D = b(() => ({
6753
+ [A]: !0
6754
6754
  })), I = b(() => {
6755
6755
  let N = {
6756
6756
  label: n.textKey,
@@ -6758,8 +6758,8 @@ function $u(e, t, l) {
6758
6758
  children: n.childrenKey
6759
6759
  };
6760
6760
  return n.multiple === !0 && (N.multiple = !0), n.props && Object.assign(N, n.props), n.lazy && (N.lazy = !0, N.lazyLoad = async (K, h) => {
6761
- const A = await p.load("cascader", n.source, K, !0);
6762
- h(A);
6761
+ const V = await p.load("cascader", n.source, K, !0);
6762
+ h(V);
6763
6763
  }), N;
6764
6764
  }), P = (N) => {
6765
6765
  n.allowCreate ? (o("update:modelValue", N), o("change", N), c.value = N) : m(N, "value", w.value, !0);
@@ -6816,10 +6816,10 @@ function $u(e, t, l) {
6816
6816
  typeof R == "function" && (K["remote-method"] = R, K.loading = q.value);
6817
6817
  const h = {};
6818
6818
  r.slots.option && (h.default = r.slots.option), r.slots.empty && (h.empty = r.slots.empty);
6819
- const A = [], M = z(Vl, K, h);
6820
- A.push(M);
6819
+ const V = [], M = z(Vl, K, h);
6820
+ V.push(M);
6821
6821
  const j = {
6822
- default: () => A
6822
+ default: () => V
6823
6823
  };
6824
6824
  r.slots.default && (j.label = r.slots.default), r.slots.fixedTip && (j.fixedTip = r.slots.fixedTip);
6825
6825
  const T = {
@@ -6876,21 +6876,21 @@ function Nu(e, t, l) {
6876
6876
  n.prop ?? r.attrs.name
6877
6877
  ), { toLocaleRefs: i } = ze(t), u = i(n, ["placeholder"]), c = H(!1), f = ue(n, "modelValue"), m = e, w = b(() => ({
6878
6878
  [m]: !0
6879
- })), g = (V) => {
6880
- f.value = V, o("update:modelValue", V), o("input", V);
6881
- }, p = (V) => {
6882
- o("change", V);
6879
+ })), g = (A) => {
6880
+ f.value = A, o("update:modelValue", A), o("input", A);
6881
+ }, p = (A) => {
6882
+ o("change", A);
6883
6883
  };
6884
6884
  let v = ue(n, "hintText"), d = H(!1);
6885
- const S = (V) => {
6886
- let I = V.target.value;
6887
- c.value = !0, xe(v.value) || (d.value = !0), o("focus", I, V);
6888
- }, R = (V) => {
6885
+ const S = (A) => {
6886
+ let I = A.target.value;
6887
+ c.value = !0, xe(v.value) || (d.value = !0), o("focus", I, A);
6888
+ }, R = (A) => {
6889
6889
  setTimeout(() => {
6890
6890
  d.value && (d.value = !1), c.value = !1;
6891
6891
  }, 0);
6892
- let I = V.target.value;
6893
- n.maxLength && I.length > Number(n.maxLength) && (I = I.slice(0, Number(n.maxLength))), o("blur", I, V);
6892
+ let I = A.target.value;
6893
+ n.maxLength && I.length > Number(n.maxLength) && (I = I.slice(0, Number(n.maxLength))), o("blur", I, A);
6894
6894
  }, q = () => {
6895
6895
  o("clear", "");
6896
6896
  }, E = H();
@@ -7302,21 +7302,21 @@ const Xu = /* @__PURE__ */ Ke(Ku, [["render", Uu]]), { componentName: zd, create
7302
7302
  let n = [];
7303
7303
  const r = H([]), a = b(() => r.value.filter((C) => C.label === "" || C.type ? !1 : C.fixed === "" || C.fixed === !0 || C.fixed === "left")), s = b(() => r.value.filter((C) => C.label === "" || C.type ? !1 : C.fixed === "right")), o = b(() => r.value.filter((C) => !(C.label === "" || C.type || C.fixed !== void 0))), i = b(() => (a.value.length > 0 || s.value.length > 0) && o.value.length > 0), u = b(() => a.value.length > 0), c = b(() => s.value.length > 0), f = (C) => C.length > 1, m = (C) => {
7304
7304
  const N = [];
7305
- r.value = C.map((h, A) => (!(h.label === "" || h.type) && h.visible !== !1 && N.push(h.prop), { ...h, sortIndex: A })), o.value.length + a.value.length + s.value.length === N.length ? S.value = !0 : N.length > 0 && (R.value = !0), V.value = N;
7305
+ r.value = C.map((h, V) => (!(h.label === "" || h.type) && h.visible !== !1 && N.push(h.prop), { ...h, sortIndex: V })), o.value.length + a.value.length + s.value.length === N.length ? S.value = !0 : N.length > 0 && (R.value = !0), A.value = N;
7306
7306
  }, w = (C) => C ? C.type ? C.type : C.label ? C.prop : "" : "", g = (C, N) => {
7307
7307
  if (C.length !== N.length)
7308
7308
  return !1;
7309
7309
  const K = C.map((h) => w(h));
7310
7310
  for (let h of N) {
7311
- const A = w(h);
7312
- if (K.indexOf(A) === -1)
7311
+ const V = w(h);
7312
+ if (K.indexOf(V) === -1)
7313
7313
  return !1;
7314
7314
  }
7315
7315
  return !0;
7316
7316
  }, p = (C) => {
7317
7317
  if (!C) {
7318
7318
  const N = e.tableRef.getColumnSetting(), K = N.srcColumnPropertyList;
7319
- n = K.map((h, A) => ({ ...h, sortIndex: A })), C = N.columnPropertyList, C && C.length > 0 && g(K, C) || (C = K);
7319
+ n = K.map((h, V) => ({ ...h, sortIndex: V })), C = N.columnPropertyList, C && C.length > 0 && g(K, C) || (C = K);
7320
7320
  }
7321
7321
  m(C);
7322
7322
  }, v = () => {
@@ -7325,10 +7325,10 @@ const Xu = /* @__PURE__ */ Ke(Ku, [["render", Uu]]), { componentName: zd, create
7325
7325
  const N = [];
7326
7326
  r.value.forEach((h) => {
7327
7327
  C && !(h.label === "" || h.type) && N.push(h.prop), h.visible = C;
7328
- }), S.value = !1, R.value = !1, o.value.length + a.value.length + s.value.length === N.length ? S.value = !0 : N.length > 0 && (R.value = !0), V.value = N, v();
7328
+ }), S.value = !1, R.value = !1, o.value.length + a.value.length + s.value.length === N.length ? S.value = !0 : N.length > 0 && (R.value = !0), A.value = N, v();
7329
7329
  }, E = () => {
7330
7330
  p(n), v();
7331
- }, V = H([]), D = (C) => {
7331
+ }, A = H([]), D = (C) => {
7332
7332
  r.value.forEach((K) => {
7333
7333
  if (K.label === "" || K.type)
7334
7334
  return;
@@ -7363,7 +7363,7 @@ const Xu = /* @__PURE__ */ Ke(Ku, [["render", Uu]]), { componentName: zd, create
7363
7363
  isIndeterminate: R,
7364
7364
  handleCheckAllChange: q,
7365
7365
  handleReset: E,
7366
- checkedValue: V,
7366
+ checkedValue: A,
7367
7367
  handleCheckChange: D,
7368
7368
  onShow: I,
7369
7369
  onDragStart: (C) => {
@@ -7394,14 +7394,14 @@ const Xu = /* @__PURE__ */ Ke(Ku, [["render", Uu]]), { componentName: zd, create
7394
7394
  if (P.roleType !== h)
7395
7395
  return;
7396
7396
  C.preventDefault();
7397
- const A = Number(P.index), M = Number(K.dataset.index);
7398
- if (A !== M) {
7399
- if (A < M) {
7400
- const j = r.value[A];
7401
- r.value.splice(A, 1), r.value.splice(M, 0, j);
7397
+ const V = Number(P.index), M = Number(K.dataset.index);
7398
+ if (V !== M) {
7399
+ if (V < M) {
7400
+ const j = r.value[V];
7401
+ r.value.splice(V, 1), r.value.splice(M, 0, j);
7402
7402
  } else {
7403
- const j = r.value[A];
7404
- r.value.splice(A, 1), r.value.splice(M + 1, 0, j);
7403
+ const j = r.value[V];
7404
+ r.value.splice(V, 1), r.value.splice(M + 1, 0, j);
7405
7405
  }
7406
7406
  m(r.value), v();
7407
7407
  }
@@ -8041,7 +8041,7 @@ function $c(e, t, l) {
8041
8041
  g.value = k, s("page-size-change", k);
8042
8042
  }, v = xl({}), d = b(() => ({ ...v.value, ...n.params ?? {}, ...n.baseParams ?? {} })), S = H(0), R = H(), q = yc();
8043
8043
  let E = !0;
8044
- const V = () => Array.isArray(n.data) || typeof n.data == "function" ? !0 : ae(n.autoLoad), D = Fe(
8044
+ const A = () => Array.isArray(n.data) || typeof n.data == "function" ? !0 : ae(n.autoLoad), D = Fe(
8045
8045
  b(() => n.lazyLoad),
8046
8046
  "lazyLoad",
8047
8047
  He.Near,
@@ -8062,7 +8062,7 @@ function $c(e, t, l) {
8062
8062
  }), ce(
8063
8063
  [() => n.data, d],
8064
8064
  ([k, G], [Z, ee]) => {
8065
- V() && (k !== Z && (E = !0), !(!Array.isArray(k) && ot(k, Z) && ot(G, ee)) && I(k, m.value, g.value, G));
8065
+ A() && (k !== Z && (E = !0), !(!Array.isArray(k) && ot(k, Z) && ot(G, ee)) && I(k, m.value, g.value, G));
8066
8066
  },
8067
8067
  { deep: !0 }
8068
8068
  );
@@ -8077,7 +8077,7 @@ function $c(e, t, l) {
8077
8077
  const W = () => {
8078
8078
  _ || (_ = !0, P());
8079
8079
  };
8080
- V() && !D.value && P();
8080
+ A() && !D.value && P();
8081
8081
  const y = H(null);
8082
8082
  _e(xc, {
8083
8083
  currentRow: y
@@ -8103,7 +8103,7 @@ function $c(e, t, l) {
8103
8103
  const h = () => ({
8104
8104
  srcColumnPropertyList: K.map((G) => ({ ...G })),
8105
8105
  columnPropertyList: N.value
8106
- }), A = (k) => {
8106
+ }), V = (k) => {
8107
8107
  N.value = [...k], j();
8108
8108
  }, M = async () => {
8109
8109
  const k = await C.load(X);
@@ -8234,7 +8234,7 @@ function $c(e, t, l) {
8234
8234
  // 获取列属性配置
8235
8235
  getColumnSetting: h,
8236
8236
  // 设置列属性配置
8237
- setColumnSetting: A,
8237
+ setColumnSetting: V,
8238
8238
  // 移除列属性配置
8239
8239
  removeColumnSetting: U
8240
8240
  }), () => {
@@ -8273,7 +8273,7 @@ function $c(e, t, l) {
8273
8273
  ne && wt.push(ne);
8274
8274
  const Sr = z(Dt, { class: u.value }, { default: () => z(no) }), Tr = To(n, rn), Cr = z(
8275
8275
  xr,
8276
- { ...Tr, tableRef: { getColumnSetting: h, setColumnSetting: A, removeColumnSetting: U } },
8276
+ { ...Tr, tableRef: { getColumnSetting: h, setColumnSetting: V, removeColumnSetting: U } },
8277
8277
  { default: () => Sr }
8278
8278
  );
8279
8279
  wt.push(Cr);
@@ -8284,7 +8284,7 @@ function $c(e, t, l) {
8284
8284
  const we = {
8285
8285
  default: () => ee
8286
8286
  }, xt = { ...De(n, dl, hl, rn), prop: `${n.prop}_item` };
8287
- return xt.contentClass = `${o}__wrap`, xt.errorMarkClass = "is-table-error", D.value && V() && (xt["appear-listen"] = !0, xt.onAppear = W), z(l, xt, we);
8287
+ return xt.contentClass = `${o}__wrap`, xt.errorMarkClass = "is-table-error", D.value && A() && (xt["appear-listen"] = !0, xt.onAppear = W), z(l, xt, we);
8288
8288
  };
8289
8289
  }
8290
8290
  };
@@ -8527,7 +8527,7 @@ function Pc(e, t, l) {
8527
8527
  c(D, "value", f.value, !0);
8528
8528
  };
8529
8529
  let q = ue(n, "hintText"), E = ue(n, "hintVisible");
8530
- const V = (D, I) => {
8530
+ const A = (D, I) => {
8531
8531
  const P = [];
8532
8532
  return D.forEach((O, _) => {
8533
8533
  const W = kt(n, O), y = vt(n, O);
@@ -8554,7 +8554,7 @@ function Pc(e, t, l) {
8554
8554
  fill: n.fill,
8555
8555
  onChange: R
8556
8556
  }, P = [], O = {};
8557
- r.slots.options ? O.default = r.slots.options : O.default = () => V(f.value, r.slots.text);
8557
+ r.slots.options ? O.default = r.slots.options : O.default = () => A(f.value, r.slots.text);
8558
8558
  const _ = z(Ol, I, O);
8559
8559
  P.push(_);
8560
8560
  const W = {
@@ -8835,7 +8835,7 @@ function zc(e, t, l) {
8835
8835
  c(D, "value", f.value, !0);
8836
8836
  };
8837
8837
  let q = ue(n, "hintText"), E = ue(n, "hintVisible");
8838
- const V = (D, I) => {
8838
+ const A = (D, I) => {
8839
8839
  const P = [];
8840
8840
  return D.forEach((O, _) => {
8841
8841
  const W = gt(n, O), y = bt(n, O);
@@ -8865,7 +8865,7 @@ function zc(e, t, l) {
8865
8865
  min: me(n.min),
8866
8866
  onChange: R
8867
8867
  }, P = [], O = {};
8868
- r.slots.options ? O.default = r.slots.options : O.default = () => V(f.value, r.slots.text);
8868
+ r.slots.options ? O.default = r.slots.options : O.default = () => A(f.value, r.slots.text);
8869
8869
  const _ = z(wn, I, O);
8870
8870
  P.push(_);
8871
8871
  const W = {
@@ -8935,13 +8935,13 @@ function Uc(e, t, l) {
8935
8935
  default: () => S
8936
8936
  };
8937
8937
  r.slots.default && (q.label = r.slots.default), r.slots.fixedTip && (q.fixedTip = r.slots.fixedTip);
8938
- const V = {
8938
+ const A = {
8939
8939
  ...De(n, ml),
8940
8940
  hintText: m.value,
8941
8941
  hintVisible: w.value,
8942
8942
  prop: `${n.prop}_item`
8943
8943
  };
8944
- return z(l, V, q);
8944
+ return z(l, A, q);
8945
8945
  };
8946
8946
  }
8947
8947
  };
@@ -8999,13 +8999,13 @@ function ef(e, t, l) {
8999
8999
  default: () => S
9000
9000
  };
9001
9001
  r.slots.default && (q.label = r.slots.default), r.slots.fixedTip && (q.fixedTip = r.slots.fixedTip);
9002
- const V = {
9002
+ const A = {
9003
9003
  ...De(n, yl),
9004
9004
  hintText: m.value,
9005
9005
  hintVisible: w.value,
9006
9006
  prop: `${n.prop}_item`
9007
9007
  };
9008
- return z(l, V, q);
9008
+ return z(l, A, q);
9009
9009
  };
9010
9010
  }
9011
9011
  };
@@ -9071,7 +9071,7 @@ function af(e, t, l) {
9071
9071
  q?.value.blur();
9072
9072
  }
9073
9073
  }), () => {
9074
- const V = {
9074
+ const A = {
9075
9075
  ...r.attrs,
9076
9076
  ref: q,
9077
9077
  class: f.value,
@@ -9084,7 +9084,7 @@ function af(e, t, l) {
9084
9084
  onVisibleChange: R
9085
9085
  }, D = {};
9086
9086
  r.slots.option && (D.default = r.slots.option);
9087
- const I = [], P = z(zl, V, D);
9087
+ const I = [], P = z(zl, A, D);
9088
9088
  I.push(P);
9089
9089
  const O = {
9090
9090
  default: () => I
@@ -9520,12 +9520,12 @@ const { componentName: Vf, create: Af, scope: If } = le("more-button"), kf = (e,
9520
9520
  showPopup: !1,
9521
9521
  active: 0
9522
9522
  }), r = H({}), a = b(() => `${l}`), s = b(() => {
9523
- const { offset: g, maskWidth: p, maskHeight: v } = e, { width: d, height: S, left: R, top: q } = r.value, E = e.steps[n.active].offset ?? g, V = [R + d / 2, q + S / 2], D = Number(p || d), I = Number(v || S);
9523
+ const { offset: g, maskWidth: p, maskHeight: v } = e, { width: d, height: S, left: R, top: q } = r.value, E = e.steps[n.active].offset ?? g, A = [R + d / 2, q + S / 2], D = Number(p || d), I = Number(v || S);
9524
9524
  return {
9525
9525
  width: `${D + +E.left + E.right}px`,
9526
9526
  height: `${I + E.top + E.bottom}px`,
9527
- top: `${V[1] - I / 2 - +E.top}px`,
9528
- left: `${V[0] - D / 2 - +E.left}px`
9527
+ top: `${A[1] - I / 2 - +E.top}px`,
9528
+ left: `${A[0] - D / 2 - +E.left}px`
9529
9529
  };
9530
9530
  }), o = (g) => {
9531
9531
  g == "next" ? n.active = n.active + 1 : n.active = n.active - 1, n.showPopup = !1, Nt(() => {