@fox-js/foxui-pc 4.0.1-66 → 4.0.1-67

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
@@ -1,11 +1,11 @@
1
- import { inject as De, provide as Re, onUnmounted as Ge, getCurrentInstance as Pe, effectScope as ra, watchEffect as Ln, nextTick as tt, customRef as aa, reactive as Jt, isReactive as lt, toRaw as me, watch as re, computed as x, toRef as ht, ref as L, defineComponent as Sn, onMounted as Oe, onBeforeUnmount as Ot, openBlock as Z, createElementBlock as Q, normalizeClass as fe, normalizeStyle as ye, renderSlot as he, createElementVNode as le, unref as Qe, createBlock as ve, resolveDynamicComponent as gt, createCommentVNode as ne, toDisplayString as ce, shallowRef as Ul, markRaw as oa, triggerRef as Je, h as H, onBeforeMount as sa, resolveComponent as we, Transition as qn, withCtx as oe, withDirectives as Mn, vShow as _n, createVNode as ae, render as Xl, createTextVNode as mt, mergeProps as ia, Fragment as jt, renderList as Wt, cloneVNode as ua, toRefs as ca, Teleport as fa } from "vue";
1
+ import { inject as De, provide as Re, onUnmounted as Ge, getCurrentInstance as Pe, effectScope as ra, watchEffect as Ln, nextTick as tt, customRef as aa, reactive as Jt, isReactive as lt, toRaw as me, watch as re, computed as x, toRef as ht, ref as L, defineComponent as Sn, onMounted as Oe, onBeforeUnmount as Ot, openBlock as Z, createElementBlock as Q, normalizeClass as fe, normalizeStyle as ye, renderSlot as he, createElementVNode as le, unref as Qe, createBlock as ve, resolveDynamicComponent as gt, createCommentVNode as ne, toDisplayString as ce, shallowRef as Ul, markRaw as oa, triggerRef as Je, h as H, onBeforeMount as sa, resolveComponent as we, Transition as qn, withCtx as oe, withDirectives as Mn, vShow as _n, createVNode as ae, render as Xl, createTextVNode as mt, mergeProps as ia, Fragment as jt, renderList as zt, cloneVNode as ua, toRefs as ca, Teleport as fa } from "vue";
2
2
  import ot from "@fox-js/validator";
3
- import { ElAffix as da, ElAlert as ha, ElAutocomplete as Zl, ElAutoResizer as ga, ElAvatar as ma, ElBacktop as pa, ElBadge as ya, ElBreadcrumb as va, ElBreadcrumbItem as ba, ElButton as Jl, ElButtonGroup as xa, ElCalendar as wa, ElCard as Sa, ElCarousel as $a, ElCarouselItem as Ta, ElCascader as Ql, ElCascaderPanel as Ea, ElCheckTag as Ca, ElCheckbox as kt, ElCheckboxButton as er, ElCheckboxGroup as Bn, ElCol as Na, ElCollapse as Ia, ElCollapseItem as Aa, ElCollapseTransition as Va, ElColorPicker as Pa, ElConfigProvider as ka, ElContainer as Da, ElAside as Ra, ElFooter as Oa, ElHeader as Fa, ElMain as La, ElDatePicker as tr, ElDescriptions as qa, ElDescriptionsItem as Ma, ElDialog as nr, ElDivider as _a, ElDrawer as Ba, ElDropdown as Ha, ElDropdownItem as ja, ElDropdownMenu as Wa, ElEmpty as za, ElForm as Ka, ElFormItem as Ya, ElIcon as Tt, ElImage as Ga, ElImageViewer as Ua, ElInput as Hn, ElInputNumber as lr, ElLink as Xa, ElMenu as Za, ElSubMenu as Ja, ElMenuItem as Qa, ElMenuItemGroup as eo, ElPageHeader as to, ElPagination as rr, ElPopconfirm as no, ElPopover as jn, ElPopper as lo, ElProgress as ro, ElRadio as $n, ElRadioButton as ar, ElRadioGroup as or, ElRate as sr, ElResult as ao, ElRow as oo, ElScrollbar as so, ElSelect as ir, ElOption as Vt, ElOptionGroup as ur, ElSelectV2 as io, ElSkeleton as uo, ElSkeletonItem as co, ElSlider as fo, ElSpace as ho, ElSteps as go, ElStep as mo, ElSwitch as cr, ElTable as fr, ElTableColumn as Wn, ElTableV2 as po, ElTabs as yo, ElTabPane as vo, ElTag as bo, ElTimePicker as dr, ElTimeSelect as hr, ElTimeline as xo, ElTimelineItem as wo, ElTooltip as gr, ElTransfer as So, ElTree as $o, ElTreeSelect as mr, ElTreeV2 as To, ElUpload as Eo, ElInfiniteScroll as Co, ElLoading as No, ElMessage as Io, ElMessageBox as Ao, ElNotification as Vo, ElPopoverDirective as Po } from "element-plus";
4
- import { ElAffix as mg, ElAlert as pg, ElAside as yg, ElAutoResizer as vg, ElAutocomplete as bg, ElAvatar as xg, ElBacktop as wg, ElBadge as Sg, ElBreadcrumb as $g, ElBreadcrumbItem as Tg, ElButton as Eg, ElButtonGroup as Cg, ElCalendar as Ng, ElCard as Ig, ElCarousel as Ag, ElCarouselItem as Vg, ElCascader as Pg, ElCascaderPanel as kg, ElCheckTag as Dg, ElCheckbox as Rg, ElCheckboxButton as Og, ElCheckboxGroup as Fg, ElCol as Lg, ElCollapse as qg, ElCollapseItem as Mg, ElCollapseTransition as _g, ElColorPicker as Bg, ElConfigProvider as Hg, ElContainer as jg, ElDatePicker as Wg, ElDescriptions as zg, ElDescriptionsItem as Kg, ElDialog as Yg, ElDivider as Gg, ElDrawer as Ug, ElDropdown as Xg, ElDropdownItem as Zg, ElDropdownMenu as Jg, ElEmpty as Qg, ElFooter as em, ElForm as tm, ElFormItem as nm, ElHeader as lm, ElIcon as rm, ElImage as am, ElImageViewer as om, ElInput as sm, ElInputNumber as im, ElLink as um, ElMain as cm, ElMenu as fm, ElMenuItem as dm, ElMenuItemGroup as hm, ElOption as gm, ElOptionGroup as mm, ElPageHeader as pm, ElPagination as ym, ElPopconfirm as vm, ElPopover as bm, ElPopper as xm, ElProgress as wm, ElRadio as Sm, ElRadioButton as $m, ElRadioGroup as Tm, ElRate as Em, ElResult as Cm, ElRow as Nm, ElScrollbar as Im, ElSelect as Am, ElSelectV2 as Vm, ElSkeleton as Pm, ElSkeletonItem as km, ElSlider as Dm, ElSpace as Rm, ElStep as Om, ElSteps as Fm, ElSubMenu as Lm, ElSwitch as qm, ElTabPane as Mm, ElTable as _m, ElTableColumn as Bm, ElTableV2 as Hm, ElTabs as jm, ElTag as Wm, ElTimePicker as zm, ElTimeSelect as Km, ElTimeline as Ym, ElTimelineItem as Gm, ElTooltip as Um, ElTransfer as Xm, ElTree as Zm, ElTreeSelect as Jm, ElTreeV2 as Qm, ElUpload as ep } from "element-plus";
3
+ import { ElAffix as da, ElAlert as ha, ElAutocomplete as Zl, ElAutoResizer as ga, ElAvatar as ma, ElBacktop as pa, ElBadge as ya, ElBreadcrumb as va, ElBreadcrumbItem as ba, ElButton as Jl, ElButtonGroup as xa, ElCalendar as wa, ElCard as Sa, ElCarousel as $a, ElCarouselItem as Ta, ElCascader as Ql, ElCascaderPanel as Ea, ElCheckTag as Ca, ElCheckbox as kt, ElCheckboxButton as er, ElCheckboxGroup as Bn, ElCol as Na, ElCollapse as Ia, ElCollapseItem as Aa, ElCollapseTransition as Va, ElColorPicker as Pa, ElConfigProvider as ka, ElContainer as Da, ElAside as Ra, ElFooter as Oa, ElHeader as Fa, ElMain as La, ElDatePicker as tr, ElDescriptions as qa, ElDescriptionsItem as Ma, ElDialog as nr, ElDivider as _a, ElDrawer as Ba, ElDropdown as Ha, ElDropdownItem as ja, ElDropdownMenu as za, ElEmpty as Wa, ElForm as Ka, ElFormItem as Ya, ElIcon as Tt, ElImage as Ga, ElImageViewer as Ua, ElInput as Hn, ElInputNumber as lr, ElLink as Xa, ElMenu as Za, ElSubMenu as Ja, ElMenuItem as Qa, ElMenuItemGroup as eo, ElPageHeader as to, ElPagination as rr, ElPopconfirm as no, ElPopover as jn, ElPopper as lo, ElProgress as ro, ElRadio as $n, ElRadioButton as ar, ElRadioGroup as or, ElRate as sr, ElResult as ao, ElRow as oo, ElScrollbar as so, ElSelect as ir, ElOption as Vt, ElOptionGroup as ur, ElSelectV2 as io, ElSkeleton as uo, ElSkeletonItem as co, ElSlider as fo, ElSpace as ho, ElSteps as go, ElStep as mo, ElSwitch as cr, ElTable as fr, ElTableColumn as zn, ElTableV2 as po, ElTabs as yo, ElTabPane as vo, ElTag as bo, ElTimePicker as dr, ElTimeSelect as hr, ElTimeline as xo, ElTimelineItem as wo, ElTooltip as gr, ElTransfer as So, ElTree as $o, ElTreeSelect as mr, ElTreeV2 as To, ElUpload as Eo, ElInfiniteScroll as Co, ElLoading as No, ElMessage as Io, ElMessageBox as Ao, ElNotification as Vo, ElPopoverDirective as Po } from "element-plus";
4
+ import { ElAffix as mg, ElAlert as pg, ElAside as yg, ElAutoResizer as vg, ElAutocomplete as bg, ElAvatar as xg, ElBacktop as wg, ElBadge as Sg, ElBreadcrumb as $g, ElBreadcrumbItem as Tg, ElButton as Eg, ElButtonGroup as Cg, ElCalendar as Ng, ElCard as Ig, ElCarousel as Ag, ElCarouselItem as Vg, ElCascader as Pg, ElCascaderPanel as kg, ElCheckTag as Dg, ElCheckbox as Rg, ElCheckboxButton as Og, ElCheckboxGroup as Fg, ElCol as Lg, ElCollapse as qg, ElCollapseItem as Mg, ElCollapseTransition as _g, ElColorPicker as Bg, ElConfigProvider as Hg, ElContainer as jg, ElDatePicker as zg, ElDescriptions as Wg, ElDescriptionsItem as Kg, ElDialog as Yg, ElDivider as Gg, ElDrawer as Ug, ElDropdown as Xg, ElDropdownItem as Zg, ElDropdownMenu as Jg, ElEmpty as Qg, ElFooter as em, ElForm as tm, ElFormItem as nm, ElHeader as lm, ElIcon as rm, ElImage as am, ElImageViewer as om, ElInput as sm, ElInputNumber as im, ElLink as um, ElMain as cm, ElMenu as fm, ElMenuItem as dm, ElMenuItemGroup as hm, ElOption as gm, ElOptionGroup as mm, ElPageHeader as pm, ElPagination as ym, ElPopconfirm as vm, ElPopover as bm, ElPopper as xm, ElProgress as wm, ElRadio as Sm, ElRadioButton as $m, ElRadioGroup as Tm, ElRate as Em, ElResult as Cm, ElRow as Nm, ElScrollbar as Im, ElSelect as Am, ElSelectV2 as Vm, ElSkeleton as Pm, ElSkeletonItem as km, ElSlider as Dm, ElSpace as Rm, ElStep as Om, ElSteps as Fm, ElSubMenu as Lm, ElSwitch as qm, ElTabPane as Mm, ElTable as _m, ElTableColumn as Bm, ElTableV2 as Hm, ElTabs as jm, ElTag as zm, ElTimePicker as Wm, ElTimeSelect as Km, ElTimeline as Ym, ElTimelineItem as Gm, ElTooltip as Um, ElTransfer as Xm, ElTree as Zm, ElTreeSelect as Jm, ElTreeV2 as Qm, ElUpload as ep } from "element-plus";
5
5
  import { ArrowUp as Qt, Download as ko, RefreshLeft as Do, Setting as Ro, Close as pr } from "@element-plus/icons-vue";
