@fox-js/foxui-pc 4.0.1-128 → 4.0.1-129
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.cjs.js +2 -2
- package/dist/index.esm.js +643 -643
- package/dist/index.umd.js +2 -2
- package/dist/style.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { inject as qe, provide as ke, onUnmounted as at, getCurrentInstance as Re, effectScope as rr, watchEffect as sr, nextTick as Tt, hasInjectionContext as vn, customRef as ir, reactive as kt, isReactive as pt, watch as fe, toRaw as xe, computed as b, toRef as fn, ref as j, defineComponent as Rt, onMounted as Ne, h as A, unref as St, openBlock as se, createElementBlock as he, normalizeClass as $e, normalizeStyle as Fe, renderSlot as st, shallowRef as rn, markRaw as ur, triggerRef as Xe, createCommentVNode as be, createElementVNode as ce, toDisplayString as Ce, onBeforeUnmount as dt, resolveComponent as Te, Fragment as
|
|
1
|
+
import { inject as qe, provide as ke, onUnmounted as at, getCurrentInstance as Re, effectScope as rr, watchEffect as sr, nextTick as Tt, hasInjectionContext as vn, customRef as ir, reactive as kt, isReactive as pt, watch as fe, toRaw as xe, computed as b, toRef as fn, ref as j, defineComponent as Rt, onMounted as Ne, h as A, unref as St, openBlock as se, createElementBlock as he, normalizeClass as $e, normalizeStyle as Fe, renderSlot as st, shallowRef as rn, markRaw as ur, triggerRef as Xe, createCommentVNode as be, createElementVNode as ce, toDisplayString as Ce, onBeforeUnmount as dt, resolveComponent as Te, Fragment as Lt, withDirectives as _t, createBlock as Ie, vShow as qt, render as $n, createVNode as ge, shallowReactive as cr, mergeProps as yl, withCtx as ve, createTextVNode as Mt, renderList as sn, Transition as Dn, withModifiers as fr, toRefs as _a, Teleport as al, resolveDynamicComponent as Sn, onActivated as dr, onDeactivated as hr } from "vue";
|
|
2
2
|
import Pt from "@fox-js/validator";
|
|
3
|
-
import { ElAffix as gr, ElAlert as vr, ElAutocomplete as qa, ElAutoResizer as mr, ElAvatar as pr, ElBacktop as yr, ElBadge as br, ElBreadcrumb as xr, ElBreadcrumbItem as wr, ElButton as
|
|
4
|
-
import { ElAffix as lp, ElAlert as ap, ElAside as op, ElAutoResizer as rp, ElAutocomplete as sp, ElAvatar as ip, ElBacktop as up, ElBadge as cp, ElBreadcrumb as fp, ElBreadcrumbItem as dp, ElButton as hp, ElButtonGroup as gp, ElCalendar as vp, ElCard as mp, ElCarousel as pp, ElCarouselItem as yp, ElCascader as bp, ElCascaderPanel as xp, ElCheckTag as wp, ElCheckbox as Sp, ElCheckboxButton as $p, ElCheckboxGroup as Tp, ElCol as Cp, ElCollapse as Np, ElCollapseItem as Ep, ElCollapseTransition as kp, ElColorPicker as Ip, ElConfigProvider as Fp, ElContainer as Dp, ElDatePicker as Op, ElDescriptions as Pp, ElDescriptionsItem as Ap, ElDialog as Vp, ElDivider as
|
|
5
|
-
import { ArrowLeft as lo, ArrowUp as An, Download as ao, RefreshLeft as oo, Loading as As, Setting as Vs, CircleClose as
|
|
3
|
+
import { ElAffix as gr, ElAlert as vr, ElAutocomplete as qa, ElAutoResizer as mr, ElAvatar as pr, ElBacktop as yr, ElBadge as br, ElBreadcrumb as xr, ElBreadcrumbItem as wr, ElButton as bl, ElButtonGroup as Sr, ElCalendar as $r, ElCard as Tr, ElCarousel as Cr, ElCarouselItem as Nr, ElCascader as Ba, ElCascaderPanel as Er, ElCheckTag as kr, ElCheckbox as Yt, ElCheckboxButton as Ha, ElCheckboxGroup as On, ElCol as Ir, ElCollapse as Fr, ElCollapseItem as Dr, ElCollapseTransition as Or, ElColorPicker as Pr, ElConfigProvider as Ar, ElContainer as Vr, ElAside as Lr, ElFooter as Mr, ElHeader as Rr, ElMain as _r, ElDatePicker as za, ElDescriptions as qr, ElDescriptionsItem as Br, ElDialog as ja, ElDivider as Hr, ElDrawer as zr, ElDropdown as jr, ElDropdownItem as Kr, ElDropdownMenu as Wr, ElEmpty as Yr, ElForm as Gr, ElFormItem as Ur, ElIcon as Bt, ElImage as Xr, ElImageViewer as Zr, ElInput as xl, ElInputNumber as Ka, ElLink as Qr, ElMenu as Jr, ElSubMenu as es, ElMenuItem as ts, ElMenuItemGroup as ns, ElPageHeader as ls, ElPagination as Wa, ElPopconfirm as as, ElPopover as Pn, ElPopper as os, ElProgress as rs, ElRadio as ol, ElRadioButton as Ya, ElRadioGroup as Ga, ElRate as Ua, ElResult as ss, ElRow as is, ElScrollbar as us, ElSelect as Xa, ElOption as on, ElOptionGroup as Za, ElSelectV2 as cs, ElSkeleton as fs, ElSkeletonItem as ds, ElSlider as hs, ElSpace as gs, ElSteps as vs, ElStep as ms, ElSwitch as Qa, ElTable as Ja, ElTableColumn as wl, ElTableV2 as ps, ElTabs as ys, ElTabPane as bs, ElTag as xs, ElTimePicker as eo, ElTimeSelect as to, ElTimeline as ws, ElTimelineItem as Ss, ElTooltip as $s, ElTransfer as Ts, ElTree as Cs, ElTreeSelect as no, ElTreeV2 as Ns, ElUpload as Es, ElInfiniteScroll as ks, ElLoading as Is, ElMessage as Fs, ElMessageBox as Ds, ElNotification as Os, ElPopoverDirective as Ps } from "element-plus";
|
|
4
|
+
import { ElAffix as lp, ElAlert as ap, ElAside as op, ElAutoResizer as rp, ElAutocomplete as sp, ElAvatar as ip, ElBacktop as up, ElBadge as cp, ElBreadcrumb as fp, ElBreadcrumbItem as dp, ElButton as hp, ElButtonGroup as gp, ElCalendar as vp, ElCard as mp, ElCarousel as pp, ElCarouselItem as yp, ElCascader as bp, ElCascaderPanel as xp, ElCheckTag as wp, ElCheckbox as Sp, ElCheckboxButton as $p, ElCheckboxGroup as Tp, ElCol as Cp, ElCollapse as Np, ElCollapseItem as Ep, ElCollapseTransition as kp, ElColorPicker as Ip, ElConfigProvider as Fp, ElContainer as Dp, ElDatePicker as Op, ElDescriptions as Pp, ElDescriptionsItem as Ap, ElDialog as Vp, ElDivider as Lp, ElDrawer as Mp, ElDropdown as Rp, ElDropdownItem as _p, ElDropdownMenu as qp, ElEmpty as Bp, ElFooter as Hp, ElForm as zp, ElFormItem as jp, ElHeader as Kp, ElIcon as Wp, ElImage as Yp, ElImageViewer as Gp, ElInput as Up, ElInputNumber as Xp, ElLink as Zp, ElMain as Qp, ElMenu as Jp, ElMenuItem as ey, ElMenuItemGroup as ty, ElOption as ny, ElOptionGroup as ly, ElPageHeader as ay, ElPagination as oy, ElPopconfirm as ry, ElPopover as sy, ElPopper as iy, ElProgress as uy, ElRadio as cy, ElRadioButton as fy, ElRadioGroup as dy, ElRate as hy, ElResult as gy, ElRow as vy, ElScrollbar as my, ElSelect as py, ElSelectV2 as yy, ElSkeleton as by, ElSkeletonItem as xy, ElSlider as wy, ElSpace as Sy, ElStep as $y, ElSteps as Ty, ElSubMenu as Cy, ElSwitch as Ny, ElTabPane as Ey, ElTable as ky, ElTableColumn as Iy, ElTableV2 as Fy, ElTabs as Dy, ElTag as Oy, ElTimePicker as Py, ElTimeSelect as Ay, ElTimeline as Vy, ElTimelineItem as Ly, ElTooltip as My, ElTransfer as Ry, ElTree as _y, ElTreeSelect as qy, ElTreeV2 as By, ElUpload as Hy } from "element-plus";
|
|
5
|
+
import { ArrowLeft as lo, ArrowUp as An, Download as ao, RefreshLeft as oo, Loading as As, Setting as Vs, CircleClose as Ls, Close as ro, ArrowRight as Ms } from "@element-plus/icons-vue";
|
|
6
6
|
import { useFoxI18n as tt } from "@fox-js/i18n";
|
|
7
7
|
/*!
|
|
8
|
-
* @fox-js/foxui-desktop v4.0.0 Thu Aug 20 2026
|
|
8
|
+
* @fox-js/foxui-desktop v4.0.0 Thu Aug 20 2026 16:29:36 GMT+0800 (China Standard Time)
|
|
9
9
|
*/
|
|
10
10
|
const mn = window, Rs = typeof window < "u";
|
|
11
11
|
function _s() {
|
|
@@ -21,7 +21,7 @@ function Xv(e) {
|
|
|
21
21
|
const so = _s();
|
|
22
22
|
function Tn(e, t = "0") {
|
|
23
23
|
let l = 0, n = -1;
|
|
24
|
-
e[0] == "-" && (l++, n = 1, e = e.substring(1), e.length), t[0] == "-" && (l++, n = 2, t = t.substring(1), t.length), e = _e(e), t = _e(t), [e, t] =
|
|
24
|
+
e[0] == "-" && (l++, n = 1, e = e.substring(1), e.length), t[0] == "-" && (l++, n = 2, t = t.substring(1), t.length), e = _e(e), t = _e(t), [e, t] = Sl(_e(e), _e(t)), l == 1 && (n == 1 ? e = Wn(e) : t = Wn(t));
|
|
25
25
|
let a = io(e, t);
|
|
26
26
|
return l ? l == 2 ? "-" + _e(a) : e.length < a.length ? _e(a.substring(1)) : "-" + _e(Wn(a)) : _e(a);
|
|
27
27
|
}
|
|
@@ -38,12 +38,12 @@ function _e(e) {
|
|
|
38
38
|
t[0] = t[0].substring(1);
|
|
39
39
|
return t[0] + (t[1] ? "." + t[1] : "");
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Sl(e, t) {
|
|
42
42
|
let l = e.split("."), n = t.split("."), a = l[0].length, o = n[0].length;
|
|
43
43
|
return a > o ? n[0] = new Array(Math.abs(a - o) + 1).join("0") + (n[0] ? n[0] : "") : l[0] = new Array(Math.abs(a - o) + 1).join("0") + (l[0] ? l[0] : ""), a = l[1] ? l[1].length : 0, o = n[1] ? n[1].length : 0, (a || o) && (a > o ? n[1] = (n[1] ? n[1] : "") + new Array(Math.abs(a - o) + 1).join("0") : l[1] = (l[1] ? l[1] : "") + new Array(Math.abs(a - o) + 1).join("0")), e = l[0] + (l[1] ? "." + l[1] : ""), t = n[0] + (n[1] ? "." + n[1] : ""), [e, t];
|
|
44
44
|
}
|
|
45
45
|
function io(e, t) {
|
|
46
|
-
[e, t] =
|
|
46
|
+
[e, t] = Sl(e, t);
|
|
47
47
|
let l = "", n = 0;
|
|
48
48
|
for (let a = e.length - 1; a >= 0; a--) {
|
|
49
49
|
if (e[a] === ".") {
|
|
@@ -74,7 +74,7 @@ function dn(e, t = 0, l = Ae.HALF_EVEN) {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
if (t == 0)
|
|
77
|
-
return o.length,
|
|
77
|
+
return o.length, Ml(a[1], o, n, l) ? (n ? "-" : "") + Yn(o) : (n ? "-" : "") + o;
|
|
78
78
|
if (a[1]) {
|
|
79
79
|
if (a[1].length < t)
|
|
80
80
|
return (n ? "-" : "") + o + "." + a[1] + new Array(t - a[1].length + 1).join("0");
|
|
@@ -82,9 +82,9 @@ function dn(e, t = 0, l = Ae.HALF_EVEN) {
|
|
|
82
82
|
return (n ? "-" : "") + o + "." + new Array(t + 1).join("0");
|
|
83
83
|
r = a[1].substring(0, t);
|
|
84
84
|
let s = a[1].substring(t);
|
|
85
|
-
return s &&
|
|
85
|
+
return s && Ml(s, r, n, l) && (r = Yn(r), r.length > t) ? (n ? "-" : "") + Yn(o, parseInt(r[0])) + "." + r.substring(1) : (n ? "-" : "") + o + "." + r;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Ml(e, t, l, n) {
|
|
88
88
|
if (!e || e === new Array(e.length + 1).join("0") || n === Ae.DOWN || !l && n === Ae.FLOOR || l && n === Ae.CEILING)
|
|
89
89
|
return !1;
|
|
90
90
|
if (n === Ae.UP || l && n === Ae.FLOOR || !l && n === Ae.CEILING)
|
|
@@ -113,7 +113,7 @@ function Yn(e, t = 0) {
|
|
|
113
113
|
}
|
|
114
114
|
return t && (n += t), n.split("").reverse().join("");
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function rl(e, t) {
|
|
117
117
|
e = e.toString(), t = t.toString();
|
|
118
118
|
let l = 0;
|
|
119
119
|
e[0] == "-" && (l++, e = e.substr(1)), t[0] == "-" && (l++, t = t.substr(1)), e = en(e), t = en(t);
|
|
@@ -148,7 +148,7 @@ function en(e) {
|
|
|
148
148
|
e = e.substr(0, e.length - 1);
|
|
149
149
|
return e == "" || e == "." ? e = "0" : e[e.length - 1] == "." && (e = e.substr(0, e.length - 1)), e[0] == "." && (e = "0" + e), e;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function sl(e, t, l = 8) {
|
|
152
152
|
if (t == 0)
|
|
153
153
|
throw new Error("Cannot divide by 0");
|
|
154
154
|
if (e = e.toString(), t = t.toString(), e = e.replace(/(\.\d*?[1-9])0+$/g, "$1").replace(/\.0+$/, ""), t = t.replace(/(\.\d*?[1-9])0+$/g, "$1").replace(/\.0+$/, ""), e == 0)
|
|
@@ -182,32 +182,32 @@ function il(e, t, l = 8) {
|
|
|
182
182
|
}
|
|
183
183
|
return (n == 1 ? "-" : "") + _e(dn(s, l - 2));
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
return e = e.toString(), t = t.toString(), t =
|
|
185
|
+
function il(e, t) {
|
|
186
|
+
return e = e.toString(), t = t.toString(), t = ul(t), Tn(e, t);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function ul(e) {
|
|
189
189
|
return e[0] == "-" ? e = e.substr(1) : e = "-" + e, e;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Rl(e, t) {
|
|
192
192
|
if (t == 0)
|
|
193
193
|
throw new Error("Cannot divide by 0");
|
|
194
|
-
e = e.toString(), t = t.toString(),
|
|
194
|
+
e = e.toString(), t = t.toString(), _l(e), _l(t);
|
|
195
195
|
let l = "";
|
|
196
196
|
e[0] == "-" && (l = "-", e = e.substr(1)), t[0] == "-" && (t = t.substr(1));
|
|
197
|
-
let n =
|
|
197
|
+
let n = il(e, rl(t, dn(sl(e, t), 0, Ae.FLOOR)));
|
|
198
198
|
return l + n;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function _l(e) {
|
|
201
201
|
if (e.indexOf(".") != -1)
|
|
202
202
|
throw new Error("Modulus of non-integers not supported");
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function ql(e, t) {
|
|
205
205
|
let l = !1;
|
|
206
206
|
if (e[0] == "-" && t[0] != "-")
|
|
207
207
|
return -1;
|
|
208
208
|
if (e[0] != "-" && t[0] == "-")
|
|
209
209
|
return 1;
|
|
210
|
-
if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), l = !0), [e, t] =
|
|
210
|
+
if (e[0] == "-" && t[0] == "-" && (e = e.substr(1), t = t.substr(1), l = !0), [e, t] = Sl(e, t), e.localeCompare(t) == 0)
|
|
211
211
|
return 0;
|
|
212
212
|
for (let n = 0; n < e.length; n++)
|
|
213
213
|
if (e[n] != t[n])
|
|
@@ -284,40 +284,40 @@ var Vn = class pe {
|
|
|
284
284
|
return new pe(Tn(this.value, t.getValue()));
|
|
285
285
|
}
|
|
286
286
|
static subtract(t, l) {
|
|
287
|
-
return t = pe.validate(t), l = pe.validate(l),
|
|
287
|
+
return t = pe.validate(t), l = pe.validate(l), il(t, l);
|
|
288
288
|
}
|
|
289
289
|
subtract(t) {
|
|
290
|
-
return new pe(
|
|
290
|
+
return new pe(il(this.value, t.getValue()));
|
|
291
291
|
}
|
|
292
292
|
static multiply(t, l) {
|
|
293
|
-
return t = pe.validate(t), l = pe.validate(l),
|
|
293
|
+
return t = pe.validate(t), l = pe.validate(l), rl(t, l);
|
|
294
294
|
}
|
|
295
295
|
multiply(t) {
|
|
296
|
-
return new pe(
|
|
296
|
+
return new pe(rl(this.value, t.getValue()));
|
|
297
297
|
}
|
|
298
298
|
static divide(t, l, n) {
|
|
299
|
-
return t = pe.validate(t), l = pe.validate(l),
|
|
299
|
+
return t = pe.validate(t), l = pe.validate(l), sl(t, l, n);
|
|
300
300
|
}
|
|
301
301
|
divide(t, l) {
|
|
302
|
-
return new pe(
|
|
302
|
+
return new pe(sl(this.value, t.getValue(), l));
|
|
303
303
|
}
|
|
304
304
|
static modulus(t, l) {
|
|
305
|
-
return t = pe.validate(t), l = pe.validate(l),
|
|
305
|
+
return t = pe.validate(t), l = pe.validate(l), Rl(t, l);
|
|
306
306
|
}
|
|
307
307
|
modulus(t) {
|
|
308
|
-
return new pe(
|
|
308
|
+
return new pe(Rl(this.value, t.getValue()));
|
|
309
309
|
}
|
|
310
310
|
static compareTo(t, l) {
|
|
311
|
-
return t = pe.validate(t), l = pe.validate(l),
|
|
311
|
+
return t = pe.validate(t), l = pe.validate(l), ql(t, l);
|
|
312
312
|
}
|
|
313
313
|
compareTo(t) {
|
|
314
|
-
return
|
|
314
|
+
return ql(this.value, t.getValue());
|
|
315
315
|
}
|
|
316
316
|
static negate(t) {
|
|
317
|
-
return t = pe.validate(t),
|
|
317
|
+
return t = pe.validate(t), ul(t);
|
|
318
318
|
}
|
|
319
319
|
negate() {
|
|
320
|
-
return new pe(
|
|
320
|
+
return new pe(ul(this.value));
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
function Bs(e, t) {
|
|
@@ -326,13 +326,13 @@ function Bs(e, t) {
|
|
|
326
326
|
function uo(e, t, l = 8) {
|
|
327
327
|
return Vn.divide(`${e}`, `${t}`, l);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Bl(e, t) {
|
|
330
330
|
return e = `${e}`, t = `${t}`, Vn.compareTo(e, t);
|
|
331
331
|
}
|
|
332
332
|
function Hs(e) {
|
|
333
333
|
return Vn.negate(e);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function $l(e, t = -1, l = !1, n = 3, a = ",") {
|
|
336
336
|
let o = `${e}`;
|
|
337
337
|
if (o.length == 0 || o === "-")
|
|
338
338
|
return "";
|
|
@@ -356,7 +356,7 @@ function zs(e) {
|
|
|
356
356
|
let n = t.replace(/[^\d\.-]/g, "");
|
|
357
357
|
return `${l}${n}`;
|
|
358
358
|
}
|
|
359
|
-
const co = so, Zv = Array.isArray, Qv = (e) =>
|
|
359
|
+
const co = so, Zv = Array.isArray, Qv = (e) => Tl(e) === "[object Map]", Jv = (e) => Tl(e) === "[object Set]", em = (e) => e instanceof Date, Hl = (e) => typeof e == "function", js = (e) => typeof e == "string", tm = (e) => typeof e == "symbol", It = (e) => e !== null && typeof e == "object", Ks = (e) => It(e) && Hl(e.then) && Hl(e.catch), Ws = Object.prototype.toString, Tl = (e) => Ws.call(e), zl = (e) => Tl(e) === "[object Object]", Ys = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
|
|
360
360
|
function nm(e) {
|
|
361
361
|
return e.__esModule || Ys && e[Symbol.toStringTag] === "Module";
|
|
362
362
|
}
|
|
@@ -378,7 +378,7 @@ function Gt(...e) {
|
|
|
378
378
|
}
|
|
379
379
|
return t;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function jl(e, t, l = !1) {
|
|
382
382
|
if (!l)
|
|
383
383
|
Gt(!0, e, t);
|
|
384
384
|
else {
|
|
@@ -389,9 +389,9 @@ function Kl(e, t, l = !1) {
|
|
|
389
389
|
let o = e[a], r = t[a];
|
|
390
390
|
if (o !== r)
|
|
391
391
|
if (typeof r == "object") {
|
|
392
|
-
if (!Array.isArray(r) && !
|
|
392
|
+
if (!Array.isArray(r) && !zl(r))
|
|
393
393
|
continue;
|
|
394
|
-
o =
|
|
394
|
+
o = jl(o, r, l), e[a] = o;
|
|
395
395
|
} else {
|
|
396
396
|
if (typeof r == "function")
|
|
397
397
|
continue;
|
|
@@ -403,9 +403,9 @@ function Kl(e, t, l = !1) {
|
|
|
403
403
|
let o = e[a], r = t[a];
|
|
404
404
|
if (o !== r)
|
|
405
405
|
if (typeof r == "object") {
|
|
406
|
-
if (!Array.isArray(r) && !
|
|
406
|
+
if (!Array.isArray(r) && !zl(r))
|
|
407
407
|
continue;
|
|
408
|
-
o =
|
|
408
|
+
o = jl(o, r, l), e[a] = o;
|
|
409
409
|
} else {
|
|
410
410
|
if (typeof r == "function")
|
|
411
411
|
continue;
|
|
@@ -426,7 +426,7 @@ function lm(e, ...t) {
|
|
|
426
426
|
function de(e) {
|
|
427
427
|
return e == null ? !1 : typeof e == "boolean" ? e : typeof e == "string" ? e.toLocaleLowerCase() === "true" : !!e;
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function Me(e) {
|
|
430
430
|
return typeof e == "number" ? e : Number(e);
|
|
431
431
|
}
|
|
432
432
|
const Us = {
|
|
@@ -439,21 +439,21 @@ const Us = {
|
|
|
439
439
|
"[object RegExp]": "regExp",
|
|
440
440
|
"[object Object]": "object"
|
|
441
441
|
};
|
|
442
|
-
function
|
|
442
|
+
function cl(e) {
|
|
443
443
|
let l = Object.prototype.toString.call(e);
|
|
444
444
|
return e == null ? String(e) : Us[l] || "object";
|
|
445
445
|
}
|
|
446
446
|
function Xs(e) {
|
|
447
447
|
return e && typeof e == "object" && "setInterval" in e;
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function Cl(e) {
|
|
450
450
|
if (!e)
|
|
451
451
|
return !0;
|
|
452
452
|
const { display: t } = window.getComputedStyle(e);
|
|
453
453
|
return t === "none";
|
|
454
454
|
}
|
|
455
455
|
function Zs(e) {
|
|
456
|
-
let t = !!e && "length" in e && e.length, l =
|
|
456
|
+
let t = !!e && "length" in e && e.length, l = cl(e);
|
|
457
457
|
return l === "function" || Xs(e) ? !1 : l === "array" || t === 0 || typeof t == "number" && t > 0 && t - 1 in e;
|
|
458
458
|
}
|
|
459
459
|
function Qs(e, t) {
|
|
@@ -471,7 +471,7 @@ function Ct(e, t) {
|
|
|
471
471
|
return !0;
|
|
472
472
|
if (e === void 0 || t === void 0)
|
|
473
473
|
return !1;
|
|
474
|
-
let l =
|
|
474
|
+
let l = cl(e), n = cl(t);
|
|
475
475
|
if (l !== n)
|
|
476
476
|
return !1;
|
|
477
477
|
if (l === "object") {
|
|
@@ -500,7 +500,7 @@ const Nt = typeof window < "u";
|
|
|
500
500
|
function fo(e) {
|
|
501
501
|
return e == null;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Kl(e) {
|
|
504
504
|
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
505
505
|
}
|
|
506
506
|
const Oe = (e) => e == null ? !0 : typeof e != "string" ? !1 : e.length === 0;
|
|
@@ -526,12 +526,12 @@ function ti(e) {
|
|
|
526
526
|
const l = t.indexOf(".");
|
|
527
527
|
return l == -1 ? 0 : t.length - (l + 1);
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function Wl(e, t, l) {
|
|
530
530
|
const n = e.indexOf(t);
|
|
531
531
|
return n === -1 ? e : t === "-" && n !== 0 ? e.slice(0, n) : e.slice(0, n + 1) + e.slice(n).replace(l, "");
|
|
532
532
|
}
|
|
533
533
|
function om(e, t = !0, l = !0) {
|
|
534
|
-
t ? e =
|
|
534
|
+
t ? e = Wl(e, ".", /\./g) : e = e.replace(/\./g, ""), l ? e = Wl(e, "-", /-/g) : e = e.replace(/-/, "");
|
|
535
535
|
const n = t ? /[^-0-9.]/g : /[^-0-9]/g;
|
|
536
536
|
return e.replace(n, "");
|
|
537
537
|
}
|
|
@@ -551,7 +551,7 @@ function sm(e, t) {
|
|
|
551
551
|
}
|
|
552
552
|
return t.lastIndexOf(e);
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Ln(e) {
|
|
555
555
|
return e == null || e == null ? 0 : typeof e == "string" ? e.length : `${e}`.length;
|
|
556
556
|
}
|
|
557
557
|
function ni(e, ...t) {
|
|
@@ -684,7 +684,7 @@ class ho {
|
|
|
684
684
|
if (!l || l.messagingPolicy === "Once" && l.resolved === !0)
|
|
685
685
|
return !1;
|
|
686
686
|
let n = !1;
|
|
687
|
-
return !l.name || l.name === "*" || l.name === "+" ||
|
|
687
|
+
return !l.name || l.name === "*" || l.name === "+" || Kl(l.name) && t && l.name.test(t) ? n = !0 : typeof l.name == "function" ? n = Reflect.apply(l.name, null, [t]) : l.name === t && (n = !0), n;
|
|
688
688
|
}
|
|
689
689
|
/**
|
|
690
690
|
* 触发函数
|
|
@@ -736,7 +736,7 @@ class ho {
|
|
|
736
736
|
t.cachePolicy = "None";
|
|
737
737
|
}
|
|
738
738
|
let a = !1;
|
|
739
|
-
!t.name || t.name === "*" ? a = !0 : t.name === "+" ? (a = !1, t.name = "*") :
|
|
739
|
+
!t.name || t.name === "*" ? a = !0 : t.name === "+" ? (a = !1, t.name = "*") : Kl(t.name) && this.name && t.name.test(this.name) ? a = !0 : typeof t.name == "function" ? a = Reflect.apply(t.name, null, [this.name]) : t.name === this.name && (a = !0);
|
|
740
740
|
const o = [];
|
|
741
741
|
if (a) {
|
|
742
742
|
const r = this.callbacks.get(l);
|
|
@@ -791,7 +791,7 @@ class ho {
|
|
|
791
791
|
this.callbacks.set(t, l);
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Nl(e, t, l, n) {
|
|
795
795
|
const a = new ho(t, e, l);
|
|
796
796
|
if (n && typeof n == "object")
|
|
797
797
|
for (const o in n)
|
|
@@ -1121,7 +1121,7 @@ class ri {
|
|
|
1121
1121
|
});
|
|
1122
1122
|
}
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function El(e, t, l) {
|
|
1125
1125
|
if (l.valueName = l.valueName ?? "modelValue", l.valueType = l.valueType ?? "string", !l.validateHandler && l.valueName !== "modelValue") {
|
|
1126
1126
|
const a = l.valueName;
|
|
1127
1127
|
l.validateHandler = {
|
|
@@ -1226,7 +1226,7 @@ function ym(e) {
|
|
|
1226
1226
|
t || (t = !0, Reflect.apply(e, null, [...l]));
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function kl(e, t, l, n = 0, a = !0, o) {
|
|
1230
1230
|
let r = t, s = 0;
|
|
1231
1231
|
if (a) {
|
|
1232
1232
|
const u = e();
|
|
@@ -1254,7 +1254,7 @@ function Il(e, t, l, n = 0, a = !0, o) {
|
|
|
1254
1254
|
setTimeout(i, r);
|
|
1255
1255
|
}
|
|
1256
1256
|
const et = Symbol("DomainKey"), nn = Symbol("DataItemsKey");
|
|
1257
|
-
class
|
|
1257
|
+
class Il {
|
|
1258
1258
|
/**
|
|
1259
1259
|
* 父亲domain
|
|
1260
1260
|
*/
|
|
@@ -1400,7 +1400,7 @@ class Fl {
|
|
|
1400
1400
|
return l;
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
|
-
const ii = new
|
|
1403
|
+
const ii = new Il();
|
|
1404
1404
|
function cn() {
|
|
1405
1405
|
return ii;
|
|
1406
1406
|
}
|
|
@@ -1413,7 +1413,7 @@ function po(e, t, l = [], n) {
|
|
|
1413
1413
|
let o = a?.proxy, r = qe(et, null);
|
|
1414
1414
|
r === null && (r = cn());
|
|
1415
1415
|
const s = e || t.prop || t.name;
|
|
1416
|
-
let i = new
|
|
1416
|
+
let i = new Il(s);
|
|
1417
1417
|
i.parent = r;
|
|
1418
1418
|
const u = (I) => {
|
|
1419
1419
|
o[Un] || m(I), i?.set("modelValue", I);
|
|
@@ -1428,9 +1428,9 @@ function po(e, t, l = [], n) {
|
|
|
1428
1428
|
},
|
|
1429
1429
|
{ immediate: !0 }
|
|
1430
1430
|
) : i.merge(t, l), t.modelValue && m(t.modelValue), o[et] = i, ke(et, i), a !== null) {
|
|
1431
|
-
const I = qe(Ve, null), g =
|
|
1431
|
+
const I = qe(Ve, null), g = Nl(o, I, s, n);
|
|
1432
1432
|
i.broadcast = g, o[Ve] = g, ke(Ve, g), o.broadcast = (x, p, ...T) => Reflect.apply(g.emit, g, [x, p, ...T]);
|
|
1433
|
-
const d = qe(ct, null), h =
|
|
1433
|
+
const d = qe(ct, null), h = El(o, d, { componentName: "" });
|
|
1434
1434
|
i.validateSchema = h, o[ct] = h, ke(ct, h), o[nn] = /* @__PURE__ */ new Map(), o.validate = (x = !0) => {
|
|
1435
1435
|
const p = [];
|
|
1436
1436
|
let T = null;
|
|
@@ -1438,19 +1438,19 @@ function po(e, t, l = [], n) {
|
|
|
1438
1438
|
if (x === !0)
|
|
1439
1439
|
T = { name: "*" };
|
|
1440
1440
|
else if (Array.isArray(x) && x.length > 0) {
|
|
1441
|
-
const
|
|
1441
|
+
const M = x;
|
|
1442
1442
|
T = {
|
|
1443
|
-
name: (R) => R ?
|
|
1443
|
+
name: (R) => R ? M.indexOf(R) !== -1 : !1
|
|
1444
1444
|
};
|
|
1445
1445
|
} else if (x != null && typeof x == "object") {
|
|
1446
|
-
const
|
|
1447
|
-
if (Object.assign(H,
|
|
1448
|
-
const R =
|
|
1446
|
+
const M = x;
|
|
1447
|
+
if (Object.assign(H, M), Array.isArray(M.include) && M.include.length > 0) {
|
|
1448
|
+
const R = M.include;
|
|
1449
1449
|
T = {
|
|
1450
1450
|
name: (D) => D ? R.indexOf(D) !== -1 : !1
|
|
1451
1451
|
};
|
|
1452
|
-
} else if (Array.isArray(
|
|
1453
|
-
const R =
|
|
1452
|
+
} else if (Array.isArray(M.exclude) && M.exclude.length > 0) {
|
|
1453
|
+
const R = M.exclude;
|
|
1454
1454
|
T = {
|
|
1455
1455
|
name: (D) => D ? R.indexOf(D) === -1 : !1
|
|
1456
1456
|
};
|
|
@@ -1458,12 +1458,12 @@ function po(e, t, l = [], n) {
|
|
|
1458
1458
|
T = { name: "*" };
|
|
1459
1459
|
}
|
|
1460
1460
|
if (T) {
|
|
1461
|
-
const
|
|
1462
|
-
|
|
1461
|
+
const M = g?.emitToChildren(T, "validate", H);
|
|
1462
|
+
M && Reflect.apply([].push, p, M);
|
|
1463
1463
|
}
|
|
1464
|
-
return p.length == 1 ? p[0] : p.length > 1 ? Promise.all(p).then((
|
|
1464
|
+
return p.length == 1 ? p[0] : p.length > 1 ? Promise.all(p).then((M) => {
|
|
1465
1465
|
let R = [];
|
|
1466
|
-
return
|
|
1466
|
+
return M.forEach((D) => {
|
|
1467
1467
|
D.pass === !1 && Array.isArray(D.errors) && (R = [...R, ...D.errors]);
|
|
1468
1468
|
}), R.length > 0 ? {
|
|
1469
1469
|
pass: !1,
|
|
@@ -1476,37 +1476,37 @@ function po(e, t, l = [], n) {
|
|
|
1476
1476
|
});
|
|
1477
1477
|
}, o.setNameValidateRules = (x, p = !0, T = !1) => {
|
|
1478
1478
|
if (T === !0) {
|
|
1479
|
-
Reflect.ownKeys(x).forEach((
|
|
1480
|
-
let R = String(
|
|
1479
|
+
Reflect.ownKeys(x).forEach((M) => {
|
|
1480
|
+
let R = String(M);
|
|
1481
1481
|
const D = {
|
|
1482
1482
|
componentName: "",
|
|
1483
1483
|
fieldName: R,
|
|
1484
1484
|
pureDataValidate: !0
|
|
1485
1485
|
};
|
|
1486
1486
|
if (i) {
|
|
1487
|
-
const
|
|
1487
|
+
const L = ci(
|
|
1488
1488
|
i,
|
|
1489
1489
|
R,
|
|
1490
1490
|
D,
|
|
1491
1491
|
g,
|
|
1492
1492
|
h
|
|
1493
1493
|
);
|
|
1494
|
-
o[nn].set(R,
|
|
1494
|
+
o[nn].set(R, L);
|
|
1495
1495
|
const N = x[R];
|
|
1496
|
-
N &&
|
|
1496
|
+
N && L.validateSchema.setRule(N);
|
|
1497
1497
|
}
|
|
1498
1498
|
});
|
|
1499
1499
|
return;
|
|
1500
1500
|
}
|
|
1501
1501
|
if (p) {
|
|
1502
|
-
const H = Reflect.ownKeys(x),
|
|
1502
|
+
const H = Reflect.ownKeys(x), M = {
|
|
1503
1503
|
name: (R) => H.includes(R),
|
|
1504
1504
|
// 持久化消息,后续组件动态加载,能获取rule配置
|
|
1505
1505
|
cachePolicy: "Persistant",
|
|
1506
1506
|
// 唯一id,必须和policy Persistant配合使用
|
|
1507
1507
|
uniqueId: "validateRules"
|
|
1508
1508
|
};
|
|
1509
|
-
g?.emitToChildren(
|
|
1509
|
+
g?.emitToChildren(M, "setNameValidateRules", x, !1);
|
|
1510
1510
|
}
|
|
1511
1511
|
}, o.clearValidate = (x = !0) => {
|
|
1512
1512
|
let p = null;
|
|
@@ -1522,12 +1522,12 @@ function po(e, t, l = [], n) {
|
|
|
1522
1522
|
if (Array.isArray(T.include) && T.include.length > 0) {
|
|
1523
1523
|
const H = T.include;
|
|
1524
1524
|
p = {
|
|
1525
|
-
name: (
|
|
1525
|
+
name: (M) => M ? H.indexOf(M) !== -1 : !1
|
|
1526
1526
|
};
|
|
1527
1527
|
} else if (Array.isArray(T.exclude) && T.exclude.length > 0) {
|
|
1528
1528
|
const H = T.exclude;
|
|
1529
1529
|
p = {
|
|
1530
|
-
name: (
|
|
1530
|
+
name: (M) => M ? H.indexOf(M) === -1 : !1
|
|
1531
1531
|
};
|
|
1532
1532
|
} else
|
|
1533
1533
|
p = { name: "*" };
|
|
@@ -1543,13 +1543,13 @@ function po(e, t, l = [], n) {
|
|
|
1543
1543
|
p[H] = T[H];
|
|
1544
1544
|
});
|
|
1545
1545
|
else if (x && Array.isArray(x.include))
|
|
1546
|
-
(x.include ?? []).forEach((
|
|
1547
|
-
p[
|
|
1546
|
+
(x.include ?? []).forEach((M) => {
|
|
1547
|
+
p[M] = T[M];
|
|
1548
1548
|
});
|
|
1549
1549
|
else if (x && Array.isArray(x.exclude)) {
|
|
1550
1550
|
let H = x.exclude ?? [];
|
|
1551
|
-
Reflect.ownKeys(T).forEach((
|
|
1552
|
-
H.includes(
|
|
1551
|
+
Reflect.ownKeys(T).forEach((M) => {
|
|
1552
|
+
H.includes(M) || (p[M] = T[M]);
|
|
1553
1553
|
});
|
|
1554
1554
|
} else
|
|
1555
1555
|
Object.assign(p, T);
|
|
@@ -1568,7 +1568,7 @@ function ui(e, t, l = []) {
|
|
|
1568
1568
|
let a = Re()?.proxy, o = qe(et, null);
|
|
1569
1569
|
o === null && (o = cn());
|
|
1570
1570
|
const r = e || t.prop || t.name;
|
|
1571
|
-
let s = new
|
|
1571
|
+
let s = new Il(r);
|
|
1572
1572
|
return s.parent = o, pt(t) || typeof t == "function" ? fe(
|
|
1573
1573
|
t,
|
|
1574
1574
|
(i) => {
|
|
@@ -1581,11 +1581,11 @@ function ui(e, t, l = []) {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
function Be(e, t, l) {
|
|
1583
1583
|
const a = Re()?.proxy, o = t ?? "", r = qe(Ve, null);
|
|
1584
|
-
let s =
|
|
1584
|
+
let s = Nl(a, r, o, l);
|
|
1585
1585
|
a[Ve] = s, ke(Ve, s), a.broadcast = (g, d, ...h) => s ? Reflect.apply(s.emit, s, [g, d, ...h]) : null;
|
|
1586
1586
|
const i = qe(ct, null);
|
|
1587
1587
|
e.fieldName = e.fieldName ?? o;
|
|
1588
|
-
let u =
|
|
1588
|
+
let u = El(a, i, e);
|
|
1589
1589
|
a[ct] = u, ke(ct, u), a.validate = (g = null) => {
|
|
1590
1590
|
if (!u)
|
|
1591
1591
|
return Promise.resolve({
|
|
@@ -1596,8 +1596,8 @@ function Be(e, t, l) {
|
|
|
1596
1596
|
if (Array.isArray(g) && g.indexOf(o) !== -1)
|
|
1597
1597
|
x = !0, h = !0;
|
|
1598
1598
|
else if (g && typeof g == "object") {
|
|
1599
|
-
const p = g, T = p.ignoreDisabled ?? !0, H = p.ignoreReadonly ?? !0,
|
|
1600
|
-
T === !0 && e.disabled === !0 || H === !0 && e.readonly === !0 ||
|
|
1599
|
+
const p = g, T = p.ignoreDisabled ?? !0, H = p.ignoreReadonly ?? !0, M = p.ignoreHidden ?? !0;
|
|
1600
|
+
T === !0 && e.disabled === !0 || H === !0 && e.readonly === !0 || M === !0 && Cl(a.$el) ? x = !1 : (Array.isArray(p.include) && p.include.indexOf(o) !== -1 || Array.isArray(p.exclude) && p.exclude.indexOf(o), x = !0), h = p.deep ?? !1;
|
|
1601
1601
|
} else
|
|
1602
1602
|
typeof g == "boolean" && (h = g), x = !0;
|
|
1603
1603
|
if (x) {
|
|
@@ -1612,19 +1612,19 @@ function Be(e, t, l) {
|
|
|
1612
1612
|
else if (Array.isArray(g) && g.length > 0) {
|
|
1613
1613
|
const H = g;
|
|
1614
1614
|
p = {
|
|
1615
|
-
name: (
|
|
1615
|
+
name: (M) => M ? H.indexOf(M) !== -1 : !1
|
|
1616
1616
|
};
|
|
1617
1617
|
} else if (g != null && typeof g == "object") {
|
|
1618
1618
|
const H = g;
|
|
1619
1619
|
if (Object.assign(T, H), Array.isArray(H.include) && H.include.length > 0) {
|
|
1620
|
-
const
|
|
1620
|
+
const M = H.include;
|
|
1621
1621
|
p = {
|
|
1622
|
-
name: (R) => R ?
|
|
1622
|
+
name: (R) => R ? M.indexOf(R) !== -1 : !1
|
|
1623
1623
|
};
|
|
1624
1624
|
} else if (Array.isArray(H.exclude) && H.exclude.length > 0) {
|
|
1625
|
-
const
|
|
1625
|
+
const M = H.exclude;
|
|
1626
1626
|
p = {
|
|
1627
|
-
name: (R) => R ?
|
|
1627
|
+
name: (R) => R ? M.indexOf(R) === -1 : !1
|
|
1628
1628
|
};
|
|
1629
1629
|
} else
|
|
1630
1630
|
p = { name: "*" };
|
|
@@ -1731,7 +1731,7 @@ function ci(e, t, l, n, a) {
|
|
|
1731
1731
|
return s.getValue();
|
|
1732
1732
|
}
|
|
1733
1733
|
};
|
|
1734
|
-
let i =
|
|
1734
|
+
let i = El({}, a, l);
|
|
1735
1735
|
o.validate = (c = null) => {
|
|
1736
1736
|
if (!s.isExist())
|
|
1737
1737
|
return console.warn(`validate error: field [${r}] not exist`), Promise.resolve({
|
|
@@ -1797,7 +1797,7 @@ function ci(e, t, l, n, a) {
|
|
|
1797
1797
|
const f = c[r];
|
|
1798
1798
|
f && i?.setRule(f);
|
|
1799
1799
|
};
|
|
1800
|
-
let u =
|
|
1800
|
+
let u = Nl(null, n, r, o);
|
|
1801
1801
|
return at(() => {
|
|
1802
1802
|
i = null, u = null;
|
|
1803
1803
|
}), {
|
|
@@ -1853,7 +1853,7 @@ function mt(e) {
|
|
|
1853
1853
|
};
|
|
1854
1854
|
return e && (e.top !== null && e.top !== void 0 && (t.top = we(e.top)), e.left !== null && e.left !== void 0 && (t.left = we(e.left)), e.bottom !== null && e.bottom !== void 0 && (t.bottom = we(e.bottom)), e.right !== null && e.right !== void 0 && (t.right = we(e.right))), t;
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1856
|
+
function Yl(e, t, l = {}, n = !0, a = -1, o = -1, r = 0, s = 0) {
|
|
1857
1857
|
if (e.headerHeight = we(l.headerHeight ?? t.headerHeight ?? -1), e.headerPadding = mt(l.headerPadding ?? t.headerPadding), e.footerHeight = we(l.footerHeight ?? t.footerHeight ?? -1), e.footerPadding = mt(l.footerPadding ?? t.footerPadding), e.contentPadding = mt(l.contentPadding ?? t.contentPadding), n) {
|
|
1858
1858
|
const i = l.height ?? t.height;
|
|
1859
1859
|
i ? e.height = we(i, o) : e.height = we(o) - we(r, o) - we(s, o), e.width = we(l.width ?? t.width ?? 0, a);
|
|
@@ -1886,10 +1886,10 @@ function di(e, t = {}) {
|
|
|
1886
1886
|
if (!o)
|
|
1887
1887
|
return null;
|
|
1888
1888
|
const r = e.get("rootWidth") ?? -1, s = e.get("rootHeight") ?? -1, i = e.get("headerBarHeight") ?? 0, u = e.get("footerBarHeight") ?? 0;
|
|
1889
|
-
|
|
1889
|
+
Yl(n, o, t, !0, r, s, i, u);
|
|
1890
1890
|
const c = kt(n), f = e.getForParent(Et);
|
|
1891
|
-
f && (n.height =
|
|
1892
|
-
[() =>
|
|
1891
|
+
f && (n.height = fl(e, f), n.width = dl(e, f), fe(
|
|
1892
|
+
[() => fl(e, f), () => dl(e, f)],
|
|
1893
1893
|
([I, g]) => {
|
|
1894
1894
|
c.height = I, c.width = g;
|
|
1895
1895
|
}
|
|
@@ -1912,7 +1912,7 @@ function di(e, t = {}) {
|
|
|
1912
1912
|
x = 0,
|
|
1913
1913
|
p = 0
|
|
1914
1914
|
]) => {
|
|
1915
|
-
|
|
1915
|
+
Yl(
|
|
1916
1916
|
c,
|
|
1917
1917
|
g,
|
|
1918
1918
|
t,
|
|
@@ -1925,7 +1925,7 @@ function di(e, t = {}) {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
), e.set(Et, c), c;
|
|
1927
1927
|
}
|
|
1928
|
-
function
|
|
1928
|
+
function Fl(e) {
|
|
1929
1929
|
return e.get(Et);
|
|
1930
1930
|
}
|
|
1931
1931
|
function En(e, t) {
|
|
@@ -1942,7 +1942,7 @@ function kn(e, t) {
|
|
|
1942
1942
|
}
|
|
1943
1943
|
return 0;
|
|
1944
1944
|
}
|
|
1945
|
-
function
|
|
1945
|
+
function fl(e, t) {
|
|
1946
1946
|
if (t = t ?? e.get(Et), t) {
|
|
1947
1947
|
if (t.contentInnerHeight)
|
|
1948
1948
|
return t.contentInnerHeight;
|
|
@@ -1951,7 +1951,7 @@ function dl(e, t) {
|
|
|
1951
1951
|
}
|
|
1952
1952
|
return 0;
|
|
1953
1953
|
}
|
|
1954
|
-
function
|
|
1954
|
+
function dl(e, t) {
|
|
1955
1955
|
return t = t ?? e.get(Et), t ? t.contentInnerWidth ?? t.width - (t.contentPadding.left ?? 0) - (t.contentPadding.right ?? 0) : 0;
|
|
1956
1956
|
}
|
|
1957
1957
|
function bm(e, t) {
|
|
@@ -2005,9 +2005,9 @@ function Se(e, t = "modelValue", l = null, n) {
|
|
|
2005
2005
|
}), r;
|
|
2006
2006
|
}
|
|
2007
2007
|
const yo = /* @__PURE__ */ new Map(), In = /* @__PURE__ */ new Map();
|
|
2008
|
-
let
|
|
2008
|
+
let hl = null;
|
|
2009
2009
|
function hi(e) {
|
|
2010
|
-
|
|
2010
|
+
hl = e;
|
|
2011
2011
|
}
|
|
2012
2012
|
function bo(e, t, l) {
|
|
2013
2013
|
if (l) {
|
|
@@ -2017,7 +2017,7 @@ function bo(e, t, l) {
|
|
|
2017
2017
|
yo.set(e, t);
|
|
2018
2018
|
}
|
|
2019
2019
|
function it(e, t, l) {
|
|
2020
|
-
!l &&
|
|
2020
|
+
!l && hl && (l = hl(e) ?? void 0);
|
|
2021
2021
|
let n = null;
|
|
2022
2022
|
if (l) {
|
|
2023
2023
|
let a = In.get(l);
|
|
@@ -2189,7 +2189,7 @@ const xi = [
|
|
|
2189
2189
|
br,
|
|
2190
2190
|
xr,
|
|
2191
2191
|
wr,
|
|
2192
|
-
|
|
2192
|
+
bl,
|
|
2193
2193
|
Sr,
|
|
2194
2194
|
$r,
|
|
2195
2195
|
Tr,
|
|
@@ -2208,8 +2208,8 @@ const xi = [
|
|
|
2208
2208
|
Pr,
|
|
2209
2209
|
Ar,
|
|
2210
2210
|
Vr,
|
|
2211
|
-
Mr,
|
|
2212
2211
|
Lr,
|
|
2212
|
+
Mr,
|
|
2213
2213
|
Rr,
|
|
2214
2214
|
_r,
|
|
2215
2215
|
za,
|
|
@@ -2227,7 +2227,7 @@ const xi = [
|
|
|
2227
2227
|
Bt,
|
|
2228
2228
|
Xr,
|
|
2229
2229
|
Zr,
|
|
2230
|
-
|
|
2230
|
+
xl,
|
|
2231
2231
|
Ka,
|
|
2232
2232
|
Qr,
|
|
2233
2233
|
Jr,
|
|
@@ -2240,7 +2240,7 @@ const xi = [
|
|
|
2240
2240
|
Pn,
|
|
2241
2241
|
os,
|
|
2242
2242
|
rs,
|
|
2243
|
-
|
|
2243
|
+
ol,
|
|
2244
2244
|
Ya,
|
|
2245
2245
|
Ga,
|
|
2246
2246
|
Ua,
|
|
@@ -2259,7 +2259,7 @@ const xi = [
|
|
|
2259
2259
|
ms,
|
|
2260
2260
|
Qa,
|
|
2261
2261
|
Ja,
|
|
2262
|
-
|
|
2262
|
+
wl,
|
|
2263
2263
|
ps,
|
|
2264
2264
|
ys,
|
|
2265
2265
|
bs,
|
|
@@ -2315,7 +2315,7 @@ function He(e, t = null) {
|
|
|
2315
2315
|
Object.assign(l, e);
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
2318
|
-
const
|
|
2318
|
+
const Le = {
|
|
2319
2319
|
// 页面范围禁用设置
|
|
2320
2320
|
disabled: {
|
|
2321
2321
|
type: [Boolean, String],
|
|
@@ -2721,7 +2721,7 @@ const $i = Symbol.for("InnerPageScopeKey"), Ti = {
|
|
|
2721
2721
|
//属性
|
|
2722
2722
|
props: {
|
|
2723
2723
|
// item属性(domain属性)
|
|
2724
|
-
...
|
|
2724
|
+
...Le,
|
|
2725
2725
|
// group属性(domain属性)
|
|
2726
2726
|
...xo,
|
|
2727
2727
|
// page属性
|
|
@@ -2737,8 +2737,8 @@ const $i = Symbol.for("InnerPageScopeKey"), Ti = {
|
|
|
2737
2737
|
if (a) {
|
|
2738
2738
|
const c = di(a, l);
|
|
2739
2739
|
He({
|
|
2740
|
-
getPageContentHeight: () =>
|
|
2741
|
-
getPageContentWidth: () =>
|
|
2740
|
+
getPageContentHeight: () => fl(a, c),
|
|
2741
|
+
getPageContentWidth: () => dl(a, c),
|
|
2742
2742
|
getPageHeaderHeight: () => En(a, c),
|
|
2743
2743
|
getPageFooterHeight: () => kn(a, c)
|
|
2744
2744
|
}), c && o && (c.contentHeight = "100%");
|
|
@@ -2784,7 +2784,7 @@ const $i = Symbol.for("InnerPageScopeKey"), Ti = {
|
|
|
2784
2784
|
};
|
|
2785
2785
|
}
|
|
2786
2786
|
}), { componentName: Ni, create: Ei, scope: wm } = ue("page"), ki = Ei(Ci(Ni));
|
|
2787
|
-
function
|
|
2787
|
+
function Dl(e) {
|
|
2788
2788
|
const t = St(e);
|
|
2789
2789
|
return {
|
|
2790
2790
|
width: t.offsetWidth,
|
|
@@ -2890,7 +2890,7 @@ const Ii = (e, t, l, n = !1) => ({
|
|
|
2890
2890
|
emits: ["back", "click-title", "click-right", "click-right-text"],
|
|
2891
2891
|
// setup
|
|
2892
2892
|
setup(a, o) {
|
|
2893
|
-
const r = Ht(), s = r ?
|
|
2893
|
+
const r = Ht(), s = r ? Fl(r) : null;
|
|
2894
2894
|
s && (s.headerMounted = !0);
|
|
2895
2895
|
const i = e, u = b(() => ({
|
|
2896
2896
|
[i]: !0,
|
|
@@ -2919,9 +2919,9 @@ const Ii = (e, t, l, n = !1) => ({
|
|
|
2919
2919
|
}
|
|
2920
2920
|
return C;
|
|
2921
2921
|
}), I = j(null), g = () => {
|
|
2922
|
-
if (s && I.value && !
|
|
2922
|
+
if (s && I.value && !Cl(I.value)) {
|
|
2923
2923
|
if (!n) {
|
|
2924
|
-
const C =
|
|
2924
|
+
const C = Dl(I.value);
|
|
2925
2925
|
s.headerAllHeight = C.height;
|
|
2926
2926
|
}
|
|
2927
2927
|
return s.headerMounted = !0, !0;
|
|
@@ -2930,7 +2930,7 @@ const Ii = (e, t, l, n = !1) => ({
|
|
|
2930
2930
|
};
|
|
2931
2931
|
let d = null;
|
|
2932
2932
|
Ne(() => {
|
|
2933
|
-
s && (
|
|
2933
|
+
s && (kl(g, 50, 5, 50, !0), window.ResizeObserver && I.value && (d = new window.ResizeObserver(() => {
|
|
2934
2934
|
g();
|
|
2935
2935
|
}), d.observe(I.value)));
|
|
2936
2936
|
}), at(() => {
|
|
@@ -2949,7 +2949,7 @@ const Ii = (e, t, l, n = !1) => ({
|
|
|
2949
2949
|
function H() {
|
|
2950
2950
|
o.emit("click-right");
|
|
2951
2951
|
}
|
|
2952
|
-
function
|
|
2952
|
+
function M() {
|
|
2953
2953
|
o.emit("click-right-text");
|
|
2954
2954
|
}
|
|
2955
2955
|
const R = () => {
|
|
@@ -2980,7 +2980,7 @@ const Ii = (e, t, l, n = !1) => ({
|
|
|
2980
2980
|
C.push(o.slots.right());
|
|
2981
2981
|
else {
|
|
2982
2982
|
if (a.rightText) {
|
|
2983
|
-
const w = A("view", { class: "right-text", onClick:
|
|
2983
|
+
const w = A("view", { class: "right-text", onClick: M }, [a.rightText]);
|
|
2984
2984
|
C.push(w);
|
|
2985
2985
|
}
|
|
2986
2986
|
if (o.slots.rightIcon) {
|
|
@@ -2992,7 +2992,7 @@ const Ii = (e, t, l, n = !1) => ({
|
|
|
2992
2992
|
}
|
|
2993
2993
|
}
|
|
2994
2994
|
return C.length === 0 ? null : A("view", { class: "fox-header-bar__right" }, C);
|
|
2995
|
-
},
|
|
2995
|
+
}, L = () => {
|
|
2996
2996
|
if (!a.titleShow)
|
|
2997
2997
|
return null;
|
|
2998
2998
|
const C = [], w = o.slots.default ? o.slots.default() : null;
|
|
@@ -3027,7 +3027,7 @@ const Ii = (e, t, l, n = !1) => ({
|
|
|
3027
3027
|
else {
|
|
3028
3028
|
const B = [], $ = R();
|
|
3029
3029
|
$ && B.push($);
|
|
3030
|
-
const E =
|
|
3030
|
+
const E = L();
|
|
3031
3031
|
E && B.push(E);
|
|
3032
3032
|
const O = D();
|
|
3033
3033
|
if (O && B.push(O), B.length > 0) {
|
|
@@ -3089,7 +3089,7 @@ function Ai(e, t, l = !1) {
|
|
|
3089
3089
|
},
|
|
3090
3090
|
// setup
|
|
3091
3091
|
setup(n, a) {
|
|
3092
|
-
const o = Ht(), r = o ?
|
|
3092
|
+
const o = Ht(), r = o ? Fl(o) : null, s = b(() => {
|
|
3093
3093
|
const g = e;
|
|
3094
3094
|
return {
|
|
3095
3095
|
[g]: !0,
|
|
@@ -3117,9 +3117,9 @@ function Ai(e, t, l = !1) {
|
|
|
3117
3117
|
}
|
|
3118
3118
|
return g;
|
|
3119
3119
|
}), c = j(null), f = () => {
|
|
3120
|
-
if (r && c.value && !
|
|
3120
|
+
if (r && c.value && !Cl(c.value)) {
|
|
3121
3121
|
if (!l) {
|
|
3122
|
-
const g =
|
|
3122
|
+
const g = Dl(c.value);
|
|
3123
3123
|
r.footerAllHeight = g.height;
|
|
3124
3124
|
}
|
|
3125
3125
|
return r.footerMounted = !0, !0;
|
|
@@ -3128,7 +3128,7 @@ function Ai(e, t, l = !1) {
|
|
|
3128
3128
|
};
|
|
3129
3129
|
let m = null;
|
|
3130
3130
|
Ne(() => {
|
|
3131
|
-
r && (
|
|
3131
|
+
r && (kl(f, 50, 5, 50, !0), window.ResizeObserver && (m = new window.ResizeObserver(() => {
|
|
3132
3132
|
f();
|
|
3133
3133
|
}), m.observe(c.value)));
|
|
3134
3134
|
}), at(() => {
|
|
@@ -3149,7 +3149,7 @@ function Ai(e, t, l = !1) {
|
|
|
3149
3149
|
}
|
|
3150
3150
|
};
|
|
3151
3151
|
}
|
|
3152
|
-
const { componentName: Vi, create:
|
|
3152
|
+
const { componentName: Vi, create: Li, scope: Sm } = ue("footer-bar"), Mi = Li(Ai(Vi));
|
|
3153
3153
|
function Ri(e, t) {
|
|
3154
3154
|
return {
|
|
3155
3155
|
//属性
|
|
@@ -3164,7 +3164,7 @@ function Ri(e, t) {
|
|
|
3164
3164
|
setup(l) {
|
|
3165
3165
|
const n = Ht(), a = b(() => ({
|
|
3166
3166
|
[e]: !0
|
|
3167
|
-
})), o = n ?
|
|
3167
|
+
})), o = n ? Fl(n) : null, r = b(() => {
|
|
3168
3168
|
const u = {};
|
|
3169
3169
|
if (n && o) {
|
|
3170
3170
|
if (l.padding) {
|
|
@@ -3222,7 +3222,7 @@ const ot = (e, t) => {
|
|
|
3222
3222
|
l[n] = a;
|
|
3223
3223
|
return l;
|
|
3224
3224
|
}, zi = /* @__PURE__ */ ot(Bi, [["render", Hi]]), Ut = "GroupStateKey", To = Symbol.for("GroupScopeKey");
|
|
3225
|
-
function
|
|
3225
|
+
function Mn() {
|
|
3226
3226
|
return qe(To, !1);
|
|
3227
3227
|
}
|
|
3228
3228
|
function Rn(e = !0) {
|
|
@@ -3261,7 +3261,7 @@ function Zn(e, t, l = -1, n = -1, a = !1, o, r, s) {
|
|
|
3261
3261
|
s || (s = u.type ?? "grid");
|
|
3262
3262
|
const m = () => {
|
|
3263
3263
|
const I = t === "" || t === -1, g = we(t);
|
|
3264
|
-
let d =
|
|
3264
|
+
let d = Me(l);
|
|
3265
3265
|
const h = we(n);
|
|
3266
3266
|
if (!I) {
|
|
3267
3267
|
let T = (g - (d - 1) * h) / d;
|
|
@@ -3291,17 +3291,17 @@ function qn(e, t = !1) {
|
|
|
3291
3291
|
let l;
|
|
3292
3292
|
return t ? l = e.getForParent(Ut) : l = e.get(Ut), l.order;
|
|
3293
3293
|
}
|
|
3294
|
-
function
|
|
3294
|
+
function Gl(e, t = 1) {
|
|
3295
3295
|
if (t === "stretch")
|
|
3296
3296
|
return -1;
|
|
3297
|
-
const l =
|
|
3297
|
+
const l = Me(t);
|
|
3298
3298
|
return l === -1 ? 100 : 100 * l / e;
|
|
3299
3299
|
}
|
|
3300
3300
|
function Bn(e, t, l = 1, n = 0, a) {
|
|
3301
3301
|
const o = {};
|
|
3302
3302
|
let r = 0;
|
|
3303
|
-
a ? r = we(a) : r =
|
|
3304
|
-
const s =
|
|
3303
|
+
a ? r = we(a) : r = Gl(t.column, l), r > 0 && (o.width = `${r}%`);
|
|
3304
|
+
const s = Gl(t.column, n);
|
|
3305
3305
|
s > 0 && (o["margin-left"] = `${s}%`);
|
|
3306
3306
|
const i = t.gutter / 2;
|
|
3307
3307
|
return i > 0 && (o["padding-left"] = `${i}px`, o["padding-right"] = `${i}px`), o;
|
|
@@ -3314,7 +3314,7 @@ function Hn(e, t, l = 1, n = 0) {
|
|
|
3314
3314
|
// 转换为布局坐标为 +1, -1 代表为最后一列
|
|
3315
3315
|
};
|
|
3316
3316
|
}
|
|
3317
|
-
let a =
|
|
3317
|
+
let a = Me(l);
|
|
3318
3318
|
if (a === -1) {
|
|
3319
3319
|
const i = e.index % t.column;
|
|
3320
3320
|
return t.column, i == 0 ? e.index = e.index + t.column : e.index = e.index + (t.column - i) + t.column, {
|
|
@@ -3329,7 +3329,7 @@ function Hn(e, t, l = 1, n = 0) {
|
|
|
3329
3329
|
// 独占一行
|
|
3330
3330
|
};
|
|
3331
3331
|
}
|
|
3332
|
-
const o =
|
|
3332
|
+
const o = Me(n) % t.column;
|
|
3333
3333
|
let r = (e.index + o) % t.column, s = r + a;
|
|
3334
3334
|
return s > t.column ? (r = 0, s = r + a, e.index = e.index + (t.column - r) + a) : e.index = e.index + o + a, o > 0 ? {
|
|
3335
3335
|
"grid-column": `${r + 1} / span ${a}`
|
|
@@ -3345,7 +3345,7 @@ function Wi(e) {
|
|
|
3345
3345
|
function Yi() {
|
|
3346
3346
|
return qe(Co, null);
|
|
3347
3347
|
}
|
|
3348
|
-
function
|
|
3348
|
+
function gl(e) {
|
|
3349
3349
|
let t = 0;
|
|
3350
3350
|
const l = window.getComputedStyle(e, null);
|
|
3351
3351
|
if (l.getPropertyValue("box-sizing") === "content-box") {
|
|
@@ -3356,10 +3356,10 @@ function vl(e) {
|
|
|
3356
3356
|
return t;
|
|
3357
3357
|
}
|
|
3358
3358
|
function Gi(e) {
|
|
3359
|
-
let t =
|
|
3359
|
+
let t = gl(e);
|
|
3360
3360
|
if (t <= 0) {
|
|
3361
3361
|
const l = e.cloneNode(!0), n = e.offsetWidth;
|
|
3362
|
-
l.style = `width: ${n}px; height: initial; overflow: initial; visibility: hidden;`, document.body.appendChild(l), t =
|
|
3362
|
+
l.style = `width: ${n}px; height: initial; overflow: initial; visibility: hidden;`, document.body.appendChild(l), t = gl(l), document.body.removeChild(l);
|
|
3363
3363
|
}
|
|
3364
3364
|
return t;
|
|
3365
3365
|
}
|
|
@@ -3371,7 +3371,7 @@ function Ui(e, t, l) {
|
|
|
3371
3371
|
}
|
|
3372
3372
|
const Xi = {
|
|
3373
3373
|
// item属性(domain范围)
|
|
3374
|
-
...
|
|
3374
|
+
...Le,
|
|
3375
3375
|
// group属性(domain范围)
|
|
3376
3376
|
...xo,
|
|
3377
3377
|
// group属性
|
|
@@ -3385,7 +3385,7 @@ function Zi(e, t, l) {
|
|
|
3385
3385
|
emits: ["update:collapse", "header-click"],
|
|
3386
3386
|
// setup
|
|
3387
3387
|
setup(n, a) {
|
|
3388
|
-
const o = po(n.name, n, So), r = Ki(o, { type: n.type }), s =
|
|
3388
|
+
const o = po(n.name, n, So), r = Ki(o, { type: n.type }), s = Mn();
|
|
3389
3389
|
Rn(!0);
|
|
3390
3390
|
const i = n.rollingDisplay ? Yi() : null, u = j(null), c = b(() => n.rollingDisplay ? i && !i.disabled : !1), f = b(() => s && o ? _n(o, !0).value : null), m = Re(), I = (z, J = !1) => {
|
|
3391
3391
|
const ne = m?.proxy;
|
|
@@ -3441,7 +3441,7 @@ function Zi(e, t, l) {
|
|
|
3441
3441
|
J = `repeat(auto-fill, ${n.columnWidth})`;
|
|
3442
3442
|
else {
|
|
3443
3443
|
const ne = Ui(
|
|
3444
|
-
|
|
3444
|
+
L.value,
|
|
3445
3445
|
r.layout.value.column,
|
|
3446
3446
|
r.layout.value.gutter
|
|
3447
3447
|
);
|
|
@@ -3452,25 +3452,25 @@ function Zi(e, t, l) {
|
|
|
3452
3452
|
"grid-template-columns": J
|
|
3453
3453
|
};
|
|
3454
3454
|
}
|
|
3455
|
-
}), p = fn(n, "gutter"), T = fn(n, "column"), H = b(() => s || c.value ? !0 : de(n.isWrap)),
|
|
3456
|
-
|
|
3455
|
+
}), p = fn(n, "gutter"), T = fn(n, "column"), H = b(() => s || c.value ? !0 : de(n.isWrap)), M = [], R = (z) => {
|
|
3456
|
+
M.push(z);
|
|
3457
3457
|
}, D = () => {
|
|
3458
|
-
let z =
|
|
3459
|
-
|
|
3460
|
-
},
|
|
3458
|
+
let z = M.length;
|
|
3459
|
+
M.splice(0, z);
|
|
3460
|
+
}, L = j(-1), N = (z) => {
|
|
3461
3461
|
const J = $o(z).width;
|
|
3462
|
-
J > 0 && J !==
|
|
3462
|
+
J > 0 && J !== L.value && (L.value = J);
|
|
3463
3463
|
};
|
|
3464
3464
|
Zn(
|
|
3465
3465
|
o,
|
|
3466
|
-
|
|
3466
|
+
L.value,
|
|
3467
3467
|
T.value,
|
|
3468
3468
|
p.value,
|
|
3469
3469
|
!0,
|
|
3470
3470
|
n.minItemWidth,
|
|
3471
3471
|
n.maxItemWidth,
|
|
3472
3472
|
n.type
|
|
3473
|
-
), n.autoLayout && fe([
|
|
3473
|
+
), n.autoLayout && fe([L, T, p], ([z, J, ne]) => {
|
|
3474
3474
|
r.order.index = 0, Zn(o, z, J, ne, !1, n.minItemWidth, n.maxItemWidth, n.type);
|
|
3475
3475
|
});
|
|
3476
3476
|
const C = b(() => G.value ? n.expandText ?? "" : n.collapseText ?? ""), w = b(() => ({
|
|
@@ -3520,9 +3520,9 @@ function Zi(e, t, l) {
|
|
|
3520
3520
|
toggleCollapse: y,
|
|
3521
3521
|
// 重新布局
|
|
3522
3522
|
doLayout: () => {
|
|
3523
|
-
|
|
3523
|
+
M[0] && (N(M[0]), Zn(
|
|
3524
3524
|
o,
|
|
3525
|
-
|
|
3525
|
+
L.value,
|
|
3526
3526
|
T.value,
|
|
3527
3527
|
p.value,
|
|
3528
3528
|
!0,
|
|
@@ -3542,8 +3542,8 @@ function Zi(e, t, l) {
|
|
|
3542
3542
|
const J = xe(n.pureDataRules);
|
|
3543
3543
|
I(J, !0);
|
|
3544
3544
|
}
|
|
3545
|
-
if (Nt && (z && te(de(n.collapse), !1), n.autoLayout && Array.isArray(
|
|
3546
|
-
const J =
|
|
3545
|
+
if (Nt && (z && te(de(n.collapse), !1), n.autoLayout && Array.isArray(M) && M.length > 0)) {
|
|
3546
|
+
const J = M[0];
|
|
3547
3547
|
N(J), window.ResizeObserver && (F = new window.ResizeObserver(() => {
|
|
3548
3548
|
N(J);
|
|
3549
3549
|
}), F.observe(J));
|
|
@@ -3565,7 +3565,7 @@ function Zi(e, t, l) {
|
|
|
3565
3565
|
if (v)
|
|
3566
3566
|
Y.value = i.initialHeight;
|
|
3567
3567
|
else {
|
|
3568
|
-
let S =
|
|
3568
|
+
let S = gl($.value);
|
|
3569
3569
|
S <= 0 ? Y.value = J : (Y.value = `${S}px`, J = Y.value);
|
|
3570
3570
|
}
|
|
3571
3571
|
v || q();
|
|
@@ -3800,7 +3800,7 @@ class su {
|
|
|
3800
3800
|
}
|
|
3801
3801
|
}
|
|
3802
3802
|
}
|
|
3803
|
-
const
|
|
3803
|
+
const Ul = new su(), No = {
|
|
3804
3804
|
price: {
|
|
3805
3805
|
type: [Number, String],
|
|
3806
3806
|
default: 0
|
|
@@ -3850,7 +3850,7 @@ const Xl = new su(), No = {
|
|
|
3850
3850
|
setup(e) {
|
|
3851
3851
|
const t = b(() => ({
|
|
3852
3852
|
[iu]: !0
|
|
3853
|
-
})), l = b(() => e.needSymbol ? e.symbol : ""), n = b(() =>
|
|
3853
|
+
})), l = b(() => e.needSymbol ? e.symbol : ""), n = b(() => Ln(e.price) == 0 ? "" : $l(e.price, e.decimalLength, !0, Me(e.digits), e.separator)), a = b(() => {
|
|
3854
3854
|
let r = n.value;
|
|
3855
3855
|
if (r.length == 0)
|
|
3856
3856
|
return "";
|
|
@@ -4096,9 +4096,9 @@ const Eo = /* @__PURE__ */ ot(cu, [["render", hu]]), { componentName: Qn, create
|
|
|
4096
4096
|
}), Ne(() => {
|
|
4097
4097
|
setTimeout(() => {
|
|
4098
4098
|
c(e.message, e.visible);
|
|
4099
|
-
}, 0),
|
|
4099
|
+
}, 0), Ul.watch(e.reference, m), x.observe(e.reference);
|
|
4100
4100
|
}), dt(() => {
|
|
4101
|
-
|
|
4101
|
+
Ul.unwatch(e.reference, m), x.unobserve(e.reference), x.disconnect();
|
|
4102
4102
|
});
|
|
4103
4103
|
const p = b(() => {
|
|
4104
4104
|
const w = {
|
|
@@ -4113,7 +4113,7 @@ const Eo = /* @__PURE__ */ ot(cu, [["render", hu]]), { componentName: Qn, create
|
|
|
4113
4113
|
}), H = b(() => {
|
|
4114
4114
|
const w = [`${Qn}__content`];
|
|
4115
4115
|
return e.customTextClass && w.push(e.customTextClass), w;
|
|
4116
|
-
}),
|
|
4116
|
+
}), M = b(() => {
|
|
4117
4117
|
const w = {};
|
|
4118
4118
|
return e.customTextStyle && typeof e.customTextStyle == "object" && Object.assign(w, e.customTextStyle), w;
|
|
4119
4119
|
}), R = b(() => ({
|
|
@@ -4123,7 +4123,7 @@ const Eo = /* @__PURE__ */ ot(cu, [["render", hu]]), { componentName: Qn, create
|
|
|
4123
4123
|
return e.showArrow ? (w.width = `${e.arrowSize}px`, w.height = `${e.arrowSize}px`, r.value === "top" ? (w.left = "50%", w.bottom = `-${e.arrowSize}px`, w.transform = " translate(-50%, 0%)") : r.value === "top-start" ? (w.left = `${e.arrowOffset + f.value}px`, w.bottom = `-${e.arrowSize}px`) : r.value === "top-end" ? (w.right = `${e.arrowOffset - f.value}px`, w.bottom = `-${e.arrowSize}px`) : r.value === "right" ? (w.left = `-${e.arrowSize}px`, w.top = "50%", w.transform = " translate(0%, -50%)") : r.value === "right-start" ? (w.left = `-${e.arrowSize}px`, w.top = `${e.arrowOffset}px`) : r.value === "right-end" ? (w.left = `-${e.arrowSize}px`, w.bottom = `-${e.arrowOffset}px`) : r.value === "bottom" ? (w.left = "50%", w.top = `-${e.arrowSize}px`, w.transform = " translate(-50%, 0%)") : r.value === "bottom-start" ? (w.left = `${e.arrowOffset + f.value}px`, w.top = `-${e.arrowSize}px`) : r.value === "bottom-end" ? (w.right = `${e.arrowOffset - f.value}px`, w.top = `-${e.arrowSize}px`) : r.value === "left" ? (w.right = `-${e.arrowSize}px`, w.top = "50%", w.transform = " translate(0%, -50%)") : r.value === "left-start" ? (w.right = `-${e.arrowSize}px`, w.top = `${e.arrowOffset}px`) : r.value === "left-end" && (w.right = `-${e.arrowSize}px`, w.bottom = `-${e.arrowOffset}px`), w) : {
|
|
4124
4124
|
display: "none"
|
|
4125
4125
|
};
|
|
4126
|
-
}),
|
|
4126
|
+
}), L = b(() => g.value && e.closeOnClick), N = b(() => {
|
|
4127
4127
|
const w = {};
|
|
4128
4128
|
return e.zIndex && (w["z-index"] = `${e.zIndex}`), w;
|
|
4129
4129
|
});
|
|
@@ -4133,10 +4133,10 @@ const Eo = /* @__PURE__ */ ot(cu, [["render", hu]]), { componentName: Qn, create
|
|
|
4133
4133
|
classes: p,
|
|
4134
4134
|
styles: T,
|
|
4135
4135
|
textClasses: H,
|
|
4136
|
-
textStyles:
|
|
4136
|
+
textStyles: M,
|
|
4137
4137
|
arrowClasses: R,
|
|
4138
4138
|
arrowStyles: D,
|
|
4139
|
-
overlayShow:
|
|
4139
|
+
overlayShow: L,
|
|
4140
4140
|
overlayStyle: N,
|
|
4141
4141
|
onClickOverlay: () => {
|
|
4142
4142
|
I.value = !1, t.emit("update:visible", !1);
|
|
@@ -4146,7 +4146,7 @@ const Eo = /* @__PURE__ */ ot(cu, [["render", hu]]), { componentName: Qn, create
|
|
|
4146
4146
|
}), mu = ["innerHTML"];
|
|
4147
4147
|
function pu(e, t, l, n, a, o) {
|
|
4148
4148
|
const r = Te("Price");
|
|
4149
|
-
return se(), he(
|
|
4149
|
+
return se(), he(Lt, null, [
|
|
4150
4150
|
e.overlayShow ? (se(), he("div", {
|
|
4151
4151
|
key: 0,
|
|
4152
4152
|
class: "fox-hint-text__overlay",
|
|
@@ -4181,7 +4181,7 @@ function pu(e, t, l, n, a, o) {
|
|
|
4181
4181
|
])
|
|
4182
4182
|
], 64);
|
|
4183
4183
|
}
|
|
4184
|
-
const
|
|
4184
|
+
const Ol = /* @__PURE__ */ ot(vu, [["render", pu]]);
|
|
4185
4185
|
class yu {
|
|
4186
4186
|
/**
|
|
4187
4187
|
* seed id
|
|
@@ -4203,7 +4203,7 @@ class yu {
|
|
|
4203
4203
|
return this.seed < 0 && (this.seed = 0), t;
|
|
4204
4204
|
}
|
|
4205
4205
|
}
|
|
4206
|
-
const
|
|
4206
|
+
const vl = {}, bu = new yu(), Kt = /* @__PURE__ */ new Map(), Fn = (e) => {
|
|
4207
4207
|
if (e) {
|
|
4208
4208
|
const t = document.getElementById(e);
|
|
4209
4209
|
Kt.delete(e), t && ($n(null, t), t.parentNode?.removeChild(t));
|
|
@@ -4219,17 +4219,17 @@ const ml = {}, bu = new yu(), Kt = /* @__PURE__ */ new Map(), Fn = (e) => {
|
|
|
4219
4219
|
const t = document.getElementById(e.id);
|
|
4220
4220
|
if (t) {
|
|
4221
4221
|
const l = Kt.get(e.id);
|
|
4222
|
-
l ? e = { ...
|
|
4223
|
-
const n = ge(
|
|
4222
|
+
l ? e = { ...vl, ...l, ...e } : e = { ...vl, ...e }, e.transition = !1;
|
|
4223
|
+
const n = ge(Ol, e);
|
|
4224
4224
|
return $n(n, t), e.id;
|
|
4225
4225
|
}
|
|
4226
4226
|
}, wu = (e) => {
|
|
4227
4227
|
e.unmount = Fn;
|
|
4228
4228
|
let t = e.id ?? `hinttext_${bu.get()}`;
|
|
4229
|
-
e = { ...
|
|
4229
|
+
e = { ...vl, ...e }, e.id = t, Kt.set(t, e);
|
|
4230
4230
|
const l = document.createElement("div");
|
|
4231
4231
|
l.id = e.id;
|
|
4232
|
-
const n = ge(
|
|
4232
|
+
const n = ge(Ol, e);
|
|
4233
4233
|
return $n(n, l), document.body.appendChild(l), t;
|
|
4234
4234
|
}, Su = (e) => e ? !0 : (console.warn("[FoxUI HintText]: msg不能为空"), !1), Ye = {
|
|
4235
4235
|
/**
|
|
@@ -4267,7 +4267,7 @@ function $u(e, t, l, n = !1) {
|
|
|
4267
4267
|
// 属性
|
|
4268
4268
|
props: {
|
|
4269
4269
|
// item属性(domain范围)
|
|
4270
|
-
...
|
|
4270
|
+
...Le,
|
|
4271
4271
|
// item属性
|
|
4272
4272
|
...ze
|
|
4273
4273
|
},
|
|
@@ -4284,7 +4284,7 @@ function $u(e, t, l, n = !1) {
|
|
|
4284
4284
|
},
|
|
4285
4285
|
r
|
|
4286
4286
|
);
|
|
4287
|
-
const s = Ht(), i =
|
|
4287
|
+
const s = Ht(), i = Mn();
|
|
4288
4288
|
Rn(!1);
|
|
4289
4289
|
const u = b(() => i && s ? _n(s, !1).value : null), c = e, f = j(null), m = b(() => {
|
|
4290
4290
|
const S = {
|
|
@@ -4333,12 +4333,12 @@ function $u(e, t, l, n = !1) {
|
|
|
4333
4333
|
}), x = () => typeof a.label == "string" && a.label.length > 0 || typeof o.slots.label == "function", p = Ze(fn(a, "labelPosition"), "labelPosition", lt.Near), T = b(() => p && p.value === "top" ? "top" : p && p.value === "right" ? "right" : "left"), H = b(() => ({
|
|
4334
4334
|
[`${c}__main`]: !0,
|
|
4335
4335
|
[`${c}__main--${T.value}`]: !0
|
|
4336
|
-
})),
|
|
4336
|
+
})), M = b(() => ({
|
|
4337
4337
|
label: !0,
|
|
4338
4338
|
[`label--${T.value}`]: !0
|
|
4339
4339
|
})), R = Ze(fn(a, "labelWidth"), "labelWidth", lt.Near), D = b(() => R && R.value ? {
|
|
4340
4340
|
width: Ge(R.value)
|
|
4341
|
-
} : {}),
|
|
4341
|
+
} : {}), L = b(() => ({
|
|
4342
4342
|
"label--string": !0,
|
|
4343
4343
|
"label--required": h.value
|
|
4344
4344
|
})), N = b(() => ({
|
|
@@ -4438,14 +4438,14 @@ function $u(e, t, l, n = !1) {
|
|
|
4438
4438
|
if (!x())
|
|
4439
4439
|
return null;
|
|
4440
4440
|
const S = [], W = o.slots?.label?.() ?? a.label, ee = {
|
|
4441
|
-
class:
|
|
4441
|
+
class: L.value
|
|
4442
4442
|
}, ae = A("div", ee, [W]);
|
|
4443
4443
|
if (S.push(ae), o.slots.fixedPreTip) {
|
|
4444
4444
|
const me = o.slots.fixedPreTip();
|
|
4445
4445
|
S.push(me);
|
|
4446
4446
|
}
|
|
4447
4447
|
const ye = {
|
|
4448
|
-
class:
|
|
4448
|
+
class: M.value,
|
|
4449
4449
|
style: D.value
|
|
4450
4450
|
};
|
|
4451
4451
|
return A("div", ye, S);
|
|
@@ -4541,7 +4541,7 @@ function Eu(e, t) {
|
|
|
4541
4541
|
},
|
|
4542
4542
|
// setup
|
|
4543
4543
|
setup(l, n) {
|
|
4544
|
-
const a = Ht(), o =
|
|
4544
|
+
const a = Ht(), o = Mn();
|
|
4545
4545
|
Rn(!1);
|
|
4546
4546
|
const r = b(() => o && a ? _n(a, !1).value : null), s = e, i = b(() => ({
|
|
4547
4547
|
[s]: !0,
|
|
@@ -4621,7 +4621,7 @@ function Du(e, t) {
|
|
|
4621
4621
|
[a]: !0,
|
|
4622
4622
|
[`${a}__stretch`]: l.span === "stretch",
|
|
4623
4623
|
[`${a}__${l.align}`]: !0
|
|
4624
|
-
})), r = Ht(), s =
|
|
4624
|
+
})), r = Ht(), s = Mn();
|
|
4625
4625
|
Rn(!1);
|
|
4626
4626
|
const i = b(() => {
|
|
4627
4627
|
const u = {};
|
|
@@ -4675,7 +4675,7 @@ const { componentName: Ou, create: Pu, scope: Cm } = ue("row-item"), Au = Pu(Du(
|
|
|
4675
4675
|
return Reflect.ownKeys(e).forEach((n) => {
|
|
4676
4676
|
typeof n == "string" && n.indexOf("data-fox") !== 0 && (t[n] = e[n]);
|
|
4677
4677
|
}), t;
|
|
4678
|
-
},
|
|
4678
|
+
}, Xl = {
|
|
4679
4679
|
// model value
|
|
4680
4680
|
modelValue: {
|
|
4681
4681
|
type: [String, Boolean, Number, Object],
|
|
@@ -4717,11 +4717,11 @@ function Vu(e, t, l) {
|
|
|
4717
4717
|
// 属性
|
|
4718
4718
|
props: {
|
|
4719
4719
|
// item属性(domain范围)
|
|
4720
|
-
...
|
|
4720
|
+
...Le,
|
|
4721
4721
|
// item属性
|
|
4722
4722
|
...ze,
|
|
4723
4723
|
// input属性
|
|
4724
|
-
...
|
|
4724
|
+
...Xl
|
|
4725
4725
|
},
|
|
4726
4726
|
// 事件
|
|
4727
4727
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "input", "setValue"],
|
|
@@ -4761,15 +4761,15 @@ function Vu(e, t, l) {
|
|
|
4761
4761
|
n.maxLength && O.length > Number(n.maxLength) && (O = O.slice(0, Number(n.maxLength))), s("blur", O, $);
|
|
4762
4762
|
}, H = () => {
|
|
4763
4763
|
s("clear", "");
|
|
4764
|
-
},
|
|
4764
|
+
}, M = j(!1);
|
|
4765
4765
|
let R = null;
|
|
4766
4766
|
const D = () => {
|
|
4767
|
-
n.showTooltip &&
|
|
4768
|
-
|
|
4767
|
+
n.showTooltip && M.value === !1 && (R && clearTimeout(R), R = setTimeout(() => {
|
|
4768
|
+
M.value = !0;
|
|
4769
4769
|
}, 150));
|
|
4770
|
-
},
|
|
4771
|
-
R && (clearTimeout(R),
|
|
4772
|
-
}, N = b(() =>
|
|
4770
|
+
}, L = () => {
|
|
4771
|
+
R && (clearTimeout(R), M.value = !1, R = null);
|
|
4772
|
+
}, N = b(() => M.value || x.value), C = b(() => M.value ? f.value : h.value), w = b(() => Ln(n.unit) > 0), B = j();
|
|
4773
4773
|
return He({
|
|
4774
4774
|
//使 input 获取焦点
|
|
4775
4775
|
focus: () => {
|
|
@@ -4801,17 +4801,17 @@ function Vu(e, t, l) {
|
|
|
4801
4801
|
onFocus: p,
|
|
4802
4802
|
onBlur: T,
|
|
4803
4803
|
onMouseover: D,
|
|
4804
|
-
onMouseleave:
|
|
4804
|
+
onMouseleave: L
|
|
4805
4805
|
}, O = {};
|
|
4806
4806
|
a.slots.prepend && (O.prepend = a.slots.prepend), a.slots.append && (O.append = a.slots.append), a.slots.prefix && (O.prefix = a.slots.prefix), a.slots.suffix ? O.suffix = a.slots.suffix : w.value && (O.suffix = () => [n.unit]);
|
|
4807
|
-
const G = [], Y = A(
|
|
4807
|
+
const G = [], Y = A(xl, E, O);
|
|
4808
4808
|
G.push(Y);
|
|
4809
4809
|
const Q = {
|
|
4810
4810
|
default: () => G
|
|
4811
4811
|
};
|
|
4812
4812
|
a.slots.default && (Q.label = a.slots.default), a.slots.default && (Q.fixedTip = a.slots.fixedTip);
|
|
4813
4813
|
const te = {
|
|
4814
|
-
...Ue(n,
|
|
4814
|
+
...Ue(n, Xl),
|
|
4815
4815
|
hintText: C.value,
|
|
4816
4816
|
hintVisible: N.value,
|
|
4817
4817
|
prop: `${n.prop}_item`
|
|
@@ -4821,7 +4821,7 @@ function Vu(e, t, l) {
|
|
|
4821
4821
|
}
|
|
4822
4822
|
};
|
|
4823
4823
|
}
|
|
4824
|
-
const { componentName:
|
|
4824
|
+
const { componentName: Lu, create: Mu, scope: Ru } = ue("input-item"), _u = Mu(Vu(Lu, Ru, je));
|
|
4825
4825
|
function $t(e, t) {
|
|
4826
4826
|
return typeof e.textKey == "string" && e.textKey.length > 0 ? t[e.textKey] : t.text;
|
|
4827
4827
|
}
|
|
@@ -4906,7 +4906,7 @@ function zu(e) {
|
|
|
4906
4906
|
value: e
|
|
4907
4907
|
};
|
|
4908
4908
|
}
|
|
4909
|
-
const
|
|
4909
|
+
const Zl = {
|
|
4910
4910
|
// model value
|
|
4911
4911
|
modelValue: {
|
|
4912
4912
|
type: [String, Boolean, Number, Object, Array],
|
|
@@ -5012,11 +5012,11 @@ function ju(e, t, l) {
|
|
|
5012
5012
|
// 属性
|
|
5013
5013
|
props: {
|
|
5014
5014
|
// item属性(domain范围)
|
|
5015
|
-
...
|
|
5015
|
+
...Le,
|
|
5016
5016
|
// item属性
|
|
5017
5017
|
...ze,
|
|
5018
5018
|
// input属性
|
|
5019
|
-
...
|
|
5019
|
+
...Zl
|
|
5020
5020
|
},
|
|
5021
5021
|
// 事件
|
|
5022
5022
|
emits: [
|
|
@@ -5106,7 +5106,7 @@ function ju(e, t, l) {
|
|
|
5106
5106
|
{ immediate: !x.value }
|
|
5107
5107
|
);
|
|
5108
5108
|
let H = !1;
|
|
5109
|
-
const
|
|
5109
|
+
const M = () => {
|
|
5110
5110
|
H || (H = !0, T(n.source, n.params));
|
|
5111
5111
|
};
|
|
5112
5112
|
fe([() => g.value, () => n.modelValue], ([V, U]) => {
|
|
@@ -5131,8 +5131,8 @@ function ju(e, t, l) {
|
|
|
5131
5131
|
}
|
|
5132
5132
|
D.value = !1;
|
|
5133
5133
|
});
|
|
5134
|
-
let
|
|
5135
|
-
typeof n.filterMethod == "function" && (
|
|
5134
|
+
let L = null;
|
|
5135
|
+
typeof n.filterMethod == "function" && (L = async (V) => {
|
|
5136
5136
|
if (V == null) {
|
|
5137
5137
|
d.value = null;
|
|
5138
5138
|
return;
|
|
@@ -5234,7 +5234,7 @@ function ju(e, t, l) {
|
|
|
5234
5234
|
onVisibleChange: v,
|
|
5235
5235
|
onRemoveTag: K
|
|
5236
5236
|
};
|
|
5237
|
-
typeof R == "function" && (U["remote-method"] = R, U.loading = D.value), typeof
|
|
5237
|
+
typeof R == "function" && (U["remote-method"] = R, U.loading = D.value), typeof L == "function" && (U["filter-method"] = L, U.loading = D.value);
|
|
5238
5238
|
const z = {};
|
|
5239
5239
|
a.slots.prefix && (z.prefix = a.slots.prefix), a.slots.empty && (z.empty = a.slots.empty), a.slots.options ? z.default = a.slots.options : z.default = () => q(h.value, a.slots.option);
|
|
5240
5240
|
const J = [], ne = A(Xa, U, z);
|
|
@@ -5244,14 +5244,14 @@ function ju(e, t, l) {
|
|
|
5244
5244
|
};
|
|
5245
5245
|
a.slots.default && (S.label = a.slots.default), a.slots.fixedTip && (S.fixedTip = a.slots.fixedTip);
|
|
5246
5246
|
const ee = {
|
|
5247
|
-
...Ue(n,
|
|
5247
|
+
...Ue(n, Zl),
|
|
5248
5248
|
hintText: P.value,
|
|
5249
5249
|
hintVisible: y.value,
|
|
5250
5250
|
prop: `${n.prop ?? a.attrs.name}_item`,
|
|
5251
5251
|
onMouseover: re,
|
|
5252
5252
|
onMouseleave: k
|
|
5253
5253
|
};
|
|
5254
|
-
return x.value && (ee["appear-listen"] = !0, ee.onAppear =
|
|
5254
|
+
return x.value && (ee["appear-listen"] = !0, ee.onAppear = M), A(l, ee, S);
|
|
5255
5255
|
};
|
|
5256
5256
|
}
|
|
5257
5257
|
};
|
|
@@ -5283,14 +5283,14 @@ var Do = { exports: {} };
|
|
|
5283
5283
|
return { M: f, y: I, w: c, d: u, D: g, h: i, m: s, s: r, ms: o, Q: m }[$] || String($ || "").toLowerCase().replace(/s$/, "");
|
|
5284
5284
|
}, u: function($) {
|
|
5285
5285
|
return $ === void 0;
|
|
5286
|
-
} },
|
|
5287
|
-
R[
|
|
5286
|
+
} }, M = "en", R = {};
|
|
5287
|
+
R[M] = p;
|
|
5288
5288
|
var D = function($) {
|
|
5289
5289
|
return $ instanceof w;
|
|
5290
|
-
},
|
|
5290
|
+
}, L = function $(E, O, G) {
|
|
5291
5291
|
var Y;
|
|
5292
5292
|
if (!E)
|
|
5293
|
-
return
|
|
5293
|
+
return M;
|
|
5294
5294
|
if (typeof E == "string") {
|
|
5295
5295
|
var Q = E.toLowerCase();
|
|
5296
5296
|
R[Q] && (Y = Q), O && (R[Q] = O, Y = Q);
|
|
@@ -5301,19 +5301,19 @@ var Do = { exports: {} };
|
|
|
5301
5301
|
var te = E.name;
|
|
5302
5302
|
R[te] = E, Y = te;
|
|
5303
5303
|
}
|
|
5304
|
-
return !G && Y && (
|
|
5304
|
+
return !G && Y && (M = Y), Y || !G && M;
|
|
5305
5305
|
}, N = function($, E) {
|
|
5306
5306
|
if (D($))
|
|
5307
5307
|
return $.clone();
|
|
5308
5308
|
var O = typeof E == "object" ? E : {};
|
|
5309
5309
|
return O.date = $, O.args = arguments, new w(O);
|
|
5310
5310
|
}, C = H;
|
|
5311
|
-
C.l =
|
|
5311
|
+
C.l = L, C.i = D, C.w = function($, E) {
|
|
5312
5312
|
return N($, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
5313
5313
|
};
|
|
5314
5314
|
var w = function() {
|
|
5315
5315
|
function $(O) {
|
|
5316
|
-
this.$L =
|
|
5316
|
+
this.$L = L(O.locale, null, !0), this.parse(O);
|
|
5317
5317
|
}
|
|
5318
5318
|
var E = $.prototype;
|
|
5319
5319
|
return E.parse = function(O) {
|
|
@@ -5441,7 +5441,7 @@ var Do = { exports: {} };
|
|
|
5441
5441
|
}, E.locale = function(O, G) {
|
|
5442
5442
|
if (!O)
|
|
5443
5443
|
return this.$L;
|
|
5444
|
-
var Y = this.clone(), Q =
|
|
5444
|
+
var Y = this.clone(), Q = L(O, G, !0);
|
|
5445
5445
|
return Q && (Y.$L = Q), Y;
|
|
5446
5446
|
}, E.clone = function() {
|
|
5447
5447
|
return C.w(this.$d, this);
|
|
@@ -5461,9 +5461,9 @@ var Do = { exports: {} };
|
|
|
5461
5461
|
};
|
|
5462
5462
|
}), N.extend = function($, E) {
|
|
5463
5463
|
return $.$i || ($(E, w, N), $.$i = !0), N;
|
|
5464
|
-
}, N.locale =
|
|
5464
|
+
}, N.locale = L, N.isDayjs = D, N.unix = function($) {
|
|
5465
5465
|
return N(1e3 * $);
|
|
5466
|
-
}, N.en = R[
|
|
5466
|
+
}, N.en = R[M], N.Ls = R, N.p = {}, N;
|
|
5467
5467
|
});
|
|
5468
5468
|
})(Do);
|
|
5469
5469
|
var Uu = Do.exports;
|
|
@@ -5539,8 +5539,8 @@ var Oo = { exports: {} };
|
|
|
5539
5539
|
return E || O.slice(1);
|
|
5540
5540
|
});
|
|
5541
5541
|
})).match(n), T = p.length, H = 0; H < T; H += 1) {
|
|
5542
|
-
var
|
|
5543
|
-
p[H] =
|
|
5542
|
+
var M = p[H], R = I[M], D = R && R[0], L = R && R[1];
|
|
5543
|
+
p[H] = L ? { regex: D, parser: L } : M.replace(/^\[|\]$/g, "");
|
|
5544
5544
|
}
|
|
5545
5545
|
return function(N) {
|
|
5546
5546
|
for (var C = {}, w = 0, B = 0; w < T; w += 1) {
|
|
@@ -5565,10 +5565,10 @@ var Oo = { exports: {} };
|
|
|
5565
5565
|
x.p.customParseFormat = !0, d && d.parseTwoDigitYear && (i = d.parseTwoDigitYear);
|
|
5566
5566
|
var p = h.prototype, T = p.parse;
|
|
5567
5567
|
p.parse = function(H) {
|
|
5568
|
-
var
|
|
5568
|
+
var M = H.date, R = H.utc, D = H.args;
|
|
5569
5569
|
this.$u = R;
|
|
5570
|
-
var
|
|
5571
|
-
if (typeof
|
|
5570
|
+
var L = D[1];
|
|
5571
|
+
if (typeof L == "string") {
|
|
5572
5572
|
var N = D[2] === !0, C = D[3] === !0, w = N || C, B = D[2];
|
|
5573
5573
|
C && (B = D[2]), s = this.$locale(), !N && B && (s = x.Ls[B]), this.$d = function(G, Y, Q) {
|
|
5574
5574
|
try {
|
|
@@ -5581,10 +5581,10 @@ var Oo = { exports: {} };
|
|
|
5581
5581
|
} catch {
|
|
5582
5582
|
return /* @__PURE__ */ new Date("");
|
|
5583
5583
|
}
|
|
5584
|
-
}(
|
|
5585
|
-
} else if (
|
|
5586
|
-
for (var $ =
|
|
5587
|
-
D[1] =
|
|
5584
|
+
}(M, L, R), this.init(), B && B !== !0 && (this.$L = this.locale(B).$L), w && M != this.format(L) && (this.$d = /* @__PURE__ */ new Date("")), s = {};
|
|
5585
|
+
} else if (L instanceof Array)
|
|
5586
|
+
for (var $ = L.length, E = 1; E <= $; E += 1) {
|
|
5587
|
+
D[1] = L[E - 1];
|
|
5588
5588
|
var O = x.apply(this, D);
|
|
5589
5589
|
if (O.isValid()) {
|
|
5590
5590
|
this.$d = O.$d, this.$L = O.$L, this.init();
|
|
@@ -5663,13 +5663,13 @@ var Ao = { exports: {} };
|
|
|
5663
5663
|
var o = n.prototype, r = function(f) {
|
|
5664
5664
|
return f && (f.indexOf ? f : f.s);
|
|
5665
5665
|
}, s = function(f, m, I, g, d) {
|
|
5666
|
-
var h = f.name ? f : f.$locale(), x = r(h[m]), p = r(h[I]), T = x || p.map(function(
|
|
5667
|
-
return
|
|
5666
|
+
var h = f.name ? f : f.$locale(), x = r(h[m]), p = r(h[I]), T = x || p.map(function(M) {
|
|
5667
|
+
return M.slice(0, g);
|
|
5668
5668
|
});
|
|
5669
5669
|
if (!d)
|
|
5670
5670
|
return T;
|
|
5671
5671
|
var H = h.weekStart;
|
|
5672
|
-
return T.map(function(
|
|
5672
|
+
return T.map(function(M, R) {
|
|
5673
5673
|
return T[(R + (H || 0)) % 7];
|
|
5674
5674
|
});
|
|
5675
5675
|
}, i = function() {
|
|
@@ -5760,7 +5760,7 @@ var Vo = { exports: {} };
|
|
|
5760
5760
|
})(Vo);
|
|
5761
5761
|
var nc = Vo.exports;
|
|
5762
5762
|
const lc = /* @__PURE__ */ bt(nc);
|
|
5763
|
-
var
|
|
5763
|
+
var Lo = { exports: {} };
|
|
5764
5764
|
(function(e, t) {
|
|
5765
5765
|
(function(l, n) {
|
|
5766
5766
|
e.exports = n();
|
|
@@ -5772,10 +5772,10 @@ var Mo = { exports: {} };
|
|
|
5772
5772
|
};
|
|
5773
5773
|
};
|
|
5774
5774
|
});
|
|
5775
|
-
})(
|
|
5776
|
-
var ac =
|
|
5775
|
+
})(Lo);
|
|
5776
|
+
var ac = Lo.exports;
|
|
5777
5777
|
const oc = /* @__PURE__ */ bt(ac);
|
|
5778
|
-
var
|
|
5778
|
+
var Mo = { exports: {} };
|
|
5779
5779
|
(function(e, t) {
|
|
5780
5780
|
(function(l, n) {
|
|
5781
5781
|
e.exports = n();
|
|
@@ -5787,8 +5787,8 @@ var Lo = { exports: {} };
|
|
|
5787
5787
|
};
|
|
5788
5788
|
};
|
|
5789
5789
|
});
|
|
5790
|
-
})(
|
|
5791
|
-
var rc =
|
|
5790
|
+
})(Mo);
|
|
5791
|
+
var rc = Mo.exports;
|
|
5792
5792
|
const sc = /* @__PURE__ */ bt(rc);
|
|
5793
5793
|
var Ro = { exports: {} };
|
|
5794
5794
|
(function(e, t) {
|
|
@@ -5994,7 +5994,7 @@ const nt = {
|
|
|
5994
5994
|
const n = new Date(new Date(t).setMonth(t.getMonth() + l)), a = e.getTime(), o = n.getTime(), r = t.getTime();
|
|
5995
5995
|
return o > r ? a >= r && a <= o : a >= o && a <= r;
|
|
5996
5996
|
}
|
|
5997
|
-
},
|
|
5997
|
+
}, Ql = {
|
|
5998
5998
|
// type
|
|
5999
5999
|
type: {
|
|
6000
6000
|
type: [String],
|
|
@@ -6044,7 +6044,7 @@ const nt = {
|
|
|
6044
6044
|
required: !1,
|
|
6045
6045
|
default: "YYYYMMDD"
|
|
6046
6046
|
}
|
|
6047
|
-
},
|
|
6047
|
+
}, Jl = {
|
|
6048
6048
|
// 是否支持长期
|
|
6049
6049
|
isLongTerm: {
|
|
6050
6050
|
type: [Boolean, String],
|
|
@@ -6083,13 +6083,13 @@ function dc(e, t, l) {
|
|
|
6083
6083
|
// 属性
|
|
6084
6084
|
props: {
|
|
6085
6085
|
// item属性(domain范围)
|
|
6086
|
-
...
|
|
6086
|
+
...Le,
|
|
6087
6087
|
// item属性
|
|
6088
6088
|
...ze,
|
|
6089
6089
|
// input属性
|
|
6090
|
-
...
|
|
6090
|
+
...Ql,
|
|
6091
6091
|
// long属性
|
|
6092
|
-
...
|
|
6092
|
+
...Jl
|
|
6093
6093
|
},
|
|
6094
6094
|
// 事件
|
|
6095
6095
|
emits: [
|
|
@@ -6138,7 +6138,7 @@ function dc(e, t, l) {
|
|
|
6138
6138
|
const H = (_) => {
|
|
6139
6139
|
let U = _.target.value;
|
|
6140
6140
|
c.value = !0, Oe(p.value) || (T.value = !0), s("focus", U, _);
|
|
6141
|
-
},
|
|
6141
|
+
}, M = (_) => {
|
|
6142
6142
|
setTimeout(() => {
|
|
6143
6143
|
T.value && (T.value = !1), c.value = !1;
|
|
6144
6144
|
}, 0);
|
|
@@ -6148,7 +6148,7 @@ function dc(e, t, l) {
|
|
|
6148
6148
|
s("clear", "");
|
|
6149
6149
|
}, D = (_) => {
|
|
6150
6150
|
s("calendar-change", _);
|
|
6151
|
-
},
|
|
6151
|
+
}, L = (_, V, U) => {
|
|
6152
6152
|
s("panel-change", _, V, U);
|
|
6153
6153
|
}, N = (_) => {
|
|
6154
6154
|
s("visible-change", _);
|
|
@@ -6312,9 +6312,9 @@ function dc(e, t, l) {
|
|
|
6312
6312
|
"onUpdate:modelValue": g,
|
|
6313
6313
|
onClear: R,
|
|
6314
6314
|
onFocus: H,
|
|
6315
|
-
onBlur:
|
|
6315
|
+
onBlur: M,
|
|
6316
6316
|
onCalendarChange: D,
|
|
6317
|
-
onPanelChange:
|
|
6317
|
+
onPanelChange: L,
|
|
6318
6318
|
onVisibleChange: N
|
|
6319
6319
|
}, U = {};
|
|
6320
6320
|
a.slots["range-separator"] && (U["range-separator"] = a.slots["range-separator"]), a.slots.cell && (U.default = a.slots.cell);
|
|
@@ -6353,7 +6353,7 @@ function dc(e, t, l) {
|
|
|
6353
6353
|
}
|
|
6354
6354
|
}
|
|
6355
6355
|
const W = {
|
|
6356
|
-
...Ue(n,
|
|
6356
|
+
...Ue(n, Ql, Jl),
|
|
6357
6357
|
ref: X,
|
|
6358
6358
|
class: {
|
|
6359
6359
|
[`${h}__wrapper`]: !0,
|
|
@@ -6368,7 +6368,7 @@ function dc(e, t, l) {
|
|
|
6368
6368
|
}
|
|
6369
6369
|
};
|
|
6370
6370
|
}
|
|
6371
|
-
const { componentName: hc, create: gc, scope: vc } = ue("date-item"), mc = gc(dc(hc, vc, je)),
|
|
6371
|
+
const { componentName: hc, create: gc, scope: vc } = ue("date-item"), mc = gc(dc(hc, vc, je)), ea = {
|
|
6372
6372
|
// model value
|
|
6373
6373
|
modelValue: {
|
|
6374
6374
|
type: [Date, Number, String, Array],
|
|
@@ -6390,11 +6390,11 @@ function pc(e, t, l) {
|
|
|
6390
6390
|
// 属性
|
|
6391
6391
|
props: {
|
|
6392
6392
|
// item属性(domain范围)
|
|
6393
|
-
...
|
|
6393
|
+
...Le,
|
|
6394
6394
|
// item属性
|
|
6395
6395
|
...ze,
|
|
6396
6396
|
// input属性
|
|
6397
|
-
...
|
|
6397
|
+
...ea
|
|
6398
6398
|
},
|
|
6399
6399
|
// 事件
|
|
6400
6400
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "visible-change", "setValue"],
|
|
@@ -6420,40 +6420,40 @@ function pc(e, t, l) {
|
|
|
6420
6420
|
};
|
|
6421
6421
|
let d = Se(n, "hintText"), h = j(!1);
|
|
6422
6422
|
const x = (R) => {
|
|
6423
|
-
let
|
|
6424
|
-
c.value = !0, Oe(d.value) || (h.value = !0), s("focus",
|
|
6423
|
+
let L = R.target.value;
|
|
6424
|
+
c.value = !0, Oe(d.value) || (h.value = !0), s("focus", L, R);
|
|
6425
6425
|
}, p = (R) => {
|
|
6426
6426
|
setTimeout(() => {
|
|
6427
6427
|
h.value && (h.value = !1), c.value = !1;
|
|
6428
6428
|
}, 0);
|
|
6429
|
-
let
|
|
6430
|
-
n.maxLength &&
|
|
6429
|
+
let L = R.target.value;
|
|
6430
|
+
n.maxLength && L.length > Number(n.maxLength) && (L = L.slice(0, Number(n.maxLength))), s("blur", L, R);
|
|
6431
6431
|
}, T = () => {
|
|
6432
6432
|
s("clear", "");
|
|
6433
6433
|
}, H = (R) => {
|
|
6434
6434
|
s("visible-change", R);
|
|
6435
|
-
},
|
|
6435
|
+
}, M = j();
|
|
6436
6436
|
return He({
|
|
6437
6437
|
//使 input 获取焦点
|
|
6438
6438
|
focus: () => {
|
|
6439
|
-
|
|
6439
|
+
M?.value.focus();
|
|
6440
6440
|
},
|
|
6441
6441
|
// 使 input 失去焦点
|
|
6442
6442
|
blur: () => {
|
|
6443
|
-
|
|
6443
|
+
M?.value.blur();
|
|
6444
6444
|
},
|
|
6445
6445
|
// 打开日期选择器弹窗
|
|
6446
6446
|
handleOpen: () => {
|
|
6447
|
-
|
|
6447
|
+
M?.value.handleOpen();
|
|
6448
6448
|
},
|
|
6449
6449
|
// 关闭日期选择器弹窗
|
|
6450
6450
|
handleClose: () => {
|
|
6451
|
-
|
|
6451
|
+
M?.value.handleClose();
|
|
6452
6452
|
}
|
|
6453
6453
|
}), () => {
|
|
6454
6454
|
const D = {
|
|
6455
6455
|
...a.attrs,
|
|
6456
|
-
ref:
|
|
6456
|
+
ref: M,
|
|
6457
6457
|
class: I.value,
|
|
6458
6458
|
placeholder: u.placeholder.value,
|
|
6459
6459
|
disabled: o.value,
|
|
@@ -6464,14 +6464,14 @@ function pc(e, t, l) {
|
|
|
6464
6464
|
onFocus: x,
|
|
6465
6465
|
onBlur: p,
|
|
6466
6466
|
onVisibleChange: H
|
|
6467
|
-
},
|
|
6467
|
+
}, L = {}, N = [], C = A(eo, D, L);
|
|
6468
6468
|
N.push(C);
|
|
6469
6469
|
const w = {
|
|
6470
6470
|
default: () => N
|
|
6471
6471
|
};
|
|
6472
6472
|
a.slots.default && (w.label = a.slots.default), a.slots.fixedTip && (w.fixedTip = a.slots.fixedTip);
|
|
6473
6473
|
const $ = {
|
|
6474
|
-
...Ue(n,
|
|
6474
|
+
...Ue(n, ea),
|
|
6475
6475
|
hintText: d.value,
|
|
6476
6476
|
hintVisible: h.value,
|
|
6477
6477
|
prop: `${n.prop}_item`
|
|
@@ -6481,7 +6481,7 @@ function pc(e, t, l) {
|
|
|
6481
6481
|
}
|
|
6482
6482
|
};
|
|
6483
6483
|
}
|
|
6484
|
-
const { componentName: yc, create: bc, scope: xc } = ue("time-item"), wc = bc(pc(yc, xc, je)),
|
|
6484
|
+
const { componentName: yc, create: bc, scope: xc } = ue("time-item"), wc = bc(pc(yc, xc, je)), ta = {
|
|
6485
6485
|
// model value
|
|
6486
6486
|
modelValue: {
|
|
6487
6487
|
type: [Date, Number, String, Array],
|
|
@@ -6503,11 +6503,11 @@ function Sc(e, t, l) {
|
|
|
6503
6503
|
// 属性
|
|
6504
6504
|
props: {
|
|
6505
6505
|
// item属性(domain范围)
|
|
6506
|
-
...
|
|
6506
|
+
...Le,
|
|
6507
6507
|
// item属性
|
|
6508
6508
|
...ze,
|
|
6509
6509
|
// input属性
|
|
6510
|
-
...
|
|
6510
|
+
...ta
|
|
6511
6511
|
},
|
|
6512
6512
|
// 事件
|
|
6513
6513
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "setValue"],
|
|
@@ -6528,19 +6528,19 @@ function Sc(e, t, l) {
|
|
|
6528
6528
|
n.prop ?? a.attrs.name
|
|
6529
6529
|
), { toLocaleRefs: i } = tt(t), u = i(n, ["placeholder"]), c = j(!1), f = Se(n, "modelValue", null, s), m = e, I = b(() => ({
|
|
6530
6530
|
[m]: !0
|
|
6531
|
-
})), g = (
|
|
6532
|
-
f.value =
|
|
6531
|
+
})), g = (M) => {
|
|
6532
|
+
f.value = M, s("update:modelValue", M), s("change", M);
|
|
6533
6533
|
};
|
|
6534
6534
|
let d = Se(n, "hintText"), h = j(!1);
|
|
6535
|
-
const x = (
|
|
6536
|
-
let D =
|
|
6537
|
-
c.value = !0, Oe(d.value) || (h.value = !0), s("focus", D,
|
|
6538
|
-
}, p = (
|
|
6535
|
+
const x = (M) => {
|
|
6536
|
+
let D = M.target.value;
|
|
6537
|
+
c.value = !0, Oe(d.value) || (h.value = !0), s("focus", D, M);
|
|
6538
|
+
}, p = (M) => {
|
|
6539
6539
|
setTimeout(() => {
|
|
6540
6540
|
h.value && (h.value = !1), c.value = !1;
|
|
6541
6541
|
}, 0);
|
|
6542
|
-
let D =
|
|
6543
|
-
n.maxLength && D.length > Number(n.maxLength) && (D = D.slice(0, Number(n.maxLength))), s("blur", D,
|
|
6542
|
+
let D = M.target.value;
|
|
6543
|
+
n.maxLength && D.length > Number(n.maxLength) && (D = D.slice(0, Number(n.maxLength))), s("blur", D, M);
|
|
6544
6544
|
}, T = () => {
|
|
6545
6545
|
s("clear", "");
|
|
6546
6546
|
}, H = j();
|
|
@@ -6574,14 +6574,14 @@ function Sc(e, t, l) {
|
|
|
6574
6574
|
onClear: T,
|
|
6575
6575
|
onFocus: x,
|
|
6576
6576
|
onBlur: p
|
|
6577
|
-
}, D = {},
|
|
6578
|
-
|
|
6577
|
+
}, D = {}, L = [], N = A(to, R, D);
|
|
6578
|
+
L.push(N);
|
|
6579
6579
|
const C = {
|
|
6580
|
-
default: () =>
|
|
6580
|
+
default: () => L
|
|
6581
6581
|
};
|
|
6582
6582
|
a.slots.default && (C.label = a.slots.default), a.slots.fixedTip && (C.fixedTip = a.slots.fixedTip);
|
|
6583
6583
|
const B = {
|
|
6584
|
-
...Ue(n,
|
|
6584
|
+
...Ue(n, ta),
|
|
6585
6585
|
hintText: d.value,
|
|
6586
6586
|
hintVisible: h.value,
|
|
6587
6587
|
prop: `${n.prop}_item`
|
|
@@ -6592,7 +6592,7 @@ function Sc(e, t, l) {
|
|
|
6592
6592
|
};
|
|
6593
6593
|
}
|
|
6594
6594
|
const { componentName: $c, create: Tc, scope: Cc } = ue("time-select-item"), Nc = Tc(Sc($c, Cc, je));
|
|
6595
|
-
function
|
|
6595
|
+
function na(e, t = 0) {
|
|
6596
6596
|
let l = `${e}`, n = l.indexOf(".");
|
|
6597
6597
|
if (n == -1)
|
|
6598
6598
|
return l;
|
|
@@ -6604,55 +6604,55 @@ function la(e, t = 0) {
|
|
|
6604
6604
|
}
|
|
6605
6605
|
return a - n < t ? a = n + t + 1 : a != n && (a += 1), a > l.length ? l = l.padEnd(a, "0") : l = l.substring(0, a), l;
|
|
6606
6606
|
}
|
|
6607
|
-
function
|
|
6608
|
-
if (typeof t == "string" && (t =
|
|
6607
|
+
function la(e, t, l = 20) {
|
|
6608
|
+
if (typeof t == "string" && (t = Me(t)), t == 1 || t == -1)
|
|
6609
6609
|
return `${e}`;
|
|
6610
6610
|
if (t == 0)
|
|
6611
6611
|
return "0";
|
|
6612
6612
|
if (t > 0) {
|
|
6613
6613
|
let n = Bs(`${e}`, `${t}`);
|
|
6614
|
-
return
|
|
6614
|
+
return na(n);
|
|
6615
6615
|
} else {
|
|
6616
6616
|
let n = uo(`${e}`, Hs(`${t}`), 20);
|
|
6617
|
-
return
|
|
6617
|
+
return na(n);
|
|
6618
6618
|
}
|
|
6619
6619
|
}
|
|
6620
6620
|
function Ec(e, t = -1, l = !1, n = 3, a = ",") {
|
|
6621
|
-
return
|
|
6621
|
+
return $l(e, t, l, n, a);
|
|
6622
6622
|
}
|
|
6623
|
-
function
|
|
6623
|
+
function aa(e, t, l, n, a = !0) {
|
|
6624
6624
|
if (e === "")
|
|
6625
6625
|
return "";
|
|
6626
|
-
if (e = zs(e), t =
|
|
6626
|
+
if (e = zs(e), t = Me(t), t == 1)
|
|
6627
6627
|
return e;
|
|
6628
6628
|
if (n)
|
|
6629
|
-
e =
|
|
6629
|
+
e = la(e, t), l && (e == "0" && a ? e = `${e}.`.padEnd(Me(l) + 2, "0") : e = uo(e, 1, Me(l)));
|
|
6630
6630
|
else {
|
|
6631
6631
|
let o = -1 * t;
|
|
6632
|
-
e =
|
|
6632
|
+
e = la(e, o);
|
|
6633
6633
|
}
|
|
6634
6634
|
return e;
|
|
6635
6635
|
}
|
|
6636
|
-
function
|
|
6636
|
+
function oa(e, t) {
|
|
6637
6637
|
let l = {
|
|
6638
6638
|
maxValid: !0,
|
|
6639
6639
|
minValid: !0,
|
|
6640
6640
|
message: ""
|
|
6641
6641
|
};
|
|
6642
6642
|
if (t.min !== void 0) {
|
|
6643
|
-
let n = de(t.minInclude), a =
|
|
6643
|
+
let n = de(t.minInclude), a = Bl(e, t.min);
|
|
6644
6644
|
if (n && a == -1 || !n && (a == 0 || a == -1)) {
|
|
6645
6645
|
let o = "请输入不小于 {0} 的数值";
|
|
6646
6646
|
l.message = o.replace("{0}", t.min), l.minValid = !1;
|
|
6647
6647
|
}
|
|
6648
6648
|
}
|
|
6649
6649
|
if (t.max != null) {
|
|
6650
|
-
let n = de(t.maxInclude), a =
|
|
6650
|
+
let n = de(t.maxInclude), a = Bl(e, t.max);
|
|
6651
6651
|
(n && a == 1 || !n && (a == 0 || a == 1)) && (l.maxValid = !1);
|
|
6652
6652
|
}
|
|
6653
6653
|
return l;
|
|
6654
6654
|
}
|
|
6655
|
-
const
|
|
6655
|
+
const ra = {
|
|
6656
6656
|
// model value
|
|
6657
6657
|
modelValue: {
|
|
6658
6658
|
type: [String, Number],
|
|
@@ -6764,11 +6764,11 @@ function kc(e, t, l) {
|
|
|
6764
6764
|
// 属性
|
|
6765
6765
|
props: {
|
|
6766
6766
|
// item属性(domain范围)
|
|
6767
|
-
...
|
|
6767
|
+
...Le,
|
|
6768
6768
|
// item属性
|
|
6769
6769
|
...ze,
|
|
6770
6770
|
// input属性
|
|
6771
|
-
...
|
|
6771
|
+
...ra
|
|
6772
6772
|
},
|
|
6773
6773
|
// 事件
|
|
6774
6774
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "input", "setValue"],
|
|
@@ -6795,7 +6795,7 @@ function kc(e, t, l) {
|
|
|
6795
6795
|
c.value = "";
|
|
6796
6796
|
return;
|
|
6797
6797
|
}
|
|
6798
|
-
const G =
|
|
6798
|
+
const G = aa($, E, O, !1);
|
|
6799
6799
|
c.value !== G && (c.value = G);
|
|
6800
6800
|
},
|
|
6801
6801
|
{ immediate: !0 }
|
|
@@ -6822,7 +6822,7 @@ function kc(e, t, l) {
|
|
|
6822
6822
|
const x = j(""), p = b(() => {
|
|
6823
6823
|
let $ = x.value;
|
|
6824
6824
|
return Oe($) && ($ = n.errorTip ?? ""), $;
|
|
6825
|
-
}), T = j(""), H = j(!1),
|
|
6825
|
+
}), T = j(""), H = j(!1), M = ($, E) => {
|
|
6826
6826
|
if ($ = `${$}`, Oe($)) {
|
|
6827
6827
|
c.value = "", u.value = "", E.forEach((O) => {
|
|
6828
6828
|
s(O, "");
|
|
@@ -6849,23 +6849,23 @@ function kc(e, t, l) {
|
|
|
6849
6849
|
Xe(c);
|
|
6850
6850
|
return;
|
|
6851
6851
|
}
|
|
6852
|
-
let O =
|
|
6852
|
+
let O = oa($, n);
|
|
6853
6853
|
if (O.maxValid === !1) {
|
|
6854
6854
|
x.value = O.message, Xe(c);
|
|
6855
6855
|
return;
|
|
6856
6856
|
}
|
|
6857
|
-
} else if (n.min != null &&
|
|
6857
|
+
} else if (n.min != null && Me(n.min) >= 0) {
|
|
6858
6858
|
Xe(c);
|
|
6859
6859
|
return;
|
|
6860
6860
|
}
|
|
6861
|
-
T.value = $, de(n.showTip) && (H.value = $.length > 0), c.value = $, u.value =
|
|
6861
|
+
T.value = $, de(n.showTip) && (H.value = $.length > 0), c.value = $, u.value = aa($, n.rates, n.precision, !0), E.forEach((O) => {
|
|
6862
6862
|
s(O, u.value);
|
|
6863
6863
|
});
|
|
6864
6864
|
}, R = ($) => {
|
|
6865
|
-
|
|
6865
|
+
M($, ["update:modelValue", "input"]);
|
|
6866
6866
|
}, D = ($) => {
|
|
6867
|
-
|
|
6868
|
-
},
|
|
6867
|
+
M($, ["update:modelValue", "change"]);
|
|
6868
|
+
}, L = ($) => {
|
|
6869
6869
|
if (i.value = !0, de(n.showTip)) {
|
|
6870
6870
|
let E = c.value;
|
|
6871
6871
|
Oe(E) && (E = n.hintText), Oe(E) || (T.value = E, H.value = !0);
|
|
@@ -6875,7 +6875,7 @@ function kc(e, t, l) {
|
|
|
6875
6875
|
if (setTimeout(() => {
|
|
6876
6876
|
i.value = !1, de(n.showTip) && H.value === !0 && (H.value = !1);
|
|
6877
6877
|
}, 0), !Oe(c.value)) {
|
|
6878
|
-
let E =
|
|
6878
|
+
let E = oa(c.value, n);
|
|
6879
6879
|
if (E.minValid === !1 || E.maxValid === !1) {
|
|
6880
6880
|
x.value = E.message;
|
|
6881
6881
|
return;
|
|
@@ -6884,7 +6884,7 @@ function kc(e, t, l) {
|
|
|
6884
6884
|
s("update:modelValue", u.value, $), s("blur", u.value, $);
|
|
6885
6885
|
}, C = () => {
|
|
6886
6886
|
s("clear", "");
|
|
6887
|
-
}, w = b(() =>
|
|
6887
|
+
}, w = b(() => Ln(n.unit) > 0), B = j();
|
|
6888
6888
|
return He({
|
|
6889
6889
|
//使 input 获取焦点
|
|
6890
6890
|
focus: () => {
|
|
@@ -6915,18 +6915,18 @@ function kc(e, t, l) {
|
|
|
6915
6915
|
onClear: C,
|
|
6916
6916
|
onInput: R,
|
|
6917
6917
|
onChange: D,
|
|
6918
|
-
onFocus:
|
|
6918
|
+
onFocus: L,
|
|
6919
6919
|
onBlur: N
|
|
6920
6920
|
}, O = {};
|
|
6921
6921
|
a.slots.prepend && (O.prepend = a.slots.prepend), a.slots.append && (O.append = a.slots.append), a.slots.prefix && (O.prefix = a.slots.prefix), a.slots.suffix ? O.suffix = a.slots.suffix : w.value && (O.suffix = () => [n.unit]);
|
|
6922
|
-
const G = [], Y = A(
|
|
6922
|
+
const G = [], Y = A(xl, E, O);
|
|
6923
6923
|
G.push(Y);
|
|
6924
6924
|
const Q = {
|
|
6925
6925
|
default: () => G
|
|
6926
6926
|
};
|
|
6927
6927
|
a.slots.default && (Q.label = a.slots.default), a.slots.fixedTip && (Q.fixedTip = a.slots.fixedTip);
|
|
6928
6928
|
const te = {
|
|
6929
|
-
...Ue(n,
|
|
6929
|
+
...Ue(n, ra),
|
|
6930
6930
|
errorTip: p.value,
|
|
6931
6931
|
hintText: T.value,
|
|
6932
6932
|
hintVisible: H.value,
|
|
@@ -6938,7 +6938,7 @@ function kc(e, t, l) {
|
|
|
6938
6938
|
}
|
|
6939
6939
|
};
|
|
6940
6940
|
}
|
|
6941
|
-
const { componentName: Ic, create: Fc, scope: Dc } = ue("money-item"), Oc = Fc(kc(Ic, Dc, je)),
|
|
6941
|
+
const { componentName: Ic, create: Fc, scope: Dc } = ue("money-item"), Oc = Fc(kc(Ic, Dc, je)), sa = {
|
|
6942
6942
|
// model value
|
|
6943
6943
|
modelValue: {
|
|
6944
6944
|
type: [String, Number],
|
|
@@ -6975,11 +6975,11 @@ function Pc(e, t, l) {
|
|
|
6975
6975
|
// 属性
|
|
6976
6976
|
props: {
|
|
6977
6977
|
// item属性(domain范围)
|
|
6978
|
-
...
|
|
6978
|
+
...Le,
|
|
6979
6979
|
// item属性
|
|
6980
6980
|
...ze,
|
|
6981
6981
|
// input属性
|
|
6982
|
-
...
|
|
6982
|
+
...sa
|
|
6983
6983
|
},
|
|
6984
6984
|
// 事件
|
|
6985
6985
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "input", "setValue"],
|
|
@@ -7003,24 +7003,24 @@ function Pc(e, t, l) {
|
|
|
7003
7003
|
[`${m}__append`]: R.value
|
|
7004
7004
|
})), g = b(() => ({
|
|
7005
7005
|
[`${m}__unit`]: !0
|
|
7006
|
-
})), d = (
|
|
7007
|
-
f.value =
|
|
7008
|
-
}, h = (
|
|
7009
|
-
s("change",
|
|
7006
|
+
})), d = (L) => {
|
|
7007
|
+
f.value = L, s("update:modelValue", L), s("input", L);
|
|
7008
|
+
}, h = (L) => {
|
|
7009
|
+
s("change", L);
|
|
7010
7010
|
};
|
|
7011
7011
|
let x = Se(n, "hintText"), p = j(!1);
|
|
7012
|
-
const T = (
|
|
7013
|
-
let C =
|
|
7014
|
-
c.value = !0, Oe(x.value) || (p.value = !0), s("focus", C,
|
|
7015
|
-
}, H = (
|
|
7012
|
+
const T = (L) => {
|
|
7013
|
+
let C = L.target.value;
|
|
7014
|
+
c.value = !0, Oe(x.value) || (p.value = !0), s("focus", C, L);
|
|
7015
|
+
}, H = (L) => {
|
|
7016
7016
|
setTimeout(() => {
|
|
7017
7017
|
p.value && (p.value = !1), c.value = !1;
|
|
7018
7018
|
}, 0);
|
|
7019
|
-
let C =
|
|
7020
|
-
n.maxLength && C.length > Number(n.maxLength) && (C = C.slice(0, Number(n.maxLength))), s("blur", C,
|
|
7021
|
-
},
|
|
7019
|
+
let C = L.target.value;
|
|
7020
|
+
n.maxLength && C.length > Number(n.maxLength) && (C = C.slice(0, Number(n.maxLength))), s("blur", C, L);
|
|
7021
|
+
}, M = () => {
|
|
7022
7022
|
s("clear", "");
|
|
7023
|
-
}, R = b(() =>
|
|
7023
|
+
}, R = b(() => Ln(n.unit) > 0), D = j();
|
|
7024
7024
|
return He({
|
|
7025
7025
|
//使 input 获取焦点
|
|
7026
7026
|
focus: () => {
|
|
@@ -7042,7 +7042,7 @@ function Pc(e, t, l) {
|
|
|
7042
7042
|
modelValue: f.value,
|
|
7043
7043
|
"adjust-position": n.adjustPosition,
|
|
7044
7044
|
"always-system": n.alwaysSystem,
|
|
7045
|
-
onClear:
|
|
7045
|
+
onClear: M,
|
|
7046
7046
|
onChange: h,
|
|
7047
7047
|
onInput: d,
|
|
7048
7048
|
onFocus: T,
|
|
@@ -7054,7 +7054,7 @@ function Pc(e, t, l) {
|
|
|
7054
7054
|
};
|
|
7055
7055
|
a.slots.default && ($.label = a.slots.default), a.slots.fixedTip && ($.fixedTip = a.slots.fixedTip);
|
|
7056
7056
|
const O = {
|
|
7057
|
-
...Ue(n,
|
|
7057
|
+
...Ue(n, sa),
|
|
7058
7058
|
hintText: x.value,
|
|
7059
7059
|
hintVisible: p.value,
|
|
7060
7060
|
prop: `${n.prop}_item`
|
|
@@ -7072,7 +7072,7 @@ function Pc(e, t, l) {
|
|
|
7072
7072
|
}
|
|
7073
7073
|
};
|
|
7074
7074
|
}
|
|
7075
|
-
const { componentName: Ac, create: Vc, scope:
|
|
7075
|
+
const { componentName: Ac, create: Vc, scope: Lc } = ue("input-number-item"), Mc = Vc(Pc(Ac, Lc, je));
|
|
7076
7076
|
function vt(e, t) {
|
|
7077
7077
|
return typeof e.textKey == "string" && e.textKey.length > 0 ? t[e.textKey] : t.text;
|
|
7078
7078
|
}
|
|
@@ -7114,7 +7114,7 @@ function qc() {
|
|
|
7114
7114
|
const e = Re();
|
|
7115
7115
|
return new _c(e.proxy);
|
|
7116
7116
|
}
|
|
7117
|
-
function
|
|
7117
|
+
function ml(e, t, l) {
|
|
7118
7118
|
const n = vt(e, t), a = vt(e, l);
|
|
7119
7119
|
if (n !== a)
|
|
7120
7120
|
return !1;
|
|
@@ -7138,7 +7138,7 @@ function qo(e, t, l, n) {
|
|
|
7138
7138
|
if (l === "text")
|
|
7139
7139
|
i = vt(e, u) === s;
|
|
7140
7140
|
else if (l === "item")
|
|
7141
|
-
i =
|
|
7141
|
+
i = ml(e, u, s);
|
|
7142
7142
|
else {
|
|
7143
7143
|
let c = Vt(e, u);
|
|
7144
7144
|
c == null && (c = vt(e, u)), i = c === s;
|
|
@@ -7160,7 +7160,7 @@ function Bc(e) {
|
|
|
7160
7160
|
value: e
|
|
7161
7161
|
};
|
|
7162
7162
|
}
|
|
7163
|
-
const
|
|
7163
|
+
const ia = {
|
|
7164
7164
|
// model value
|
|
7165
7165
|
modelValue: {
|
|
7166
7166
|
type: [Array, String],
|
|
@@ -7264,11 +7264,11 @@ function Hc(e, t, l) {
|
|
|
7264
7264
|
// 属性
|
|
7265
7265
|
props: {
|
|
7266
7266
|
// item属性(domain范围)
|
|
7267
|
-
...
|
|
7267
|
+
...Le,
|
|
7268
7268
|
// item属性
|
|
7269
7269
|
...ze,
|
|
7270
7270
|
// input属性
|
|
7271
|
-
...
|
|
7271
|
+
...ia
|
|
7272
7272
|
},
|
|
7273
7273
|
// 事件
|
|
7274
7274
|
emits: [
|
|
@@ -7337,9 +7337,9 @@ function Hc(e, t, l) {
|
|
|
7337
7337
|
z.forEach((W) => {
|
|
7338
7338
|
const ee = `${vt(n, W)}`;
|
|
7339
7339
|
S.push(ee);
|
|
7340
|
-
}), S.length > 0 && (
|
|
7340
|
+
}), S.length > 0 && (L.value = S.join(n.separator));
|
|
7341
7341
|
} else
|
|
7342
|
-
|
|
7342
|
+
L.value = null;
|
|
7343
7343
|
let ne = !0;
|
|
7344
7344
|
if (z.length !== f.value.length)
|
|
7345
7345
|
ne = !1;
|
|
@@ -7351,12 +7351,12 @@ function Hc(e, t, l) {
|
|
|
7351
7351
|
ne = !1;
|
|
7352
7352
|
else
|
|
7353
7353
|
for (let ae = 0; ae < W.length; ae++)
|
|
7354
|
-
if (!
|
|
7354
|
+
if (!ml(n, W[ae], ee[ae])) {
|
|
7355
7355
|
ne = !1;
|
|
7356
7356
|
break;
|
|
7357
7357
|
}
|
|
7358
7358
|
} else
|
|
7359
|
-
|
|
7359
|
+
ml(n, W, ee) || (ne = !1);
|
|
7360
7360
|
if (!ne)
|
|
7361
7361
|
break;
|
|
7362
7362
|
}
|
|
@@ -7405,22 +7405,22 @@ function Hc(e, t, l) {
|
|
|
7405
7405
|
fe([() => g.value, () => n.modelValue], ([q, _]) => {
|
|
7406
7406
|
I(_, n.valueType, q, !1), s("setValue", _);
|
|
7407
7407
|
}), n.lazy && I(n.modelValue, "value", [], !1);
|
|
7408
|
-
let H = null,
|
|
7408
|
+
let H = null, M = j(!1);
|
|
7409
7409
|
typeof n.remoteMethod == "function" && (H = async (q) => {
|
|
7410
7410
|
if (q != null) {
|
|
7411
|
-
|
|
7411
|
+
M.value = !0;
|
|
7412
7412
|
try {
|
|
7413
7413
|
const _ = await n.remoteMethod(q);
|
|
7414
7414
|
g.value = _;
|
|
7415
7415
|
} catch (_) {
|
|
7416
7416
|
console.error(_);
|
|
7417
7417
|
}
|
|
7418
|
-
|
|
7418
|
+
M.value = !1;
|
|
7419
7419
|
}
|
|
7420
7420
|
});
|
|
7421
|
-
const R = j(!1), D = e,
|
|
7421
|
+
const R = j(!1), D = e, L = j(null), N = b(() => ({
|
|
7422
7422
|
[D]: !0,
|
|
7423
|
-
"is-incomplete":
|
|
7423
|
+
"is-incomplete": L.value && L.value.length > 0
|
|
7424
7424
|
})), C = b(() => {
|
|
7425
7425
|
let q = {
|
|
7426
7426
|
label: n.textKey,
|
|
@@ -7434,9 +7434,9 @@ function Hc(e, t, l) {
|
|
|
7434
7434
|
let J = [];
|
|
7435
7435
|
z.forEach((ne) => {
|
|
7436
7436
|
ne && J.push(ne);
|
|
7437
|
-
}), J.length > 0 && (
|
|
7437
|
+
}), J.length > 0 && (L.value = J.join(n.separator));
|
|
7438
7438
|
} else
|
|
7439
|
-
|
|
7439
|
+
L.value = null;
|
|
7440
7440
|
V(U);
|
|
7441
7441
|
}), q;
|
|
7442
7442
|
}), w = (q) => {
|
|
@@ -7487,7 +7487,7 @@ function Hc(e, t, l) {
|
|
|
7487
7487
|
class: N.value,
|
|
7488
7488
|
props: C.value,
|
|
7489
7489
|
clearable: n.clearable,
|
|
7490
|
-
placeholder:
|
|
7490
|
+
placeholder: L.value || u.placeholder.value,
|
|
7491
7491
|
disabled: o.value || r.value,
|
|
7492
7492
|
options: g.value,
|
|
7493
7493
|
modelValue: c.value,
|
|
@@ -7500,7 +7500,7 @@ function Hc(e, t, l) {
|
|
|
7500
7500
|
onRemoveTag: F,
|
|
7501
7501
|
expandChange: v
|
|
7502
7502
|
};
|
|
7503
|
-
typeof H == "function" && (_["remote-method"] = H, _.loading =
|
|
7503
|
+
typeof H == "function" && (_["remote-method"] = H, _.loading = M.value);
|
|
7504
7504
|
const V = {};
|
|
7505
7505
|
a.slots.option && (V.default = a.slots.option), a.slots.empty && (V.empty = a.slots.empty);
|
|
7506
7506
|
const U = [], z = A(Ba, _, V);
|
|
@@ -7510,7 +7510,7 @@ function Hc(e, t, l) {
|
|
|
7510
7510
|
};
|
|
7511
7511
|
a.slots.default && (J.label = a.slots.default), a.slots.fixedTip && (J.fixedTip = a.slots.fixedTip);
|
|
7512
7512
|
const S = {
|
|
7513
|
-
...Ue(n,
|
|
7513
|
+
...Ue(n, ia),
|
|
7514
7514
|
hintText: k.value,
|
|
7515
7515
|
hintVisible: re.value,
|
|
7516
7516
|
prop: `${n.prop ?? a.attrs.name}_item`,
|
|
@@ -7522,7 +7522,7 @@ function Hc(e, t, l) {
|
|
|
7522
7522
|
}
|
|
7523
7523
|
};
|
|
7524
7524
|
}
|
|
7525
|
-
const { componentName: zc, create: jc, scope: Kc } = ue("cascader-item"), Wc = jc(Hc(zc, Kc, je)),
|
|
7525
|
+
const { componentName: zc, create: jc, scope: Kc } = ue("cascader-item"), Wc = jc(Hc(zc, Kc, je)), ua = {
|
|
7526
7526
|
// model value
|
|
7527
7527
|
modelValue: {
|
|
7528
7528
|
type: [String, Object],
|
|
@@ -7549,11 +7549,11 @@ function Yc(e, t, l) {
|
|
|
7549
7549
|
// 属性
|
|
7550
7550
|
props: {
|
|
7551
7551
|
// item属性(domain范围)
|
|
7552
|
-
...
|
|
7552
|
+
...Le,
|
|
7553
7553
|
// item属性
|
|
7554
7554
|
...ze,
|
|
7555
7555
|
// input属性
|
|
7556
|
-
...
|
|
7556
|
+
...ua
|
|
7557
7557
|
},
|
|
7558
7558
|
// 事件
|
|
7559
7559
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "input", "select", "setValue"],
|
|
@@ -7591,7 +7591,7 @@ function Yc(e, t, l) {
|
|
|
7591
7591
|
}, 0);
|
|
7592
7592
|
let N = D.target.value;
|
|
7593
7593
|
n.maxLength && N.length > Number(n.maxLength) && (N = N.slice(0, Number(n.maxLength))), s("blur", N, D);
|
|
7594
|
-
},
|
|
7594
|
+
}, M = () => {
|
|
7595
7595
|
s("clear", "");
|
|
7596
7596
|
}, R = j();
|
|
7597
7597
|
return He({
|
|
@@ -7608,7 +7608,7 @@ function Yc(e, t, l) {
|
|
|
7608
7608
|
R?.value.select();
|
|
7609
7609
|
}
|
|
7610
7610
|
}), () => {
|
|
7611
|
-
const
|
|
7611
|
+
const L = {
|
|
7612
7612
|
...a.attrs,
|
|
7613
7613
|
ref: R,
|
|
7614
7614
|
class: I.value,
|
|
@@ -7617,7 +7617,7 @@ function Yc(e, t, l) {
|
|
|
7617
7617
|
disabled: o.value,
|
|
7618
7618
|
readonly: r.value,
|
|
7619
7619
|
modelValue: f.value,
|
|
7620
|
-
onClear:
|
|
7620
|
+
onClear: M,
|
|
7621
7621
|
onChange: d,
|
|
7622
7622
|
onInput: g,
|
|
7623
7623
|
onFocus: T,
|
|
@@ -7625,14 +7625,14 @@ function Yc(e, t, l) {
|
|
|
7625
7625
|
onSelect: h
|
|
7626
7626
|
}, N = {};
|
|
7627
7627
|
a.slots.prepend && (N.prepend = a.slots.prepend), a.slots.append && (N.append = a.slots.append), a.slots.prefix && (N.prefix = a.slots.prefix), a.slots.suffix && (N.suffix = a.slots.suffix), a.slots.option && (N.default = a.slots.option);
|
|
7628
|
-
const C = [], w = A(qa,
|
|
7628
|
+
const C = [], w = A(qa, L, N);
|
|
7629
7629
|
C.push(w);
|
|
7630
7630
|
const B = {
|
|
7631
7631
|
default: () => C
|
|
7632
7632
|
};
|
|
7633
7633
|
a.slots.default && (B.label = a.slots.default), a.slots.fixedTip && (B.fixedTip = a.slots.fixedTip);
|
|
7634
7634
|
const E = {
|
|
7635
|
-
...Ue(n,
|
|
7635
|
+
...Ue(n, ua),
|
|
7636
7636
|
hintText: x.value,
|
|
7637
7637
|
hintVisible: p.value,
|
|
7638
7638
|
prop: `${n.prop}_item`
|
|
@@ -7817,7 +7817,7 @@ function tf(e, t) {
|
|
|
7817
7817
|
}
|
|
7818
7818
|
};
|
|
7819
7819
|
}
|
|
7820
|
-
const { componentName: Im, create: nf, scope: Fm } = ue("mapping"),
|
|
7820
|
+
const { componentName: Im, create: nf, scope: Fm } = ue("mapping"), pl = nf(tf());
|
|
7821
7821
|
function lf(e, t) {
|
|
7822
7822
|
let l = t.split("."), n = e;
|
|
7823
7823
|
for (let a = 0; a < l.length; a++) {
|
|
@@ -7851,18 +7851,18 @@ function af(e, t) {
|
|
|
7851
7851
|
const o = {
|
|
7852
7852
|
default: (r) => {
|
|
7853
7853
|
const s = lf(r.row, r.column.property);
|
|
7854
|
-
return a.default ? A(
|
|
7854
|
+
return a.default ? A(pl, { ...l, modelValue: s }, { default: a.default }) : A(pl, { ...l, modelValue: s });
|
|
7855
7855
|
}
|
|
7856
7856
|
};
|
|
7857
7857
|
for (let r in a)
|
|
7858
7858
|
r !== "default" && (o[r] = a[r]);
|
|
7859
|
-
return A(
|
|
7859
|
+
return A(wl, { ...n }, o);
|
|
7860
7860
|
};
|
|
7861
7861
|
}
|
|
7862
7862
|
};
|
|
7863
7863
|
}
|
|
7864
7864
|
const { componentName: Dm, create: of, scope: Om } = ue("table-mapping-column"), rf = of(af()), sf = Symbol.for("TableStateKey");
|
|
7865
|
-
function
|
|
7865
|
+
function ca(e, t) {
|
|
7866
7866
|
let l = t.split("."), n = e;
|
|
7867
7867
|
for (let a = 0; a < l.length; a++) {
|
|
7868
7868
|
let o = l[a], r = 0, s = o.indexOf("["), i = s == -1 ? -1 : o.indexOf("]", s);
|
|
@@ -7893,7 +7893,7 @@ function uf(e, t) {
|
|
|
7893
7893
|
return () => {
|
|
7894
7894
|
const o = a.currentRow ? a.currentRow.value : null, r = {
|
|
7895
7895
|
default: (s) => {
|
|
7896
|
-
const i =
|
|
7896
|
+
const i = ca(s.row, s.column.property), u = o ? ca(o, s.column.property) : null, c = i === u, m = A("span", {
|
|
7897
7897
|
class: {
|
|
7898
7898
|
"el-radio__input": !0,
|
|
7899
7899
|
"is-checked": c
|
|
@@ -7907,7 +7907,7 @@ function uf(e, t) {
|
|
|
7907
7907
|
}, [m]);
|
|
7908
7908
|
}
|
|
7909
7909
|
};
|
|
7910
|
-
return A(
|
|
7910
|
+
return A(wl, { ...n }, r);
|
|
7911
7911
|
};
|
|
7912
7912
|
}
|
|
7913
7913
|
};
|
|
@@ -7928,7 +7928,7 @@ const { componentName: Pm, create: cf, scope: Am } = ue("table-radio-column"), f
|
|
|
7928
7928
|
function mf(e, t) {
|
|
7929
7929
|
return se(), he("svg", hf, vf);
|
|
7930
7930
|
}
|
|
7931
|
-
const pf = /* @__PURE__ */ ot(df, [["render", mf]]), { componentName: Vm, create: yf, scope:
|
|
7931
|
+
const pf = /* @__PURE__ */ ot(df, [["render", mf]]), { componentName: Vm, create: yf, scope: Lm } = ue("table-setting"), bf = {
|
|
7932
7932
|
// table ref
|
|
7933
7933
|
tableRef: {
|
|
7934
7934
|
type: Object
|
|
@@ -7998,7 +7998,7 @@ const pf = /* @__PURE__ */ ot(df, [["render", mf]]), { componentName: Vm, create
|
|
|
7998
7998
|
FoxPopover: Pn,
|
|
7999
7999
|
FoxCheckbox: Yt,
|
|
8000
8000
|
FoxCheckboxGroup: On,
|
|
8001
|
-
FoxButton:
|
|
8001
|
+
FoxButton: bl,
|
|
8002
8002
|
FoxIcon: Bt,
|
|
8003
8003
|
DragIcon: pf,
|
|
8004
8004
|
Download: ao,
|
|
@@ -8040,7 +8040,7 @@ const pf = /* @__PURE__ */ ot(df, [["render", mf]]), { componentName: Vm, create
|
|
|
8040
8040
|
a.value.forEach((_) => {
|
|
8041
8041
|
v && !(_.label === "" || _.type) && K.push(_.prop), _.visible = v;
|
|
8042
8042
|
}), p.value = !1, T.value = !1, s.value.length + o.value.length + r.value.length === K.length ? p.value = !0 : K.length > 0 && (T.value = !0), R.value = K, h();
|
|
8043
|
-
},
|
|
8043
|
+
}, M = () => {
|
|
8044
8044
|
d(n), h();
|
|
8045
8045
|
}, R = j([]), D = (v) => {
|
|
8046
8046
|
a.value.forEach((q) => {
|
|
@@ -8051,7 +8051,7 @@ const pf = /* @__PURE__ */ ot(df, [["render", mf]]), { componentName: Vm, create
|
|
|
8051
8051
|
}), p.value = !1, T.value = !1;
|
|
8052
8052
|
const K = s.value.length + o.value.length + r.value.length;
|
|
8053
8053
|
v.length === K ? p.value = !0 : v.length > 0 && (T.value = !0), h();
|
|
8054
|
-
},
|
|
8054
|
+
}, L = () => {
|
|
8055
8055
|
d();
|
|
8056
8056
|
};
|
|
8057
8057
|
Ne(() => {
|
|
@@ -8124,10 +8124,10 @@ const pf = /* @__PURE__ */ ot(df, [["render", mf]]), { componentName: Vm, create
|
|
|
8124
8124
|
isCheckAll: p,
|
|
8125
8125
|
isIndeterminate: T,
|
|
8126
8126
|
handleCheckAllChange: H,
|
|
8127
|
-
handleReset:
|
|
8127
|
+
handleReset: M,
|
|
8128
8128
|
checkedValue: R,
|
|
8129
8129
|
handleCheckChange: D,
|
|
8130
|
-
onShow:
|
|
8130
|
+
onShow: L,
|
|
8131
8131
|
onDragStart: w,
|
|
8132
8132
|
onDragEnd: B,
|
|
8133
8133
|
onDragOver: $,
|
|
@@ -8197,10 +8197,10 @@ const pf = /* @__PURE__ */ ot(df, [["render", mf]]), { componentName: Vm, create
|
|
|
8197
8197
|
}, Vf = {
|
|
8198
8198
|
key: 0,
|
|
8199
8199
|
class: "fox-table-setting__body-title"
|
|
8200
|
-
},
|
|
8200
|
+
}, Lf = ["data-index", "draggable"], Mf = ["onMouseover", "onMouseleave"], Rf = { class: "tools-item" };
|
|
8201
8201
|
function _f(e, t, l, n, a, o) {
|
|
8202
8202
|
const r = Te("FoxCheckbox"), s = Te("FoxButton"), i = Te("DragIcon"), u = Te("RefreshLeft"), c = Te("FoxIcon"), f = Te("Download"), m = Te("fox-checkbox"), I = Te("FoxCheckboxGroup"), g = Te("FoxPopover");
|
|
8203
|
-
return se(), Ie(g,
|
|
8203
|
+
return se(), Ie(g, yl(e.attrs, {
|
|
8204
8204
|
placement: e.popoverPlacement,
|
|
8205
8205
|
width: e.popoverWidth,
|
|
8206
8206
|
onShow: e.onShow,
|
|
@@ -8220,7 +8220,7 @@ function _f(e, t, l, n, a, o) {
|
|
|
8220
8220
|
onChange: e.handleCheckAllChange
|
|
8221
8221
|
}, {
|
|
8222
8222
|
default: ve(() => [
|
|
8223
|
-
|
|
8223
|
+
Mt(Ce(e.title), 1)
|
|
8224
8224
|
]),
|
|
8225
8225
|
_: 1
|
|
8226
8226
|
}, 8, ["modelValue", "indeterminate", "onChange"]),
|
|
@@ -8230,7 +8230,7 @@ function _f(e, t, l, n, a, o) {
|
|
|
8230
8230
|
type: "primary"
|
|
8231
8231
|
}, {
|
|
8232
8232
|
default: ve(() => [
|
|
8233
|
-
|
|
8233
|
+
Mt(Ce(e.resetText), 1)
|
|
8234
8234
|
]),
|
|
8235
8235
|
_: 1
|
|
8236
8236
|
}, 8, ["onClick"])
|
|
@@ -8244,7 +8244,7 @@ function _f(e, t, l, n, a, o) {
|
|
|
8244
8244
|
default: ve(() => [
|
|
8245
8245
|
e.leftFixedColumns.length > 0 ? (se(), he("div", Tf, [
|
|
8246
8246
|
e.isShowLeftFixedTitle ? (se(), he("div", Cf, Ce(e.leftFixedTitle), 1)) : be("", !0),
|
|
8247
|
-
(se(!0), he(
|
|
8247
|
+
(se(!0), he(Lt, null, sn(e.leftFixedColumns, (d) => (se(), he("div", {
|
|
8248
8248
|
key: d.prop,
|
|
8249
8249
|
class: "fox-table-setting__body-row",
|
|
8250
8250
|
"data-role": "row",
|
|
@@ -8301,7 +8301,7 @@ function _f(e, t, l, n, a, o) {
|
|
|
8301
8301
|
])) : be("", !0),
|
|
8302
8302
|
e.unFixedColumns.length > 0 ? (se(), he("div", If, [
|
|
8303
8303
|
e.isShowNotFixedTitle ? (se(), he("div", Ff, Ce(e.unFixedTitle), 1)) : be("", !0),
|
|
8304
|
-
(se(!0), he(
|
|
8304
|
+
(se(!0), he(Lt, null, sn(e.unFixedColumns, (d) => (se(), he("div", {
|
|
8305
8305
|
key: d.prop,
|
|
8306
8306
|
class: "fox-table-setting__body-row",
|
|
8307
8307
|
"data-role": "row",
|
|
@@ -8359,7 +8359,7 @@ function _f(e, t, l, n, a, o) {
|
|
|
8359
8359
|
])) : be("", !0),
|
|
8360
8360
|
e.rightFixedColumns.length > 0 ? (se(), he("div", Af, [
|
|
8361
8361
|
e.isShowRightFixedTitle ? (se(), he("div", Vf, Ce(e.rightFixedTitle), 1)) : be("", !0),
|
|
8362
|
-
(se(!0), he(
|
|
8362
|
+
(se(!0), he(Lt, null, sn(e.rightFixedColumns, (d) => (se(), he("div", {
|
|
8363
8363
|
key: d.prop,
|
|
8364
8364
|
class: "fox-table-setting__body-row",
|
|
8365
8365
|
"data-role": "row",
|
|
@@ -8386,7 +8386,7 @@ function _f(e, t, l, n, a, o) {
|
|
|
8386
8386
|
onMouseleave: (h) => e.onMouseLeaveForOverflowText(h, d.prop),
|
|
8387
8387
|
class: "checkbox-item__label",
|
|
8388
8388
|
style: Fe(e.checkboxLabelStyle)
|
|
8389
|
-
}, Ce(d.label), 45,
|
|
8389
|
+
}, Ce(d.label), 45, Mf)
|
|
8390
8390
|
]),
|
|
8391
8391
|
_: 2
|
|
8392
8392
|
}, 1032, ["label"]),
|
|
@@ -8413,7 +8413,7 @@ function _f(e, t, l, n, a, o) {
|
|
|
8413
8413
|
_: 2
|
|
8414
8414
|
}, 1032, ["onClick"])
|
|
8415
8415
|
])
|
|
8416
|
-
], 40,
|
|
8416
|
+
], 40, Lf))), 128))
|
|
8417
8417
|
])) : be("", !0)
|
|
8418
8418
|
]),
|
|
8419
8419
|
_: 1
|
|
@@ -8508,7 +8508,7 @@ function zo() {
|
|
|
8508
8508
|
const e = Re();
|
|
8509
8509
|
return new Hf(e.proxy);
|
|
8510
8510
|
}
|
|
8511
|
-
const zf = Symbol.for("TableStateKey"),
|
|
8511
|
+
const zf = Symbol.for("TableStateKey"), fa = {
|
|
8512
8512
|
// model value
|
|
8513
8513
|
data: {
|
|
8514
8514
|
type: [String, Array, Function],
|
|
@@ -8566,7 +8566,7 @@ const zf = Symbol.for("TableStateKey"), da = {
|
|
|
8566
8566
|
required: !1,
|
|
8567
8567
|
default: () => "right"
|
|
8568
8568
|
}
|
|
8569
|
-
},
|
|
8569
|
+
}, da = {
|
|
8570
8570
|
// page size
|
|
8571
8571
|
pageIndex: {
|
|
8572
8572
|
type: [Number],
|
|
@@ -8735,13 +8735,13 @@ function Wf(e, t, l) {
|
|
|
8735
8735
|
// 属性
|
|
8736
8736
|
props: {
|
|
8737
8737
|
// item属性(domain范围)
|
|
8738
|
-
...
|
|
8738
|
+
...Le,
|
|
8739
8739
|
// item属性
|
|
8740
8740
|
...ze,
|
|
8741
8741
|
// table属性
|
|
8742
|
-
...
|
|
8742
|
+
...fa,
|
|
8743
8743
|
// pagination属性
|
|
8744
|
-
...
|
|
8744
|
+
...da,
|
|
8745
8745
|
// setting属性
|
|
8746
8746
|
...Jn,
|
|
8747
8747
|
// 滚动加载属性
|
|
@@ -8798,7 +8798,7 @@ function Wf(e, t, l) {
|
|
|
8798
8798
|
p() && fe(
|
|
8799
8799
|
[() => n.data, g],
|
|
8800
8800
|
async ([Z, le], [oe, ie]) => {
|
|
8801
|
-
p() && (Z !== oe && (N = !0), !(!Array.isArray(Z) && Ct(Z, oe) && Ct(le, ie)) && (x ? (d.value = 0,
|
|
8801
|
+
p() && (Z !== oe && (N = !0), !(!Array.isArray(Z) && Ct(Z, oe) && Ct(le, ie)) && (x ? (d.value = 0, M.value = !0, D.value = [], $()) : d.value === 1 ? w(Z, d.value, h.value, le) : d.value = 1));
|
|
8802
8802
|
},
|
|
8803
8803
|
{ deep: !0 }
|
|
8804
8804
|
);
|
|
@@ -8806,7 +8806,7 @@ function Wf(e, t, l) {
|
|
|
8806
8806
|
d.value = Z, r("page-index-change", Z);
|
|
8807
8807
|
}, H = (Z) => {
|
|
8808
8808
|
h.value = Z, r("page-size-change", Z);
|
|
8809
|
-
},
|
|
8809
|
+
}, M = j(!0), R = j(0), D = j(), L = Bf();
|
|
8810
8810
|
let N = !0;
|
|
8811
8811
|
const C = Ze(
|
|
8812
8812
|
b(() => n.appearLoad),
|
|
@@ -8817,14 +8817,14 @@ function Wf(e, t, l) {
|
|
|
8817
8817
|
N = !1;
|
|
8818
8818
|
try {
|
|
8819
8819
|
if (Ke === !0) {
|
|
8820
|
-
if (!
|
|
8820
|
+
if (!M.value)
|
|
8821
8821
|
return !1;
|
|
8822
|
-
const Ee = await
|
|
8822
|
+
const Ee = await L.load("table", Z, le, oe, ie, N, o.value);
|
|
8823
8823
|
return R.value = Ee.totalSize, !Ee.page || !Array.isArray(Ee.page) || (Reflect.apply([].push, D.value, Ee.page), setTimeout(() => {
|
|
8824
8824
|
r("loaded-data");
|
|
8825
|
-
}, 250), (D.value?.length ?? 0) >= R.value) || Ee.page.length < oe ? (
|
|
8825
|
+
}, 250), (D.value?.length ?? 0) >= R.value) || Ee.page.length < oe ? (M.value = !1, !1) : !0;
|
|
8826
8826
|
} else {
|
|
8827
|
-
const Ee = await
|
|
8827
|
+
const Ee = await L.load("table", Z, le, oe, ie, N, o.value);
|
|
8828
8828
|
return R.value = Ee.totalSize, D.value = Ee.page ?? [], setTimeout(() => {
|
|
8829
8829
|
r("loaded-data");
|
|
8830
8830
|
}, 250), !0;
|
|
@@ -8837,16 +8837,16 @@ function Wf(e, t, l) {
|
|
|
8837
8837
|
let B = !1;
|
|
8838
8838
|
const $ = async () => {
|
|
8839
8839
|
if (!B) {
|
|
8840
|
-
if (B = !0, !
|
|
8840
|
+
if (B = !0, !M.value) {
|
|
8841
8841
|
B = !1;
|
|
8842
8842
|
return;
|
|
8843
8843
|
}
|
|
8844
8844
|
d.value += 1, await w(n.data, d.value, h.value, g.value, !0), B = !1;
|
|
8845
8845
|
}
|
|
8846
8846
|
}, E = (Z = {}, le = !1) => new Promise(async (oe) => {
|
|
8847
|
-
I.value = { ...xe(Z ?? {}) }, le || (d.value = n.pageIndex ?? 1), x === !0 ? (d.value = 0, D.value = [],
|
|
8847
|
+
I.value = { ...xe(Z ?? {}) }, le || (d.value = n.pageIndex ?? 1), x === !0 ? (d.value = 0, D.value = [], M.value = !0, await $()) : await w(n.data, d.value, h.value, g.value), oe();
|
|
8848
8848
|
}), O = () => {
|
|
8849
|
-
R.value = 0, D.value = [], x === !0 && (d.value = 0,
|
|
8849
|
+
R.value = 0, D.value = [], x === !0 && (d.value = 0, M.value = !0);
|
|
8850
8850
|
};
|
|
8851
8851
|
let G = !1;
|
|
8852
8852
|
const Y = () => {
|
|
@@ -9097,7 +9097,7 @@ function Wf(e, t, l) {
|
|
|
9097
9097
|
}, oe = {};
|
|
9098
9098
|
if (a.slots.default && (oe.default = () => W.value), a.slots.append && (oe.append = a.slots.append), a.slots.empty && (oe.empty = a.slots.empty), x === !0) {
|
|
9099
9099
|
const rt = [];
|
|
9100
|
-
if (
|
|
9100
|
+
if (M.value) {
|
|
9101
9101
|
const Jt = A(As, { class: `${i}__infinite-icon` });
|
|
9102
9102
|
rt.push(Jt);
|
|
9103
9103
|
const Kn = A("span", { class: `${i}__infinite-text` }, [n.loadText]);
|
|
@@ -9149,7 +9149,7 @@ function Wf(e, t, l) {
|
|
|
9149
9149
|
}
|
|
9150
9150
|
const Ee = {
|
|
9151
9151
|
default: () => Ke
|
|
9152
|
-
}, Qt = { ...Ue(n,
|
|
9152
|
+
}, Qt = { ...Ue(n, fa, da, Jn), prop: `${n.prop}_item` };
|
|
9153
9153
|
return Qt.contentClass = `${i}__wrap`, Qt.errorMarkClass = "is-table-error", C.value && p() && (Qt["appear-listen"] = !0, Qt.onAppear = Y), A(l, Qt, Ee);
|
|
9154
9154
|
};
|
|
9155
9155
|
}
|
|
@@ -9236,7 +9236,7 @@ function td(e) {
|
|
|
9236
9236
|
function nd(e, t, l) {
|
|
9237
9237
|
return typeof e.itemOptions == "function" ? e.itemOptions(t, l) : e.itemOptions;
|
|
9238
9238
|
}
|
|
9239
|
-
const
|
|
9239
|
+
const ha = {
|
|
9240
9240
|
// model value
|
|
9241
9241
|
modelValue: {
|
|
9242
9242
|
type: [String, Object, Boolean, Number],
|
|
@@ -9324,9 +9324,9 @@ function ld(e, t, l) {
|
|
|
9324
9324
|
inheritAttrs: !0,
|
|
9325
9325
|
// 属性
|
|
9326
9326
|
props: {
|
|
9327
|
-
...
|
|
9327
|
+
...Le,
|
|
9328
9328
|
...ze,
|
|
9329
|
-
...
|
|
9329
|
+
...ha
|
|
9330
9330
|
},
|
|
9331
9331
|
// 事件
|
|
9332
9332
|
emits: ["change", "update:modelValue", "setValue"],
|
|
@@ -9349,8 +9349,8 @@ function ld(e, t, l) {
|
|
|
9349
9349
|
}
|
|
9350
9350
|
},
|
|
9351
9351
|
n.prop ?? a.attrs.name
|
|
9352
|
-
), i = j(null), u = j(null), c = (D,
|
|
9353
|
-
const w = ed(n, D,
|
|
9352
|
+
), i = j(null), u = j(null), c = (D, L, N, C = !0) => {
|
|
9353
|
+
const w = ed(n, D, L, N);
|
|
9354
9354
|
if (w === null) {
|
|
9355
9355
|
if (u.value === null)
|
|
9356
9356
|
return;
|
|
@@ -9369,9 +9369,9 @@ function ld(e, t, l) {
|
|
|
9369
9369
|
"appearLoad",
|
|
9370
9370
|
lt.Near,
|
|
9371
9371
|
(D) => de(D)
|
|
9372
|
-
), I = Jf(), g = async (D,
|
|
9372
|
+
), I = Jf(), g = async (D, L) => {
|
|
9373
9373
|
if (D) {
|
|
9374
|
-
const N = await I.load("radio", D,
|
|
9374
|
+
const N = await I.load("radio", D, L);
|
|
9375
9375
|
if (N.length > 0)
|
|
9376
9376
|
if (typeof N[0] == "string") {
|
|
9377
9377
|
let B = N.map(($) => td($));
|
|
@@ -9382,8 +9382,8 @@ function ld(e, t, l) {
|
|
|
9382
9382
|
};
|
|
9383
9383
|
fe(
|
|
9384
9384
|
[() => n.source, () => n.params],
|
|
9385
|
-
async ([D,
|
|
9386
|
-
g(D,
|
|
9385
|
+
async ([D, L]) => {
|
|
9386
|
+
g(D, L);
|
|
9387
9387
|
},
|
|
9388
9388
|
{ immediate: !m.value }
|
|
9389
9389
|
);
|
|
@@ -9391,8 +9391,8 @@ function ld(e, t, l) {
|
|
|
9391
9391
|
const h = () => {
|
|
9392
9392
|
d || (d = !0, g(n.source, n.params));
|
|
9393
9393
|
};
|
|
9394
|
-
fe([() => f.value, () => n.modelValue], ([D,
|
|
9395
|
-
c(
|
|
9394
|
+
fe([() => f.value, () => n.modelValue], ([D, L]) => {
|
|
9395
|
+
c(L, n.valueType, D, !1), s("setValue", L);
|
|
9396
9396
|
});
|
|
9397
9397
|
const x = e, p = b(() => ({
|
|
9398
9398
|
[x]: !0,
|
|
@@ -9400,8 +9400,8 @@ function ld(e, t, l) {
|
|
|
9400
9400
|
})), T = (D) => {
|
|
9401
9401
|
c(D, "value", f.value, !0);
|
|
9402
9402
|
};
|
|
9403
|
-
let H = Se(n, "hintText"),
|
|
9404
|
-
const R = (D,
|
|
9403
|
+
let H = Se(n, "hintText"), M = Se(n, "hintVisible");
|
|
9404
|
+
const R = (D, L) => {
|
|
9405
9405
|
const N = [];
|
|
9406
9406
|
return D.forEach((C, w) => {
|
|
9407
9407
|
const B = gn(n, C), $ = Xt(n, C);
|
|
@@ -9414,11 +9414,11 @@ function ld(e, t, l) {
|
|
|
9414
9414
|
size: n.size,
|
|
9415
9415
|
border: de(n.border)
|
|
9416
9416
|
};
|
|
9417
|
-
E && (Y.disabled = E), n.itemType === "button" ? N.push(A(Ya, Y, { default: () => [$] })) : typeof
|
|
9417
|
+
E && (Y.disabled = E), n.itemType === "button" ? N.push(A(Ya, Y, { default: () => [$] })) : typeof L == "function" ? N.push(A(ol, Y, { default: () => L(C) })) : N.push(A(ol, Y, { default: () => [$] }));
|
|
9418
9418
|
}), N;
|
|
9419
9419
|
};
|
|
9420
9420
|
return () => {
|
|
9421
|
-
const
|
|
9421
|
+
const L = {
|
|
9422
9422
|
...ht(a.attrs),
|
|
9423
9423
|
class: p.value,
|
|
9424
9424
|
disabled: o.value || r.value,
|
|
@@ -9428,16 +9428,16 @@ function ld(e, t, l) {
|
|
|
9428
9428
|
onChange: T
|
|
9429
9429
|
}, N = [], C = {};
|
|
9430
9430
|
a.slots.options ? C.default = a.slots.options : C.default = () => R(f.value, a.slots.text);
|
|
9431
|
-
const w = A(Ga,
|
|
9431
|
+
const w = A(Ga, L, C);
|
|
9432
9432
|
N.push(w);
|
|
9433
9433
|
const B = {
|
|
9434
9434
|
default: () => N
|
|
9435
9435
|
};
|
|
9436
9436
|
a.slots.default && (B.label = a.slots.default), a.slots.fixedTip && (B.fixedTip = a.slots.fixedTip);
|
|
9437
9437
|
const E = {
|
|
9438
|
-
...Ue(n,
|
|
9438
|
+
...Ue(n, ha),
|
|
9439
9439
|
hintText: H.value,
|
|
9440
|
-
hintVisible:
|
|
9440
|
+
hintVisible: M.value,
|
|
9441
9441
|
prop: `${n.prop ?? a.attrs.name}_item`
|
|
9442
9442
|
};
|
|
9443
9443
|
return m.value && (E["appear-listen"] = !0, E.onAppear = h), A(l, E, B);
|
|
@@ -9528,7 +9528,7 @@ function dd(e) {
|
|
|
9528
9528
|
function hd(e, t, l) {
|
|
9529
9529
|
return typeof e.itemOptions == "function" ? e.itemOptions(t, l) : e.itemOptions;
|
|
9530
9530
|
}
|
|
9531
|
-
const
|
|
9531
|
+
const ga = {
|
|
9532
9532
|
// model value
|
|
9533
9533
|
modelValue: {
|
|
9534
9534
|
type: [Array, String],
|
|
@@ -9626,9 +9626,9 @@ function gd(e, t, l) {
|
|
|
9626
9626
|
inheritAttrs: !0,
|
|
9627
9627
|
// 属性
|
|
9628
9628
|
props: {
|
|
9629
|
-
...
|
|
9629
|
+
...Le,
|
|
9630
9630
|
...ze,
|
|
9631
|
-
...
|
|
9631
|
+
...ga
|
|
9632
9632
|
},
|
|
9633
9633
|
// 事件
|
|
9634
9634
|
emits: ["change", "update:modelValue", "setValue"],
|
|
@@ -9651,8 +9651,8 @@ function gd(e, t, l) {
|
|
|
9651
9651
|
}
|
|
9652
9652
|
},
|
|
9653
9653
|
n.prop ?? a.attrs.name
|
|
9654
|
-
), i = j([]), u = j([]), c = (D,
|
|
9655
|
-
const w = fd(n, D,
|
|
9654
|
+
), i = j([]), u = j([]), c = (D, L, N, C = !0) => {
|
|
9655
|
+
const w = fd(n, D, L, N);
|
|
9656
9656
|
if (w === null) {
|
|
9657
9657
|
if (u.value === null || u.value.length === 0)
|
|
9658
9658
|
return;
|
|
@@ -9684,9 +9684,9 @@ function gd(e, t, l) {
|
|
|
9684
9684
|
"appearLoad",
|
|
9685
9685
|
lt.Near,
|
|
9686
9686
|
(D) => de(D)
|
|
9687
|
-
), I = cd(), g = async (D,
|
|
9687
|
+
), I = cd(), g = async (D, L) => {
|
|
9688
9688
|
if (D) {
|
|
9689
|
-
const N = await I.load("checkbox", D,
|
|
9689
|
+
const N = await I.load("checkbox", D, L);
|
|
9690
9690
|
if (N.length > 0)
|
|
9691
9691
|
if (typeof N[0] == "string") {
|
|
9692
9692
|
let B = N.map(($) => dd($));
|
|
@@ -9697,8 +9697,8 @@ function gd(e, t, l) {
|
|
|
9697
9697
|
};
|
|
9698
9698
|
fe(
|
|
9699
9699
|
[() => n.source, () => n.params],
|
|
9700
|
-
async ([D,
|
|
9701
|
-
g(D,
|
|
9700
|
+
async ([D, L]) => {
|
|
9701
|
+
g(D, L);
|
|
9702
9702
|
},
|
|
9703
9703
|
{ immediate: !m.value }
|
|
9704
9704
|
);
|
|
@@ -9706,8 +9706,8 @@ function gd(e, t, l) {
|
|
|
9706
9706
|
const h = () => {
|
|
9707
9707
|
d || (d = !0, g(n.source, n.params));
|
|
9708
9708
|
};
|
|
9709
|
-
fe([() => f.value, () => n.modelValue], ([D,
|
|
9710
|
-
c(
|
|
9709
|
+
fe([() => f.value, () => n.modelValue], ([D, L]) => {
|
|
9710
|
+
c(L, n.valueType, D, !1), s("setValue", L);
|
|
9711
9711
|
});
|
|
9712
9712
|
const x = e, p = b(() => ({
|
|
9713
9713
|
[x]: !0,
|
|
@@ -9715,8 +9715,8 @@ function gd(e, t, l) {
|
|
|
9715
9715
|
})), T = (D) => {
|
|
9716
9716
|
c(D, "value", f.value, !0);
|
|
9717
9717
|
};
|
|
9718
|
-
let H = Se(n, "hintText"),
|
|
9719
|
-
const R = (D,
|
|
9718
|
+
let H = Se(n, "hintText"), M = Se(n, "hintVisible");
|
|
9719
|
+
const R = (D, L) => {
|
|
9720
9720
|
const N = [];
|
|
9721
9721
|
return D.forEach((C, w) => {
|
|
9722
9722
|
const B = Wt(n, C), $ = Zt(n, C);
|
|
@@ -9730,32 +9730,32 @@ function gd(e, t, l) {
|
|
|
9730
9730
|
size: n.size,
|
|
9731
9731
|
border: de(n.border)
|
|
9732
9732
|
};
|
|
9733
|
-
E && (Y.disabled = E), n.itemType === "button" ? N.push(A(Ha, Y, { default: () => [$] })) : typeof
|
|
9733
|
+
E && (Y.disabled = E), n.itemType === "button" ? N.push(A(Ha, Y, { default: () => [$] })) : typeof L == "function" ? N.push(A(Yt, Y, { default: () => L(C) })) : N.push(A(Yt, Y, { default: () => [$] }));
|
|
9734
9734
|
}), N;
|
|
9735
9735
|
};
|
|
9736
9736
|
return () => {
|
|
9737
|
-
const
|
|
9737
|
+
const L = {
|
|
9738
9738
|
...ht(a.attrs),
|
|
9739
9739
|
class: p.value,
|
|
9740
9740
|
disabled: o.value || r.value,
|
|
9741
9741
|
modelValue: i.value,
|
|
9742
9742
|
"text-color": n.textColor,
|
|
9743
9743
|
fill: n.fill,
|
|
9744
|
-
max:
|
|
9745
|
-
min:
|
|
9744
|
+
max: Me(n.max),
|
|
9745
|
+
min: Me(n.min),
|
|
9746
9746
|
onChange: T
|
|
9747
9747
|
}, N = [], C = {};
|
|
9748
9748
|
a.slots.options ? C.default = a.slots.options : C.default = () => R(f.value, a.slots.text);
|
|
9749
|
-
const w = A(On,
|
|
9749
|
+
const w = A(On, L, C);
|
|
9750
9750
|
N.push(w);
|
|
9751
9751
|
const B = {
|
|
9752
9752
|
default: () => N
|
|
9753
9753
|
};
|
|
9754
9754
|
a.slots.default && (B.label = a.slots.default), a.slots.fixedTip && (B.fixedTip = a.slots.fixedTip);
|
|
9755
9755
|
const E = {
|
|
9756
|
-
...Ue(n,
|
|
9756
|
+
...Ue(n, ga),
|
|
9757
9757
|
hintText: H.value,
|
|
9758
|
-
hintVisible:
|
|
9758
|
+
hintVisible: M.value,
|
|
9759
9759
|
prop: `${n.prop ?? a.attrs.name}_item`
|
|
9760
9760
|
};
|
|
9761
9761
|
return m.value && (E["appear-listen"] = !0, E.onAppear = h), A(l, E, B);
|
|
@@ -9763,7 +9763,7 @@ function gd(e, t, l) {
|
|
|
9763
9763
|
}
|
|
9764
9764
|
};
|
|
9765
9765
|
}
|
|
9766
|
-
const { componentName: vd, create: md, scope: pd } = ue("checkbox-item"), yd = md(gd(vd, pd, je)),
|
|
9766
|
+
const { componentName: vd, create: md, scope: pd } = ue("checkbox-item"), yd = md(gd(vd, pd, je)), va = {
|
|
9767
9767
|
// model value
|
|
9768
9768
|
modelValue: {
|
|
9769
9769
|
type: [Number, String],
|
|
@@ -9775,11 +9775,11 @@ function bd(e, t, l) {
|
|
|
9775
9775
|
// 属性
|
|
9776
9776
|
props: {
|
|
9777
9777
|
// item属性(domain范围)
|
|
9778
|
-
...
|
|
9778
|
+
...Le,
|
|
9779
9779
|
// item属性
|
|
9780
9780
|
...ze,
|
|
9781
9781
|
// input属性
|
|
9782
|
-
...
|
|
9782
|
+
...va
|
|
9783
9783
|
},
|
|
9784
9784
|
// 事件
|
|
9785
9785
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "input", "setValue"],
|
|
@@ -9805,7 +9805,7 @@ function bd(e, t, l) {
|
|
|
9805
9805
|
), i = Se(
|
|
9806
9806
|
n,
|
|
9807
9807
|
"modelValue",
|
|
9808
|
-
(d) =>
|
|
9808
|
+
(d) => Me(d),
|
|
9809
9809
|
s
|
|
9810
9810
|
), u = e, c = b(() => ({
|
|
9811
9811
|
[u]: !0
|
|
@@ -9829,7 +9829,7 @@ function bd(e, t, l) {
|
|
|
9829
9829
|
};
|
|
9830
9830
|
a.slots.default && (H.label = a.slots.default), a.slots.fixedTip && (H.fixedTip = a.slots.fixedTip);
|
|
9831
9831
|
const R = {
|
|
9832
|
-
...Ue(n,
|
|
9832
|
+
...Ue(n, va),
|
|
9833
9833
|
hintText: m.value,
|
|
9834
9834
|
hintVisible: I.value,
|
|
9835
9835
|
prop: `${n.prop}_item`
|
|
@@ -9839,7 +9839,7 @@ function bd(e, t, l) {
|
|
|
9839
9839
|
}
|
|
9840
9840
|
};
|
|
9841
9841
|
}
|
|
9842
|
-
const { componentName: xd, create: wd, scope: Sd } = ue("rate-item"), $d = wd(bd(xd, Sd, je)),
|
|
9842
|
+
const { componentName: xd, create: wd, scope: Sd } = ue("rate-item"), $d = wd(bd(xd, Sd, je)), ma = {
|
|
9843
9843
|
// model value
|
|
9844
9844
|
modelValue: {
|
|
9845
9845
|
type: [Boolean, String, Number],
|
|
@@ -9851,11 +9851,11 @@ function Td(e, t, l) {
|
|
|
9851
9851
|
// 属性
|
|
9852
9852
|
props: {
|
|
9853
9853
|
// item属性(domain范围)
|
|
9854
|
-
...
|
|
9854
|
+
...Le,
|
|
9855
9855
|
// item属性
|
|
9856
9856
|
...ze,
|
|
9857
9857
|
// input属性
|
|
9858
|
-
...
|
|
9858
|
+
...ma
|
|
9859
9859
|
},
|
|
9860
9860
|
// 事件
|
|
9861
9861
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "input", "setValue"],
|
|
@@ -9901,7 +9901,7 @@ function Td(e, t, l) {
|
|
|
9901
9901
|
};
|
|
9902
9902
|
a.slots.default && (H.label = a.slots.default), a.slots.fixedTip && (H.fixedTip = a.slots.fixedTip);
|
|
9903
9903
|
const R = {
|
|
9904
|
-
...Ue(n,
|
|
9904
|
+
...Ue(n, ma),
|
|
9905
9905
|
hintText: m.value,
|
|
9906
9906
|
hintVisible: I.value,
|
|
9907
9907
|
prop: `${n.prop}_item`
|
|
@@ -9911,7 +9911,7 @@ function Td(e, t, l) {
|
|
|
9911
9911
|
}
|
|
9912
9912
|
};
|
|
9913
9913
|
}
|
|
9914
|
-
const { componentName: Cd, create: Nd, scope: Ed } = ue("switch-item"), kd = Nd(Td(Cd, Ed, je)),
|
|
9914
|
+
const { componentName: Cd, create: Nd, scope: Ed } = ue("switch-item"), kd = Nd(Td(Cd, Ed, je)), pa = {
|
|
9915
9915
|
// model value
|
|
9916
9916
|
modelValue: {
|
|
9917
9917
|
type: [String, Number, Boolean, Array],
|
|
@@ -9923,11 +9923,11 @@ function Id(e, t, l) {
|
|
|
9923
9923
|
// 属性
|
|
9924
9924
|
props: {
|
|
9925
9925
|
// item属性(domain范围)
|
|
9926
|
-
...
|
|
9926
|
+
...Le,
|
|
9927
9927
|
// item属性
|
|
9928
9928
|
...ze,
|
|
9929
9929
|
// input属性
|
|
9930
|
-
...
|
|
9930
|
+
...pa
|
|
9931
9931
|
},
|
|
9932
9932
|
// 事件
|
|
9933
9933
|
emits: ["change", "update:modelValue", "blur", "focus", "clear", "input", "setValue"],
|
|
@@ -9948,23 +9948,23 @@ function Id(e, t, l) {
|
|
|
9948
9948
|
n.prop ?? a.attrs.name
|
|
9949
9949
|
), u = Se(n, "modelValue", null, i), c = e, f = b(() => ({
|
|
9950
9950
|
[c]: !0
|
|
9951
|
-
})), m = (
|
|
9952
|
-
i("update:modelValue",
|
|
9951
|
+
})), m = (M) => {
|
|
9952
|
+
i("update:modelValue", M), i("change", M);
|
|
9953
9953
|
};
|
|
9954
9954
|
let I = Se(n, "hintText"), g = j(!1);
|
|
9955
|
-
const d = (
|
|
9956
|
-
let D =
|
|
9957
|
-
s.value = !0, Oe(I.value) || (g.value = !0), i("focus", D,
|
|
9958
|
-
}, h = (
|
|
9955
|
+
const d = (M) => {
|
|
9956
|
+
let D = M.target.value;
|
|
9957
|
+
s.value = !0, Oe(I.value) || (g.value = !0), i("focus", D, M);
|
|
9958
|
+
}, h = (M) => {
|
|
9959
9959
|
setTimeout(() => {
|
|
9960
9960
|
g.value && (g.value = !1), s.value = !1;
|
|
9961
9961
|
}, 0);
|
|
9962
|
-
let D =
|
|
9963
|
-
n.maxLength && D.length > Number(n.maxLength) && (D = D.slice(0, Number(n.maxLength))), p.value || i("blur", D,
|
|
9962
|
+
let D = M.target.value;
|
|
9963
|
+
n.maxLength && D.length > Number(n.maxLength) && (D = D.slice(0, Number(n.maxLength))), p.value || i("blur", D, M);
|
|
9964
9964
|
}, x = () => {
|
|
9965
9965
|
i("clear", "");
|
|
9966
|
-
}, p = j(!1), T = (
|
|
9967
|
-
p.value =
|
|
9966
|
+
}, p = j(!1), T = (M) => {
|
|
9967
|
+
p.value = M, i("visible-change", M), M || i("selected");
|
|
9968
9968
|
}, H = j();
|
|
9969
9969
|
return He({
|
|
9970
9970
|
//使 input 获取焦点
|
|
@@ -9989,14 +9989,14 @@ function Id(e, t, l) {
|
|
|
9989
9989
|
onVisibleChange: T
|
|
9990
9990
|
}, D = {};
|
|
9991
9991
|
a.slots.option && (D.default = a.slots.option);
|
|
9992
|
-
const
|
|
9993
|
-
|
|
9992
|
+
const L = [], N = A(no, R, D);
|
|
9993
|
+
L.push(N);
|
|
9994
9994
|
const C = {
|
|
9995
|
-
default: () =>
|
|
9995
|
+
default: () => L
|
|
9996
9996
|
};
|
|
9997
9997
|
a.slots.default && (C.label = a.slots.default), a.slots.fixedTip && (C.fixedTip = a.slots.fixedTip);
|
|
9998
9998
|
const B = {
|
|
9999
|
-
...Ue(n,
|
|
9999
|
+
...Ue(n, pa),
|
|
10000
10000
|
hintText: I.value,
|
|
10001
10001
|
hintVisible: g.value,
|
|
10002
10002
|
prop: `${n.prop}_item`
|
|
@@ -10013,14 +10013,14 @@ const { componentName: Fd, create: Dd, scope: Od } = ue("tree-select-item"), Pd
|
|
|
10013
10013
|
version: "1.1",
|
|
10014
10014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10015
10015
|
"p-id": "721"
|
|
10016
|
-
},
|
|
10016
|
+
}, Ld = /* @__PURE__ */ ce("path", {
|
|
10017
10017
|
d: "M235.84 813.632c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.592 0 98.816-41.728 98.816-93.312 0-51.52-44.224-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.592 0 98.816-41.92 98.816-93.44 0-51.52-44.224-93.312-98.816-93.312z m0-400.832C181.312 11.968 137.024 53.76 137.024 105.408c0 51.456 44.288 93.248 98.816 93.248 54.592 0 98.816-41.728 98.816-93.312C334.72 53.76 290.432 11.968 235.84 11.968z m527.104 801.664c-54.528 0-98.816 41.792-98.816 93.312 0 51.584 44.288 93.312 98.816 93.312 54.528 0 98.816-41.728 98.816-93.312 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.312 0 51.52 44.288 93.44 98.816 93.44 54.528 0 98.816-41.92 98.816-93.44 0-51.52-44.288-93.312-98.816-93.312z m0-400.832c-54.528 0-98.816 41.792-98.816 93.44 0 51.456 44.288 93.248 98.816 93.248 54.528 0 98.816-41.728 98.816-93.312 0-51.584-44.288-93.376-98.816-93.376z",
|
|
10018
10018
|
"p-id": "722"
|
|
10019
|
-
}, null, -1),
|
|
10020
|
-
|
|
10019
|
+
}, null, -1), Md = [
|
|
10020
|
+
Ld
|
|
10021
10021
|
];
|
|
10022
10022
|
function Rd(e, t) {
|
|
10023
|
-
return se(), he("svg", Vd,
|
|
10023
|
+
return se(), he("svg", Vd, Md);
|
|
10024
10024
|
}
|
|
10025
10025
|
const _d = /* @__PURE__ */ ot(Ad, [["render", Rd]]), { componentName: qm, create: qd, scope: Bm } = ue("group-setting"), Bd = {
|
|
10026
10026
|
// group prop
|
|
@@ -10078,7 +10078,7 @@ const _d = /* @__PURE__ */ ot(Ad, [["render", Rd]]), { componentName: qm, create
|
|
|
10078
10078
|
FoxPopover: Pn,
|
|
10079
10079
|
FoxCheckbox: Yt,
|
|
10080
10080
|
FoxCheckboxGroup: On,
|
|
10081
|
-
FoxButton:
|
|
10081
|
+
FoxButton: bl,
|
|
10082
10082
|
FoxIcon: Bt,
|
|
10083
10083
|
DragIcon: _d,
|
|
10084
10084
|
Download: ao,
|
|
@@ -10142,7 +10142,7 @@ const _d = /* @__PURE__ */ ot(Ad, [["render", Rd]]), { componentName: qm, create
|
|
|
10142
10142
|
});
|
|
10143
10143
|
}), o.value = v.sort((K, q) => K.sortIndex - q.sortIndex), i(), k && I(!1);
|
|
10144
10144
|
};
|
|
10145
|
-
a ? P(!0) :
|
|
10145
|
+
a ? P(!0) : kl(c, e.initDelay, 5, 50, !1, P);
|
|
10146
10146
|
}, m = () => {
|
|
10147
10147
|
const k = a ?? [];
|
|
10148
10148
|
o.value = k.map((y) => ({ ...y })), i(), I();
|
|
@@ -10164,7 +10164,7 @@ const _d = /* @__PURE__ */ ot(Ad, [["render", Rd]]), { componentName: qm, create
|
|
|
10164
10164
|
}), d.value = !1, h.value = !1;
|
|
10165
10165
|
const y = o.value.length;
|
|
10166
10166
|
k.length === y ? d.value = !0 : k.length > 0 && (h.value = !0), I();
|
|
10167
|
-
},
|
|
10167
|
+
}, M = () => {
|
|
10168
10168
|
f();
|
|
10169
10169
|
};
|
|
10170
10170
|
Ne(() => {
|
|
@@ -10173,7 +10173,7 @@ const _d = /* @__PURE__ */ ot(Ad, [["render", Rd]]), { componentName: qm, create
|
|
|
10173
10173
|
const R = {
|
|
10174
10174
|
currentRow: null,
|
|
10175
10175
|
index: null
|
|
10176
|
-
}, D = (k) => k ? k.dataset && k.dataset.role === "row" ? k : k.tagName.toLowerCase() !== "body" ? (k = k.parentElement, D(k)) : null : null,
|
|
10176
|
+
}, D = (k) => k ? k.dataset && k.dataset.role === "row" ? k : k.tagName.toLowerCase() !== "body" ? (k = k.parentElement, D(k)) : null : null, L = (k) => {
|
|
10177
10177
|
const y = k.currentTarget;
|
|
10178
10178
|
y && y.dataset && (R.index = y.dataset.index);
|
|
10179
10179
|
}, N = (k) => {
|
|
@@ -10230,8 +10230,8 @@ const _d = /* @__PURE__ */ ot(Ad, [["render", Rd]]), { componentName: qm, create
|
|
|
10230
10230
|
handleReset: p,
|
|
10231
10231
|
checkedValue: T,
|
|
10232
10232
|
handleCheckChange: H,
|
|
10233
|
-
onShow:
|
|
10234
|
-
onDragStart:
|
|
10233
|
+
onShow: M,
|
|
10234
|
+
onDragStart: L,
|
|
10235
10235
|
onDragEnd: N,
|
|
10236
10236
|
onDragOver: C,
|
|
10237
10237
|
onDragLeave: w,
|
|
@@ -10281,7 +10281,7 @@ const _d = /* @__PURE__ */ ot(Ad, [["render", Rd]]), { componentName: qm, create
|
|
|
10281
10281
|
}, Yd = ["data-index", "draggable"], Gd = ["onMouseover", "onMouseleave"], Ud = { class: "tools-item" };
|
|
10282
10282
|
function Xd(e, t, l, n, a, o) {
|
|
10283
10283
|
const r = Te("FoxCheckbox"), s = Te("FoxButton"), i = Te("DragIcon"), u = Te("Download"), c = Te("FoxIcon"), f = Te("FoxCheckboxGroup"), m = Te("FoxPopover");
|
|
10284
|
-
return se(), Ie(m,
|
|
10284
|
+
return se(), Ie(m, yl(e.attrs, {
|
|
10285
10285
|
placement: e.popoverPlacement,
|
|
10286
10286
|
width: e.popoverWidth,
|
|
10287
10287
|
onShow: e.onShow,
|
|
@@ -10301,7 +10301,7 @@ function Xd(e, t, l, n, a, o) {
|
|
|
10301
10301
|
onChange: e.handleCheckAllChange
|
|
10302
10302
|
}, {
|
|
10303
10303
|
default: ve(() => [
|
|
10304
|
-
|
|
10304
|
+
Mt(Ce(e.title), 1)
|
|
10305
10305
|
]),
|
|
10306
10306
|
_: 1
|
|
10307
10307
|
}, 8, ["modelValue", "indeterminate", "onChange"]),
|
|
@@ -10311,7 +10311,7 @@ function Xd(e, t, l, n, a, o) {
|
|
|
10311
10311
|
type: "primary"
|
|
10312
10312
|
}, {
|
|
10313
10313
|
default: ve(() => [
|
|
10314
|
-
|
|
10314
|
+
Mt(Ce(e.resetText), 1)
|
|
10315
10315
|
]),
|
|
10316
10316
|
_: 1
|
|
10317
10317
|
}, 8, ["onClick"])
|
|
@@ -10324,7 +10324,7 @@ function Xd(e, t, l, n, a, o) {
|
|
|
10324
10324
|
}, {
|
|
10325
10325
|
default: ve(() => [
|
|
10326
10326
|
ce("div", Wd, [
|
|
10327
|
-
(se(!0), he(
|
|
10327
|
+
(se(!0), he(Lt, null, sn(e.itemPropertyList, (I) => (se(), he("div", {
|
|
10328
10328
|
key: I.prop,
|
|
10329
10329
|
class: "fox-group-setting__body-row",
|
|
10330
10330
|
"data-role": "row",
|
|
@@ -10446,7 +10446,7 @@ var Qd = ["aria-labelledby"], Jd = /* @__PURE__ */ Rt({
|
|
|
10446
10446
|
"fill-opacity": "0.9"
|
|
10447
10447
|
}, null, -1)]], 14, Qd));
|
|
10448
10448
|
}
|
|
10449
|
-
}), eh = ["aria-labelledby"],
|
|
10449
|
+
}), eh = ["aria-labelledby"], Pl = /* @__PURE__ */ Rt({
|
|
10450
10450
|
__name: "Loading",
|
|
10451
10451
|
props: {
|
|
10452
10452
|
class: {
|
|
@@ -10773,13 +10773,13 @@ const sh = {
|
|
|
10773
10773
|
beforeChange: {
|
|
10774
10774
|
type: Function
|
|
10775
10775
|
}
|
|
10776
|
-
},
|
|
10776
|
+
}, ya = (e, t) => t[e.textKey], ln = (e, t) => t[e.valueKey], ih = (e, t) => t[e.visibleKey], ba = (e, t) => t[e.disabledKey], uh = (e, t) => {
|
|
10777
10777
|
const l = t[e.doitKey];
|
|
10778
10778
|
return de(l);
|
|
10779
10779
|
}, ch = (e, t) => {
|
|
10780
10780
|
const l = t[e.numKey];
|
|
10781
|
-
return l == null ? null :
|
|
10782
|
-
},
|
|
10781
|
+
return l == null ? null : Me(t[l]);
|
|
10782
|
+
}, xa = (e, t, l) => {
|
|
10783
10783
|
const n = e.itemOptions;
|
|
10784
10784
|
return typeof n == "function" ? n(t, l) : n || null;
|
|
10785
10785
|
};
|
|
@@ -10836,7 +10836,7 @@ function fh(e, t, l, n = !1) {
|
|
|
10836
10836
|
}, 0));
|
|
10837
10837
|
}, p = j(), T = j([]), H = (k, y) => {
|
|
10838
10838
|
T.value[y] = k;
|
|
10839
|
-
},
|
|
10839
|
+
}, M = (k) => (y) => {
|
|
10840
10840
|
H(y, k);
|
|
10841
10841
|
}, R = (k, y) => {
|
|
10842
10842
|
const P = p.value, F = T.value;
|
|
@@ -10852,9 +10852,9 @@ function fh(e, t, l, n = !1) {
|
|
|
10852
10852
|
F === "horizontal" ? k.scrollLeft += (y - K) / q : k.scrollTop += (y - K) / q, ++v < q && co(_);
|
|
10853
10853
|
}
|
|
10854
10854
|
_();
|
|
10855
|
-
},
|
|
10855
|
+
}, L = (k, y) => {
|
|
10856
10856
|
const P = ln(a, k), F = {};
|
|
10857
|
-
return F[`${e}__titles-item`] = !0, F.disabled =
|
|
10857
|
+
return F[`${e}__titles-item`] = !0, F.disabled = ba(a, k), F.active = P === f.value, a.shape && (F[`${a.shape}`] = !0), a.ellipsis && (F.ellipsis = !0), y && (y.class && (F[`${y.class}`] = !0), y.disabled === !0 && (F.disabled = y.disabled)), F;
|
|
10858
10858
|
}, N = (k, y) => {
|
|
10859
10859
|
const P = {};
|
|
10860
10860
|
if (c.value > 0) {
|
|
@@ -10864,8 +10864,8 @@ function fh(e, t, l, n = !1) {
|
|
|
10864
10864
|
return y && y.style && Object.assign(P, y.style), P;
|
|
10865
10865
|
}, C = (k, y) => `${ln(a, k) ?? y}`, w = (k, y) => {
|
|
10866
10866
|
const P = ln(a, k), F = {};
|
|
10867
|
-
F[`${e}__popup-item`] = !0, F.disabled =
|
|
10868
|
-
const v =
|
|
10867
|
+
F[`${e}__popup-item`] = !0, F.disabled = ba(a, k), F.active = P === f.value, a.shape && (F[`${a.shape}`] = !0);
|
|
10868
|
+
const v = xa(a, k, y);
|
|
10869
10869
|
return v && v.disabled === !0 && (F.disabled = v.disabled), F;
|
|
10870
10870
|
}, B = b(() => (a.data ?? []).filter((y) => ih(a, y) !== !1)), $ = (k, y) => {
|
|
10871
10871
|
const P = ln(a, k);
|
|
@@ -10909,7 +10909,7 @@ function fh(e, t, l, n = !1) {
|
|
|
10909
10909
|
item: k,
|
|
10910
10910
|
index: y
|
|
10911
10911
|
});
|
|
10912
|
-
const P =
|
|
10912
|
+
const P = xa(a, k, y), F = [];
|
|
10913
10913
|
if (o.text) {
|
|
10914
10914
|
const _ = o.text({
|
|
10915
10915
|
item: k,
|
|
@@ -10927,7 +10927,7 @@ function fh(e, t, l, n = !1) {
|
|
|
10927
10927
|
const V = P?.num ?? ch(a, k);
|
|
10928
10928
|
if (V) {
|
|
10929
10929
|
let J = "";
|
|
10930
|
-
const ne =
|
|
10930
|
+
const ne = Me(V);
|
|
10931
10931
|
ne >= 100 ? J = "99+" : J = `${ne}`;
|
|
10932
10932
|
const S = {
|
|
10933
10933
|
class: [`${e}__titles-item-tip`, "num"]
|
|
@@ -10937,7 +10937,7 @@ function fh(e, t, l, n = !1) {
|
|
|
10937
10937
|
const U = {
|
|
10938
10938
|
class: `${e}__titles-item-text`
|
|
10939
10939
|
};
|
|
10940
|
-
_.push(
|
|
10940
|
+
_.push(ya(a, k));
|
|
10941
10941
|
const z = A("view", U, _);
|
|
10942
10942
|
F.push(z);
|
|
10943
10943
|
}
|
|
@@ -10946,8 +10946,8 @@ function fh(e, t, l, n = !1) {
|
|
|
10946
10946
|
}, K = A("view", v);
|
|
10947
10947
|
F.push(K);
|
|
10948
10948
|
const q = {
|
|
10949
|
-
ref:
|
|
10950
|
-
class:
|
|
10949
|
+
ref: M(y),
|
|
10950
|
+
class: L(k, P),
|
|
10951
10951
|
style: N(k, P),
|
|
10952
10952
|
key: C(k, y),
|
|
10953
10953
|
onClick: E(k, y)
|
|
@@ -10979,7 +10979,7 @@ function fh(e, t, l, n = !1) {
|
|
|
10979
10979
|
for (let P = 0; P < B.value.length; P++) {
|
|
10980
10980
|
const F = B.value[P];
|
|
10981
10981
|
let v = null;
|
|
10982
|
-
o.popupItem ? v = o.popupItem({ item: F, index: P }) : v =
|
|
10982
|
+
o.popupItem ? v = o.popupItem({ item: F, index: P }) : v = ya(a, F);
|
|
10983
10983
|
const K = {
|
|
10984
10984
|
class: w(F, P),
|
|
10985
10985
|
key: C(F, P),
|
|
@@ -11087,7 +11087,7 @@ function ph(e, t, l = !1) {
|
|
|
11087
11087
|
if (!u.value)
|
|
11088
11088
|
return;
|
|
11089
11089
|
const d = () => {
|
|
11090
|
-
const h =
|
|
11090
|
+
const h = Dl(u.value);
|
|
11091
11091
|
s.tabWidth.value = h.width, s.tabHeight.value = h.height;
|
|
11092
11092
|
};
|
|
11093
11093
|
window.ResizeObserver && (g = new window.ResizeObserver(d), g.observe(u.value)), d();
|
|
@@ -11170,7 +11170,7 @@ function $h(e, t, l) {
|
|
|
11170
11170
|
}
|
|
11171
11171
|
};
|
|
11172
11172
|
}
|
|
11173
|
-
const { create: Th, componentName: Ch, scope: Nh } = ue("tabs-pane"), Eh = Th($h(Ch, Nh,
|
|
11173
|
+
const { create: Th, componentName: Ch, scope: Nh } = ue("tabs-pane"), Eh = Th($h(Ch, Nh, Pl)), kh = {
|
|
11174
11174
|
// 步骤栏方向
|
|
11175
11175
|
direction: {
|
|
11176
11176
|
type: [String],
|
|
@@ -11288,10 +11288,10 @@ const { create: Th, componentName: Ch, scope: Nh } = ue("tabs-pane"), Eh = Th($h
|
|
|
11288
11288
|
function Ih(e, t) {
|
|
11289
11289
|
return typeof e.textKey == "string" && e.textKey.length > 0 ? t[e.textKey] : t.text;
|
|
11290
11290
|
}
|
|
11291
|
-
function
|
|
11291
|
+
function wa(e, t) {
|
|
11292
11292
|
return typeof e.valueKey == "string" && e.valueKey.length > 0 ? t[e.valueKey] : t.value;
|
|
11293
11293
|
}
|
|
11294
|
-
function
|
|
11294
|
+
function Sa(e, t) {
|
|
11295
11295
|
return typeof e.disabledKey == "string" && e.disabledKey.length > 0 ? t[e.disabledKey] : t.disabled ?? null;
|
|
11296
11296
|
}
|
|
11297
11297
|
function Fh(e, t) {
|
|
@@ -11300,10 +11300,10 @@ function Fh(e, t) {
|
|
|
11300
11300
|
function tl(e, t) {
|
|
11301
11301
|
return typeof e.statusKey == "string" && e.statusKey.length > 0 ? t[e.statusKey] : t.statusKey ?? null;
|
|
11302
11302
|
}
|
|
11303
|
-
function
|
|
11303
|
+
function $a(e, t) {
|
|
11304
11304
|
return typeof e.doitKey == "string" && e.doitKey.length > 0 ? t[e.doitKey] : t.doitKey ?? null;
|
|
11305
11305
|
}
|
|
11306
|
-
function
|
|
11306
|
+
function Ta(e, t) {
|
|
11307
11307
|
return typeof e.labelKey == "string" && e.labelKey.length > 0 ? t[e.labelKey] : t.labelKey ?? null;
|
|
11308
11308
|
}
|
|
11309
11309
|
function nl(e, t, l) {
|
|
@@ -11352,7 +11352,7 @@ function Ph(e, t, l, n) {
|
|
|
11352
11352
|
// setup
|
|
11353
11353
|
setup(a, { slots: o, emit: r }) {
|
|
11354
11354
|
const s = e, i = Oh(), u = j([]), c = b(() => u.value.filter((y) => Fh(a, y) !== !1)), f = j(-1), m = () => {
|
|
11355
|
-
const y = a.modelValue, P = c.value.findIndex((F) =>
|
|
11355
|
+
const y = a.modelValue, P = c.value.findIndex((F) => wa(a, F) === y);
|
|
11356
11356
|
f.value !== P && (f.value = P, a.scroll && re(P, !1));
|
|
11357
11357
|
};
|
|
11358
11358
|
fe([() => a.modelValue, c], () => {
|
|
@@ -11390,12 +11390,12 @@ function Ph(e, t, l, n) {
|
|
|
11390
11390
|
g(P) && g(v) ? a.direction === "vertical" ? F.height = "100%" : F.width = "100%" : F.opacity = "0";
|
|
11391
11391
|
}
|
|
11392
11392
|
return F;
|
|
11393
|
-
},
|
|
11393
|
+
}, M = (y) => c.value.length - 1 === y, R = (y, P) => {
|
|
11394
11394
|
if (a.clickNavigatePolicy === "disabled" || (a.clickNavigatePolicy === "only-back" || a.clickNavigatePolicy === "only-back-reset") && P > f.value || f.value === P)
|
|
11395
11395
|
return;
|
|
11396
11396
|
const F = f.value, v = P;
|
|
11397
11397
|
f.value = P, a.scroll && re(P, !1);
|
|
11398
|
-
const K =
|
|
11398
|
+
const K = wa(a, y);
|
|
11399
11399
|
r("update:modelValue", K);
|
|
11400
11400
|
const q = {
|
|
11401
11401
|
fromIndex: F,
|
|
@@ -11405,7 +11405,7 @@ function Ph(e, t, l, n) {
|
|
|
11405
11405
|
clickNavigatePolicy: a.clickNavigatePolicy
|
|
11406
11406
|
};
|
|
11407
11407
|
r("change", K, q);
|
|
11408
|
-
}, D = j(!0),
|
|
11408
|
+
}, D = j(!0), L = async (y, P) => {
|
|
11409
11409
|
try {
|
|
11410
11410
|
const F = await i.load("stesbar", y, P);
|
|
11411
11411
|
Array.isArray(F) && (u.value = F), D.value = !1;
|
|
@@ -11419,7 +11419,7 @@ function Ph(e, t, l, n) {
|
|
|
11419
11419
|
fe(
|
|
11420
11420
|
[() => a.data, () => a.params],
|
|
11421
11421
|
async ([y, P]) => {
|
|
11422
|
-
y &&
|
|
11422
|
+
y && L(y, P);
|
|
11423
11423
|
},
|
|
11424
11424
|
{ immediate: !0 }
|
|
11425
11425
|
);
|
|
@@ -11458,7 +11458,7 @@ function Ph(e, t, l, n) {
|
|
|
11458
11458
|
return A("view", { class: "fox-steps-bar__mark" }, [y]);
|
|
11459
11459
|
}, B = (y, P, F, v, K) => {
|
|
11460
11460
|
const q = [];
|
|
11461
|
-
if (!
|
|
11461
|
+
if (!M(P)) {
|
|
11462
11462
|
const U = C(y, P);
|
|
11463
11463
|
q.push(U);
|
|
11464
11464
|
}
|
|
@@ -11481,17 +11481,17 @@ function Ph(e, t, l, n) {
|
|
|
11481
11481
|
}, [v])) : null;
|
|
11482
11482
|
}, O = (y, P) => {
|
|
11483
11483
|
const F = nl(a, y, P) ?? {}, v = F.status ?? tl(a, y);
|
|
11484
|
-
let K =
|
|
11484
|
+
let K = Sa(a, y);
|
|
11485
11485
|
F.disabled === !0 && (K = !0), a.disabled === !0 && (K = !0);
|
|
11486
|
-
const q = F.label ??
|
|
11486
|
+
const q = F.label ?? Ta(a, y), _ = [], V = N(y, P, q, v, K);
|
|
11487
11487
|
V && _.push(V);
|
|
11488
11488
|
const U = $(y, P, v, K);
|
|
11489
|
-
if (U && _.push(U), !
|
|
11489
|
+
if (U && _.push(U), !M(P)) {
|
|
11490
11490
|
const ee = C(y, P);
|
|
11491
11491
|
ee && _.push(ee);
|
|
11492
11492
|
}
|
|
11493
11493
|
const z = A("view", { class: "fox-steps-bar__head" }, _), J = F.class, ne = F.style ?? {};
|
|
11494
|
-
let S =
|
|
11494
|
+
let S = $a(a, y);
|
|
11495
11495
|
F.doit === !0 && (S = !0);
|
|
11496
11496
|
const W = {
|
|
11497
11497
|
ref: te(P),
|
|
@@ -11501,9 +11501,9 @@ function Ph(e, t, l, n) {
|
|
|
11501
11501
|
return A("view", W, [z]);
|
|
11502
11502
|
}, G = (y, P) => {
|
|
11503
11503
|
const F = nl(a, y, P) ?? {}, v = F.status ?? tl(a, y);
|
|
11504
|
-
let K =
|
|
11504
|
+
let K = Sa(a, y);
|
|
11505
11505
|
F.disabled === !0 && (K = !0), a.disabled === !0 && (K = !0);
|
|
11506
|
-
const q = F.label ??
|
|
11506
|
+
const q = F.label ?? Ta(a, y), _ = [], V = a.layout;
|
|
11507
11507
|
for (let S of V)
|
|
11508
11508
|
if (S === "head") {
|
|
11509
11509
|
const W = B(y, P, q, v, K);
|
|
@@ -11519,7 +11519,7 @@ function Ph(e, t, l, n) {
|
|
|
11519
11519
|
_.push(W);
|
|
11520
11520
|
}
|
|
11521
11521
|
const U = F.class, z = F.style ?? {};
|
|
11522
|
-
let J =
|
|
11522
|
+
let J = $a(a, y);
|
|
11523
11523
|
F.doit === !0 && (J = !0);
|
|
11524
11524
|
const ne = {
|
|
11525
11525
|
ref: te(P),
|
|
@@ -11568,7 +11568,7 @@ function Ph(e, t, l, n) {
|
|
|
11568
11568
|
}
|
|
11569
11569
|
};
|
|
11570
11570
|
}
|
|
11571
|
-
const { componentName: Ah, create: Vh, scope:
|
|
11571
|
+
const { componentName: Ah, create: Vh, scope: Lh } = ue("steps-bar"), Mh = Vh(Ph(Ah, Lh, ah, rh)), Rh = Symbol.for("InnerPageScopeKey"), _h = Symbol.for("PageWrapperKey");
|
|
11572
11572
|
function qh(e, t) {
|
|
11573
11573
|
return {
|
|
11574
11574
|
// 属性
|
|
@@ -11631,18 +11631,18 @@ function qh(e, t) {
|
|
|
11631
11631
|
}
|
|
11632
11632
|
const { componentName: Hm, create: Bh, scope: zm } = ue("dialog-item"), Hh = Bh(qh());
|
|
11633
11633
|
let an = 0;
|
|
11634
|
-
const
|
|
11634
|
+
const Ca = "fox-overflow-hidden", Na = () => Nt ? document.body : {
|
|
11635
11635
|
classList: []
|
|
11636
11636
|
}, zh = (e) => [() => {
|
|
11637
11637
|
if (e())
|
|
11638
11638
|
try {
|
|
11639
|
-
!an &&
|
|
11639
|
+
!an && Na().classList.add(Ca), an++;
|
|
11640
11640
|
} catch {
|
|
11641
11641
|
}
|
|
11642
11642
|
}, () => {
|
|
11643
11643
|
if (e() && an)
|
|
11644
11644
|
try {
|
|
11645
|
-
an--, !an &&
|
|
11645
|
+
an--, !an && Na().classList.remove(Ca);
|
|
11646
11646
|
} catch {
|
|
11647
11647
|
}
|
|
11648
11648
|
}], jh = {
|
|
@@ -11791,7 +11791,7 @@ const Yo = /* @__PURE__ */ ot(Yh, [["render", Gh]]), Uh = {
|
|
|
11791
11791
|
default: {}
|
|
11792
11792
|
}
|
|
11793
11793
|
}, Go = 2e3;
|
|
11794
|
-
let
|
|
11794
|
+
let Ea = Go;
|
|
11795
11795
|
const Xh = (e, t) => ({
|
|
11796
11796
|
components: t,
|
|
11797
11797
|
props: {
|
|
@@ -11814,7 +11814,7 @@ const Xh = (e, t) => ({
|
|
|
11814
11814
|
transitionDuration: `${l.duration}s`,
|
|
11815
11815
|
...l.style
|
|
11816
11816
|
})), s = b(() => l.transition ? l.transition : `fox-popup-slide-${l.position}`), i = () => {
|
|
11817
|
-
l.zIndex !== Go && (
|
|
11817
|
+
l.zIndex !== Go && (Ea = Number(l.zIndex)), n("update:visible", !0), a.zIndex = ++Ea, l.destroyOnClose && (a.showSlot = !0), n("open");
|
|
11818
11818
|
}, u = () => {
|
|
11819
11819
|
n("update:visible", !1), n("close"), l.destroyOnClose && setTimeout(() => {
|
|
11820
11820
|
a.showSlot = !1;
|
|
@@ -11860,11 +11860,11 @@ const Xh = (e, t) => ({
|
|
|
11860
11860
|
);
|
|
11861
11861
|
function eg(e, t, l, n, a, o) {
|
|
11862
11862
|
const r = Te("FoxOverLay"), s = Te("Close");
|
|
11863
|
-
return se(), Ie(
|
|
11863
|
+
return se(), Ie(al, {
|
|
11864
11864
|
to: e.teleport,
|
|
11865
11865
|
disabled: e.teleportDisable
|
|
11866
11866
|
}, [
|
|
11867
|
-
e.overlay ? (se(), Ie(r,
|
|
11867
|
+
e.overlay ? (se(), Ie(r, yl({
|
|
11868
11868
|
key: 0,
|
|
11869
11869
|
visible: e.visible,
|
|
11870
11870
|
"close-on-click-overlay": e.closeOnClickOverlay,
|
|
@@ -12212,7 +12212,7 @@ const sg = /* @__PURE__ */ ot(lg, [["render", rg]]), ig = {
|
|
|
12212
12212
|
o("keyup-input", N), N.key.toLocaleUpperCase() === "ENTER" && p();
|
|
12213
12213
|
}, H = (N) => {
|
|
12214
12214
|
o("click-input", N);
|
|
12215
|
-
},
|
|
12215
|
+
}, M = (N) => {
|
|
12216
12216
|
o("click-left-icon", n.modelValue, N);
|
|
12217
12217
|
}, R = b(() => ({
|
|
12218
12218
|
textAlign: n.inputAlign
|
|
@@ -12220,12 +12220,12 @@ const sg = /* @__PURE__ */ ot(lg, [["render", rg]]), ig = {
|
|
|
12220
12220
|
Ne(() => {
|
|
12221
12221
|
n.autofocus && D.value.focus();
|
|
12222
12222
|
});
|
|
12223
|
-
const
|
|
12223
|
+
const L = () => {
|
|
12224
12224
|
const N = [];
|
|
12225
12225
|
if (a.leftin) {
|
|
12226
12226
|
const E = {
|
|
12227
12227
|
class: [`${e}__search-icon`, `${e}__input-left-search-icon`],
|
|
12228
|
-
onClick:
|
|
12228
|
+
onClick: M
|
|
12229
12229
|
}, O = A("view", E, [a.leftin()]);
|
|
12230
12230
|
N.push(O);
|
|
12231
12231
|
}
|
|
@@ -12290,7 +12290,7 @@ const sg = /* @__PURE__ */ ot(lg, [["render", rg]]), ig = {
|
|
|
12290
12290
|
}, $ = A("view", B, [a.leftout()]);
|
|
12291
12291
|
N.push($);
|
|
12292
12292
|
}
|
|
12293
|
-
const C =
|
|
12293
|
+
const C = L();
|
|
12294
12294
|
if (N.push(C), a.rightout) {
|
|
12295
12295
|
const B = {
|
|
12296
12296
|
class: [`${e}__search-icon`, `${e}__right-search-icon`]
|
|
@@ -12304,7 +12304,7 @@ const sg = /* @__PURE__ */ ot(lg, [["render", rg]]), ig = {
|
|
|
12304
12304
|
return A("view", w, N);
|
|
12305
12305
|
};
|
|
12306
12306
|
}
|
|
12307
|
-
}), { componentName: cg, create: fg, scope: dg } = ue("searchbar"), hg = fg(ug(cg, dg,
|
|
12307
|
+
}), { componentName: cg, create: fg, scope: dg } = ue("searchbar"), hg = fg(ug(cg, dg, Ls)), gg = /scroll|auto|overlay/i, Uo = window;
|
|
12308
12308
|
function vg(e) {
|
|
12309
12309
|
return e.tagName !== "HTML" && e.tagName !== "BODY" && e.nodeType === 1;
|
|
12310
12310
|
}
|
|
@@ -12380,11 +12380,11 @@ function yg(e, t, l) {
|
|
|
12380
12380
|
})), m = (p) => p ? p.offsetTop + m(p.offsetParent) : 0, I = () => {
|
|
12381
12381
|
let p = 0, T = 0, H = "down";
|
|
12382
12382
|
if (u.value == window) {
|
|
12383
|
-
const
|
|
12384
|
-
i.value && (p = m(i.value) + i.value.offsetHeight -
|
|
12383
|
+
const M = Zo();
|
|
12384
|
+
i.value && (p = m(i.value) + i.value.offsetHeight - M - window.innerHeight), T = M;
|
|
12385
12385
|
} else {
|
|
12386
|
-
const { scrollHeight:
|
|
12387
|
-
p =
|
|
12386
|
+
const { scrollHeight: M, clientHeight: R, scrollTop: D } = u.value;
|
|
12387
|
+
p = M - R - D, T = D;
|
|
12388
12388
|
}
|
|
12389
12389
|
return c.beforeScrollTop > T ? H = "up" : H = "down", c.beforeScrollTop = T, a("scroll-change", T), p <= n.threshold && H == "down";
|
|
12390
12390
|
}, g = () => {
|
|
@@ -12418,8 +12418,8 @@ function yg(e, t, l) {
|
|
|
12418
12418
|
class: "fox-infinite__container"
|
|
12419
12419
|
}, [o?.default?.()]), H = [];
|
|
12420
12420
|
if (c.isInfiniting) {
|
|
12421
|
-
let
|
|
12422
|
-
if (!
|
|
12421
|
+
let L = o?.loading?.() ?? null;
|
|
12422
|
+
if (!L) {
|
|
12423
12423
|
let w = o?.loadingIcon?.() ?? null;
|
|
12424
12424
|
w || (w = A(l, {
|
|
12425
12425
|
class: ["fox-infinite__bottom-box__img"]
|
|
@@ -12427,17 +12427,17 @@ function yg(e, t, l) {
|
|
|
12427
12427
|
const $ = A("view", {
|
|
12428
12428
|
class: "fox-infinite__bottom-box__text"
|
|
12429
12429
|
}, [s.loadText.value]);
|
|
12430
|
-
|
|
12430
|
+
L = [w, $];
|
|
12431
12431
|
}
|
|
12432
12432
|
const C = A("view", {
|
|
12433
12433
|
class: "fox-infinite__bottom-box"
|
|
12434
|
-
},
|
|
12434
|
+
}, L);
|
|
12435
12435
|
H.push(C);
|
|
12436
12436
|
} else if (!n.hasMore) {
|
|
12437
|
-
let
|
|
12438
|
-
|
|
12437
|
+
let L = o?.finished?.() ?? null;
|
|
12438
|
+
L || (L = A("view", {
|
|
12439
12439
|
class: "fox-infinite__bottom-tips"
|
|
12440
|
-
}, [s.loadMoreText.value]), H.push(
|
|
12440
|
+
}, [s.loadMoreText.value]), H.push(L));
|
|
12441
12441
|
}
|
|
12442
12442
|
const R = A("view", {
|
|
12443
12443
|
class: "fox-infinite__bottom"
|
|
@@ -12450,9 +12450,9 @@ function yg(e, t, l) {
|
|
|
12450
12450
|
}
|
|
12451
12451
|
};
|
|
12452
12452
|
}
|
|
12453
|
-
const { componentName: bg, create: xg, scope: wg } = ue("infinite-loading"), Sg = xg(yg(bg, wg,
|
|
12453
|
+
const { componentName: bg, create: xg, scope: wg } = ue("infinite-loading"), Sg = xg(yg(bg, wg, Pl)), ka = 10;
|
|
12454
12454
|
function Qo(e, t) {
|
|
12455
|
-
return e > t && e >
|
|
12455
|
+
return e > t && e > ka ? "horizontal" : t > e && t > ka ? "vertical" : "";
|
|
12456
12456
|
}
|
|
12457
12457
|
function Jo() {
|
|
12458
12458
|
const e = window.navigator.userAgent;
|
|
@@ -12609,15 +12609,15 @@ const $g = {
|
|
|
12609
12609
|
const D = {};
|
|
12610
12610
|
return n.headHeight != 50 && (D.height = Ge(n.headHeight)), D;
|
|
12611
12611
|
}), h = (D) => {
|
|
12612
|
-
const
|
|
12612
|
+
const L = +(n.pullDistance || n.headHeight);
|
|
12613
12613
|
let N = D;
|
|
12614
|
-
return D >
|
|
12615
|
-
}, x = (D,
|
|
12614
|
+
return D > L && (D < L * 2 ? N = (D + L) / 2 : N = L + D / 4), Math.round(N);
|
|
12615
|
+
}, x = (D, L) => {
|
|
12616
12616
|
const N = +(n.pullDistance || n.headHeight);
|
|
12617
|
-
f.distance = D,
|
|
12617
|
+
f.distance = D, L ? f.status = "loading" : D === 0 ? f.status = "normal" : D < N ? f.status = "pulling" : f.status = "loosing", a("change", { status: f.status, distance: D });
|
|
12618
12618
|
}, p = () => f.status !== "loading" && f.status !== "complete", T = () => c.value == window ? Zo() == 0 : c.value && c.value.scrollTop == 0, H = (D) => {
|
|
12619
12619
|
p() && (T() ? (i.start(D), f.isPullRefresh = !0, f.moving = !0) : (f.distance = 0, f.isPullRefresh = !1));
|
|
12620
|
-
},
|
|
12620
|
+
}, M = (D) => {
|
|
12621
12621
|
p() && f.moving && (i.move(D), i.isVertical() && i.state.deltaY > 0 && f.isPullRefresh && (D.cancelable && D.preventDefault(), x(h(i.state.deltaY))));
|
|
12622
12622
|
}, R = () => {
|
|
12623
12623
|
f.moving = !1, f.isPullRefresh && p() && i.state.deltaY && (f.status === "loosing" ? (x(+n.headHeight, !0), a("update:modelValue", !0), Tt(() => a("refresh"))) : x(0)), setTimeout(() => {
|
|
@@ -12631,10 +12631,10 @@ const $g = {
|
|
|
12631
12631
|
}
|
|
12632
12632
|
), () => {
|
|
12633
12633
|
const D = [];
|
|
12634
|
-
let
|
|
12635
|
-
f.status === "loading" ? (
|
|
12634
|
+
let L = null;
|
|
12635
|
+
f.status === "loading" ? (L = o?.loading?.() ?? null, L || (L = A(l, {
|
|
12636
12636
|
class: ["fox-pull-refresh-container-topbox-icon"]
|
|
12637
|
-
}))) : f.status === "pulling" ?
|
|
12637
|
+
}))) : f.status === "pulling" ? L = o?.pulling?.() ?? null : f.status === "loosing" && (L = o?.loosing?.() ?? null), L && D.push(L);
|
|
12638
12638
|
const C = A("dive", {
|
|
12639
12639
|
class: ["fox-pull-refresh-container-topbox-text"]
|
|
12640
12640
|
}, [I.value]);
|
|
@@ -12649,10 +12649,10 @@ const $g = {
|
|
|
12649
12649
|
ref: u,
|
|
12650
12650
|
class: m.value
|
|
12651
12651
|
};
|
|
12652
|
-
return Jo() ? Object.assign(O, { onTouchstart: H, onTouchmove:
|
|
12652
|
+
return Jo() ? Object.assign(O, { onTouchstart: H, onTouchmove: M, onTouchend: R }) : Object.assign(O, { onMousedown: H, onMousemove: M, onMouseup: R }), A("div", O, [E]);
|
|
12653
12653
|
};
|
|
12654
12654
|
}
|
|
12655
|
-
}), { componentName: Cg, create: Ng, scope: Eg } = ue("pull-refresh"), kg = Ng(Tg(Cg, Eg,
|
|
12655
|
+
}), { componentName: Cg, create: Ng, scope: Eg } = ue("pull-refresh"), kg = Ng(Tg(Cg, Eg, Pl));
|
|
12656
12656
|
function Ig(e, t) {
|
|
12657
12657
|
return {
|
|
12658
12658
|
// 属性
|
|
@@ -12867,18 +12867,18 @@ function Vg(e, t, l, n = !1) {
|
|
|
12867
12867
|
const T = {}, H = a.textColor ?? a.color;
|
|
12868
12868
|
return H && (T.color = H), T;
|
|
12869
12869
|
}), u = (T, H) => {
|
|
12870
|
-
let
|
|
12870
|
+
let M = null;
|
|
12871
12871
|
if (typeof a.highlightFilter == "string" && a.highlightFilter.length > 0) {
|
|
12872
12872
|
const R = a.highlightFilter;
|
|
12873
12873
|
if (T.indexOf(R) !== -1) {
|
|
12874
|
-
const
|
|
12875
|
-
H.innerHTML =
|
|
12874
|
+
const L = T.replace(new RegExp(R, "g"), `<span>${R}</span>`);
|
|
12875
|
+
H.innerHTML = L, H.class["is-highlight"] = !0, M = A(a.tag, H);
|
|
12876
12876
|
}
|
|
12877
12877
|
} else if (typeof a.highlightFilter == "function") {
|
|
12878
12878
|
const R = a.highlightFilter(T);
|
|
12879
|
-
R && (H.innerHTML = R, H.class["is-highlight"] = !0,
|
|
12879
|
+
R && (H.innerHTML = R, H.class["is-highlight"] = !0, M = A(a.tag, H));
|
|
12880
12880
|
}
|
|
12881
|
-
return
|
|
12881
|
+
return M;
|
|
12882
12882
|
}, c = (T) => {
|
|
12883
12883
|
o.emit("click", T);
|
|
12884
12884
|
};
|
|
@@ -12888,9 +12888,9 @@ function Vg(e, t, l, n = !1) {
|
|
|
12888
12888
|
if (!T)
|
|
12889
12889
|
return;
|
|
12890
12890
|
const H = T.clientWidth;
|
|
12891
|
-
Pg(T, (
|
|
12891
|
+
Pg(T, (M) => {
|
|
12892
12892
|
const R = T.innerHTML ?? "";
|
|
12893
|
-
Oe(R) ||
|
|
12893
|
+
Oe(R) || M < H || (f ? l?.show(T, R, { type: "text", id: f, showArrow: a.showArrow }, !0) : f = l?.show(T, R, { type: "text", showArrow: a.showArrow }, !0) ?? "");
|
|
12894
12894
|
});
|
|
12895
12895
|
}, I = () => {
|
|
12896
12896
|
f && l?.hide(f);
|
|
@@ -12924,22 +12924,22 @@ function Vg(e, t, l, n = !1) {
|
|
|
12924
12924
|
};
|
|
12925
12925
|
let H = null;
|
|
12926
12926
|
if (de(a.numberFormat) && typeof o.slots.default == "function") {
|
|
12927
|
-
const
|
|
12928
|
-
if (Array.isArray(
|
|
12929
|
-
const N =
|
|
12927
|
+
const L = o.slots.default();
|
|
12928
|
+
if (Array.isArray(L) && L.length === 1) {
|
|
12929
|
+
const N = L[0].type.toString();
|
|
12930
12930
|
if (N === "Symbol(Text)" || N === "Symbol(v-txt)") {
|
|
12931
|
-
const C =
|
|
12932
|
-
let $ = `${
|
|
12933
|
-
E =
|
|
12931
|
+
const C = Me(a.digits), w = Me(a.decimalLength), B = de(a.autoPadding);
|
|
12932
|
+
let $ = `${L[0].children}`, E = $.split("").reverse().join("");
|
|
12933
|
+
E = $l(E, w, B, C, a.separator), $ = E.split("").reverse().join(""), a.highlightFilter !== void 0 && (H = u($, T)), H || (T.innerHTML = $, H = A(a.tag, T));
|
|
12934
12934
|
}
|
|
12935
12935
|
}
|
|
12936
12936
|
} else {
|
|
12937
12937
|
if (a.highlightFilter !== void 0 && typeof o.slots.default == "function") {
|
|
12938
|
-
const
|
|
12939
|
-
if (Array.isArray(
|
|
12940
|
-
const N =
|
|
12938
|
+
const L = o.slots.default();
|
|
12939
|
+
if (Array.isArray(L) && L.length === 1) {
|
|
12940
|
+
const N = L[0].type.toString();
|
|
12941
12941
|
if (N === "Symbol(Text)" || N === "Symbol(v-txt)") {
|
|
12942
|
-
const C = `${
|
|
12942
|
+
const C = `${L[0].children}`;
|
|
12943
12943
|
H = u(C, T), H || (T.innerHTML = C, H = A(a.tag, T));
|
|
12944
12944
|
}
|
|
12945
12945
|
}
|
|
@@ -12950,33 +12950,33 @@ function Vg(e, t, l, n = !1) {
|
|
|
12950
12950
|
return H;
|
|
12951
12951
|
let R = null;
|
|
12952
12952
|
if (a.icon) {
|
|
12953
|
-
const
|
|
12953
|
+
const L = {
|
|
12954
12954
|
[`${e}__mark-wrap`]: !0
|
|
12955
12955
|
};
|
|
12956
|
-
a.type && (
|
|
12956
|
+
a.type && (L[`${e}__mark-wrap--${a.type}`] = !0);
|
|
12957
12957
|
const N = {}, C = a.color;
|
|
12958
12958
|
C && (N.color = C), R = A("view", {
|
|
12959
|
-
class:
|
|
12959
|
+
class: L,
|
|
12960
12960
|
style: N
|
|
12961
12961
|
}, A(a.icon));
|
|
12962
12962
|
} else if (o.slots.mark) {
|
|
12963
|
-
const
|
|
12963
|
+
const L = {
|
|
12964
12964
|
[`${e}__mark-wrap`]: !0
|
|
12965
12965
|
};
|
|
12966
|
-
a.type && (
|
|
12966
|
+
a.type && (L[`${e}__mark-wrap--${a.type}`] = !0);
|
|
12967
12967
|
const N = {}, C = a.color;
|
|
12968
12968
|
C && (N.color = C), R = A("view", {
|
|
12969
|
-
class:
|
|
12969
|
+
class: L,
|
|
12970
12970
|
style: N
|
|
12971
12971
|
}, { default: o.slots.mark });
|
|
12972
12972
|
} else {
|
|
12973
|
-
const
|
|
12973
|
+
const L = {
|
|
12974
12974
|
[`${e}__mark`]: !0
|
|
12975
12975
|
};
|
|
12976
|
-
a.type && (
|
|
12976
|
+
a.type && (L[`${e}__mark--${a.type ?? "default"}`] = !0);
|
|
12977
12977
|
const N = {}, C = a.color;
|
|
12978
12978
|
C && (N["background-color"] = C), R = A("view", {
|
|
12979
|
-
class:
|
|
12979
|
+
class: L,
|
|
12980
12980
|
style: N
|
|
12981
12981
|
});
|
|
12982
12982
|
}
|
|
@@ -12992,7 +12992,7 @@ function Vg(e, t, l, n = !1) {
|
|
|
12992
12992
|
}
|
|
12993
12993
|
};
|
|
12994
12994
|
}
|
|
12995
|
-
const { componentName:
|
|
12995
|
+
const { componentName: Lg, create: Mg, scope: Rg } = ue("text"), _g = Mg(Vg(Lg, Rg, Ye, !1)), qg = {
|
|
12996
12996
|
// model value
|
|
12997
12997
|
modelValue: {
|
|
12998
12998
|
type: [Boolean],
|
|
@@ -13180,12 +13180,12 @@ const Gg = (e) => {
|
|
|
13180
13180
|
showPopup: !1,
|
|
13181
13181
|
active: 0
|
|
13182
13182
|
}), a = j({}), o = b(() => `${l}`), r = b(() => {
|
|
13183
|
-
const { offset: g, maskWidth: d, maskHeight: h } = e, { width: x, height: p, left: T, top: H } = a.value,
|
|
13183
|
+
const { offset: g, maskWidth: d, maskHeight: h } = e, { width: x, height: p, left: T, top: H } = a.value, M = e.steps[n.active].offset ?? g, R = [T + x / 2, H + p / 2], D = Number(d || x), L = Number(h || p);
|
|
13184
13184
|
return {
|
|
13185
|
-
width: `${D + +
|
|
13186
|
-
height: `${
|
|
13187
|
-
top: `${R[1] -
|
|
13188
|
-
left: `${R[0] - D / 2 - +
|
|
13185
|
+
width: `${D + +M.left + M.right}px`,
|
|
13186
|
+
height: `${L + M.top + M.bottom}px`,
|
|
13187
|
+
top: `${R[1] - L / 2 - +M.top}px`,
|
|
13188
|
+
left: `${R[0] - D / 2 - +M.left}px`
|
|
13189
13189
|
};
|
|
13190
13190
|
}), s = (g) => {
|
|
13191
13191
|
g == "next" ? n.active = n.active + 1 : n.active = n.active - 1, n.showPopup = !1, Tt(() => {
|
|
@@ -13247,7 +13247,7 @@ function rv(e, t, l, n, a, o) {
|
|
|
13247
13247
|
}, null, 512), [
|
|
13248
13248
|
[qt, e.showTour]
|
|
13249
13249
|
]),
|
|
13250
|
-
(se(!0), he(
|
|
13250
|
+
(se(!0), he(Lt, null, sn(e.steps, (u, c) => (se(), he("div", {
|
|
13251
13251
|
key: c,
|
|
13252
13252
|
style: { height: "0" }
|
|
13253
13253
|
}, [
|
|
@@ -13288,7 +13288,7 @@ function rv(e, t, l, n, a, o) {
|
|
|
13288
13288
|
onClick: t[2] || (t[2] = (f) => e.changeStep("prev"))
|
|
13289
13289
|
}, {
|
|
13290
13290
|
default: ve(() => [
|
|
13291
|
-
|
|
13291
|
+
Mt(Ce(e.prevStepText), 1)
|
|
13292
13292
|
]),
|
|
13293
13293
|
_: 1
|
|
13294
13294
|
})) : be("", !0)
|
|
@@ -13301,7 +13301,7 @@ function rv(e, t, l, n, a, o) {
|
|
|
13301
13301
|
onClick: e.close
|
|
13302
13302
|
}, {
|
|
13303
13303
|
default: ve(() => [
|
|
13304
|
-
|
|
13304
|
+
Mt(Ce(e.completeText), 1)
|
|
13305
13305
|
]),
|
|
13306
13306
|
_: 1
|
|
13307
13307
|
}, 8, ["onClick"])) : be("", !0),
|
|
@@ -13314,7 +13314,7 @@ function rv(e, t, l, n, a, o) {
|
|
|
13314
13314
|
onClick: t[3] || (t[3] = (f) => e.changeStep("next"))
|
|
13315
13315
|
}, {
|
|
13316
13316
|
default: ve(() => [
|
|
13317
|
-
|
|
13317
|
+
Mt(Ce(e.nextStepText), 1)
|
|
13318
13318
|
]),
|
|
13319
13319
|
_: 1
|
|
13320
13320
|
})) : be("", !0)
|
|
@@ -13402,26 +13402,26 @@ class iv {
|
|
|
13402
13402
|
}), this.els = null;
|
|
13403
13403
|
}
|
|
13404
13404
|
}
|
|
13405
|
-
function
|
|
13405
|
+
function Ia(e, t) {
|
|
13406
13406
|
return new iv(e, t);
|
|
13407
13407
|
}
|
|
13408
13408
|
let jt = [];
|
|
13409
|
-
const
|
|
13409
|
+
const Fa = (e) => {
|
|
13410
13410
|
const t = e;
|
|
13411
13411
|
t.key === "Escape" && jt.forEach((l) => l(t));
|
|
13412
13412
|
}, uv = (e) => {
|
|
13413
13413
|
Ne(() => {
|
|
13414
|
-
jt.length === 0 && document.addEventListener("keydown",
|
|
13414
|
+
jt.length === 0 && document.addEventListener("keydown", Fa), Nt && jt.push(e);
|
|
13415
13415
|
}), dt(() => {
|
|
13416
|
-
jt = jt.filter((t) => t !== e), jt.length === 0 && Nt && document.removeEventListener("keydown",
|
|
13416
|
+
jt = jt.filter((t) => t !== e), jt.length === 0 && Nt && document.removeEventListener("keydown", Fa);
|
|
13417
13417
|
});
|
|
13418
|
-
}, ll = "fox-focus-trap.focus-after-trapped",
|
|
13418
|
+
}, ll = "fox-focus-trap.focus-after-trapped", Da = "fox-focus-trap.focus-after-released", cv = "fox-focus-trap.focusout-prevented", Oa = {
|
|
13419
13419
|
cancelable: !0,
|
|
13420
13420
|
bubbles: !1
|
|
13421
13421
|
}, fv = {
|
|
13422
13422
|
cancelable: !0,
|
|
13423
13423
|
bubbles: !1
|
|
13424
|
-
}, Pa = "foxFocusAfterTrapped", Aa = "foxFocusAfterReleased", dv = Symbol("foxFocusTrap"),
|
|
13424
|
+
}, Pa = "foxFocusAfterTrapped", Aa = "foxFocusAfterReleased", dv = Symbol("foxFocusTrap"), Al = j(), zn = j(0), Vl = j(0);
|
|
13425
13425
|
let bn = 0;
|
|
13426
13426
|
const tr = (e) => {
|
|
13427
13427
|
const t = [], l = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
@@ -13454,10 +13454,10 @@ const tr = (e) => {
|
|
|
13454
13454
|
}, vv = (e) => e instanceof HTMLInputElement && "select" in e, wt = (e, t) => {
|
|
13455
13455
|
if (e && e.focus) {
|
|
13456
13456
|
const l = document.activeElement;
|
|
13457
|
-
e.focus({ preventScroll: !0 }),
|
|
13457
|
+
e.focus({ preventScroll: !0 }), Vl.value = window.performance.now(), e !== l && vv(e) && t && e.select();
|
|
13458
13458
|
}
|
|
13459
13459
|
};
|
|
13460
|
-
function
|
|
13460
|
+
function La(e, t) {
|
|
13461
13461
|
const l = [...e], n = e.indexOf(t);
|
|
13462
13462
|
return n !== -1 && l.splice(n, 1), l;
|
|
13463
13463
|
}
|
|
@@ -13466,10 +13466,10 @@ const mv = () => {
|
|
|
13466
13466
|
return {
|
|
13467
13467
|
push: (n) => {
|
|
13468
13468
|
const a = e[0];
|
|
13469
|
-
a && n !== a && a.pause(), e =
|
|
13469
|
+
a && n !== a && a.pause(), e = La(e, n), e.unshift(n);
|
|
13470
13470
|
},
|
|
13471
13471
|
remove: (n) => {
|
|
13472
|
-
e =
|
|
13472
|
+
e = La(e, n), e[0]?.resume?.();
|
|
13473
13473
|
}
|
|
13474
13474
|
};
|
|
13475
13475
|
}, pv = (e, t = !1) => {
|
|
@@ -13477,18 +13477,18 @@ const mv = () => {
|
|
|
13477
13477
|
for (const n of e)
|
|
13478
13478
|
if (wt(n, t), document.activeElement !== l)
|
|
13479
13479
|
return;
|
|
13480
|
-
},
|
|
13481
|
-
|
|
13480
|
+
}, Ma = mv(), yv = () => zn.value > Vl.value, xn = () => {
|
|
13481
|
+
Al.value = "pointer", zn.value = window.performance.now();
|
|
13482
13482
|
}, Ra = () => {
|
|
13483
|
-
|
|
13483
|
+
Al.value = "keyboard", zn.value = window.performance.now();
|
|
13484
13484
|
}, bv = () => (Ne(() => {
|
|
13485
13485
|
bn === 0 && (document.addEventListener("mousedown", xn), document.addEventListener("touchstart", xn), document.addEventListener("keydown", Ra)), bn++;
|
|
13486
13486
|
}), dt(() => {
|
|
13487
13487
|
bn--, bn <= 0 && (document.removeEventListener("mousedown", xn), document.removeEventListener("touchstart", xn), document.removeEventListener("keydown", Ra));
|
|
13488
13488
|
}), {
|
|
13489
|
-
focusReason:
|
|
13489
|
+
focusReason: Al,
|
|
13490
13490
|
lastUserFocusTimestamp: zn,
|
|
13491
|
-
lastAutomatedFocusTimestamp:
|
|
13491
|
+
lastAutomatedFocusTimestamp: Vl
|
|
13492
13492
|
}), wn = (e) => new CustomEvent(cv, {
|
|
13493
13493
|
...fv,
|
|
13494
13494
|
detail: e
|
|
@@ -13542,22 +13542,22 @@ const mv = () => {
|
|
|
13542
13542
|
}, i = (d) => {
|
|
13543
13543
|
if (!e.loop && !de(e.trapped) || s.paused)
|
|
13544
13544
|
return;
|
|
13545
|
-
const { key: h, altKey: x, ctrlKey: p, metaKey: T, currentTarget: H, shiftKey:
|
|
13546
|
-
if (D &&
|
|
13545
|
+
const { key: h, altKey: x, ctrlKey: p, metaKey: T, currentTarget: H, shiftKey: M } = d, { loop: R } = e, D = h === "Tab" && !x && !p && !T, L = document.activeElement;
|
|
13546
|
+
if (D && L) {
|
|
13547
13547
|
const N = H, [C, w] = gv(N);
|
|
13548
13548
|
if (C && w) {
|
|
13549
|
-
if (!
|
|
13549
|
+
if (!M && L === w) {
|
|
13550
13550
|
const $ = wn({
|
|
13551
13551
|
focusReason: r.value
|
|
13552
13552
|
});
|
|
13553
13553
|
l("focusout-prevented", $), $.defaultPrevented || (d.preventDefault(), R && wt(C, !0));
|
|
13554
|
-
} else if (
|
|
13554
|
+
} else if (M && [C, N].includes(L)) {
|
|
13555
13555
|
const $ = wn({
|
|
13556
13556
|
focusReason: r.value
|
|
13557
13557
|
});
|
|
13558
13558
|
l("focusout-prevented", $), $.defaultPrevented || (d.preventDefault(), R && wt(w, !0));
|
|
13559
13559
|
}
|
|
13560
|
-
} else if (
|
|
13560
|
+
} else if (L === N) {
|
|
13561
13561
|
const $ = wn({
|
|
13562
13562
|
focusReason: r.value
|
|
13563
13563
|
});
|
|
@@ -13607,7 +13607,7 @@ const mv = () => {
|
|
|
13607
13607
|
await Tt();
|
|
13608
13608
|
const d = St(n);
|
|
13609
13609
|
if (d) {
|
|
13610
|
-
|
|
13610
|
+
Ma.push(s);
|
|
13611
13611
|
const h = d.contains(document.activeElement) ? a : document.activeElement;
|
|
13612
13612
|
if (a = h, !d.contains(h)) {
|
|
13613
13613
|
const p = new Event(ll, Oa);
|
|
@@ -13622,13 +13622,13 @@ const mv = () => {
|
|
|
13622
13622
|
const d = St(n);
|
|
13623
13623
|
if (d) {
|
|
13624
13624
|
d.removeEventListener(ll, u);
|
|
13625
|
-
const h = new CustomEvent(
|
|
13625
|
+
const h = new CustomEvent(Da, {
|
|
13626
13626
|
...Oa,
|
|
13627
13627
|
detail: {
|
|
13628
13628
|
focusReason: r.value
|
|
13629
13629
|
}
|
|
13630
13630
|
});
|
|
13631
|
-
d.
|
|
13631
|
+
d.addEventListener(Da, c, { once: !0 }), d.dispatchEvent(h), !h.defaultPrevented && (r.value == "keyboard" || !yv()) && wt(a ?? document.body, !0), Ma.remove(s);
|
|
13632
13632
|
}
|
|
13633
13633
|
}
|
|
13634
13634
|
return Ne(() => {
|
|
@@ -13639,7 +13639,7 @@ const mv = () => {
|
|
|
13639
13639
|
}
|
|
13640
13640
|
);
|
|
13641
13641
|
}), dt(() => {
|
|
13642
|
-
de(e.trapped) && g();
|
|
13642
|
+
de(e.trapped) && g(), n.value && (n.value.removeEventListener("keydown", i), n.value.removeEventListener("focusin", f), n.value.removeEventListener("focusout", m));
|
|
13643
13643
|
}), () => typeof t.default == "function" ? t.default({ "handle-keydown": i }) : null;
|
|
13644
13644
|
}
|
|
13645
13645
|
}), { componentName: $v, create: Tv, scope: Um } = ue("floating-window"), Cv = Symbol.for("InnerPageScopeKey"), Nv = Symbol.for("PageWrapperKey"), Ev = {
|
|
@@ -13798,20 +13798,20 @@ const mv = () => {
|
|
|
13798
13798
|
n.value = S;
|
|
13799
13799
|
}
|
|
13800
13800
|
);
|
|
13801
|
-
const o = b(() => n.value === !1 ? !1 : !
|
|
13801
|
+
const o = b(() => n.value === !1 ? !1 : !L.value), r = j(e.left), s = j(e.top), i = j(e.right), u = j(e.bottom), c = b(() => {
|
|
13802
13802
|
const S = ["fox-floating-window"];
|
|
13803
13803
|
return e.customClass && S.push(e.customClass), S;
|
|
13804
13804
|
}), f = b(() => {
|
|
13805
13805
|
const S = {};
|
|
13806
13806
|
return Ot(r.value) ? S.left = "auto" : S.left = We(r.value), Ot(s.value) ? S.top = "auto" : S.top = We(s.value), Ot(i.value) ? S.right = "auto" : S.right = We(i.value), Ot(u.value) ? S.bottom = "auto" : S.bottom = We(u.value), Ot(e.zIndex) || (S["z-index"] = We(e.zIndex)), Ot(R.value) || (S.height = R.value), Ot(D.value) || (S.width = D.value), S;
|
|
13807
|
-
}), m = b(() => e.closeIcon ?? ro), I = b(() => e.collapseIcon ?? An), g = b(() => e.collapseText ?? ""), d = b(() => e.collapsePosition === "left" ? e.expandIcon ??
|
|
13807
|
+
}), m = b(() => e.closeIcon ?? ro), I = b(() => e.collapseIcon ?? An), g = b(() => e.collapseText ?? ""), d = b(() => e.collapsePosition === "left" ? e.expandIcon ?? Ms : e.expandIcon ?? lo), h = b(() => e.expandText ?? e.title ?? "展开"), x = b(() => ({
|
|
13808
13808
|
[`${l}__collapse-text`]: !0
|
|
13809
13809
|
})), p = b(() => ({
|
|
13810
13810
|
[`${l}__collapse-icon`]: !0,
|
|
13811
|
-
"is-expand": !
|
|
13812
|
-
"is-collapse":
|
|
13813
|
-
})), T = j(), H = j(null),
|
|
13814
|
-
|
|
13811
|
+
"is-expand": !L.value,
|
|
13812
|
+
"is-collapse": L.value
|
|
13813
|
+
})), T = j(), H = j(null), M = j(null), R = b(() => We(e.height) || ""), D = b(() => We(e.width) || ""), L = j(de(e.collapse)), N = (S, W = !0) => {
|
|
13814
|
+
L.value !== S && (L.value = S, S ? y() : P(), t("update:collapse", S), S && typeof B.onHide == "function" ? B.onHide() : !S && typeof B.onShow == "function" && B.onShow());
|
|
13815
13815
|
};
|
|
13816
13816
|
fe(
|
|
13817
13817
|
() => e.collapse,
|
|
@@ -13822,7 +13822,7 @@ const mv = () => {
|
|
|
13822
13822
|
const C = () => {
|
|
13823
13823
|
w();
|
|
13824
13824
|
}, w = (S) => {
|
|
13825
|
-
S = S ?? !
|
|
13825
|
+
S = S ?? !L.value, N(S);
|
|
13826
13826
|
};
|
|
13827
13827
|
ke(Cv, !0);
|
|
13828
13828
|
const B = {
|
|
@@ -13842,7 +13842,7 @@ const mv = () => {
|
|
|
13842
13842
|
}), Y = j(""), Q = b(() => {
|
|
13843
13843
|
const S = {};
|
|
13844
13844
|
return Y.value ? S.top = Y.value : e.collapseTop && (S.top = e.collapseTop), S;
|
|
13845
|
-
}), X = j(
|
|
13845
|
+
}), X = j(L.value), te = b({
|
|
13846
13846
|
set: (S) => {
|
|
13847
13847
|
X.value = S;
|
|
13848
13848
|
},
|
|
@@ -13861,7 +13861,7 @@ const mv = () => {
|
|
|
13861
13861
|
};
|
|
13862
13862
|
}, F = () => {
|
|
13863
13863
|
r.value = null, s.value = null, i.value = null, u.value = null;
|
|
13864
|
-
}, v = { x: 0, y: 0 }, _ =
|
|
13864
|
+
}, v = { x: 0, y: 0 }, _ = Ia((S) => {
|
|
13865
13865
|
if (!T.value)
|
|
13866
13866
|
return;
|
|
13867
13867
|
const W = T.value;
|
|
@@ -13882,7 +13882,7 @@ const mv = () => {
|
|
|
13882
13882
|
return;
|
|
13883
13883
|
const W = T.value;
|
|
13884
13884
|
F(), e.origin === "left-top" ? (r.value = v.x + S.x, s.value = v.y + S.y, W.style.left = We(r.value), W.style.top = We(s.value)) : e.origin === "left-bottom" ? (r.value = v.x + S.x, u.value = v.y - S.y, W.style.left = We(r.value), W.style.bottom = We(u.value)) : e.origin === "right-bottom" ? (i.value = v.x - S.x, u.value = v.y - S.y, W.style.right = We(i.value), W.style.bottom = We(u.value)) : (i.value = v.x - S.x, s.value = v.y + S.y, W.style.right = We(i.value), W.style.top = We(s.value));
|
|
13885
|
-
}), V = { x: 0, y: 0 }, J =
|
|
13885
|
+
}), V = { x: 0, y: 0 }, J = Ia((S) => {
|
|
13886
13886
|
E.value && (V.x = E.value.offsetLeft, V.y = E.value.offsetTop);
|
|
13887
13887
|
}, (S) => {
|
|
13888
13888
|
if (!E.value)
|
|
@@ -13892,13 +13892,13 @@ const mv = () => {
|
|
|
13892
13892
|
}), ne = () => {
|
|
13893
13893
|
if (T.value) {
|
|
13894
13894
|
const S = T.value.querySelector(".fox-floating-window__body > .fox-page > .fox-footer-bar");
|
|
13895
|
-
|
|
13895
|
+
M.value = S;
|
|
13896
13896
|
}
|
|
13897
13897
|
};
|
|
13898
13898
|
return Ne(() => {
|
|
13899
13899
|
if (e.draggable && T.value) {
|
|
13900
13900
|
const S = [];
|
|
13901
|
-
H.value && S.push(H.value), e.footerDraggable && (ne(),
|
|
13901
|
+
H.value && S.push(H.value), e.footerDraggable && (ne(), M.value && S.push(M.value)), _.open(S);
|
|
13902
13902
|
}
|
|
13903
13903
|
e.collapse === !0 && N(e.collapse, !1), E.value && J.open(E.value);
|
|
13904
13904
|
}), dt(() => {
|
|
@@ -13933,8 +13933,8 @@ const mv = () => {
|
|
|
13933
13933
|
}, Fv = { class: "fox-floating-window__title" }, Dv = { class: "fox-floating-window__tools" }, Ov = { class: "fox-floating-window__body" }, Pv = { class: "fox-floating-window__fixednav__text" };
|
|
13934
13934
|
function Av(e, t, l, n, a, o) {
|
|
13935
13935
|
const r = Te("FoxIcon"), s = Te("FocusTrap");
|
|
13936
|
-
return se(), he(
|
|
13937
|
-
(se(), Ie(
|
|
13936
|
+
return se(), he(Lt, null, [
|
|
13937
|
+
(se(), Ie(al, {
|
|
13938
13938
|
to: e.teleport,
|
|
13939
13939
|
disabled: e.teleportDisabled
|
|
13940
13940
|
}, [
|
|
@@ -14001,7 +14001,7 @@ function Av(e, t, l, n, a, o) {
|
|
|
14001
14001
|
_: 3
|
|
14002
14002
|
})
|
|
14003
14003
|
], 8, ["to", "disabled"])),
|
|
14004
|
-
(se(), Ie(
|
|
14004
|
+
(se(), Ie(al, {
|
|
14005
14005
|
to: e.fixedNavTeleport,
|
|
14006
14006
|
disabled: e.fixedNavTeleportDisabled
|
|
14007
14007
|
}, [
|
|
@@ -14030,7 +14030,7 @@ function Av(e, t, l, n, a, o) {
|
|
|
14030
14030
|
], 64);
|
|
14031
14031
|
}
|
|
14032
14032
|
const Vv = /* @__PURE__ */ ot(kv, [["render", Av]]);
|
|
14033
|
-
function
|
|
14033
|
+
function Lv(e, t) {
|
|
14034
14034
|
return {
|
|
14035
14035
|
//继承特性
|
|
14036
14036
|
inheritAttrs: !1,
|
|
@@ -14055,7 +14055,7 @@ function Mv(e, t) {
|
|
|
14055
14055
|
}
|
|
14056
14056
|
};
|
|
14057
14057
|
}
|
|
14058
|
-
const { componentName: Xm, create:
|
|
14058
|
+
const { componentName: Xm, create: Mv, scope: Zm } = ue("domain-provider"), Rv = Mv(Lv()), _v = {
|
|
14059
14059
|
// 初始化时默认显示观察对象数量
|
|
14060
14060
|
initialVisibleObserverSize: {
|
|
14061
14061
|
type: [Number],
|
|
@@ -14181,7 +14181,7 @@ function qv(e, t) {
|
|
|
14181
14181
|
}
|
|
14182
14182
|
};
|
|
14183
14183
|
}
|
|
14184
|
-
const { componentName: Qm, create: Bv, scope: Jm } = ue("rolling-provider"), Hv = Bv(qv()), zv = [ki, Pi,
|
|
14184
|
+
const { componentName: Qm, create: Bv, scope: Jm } = ue("rolling-provider"), Hv = Bv(qv()), zv = [ki, Pi, Mi, zi, nu, je, Fu, Au, Ol, _u, Gu, mc, wc, Nc, Oc, Mc, Wc, Zc, rf, ff, Ho, Xf, sd, yd, $d, kd, Pd, Zd, vh, wh, Eh, Mh, Hh, Yo, tg, sg, hg, Sg, kg, pl, Eo, Og, _g, Wg, sv, Vv, Rv, Hv], ep = new bi(zv, [Si], "4.0.0");
|
|
14185
14185
|
export {
|
|
14186
14186
|
Zc as AutocompleteItem,
|
|
14187
14187
|
ho as Broadcast,
|
|
@@ -14193,11 +14193,11 @@ export {
|
|
|
14193
14193
|
mc as DateItem,
|
|
14194
14194
|
nt as DateUtils,
|
|
14195
14195
|
Hh as DialogItem,
|
|
14196
|
-
|
|
14196
|
+
Il as Domain,
|
|
14197
14197
|
et as DomainKey,
|
|
14198
14198
|
Rv as DomainProvider,
|
|
14199
14199
|
Vv as FloatingWindow,
|
|
14200
|
-
|
|
14200
|
+
Mi as FooterBar,
|
|
14201
14201
|
lp as FoxAffix,
|
|
14202
14202
|
ap as FoxAlert,
|
|
14203
14203
|
op as FoxAside,
|
|
@@ -14237,23 +14237,23 @@ export {
|
|
|
14237
14237
|
Ap as FoxDescriptionsItem,
|
|
14238
14238
|
Vp as FoxDialog,
|
|
14239
14239
|
Hh as FoxDialogItem,
|
|
14240
|
-
|
|
14240
|
+
Lp as FoxDivider,
|
|
14241
14241
|
Rv as FoxDomainProvider,
|
|
14242
|
-
|
|
14242
|
+
Mp as FoxDrawer,
|
|
14243
14243
|
Rp as FoxDropdown,
|
|
14244
14244
|
_p as FoxDropdownItem,
|
|
14245
14245
|
qp as FoxDropdownMenu,
|
|
14246
14246
|
Bp as FoxEmpty,
|
|
14247
14247
|
Vv as FoxFloatingWindow,
|
|
14248
14248
|
Hp as FoxFooter,
|
|
14249
|
-
|
|
14249
|
+
Mi as FoxFooterBar,
|
|
14250
14250
|
zp as FoxForm,
|
|
14251
14251
|
jp as FoxFormItem,
|
|
14252
14252
|
nu as FoxGroup,
|
|
14253
14253
|
Zd as FoxGroupSetting,
|
|
14254
14254
|
Kp as FoxHeader,
|
|
14255
14255
|
Pi as FoxHeaderBar,
|
|
14256
|
-
|
|
14256
|
+
Ol as FoxHintText,
|
|
14257
14257
|
Wp as FoxIcon,
|
|
14258
14258
|
Yp as FoxImage,
|
|
14259
14259
|
Gp as FoxImageViewer,
|
|
@@ -14262,11 +14262,11 @@ export {
|
|
|
14262
14262
|
Up as FoxInput,
|
|
14263
14263
|
_u as FoxInputItem,
|
|
14264
14264
|
Xp as FoxInputNumber,
|
|
14265
|
-
|
|
14265
|
+
Mc as FoxInputNumberItem,
|
|
14266
14266
|
je as FoxItem,
|
|
14267
14267
|
Zp as FoxLink,
|
|
14268
14268
|
Qp as FoxMain,
|
|
14269
|
-
|
|
14269
|
+
pl as FoxMapping,
|
|
14270
14270
|
Jp as FoxMenu,
|
|
14271
14271
|
ey as FoxMenuItem,
|
|
14272
14272
|
ty as FoxMenuItemGroup,
|
|
@@ -14307,7 +14307,7 @@ export {
|
|
|
14307
14307
|
Sy as FoxSpace,
|
|
14308
14308
|
$y as FoxStep,
|
|
14309
14309
|
Ty as FoxSteps,
|
|
14310
|
-
|
|
14310
|
+
Mh as FoxStepsBar,
|
|
14311
14311
|
Cy as FoxSubMenu,
|
|
14312
14312
|
Ny as FoxSwitch,
|
|
14313
14313
|
kd as FoxSwitchItem,
|
|
@@ -14330,9 +14330,9 @@ export {
|
|
|
14330
14330
|
Ay as FoxTimeSelect,
|
|
14331
14331
|
Nc as FoxTimeSelectItem,
|
|
14332
14332
|
Vy as FoxTimeline,
|
|
14333
|
-
|
|
14333
|
+
Ly as FoxTimelineItem,
|
|
14334
14334
|
sg as FoxToast,
|
|
14335
|
-
|
|
14335
|
+
My as FoxTooltip,
|
|
14336
14336
|
sv as FoxTour,
|
|
14337
14337
|
Ry as FoxTransfer,
|
|
14338
14338
|
_y as FoxTree,
|
|
@@ -14343,13 +14343,13 @@ export {
|
|
|
14343
14343
|
nu as Group,
|
|
14344
14344
|
Zd as GroupSetting,
|
|
14345
14345
|
Pi as HeaderBar,
|
|
14346
|
-
|
|
14346
|
+
Ol as HintText,
|
|
14347
14347
|
Og as Indicator,
|
|
14348
14348
|
Sg as InfiniteLoading,
|
|
14349
14349
|
_u as InputItem,
|
|
14350
|
-
|
|
14350
|
+
Mc as InputNumberItem,
|
|
14351
14351
|
je as Item,
|
|
14352
|
-
|
|
14352
|
+
pl as Mapping,
|
|
14353
14353
|
Oc as MoneyItem,
|
|
14354
14354
|
Wg as MoreButton,
|
|
14355
14355
|
Yo as OverLay,
|
|
@@ -14365,7 +14365,7 @@ export {
|
|
|
14365
14365
|
hg as SearchBar,
|
|
14366
14366
|
Gu as SelectItem,
|
|
14367
14367
|
Fu as SlotItem,
|
|
14368
|
-
|
|
14368
|
+
Mh as StepsBar,
|
|
14369
14369
|
kd as SwitchItem,
|
|
14370
14370
|
Xf as TableItem,
|
|
14371
14371
|
rf as TableMappingColumn,
|
|
@@ -14385,10 +14385,10 @@ export {
|
|
|
14385
14385
|
ct as ValidateSchemaKey,
|
|
14386
14386
|
Xv as cancelRaf,
|
|
14387
14387
|
om as clearNonNumber,
|
|
14388
|
-
|
|
14389
|
-
|
|
14390
|
-
|
|
14391
|
-
|
|
14388
|
+
jl as clone,
|
|
14389
|
+
Bl as compareTo,
|
|
14390
|
+
Nl as createBroadcast,
|
|
14391
|
+
El as createValidateSchema,
|
|
14392
14392
|
Nn as debounce,
|
|
14393
14393
|
pm as debounceRef,
|
|
14394
14394
|
ti as decimalLength,
|
|
@@ -14408,8 +14408,8 @@ export {
|
|
|
14408
14408
|
im as floatData,
|
|
14409
14409
|
ai as getGlobalValidateCheckEvents,
|
|
14410
14410
|
oi as getGlobalValidateResetEvents,
|
|
14411
|
-
|
|
14412
|
-
|
|
14411
|
+
fl as getPageContentAreaHeight,
|
|
14412
|
+
dl as getPageContentAreaWidth,
|
|
14413
14413
|
kn as getPageFooterAreaHeight,
|
|
14414
14414
|
En as getPageHeaderAreaHeight,
|
|
14415
14415
|
cn as getRootDomain,
|
|
@@ -14424,16 +14424,16 @@ export {
|
|
|
14424
14424
|
nm as isESModule,
|
|
14425
14425
|
Oe as isEmptyString,
|
|
14426
14426
|
Ct as isEqual,
|
|
14427
|
-
|
|
14428
|
-
|
|
14427
|
+
Hl as isFunction,
|
|
14428
|
+
Cl as isHidden,
|
|
14429
14429
|
bm as isInnerPage,
|
|
14430
14430
|
Qv as isMap,
|
|
14431
14431
|
fo as isNil,
|
|
14432
14432
|
Js as isNumberString,
|
|
14433
14433
|
It as isObject,
|
|
14434
|
-
|
|
14434
|
+
zl as isPlainObject,
|
|
14435
14435
|
Ks as isPromise,
|
|
14436
|
-
|
|
14436
|
+
Kl as isRegExp,
|
|
14437
14437
|
Jv as isSet,
|
|
14438
14438
|
js as isString,
|
|
14439
14439
|
xm as isSubPage,
|
|
@@ -14446,7 +14446,7 @@ export {
|
|
|
14446
14446
|
Bs as multiply,
|
|
14447
14447
|
Hs as negate,
|
|
14448
14448
|
lm as nextTick,
|
|
14449
|
-
|
|
14449
|
+
$l as numberFormat,
|
|
14450
14450
|
Ws as objectToString,
|
|
14451
14451
|
ym as once,
|
|
14452
14452
|
fm as overrideGlobalValidateHandler,
|
|
@@ -14460,25 +14460,25 @@ export {
|
|
|
14460
14460
|
dm as setGlobalValidator,
|
|
14461
14461
|
si as throttle,
|
|
14462
14462
|
de as toBoolean,
|
|
14463
|
-
|
|
14463
|
+
Me as toNumber,
|
|
14464
14464
|
mt as toPadding,
|
|
14465
14465
|
we as toPx,
|
|
14466
14466
|
Ge as toPxDesc,
|
|
14467
|
-
|
|
14467
|
+
Tl as toTypeString,
|
|
14468
14468
|
Se as toValue,
|
|
14469
|
-
|
|
14470
|
-
|
|
14469
|
+
kl as tryTimes,
|
|
14470
|
+
cl as typeOf,
|
|
14471
14471
|
zs as unNumberFormat,
|
|
14472
|
-
|
|
14472
|
+
Yl as updatePageState,
|
|
14473
14473
|
pn as useBroadcast,
|
|
14474
14474
|
Ht as useDomain,
|
|
14475
14475
|
He as useExpose,
|
|
14476
14476
|
$o as useInnerSize,
|
|
14477
|
-
|
|
14477
|
+
Fl as usePageState,
|
|
14478
14478
|
ou as usePosition,
|
|
14479
14479
|
er as useRawTouch,
|
|
14480
14480
|
Gg as useRect,
|
|
14481
|
-
|
|
14481
|
+
Dl as useSize,
|
|
14482
14482
|
jm as useTouch,
|
|
14483
|
-
|
|
14483
|
+
Ln as valueLength
|
|
14484
14484
|
};
|