@vtj/ui 0.9.25 → 0.9.27

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.mjs CHANGED
@@ -1,18 +1,18 @@
1
- import { getCurrentInstance as Ge, inject as pt, defineComponent as G, useAttrs as It, computed as P, markRaw as en, openBlock as v, createBlock as k, unref as u, normalizeClass as ge, normalizeStyle as et, withCtx as b, renderSlot as N, resolveDynamicComponent as Ee, createCommentVNode as $, createElementBlock as F, mergeProps as q, createElementVNode as Z, toDisplayString as te, Fragment as de, renderList as he, isVNode as ai, h as ae, shallowRef as bn, ref as L, watch as re, onMounted as Ye, onUnmounted as ot, useSlots as Do, toRef as Dt, createTextVNode as W, toRaw as Je, createVNode as I, normalizeProps as $t, guardReactiveProps as At, effectScope as ta, reactive as Bt, watchEffect as zo, nextTick as Pe, Teleport as na, withDirectives as xe, createSlots as He, render as Zo, vShow as Oe, withModifiers as Ve, KeepAlive as ii, provide as zt, isRef as Ne, toValue as li, toHandlers as Ke, withKeys as Vt, mergeModels as wn, useModel as Mo, onUpdated as si, onActivated as ui } from "vue";
2
- import { ElMessage as Qe, ElMessageBox as mt, ElNotification as Po, ElIcon as Ut, ElSubMenu as ci, ElBadge as vo, ElMenuItem as di, ElMenu as fi, ElButton as je, ElDropdown as pi, ElDropdownMenu as mi, ElDropdownItem as gi, ElTooltip as oa, ElDivider as Be, ElSwitch as ra, ElInput as Re, ElEmpty as Io, ElTabs as aa, ElTabPane as yo, ElPopover as ia, ElAvatar as hi, ElSelect as $o, ElOption as Ao, ElCheckboxButton as vi, ElCheckbox as yi, ElCheckboxGroup as bi, ElRadioButton as wi, ElRadio as _i, ElRadioGroup as Ci, ElDatePicker as _n, ElImage as bo, ElLink as wo, ElTag as er, ElText as tr, ElInputNumber as Bo, ElPagination as la, ElTimePicker as Si, ElRate as xi, ElSlider as Ei, ElCascader as ki, formContextKey as Ti, ElFormItem as Di, ElForm as zi, ElInfiniteScroll as nr, ElDescriptions as or, ElDescriptionsItem as An, ElUpload as sa, vLoading as Mi, ElImageViewer as Pi } from "element-plus";
1
+ import { getCurrentInstance as Ge, inject as pt, defineComponent as G, useAttrs as It, computed as P, markRaw as en, createBlock as k, openBlock as v, unref as u, normalizeStyle as et, normalizeClass as ge, withCtx as b, renderSlot as N, createCommentVNode as $, createElementBlock as F, resolveDynamicComponent as Ee, mergeProps as q, Fragment as de, renderList as he, createElementVNode as Z, toDisplayString as te, h as ae, isVNode as ai, shallowRef as bn, ref as L, watch as re, onMounted as Ye, onUnmounted as ot, useSlots as Do, toRef as Dt, createTextVNode as W, toRaw as Je, createVNode as I, normalizeProps as $t, guardReactiveProps as At, effectScope as ta, reactive as Bt, watchEffect as zo, nextTick as Pe, Teleport as na, withDirectives as xe, createSlots as He, render as Zo, vShow as Oe, withModifiers as Ve, KeepAlive as ii, provide as zt, isRef as Ne, toValue as li, toHandlers as Ke, withKeys as Vt, mergeModels as wn, useModel as Mo, onUpdated as si, onActivated as ui } from "vue";
2
+ import { ElMessage as Qe, ElMessageBox as mt, ElNotification as Po, ElIcon as Ut, ElSubMenu as ci, ElBadge as vo, ElMenuItem as di, ElMenu as fi, ElButton as je, ElDropdown as pi, ElDropdownMenu as mi, ElDropdownItem as gi, ElTooltip as oa, ElDivider as Be, ElSwitch as ra, ElInput as Re, ElEmpty as Io, ElTabs as aa, ElTabPane as yo, ElPopover as ia, ElAvatar as hi, ElSelect as $o, ElOption as Ao, ElCheckboxButton as vi, ElCheckbox as yi, ElCheckboxGroup as bi, ElRadioButton as wi, ElRadio as _i, ElRadioGroup as Ci, ElDatePicker as _n, ElImage as bo, ElLink as wo, ElTag as er, ElText as tr, ElInputNumber as Bo, ElPagination as la, ElCascader as Si, ElSlider as xi, ElRate as Ei, ElTimePicker as ki, formContextKey as Ti, ElFormItem as Di, ElForm as zi, ElInfiniteScroll as nr, ElDescriptions as or, ElDescriptionsItem as An, ElUpload as sa, vLoading as Mi, ElImageViewer as Pi } from "element-plus";
3
3
  import { storage as rr, rAF as Ii, cAF as $i, isEqual as Dn, isObject as Vo, uid as ua, arrayToMap as Ai, isUrl as Bi, delay as Ro, upperFirstCamelCase as ca, isString as Vi, isFunction as _o, camelCase as da, merge as fa, kebabCase as Ri, toFixed as ar, cloneDeep as Co, toArray as Fo, dedupArray as pa, get as fn, set as Bn, numberFormat as Fi, downloadRemoteFile as Oi, downloadUrl as Ni } from "@vtj/utils";
4
- import { ArrowRight as ji, Minimize as Li, Popup as Hi, Maximize as Ui, RawClose as Xi, StarFilled as ma, Menu as qi, Search as So, Close as ga, Expand as Gi, Fold as Yi, Star as ha, Document as yt, Refresh as va, CopyDocument as Ki, Sunny as Wi, Moon as Ji, MoreFilled as ya, UserFilled as Qi, HomeFilled as Zi, Plus as ba, Minus as el, EditPen as wa, CaretBottom as tl, CaretTop as nl, VtjIconDatabase as ol, VtjIconNpSearch as rl, VtjIconNpReturn as al, VtjIconCheck as il, WarningFilled as ll, SuccessFilled as sl, CircleCloseFilled as ul, ZoomIn as cl, Download as dl, Delete as fl } from "@vtj/icons";
4
+ import { ArrowRight as ji, Minimize as Li, Popup as Hi, Maximize as Ui, RawClose as Xi, Menu as qi, StarFilled as ma, Search as So, Close as ga, Expand as Gi, Fold as Yi, Star as ha, Document as yt, Refresh as va, CopyDocument as Ki, Sunny as Wi, Moon as Ji, MoreFilled as ya, UserFilled as Qi, HomeFilled as Zi, Plus as ba, Minus as el, EditPen as wa, CaretBottom as tl, CaretTop as nl, VtjIconDatabase as ol, VtjIconNpSearch as rl, VtjIconNpReturn as al, VtjIconCheck as il, WarningFilled as ll, SuccessFilled as sl, CircleCloseFilled as ul, ZoomIn as cl, Download as dl, Delete as fl } from "@vtj/icons";
5
5
  import { useDraggable as pl, useMouseInElement as ml, useEventListener as Cn, useElementSize as _a, useDark as Ca, useVirtualList as gl } from "@vueuse/core";
6
6
  import { useRouter as Oo, RouterView as hl, useRoute as Sa, routeLocationKey as vl } from "vue-router";
7
- import { VXETable as jt, VxeGrid as ir, VxeTableFilterModule as yl, VxeTableEditModule as bl, VxeTableMenuModule as wl, VxeTableExportModule as _l, VxeTableKeyboardModule as Cl, VxeTableValidatorModule as Sl, VxeTableCustomModule as xl, VxeTooltip as El, VxeToolbar as kl, VxeModal as Tl } from "vxe-table";
7
+ import { VXETable as jt, VxeTableFilterModule as yl, VxeTableEditModule as bl, VxeTableMenuModule as wl, VxeTableExportModule as _l, VxeTableKeyboardModule as Cl, VxeTableValidatorModule as Sl, VxeTableCustomModule as xl, VxeGrid as ir, VxeTooltip as El, VxeToolbar as kl, VxeModal as Tl } from "vxe-table";
8
8
  /**!
9
9
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
10
10
  * @name @vtj/ui
11
11
  * @author CHC chenhuachun1549@dingtalk.com
12
- * @version 0.9.25
12
+ * @version 0.9.27
13
13
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
14
14
  */