6
- import { useFoxI18n as ze } from "@fox-js/i18n";
6
+ import { useFoxI18n as We } from "@fox-js/i18n";
7
7
  /*!
8
- * @fox-js/foxui-desktop v4.0.0 Wed Aug 30 2023 08:50:30 GMT+0800 (中国标准时间)
8
+ * @fox-js/foxui-desktop v4.0.0 Thu Aug 31 2023 15:07:36 GMT+0800 (中国标准时间)
9
9
  */
10
10
  const Ft = window, Oo = typeof window < "u";
11
11
  function Fo() {
@@ -24,7 +24,7 @@ const Lo = Fo();
24
24
  */
25
25
  function Kt(e, t = "0") {
26
26
  let l = 0, n = -1;
27
- e[0] == "-" && (l++, n = 1, e = e.substring(1), e.length), t[0] == "-" && (l++, n = 2, t = t.substring(1), t.length), e = Te(e), t = Te(t), [e, t] = zn(Te(e), Te(t)), l == 1 && (n == 1 ? e = cn(e) : t = cn(t));
27
+ e[0] == "-" && (l++, n = 1, e = e.substring(1), e.length), t[0] == "-" && (l++, n = 2, t = t.substring(1), t.length), e = Te(e), t = Te(t), [e, t] = Wn(Te(e), Te(t)), l == 1 && (n == 1 ? e = cn(e) : t = cn(t));
28
28
  let r = yr(e, t);
29
29
  return l ? l == 2 ? "-" + Te(r) : e.length < r.length ? Te(r.substring(1)) : "-" + Te(cn(r)) : Te(r);
30
30
  }
@@ -41,12 +41,12 @@ function Te(e) {
41
41
  t[0] = t[0].substring(1);
42
42
  return t[0] + (t[1] ? "." + t[1] : "");
43
43
  }
44
- function zn(e, t) {
44
+ function Wn(e, t) {
45
45
  let l = e.split("."), n = t.split("."), r = l[0].length, a = n[0].length;
46
46
  return r > a ? n[0] = new Array(Math.abs(r - a) + 1).join("0") + (n[0] ? n[0] : "") : l[0] = new Array(Math.abs(r - a) + 1).join("0") + (l[0] ? l[0] : ""), r = l[1] ? l[1].length : 0, a = n[1] ? n[1].length : 0, (r || a) && (r > a ? n[1] = (n[1] ? n[1] : "") + new Array(Math.abs(r - a) + 1).join("0") : l[1] = (l[1] ? l[1] : "") + new Array(Math.abs(r - a) + 1).join("0")), e = l[0] + (l[1] ? "." + l[1] : ""), t = n[0] + (n[1] ? "." + n[1] : ""), [e, t];
47
47
  }
48
48
  function yr(e, t) {
49
- [e, t] = zn(e, t);
49
+ [e, t] = Wn(e, t);
50
50
  let l = "", n = 0;
51
51
  for (let r = e.length - 1; r >= 0; r--) {
52
52
  if (e[r] === ".") {
@@ -208,7 +208,7 @@ function al(e, t) {
208
208
  return -1;
209
209
  if (e[0] != "-" && t[0] == "-")
210
210
  return 1;
211
- if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), l = !0), [e, t] = zn(e, t), e.localeCompare(t) == 0)
211
+ if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), l = !0), [e, t] = Wn(e, t), e.localeCompare(t) == 0)
212
212
  return 0;
213
213
  for (let n = 0; n < e.length; n++)
214
214
  if (e[n] != t[n])
@@ -357,11 +357,11 @@ function Bo(e) {
357
357
  let n = t.replace(/[^\d\.-]/g, "");
358
358
  return `${l}${n}`;
359
359
  }
360
- const dh = Lo, hh = Array.isArray, gh = (e) => Yn(e) === "[object Map]", mh = (e) => Yn(e) === "[object Set]", ph = (e) => e instanceof Date, sl = (e) => typeof e == "function", Ho = (e) => typeof e == "string", yh = (e) => typeof e == "symbol", ft = (e) => e !== null && typeof e == "object", vh = (e) => ft(e) && sl(e.then) && sl(e.catch), jo = Object.prototype.toString, Yn = (e) => jo.call(e), il = (e) => Yn(e) === "[object Object]", Wo = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
360
+ const dh = Lo, hh = Array.isArray, gh = (e) => Yn(e) === "[object Map]", mh = (e) => Yn(e) === "[object Set]", ph = (e) => e instanceof Date, sl = (e) => typeof e == "function", Ho = (e) => typeof e == "string", yh = (e) => typeof e == "symbol", ft = (e) => e !== null && typeof e == "object", vh = (e) => ft(e) && sl(e.then) && sl(e.catch), jo = Object.prototype.toString, Yn = (e) => jo.call(e), il = (e) => Yn(e) === "[object Object]", zo = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
361
361
  function bh(e) {
362
- return e.__esModule || Wo && e[Symbol.toStringTag] === "Module";
362
+ return e.__esModule || zo && e[Symbol.toStringTag] === "Module";
363
363
  }
364
- const zo = typeof Promise < "u" && Promise.toString().indexOf("[native code]") !== -1;
364
+ const Wo = typeof Promise < "u" && Promise.toString().indexOf("[native code]") !== -1;
365
365
  function bt(...e) {
366
366
  let t = e[0] !== void 0 && e[0] !== null ? e[0] : {}, l = 1, n = e.length, r = !1;
367
367
  for (typeof t == "boolean" && (r = t, t = e[l] ?? {}, l++), typeof t != "object" && (t = {}); l < n; l++)
@@ -416,7 +416,7 @@ function ul(e, t, l = !1) {
416
416
  }
417
417
  return e;
418
418
  }