15
- const t2 = "0.9.25", Dl = {
15
+ const t2 = "0.9.27", Dl = {
16
16
  default: 14,
17
17
  small: 12,
18
18
  large: 18
@@ -72,7 +72,7 @@ const Ml = {
72
72
  }, n2 = {
73
73
  install(o, t = {}) {
74
74
  const n = Object.assign(Ml, t), { components: e = [], fieldEditors: r = {} } = n;
75
- p0(r);
75
+ pu(r);
76
76
  for (const a of e)
77
77
  a.name && o.component(a.name, a);
78
78
  [Qe, mt, Po].forEach((a) => {
@@ -3676,7 +3676,7 @@ K.prototype = /** @lends Sortable.prototype */
3676
3676
  _onTapStart: function(t) {
3677
3677
  if (t.cancelable) {
3678
3678
  var n = this, e = this.el, r = this.options, a = r.preventOnFilter, l = t.type, i = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (i || t).target, c = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, d = r.filter;
3679
- if (lu(e), !B && !(/mousedown|pointerdown/.test(l) && t.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && Yt && s && s.tagName.toUpperCase() === "SELECT") && (s = Ae(s, r.draggable, e, !1), !(s && s.animated) && gn !== s)) {
3679
+ if (l0(e), !B && !(/mousedown|pointerdown/.test(l) && t.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && Yt && s && s.tagName.toUpperCase() === "SELECT") && (s = Ae(s, r.draggable, e, !1), !(s && s.animated) && gn !== s)) {
3680
3680
  if (Et = Ie(s), Wt = Ie(s, r.draggable), typeof d == "function") {
3681
3681
  if (d.call(this, t, s, this)) {
3682
3682
  Se({
@@ -3900,12 +3900,12 @@ K.prototype = /** @lends Sortable.prototype */
3900
3900
  if (l)
3901
3901
  return fe = se, C(), this._hideClone(), y("revert"), K.eventCanceled || (dt ? se.insertBefore(B, dt) : se.appendChild(B)), S(!0);
3902
3902
  var _ = Go(n, i.draggable);
3903
- if (!_ || ou(t, g, this) && !_.animated) {
3903
+ if (!_ || o0(t, g, this) && !_.animated) {
3904
3904
  if (_ === B)
3905
3905
  return S(!1);
3906
3906
  if (_ && n === t.target && (e = _), e && (a = me(e)), cn(se, n, B, r, e, a, t, !!e) !== !1)
3907
3907
  return C(), _ && _.nextSibling ? n.insertBefore(B, _.nextSibling) : n.appendChild(B), fe = n, x(), S(!0);
3908
- } else if (_ && nu(t, g, this)) {
3908
+ } else if (_ && n0(t, g, this)) {
3909
3909
  var M = Pt(n, 0, i, !0);
3910
3910
  if (M === B)
3911
3911
  return S(!1);
@@ -3914,7 +3914,7 @@ K.prototype = /** @lends Sortable.prototype */
3914
3914
  } else if (e.parentNode === n) {
3915
3915
  a = me(e);
3916
3916
  var E = 0, w, A = B.parentNode !== n, z = !Js(B.animated && B.toRect || r, e.animated && e.toRect || a, g), H = g ? "top" : "left", O = vr(e, "top", "top") || vr(B, "top", "top"), R = O ? O.scrollTop : void 0;
3917
- Ct !== e && (w = a[H], Qt = !1, sn = !z && i.invertSwap || A), E = ru(t, e, a, g, z ? 1 : i.swapThreshold, i.invertedSwapThreshold == null ? i.swapThreshold : i.invertedSwapThreshold, sn, Ct === e);
3917
+ Ct !== e && (w = a[H], Qt = !1, sn = !z && i.invertSwap || A), E = r0(t, e, a, g, z ? 1 : i.swapThreshold, i.invertedSwapThreshold == null ? i.swapThreshold : i.invertedSwapThreshold, sn, Ct === e);
3918
3918
  var V;
3919
3919
  if (E !== 0) {
3920
3920
  var X = Ie(B);
@@ -3929,7 +3929,7 @@ K.prototype = /** @lends Sortable.prototype */
3929
3929
  U = E === 1;
3930
3930
  var D = cn(se, n, B, r, e, a, t, U);
3931
3931
  if (D !== !1)
3932
- return (D === 1 || D === -1) && (U = D === 1), xo = !0, setTimeout(tu, 30), C(), U && !ue ? n.appendChild(B) : e.parentNode.insertBefore(B, U ? ue : e), O && Va(O, 0, R - O.scrollTop), fe = B.parentNode, w !== void 0 && !sn && (hn = Math.abs(w - me(e)[H])), x(), S(!0);
3932
+ return (D === 1 || D === -1) && (U = D === 1), xo = !0, setTimeout(t0, 30), C(), U && !ue ? n.appendChild(B) : e.parentNode.insertBefore(B, U ? ue : e), O && Va(O, 0, R - O.scrollTop), fe = B.parentNode, w !== void 0 && !sn && (hn = Math.abs(w - me(e)[H])), x(), S(!0);
3933
3933
  }
3934
3934
  if (n.contains(B))
3935
3935
  return S(!1);
@@ -4011,7 +4011,7 @@ K.prototype = /** @lends Sortable.prototype */
4011
4011
  break;
4012
4012
  case "dragenter":
4013
4013
  case "dragover":
4014
- B && (this._onDragOver(t), eu(t));
4014
+ B && (this._onDragOver(t), e0(t));
4015
4015
  break;
4016
4016
  case "selectstart":
4017
4017
  t.preventDefault();
@@ -4024,7 +4024,7 @@ K.prototype = /** @lends Sortable.prototype */
4024
4024
  */
4025
4025
  toArray: function() {
4026
4026
  for (var t = [], n, e = this.el.children, r = 0, a = e.length, l = this.options; r < a; r++)
4027
- n = e[r], Ae(n, l.draggable, this.el, !1) && t.push(n.getAttribute(l.dataIdAttr) || iu(n));
4027
+ n = e[r], Ae(n, l.draggable, this.el, !1) && t.push(n.getAttribute(l.dataIdAttr) || i0(n));
4028
4028
  return t;
4029
4029
  },
4030
4030
  /**
@@ -4096,7 +4096,7 @@ K.prototype = /** @lends Sortable.prototype */
4096
4096
  }
4097
4097
  }
4098
4098
  };
4099
- function eu(o) {
4099
+ function e0(o) {
4100
4100
  o.dataTransfer && (o.dataTransfer.dropEffect = "move"), o.cancelable && o.preventDefault();
4101
4101
  }
4102
4102
  function cn(o, t, n, e, r, a, l, i) {
@@ -4109,18 +4109,18 @@ function cn(o, t, n, e, r, a, l, i) {
4109
4109
  function Ln(o) {
4110
4110
  o.draggable = !1;
4111
4111
  }
4112
- function tu() {
4112
+ function t0() {
4113
4113
  xo = !1;
4114
4114
  }
4115
- function nu(o, t, n) {
4115
+ function n0(o, t, n) {
4116
4116
  var e = me(Pt(n.el, 0, n.options, !0)), r = Fa(n.el, n.options, J), a = 10;
4117
4117
  return t ? o.clientX < r.left - a || o.clientY < e.top && o.clientX < e.right : o.clientY < r.top - a || o.clientY < e.bottom && o.clientX < e.left;
4118
4118
  }
4119
- function ou(o, t, n) {
4119
+ function o0(o, t, n) {
4120
4120
  var e = me(Go(n.el, n.options.draggable)), r = Fa(n.el, n.options, J), a = 10;
4121
4121
  return t ? o.clientX > r.right + a || o.clientY > e.bottom && o.clientX > e.left : o.clientY > r.bottom + a || o.clientX > e.right && o.clientY > e.top;
4122
4122
  }
4123
- function ru(o, t, n, e, r, a, l, i) {
4123
+ function r0(o, t, n, e, r, a, l, i) {
4124
4124
  var s = e ? o.clientY : o.clientX, c = e ? n.height : n.width, d = e ? n.top : n.left, f = e ? n.bottom : n.right, m = !1;
4125
4125
  if (!l) {
4126
4126
  if (i && hn < c * r) {
@@ -4129,19 +4129,19 @@ function ru(o, t, n, e, r, a, l, i) {
4129
4129
  else if (Jt === 1 ? s < d + hn : s > f - hn)
4130
4130
  return -Jt;
4131
4131
  } else if (s > d + c * (1 - r) / 2 && s < f - c * (1 - r) / 2)
4132
- return au(t);
4132
+ return a0(t);
4133
4133
  }
4134
4134
  return m = m || l, m && (s < d + c * a / 2 || s > f - c * a / 2) ? s > d + c / 2 ? 1 : -1 : 0;
4135
4135
  }
4136
- function au(o) {
4136
+ function a0(o) {
4137
4137
  return Ie(B) < Ie(o) ? 1 : -1;
4138
4138
  }
4139
- function iu(o) {
4139
+ function i0(o) {
4140
4140
  for (var t = o.tagName + o.className + o.src + o.href + o.textContent, n = t.length, e = 0; n--; )
4141
4141
  e += t.charCodeAt(n);
4142
4142
  return e.toString(36);
4143
4143
  }
4144
- function lu(o) {
4144
+ function l0(o) {
4145
4145
  kn.length = 0;
4146
4146
  for (var t = o.getElementsByTagName("input"), n = t.length; n--; ) {
4147
4147
  var e = t[n];
@@ -4194,7 +4194,7 @@ K.create = function(o, t) {
4194
4194
  };
4195
4195
  K.version = js;
4196
4196
  var pe = [], qt, ko, To = !1, Hn, Un, Tn, Gt;
4197
- function su() {
4197
+ function s0() {
4198
4198
  function o() {
4199
4199
  this.defaults = {
4200
4200
  scroll: !0,
@@ -4319,7 +4319,7 @@ Ko.prototype = {
4319
4319
  nt(Ko, {
4320
4320
  pluginName: "removeOnSpill"
4321
4321
  });
4322
- K.mount(new su());
4322
+ K.mount(new s0());
4323
4323
  K.mount(Ko, Yo);
4324
4324
  function Xa(o, t = {}) {
4325
4325
  return new K(o, {
@@ -4329,7 +4329,7 @@ function Xa(o, t = {}) {
4329
4329
  ...t
4330
4330
  });
4331
4331
  }
4332
- function uu(o, t) {
4332
+ function u0(o, t) {
4333
4333
  return (n) => {
4334
4334
  const { getRowNode: e } = o, { newIndex: r = 0, oldIndex: a = 0 } = n, l = e(n.item), { items: i = [], item: s } = l || {};
4335
4335
  s && (i.splice(a, 1), i.splice(r, 0, s), o.reloadData(i)), t("rowSort", {
@@ -4340,14 +4340,14 @@ function uu(o, t) {
4340
4340
  });
4341
4341
  };
4342
4342
  }
4343
- function cu(o) {
4343
+ function c0(o) {
4344
4344
  const { getColumnNode: t } = o;
4345
4345
  return (n) => {
4346
4346
  const { dragged: e, related: r } = n, a = t(e), l = t(r);
4347
4347
  return a?.parent === l?.parent;
4348
4348
  };
4349
4349
  }
4350
- function du(o, t, n) {
4350
+ function d0(o, t, n) {
4351
4351
  const { getTableColumn: e, getColumnNode: r, getColumnIndex: a, loadColumn: l } = o, i = (s, c = 0) => s.filter((d) => d.visible)[c];
4352
4352
  return (s) => {
4353
4353
  const { item: c, newIndex: d = -1, oldIndex: f = -1 } = s, { collectColumn: m, fullColumn: g } = e(), p = r(c);
@@ -4369,7 +4369,7 @@ function du(o, t, n) {
4369
4369
  n && n(E), t("columnSort", E);
4370
4370
  };
4371
4371
  }
4372
- function fu(o) {
4372
+ function f0(o) {
4373
4373
  const t = {};
4374
4374
  return o.forEach((n, e) => {
4375
4375
  t[n] = e;
@@ -4378,8 +4378,8 @@ function fu(o) {
4378
4378
  function ft(o) {
4379
4379
  return o.field || o.type || "";
4380
4380
  }
4381
- function pu(o, t) {
4382
- const { resize: n = {}, visible: e = {}, sort: r = [], fixed: a = {} } = t, l = fu(r), i = (s) => {
4381
+ function p0(o, t) {
4382
+ const { resize: n = {}, visible: e = {}, sort: r = [], fixed: a = {} } = t, l = f0(r), i = (s) => {
4383
4383
  s.sort((c, d) => l[ft(c)] - l[ft(d)] || 0);
4384
4384
  for (let c of s) {
4385
4385
  const d = ft(c), f = n[d], m = e[d], g = a[d];
@@ -4405,7 +4405,7 @@ function qe(o, t) {
4405
4405
  column: e
4406
4406
  };
4407
4407
  }
4408
- const mu = {
4408
+ const m0 = {
4409
4409
  cellClassName: "x-grid__x-actions",
4410
4410
  renderDefault(o, t) {
4411
4411
  const { props: n } = qe(o, t);
@@ -4415,7 +4415,7 @@ const mu = {
4415
4415
  const { props: n } = qe(o, t);
4416
4416
  return [ae(Zt, { ...n })];
4417
4417
  }
4418
- }, gu = /* @__PURE__ */ G({
4418
+ }, g0 = /* @__PURE__ */ G({
4419
4419
  name: "DateEdit",
4420
4420
  __name: "DateEdit",
4421
4421
  props: {
@@ -4440,7 +4440,7 @@ const mu = {
4440
4440
  onChange: u(l)
4441
4441
  }, u(e), Ke(u(r))), null, 16, ["modelValue", "onChange"]));
4442
4442
  }
4443
- }), hu = { class: "x-grid__filter x-grid__DateFilter" }, vu = /* @__PURE__ */ G({
4443
+ }), h0 = { class: "x-grid__filter x-grid__DateFilter" }, v0 = /* @__PURE__ */ G({
4444
4444
  name: "DateFilter",
4445
4445
  __name: "DateFilter",
4446
4446
  props: {
@@ -4449,7 +4449,7 @@ const mu = {
4449
4449
  },
4450
4450
  setup(o) {
4451
4451
  const t = o, { renderProps: n, renderEvents: e, state: r, load: a, onChange: l, onKeyup: i } = Pn(t.renderOpts, t.params);
4452
- return a(), (s, c) => (v(), F("div", hu, [
4452
+ return a(), (s, c) => (v(), F("div", h0, [
4453
4453
  I(u(_n), q({
4454
4454
  size: "small",
4455
4455
  placeholder: "选择日期筛选",
@@ -4465,19 +4465,19 @@ const mu = {
4465
4465
  }), Sr = (o, t) => {
4466
4466
  const { row: n, column: e } = t;
4467
4467
  return [W(n[e.field] || "")];
4468
- }, yu = {
4468
+ }, y0 = {
4469
4469
  cellClassName: "x-grid__edit",
4470
4470
  autofocus: ".el-input__inner",
4471
4471
  renderEdit(o, t) {
4472
- return [ae(gu, { params: t, renderOpts: o })];
4472
+ return [ae(g0, { params: t, renderOpts: o })];
4473
4473
  },
4474
4474
  renderCell: Sr,
4475
4475
  renderDefault: Sr,
4476
4476
  ...Rt,
4477
4477
  renderFilter(o, t) {
4478
- return [ae(vu, { params: t, renderOpts: o })];
4478
+ return [ae(v0, { params: t, renderOpts: o })];
4479
4479
  }
4480
- }, bu = {
4480
+ }, b0 = {
4481
4481
  ...Ft,
4482
4482
  cellClassName: "x-grid__x-image",
4483
4483
  renderDefault(o, t) {
@@ -4500,7 +4500,7 @@ const mu = {
4500
4500
  })
4501
4501
  ];
4502
4502
  }
4503
- }, wu = {
4503
+ }, w0 = {
4504
4504
  ...Ft,
4505
4505
  cellClassName: "x-grid__x-link",
4506
4506
  renderDefault(o, t) {
@@ -4519,7 +4519,7 @@ const mu = {
4519
4519
  () => e
4520
4520
  )];
4521
4521
  }
4522
- }, _u = /* @__PURE__ */ G({
4522
+ }, _0 = /* @__PURE__ */ G({
4523
4523
  name: "SelectEdit",
4524
4524
  __name: "SelectEdit",
4525
4525
  props: {
@@ -4539,7 +4539,7 @@ const mu = {
4539
4539
  onChange: u(a)
4540
4540
  }, u(n), Ke(u(e))), null, 16, ["modelValue", "onChange"]));
4541
4541
  }
4542
- }), Cu = { class: "x-grid__filter" }, Su = /* @__PURE__ */ G({
4542
+ }), C0 = { class: "x-grid__filter" }, S0 = /* @__PURE__ */ G({
4543
4543
  name: "SelectFilter",
4544
4544
  __name: "SelectFilter",
4545
4545
  props: {
@@ -4548,7 +4548,7 @@ const mu = {
4548
4548
  },
4549
4549
  setup(o) {
4550
4550
  const t = o, { renderProps: n, renderEvents: e, state: r, load: a, onChange: l, onKeyup: i } = Pn(t.renderOpts, t.params);
4551
- return a(), (s, c) => (v(), F("div", Cu, [
4551
+ return a(), (s, c) => (v(), F("div", C0, [
4552
4552
  I(Uo, q({
4553
4553
  size: "small",
4554
4554
  placeholder: "选择筛选项",
@@ -4572,20 +4572,20 @@ function xr(o, t) {
4572
4572
  c = e.find((f) => f.value === s)?.label;
4573
4573
  return [W(c || s)];
4574
4574
  }
4575
- const xu = {
4575
+ const x0 = {
4576
4576
  ...Ft,
4577
4577
  cellClassName: "x-grid__edit",
4578
4578
  autofocus: ".el-select__input",
4579
4579
  renderEdit(o, t) {
4580
- return [ae(_u, { params: t, renderOpts: o })];
4580
+ return [ae(_0, { params: t, renderOpts: o })];
4581
4581
  },
4582
4582
  ...Rt,
4583
4583
  renderFilter(o, t) {
4584
- return [ae(Su, { params: t, renderOpts: o })];
4584
+ return [ae(S0, { params: t, renderOpts: o })];
4585
4585
  },
4586
4586
  renderDefault: xr,
4587
4587
  renderCell: xr
4588
- }, Eu = {
4588
+ }, E0 = {
4589
4589
  ...Ft,
4590
4590
  cellClassName: "x-grid__x-tag",
4591
4591
  renderDefault(o, t) {
@@ -4604,7 +4604,7 @@ const xu = {
4604
4604
  () => e
4605
4605
  )];
4606
4606
  }
4607
- }, ku = {
4607
+ }, k0 = {
4608
4608
  ...Ft,
4609
4609
  cellClassName: "x-grid__x-text",
4610
4610
  renderDefault(o, t) {
@@ -4615,7 +4615,7 @@ const xu = {
4615
4615
  const { props: n, cellValue: e } = qe(o, t);
4616
4616
  return [ae(tr, { ...n }, () => e)];
4617
4617
  }
4618
- }, Tu = /* @__PURE__ */ G({
4618
+ }, T0 = /* @__PURE__ */ G({
4619
4619
  name: "PickerEdit",
4620
4620
  __name: "PickerEdit",
4621
4621
  props: {
@@ -4642,11 +4642,11 @@ const xu = {
4642
4642
  }), Er = (o, t) => {
4643
4643
  const { row: n, column: e } = t;
4644
4644
  return [W(n[e.field] || "")];
4645
- }, Du = {
4645
+ }, D0 = {
4646
4646
  cellClassName: "x-grid__edit",
4647
4647
  autofocus: ".el-select__input",
4648
4648
  renderEdit(o, t) {
4649
- return [ae(Tu, { params: t, renderOpts: o })];
4649
+ return [ae(T0, { params: t, renderOpts: o })];
4650
4650
  },
4651
4651
  renderCell: Er,
4652
4652
  renderDefault: Er,
@@ -4654,7 +4654,7 @@ const xu = {
4654
4654
  renderFilter(o, t) {
4655
4655
  return [ae(Xo, { params: t, renderOpts: o })];
4656
4656
  }
4657
- }, zu = /* @__PURE__ */ G({
4657
+ }, z0 = /* @__PURE__ */ G({
4658
4658
  name: "NumberEdit",
4659
4659
  __name: "NumberEdit",
4660
4660
  props: {
@@ -4674,7 +4674,7 @@ const xu = {
4674
4674
  onInput: u(a)
4675
4675
  }, u(n), Ke(u(e))), null, 16, ["modelValue", "onInput"]));
4676
4676
  }
4677
- }), Mu = { class: "x-grid__filter" }, Pu = /* @__PURE__ */ G({
4677
+ }), M0 = { class: "x-grid__filter" }, P0 = /* @__PURE__ */ G({
4678
4678
  name: "NumberFilter",
4679
4679
  __name: "NumberFilter",
4680
4680
  props: {
@@ -4683,7 +4683,7 @@ const xu = {
4683
4683
  },
4684
4684
  setup(o) {
4685
4685
  const t = o, { renderProps: n, renderEvents: e, state: r, load: a, onChange: l, onKeyup: i } = Pn(t.renderOpts, t.params);
4686
- return a(), (s, c) => (v(), F("div", Mu, [
4686
+ return a(), (s, c) => (v(), F("div", M0, [
4687
4687
  I(u(Bo), q({
4688
4688
  size: "small",
4689
4689
  placeholder: "输入数量回车筛选",
@@ -4695,27 +4695,27 @@ const xu = {
4695
4695
  }, u(n), Ke(u(e))), null, 16, ["modelValue", "onInput", "onKeyup"])
4696
4696
  ]));
4697
4697
  }
4698
- }), Iu = {
4698
+ }), I0 = {
4699
4699
  autofocus: ".el-input__inner",
4700
4700
  renderDefault(o, t) {
4701
4701
  const { row: n, column: e } = t;
4702
4702
  return [W(n[e.field] ?? "")];
4703
4703
  },
4704
4704
  renderEdit(o, t) {
4705
- return [ae(zu, { params: t, renderOpts: o })];
4705
+ return [ae(z0, { params: t, renderOpts: o })];
4706
4706
  },
4707
4707
  renderCell(o, t) {
4708
4708
  const { row: n, column: e } = t;
4709
4709
  return [W(n[e.field] ?? "")];
4710
4710
  }
4711
- }, $u = {
4711
+ }, $0 = {
4712
4712
  cellClassName: "x-grid__edit",
4713
- ...Iu,
4713
+ ...I0,
4714
4714
  ...Rt,
4715
4715
  renderFilter(o, t) {
4716
- return [ae(Pu, { params: t, renderOpts: o })];
4716
+ return [ae(P0, { params: t, renderOpts: o })];
4717
4717
  }
4718
- }, Au = /* @__PURE__ */ G({
4718
+ }, A0 = /* @__PURE__ */ G({
4719
4719
  name: "XDialogGrid",
4720
4720
  __name: "DialogGrid",
4721
4721
  props: /* @__PURE__ */ wn({
@@ -4855,7 +4855,7 @@ const xu = {
4855
4855
  onFocus: s,
4856
4856
  "model-value": i.value
4857
4857
  }, m.$attrs), null, 16, ["suffix-icon", "model-value"]),
4858
- I(u(Au), q({
4858
+ I(u(A0), q({
4859
4859
  modelValue: a.value,
4860
4860
  "onUpdate:modelValue": g[0] || (g[0] = (p) => a.value = p),
4861
4861
  title: e.title,
@@ -4871,7 +4871,7 @@ const xu = {
4871
4871
  }, e.dialogProps), null, 16, ["modelValue", "title", "model", "columns", "formatter", "valueFormatter", "rules", "plus", "minus", "grid-props"])
4872
4872
  ], 64));
4873
4873
  }
4874
- }), Bu = /* @__PURE__ */ G({
4874
+ }), B0 = /* @__PURE__ */ G({
4875
4875
  name: "GridEdit",
4876
4876
  __name: "GridEdit",
4877
4877
  props: {
@@ -4898,11 +4898,11 @@ const xu = {
4898
4898
  }), kr = (o, t) => {
4899
4899
  const { row: n, column: e } = t;
4900
4900
  return [W(n[e.field] || "")];
4901
- }, Vu = {
4901
+ }, V0 = {
4902
4902
  cellClassName: "x-grid__edit",
4903
4903
  autofocus: ".el-input__inner",
4904
4904
  renderEdit(o, t) {
4905
- return [ae(Bu, { params: t, renderOpts: o })];
4905
+ return [ae(B0, { params: t, renderOpts: o })];
4906
4906
  },
4907
4907
  renderCell: kr,
4908
4908
  renderDefault: kr,
@@ -4910,33 +4910,33 @@ const xu = {
4910
4910
  renderFilter(o, t) {
4911
4911
  return [ae(Xo, { params: t, renderOpts: o })];
4912
4912
  }
4913
- }, Ru = (o) => {
4913
+ }, R0 = (o) => {
4914
4914
  const { $grid: t, $event: n, $table: e } = o;
4915
4915
  if (e.getParentElem().contains(n.target))
4916
4916
  t.clearValidate();
4917
4917
  else
4918
4918
  return !1;
4919
- }, Fu = (o) => {
4919
+ }, F0 = (o) => {
4920
4920
  const { $event: t, $table: n } = o;
4921
4921
  if (!n.getParentElem().contains(t.target)) return !1;
4922
- }, Ou = {
4922
+ }, O0 = {
4923
4923
  install(o) {
4924
4924
  o.renderer.mixin({
4925
4925
  XInput: Rs,
4926
- XActions: mu,
4927
- XDate: yu,
4928
- XImage: bu,
4929
- XLink: wu,
4930
- XSelect: xu,
4931
- XTag: Eu,
4932
- XText: ku,
4933
- XPicker: Du,
4934
- XNumber: $u,
4935
- XGrider: Vu
4936
- }), o.interceptor.add("event.clearFilter", Fu), o.interceptor.add("event.clearEdit", Ru);
4926
+ XActions: m0,
4927
+ XDate: y0,
4928
+ XImage: b0,
4929
+ XLink: w0,
4930
+ XSelect: x0,
4931
+ XTag: E0,
4932
+ XText: k0,
4933
+ XPicker: D0,
4934
+ XNumber: $0,
4935
+ XGrider: V0
4936
+ }), o.interceptor.add("event.clearFilter", F0), o.interceptor.add("event.clearEdit", R0);
4937
4937
  }
4938
4938
  };
4939
- function Nu(o = {}) {
4939
+ function N0(o = {}) {
4940
4940
  const t = [
4941
4941
  yl,
4942
4942
  bl,
@@ -4950,7 +4950,7 @@ function Nu(o = {}) {
4950
4950
  kl,
4951
4951
  Tl
4952
4952
  ], e = Ge()?.appContext.app, { vxeConfig: r, vxePlugin: a } = jo(), l = Ca();
4953
- return e && !e.__installVxe && (jt.use(Ou), a && jt.use(a), jt.setConfig({
4953
+ return e && !e.__installVxe && (jt.use(O0), a && jt.use(a), jt.setConfig({
4954
4954
  ...r,
4955
4955
  ...o
4956
4956
  }), t.forEach((i) => e.use(i)), e.__installVxe = !0), re(
@@ -4964,11 +4964,11 @@ function Nu(o = {}) {
4964
4964
  VXETable: jt
4965
4965
  };
4966
4966
  }
4967
- const ju = "toolbar__buttons";
4967
+ const j0 = "toolbar__buttons";
4968
4968
  function _e(o, t) {
4969
4969
  return o[da(t)] ?? o[Ri(t)] ?? void 0;
4970
4970
  }
4971
- function Lu(o, t) {
4971
+ function L0(o, t) {
4972
4972
  const { resizable: n } = o;
4973
4973
  return {
4974
4974
  useKey: !0,
@@ -4976,7 +4976,7 @@ function Lu(o, t) {
4976
4976
  ..._e(t, "columnConfig")
4977
4977
  };
4978
4978
  }
4979
- function Hu(o) {
4979
+ function H0(o) {
4980
4980
  return {
4981
4981
  useKey: !0,
4982
4982
  isCurrent: !0,
@@ -4984,7 +4984,7 @@ function Hu(o) {
4984
4984
  ..._e(o, "rowConfig")
4985
4985
  };
4986
4986
  }
4987
- function Uu(o, t) {
4987
+ function U0(o, t) {
4988
4988
  const { virtual: n } = o;
4989
4989
  return n ? Object.assign(
4990
4990
  {
@@ -4995,7 +4995,7 @@ function Uu(o, t) {
4995
4995
  _e(t, "scrollY") || {}
4996
4996
  ) : _e(t, "scrollY");
4997
4997
  }
4998
- function Xu(o, t) {
4998
+ function X0(o, t) {
4999
4999
  const { pager: n } = o;
5000
5000
  return n ? Object.assign(
5001
5001
  {
@@ -5004,7 +5004,7 @@ function Xu(o, t) {
5004
5004
  _e(t, "fitlerConfig") || {}
5005
5005
  ) : _e(t, "fitlerConfig");
5006
5006
  }
5007
- function qu(o, t) {
5007
+ function q0(o, t) {
5008
5008
  const { pager: n } = o;
5009
5009
  return n ? Object.assign(
5010
5010
  {
@@ -5013,7 +5013,7 @@ function qu(o, t) {
5013
5013
  _e(t, "sortConfig") || {}
5014
5014
  ) : _e(t, "sortConfig");
5015
5015
  }
5016
- function Gu(o, t, n) {
5016
+ function G0(o, t, n) {
5017
5017
  const { editable: e } = o, r = !!e, a = e ? {
5018
5018
  enabled: !!e,
5019
5019
  mode: "cell",
@@ -5044,8 +5044,8 @@ function Gu(o, t, n) {
5044
5044
  }
5045
5045
  };
5046
5046
  }
5047
- function Yu(o, t, n) {
5048
- const e = _e(t, "toolbarConfig"), r = n.find((l) => l === ju), a = {
5047
+ function Y0(o, t, n) {
5048
+ const e = _e(t, "toolbarConfig"), r = n.find((l) => l === j0), a = {
5049
5049
  enabled: !!e || !!r,
5050
5050
  custom: !!o.customable,
5051
5051
  slots: {
@@ -5054,7 +5054,7 @@ function Yu(o, t, n) {
5054
5054
  };
5055
5055
  return fa(a, e || {});
5056
5056
  }
5057
- function Ku(o, t) {
5057
+ function K0(o, t) {
5058
5058
  const { sumFields: n = [], avgFields: e = [], sumAllFields: r } = o, a = !!n.length || !!e.length || !!r || _e(t, "showFooter"), l = (d, f) => {
5059
5059
  let m = 0;
5060
5060
  return d.forEach((g) => {
@@ -5084,7 +5084,7 @@ function Ku(o, t) {
5084
5084
  showFooter: a
5085
5085
  };
5086
5086
  }
5087
- function Wu(o, t, n) {
5087
+ function W0(o, t, n) {
5088
5088
  const e = It(), r = {
5089
5089
  layouts: ["Toolbar", "Form", "Top", "Table", "Bottom", "Pager"],
5090
5090
  loading: !1,
@@ -5097,13 +5097,13 @@ function Wu(o, t, n) {
5097
5097
  };
5098
5098
  return {
5099
5099
  vxeProps: P(() => {
5100
- const l = Lu(o, e), i = Hu(e), s = Uu(o, e), c = Xu(o, e), d = qu(o, e), f = Yu(o, e, t), {
5100
+ const l = L0(o, e), i = H0(e), s = U0(o, e), c = X0(o, e), d = q0(o, e), f = Y0(o, e, t), {
5101
5101
  keepSource: m,
5102
5102
  editConfig: g,
5103
5103
  mouseConfig: p,
5104
5104
  keyboardConfig: h,
5105
5105
  onCellSelected: y
5106
- } = Gu(o, e, n), { footerMethod: C, showFooter: S } = Ku(o, e);
5106
+ } = G0(o, e, n), { footerMethod: C, showFooter: S } = K0(o, e);
5107
5107
  return {
5108
5108
  ...r,
5109
5109
  ...e,
@@ -5125,7 +5125,7 @@ function Wu(o, t, n) {
5125
5125
  })
5126
5126
  };
5127
5127
  }
5128
- function Ju(o, t, n) {
5128
+ function J0(o, t, n) {
5129
5129
  const e = L();
5130
5130
  if (!t.rowSortable) return e;
5131
5131
  const r = () => {
@@ -5135,7 +5135,7 @@ function Ju(o, t, n) {
5135
5135
  if (l) {
5136
5136
  const i = {
5137
5137
  ...t.rowSortable,
5138
- onUpdate: uu(a, n)
5138
+ onUpdate: u0(a, n)
5139
5139
  };
5140
5140
  e.value = Xa(l, i);
5141
5141
  }
@@ -5146,7 +5146,7 @@ function Ju(o, t, n) {
5146
5146
  e.value?.destroy(), r();
5147
5147
  }), e;
5148
5148
  }
5149
- function Qu(o, t, n, e) {
5149
+ function Q0(o, t, n, e) {
5150
5150
  const r = L([]);
5151
5151
  if (!t.columnSortable) return r;
5152
5152
  const a = async () => {
@@ -5160,8 +5160,8 @@ function Qu(o, t, n, e) {
5160
5160
  filter: ".vxe-header--gutter",
5161
5161
  handle: ".vxe-cell",
5162
5162
  ...t.columnSortable,
5163
- onMove: cu(s),
5164
- onUpdate: du(s, n, e)
5163
+ onMove: c0(s),
5164
+ onUpdate: d0(s, n, e)
5165
5165
  };
5166
5166
  r.value = c.map((f) => Xa(f, d));
5167
5167
  }, l = () => {
@@ -5205,7 +5205,7 @@ function Ga(o) {
5205
5205
  }
5206
5206
  return l;
5207
5207
  }
5208
- function Zu(o, t) {
5208
+ function Z0(o, t) {
5209
5209
  const n = bn([]), e = jo();
5210
5210
  let r = null;
5211
5211
  const {
@@ -5244,7 +5244,7 @@ function Zu(o, t) {
5244
5244
  return;
5245
5245
  }
5246
5246
  const h = s(p);
5247
- r = await l(h).catch(() => null) || { id: h }, r && (n.value = pu(g, r).slice(0));
5247
+ r = await l(h).catch(() => null) || { id: h }, r && (n.value = p0(g, r).slice(0));
5248
5248
  };
5249
5249
  return re(
5250
5250
  () => [t.columns, t.editable],
@@ -5259,7 +5259,7 @@ function Zu(o, t) {
5259
5259
  onSort: f
5260
5260
  };
5261
5261
  }
5262
- function e0(o = []) {
5262
+ function eu(o = []) {
5263
5263
  const t = Do();
5264
5264
  return Object.keys(t).filter((n) => !o.includes(n));
5265
5265
  }
@@ -5313,7 +5313,7 @@ function Pn(o, t) {
5313
5313
  }
5314
5314
  };
5315
5315
  }
5316
- function t0(o) {
5316
+ function tu(o) {
5317
5317
  const t = Dt(o, "page"), n = Dt(o, "pageSize"), e = Bt({
5318
5318
  page: o.page,
5319
5319
  pageSize: o.pageSize,
@@ -5340,8 +5340,8 @@ function t0(o) {
5340
5340
  resetState: r
5341
5341
  };
5342
5342
  }
5343
- function n0(o, t, n) {
5344
- const { auto: e, pager: r } = o, { state: a, resetState: l } = t0(o), i = async (p, h) => {
5343
+ function nu(o, t, n) {
5344
+ const { auto: e, pager: r } = o, { state: a, resetState: l } = tu(o), i = async (p, h) => {
5345
5345
  const y = t.value;
5346
5346
  y && (h ? await y.reloadData(p) : await y.loadData(p));
5347
5347
  }, s = async (p) => {
@@ -5381,7 +5381,7 @@ function n0(o, t, n) {
5381
5381
  doLayout: g
5382
5382
  };
5383
5383
  }
5384
- const o0 = {
5384
+ const ou = {
5385
5385
  /**
5386
5386
  * 表格id,保存用户自定义配置时需要用到,唯一标识(被某些特定的功能所依赖)
5387
5387
  */
@@ -5527,10 +5527,10 @@ const o0 = {
5527
5527
  name: "XGrid",
5528
5528
  inheritAttrs: !1,
5529
5529
  __name: "Grid",
5530
- props: o0,
5530
+ props: ou,
5531
5531
  emits: ["rowSort", "columnSort", "cellSelected", "editChange", "loaded"],
5532
5532
  setup(o, { expose: t, emit: n }) {
5533
- const { VxeGrid: e } = Nu(), r = L(), a = o, l = n, i = e0(), { vxeProps: s } = Wu(a, i, l), { columns: c, onResize: d, onCustom: f, onSort: m } = Zu(r, a), g = Ju(r, a, l), p = Qu(r, a, l, m), {
5533
+ const { VxeGrid: e } = N0(), r = L(), a = o, l = n, i = eu(), { vxeProps: s } = W0(a, i, l), { columns: c, onResize: d, onCustom: f, onSort: m } = Z0(r, a), g = J0(r, a, l), p = Q0(r, a, l, m), {
5534
5534
  state: h,
5535
5535
  onPagerChange: y,
5536
5536
  onFilterChange: C,
@@ -5538,7 +5538,7 @@ const o0 = {
5538
5538
  load: x,
5539
5539
  search: _,
5540
5540
  doLayout: M
5541
- } = n0(a, r, l), E = Ge();
5541
+ } = nu(a, r, l), E = Ge();
5542
5542
  zt(Ya, E);
5543
5543
  const w = async (T = {}, j = -1) => {
5544
5544
  a.editable || console.warn("XGrid在编辑模式需要开启editable");
@@ -5667,7 +5667,7 @@ const o0 = {
5667
5667
  }))
5668
5668
  ]), 1040, ["columns", "onCustom", "onResizableChange", "onFilterChange", "onSortChange"]));
5669
5669
  }
5670
- }), r0 = {
5670
+ }), ru = {
5671
5671
  collapsible: {
5672
5672
  type: Boolean,
5673
5673
  default: !0
@@ -5683,7 +5683,7 @@ const o0 = {
5683
5683
  type: Boolean
5684
5684
  }
5685
5685
  };
5686
- function a0(o, t) {
5686
+ function au(o, t) {
5687
5687
  const n = L(!!o.collapsible), e = It(), r = pt(Ya, null), a = {
5688
5688
  large: 45,
5689
5689
  default: 37,
@@ -5706,13 +5706,13 @@ function a0(o, t) {
5706
5706
  showCollapsible: l
5707
5707
  };
5708
5708
  }
5709
- const i0 = {
5709
+ const iu = {
5710
5710
  key: 0,
5711
5711
  class: "x-query-form__collapsible"
5712
- }, l0 = /* @__PURE__ */ G({
5712
+ }, lu = /* @__PURE__ */ G({
5713
5713
  name: "XQueryForm",
5714
5714
  __name: "QueryForm",
5715
- props: r0,
5715
+ props: ru,
5716
5716
  emits: ["collapsed"],
5717
5717
  setup(o, { expose: t, emit: n }) {
5718
5718
  const e = o, r = n, a = L(), {
@@ -5721,7 +5721,7 @@ const i0 = {
5721
5721
  collapsedClass: s,
5722
5722
  collapsedStyle: c,
5723
5723
  showCollapsible: d
5724
- } = a0(e, r), f = async () => {
5724
+ } = au(e, r), f = async () => {
5725
5725
  a.value?.submit();
5726
5726
  }, m = async () => await a.value?.validate(), g = () => {
5727
5727
  a.value?.clearValidate();
@@ -5748,7 +5748,7 @@ const i0 = {
5748
5748
  footer: u(d)
5749
5749
  }, {
5750
5750
  action: b(() => [
5751
- u(d) ? (v(), F("div", i0, [
5751
+ u(d) ? (v(), F("div", iu, [
5752
5752
  u(l) ? (v(), k(u(be), {
5753
5753
  key: 0,
5754
5754
  icon: u(tl),
@@ -5787,7 +5787,7 @@ const i0 = {
5787
5787
  _: 3
5788
5788
  }, 8, ["inline-columns", "disabled", "footer"]));
5789
5789
  }
5790
- }), s0 = /* @__PURE__ */ G({
5790
+ }), su = /* @__PURE__ */ G({
5791
5791
  __name: "Dialog",
5792
5792
  props: {
5793
5793
  gridProps: {},
@@ -5887,7 +5887,7 @@ const i0 = {
5887
5887
  n.fields ? {
5888
5888
  name: "form",
5889
5889
  fn: b(() => [
5890
- I(u(l0), q({
5890
+ I(u(lu), q({
5891
5891
  model: n.formModel,
5892
5892
  items: n.fields,
5893
5893
  onSubmit: c
@@ -5900,7 +5900,7 @@ const i0 = {
5900
5900
  _: 1
5901
5901
  }, 8, ["icon"]));
5902
5902
  }
5903
- }), u0 = {
5903
+ }), uu = {
5904
5904
  /**
5905
5905
  * 表格列配置
5906
5906
  */
@@ -6024,7 +6024,7 @@ const i0 = {
6024
6024
  type: Function
6025
6025
  }
6026
6026
  };
6027
- function c0(o, t) {
6027
+ function cu(o, t) {
6028
6028
  const {
6029
6029
  multiple: n,
6030
6030
  raw: e,
@@ -6077,7 +6077,7 @@ function c0(o, t) {
6077
6077
  setOptions: d
6078
6078
  };
6079
6079
  }
6080
- function d0(o) {
6080
+ function du(o) {
6081
6081
  return P(() => {
6082
6082
  const { multiple: t, columns: n = [] } = o;
6083
6083
  return n.length === 0 ? [] : [
@@ -6097,7 +6097,7 @@ function d0(o) {
6097
6097
  ].concat(n);
6098
6098
  });
6099
6099
  }
6100
- function f0(o) {
6100
+ function fu(o) {
6101
6101
  const t = L({});
6102
6102
  return re(
6103
6103
  () => o.model,
@@ -6115,10 +6115,10 @@ const Wa = /* @__PURE__ */ G({
6115
6115
  name: "XPicker",
6116
6116
  inheritAttrs: !1,
6117
6117
  __name: "Picker",
6118
- props: u0,
6118
+ props: uu,
6119
6119
  emits: ["update:modelValue", "change", "picked"],
6120
6120
  setup(o, { expose: t, emit: n }) {
6121
- const e = o, r = n, a = It(), l = L(!1), i = L(), s = L(), { options: c, setOptions: d, current: f } = c0(e, r), { formModel: m } = f0(e), g = d0(e), p = P(() => l.value ? !0 : !!e.disabled), h = (M) => e.loader ? (M.form = m.value, e.loader(M)) : {
6121
+ const e = o, r = n, a = It(), l = L(!1), i = L(), s = L(), { options: c, setOptions: d, current: f } = cu(e, r), { formModel: m } = fu(e), g = du(e), p = P(() => l.value ? !0 : !!e.disabled), h = (M) => e.loader ? (M.form = m.value, e.loader(M)) : {
6122
6122
  list: [],
6123
6123
  total: 0
6124
6124
  }, y = () => {
@@ -6197,7 +6197,7 @@ const Wa = /* @__PURE__ */ G({
6197
6197
  ]),
6198
6198
  _: 1
6199
6199
  }, 16, ["disabled", "multiple", "suffix-icon", "onKeydownCapture", "modelValue"]),
6200
- l.value && e.loader ? (v(), k(s0, q({
6200
+ l.value && e.loader ? (v(), k(su, q({
6201
6201
  key: 0,
6202
6202
  ref_key: "dialogRef",
6203
6203
  ref: s,
@@ -6260,7 +6260,7 @@ const Wa = /* @__PURE__ */ G({
6260
6260
  props: {}
6261
6261
  },
6262
6262
  time: {
6263
- component: Si,
6263
+ component: ki,
6264
6264
  props: {}
6265
6265
  },
6266
6266
  datetime: {
@@ -6274,15 +6274,15 @@ const Wa = /* @__PURE__ */ G({
6274
6274
  props: {}
6275
6275
  },
6276
6276
  rate: {
6277
- component: xi,
6277
+ component: Ei,
6278
6278
  props: {}
6279
6279
  },
6280
6280
  slider: {
6281
- component: Ei,
6281
+ component: xi,
6282
6282
  props: {}
6283
6283
  },
6284
6284
  cascader: {
6285
- component: ki,
6285
+ component: Si,
6286
6286
  props: {}
6287
6287
  },
6288
6288
  picker: {
@@ -6294,10 +6294,10 @@ const Wa = /* @__PURE__ */ G({
6294
6294
  props: {}
6295
6295
  }
6296
6296
  };
6297
- function p0(o) {
6297
+ function pu(o) {
6298
6298
  Object.assign(Wo, o);
6299
6299
  }
6300
- const m0 = {
6300
+ const mu = {
6301
6301
  /**
6302
6302
  * 字段名称
6303
6303
  */
@@ -6424,16 +6424,16 @@ const m0 = {
6424
6424
  default: void 0
6425
6425
  }
6426
6426
  };
6427
- async function g0(o, t) {
6427
+ async function gu(o, t) {
6428
6428
  const n = o.options;
6429
6429
  return n ? typeof n == "function" ? await n(t) || [] : n : [];
6430
6430
  }
6431
- function h0(o, t, n, e, r) {
6431
+ function hu(o, t, n, e, r) {
6432
6432
  const a = L([]), l = P(() => !e || !r ? {} : Fo(o.cascader).reduce((c, d) => (c[d] = fn(r, d), c), {}));
6433
6433
  return re(
6434
6434
  [l, () => o.options],
6435
6435
  async ([s, c]) => {
6436
- n.value && (a.value = await g0(o, s), e?.exposed?.reset && o.name);
6436
+ n.value && (a.value = await gu(o, s), e?.exposed?.reset && o.name);
6437
6437
  },
6438
6438
  {
6439
6439
  immediate: !0
@@ -6465,19 +6465,19 @@ function h0(o, t, n, e, r) {
6465
6465
  })
6466
6466
  };
6467
6467
  }
6468
- const v0 = {
6468
+ const vu = {
6469
6469
  key: 1,
6470
6470
  class: "el-form-item__error"
6471
- }, y0 = {
6471
+ }, yu = {
6472
6472
  key: 0,
6473
6473
  class: "x-field__tip"
6474
6474
  }, Ja = /* @__PURE__ */ G({
6475
6475
  name: "XField",
6476
6476
  __name: "Field",
6477
- props: m0,
6477
+ props: mu,
6478
6478
  emits: ["update:modelValue", "change", "focus", "blur"],
6479
6479
  setup(o, { expose: t, emit: n }) {
6480
- const e = o, r = n, a = pt(Qa, null), l = pt(Ti, null), i = pt(Za, null), s = P(() => !a?.proxy || !i ? e.visible : typeof e.visible == "function" ? e.visible(i) : Vo(e.visible) ? Object.entries(e.visible).every(([A, z]) => fn(i, A) === z) : e.visible), c = () => a?.proxy && i && e.name ? fn(i, e.name) ?? e.modelValue ?? e.defaultValue : e.modelValue ?? e.defaultValue, d = L(c()), { editor: f } = h0(
6480
+ const e = o, r = n, a = pt(Qa, null), l = pt(Ti, null), i = pt(Za, null), s = P(() => !a?.proxy || !i ? e.visible : typeof e.visible == "function" ? e.visible(i) : Vo(e.visible) ? Object.entries(e.visible).every(([A, z]) => fn(i, A) === z) : e.visible), c = () => a?.proxy && i && e.name ? fn(i, e.name) ?? e.modelValue ?? e.defaultValue : e.modelValue ?? e.defaultValue, d = L(c()), { editor: f } = hu(
6481
6481
  e,
6482
6482
  r,
6483
6483
  s,
@@ -6565,7 +6565,7 @@ const v0 = {
6565
6565
  ]),
6566
6566
  _: 2
6567
6567
  }, 1040, ["content"])
6568
- ], 4)) : (v(), F("div", v0, te(y(z)), 1))
6568
+ ], 4)) : (v(), F("div", vu, te(y(z)), 1))
6569
6569
  ])
6570
6570
  ]),
6571
6571
  default: b(() => [
@@ -6590,7 +6590,7 @@ const v0 = {
6590
6590
  } : void 0
6591
6591
  ]), 1040, ["modelValue"])) : $("", !0)
6592
6592
  ]),
6593
- e.tip || w.$slots.tip ? (v(), F("div", y0, [
6593
+ e.tip || w.$slots.tip ? (v(), F("div", yu, [
6594
6594
  N(w.$slots, "tip", {}, () => [
6595
6595
  W(te(e.tip), 1)
6596
6596
  ])
@@ -6611,7 +6611,7 @@ const v0 = {
6611
6611
  [Oe, !e.hidden]
6612
6612
  ]) : $("", !0);
6613
6613
  }
6614
- }), b0 = {
6614
+ }), bu = {
6615
6615
  /**
6616
6616
  * 表单模型
6617
6617
  */
@@ -6678,7 +6678,7 @@ const v0 = {
6678
6678
  inheritAttrs: !1,
6679
6679
  name: "XForm",
6680
6680
  __name: "Form",
6681
- props: b0,
6681
+ props: bu,
6682
6682
  emits: ["change", "submit", "reset"],
6683
6683
  setup(o, { expose: t, emit: n }) {
6684
6684
  const e = o, r = n, a = Ge(), l = L(), i = Bt(e.model || {}), s = L(!1);
@@ -6757,7 +6757,7 @@ const v0 = {
6757
6757
  _: 3
6758
6758
  }, 16, ["inline", "model"]));
6759
6759
  }
6760
- }), w0 = {
6760
+ }), wu = {
6761
6761
  modelValue: {
6762
6762
  type: Boolean,
6763
6763
  default: !0
@@ -6797,7 +6797,7 @@ const v0 = {
6797
6797
  }, s2 = /* @__PURE__ */ G({
6798
6798
  name: "XDialogForm",
6799
6799
  __name: "DialogForm",
6800
- props: w0,
6800
+ props: wu,
6801
6801
  emits: ["update:modelValue", "submit", "close"],
6802
6802
  setup(o, { expose: t, emit: n }) {
6803
6803
  const e = o, r = n, a = L(), l = L(), i = P(() => l.value?.$vtjEl), s = () => {
@@ -6871,7 +6871,7 @@ const v0 = {
6871
6871
  } : void 0
6872
6872
  ]), 1040, ["model-value", "submit", "cancel", "size"]));
6873
6873
  }
6874
- }), _0 = {
6874
+ }), _u = {
6875
6875
  items: {
6876
6876
  type: Array,
6877
6877
  default() {
@@ -6887,13 +6887,13 @@ const v0 = {
6887
6887
  align: {
6888
6888
  type: String
6889
6889
  }
6890
- }, C0 = { class: "x-tabs__label-inner" }, S0 = {
6890
+ }, Cu = { class: "x-tabs__label-inner" }, Su = {
6891
6891
  key: 0,
6892
6892
  class: "x-tabs__actions"
6893
6893
  }, u2 = /* @__PURE__ */ G({
6894
6894
  name: "XTabs",
6895
6895
  __name: "Tabs",
6896
- props: _0,
6896
+ props: _u,
6897
6897
  emits: ["actionClick", "actionCommand"],
6898
6898
  setup(o, { expose: t, emit: n }) {
6899
6899
  const e = o, r = n, a = L(!1), l = P(() => (e.items || []).filter((g) => !!g.slot).map((g) => g.slot)), i = (m) => {
@@ -6934,9 +6934,9 @@ const v0 = {
6934
6934
  key: 0,
6935
6935
  class: "x-tabs__icon"
6936
6936
  })) : $("", !0),
6937
- Z("div", C0, [
6937
+ Z("div", Cu, [
6938
6938
  W(te(p.label) + " ", 1),
6939
- p.actions && [p.name, p.value].includes(m.$attrs.modelValue) ? (v(), F("div", S0, [
6939
+ p.actions && [p.name, p.value].includes(m.$attrs.modelValue) ? (v(), F("div", Su, [
6940
6940
  (v(!0), F(de, null, he(p.actions, (h) => (v(), k(u(be), q({
6941
6941
  mode: "icon",
6942
6942
  type: "primary",
@@ -6972,7 +6972,7 @@ const v0 = {
6972
6972
  _: 3
6973
6973
  }, 16, ["class"]));
6974
6974
  }
6975
- }), x0 = {
6975
+ }), xu = {
6976
6976
  direction: {
6977
6977
  type: String,
6978
6978
  default: "column"
@@ -7019,19 +7019,19 @@ const v0 = {
7019
7019
  padding: {
7020
7020
  type: Boolean
7021
7021
  }
7022
- }, E0 = { class: "x-data-item__title" }, k0 = {
7022
+ }, Eu = { class: "x-data-item__title" }, ku = {
7023
7023
  key: 1,
7024
7024
  class: "x-data-item__section x-data-item__desc"
7025
- }, T0 = {
7025
+ }, Tu = {
7026
7026
  key: 2,
7027
7027
  class: "x-data-item__section x-data-item__extra"
7028
- }, D0 = {
7028
+ }, Du = {
7029
7029
  key: 3,
7030
7030
  class: "x-data-item__section x-data-item__actions"
7031
7031
  }, c2 = /* @__PURE__ */ G({
7032
7032
  name: "XDataItem",
7033
7033
  __name: "DataItem",
7034
- props: x0,
7034
+ props: xu,
7035
7035
  emits: ["imageClick", "titleClick", "actionClick", "actionCommand"],
7036
7036
  setup(o, { emit: t }) {
7037
7037
  const n = o, e = t, r = P(() => {
@@ -7095,7 +7095,7 @@ const v0 = {
7095
7095
  key: 0,
7096
7096
  class: "x-data-item__icon"
7097
7097
  })) : $("", !0),
7098
- Z("span", E0, [
7098
+ Z("span", Eu, [
7099
7099
  N(f.$slots, "title", {}, () => [
7100
7100
  W(te(n.title), 1)
7101
7101
  ])
@@ -7103,15 +7103,15 @@ const v0 = {
7103
7103
  ]),
7104
7104
  _: 3
7105
7105
  }, 8, ["onClick"])) : $("", !0),
7106
- n.description || f.$slots.description ? (v(), F("div", k0, [
7106
+ n.description || f.$slots.description ? (v(), F("div", ku, [
7107
7107
  N(f.$slots, "description", {}, () => [
7108
7108
  W(te(n.description), 1)
7109
7109
  ])
7110
7110
  ])) : $("", !0),
7111
- f.$slots.default ? (v(), F("div", T0, [
7111
+ f.$slots.default ? (v(), F("div", Tu, [
7112
7112
  N(f.$slots, "default")
7113
7113
  ])) : $("", !0),
7114
- n.actions || n.actionBarProps || f.$slots.actions ? (v(), F("div", D0, [
7114
+ n.actions || n.actionBarProps || f.$slots.actions ? (v(), F("div", Du, [
7115
7115
  N(f.$slots, "actions", {}, () => [
7116
7116
  I(u(Zt), q(l.value, {
7117
7117
  onClick: c,
@@ -7126,7 +7126,7 @@ const v0 = {
7126
7126
  _: 3
7127
7127
  }, 8, ["direction", "padding", "class"]));
7128
7128
  }
7129
- }), z0 = {
7129
+ }), zu = {
7130
7130
  data: {
7131
7131
  type: [Object, Function],
7132
7132
  default() {
@@ -7164,25 +7164,25 @@ const v0 = {
7164
7164
  infiniteScroll: {
7165
7165
  type: [Boolean, Object]
7166
7166
  }
7167
- }, M0 = {
7167
+ }, Mu = {
7168
7168
  key: 0,
7169
7169
  class: "x-list__loading"
7170
- }, P0 = {
7170
+ }, Pu = {
7171
7171
  key: 1,
7172
7172
  class: "x-list__nomore"
7173
- }, I0 = {
7173
+ }, Iu = {
7174
7174
  key: 0,
7175
7175
  class: "x-list__loading"
7176
- }, $0 = {
7176
+ }, $u = {
7177
7177
  key: 1,
7178
7178
  class: "x-list__nomore"
7179
- }, A0 = {
7179
+ }, Au = {
7180
7180
  key: 1,
7181
7181
  class: "x-list__pager"
7182
7182
  }, d2 = /* @__PURE__ */ G({
7183
7183
  name: "XList",
7184
7184
  __name: "List",
7185
- props: z0,
7185
+ props: zu,
7186
7186
  emits: ["load"],
7187
7187
  setup(o, { expose: t, emit: n }) {
7188
7188
  const e = o, r = n, a = Bt({
@@ -7250,12 +7250,12 @@ const v0 = {
7250
7250
  }, { item: w.data, index: A }), () => [
7251
7251
  Z("div", null, te(w), 1)
7252
7252
  ])), 128)),
7253
- u(i) ? (v(), F("div", M0, [
7253
+ u(i) ? (v(), F("div", Mu, [
7254
7254
  N(M.$slots, "loading", {}, () => [
7255
7255
  E[2] || (E[2] = W(" 正在加载数据... "))
7256
7256
  ])
7257
7257
  ])) : $("", !0),
7258
- c.value ? (v(), F("div", P0, [
7258
+ c.value ? (v(), F("div", Pu, [
7259
7259
  N(M.$slots, "nomore", {}, () => [
7260
7260
  E[3] || (E[3] = W(" 没有更多数据 "))
7261
7261
  ])
@@ -7272,12 +7272,12 @@ const v0 = {
7272
7272
  }, { item: w, index: A }), () => [
7273
7273
  Z("div", null, te(w), 1)
7274
7274
  ])), 128)),
7275
- u(i) ? (v(), F("div", I0, [
7275
+ u(i) ? (v(), F("div", Iu, [
7276
7276
  N(M.$slots, "loading", {}, () => [
7277
7277
  E[4] || (E[4] = W(" 正在加载数据... "))
7278
7278
  ])
7279
7279
  ])) : $("", !0),
7280
- c.value ? (v(), F("div", $0, [
7280
+ c.value ? (v(), F("div", $u, [
7281
7281
  N(M.$slots, "nomore", {}, () => [
7282
7282
  E[5] || (E[5] = W(" 没有更多数据 "))
7283
7283
  ])
@@ -7286,7 +7286,7 @@ const v0 = {
7286
7286
  [u(nr), x]
7287
7287
  ])
7288
7288
  ], 16),
7289
- e.pager ? (v(), F("div", A0, [
7289
+ e.pager ? (v(), F("div", Au, [
7290
7290
  I(u(la), q({
7291
7291
  small: "",
7292
7292
  background: "",
@@ -7302,7 +7302,7 @@ const v0 = {
7302
7302
  ])) : $("", !0)
7303
7303
  ], 6));
7304
7304
  }
7305
- }), B0 = {
7305
+ }), Bu = {
7306
7306
  name: {
7307
7307
  type: String,
7308
7308
  default: "VTJ.PRO"
@@ -7319,9 +7319,9 @@ const v0 = {
7319
7319
  type: String,
7320
7320
  default: "/@vtj/pro/"
7321
7321
  }
7322
- }, V0 = { class: "x-startup" }, R0 = { class: "x-startup__wrapper" }, F0 = { class: "x-startup__name" }, O0 = { class: "clip" }, N0 = { class: "x-startup__tagline" }, j0 = { class: "x-startup__actions" }, f2 = /* @__PURE__ */ G({
7322
+ }, Vu = { class: "x-startup" }, Ru = { class: "x-startup__wrapper" }, Fu = { class: "x-startup__name" }, Ou = { class: "clip" }, Nu = { class: "x-startup__tagline" }, ju = { class: "x-startup__actions" }, f2 = /* @__PURE__ */ G({
7323
7323
  __name: "Startup",
7324
- props: B0,
7324
+ props: Bu,
7325
7325
  setup(o) {
7326
7326
  const t = o, n = () => {
7327
7327
  if (typeof window < "u") {
@@ -7329,13 +7329,13 @@ const v0 = {
7329
7329
  window.location.href = r;
7330
7330
  }
7331
7331
  };
7332
- return (e, r) => (v(), F("div", V0, [
7333
- Z("div", R0, [
7334
- Z("div", F0, [
7335
- Z("span", O0, te(t.name), 1)
7332
+ return (e, r) => (v(), F("div", Vu, [
7333
+ Z("div", Ru, [
7334
+ Z("div", Fu, [
7335
+ Z("span", Ou, te(t.name), 1)
7336
7336
  ]),
7337
- Z("div", N0, te(t.tagline), 1),
7338
- Z("div", j0, [
7337
+ Z("div", Nu, te(t.tagline), 1),
7338
+ Z("div", ju, [
7339
7339
  I(u(je), {
7340
7340
  type: "primary",
7341
7341
  size: "large",
@@ -7352,7 +7352,7 @@ const v0 = {
7352
7352
  ])
7353
7353
  ]));
7354
7354
  }
7355
- }), L0 = {
7355
+ }), Lu = {
7356
7356
  stringProp: {
7357
7357
  type: String
7358
7358
  },
@@ -7383,10 +7383,10 @@ const v0 = {
7383
7383
  syncProp: {
7384
7384
  type: String
7385
7385
  }
7386
- }, H0 = { class: "x-test__slot" }, U0 = { class: "x-test__slot" }, p2 = /* @__PURE__ */ G({
7386
+ }, Hu = { class: "x-test__slot" }, Uu = { class: "x-test__slot" }, p2 = /* @__PURE__ */ G({
7387
7387
  name: "XTest",
7388
7388
  __name: "Test",
7389
- props: L0,
7389
+ props: Lu,
7390
7390
  emits: ["click", "submit", "change", "update:modelValue", "update:syncProp"],
7391
7391
  setup(o, { expose: t, emit: n }) {
7392
7392
  const e = o, r = n, a = P(() => Object.entries(e)), l = () => ["dSlot_1", "dSlot_2"], i = P({
@@ -7478,7 +7478,7 @@ const v0 = {
7478
7478
  card: ""
7479
7479
  }, {
7480
7480
  default: b(() => [
7481
- Z("div", H0, [
7481
+ Z("div", Hu, [
7482
7482
  N(p.$slots, "default", {
7483
7483
  props: e,
7484
7484
  data: c.value
@@ -7495,7 +7495,7 @@ const v0 = {
7495
7495
  card: ""
7496
7496
  }, {
7497
7497
  default: b(() => [
7498
- Z("div", U0, [
7498
+ Z("div", Uu, [
7499
7499
  N(p.$slots, "extra", {
7500
7500
  props: e,
7501
7501
  data: c.value
@@ -7591,7 +7591,7 @@ const v0 = {
7591
7591
  _: 3
7592
7592
  }));
7593
7593
  }
7594
- }), X0 = {
7594
+ }), Xu = {
7595
7595
  units: {
7596
7596
  type: [String, Object, Array]
7597
7597
  },
@@ -7615,13 +7615,13 @@ const v0 = {
7615
7615
  selectProps: {
7616
7616
  type: Object
7617
7617
  }
7618
- }, q0 = {
7618
+ }, qu = {
7619
7619
  key: 0,
7620
7620
  class: "x-input-unit__unit"
7621
7621
  }, m2 = /* @__PURE__ */ G({
7622
7622
  name: "XInputUnit",
7623
7623
  __name: "InputUnit",
7624
- props: X0,
7624
+ props: Xu,
7625
7625
  emits: ["update:modelValue", "update:unit", "change", "unit-change"],
7626
7626
  setup(o, { expose: t, emit: n }) {
7627
7627
  const e = o, r = n, a = P(() => Fo(e.units).map((h) => typeof h == "string" ? { label: h, value: h } : h)), l = P(() => {
@@ -7695,7 +7695,7 @@ const v0 = {
7695
7695
  } : {
7696
7696
  name: "suffix",
7697
7697
  fn: b(() => [
7698
- i.value ? (v(), F("div", q0, [
7698
+ i.value ? (v(), F("div", qu, [
7699
7699
  Z("span", null, te(i.value), 1)
7700
7700
  ])) : $("", !0)
7701
7701
  ]),
@@ -7703,7 +7703,7 @@ const v0 = {
7703
7703
  }
7704
7704
  ]), 1032, ["modelValue"]));
7705
7705
  }
7706
- }), G0 = ["src"], g2 = /* @__PURE__ */ G({
7706
+ }), Gu = ["src"], g2 = /* @__PURE__ */ G({
7707
7707
  name: "XCaptcha",
7708
7708
  __name: "Captcha",
7709
7709
  props: /* @__PURE__ */ wn({
@@ -7734,7 +7734,7 @@ const v0 = {
7734
7734
  Z("img", {
7735
7735
  src: e.value,
7736
7736
  onClick: a
7737
- }, null, 8, G0)
7737
+ }, null, 8, Gu)
7738
7738
  ]),
7739
7739
  suffix: b(() => [
7740
7740
  r.value === !0 ? (v(), k(u(Ue), {
@@ -7753,11 +7753,11 @@ const v0 = {
7753
7753
  }, 8, ["placeholder", "maxlength", "modelValue"]));
7754
7754
  }
7755
7755
  });
7756
- function Y0(o) {
7756
+ function Yu(o) {
7757
7757
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
7758
7758
  }
7759
7759
  var St = {}, qn, Tr;
7760
- function K0() {
7760
+ function Ku() {
7761
7761
  return Tr || (Tr = 1, qn = function() {
7762
7762
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
7763
7763
  }), qn;
@@ -7870,7 +7870,7 @@ function Jo() {
7870
7870
  }(Yn)), Yn;
7871
7871
  }
7872
7872
  var Kn, Mr;
7873
- function W0() {
7873
+ function Wu() {
7874
7874
  if (Mr) return Kn;
7875
7875
  Mr = 1;
7876
7876
  function o() {
@@ -7895,7 +7895,7 @@ function W0() {
7895
7895
  }, Kn = o, Kn;
7896
7896
  }
7897
7897
  var Wn, Pr;
7898
- function J0() {
7898
+ function Ju() {
7899
7899
  if (Pr) return Wn;
7900
7900
  Pr = 1;
7901
7901
  function o(t) {
@@ -7915,7 +7915,7 @@ function J0() {
7915
7915
  }, Wn = o, Wn;
7916
7916
  }
7917
7917
  var Jn = {}, Ir;
7918
- function Q0() {
7918
+ function Qu() {
7919
7919
  return Ir || (Ir = 1, function(o) {
7920
7920
  const t = gt().getSymbolSize;
7921
7921
  o.getRowColCoords = function(e) {
@@ -7936,7 +7936,7 @@ function Q0() {
7936
7936
  }(Jn)), Jn;
7937
7937
  }
7938
7938
  var Qn = {}, $r;
7939
- function Z0() {
7939
+ function Zu() {
7940
7940
  if ($r) return Qn;
7941
7941
  $r = 1;
7942
7942
  const o = gt().getSymbolSize, t = 7;
@@ -8992,7 +8992,7 @@ var Wr;
8992
8992
  function fc() {
8993
8993
  if (Wr) return Gn;
8994
8994
  Wr = 1;
8995
- const o = gt(), t = Jo(), n = W0(), e = J0(), r = Q0(), a = Z0(), l = ec(), i = ti(), s = oc(), c = rc(), d = ac(), f = ht(), m = dc();
8995
+ const o = gt(), t = Jo(), n = Wu(), e = Ju(), r = Qu(), a = Zu(), l = ec(), i = ti(), s = oc(), c = rc(), d = ac(), f = ht(), m = dc();
8996
8996
  function g(E, w) {
8997
8997
  const A = E.size, z = a.getPositions(w);
8998
8998
  for (let H = 0; H < z.length; H++) {
@@ -9237,7 +9237,7 @@ var ea;
9237
9237
  function gc() {
9238
9238
  if (ea) return St;
9239
9239
  ea = 1;
9240
- const o = K0(), t = fc(), n = pc(), e = mc();
9240
+ const o = Ku(), t = fc(), n = pc(), e = mc();
9241
9241
  function r(a, l, i, s, c) {
9242
9242
  const d = [].slice.call(arguments, 1), f = d.length, m = typeof d[f - 1] == "function";
9243
9243
  if (!m && !o())
@@ -9270,7 +9270,7 @@ function gc() {
9270
9270
  }), St;
9271
9271
  }
9272
9272
  var hc = gc();
9273
- const vc = /* @__PURE__ */ Y0(hc), yc = ["src"], bc = {
9273
+ const vc = /* @__PURE__ */ Yu(hc), yc = ["src"], bc = {
9274
9274
  key: 1,
9275
9275
  class: "x-qr-code__expired"
9276
9276
  }, wc = { class: "x-qr-code__refresh" }, _c = { class: "x-qr-code__tip" }, h2 = /* @__PURE__ */ G({
@@ -9890,7 +9890,7 @@ export {
9890
9890
  c2 as XDataItem,
9891
9891
  zn as XDialog,
9892
9892
  s2 as XDialogForm,
9893
- Au as XDialogGrid,
9893
+ A0 as XDialogGrid,
9894
9894
  Ja as XField,
9895
9895
  ei as XForm,
9896
9896
  Ka as XGrid,
@@ -9905,7 +9905,7 @@ export {
9905
9905
  pn as XPanel,
9906
9906
  Wa as XPicker,
9907
9907
  h2 as XQrCode,
9908
- l0 as XQueryForm,
9908
+ lu as XQueryForm,
9909
9909
  f2 as XStartup,
9910
9910
  u2 as XTabs,
9911
9911
  p2 as XTest,
@@ -9916,29 +9916,29 @@ export {
9916
9916
  Wo as builtinFieldEditors,
9917
9917
  Kl as containerProps,
9918
9918
  Ho as createDialog,
9919
- x0 as dataItemProps,
9919
+ xu as dataItemProps,
9920
9920
  l2 as defineTab,
9921
- w0 as dialogFormProps,
9921
+ wu as dialogFormProps,
9922
9922
  ns as dialogProps,
9923
- m0 as fieldProps,
9923
+ mu as fieldProps,
9924
9924
  Qa as formInstanceKey,
9925
9925
  Za as formModelKey,
9926
- b0 as formProps,
9926
+ bu as formProps,
9927
9927
  tt as getSizeValue,
9928
9928
  Wl as headerProps,
9929
9929
  zl as iconProps,
9930
9930
  Dl as iconSizeMap,
9931
- X0 as inputUnitProps,
9932
- z0 as listProps,
9931
+ Xu as inputUnitProps,
9932
+ zu as listProps,
9933
9933
  o2 as makeInstaller,
9934
9934
  ys as maskProps,
9935
9935
  es as panelProps,
9936
9936
  on as parseSize,
9937
- p0 as registerFieldEditors,
9937
+ pu as registerFieldEditors,
9938
9938
  Rt as sharedFilterOptions,
9939
- B0 as startupProps,
9940
- _0 as tabsProps,
9941
- L0 as testProps,
9939
+ Bu as startupProps,
9940
+ _u as tabsProps,
9941
+ Lu as testProps,
9942
9942
  lr as toObjectProps,
9943
9943
  jo as useAdapter,
9944
9944
  a2 as useDefer,