419
- const dn = zo ? Promise.resolve() : null;
419
+ const dn = Wo ? Promise.resolve() : null;
420
420
  function xh(e, ...t) {
421
421
  dn !== null ? t && t.length > 0 ? dn.then(() => {
422
422
  e(t);
@@ -2048,8 +2048,8 @@ const xs = [
2048
2048
  Ba,
2049
2049
  Ha,
2050
2050
  ja,
2051
- Wa,
2052
2051
  za,
2052
+ Wa,
2053
2053
  Ka,
2054
2054
  Ya,
2055
2055
  Tt,
@@ -2087,7 +2087,7 @@ const xs = [
2087
2087
  mo,
2088
2088
  cr,
2089
2089
  fr,
2090
- Wn,
2090
+ zn,
2091
2091
  po,
2092
2092
  yo,
2093
2093
  vo,
@@ -2800,7 +2800,7 @@ const Rs = (e, t, l, n = !1) => ({
2800
2800
  function R() {
2801
2801
  a.emit("back");
2802
2802
  }
2803
- function W() {
2803
+ function z() {
2804
2804
  a.emit("click-title");
2805
2805
  }
2806
2806
  function _() {
@@ -2826,7 +2826,7 @@ const Rs = (e, t, l, n = !1) => ({
2826
2826
  mRightIcon: C,
2827
2827
  hasRightIcon: V,
2828
2828
  handleLeft: R,
2829
- handleCenter: W,
2829
+ handleCenter: z,
2830
2830
  handleRight: _,
2831
2831
  handleRightText: v
2832
2832
  };
@@ -3001,7 +3001,7 @@ function js(e, t, l = !1) {
3001
3001
  }
3002
3002
  };
3003
3003
  }
3004
- const { componentName: Ws, create: zs, scope: qh } = te("footer-bar"), Ks = zs(js(Ws));
3004
+ const { componentName: zs, create: Ws, scope: qh } = te("footer-bar"), Ks = Ws(js(zs));
3005
3005
  function Ys(e, t, l, n, r, a) {
3006
3006
  return Z(), Q("view", {
3007
3007
  ref: "footerBarRef",
@@ -3290,10 +3290,10 @@ function li(e, t, l) {
3290
3290
  [`${e}__header-collapse-icon`]: !0,
3291
3291
  "is-expand": !m.value,
3292
3292
  "is-collapse": m.value
3293
- })), W = L(), _ = L(), v = x(() => w.value || Ee(n.height) || ""), m = L(!1), w = L(""), I = L(!1);
3293
+ })), z = L(), _ = L(), v = x(() => w.value || Ee(n.height) || ""), m = L(!1), w = L(""), I = L(!1);
3294
3294
  let F = -1;
3295
3295
  const K = (q, Y = !0) => {
3296
- const U = W.value;
3296
+ const U = z.value;
3297
3297
  if (U && m.value !== q) {
3298
3298
  if (F = F === -1 ? pn(U) : F, I.value = !0, Y)
3299
3299
  if (U.style["will-change"] = "height", U.ontransitionend = function() {
@@ -3355,7 +3355,7 @@ function li(e, t, l) {
3355
3355
  }), Ge(() => {
3356
3356
  O?.disconnect();
3357
3357
  });
3358
- const z = (q, Y, U, k) => {
3358
+ const W = (q, Y, U, k) => {
3359
3359
  const G = { ...p.value };
3360
3360
  return Y === 0 && (G[`${f}__first`] = !0), U >= k - 1 && (G[`${f}__last`] = !0), H("div", { ref: D, key: `${Y}`, class: G, style: b.value }, q);
3361
3361
  };
@@ -3418,14 +3418,14 @@ function li(e, t, l) {
3418
3418
  E();
3419
3419
  const U = r.slots.default ? r.slots.default() : [];
3420
3420
  if (n.type === "grid") {
3421
- const k = z(U, Y++, 0, U.length);
3421
+ const k = W(U, Y++, 0, U.length);
3422
3422
  q.push(k);
3423
3423
  } else if (n.type === "flow") {
3424
- const k = z(U, Y++, 0, U.length);
3424
+ const k = W(U, Y++, 0, U.length);
3425
3425
  q.push(k);
3426
3426
  } else
3427
3427
  for (let k = 0; k < U.length; k++) {
3428
- const G = U[k], B = z([G], Y++, k, U.length);
3428
+ const G = U[k], B = W([G], Y++, k, U.length);
3429
3429
  q.push(B);
3430
3430
  }
3431
3431
  if (S.value) {
@@ -3433,7 +3433,7 @@ function li(e, t, l) {
3433
3433
  return H(
3434
3434
  k,
3435
3435
  {
3436
- ref: W,
3436
+ ref: z,
3437
3437
  prop: n.name,
3438
3438
  class: { [`${f}`]: !0, "is-collapse": I.value },
3439
3439
  style: y.value
@@ -3731,8 +3731,8 @@ const Or = /* @__PURE__ */ Be(yi, [["render", xi]]), { componentName: Mt, create
3731
3731
  if (!en || V === !1 || !C)
3732
3732
  return;
3733
3733
  a.value = !0;
3734
- const W = Dr(e.reference);
3735
- i.value = W.width, c.value = W.height, setTimeout(() => {
3734
+ const z = Dr(e.reference);
3735
+ i.value = z.width, c.value = z.height, setTimeout(() => {
3736
3736
  if (!y.value)
3737
3737
  return;
3738
3738
  const _ = fi(e.reference), v = document.documentElement.clientWidth || document.body.clientWidth, m = y.value.offsetWidth, w = y.value.offsetHeight;
@@ -3868,7 +3868,7 @@ const kn = {}, Ci = new Ei(), pt = /* @__PURE__ */ new Map(), Dn = (e) => {
3868
3868
  console.warn("[FoxUI HintText]: msg不能为空");
3869
3869
  return;
3870
3870
  }
3871
- }, zt = {
3871
+ }, Wt = {
3872
3872
  /**
3873
3873
  * 显示
3874
3874
  * @param reference
@@ -3892,7 +3892,7 @@ const kn = {}, Ci = new Ei(), pt = /* @__PURE__ */ new Map(), Dn = (e) => {
3892
3892
  * @param app
3893
3893
  */
3894
3894
  install(e) {
3895
- e.config.globalProperties.$hintText = zt;
3895
+ e.config.globalProperties.$hintText = Wt;
3896
3896
  }
3897
3897
  }, { componentName: ml, create: Vi } = te("item"), Pi = Vi({
3898
3898
  // 根元素继承属性
@@ -3926,7 +3926,7 @@ const kn = {}, Ci = new Ei(), pt = /* @__PURE__ */ new Map(), Dn = (e) => {
3926
3926
  [`${s}__stretch`]: e.span === "stretch",
3927
3927
  [`${s}__input--border`]: e.hasBorder
3928
3928
  };
3929
- if (k[e.errorMarkClass] = !!W.value, k[e.warnMarkClass] = !!V.value, k[e.infoMarkClass] = !!A.value, typeof o.value == "function") {
3929
+ if (k[e.errorMarkClass] = !!z.value, k[e.warnMarkClass] = !!V.value, k[e.infoMarkClass] = !!A.value, typeof o.value == "function") {
3930
3930
  const G = o.value(l);
3931
3931
  k[G] = !0;
3932
3932
  } else if (typeof o.value == "string") {
@@ -4011,7 +4011,7 @@ const kn = {}, Ci = new Ei(), pt = /* @__PURE__ */ new Map(), Dn = (e) => {
4011
4011
  o.value = k;
4012
4012
  }
4013
4013
  });
4014
- const A = x(() => e.infoTip || T.infoTip), C = x(() => e.infoIcon || T.infoIcon), V = x(() => e.warnTip || T.warnTip), R = x(() => e.warnIcon || T.warnIcon), W = x(() => e.errorTip || T.errorTip), _ = x(() => e.errorIcon || T.errorIcon), v = x(() => W.value ? "error" : V.value ? "warn" : A.value ? "info" : ""), m = x(() => v.value.length > 0), w = x(() => v.value === "error" ? W.value : v.value === "warn" ? V.value : v.value === "info" ? A.value : ""), I = x(() => v.value === "error" ? _.value : v.value === "warn" ? R.value : v.value === "info" ? C.value : null), F = x(() => {
4014
+ const A = x(() => e.infoTip || T.infoTip), C = x(() => e.infoIcon || T.infoIcon), V = x(() => e.warnTip || T.warnTip), R = x(() => e.warnIcon || T.warnIcon), z = x(() => e.errorTip || T.errorTip), _ = x(() => e.errorIcon || T.errorIcon), v = x(() => z.value ? "error" : V.value ? "warn" : A.value ? "info" : ""), m = x(() => v.value.length > 0), w = x(() => v.value === "error" ? z.value : v.value === "warn" ? V.value : v.value === "info" ? A.value : ""), I = x(() => v.value === "error" ? _.value : v.value === "warn" ? R.value : v.value === "info" ? C.value : null), F = x(() => {
4015
4015
  let k = {
4016
4016
  [`${s}__tip`]: !0,
4017
4017
  [`${s}__tip--${v.value}`]: !0
@@ -4023,11 +4023,11 @@ const kn = {}, Ci = new Ei(), pt = /* @__PURE__ */ new Map(), Dn = (e) => {
4023
4023
  }), $ = () => H(I.value, { width: 12, height: 12 }), P = x(() => t.slots.fixedTip), j = x(() => ({
4024
4024
  [`${s}__fixed-tip`]: !0
4025
4025
  })), O = L();
4026
- let z = "";
4026
+ let W = "";
4027
4027
  re(
4028
4028
  [() => e.hintVisible, () => e.hintText, () => e.hintType, () => e.hintProps],
4029
4029
  ([k, G, B, M]) => {
4030
- O.value && (k && !pe(G) ? z ? zt.show(O.value, G, { ...M, id: z, type: B }, !0) : z = zt.show(O.value, G, { ...M, type: B }, !0) : zt.hide(z));
4030
+ O.value && (k && !pe(G) ? W ? Wt.show(O.value, G, { ...M, id: W, type: B }, !0) : W = Wt.show(O.value, G, { ...M, type: B }, !0) : Wt.hide(W));
4031
4031
  }
4032
4032
  );
4033
4033
  let q = null;
@@ -4320,7 +4320,7 @@ const { componentName: Bi, create: Hi, scope: Bh } = te("row-item"), ji = Hi(_i(
4320
4320
  default: !1
4321
4321
  }
4322
4322
  };
4323
- function Wi(e, t, l) {
4323
+ function zi(e, t, l) {
4324
4324
  return {
4325
4325
  // 属性
4326
4326
  props: {
@@ -4344,7 +4344,7 @@ function Wi(e, t, l) {
4344
4344
  }
4345
4345
  },
4346
4346
  n.prop ?? r.attrs.name
4347
- ), { toLocaleRefs: i } = ze(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
4347
+ ), { toLocaleRefs: i } = We(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
4348
4348
  [y]: !0,
4349
4349
  [`${y}__disabled`]: a.value,
4350
4350
  [`${y}__readonly`]: s.value
@@ -4373,7 +4373,7 @@ function Wi(e, t, l) {
4373
4373
  }, 150));
4374
4374
  }, C = () => {
4375
4375
  T && (clearTimeout(T), E.value = !1, T = null);
4376
- }, V = x(() => E.value || h.value), R = x(() => E.value ? f.value : g.value), W = x(() => tn(n.unit) > 0), _ = L();
4376
+ }, V = x(() => E.value || h.value), R = x(() => E.value ? f.value : g.value), z = x(() => tn(n.unit) > 0), _ = L();
4377
4377
  return Ie({
4378
4378
  //使 input 获取焦点
4379
4379
  focus: () => {
@@ -4407,7 +4407,7 @@ function Wi(e, t, l) {
4407
4407
  onMouseover: A,
4408
4408
  onMouseleave: C
4409
4409
  }, w = {};
4410
- r.slots.prepend && (w.prepend = r.slots.prepend), r.slots.append && (w.append = r.slots.append), r.slots.prefix && (w.prefix = r.slots.prefix), r.slots.suffix ? w.suffix = r.slots.suffix : W.value && (w.suffix = () => [n.unit]);
4410
+ r.slots.prepend && (w.prepend = r.slots.prepend), r.slots.append && (w.append = r.slots.append), r.slots.prefix && (w.prefix = r.slots.prefix), r.slots.suffix ? w.suffix = r.slots.suffix : z.value && (w.suffix = () => [n.unit]);
4411
4411
  const I = [], F = H(Hn, m, w);
4412
4412
  I.push(F);
4413
4413
  const K = {
@@ -4425,7 +4425,7 @@ function Wi(e, t, l) {
4425
4425
  }
4426
4426
  };
4427
4427
  }
4428
- const { componentName: zi, create: Ki, scope: Yi } = te("input-item"), Gi = Ki(Wi(zi, Yi, Ae));
4428
+ const { componentName: Wi, create: Ki, scope: Yi } = te("input-item"), Gi = Ki(zi(Wi, Yi, Ae));
4429
4429
  function ut(e, t) {
4430
4430
  return typeof e.textKey == "string" && e.textKey.length > 0 ? t[e.textKey] : t.text;
4431
4431
  }
@@ -4627,8 +4627,8 @@ function Qi(e, t, l) {
4627
4627
  }
4628
4628
  },
4629
4629
  n.prop ?? r.attrs.name
4630
- ), { toLocaleRefs: i } = ze(t), c = i(n, ["placeholder"]), u = L(null), f = L([]), y = (O, z, q, Y = !0) => {
4631
- const U = qr(n, O, z, q);
4630
+ ), { toLocaleRefs: i } = We(t), c = i(n, ["placeholder"]), u = L(null), f = L([]), y = (O, W, q, Y = !0) => {
4631
+ const U = qr(n, O, W, q);
4632
4632
  if (U === null) {
4633
4633
  if (f.value === null || f.value.length === 0)
4634
4634
  return;
@@ -4660,9 +4660,9 @@ function Qi(e, t, l) {
4660
4660
  "lazyLoad",
4661
4661
  je.Near,
4662
4662
  (O) => ie(O)
4663
- ), h = Zi(), S = async (O, z) => {
4663
+ ), h = Zi(), S = async (O, W) => {
4664
4664
  if (O) {
4665
- const q = await h.load("select", O, z);
4665
+ const q = await h.load("select", O, W);
4666
4666
  if (q.length > 0)
4667
4667
  if (typeof q[0] == "string") {
4668
4668
  let k = q.map((G) => Ji(G));
@@ -4675,8 +4675,8 @@ function Qi(e, t, l) {
4675
4675
  };
4676
4676
  re(
4677
4677
  [() => n.source, () => n.params],
4678
- ([O, z]) => {
4679
- S(O, z);
4678
+ ([O, W]) => {
4679
+ S(O, W);
4680
4680
  },
4681
4681
  { immediate: !g.value }
4682
4682
  );
@@ -4684,8 +4684,8 @@ function Qi(e, t, l) {
4684
4684
  const D = () => {
4685
4685
  N || (N = !0, S(n.source, n.params));
4686
4686
  };
4687
- re([() => d.value, () => n.modelValue], ([O, z]) => {
4688
- y(z, n.valueType, O, !1);
4687
+ re([() => d.value, () => n.modelValue], ([O, W]) => {
4688
+ y(W, n.valueType, O, !1);
4689
4689
  });
4690
4690
  let E = null, T = L(!1);
4691
4691
  typeof n.remoteMethod == "function" && (E = async (O) => {
@@ -4695,10 +4695,10 @@ function Qi(e, t, l) {
4695
4695
  }
4696
4696
  T.value = !0;
4697
4697
  try {
4698
- const z = await n.remoteMethod(O);
4699
- z && (b.value = z);
4700
- } catch (z) {
4701
- b.value = null, console.error(z);
4698
+ const W = await n.remoteMethod(O);
4699
+ W && (b.value = W);
4700
+ } catch (W) {
4701
+ b.value = null, console.error(W);
4702
4702
  }
4703
4703
  T.value = !1;
4704
4704
  });
@@ -4710,16 +4710,16 @@ function Qi(e, t, l) {
4710
4710
  }
4711
4711
  T.value = !0;
4712
4712
  try {
4713
- const z = await n.filterMethod(O, p.value);
4714
- z && (b.value = z);
4715
- } catch (z) {
4716
- b.value = null, console.error(z);
4713
+ const W = await n.filterMethod(O, p.value);
4714
+ W && (b.value = W);
4715
+ } catch (W) {
4716
+ b.value = null, console.error(W);
4717
4717
  }
4718
4718
  T.value = !1;
4719
4719
  });
4720
4720
  const C = L(!1), V = e, R = x(() => ({
4721
4721
  [V]: !0
4722
- })), W = (O) => {
4722
+ })), z = (O) => {
4723
4723
  n.allowCreate ? (o("update:modelValue", O), o("change", O), u.value = O) : y(O, "value", d.value, !0);
4724
4724
  };
4725
4725
  let _ = ue(n, "hintText"), v = L(!1);
@@ -4738,12 +4738,12 @@ function Qi(e, t, l) {
4738
4738
  F.value = O, o("visible-change", O), O || o("selected");
4739
4739
  }, $ = (O) => {
4740
4740
  o("remove-tag", O);
4741
- }, P = (O, z) => {
4741
+ }, P = (O, W) => {
4742
4742
  const q = [];
4743
4743
  return O.forEach((Y, U) => {
4744
4744
  const k = Fr(n, Y);
4745
4745
  if (Array.isArray(k) && k.length > 0) {
4746
- const G = P(k, z), B = ut(n, Y), X = {
4746
+ const G = P(k, W), B = ut(n, Y), X = {
4747
4747
  key: `${B}_${U}`,
4748
4748
  label: B
4749
4749
  };
@@ -4755,8 +4755,8 @@ function Qi(e, t, l) {
4755
4755
  disabled: M,
4756
4756
  value: G
4757
4757
  };
4758
- if (typeof z == "function")
4759
- q.push(H(Vt, J, { default: () => z(Y) }));
4758
+ if (typeof W == "function")
4759
+ q.push(H(Vt, J, { default: () => W(Y) }));
4760
4760
  else if (n.optionType === "item") {
4761
4761
  const $e = H("span", {
4762
4762
  class: { "fox-select-item__option-left": !0 }
@@ -4779,7 +4779,7 @@ function Qi(e, t, l) {
4779
4779
  j?.value.blur();
4780
4780
  }
4781
4781
  }), () => {
4782
- const z = {
4782
+ const W = {
4783
4783
  ...r.attrs,
4784
4784
  ref: j,
4785
4785
  class: R.value,
@@ -4791,16 +4791,16 @@ function Qi(e, t, l) {
4791
4791
  "value-key": n.valueKey,
4792
4792
  "allow-create": n.allowCreate,
4793
4793
  onClear: I,
4794
- onChange: W,
4794
+ onChange: z,
4795
4795
  onFocus: m,
4796
4796
  onBlur: w,
4797
4797
  onVisibleChange: K,
4798
4798
  onRemoveTag: $
4799
4799
  };
4800
- typeof E == "function" && (z["remote-method"] = E, z.loading = T.value), typeof A == "function" && (z["filter-method"] = A, z.loading = T.value);
4800
+ typeof E == "function" && (W["remote-method"] = E, W.loading = T.value), typeof A == "function" && (W["filter-method"] = A, W.loading = T.value);
4801
4801
  const q = {};
4802
4802
  r.slots.prefix && (q.prefix = r.slots.prefix), r.slots.empty && (q.empty = r.slots.empty), r.slots.options ? q.default = r.slots.options : q.default = () => P(d.value, r.slots.option);
4803
- const Y = [], U = H(ir, z, q);
4803
+ const Y = [], U = H(ir, W, q);
4804
4804
  Y.push(U);
4805
4805
  const k = {
4806
4806
  default: () => Y
@@ -4847,7 +4847,7 @@ var Mr = { exports: {} };
4847
4847
  } }, E = "en", T = {};
4848
4848
  T[E] = S;
4849
4849
  var A = function(v) {
4850
- return v instanceof W;
4850
+ return v instanceof z;
4851
4851
  }, C = function v(m, w, I) {
4852
4852
  var F;
4853
4853
  if (!m)
@@ -4867,12 +4867,12 @@ var Mr = { exports: {} };
4867
4867
  if (A(v))
4868
4868
  return v.clone();
4869
4869
  var w = typeof m == "object" ? m : {};
4870
- return w.date = v, w.args = arguments, new W(w);
4870
+ return w.date = v, w.args = arguments, new z(w);
4871
4871
  }, R = D;
4872
4872
  R.l = C, R.i = A, R.w = function(v, m) {
4873
4873
  return V(v, { locale: m.$L, utc: m.$u, x: m.$x, $offset: m.$offset });
4874
4874
  };
4875
- var W = function() {
4875
+ var z = function() {
4876
4876
  function v(w) {
4877
4877
  this.$L = C(w.locale, null, !0), this.parse(w);
4878
4878
  }
@@ -4921,15 +4921,15 @@ var Mr = { exports: {} };
4921
4921
  return K ? M : M.endOf(c);
4922
4922
  }, j = function(G, B) {
4923
4923
  return R.w(F.toDate()[G].apply(F.toDate("s"), (K ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(B)), F);
4924
- }, O = this.$W, z = this.$M, q = this.$D, Y = "set" + (this.$u ? "UTC" : "");
4924
+ }, O = this.$W, W = this.$M, q = this.$D, Y = "set" + (this.$u ? "UTC" : "");
4925
4925
  switch ($) {
4926
4926
  case p:
4927
4927
  return K ? P(1, 0) : P(31, 11);
4928
4928
  case f:
4929
- return K ? P(1, z) : P(0, z + 1);
4929
+ return K ? P(1, W) : P(0, W + 1);
4930
4930
  case u:
4931
4931
  var U = this.$locale().weekStart || 0, k = (O < U ? O + 7 : O) - U;
4932
- return P(K ? q - k : q + (6 - k), z);
4932
+ return P(K ? q - k : q + (6 - k), W);
4933
4933
  case c:
4934
4934
  case b:
4935
4935
  return j(Y + "Hours", 0);
@@ -4959,9 +4959,9 @@ var Mr = { exports: {} };
4959
4959
  }, m.add = function(w, I) {
4960
4960
  var F, K = this;
4961
4961
  w = Number(w);
4962
- var $ = R.p(I), P = function(z) {
4962
+ var $ = R.p(I), P = function(W) {
4963
4963
  var q = V(K);
4964
- return R.w(q.date(q.date() + Math.round(z * w)), K);
4964
+ return R.w(q.date(q.date() + Math.round(W * w)), K);
4965
4965
  };
4966
4966
  if ($ === f)
4967
4967
  return this.set(f, this.$M + w);
@@ -4979,22 +4979,22 @@ var Mr = { exports: {} };
4979
4979
  var I = this, F = this.$locale();
4980
4980
  if (!this.isValid())
4981
4981
  return F.invalidDate || d;
4982
- var K = w || "YYYY-MM-DDTHH:mm:ssZ", $ = R.z(this), P = this.$H, j = this.$m, O = this.$M, z = F.weekdays, q = F.months, Y = function(B, M, X, J) {
4982
+ var K = w || "YYYY-MM-DDTHH:mm:ssZ", $ = R.z(this), P = this.$H, j = this.$m, O = this.$M, W = F.weekdays, q = F.months, Y = function(B, M, X, J) {
4983
4983
  return B && (B[M] || B(I, K)) || X[M].slice(0, J);
4984
4984
  }, U = function(B) {
4985
4985
  return R.s(P % 12 || 12, B, "0");
4986
4986
  }, k = F.meridiem || function(B, M, X) {
4987
4987
  var J = B < 12 ? "AM" : "PM";
4988
4988
  return X ? J.toLowerCase() : J;
4989
- }, G = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: O + 1, MM: R.s(O + 1, 2, "0"), MMM: Y(F.monthsShort, O, q, 3), MMMM: Y(q, O), D: this.$D, DD: R.s(this.$D, 2, "0"), d: String(this.$W), dd: Y(F.weekdaysMin, this.$W, z, 2), ddd: Y(F.weekdaysShort, this.$W, z, 3), dddd: z[this.$W], H: String(P), HH: R.s(P, 2, "0"), h: U(1), hh: U(2), a: k(P, j, !0), A: k(P, j, !1), m: String(j), mm: R.s(j, 2, "0"), s: String(this.$s), ss: R.s(this.$s, 2, "0"), SSS: R.s(this.$ms, 3, "0"), Z: $ };
4989
+ }, G = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: O + 1, MM: R.s(O + 1, 2, "0"), MMM: Y(F.monthsShort, O, q, 3), MMMM: Y(q, O), D: this.$D, DD: R.s(this.$D, 2, "0"), d: String(this.$W), dd: Y(F.weekdaysMin, this.$W, W, 2), ddd: Y(F.weekdaysShort, this.$W, W, 3), dddd: W[this.$W], H: String(P), HH: R.s(P, 2, "0"), h: U(1), hh: U(2), a: k(P, j, !0), A: k(P, j, !1), m: String(j), mm: R.s(j, 2, "0"), s: String(this.$s), ss: R.s(this.$s, 2, "0"), SSS: R.s(this.$ms, 3, "0"), Z: $ };
4990
4990
  return K.replace(h, function(B, M) {
4991
4991
  return M || G[B] || $.replace(":", "");
4992
4992
  });
4993
4993
  }, m.utcOffset = function() {
4994
4994
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4995
4995
  }, m.diff = function(w, I, F) {
4996
- var K, $ = R.p(I), P = V(w), j = (P.utcOffset() - this.utcOffset()) * n, O = this - P, z = R.m(this, P);
4997
- return z = (K = {}, K[p] = z / 12, K[f] = z, K[y] = z / 3, K[u] = (O - j) / 6048e5, K[c] = (O - j) / 864e5, K[i] = O / r, K[o] = O / n, K[s] = O / l, K)[$] || O, F ? z : R.a(z);
4996
+ var K, $ = R.p(I), P = V(w), j = (P.utcOffset() - this.utcOffset()) * n, O = this - P, W = R.m(this, P);
4997
+ return W = (K = {}, K[p] = W / 12, K[f] = W, K[y] = W / 3, K[u] = (O - j) / 6048e5, K[c] = (O - j) / 864e5, K[i] = O / r, K[o] = O / n, K[s] = O / l, K)[$] || O, F ? W : R.a(W);
4998
4998
  }, m.daysInMonth = function() {
4999
4999
  return this.endOf(f).$D;
5000
5000
  }, m.$locale = function() {
@@ -5015,20 +5015,20 @@ var Mr = { exports: {} };
5015
5015
  }, m.toString = function() {
5016
5016
  return this.$d.toUTCString();
5017
5017
  }, v;
5018
- }(), _ = W.prototype;
5018
+ }(), _ = z.prototype;
5019
5019
  return V.prototype = _, [["$ms", a], ["$s", s], ["$m", o], ["$H", i], ["$W", c], ["$M", f], ["$y", p], ["$D", b]].forEach(function(v) {
5020
5020
  _[v[1]] = function(m) {
5021
5021
  return this.$g(m, v[0], v[1]);
5022
5022
  };
5023
5023
  }), V.extend = function(v, m) {
5024
- return v.$i || (v(m, W, V), v.$i = !0), V;
5024
+ return v.$i || (v(m, z, V), v.$i = !0), V;
5025
5025
  }, V.locale = C, V.isDayjs = A, V.unix = function(v) {
5026
5026
  return V(1e3 * v);
5027
5027
  }, V.en = T[E], V.Ls = T, V.p = {}, V;
5028
5028
  });
5029
5029
  })(Mr);
5030
5030
  var ru = Mr.exports;
5031
- const We = /* @__PURE__ */ Xe(ru);
5031
+ const ze = /* @__PURE__ */ Xe(ru);
5032
5032
  var _r = { exports: {} };
5033
5033
  (function(e, t) {
5034
5034
  (function(l, n) {
@@ -5094,9 +5094,9 @@ var _r = { exports: {} };
5094
5094
  function b(d) {
5095
5095
  var g, h;
5096
5096
  g = d, h = o && o.formats;
5097
- for (var S = (d = g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(V, R, W) {
5098
- var _ = W && W.toUpperCase();
5099
- return R || h[W] || l[W] || h[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(v, m, w) {
5097
+ for (var S = (d = g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(V, R, z) {
5098
+ var _ = z && z.toUpperCase();
5099
+ return R || h[z] || l[z] || h[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(v, m, w) {
5100
5100
  return m || w.slice(1);
5101
5101
  });
5102
5102
  })).match(n), N = S.length, D = 0; D < N; D += 1) {
@@ -5104,8 +5104,8 @@ var _r = { exports: {} };
5104
5104
  S[D] = C ? { regex: A, parser: C } : E.replace(/^\[|\]$/g, "");
5105
5105
  }
5106
5106
  return function(V) {
5107
- for (var R = {}, W = 0, _ = 0; W < N; W += 1) {
5108
- var v = S[W];
5107
+ for (var R = {}, z = 0, _ = 0; z < N; z += 1) {
5108
+ var v = S[z];
5109
5109
  if (typeof v == "string")
5110
5110
  _ += v.length;
5111
5111
  else {
@@ -5130,19 +5130,19 @@ var _r = { exports: {} };
5130
5130
  this.$u = T;
5131
5131
  var C = A[1];
5132
5132
  if (typeof C == "string") {
5133
- var V = A[2] === !0, R = A[3] === !0, W = V || R, _ = A[2];
5133
+ var V = A[2] === !0, R = A[3] === !0, z = V || R, _ = A[2];
5134
5134
  R && (_ = A[2]), o = this.$locale(), !V && _ && (o = h.Ls[_]), this.$d = function(I, F, K) {
5135
5135
  try {
5136
5136
  if (["x", "X"].indexOf(F) > -1)
5137
5137
  return new Date((F === "X" ? 1e3 : 1) * I);
5138
- var $ = b(F)(I), P = $.year, j = $.month, O = $.day, z = $.hours, q = $.minutes, Y = $.seconds, U = $.milliseconds, k = $.zone, G = /* @__PURE__ */ new Date(), B = O || (P || j ? 1 : G.getDate()), M = P || G.getFullYear(), X = 0;
5138
+ var $ = b(F)(I), P = $.year, j = $.month, O = $.day, W = $.hours, q = $.minutes, Y = $.seconds, U = $.milliseconds, k = $.zone, G = /* @__PURE__ */ new Date(), B = O || (P || j ? 1 : G.getDate()), M = P || G.getFullYear(), X = 0;
5139
5139
  P && !j || (X = j > 0 ? j - 1 : G.getMonth());
5140
- var J = z || 0, se = q || 0, $e = Y || 0, xe = U || 0;
5140
+ var J = W || 0, se = q || 0, $e = Y || 0, xe = U || 0;
5141
5141
  return k ? new Date(Date.UTC(M, X, B, J, se, $e, xe + 60 * k.offset * 1e3)) : K ? new Date(Date.UTC(M, X, B, J, se, $e, xe)) : new Date(M, X, B, J, se, $e, xe);
5142
5142
  } catch {
5143
5143
  return /* @__PURE__ */ new Date("");
5144
5144
  }
5145
- }(E, C, T), this.init(), _ && _ !== !0 && (this.$L = this.locale(_).$L), W && E != this.format(C) && (this.$d = /* @__PURE__ */ new Date("")), o = {};
5145
+ }(E, C, T), this.init(), _ && _ !== !0 && (this.$L = this.locale(_).$L), z && E != this.format(C) && (this.$d = /* @__PURE__ */ new Date("")), o = {};
5146
5146
  } else if (C instanceof Array)
5147
5147
  for (var v = C.length, m = 1; m <= v; m += 1) {
5148
5148
  A[1] = C[m - 1];
@@ -5321,7 +5321,7 @@ var jr = { exports: {} };
5321
5321
  })(jr);
5322
5322
  var fu = jr.exports;
5323
5323
  const du = /* @__PURE__ */ Xe(fu);
5324
- var Wr = { exports: {} };
5324
+ var zr = { exports: {} };
5325
5325
  (function(e, t) {
5326
5326
  (function(l, n) {
5327
5327
  e.exports = n();
@@ -5333,10 +5333,10 @@ var Wr = { exports: {} };
5333
5333
  };
5334
5334
  };
5335
5335
  });
5336
- })(Wr);
5337
- var hu = Wr.exports;
5336
+ })(zr);
5337
+ var hu = zr.exports;
5338
5338
  const gu = /* @__PURE__ */ Xe(hu);
5339
- var zr = { exports: {} };
5339
+ var Wr = { exports: {} };
5340
5340
  (function(e, t) {
5341
5341
  (function(l, n) {
5342
5342
  e.exports = n();
@@ -5348,8 +5348,8 @@ var zr = { exports: {} };
5348
5348
  };
5349
5349
  };
5350
5350
  });
5351
- })(zr);
5352
- var mu = zr.exports;
5351
+ })(Wr);
5352
+ var mu = Wr.exports;
5353
5353
  const pu = /* @__PURE__ */ Xe(mu);
5354
5354
  var Kr = { exports: {} };
5355
5355
  (function(e, t) {
@@ -5379,14 +5379,14 @@ var Yr = { exports: {} };
5379
5379
  })(Yr);
5380
5380
  var bu = Yr.exports;
5381
5381
  const xu = /* @__PURE__ */ Xe(bu);
5382
- We.extend(cu);
5383
- We.extend(iu);
5384
- We.extend(ou);
5385
- We.extend(du);
5386
- We.extend(gu);
5387
- We.extend(pu);
5388
- We.extend(vu);
5389
- We.extend(xu);
5382
+ ze.extend(cu);
5383
+ ze.extend(iu);
5384
+ ze.extend(ou);
5385
+ ze.extend(du);
5386
+ ze.extend(gu);
5387
+ ze.extend(pu);
5388
+ ze.extend(vu);
5389
+ ze.extend(xu);
5390
5390
  const Zt = {
5391
5391
  /**
5392
5392
  * 格式化
@@ -5395,7 +5395,7 @@ const Zt = {
5395
5395
  * @returns
5396
5396
  */
5397
5397
  format(e, t) {
5398
- return We(e).format(t);
5398
+ return ze(e).format(t);
5399
5399
  },
5400
5400
  /**
5401
5401
  * 解析
@@ -5403,7 +5403,7 @@ const Zt = {
5403
5403
  * @param template
5404
5404
  */
5405
5405
  parser(e, t) {
5406
- return We(e, t).toDate();
5406
+ return ze(e, t).toDate();
5407
5407
  },
5408
5408
  /**
5409
5409
  * 是否为闫年
@@ -5636,7 +5636,7 @@ function wu(e, t, l) {
5636
5636
  }
5637
5637
  },
5638
5638
  n.prop ?? r.attrs.name
5639
- ), { toLocaleRefs: i } = ze(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
5639
+ ), { toLocaleRefs: i } = We(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
5640
5640
  [`${y}__input`]: !0
5641
5641
  })), b = (m) => {
5642
5642
  f.value = m, o("update:modelValue", m), o("change", m);
@@ -5669,7 +5669,7 @@ function wu(e, t, l) {
5669
5669
  je.Near
5670
5670
  );
5671
5671
  let V = null;
5672
- const R = L(ie(n.longTerm)), W = (m) => {
5672
+ const R = L(ie(n.longTerm)), z = (m) => {
5673
5673
  if (R.value = m, o("update:longTerm", m), m) {
5674
5674
  let w = "";
5675
5675
  Array.isArray(C.value) ? w = C.value.map((I, F) => I || (Array.isArray(f.value) ? f.value[F] : n.valueFormat ? Zt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date())) : w = C.value, V = f.value, o("update:modelValue", w);
@@ -5731,12 +5731,12 @@ function wu(e, t, l) {
5731
5731
  default: () => F
5732
5732
  };
5733
5733
  if (r.slots.default && ($.label = r.slots.default), r.slots.fixedTip && ($.fixedTip = r.slots.fixedTip), _) {
5734
- const z = {
5734
+ const W = {
5735
5735
  label: A.value,
5736
5736
  disabled: s.value || a.value,
5737
5737
  modelValue: R.value,
5738
- "onUpdate:modelValue": W
5739
- }, q = H(kt, z), Y = H(
5738
+ "onUpdate:modelValue": z
5739
+ }, q = H(kt, W), Y = H(
5740
5740
  "div",
5741
5741
  {
5742
5742
  class: {
@@ -5803,7 +5803,7 @@ function Cu(e, t, l) {
5803
5803
  }
5804
5804
  },
5805
5805
  n.prop ?? r.attrs.name
5806
- ), { toLocaleRefs: i } = ze(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
5806
+ ), { toLocaleRefs: i } = We(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
5807
5807
  [y]: !0
5808
5808
  })), b = (T) => {
5809
5809
  f.value = T, o("update:modelValue", T), o("change", T);
@@ -5856,17 +5856,17 @@ function Cu(e, t, l) {
5856
5856
  onVisibleChange: D
5857
5857
  }, C = {}, V = [], R = H(dr, A, C);
5858
5858
  V.push(R);
5859
- const W = {
5859
+ const z = {
5860
5860
  default: () => V
5861
5861
  };
5862
- r.slots.default && (W.label = r.slots.default), r.slots.fixedTip && (W.fixedTip = r.slots.fixedTip);
5862
+ r.slots.default && (z.label = r.slots.default), r.slots.fixedTip && (z.fixedTip = r.slots.fixedTip);
5863
5863
  const v = {
5864
5864
  ...ke(n, xl),
5865
5865
  hintText: d.value,
5866
5866
  hintVisible: g.value,
5867
5867
  prop: `${n.prop}_item`
5868
5868
  };
5869
- return H(l, v, W);
5869
+ return H(l, v, z);
5870
5870
  };
5871
5871
  }
5872
5872
  };
@@ -5912,7 +5912,7 @@ function Pu(e, t, l) {
5912
5912
  }
5913
5913
  },
5914
5914
  n.prop ?? r.attrs.name
5915
- ), { toLocaleRefs: i } = ze(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
5915
+ ), { toLocaleRefs: i } = We(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
5916
5916
  [y]: !0
5917
5917
  })), b = (E) => {
5918
5918
  f.value = E, o("update:modelValue", E), o("change", E);
@@ -6185,7 +6185,7 @@ function Lu(e, t, l) {
6185
6185
  const f = x(() => {
6186
6186
  let v = "";
6187
6187
  return i.value && (v = u.value), v;
6188
- }), { t: y } = ze(t), p = x(() => {
6188
+ }), { t: y } = We(t), p = x(() => {
6189
6189
  let v = n.placeholder ?? "";
6190
6190
  return !i.value && !pe(u.value) ? v = Fu(u.value, n.decimalLength, n.autoPadding, n.digits, n.separator) : v = y(["placeholder", v]), v;
6191
6191
  }), b = e, d = x(() => ({
@@ -6266,7 +6266,7 @@ function Lu(e, t, l) {
6266
6266
  o("update:modelValue", c.value, v), o("blur", c.value, v);
6267
6267
  }, R = () => {
6268
6268
  o("clear", "");
6269
- }, W = x(() => tn(n.unit) > 0), _ = L();
6269
+ }, z = x(() => tn(n.unit) > 0), _ = L();
6270
6270
  return Ie({
6271
6271
  //使 input 获取焦点
6272
6272
  focus: () => {
@@ -6300,7 +6300,7 @@ function Lu(e, t, l) {
6300
6300
  onFocus: C,
6301
6301
  onBlur: V
6302
6302
  }, w = {};
6303
- r.slots.prepend && (w.prepend = r.slots.prepend), r.slots.append && (w.append = r.slots.append), r.slots.prefix && (w.prefix = r.slots.prefix), r.slots.suffix ? w.suffix = r.slots.suffix : W.value && (w.suffix = () => [n.unit]);
6303
+ r.slots.prepend && (w.prepend = r.slots.prepend), r.slots.append && (w.append = r.slots.append), r.slots.prefix && (w.prefix = r.slots.prefix), r.slots.suffix ? w.suffix = r.slots.suffix : z.value && (w.suffix = () => [n.unit]);
6304
6304
  const I = [], F = H(Hn, m, w);
6305
6305
  I.push(F);
6306
6306
  const K = {
@@ -6376,7 +6376,7 @@ function Hu(e, t, l) {
6376
6376
  }
6377
6377
  },
6378
6378
  n.prop ?? r.attrs.name
6379
- ), { toLocaleRefs: i } = ze(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
6379
+ ), { toLocaleRefs: i } = We(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
6380
6380
  [y]: !0,
6381
6381
  [`${y}__append`]: T.value
6382
6382
  })), b = x(() => ({
@@ -6425,10 +6425,10 @@ function Hu(e, t, l) {
6425
6425
  onInput: d,
6426
6426
  onFocus: N,
6427
6427
  onBlur: D
6428
- }, R = {}, W = [], _ = H(lr, V, R);
6429
- W.push(_);
6428
+ }, R = {}, z = [], _ = H(lr, V, R);
6429
+ z.push(_);
6430
6430
  const v = {
6431
- default: () => W
6431
+ default: () => z
6432
6432
  };
6433
6433
  r.slots.default && (v.label = r.slots.default), r.slots.fixedTip && (v.fixedTip = r.slots.fixedTip);
6434
6434
  const w = {
@@ -6450,7 +6450,7 @@ function Hu(e, t, l) {
6450
6450
  }
6451
6451
  };
6452
6452
  }
6453
- const { componentName: ju, create: Wu, scope: zu } = te("input-number-item"), Ku = Wu(Hu(ju, zu, Ae));
6453
+ const { componentName: ju, create: zu, scope: Wu } = te("input-number-item"), Ku = zu(Hu(ju, Wu, Ae));
6454
6454
  function wt(e, t) {
6455
6455
  return typeof e.textKey == "string" && e.textKey.length > 0 ? t[e.textKey] : t.text;
6456
6456
  }
@@ -6649,13 +6649,13 @@ function Zu(e, t, l) {
6649
6649
  }
6650
6650
  },
6651
6651
  n.prop ?? r.attrs.name
6652
- ), { toLocaleRefs: i } = ze(t), c = i(n, ["placeholder"]), u = L(null), f = L([]), y = (P, j, O, z = !0) => {
6652
+ ), { toLocaleRefs: i } = We(t), c = i(n, ["placeholder"]), u = L(null), f = L([]), y = (P, j, O, W = !0) => {
6653
6653
  if (n.props && n.props.lazy === !0 || n.lazy === !0) {
6654
6654
  if (u.value === P)
6655
6655
  return;
6656
6656
  u.value = P;
6657
6657
  const U = me(P);
6658
- if (z) {
6658
+ if (W) {
6659
6659
  const k = $?.value.getCheckedNodes();
6660
6660
  if (k)
6661
6661
  if (n.multiple) {
@@ -6675,7 +6675,7 @@ function Zu(e, t, l) {
6675
6675
  if (q === null) {
6676
6676
  if (f.value.length === 0 || f.value === null)
6677
6677
  return;
6678
- f.value = [], u.value = null, z && (o("update:pathNodes", []), o("update:modelValue", null), o("change", null));
6678
+ f.value = [], u.value = null, W && (o("update:pathNodes", []), o("update:modelValue", null), o("change", null));
6679
6679
  return;
6680
6680
  }
6681
6681
  let Y = !0;
@@ -6711,7 +6711,7 @@ function Zu(e, t, l) {
6711
6711
  U.push(it(n, B)), n.valueType === "text" ? k.push(wt(n, B)) : n.valueType === "item" ? k.push(B) : k.push(it(n, B));
6712
6712
  }), u.value = U;
6713
6713
  const G = me(k);
6714
- z && (o("update:pathNodes", q), o("update:modelValue", G), o("change", G));
6714
+ W && (o("update:pathNodes", q), o("update:modelValue", G), o("change", G));
6715
6715
  }
6716
6716
  }, p = L([]), b = qe(
6717
6717
  x(() => n.lazyLoad),
@@ -6765,19 +6765,19 @@ function Zu(e, t, l) {
6765
6765
  children: n.childrenKey
6766
6766
  };
6767
6767
  return n.multiple === !0 && (P.multiple = !0), n.props && Object.assign(P, n.props), n.lazy && (P.lazy = !0, P.lazyLoad = async (j, O) => {
6768
- const z = await d.load("cascader", n.source, j, !0);
6769
- O(z);
6768
+ const W = await d.load("cascader", n.source, j, !0);
6769
+ O(W);
6770
6770
  }), P;
6771
6771
  }), V = (P) => {
6772
6772
  n.allowCreate ? (o("update:modelValue", P), o("change", P), u.value = P) : y(P, "value", p.value, !0);
6773
6773
  };
6774
- let R = ue(n, "hintText"), W = L(!1);
6774
+ let R = ue(n, "hintText"), z = L(!1);
6775
6775
  const _ = (P) => {
6776
6776
  let O = P.target.value;
6777
- E.value = !0, pe(R.value) || (W.value = !0), o("focus", O, P);
6777
+ E.value = !0, pe(R.value) || (z.value = !0), o("focus", O, P);
6778
6778
  }, v = (P) => {
6779
6779
  setTimeout(() => {
6780
- W.value && (W.value = !1), E.value = !1;
6780
+ z.value && (z.value = !1), E.value = !1;
6781
6781
  }, 0);
6782
6782
  let O = P.target.value;
6783
6783
  n.maxLength && O.length > Number(n.maxLength) && (O = O.slice(0, Number(n.maxLength))), w.value || o("blur", O, P);
@@ -6823,16 +6823,16 @@ function Zu(e, t, l) {
6823
6823
  typeof N == "function" && (j["remote-method"] = N, j.loading = D.value);
6824
6824
  const O = {};
6825
6825
  r.slots.option && (O.default = r.slots.option), r.slots.empty && (O.empty = r.slots.empty);
6826
- const z = [], q = H(Ql, j, O);
6827
- z.push(q);
6826
+ const W = [], q = H(Ql, j, O);
6827
+ W.push(q);
6828
6828
  const Y = {
6829
- default: () => z
6829
+ default: () => W
6830
6830
  };
6831
6831
  r.slots.default && (Y.label = r.slots.default), r.slots.fixedTip && (Y.fixedTip = r.slots.fixedTip);
6832
6832
  const k = {
6833
6833
  ...ke(n, Il),
6834
6834
  hintText: R.value,
6835
- hintVisible: W.value,
6835
+ hintVisible: z.value,
6836
6836
  prop: `${n.prop ?? r.attrs.name}_item`
6837
6837
  };
6838
6838
  return b.value && !n.lazy && (k["appear-listen"] = !0, k.onAppear = S), H(l, k, Y);
@@ -6881,7 +6881,7 @@ function nc(e, t, l) {
6881
6881
  }
6882
6882
  },
6883
6883
  n.prop ?? r.attrs.name
6884
- ), { toLocaleRefs: i } = ze(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
6884
+ ), { toLocaleRefs: i } = We(t), c = i(n, ["placeholder"]), u = L(!1), f = ue(n, "modelValue"), y = e, p = x(() => ({
6885
6885
  [y]: !0
6886
6886
  })), b = (T) => {
6887
6887
  f.value = T, o("update:modelValue", T), o("input", T);
@@ -6933,17 +6933,17 @@ function nc(e, t, l) {
6933
6933
  r.slots.prepend && (C.prepend = r.slots.prepend), r.slots.append && (C.append = r.slots.append), r.slots.prefix && (C.prefix = r.slots.prefix), r.slots.suffix && (C.suffix = r.slots.suffix), r.slots.option && (C.default = r.slots.option);
6934
6934
  const V = [], R = H(Zl, A, C);
6935
6935
  V.push(R);
6936
- const W = {
6936
+ const z = {
6937
6937
  default: () => V
6938
6938
  };
6939
- r.slots.default && (W.label = r.slots.default), r.slots.fixedTip && (W.fixedTip = r.slots.fixedTip);
6939
+ r.slots.default && (z.label = r.slots.default), r.slots.fixedTip && (z.fixedTip = r.slots.fixedTip);
6940
6940
  const v = {
6941
6941
  ...ke(n, Al),
6942
6942
  hintText: g.value,
6943
6943
  hintVisible: h.value,
6944
6944
  prop: `${n.prop}_item`
6945
6945
  };
6946
- return H(l, v, W);
6946
+ return H(l, v, z);
6947
6947
  };
6948
6948
  }
6949
6949
  };
@@ -7113,7 +7113,7 @@ function cc(e, t) {
7113
7113
  }
7114
7114
  };
7115
7115
  }
7116
- const { componentName: zh, create: fc, scope: Kh } = te("mapping"), On = fc(cc());
7116
+ const { componentName: Wh, create: fc, scope: Kh } = te("mapping"), On = fc(cc());
7117
7117
  function dc(e, t) {
7118
7118
  let l = t.split("."), n = e;
7119
7119
  for (let r = 0; r < l.length; r++) {
@@ -7150,7 +7150,7 @@ function hc(e, t) {
7150
7150
  return r.default ? H(On, { ...l, modelValue: o }, { default: r.default }) : H(On, { ...l, modelValue: o });
7151
7151
  }
7152
7152
  };
7153
- return H(Wn, { ...n }, a);
7153
+ return H(zn, { ...n }, a);
7154
7154
  };
7155
7155
  }
7156
7156
  };
@@ -7201,7 +7201,7 @@ function yc(e, t) {
7201
7201
  }, [y]);
7202
7202
  }
7203
7203
  };
7204
- return H(Wn, { ...n }, s);
7204
+ return H(zn, { ...n }, s);
7205
7205
  };
7206
7206
  }
7207
7207
  };
@@ -7309,21 +7309,21 @@ const Ec = /* @__PURE__ */ Be(xc, [["render", Tc]]), { componentName: Zh, create
7309
7309
  let n = [];
7310
7310
  const r = L([]), a = x(() => r.value.filter(($) => $.label === "" || $.type ? !1 : $.fixed === "" || $.fixed === !0 || $.fixed === "left")), s = x(() => r.value.filter(($) => $.label === "" || $.type ? !1 : $.fixed === "right")), o = x(() => r.value.filter(($) => !($.label === "" || $.type || $.fixed !== void 0))), i = x(() => (a.value.length > 0 || s.value.length > 0) && o.value.length > 0), c = x(() => a.value.length > 0), u = x(() => s.value.length > 0), f = ($) => $.length > 1, y = ($) => {
7311
7311
  const P = [];
7312
- r.value = $.map((O, z) => (!(O.label === "" || O.type) && O.visible !== !1 && P.push(O.prop), { ...O, sortIndex: z })), o.value.length + a.value.length + s.value.length === P.length ? S.value = !0 : P.length > 0 && (N.value = !0), T.value = P;
7312
+ r.value = $.map((O, W) => (!(O.label === "" || O.type) && O.visible !== !1 && P.push(O.prop), { ...O, sortIndex: W })), o.value.length + a.value.length + s.value.length === P.length ? S.value = !0 : P.length > 0 && (N.value = !0), T.value = P;
7313
7313
  }, p = ($) => $ ? $.type ? $.type : $.label ? $.prop : "" : "", b = ($, P) => {
7314
7314
  if ($.length !== P.length)
7315
7315
  return !1;
7316
7316
  const j = $.map((O) => p(O));
7317
7317
  for (let O of P) {
7318
- const z = p(O);
7319
- if (j.indexOf(z) === -1)
7318
+ const W = p(O);
7319
+ if (j.indexOf(W) === -1)
7320
7320
  return !1;
7321
7321
  }
7322
7322
  return !0;
7323
7323
  }, d = ($) => {
7324
7324
  if (!$) {
7325
7325
  const P = e.tableRef.getColumnSetting(), j = P.srcColumnPropertyList;
7326
- n = j.map((O, z) => ({ ...O, sortIndex: z })), $ = P.columnPropertyList, $ && $.length > 0 && b(j, $) || ($ = j);
7326
+ n = j.map((O, W) => ({ ...O, sortIndex: W })), $ = P.columnPropertyList, $ && $.length > 0 && b(j, $) || ($ = j);
7327
7327
  }
7328
7328
  y($);
7329
7329
  }, g = () => {
@@ -7401,14 +7401,14 @@ const Ec = /* @__PURE__ */ Be(xc, [["render", Tc]]), { componentName: Zh, create
7401
7401
  if (V.roleType !== O)
7402
7402
  return;
7403
7403
  $.preventDefault();
7404
- const z = Number(V.index), q = Number(j.dataset.index);
7405
- if (z !== q) {
7406
- if (z < q) {
7407
- const Y = r.value[z];
7408
- r.value.splice(z, 1), r.value.splice(q, 0, Y);
7404
+ const W = Number(V.index), q = Number(j.dataset.index);
7405
+ if (W !== q) {
7406
+ if (W < q) {
7407
+ const Y = r.value[W];
7408
+ r.value.splice(W, 1), r.value.splice(q, 0, Y);
7409
7409
  } else {
7410
- const Y = r.value[z];
7411
- r.value.splice(z, 1), r.value.splice(q + 1, 0, Y);
7410
+ const Y = r.value[W];
7411
+ r.value.splice(W, 1), r.value.splice(q + 1, 0, Y);
7412
7412
  }
7413
7413
  y(r.value), g();
7414
7414
  }
@@ -7453,7 +7453,7 @@ const Ec = /* @__PURE__ */ Be(xc, [["render", Tc]]), { componentName: Zh, create
7453
7453
  key: 0,
7454
7454
  class: "fox-table-setting__body-title"
7455
7455
  }, Hc = ["data-index", "draggable"], jc = { class: "tools-item" };
7456
- function Wc(e, t, l, n, r, a) {
7456
+ function zc(e, t, l, n, r, a) {
7457
7457
  const s = we("FoxCheckbox"), o = we("FoxButton"), i = we("DragIcon"), c = we("RefreshLeft"), u = we("FoxIcon"), f = we("fox-tooltip"), y = we("Download"), p = we("fox-checkbox"), b = we("FoxCheckboxGroup"), d = we("FoxPopover");
7458
7458
  return Z(), ve(d, ia(e.attrs, {
7459
7459
  placement: e.popoverPlacement,
@@ -7499,7 +7499,7 @@ function Wc(e, t, l, n, r, a) {
7499
7499
  default: oe(() => [
7500
7500
  e.leftFixedColumns.length > 0 ? (Z(), Q("div", kc, [
7501
7501
  e.isShowLeftFixedTitle ? (Z(), Q("div", Dc, ce(e.leftFixedTitle), 1)) : ne("", !0),
7502
- (Z(!0), Q(jt, null, Wt(e.leftFixedColumns, (g) => (Z(), Q("div", {
7502
+ (Z(!0), Q(jt, null, zt(e.leftFixedColumns, (g) => (Z(), Q("div", {
7503
7503
  key: g.prop,
7504
7504
  class: "fox-table-setting__body-row",
7505
7505
  "data-role": "row",
@@ -7566,7 +7566,7 @@ function Wc(e, t, l, n, r, a) {
7566
7566
  ])) : ne("", !0),
7567
7567
  e.unFixedColumns.length > 0 ? (Z(), Q("div", Fc, [
7568
7568
  e.isShowNotFixedTitle ? (Z(), Q("div", Lc, ce(e.unFixedTitle), 1)) : ne("", !0),
7569
- (Z(!0), Q(jt, null, Wt(e.unFixedColumns, (g) => (Z(), Q("div", {
7569
+ (Z(!0), Q(jt, null, zt(e.unFixedColumns, (g) => (Z(), Q("div", {
7570
7570
  key: g.prop,
7571
7571
  class: "fox-table-setting__body-row",
7572
7572
  "data-role": "row",
@@ -7634,7 +7634,7 @@ function Wc(e, t, l, n, r, a) {
7634
7634
  ])) : ne("", !0),
7635
7635
  e.rightFixedColumns.length > 0 ? (Z(), Q("div", _c, [
7636
7636
  e.isShowRightFixedTitle ? (Z(), Q("div", Bc, ce(e.rightFixedTitle), 1)) : ne("", !0),
7637
- (Z(!0), Q(jt, null, Wt(e.rightFixedColumns, (g) => (Z(), Q("div", {
7637
+ (Z(!0), Q(jt, null, zt(e.rightFixedColumns, (g) => (Z(), Q("div", {
7638
7638
  key: g.prop,
7639
7639
  class: "fox-table-setting__body-row",
7640
7640
  "data-role": "row",
@@ -7709,8 +7709,8 @@ function Wc(e, t, l, n, r, a) {
7709
7709
  _: 3
7710
7710
  }, 16, ["placement", "width", "onShow"]);
7711
7711
  }
7712
- const Xr = /* @__PURE__ */ Be(Ic, [["render", Wc]]);
7713
- let zc = class {
7712
+ const Xr = /* @__PURE__ */ Be(Ic, [["render", zc]]);
7713
+ let Wc = class {
7714
7714
  /**
7715
7715
  * proxy
7716
7716
  */
@@ -7748,7 +7748,7 @@ let zc = class {
7748
7748
  };
7749
7749
  function Kc() {
7750
7750
  const e = Pe();
7751
- return new zc(e.proxy);
7751
+ return new Wc(e.proxy);
7752
7752
  }
7753
7753
  class Yc {
7754
7754
  /**
@@ -8007,7 +8007,7 @@ function Zc(e, t, l) {
8007
8007
  ],
8008
8008
  // setup
8009
8009
  setup(n, r) {
8010
- const { locale: a } = ze(t), { emitEvent: s } = Ce(
8010
+ const { locale: a } = We(t), { emitEvent: s } = Ce(
8011
8011
  {
8012
8012
  componentName: e,
8013
8013
  // 获取value
@@ -8080,9 +8080,9 @@ function Zc(e, t, l) {
8080
8080
  }), R = () => {
8081
8081
  S.value = 0, N.value = [];
8082
8082
  };
8083
- let W = !1;
8083
+ let z = !1;
8084
8084
  const _ = () => {
8085
- W || (W = !0, V());
8085
+ z || (z = !0, V());
8086
8086
  };
8087
8087
  T() && !A.value && V();
8088
8088
  const v = L(null);
@@ -8110,7 +8110,7 @@ function Zc(e, t, l) {
8110
8110
  const O = () => ({
8111
8111
  srcColumnPropertyList: j.map((X) => ({ ...X })),
8112
8112
  columnPropertyList: P.value
8113
- }), z = (M) => {
8113
+ }), W = (M) => {
8114
8114
  P.value = [...M], Y();
8115
8115
  }, q = async () => {
8116
8116
  const M = await $.load(K);
@@ -8241,7 +8241,7 @@ function Zc(e, t, l) {
8241
8241
  // 获取列属性配置
8242
8242
  getColumnSetting: O,
8243
8243
  // 设置列属性配置
8244
- setColumnSetting: z,
8244
+ setColumnSetting: W,
8245
8245
  // 移除列属性配置
8246
8246
  removeColumnSetting: U
8247
8247
  }), () => {
@@ -8280,7 +8280,7 @@ function Zc(e, t, l) {
8280
8280
  xe && Ct.push(xe);
8281
8281
  const ea = H(Tt, { class: c.value }, { default: () => H(Ro) }), ta = ns(n, vn), na = H(
8282
8282
  Xr,
8283
- { ...ta, tableRef: { getColumnSetting: O, setColumnSetting: z, removeColumnSetting: U } },
8283
+ { ...ta, tableRef: { getColumnSetting: O, setColumnSetting: W, removeColumnSetting: U } },
8284
8284
  { default: () => ea }
8285
8285
  );
8286
8286
  Ct.push(na);
@@ -8483,16 +8483,16 @@ function uf(e, t, l) {
8483
8483
  },
8484
8484
  n.prop ?? r.attrs.name
8485
8485
  ), i = L(null), c = L(null), u = (A, C, V, R = !0) => {
8486
- const W = af(n, A, C, V);
8487
- if (W === null) {
8486
+ const z = af(n, A, C, V);
8487
+ if (z === null) {
8488
8488
  if (c.value === null)
8489
8489
  return;
8490
8490
  c.value = null, i.value = null, R && (o("update:modelValue", null), o("change", null));
8491
8491
  return;
8492
8492
  }
8493
- if (!Zr(n, W, c.value)) {
8493
+ if (!Zr(n, z, c.value)) {
8494
8494
  i.value = A;
8495
- const v = me(W);
8495
+ const v = me(z);
8496
8496
  c.value = v;
8497
8497
  let m = null;
8498
8498
  n.valueType === "text" ? m = St(n, v) : n.valueType === "item" ? m = v : m = Rt(n, v), R && (o("update:modelValue", m), o("change", m));
@@ -8536,11 +8536,11 @@ function uf(e, t, l) {
8536
8536
  let D = ue(n, "hintText"), E = ue(n, "hintVisible");
8537
8537
  const T = (A, C) => {
8538
8538
  const V = [];
8539
- return A.forEach((R, W) => {
8539
+ return A.forEach((R, z) => {
8540
8540
  const _ = Rt(n, R), v = St(n, R);
8541
8541
  let m = nf(n, R);
8542
8542
  a.value === !0 && (m = a.value), s.value === !0 && (m = s.value);
8543
- const w = sf(n, R, W) ?? {}, I = `${_}_${W}`, F = {
8543
+ const w = sf(n, R, z) ?? {}, I = `${_}_${z}`, F = {
8544
8544
  ...w,
8545
8545
  key: I,
8546
8546
  label: _,
@@ -8562,8 +8562,8 @@ function uf(e, t, l) {
8562
8562
  onChange: N
8563
8563
  }, V = [], R = {};
8564
8564
  r.slots.options ? R.default = r.slots.options : R.default = () => T(f.value, r.slots.text);
8565
- const W = H(or, C, R);
8566
- V.push(W);
8565
+ const z = H(or, C, R);
8566
+ V.push(z);
8567
8567
  const _ = {
8568
8568
  default: () => V
8569
8569
  };
@@ -8778,28 +8778,28 @@ function xf(e, t, l) {
8778
8778
  },
8779
8779
  n.prop ?? r.attrs.name
8780
8780
  ), i = L([]), c = L([]), u = (A, C, V, R = !0) => {
8781
- const W = yf(n, A, C, V);
8782
- if (W === null) {
8781
+ const z = yf(n, A, C, V);
8782
+ if (z === null) {
8783
8783
  if (c.value === null || c.value.length === 0)
8784
8784
  return;
8785
8785
  i.value = [], c.value = [], R && (o("update:modelValue", []), o("change", []));
8786
8786
  return;
8787
8787
  }
8788
8788
  let _ = !0;
8789
- if (W.length !== c.value.length)
8789
+ if (z.length !== c.value.length)
8790
8790
  _ = !1;
8791
8791
  else
8792
- for (let v = 0; v < W.length; v++) {
8793
- const m = W[v], w = c.value[v];
8792
+ for (let v = 0; v < z.length; v++) {
8793
+ const m = z[v], w = c.value[v];
8794
8794
  if (!Jr(n, m, w)) {
8795
8795
  _ = !1;
8796
8796
  break;
8797
8797
  }
8798
8798
  }
8799
8799
  if (!_) {
8800
- c.value = W;
8800
+ c.value = z;
8801
8801
  let v = [], m = [];
8802
- W.forEach((I) => {
8802
+ z.forEach((I) => {
8803
8803
  v.push(vt(n, I)), n.valueType === "text" ? m.push($t(n, I)) : n.valueType === "item" ? m.push(I) : m.push(vt(n, I));
8804
8804
  }), i.value = v;
8805
8805
  const w = me(m);
@@ -8844,11 +8844,11 @@ function xf(e, t, l) {
8844
8844
  let D = ue(n, "hintText"), E = ue(n, "hintVisible");
8845
8845
  const T = (A, C) => {
8846
8846
  const V = [];
8847
- return A.forEach((R, W) => {
8847
+ return A.forEach((R, z) => {
8848
8848
  const _ = vt(n, R), v = $t(n, R);
8849
8849
  let m = gf(n, R);
8850
8850
  a.value === !0 && (m = a.value), s.value === !0 && (m = s.value);
8851
- const w = bf(n, R, W) ?? {}, I = `${_}_${W}`, F = {
8851
+ const w = bf(n, R, z) ?? {}, I = `${_}_${z}`, F = {
8852
8852
  ...w,
8853
8853
  key: I,
8854
8854
  class: n.itemClass,
@@ -8873,8 +8873,8 @@ function xf(e, t, l) {
8873
8873
  onChange: N
8874
8874
  }, V = [], R = {};
8875
8875
  r.slots.options ? R.default = r.slots.options : R.default = () => T(f.value, r.slots.text);
8876
- const W = H(Bn, C, R);
8877
- V.push(W);
8876
+ const z = H(Bn, C, R);
8877
+ V.push(z);
8878
8878
  const _ = {
8879
8879
  default: () => V
8880
8880
  };
@@ -9169,8 +9169,8 @@ function Hf(e, t) {
9169
9169
  }
9170
9170
  };
9171
9171
  }
9172
- const { componentName: tg, create: jf, scope: ng } = te("dialog-item"), Wf = jf(Hf());
9173
- function zf(e, t) {
9172
+ const { componentName: tg, create: jf, scope: ng } = te("dialog-item"), zf = jf(Hf());
9173
+ function Wf(e, t) {
9174
9174
  return {
9175
9175
  // 属性
9176
9176
  props: {
@@ -9242,10 +9242,20 @@ function zf(e, t) {
9242
9242
  }
9243
9243
  };
9244
9244
  }
9245
- const { componentName: Kf, create: Yf, scope: lg } = te("indicator"), Gf = Yf(zf(Kf));
9246
- function Uf(e) {
9247
- const t = document.createRange();
9248
- return t.setStart(e, 0), t.setEnd(e, e.childNodes.length), t.getBoundingClientRect().width;
9245
+ const { componentName: Kf, create: Yf, scope: lg } = te("indicator"), Gf = Yf(Wf(Kf));
9246
+ function Uf(e, t) {
9247
+ const l = document.createRange();
9248
+ l.setStart(e, 0), l.setEnd(e, e.childNodes.length);
9249
+ const n = l.getBoundingClientRect().width;
9250
+ if (n > 0) {
9251
+ t(n);
9252
+ return;
9253
+ }
9254
+ e.classList.add("is-selectable"), setTimeout(() => {
9255
+ l.setStart(e, 0), l.setEnd(e, e.childNodes.length);
9256
+ const r = l.getBoundingClientRect().width;
9257
+ e.classList.remove("is-selectable"), t(r);
9258
+ }, 500);
9249
9259
  }
9250
9260
  const Xf = {
9251
9261
  // class
@@ -9335,8 +9345,10 @@ function Zf(e, t) {
9335
9345
  }), l.type && (u[`${e}__${l.type}`] = !0), l.size && (u[`${e}__${l.size}`] = !0), u;
9336
9346
  }), o = (u) => {
9337
9347
  if (u && ie(l.showOverflowTooltip)) {
9338
- const f = u.clientWidth, y = Uf(u);
9339
- r.value = y <= f;
9348
+ const f = u.clientWidth;
9349
+ Uf(u, (y) => {
9350
+ r.value = y <= f;
9351
+ });
9340
9352
  }
9341
9353
  };
9342
9354
  let i = null;
@@ -9634,7 +9646,7 @@ function bd(e, t, l, n, r, a) {
9634
9646
  }, null, 512), [
9635
9647
  [_n, e.showTour]
9636
9648
  ]),
9637
- (Z(!0), Q(jt, null, Wt(e.steps, (c, u) => (Z(), Q("div", {
9649
+ (Z(!0), Q(jt, null, zt(e.steps, (c, u) => (Z(), Q("div", {
9638
9650
  key: u,
9639
9651
  style: { height: "0" }
9640
9652
  }, [
@@ -9892,12 +9904,12 @@ const Qr = (e) => {
9892
9904
  e = e.parentElement;
9893
9905
  }
9894
9906
  return !1;
9895
- }, Wl = (e, t) => {
9907
+ }, zl = (e, t) => {
9896
9908
  for (const l of e)
9897
9909
  if (!kd(l, t))
9898
9910
  return l;
9899
9911
  }, Dd = (e) => {
9900
- const t = Qr(e), l = Wl(t, e), n = Wl(t.reverse(), e);
9912
+ const t = Qr(e), l = zl(t, e), n = zl(t.reverse(), e);
9901
9913
  return [l, n];
9902
9914
  }, Rd = (e) => e instanceof HTMLInputElement && "select" in e, Ze = (e, t) => {
9903
9915
  if (e && e.focus) {
@@ -9905,7 +9917,7 @@ const Qr = (e) => {
9905
9917
  e.focus({ preventScroll: !0 }), el.value = window.performance.now(), e !== l && Rd(e) && t && e.select();
9906
9918
  }
9907
9919
  };
9908
- function zl(e, t) {
9920
+ function Wl(e, t) {
9909
9921
  const l = [...e], n = e.indexOf(t);
9910
9922
  return n !== -1 && l.splice(n, 1), l;
9911
9923
  }
@@ -9914,10 +9926,10 @@ const Od = () => {
9914
9926
  return {
9915
9927
  push: (n) => {
9916
9928
  const r = e[0];
9917
- r && n !== r && r.pause(), e = zl(e, n), e.unshift(n);
9929
+ r && n !== r && r.pause(), e = Wl(e, n), e.unshift(n);
9918
9930
  },
9919
9931
  remove: (n) => {
9920
- e = zl(e, n), e[0]?.resume?.();
9932
+ e = Wl(e, n), e[0]?.resume?.();
9921
9933
  }
9922
9934
  };
9923
9935
  }, Fd = (e, t = !1) => {
@@ -9985,9 +9997,9 @@ const Od = () => {
9985
9997
  return;
9986
9998
  const { key: g, altKey: h, ctrlKey: S, metaKey: N, currentTarget: D, shiftKey: E } = d, { loop: T } = e, A = g === "Tab" && !h && !S && !N, C = document.activeElement;
9987
9999
  if (A && C) {
9988
- const V = D, [R, W] = Dd(V);
9989
- if (R && W) {
9990
- if (!E && C === W) {
10000
+ const V = D, [R, z] = Dd(V);
10001
+ if (R && z) {
10002
+ if (!E && C === z) {
9991
10003
  const v = Ht({
9992
10004
  focusReason: s.value
9993
10005
  });
@@ -9996,7 +10008,7 @@ const Od = () => {
9996
10008
  const v = Ht({
9997
10009
  focusReason: s.value
9998
10010
  });
9999
- l("focusout-prevented", v), v.defaultPrevented || (d.preventDefault(), T && Ze(W, !0));
10011
+ l("focusout-prevented", v), v.defaultPrevented || (d.preventDefault(), T && Ze(z, !0));
10000
10012
  }
10001
10013
  } else if (C === V) {
10002
10014
  const v = Ht({
@@ -10083,7 +10095,7 @@ const Od = () => {
10083
10095
  e.trapped && b();
10084
10096
  }), () => typeof t.default == "function" ? t.default({ "handle-keydown": i }) : null;
10085
10097
  }
10086
- }), { componentName: Hd, create: jd, scope: ig } = te("floating-window"), Wd = Symbol.for("InnerPageScopeKey"), zd = Symbol.for("PageWrapperKey"), Kd = {
10098
+ }), { componentName: Hd, create: jd, scope: ig } = te("floating-window"), zd = Symbol.for("InnerPageScopeKey"), Wd = Symbol.for("PageWrapperKey"), Kd = {
10087
10099
  // 是否显示
10088
10100
  modelValue: {
10089
10101
  type: [Boolean, String],
@@ -10211,9 +10223,9 @@ const Od = () => {
10211
10223
  const I = {};
10212
10224
  return Ke(r.value) || (I.left = Me(r.value)), Ke(a.value) || (I.top = Me(a.value)), Ke(s.value) || (I.right = Me(s.value)), Ke(o.value) || (I.bottom = Me(o.valu)), Ke(e.zIndex) || (I["z-index"] = Me(e.zIndex)), Ke(S.value) || (I.height = S.value), Ke(N.value) || (I.width = N.value), I;
10213
10225
  }), c = x(() => e.closeIcon ?? pr);
10214
- Re(Wd, !0);
10226
+ Re(zd, !0);
10215
10227
  const u = {};
10216
- Re(zd, u);
10228
+ Re(Wd, u);
10217
10229
  const f = () => {
10218
10230
  typeof u.beforeClose == "function" ? u.beforeClose(() => {
10219
10231
  n.value = !1;
@@ -10254,8 +10266,8 @@ const Od = () => {
10254
10266
  }
10255
10267
  );
10256
10268
  const R = () => {
10257
- W();
10258
- }, W = (I) => {
10269
+ z();
10270
+ }, z = (I) => {
10259
10271
  I = I ?? !D.value, V(I);
10260
10272
  }, _ = { x: 0, y: 0 }, w = Nd((I) => {
10261
10273
  if (!g.value)
@@ -10415,7 +10427,7 @@ function fg() {
10415
10427
  isHorizontal: y
10416
10428
  };
10417
10429
  }
10418
- const rh = [As, Hs, Gs, ei, ii, Ae, Mi, ji, Jn, Gi, lu, Eu, Vu, Ou, Bu, Ku, tc, oc, mc, bc, Xr, tf, hf, Tf, Af, Rf, Mf, Wf, On, Or, Gf, ed, sd, xd, Qd, nh], dg = new bs(rh, [Ss], "4.0.0");
10430
+ const rh = [As, Hs, Gs, ei, ii, Ae, Mi, ji, Jn, Gi, lu, Eu, Vu, Ou, Bu, Ku, tc, oc, mc, bc, Xr, tf, hf, Tf, Af, Rf, Mf, zf, On, Or, Gf, ed, sd, xd, Qd, nh], dg = new bs(rh, [Ss], "4.0.0");
10419
10431
  export {
10420
10432
  oc as AutocompleteItem,
10421
10433
  br as Broadcast,
@@ -10426,7 +10438,7 @@ export {
10426
10438
  At as DataItemsKey,
10427
10439
  Eu as DateItem,
10428
10440
  Zt as DateUtils,
10429
- Wf as DialogItem,
10441
+ zf as DialogItem,
10430
10442
  Xn as Domain,
10431
10443
  _e as DomainKey,
10432
10444
  nh as DomainProvider,
@@ -10461,8 +10473,8 @@ export {
10461
10473
  Bg as FoxColorPicker,
10462
10474
  Hg as FoxConfigProvider,
10463
10475
  jg as FoxContainer,
10464
- Wg as FoxDatePicker,
10465
- zg as FoxDescriptions,
10476
+ zg as FoxDatePicker,
10477
+ Wg as FoxDescriptions,
10466
10478
  Kg as FoxDescriptionsItem,
10467
10479
  Yg as FoxDialog,
10468
10480
  Gg as FoxDivider,
@@ -10515,8 +10527,8 @@ export {
10515
10527
  Bm as FoxTableColumn,
10516
10528
  Hm as FoxTableV2,
10517
10529
  jm as FoxTabs,
10518
- Wm as FoxTag,
10519
- zm as FoxTimePicker,
10530
+ zm as FoxTag,
10531
+ Wm as FoxTimePicker,
10520
10532
  Km as FoxTimeSelect,
10521
10533
  Ym as FoxTimeline,
10522
10534
  Gm as FoxTimelineItem,
@@ -10586,7 +10598,7 @@ export {
10586
10598
  Ut as getPageFooterAreaHeight,
10587
10599
  Gt as getPageHeaderAreaHeight,
10588
10600
  Pt as getRootDomain,
10589
- Wo as hasSymbol,
10601
+ zo as hasSymbol,
10590
10602
  ns as includeProps,
10591
10603
  $h as indexOf,
10592
10604
  fs as installRules,